You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename npm package to @nistrapa/modelmesh-core and fix publish workflow
- Rename npm package from @modelmesh/core to @nistrapa/modelmesh-core across
all 50 files: docs, samples, scripts, ClaudeSkill, README, and package.json
- Fix publish.yml secret name: PYPI_TOKEN → PYPI_API_TOKEN
- Add .npmrc, .pypirc, .secrets to .gitignore for local credential safety
Published packages:
- PyPI: modelmesh-lite 0.1.0
- npm: @nistrapa/modelmesh-core 0.1.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/ConnectorCatalogue.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -247,7 +247,7 @@ Both classes expose the same provider interface and the same protected hooks for
247
247
Every TypeScript connector class declares a `static readonly RUNTIME` property indicating browser/Node.js compatibility. This enables build-time tree-shaking and runtime compatibility checks.
248
248
249
249
```typescript
250
-
import { RuntimeEnvironment } from '@modelmesh/core';
250
+
import { RuntimeEnvironment } from '@nistrapa/modelmesh-core';
| `'universal'` | `RuntimeEnvironment.UNIVERSAL` | Any JavaScript runtime | MemoryStorage, MemorySecretStore, BrowserBaseProvider, all rotation policies, ConsoleObservability |
263
263
264
-
**Runtime Guard** (`detectRuntime()`, `assertRuntimeCompatible()`): Detects the current environment at runtime and throws a descriptive error if a connector is used in an incompatible environment. Available from `@modelmesh/core`:
264
+
**Runtime Guard** (`detectRuntime()`, `assertRuntimeCompatible()`): Detects the current environment at runtime and throws a descriptive error if a connector is used in an incompatible environment. Available from `@nistrapa/modelmesh-core`:
265
265
266
266
```typescript
267
-
import { detectRuntime, assertRuntimeCompatible } from '@modelmesh/core';
267
+
import { detectRuntime, assertRuntimeCompatible } from '@nistrapa/modelmesh-core';
268
268
269
269
const runtime = detectRuntime(); // 'node' or 'browser'
Copy file name to clipboardExpand all lines: docs/SystemConcept.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -213,7 +213,7 @@ Most AI provider APIs do not send CORS headers, so browsers block direct request
213
213
214
214
### Browser Entry Point
215
215
216
-
For bundlers (Webpack, Vite, esbuild), import from `@modelmesh/core/browser` to exclude Node.js-dependent modules (`ProxyServer`, `FileSecretStore`, `HttpHealthDiscovery`, file-backed `KeyValueStorage`). The `createBrowser()` convenience function provides a browser-optimized equivalent of `modelmesh.create()`.
216
+
For bundlers (Webpack, Vite, esbuild), import from `@nistrapa/modelmesh-core/browser` to exclude Node.js-dependent modules (`ProxyServer`, `FileSecretStore`, `HttpHealthDiscovery`, file-backed `KeyValueStorage`). The `createBrowser()` convenience function provides a browser-optimized equivalent of `modelmesh.create()`.
217
217
218
218
Full browser usage guide in [guides/BrowserUsage.md](guides/BrowserUsage.html).
0 commit comments