@focus-mcp/core
Advanced tools
+10
-0
@@ -445,2 +445,12 @@ import { Tracer } from '@opentelemetry/api'; | ||
| loadModule(name: string): Promise<unknown>; | ||
| /** | ||
| * Optional fallback for the manifest `version` field. Bricks published | ||
| * to npm don't embed their version in `mcp-brick.json` — it lives in | ||
| * `package.json` instead. When a source can provide that value here, | ||
| * the loader injects it into both the disk and module manifests | ||
| * before validation, avoiding spurious INVALID_VERSION errors. | ||
| * Returning `undefined` is fine; the loader then falls through to its | ||
| * existing behaviour (which throws INVALID_VERSION). | ||
| */ | ||
| readPackageVersion?(name: string): Promise<string | undefined>; | ||
| } | ||
@@ -447,0 +457,0 @@ interface BrickLoaderOptions { |
+1
-1
| { | ||
| "name": "@focus-mcp/core", | ||
| "version": "1.6.0", | ||
| "version": "1.7.0", | ||
| "private": false, | ||
@@ -5,0 +5,0 @@ "description": "The runtime behind FocusMCP — Registry + EventBus + Router composing MCP bricks on demand. Browser-compatible, zero-dep, TypeScript strict.", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
330197
1.31%3134
0.87%