@focus-mcp/cli
Advanced tools
+10
-0
| # @focus-mcp/cli | ||
| ## 2.4.1 | ||
| ### Patch Changes | ||
| - 5131bb7: feat(source): implement readPackageVersion() on FilesystemBrickSource | ||
| Adds the optional BrickSource.readPackageVersion() hook (introduced in @focus-mcp/core) so the brick loader can inject the package.json version into the manifest when mcp-brick.json doesn't carry a "version" field. Without this, every brick load throws INVALID_VERSION because the disk manifest and the JS module's exported manifest both lack a SemVer version field. | ||
| Resolution mirrors readManifest(): prefer require.resolve('@focus-mcp/brick-<name>/package.json'), fall back to walking up from the package main entry if /package.json isn't in the exports field, and return undefined when no version can be found (loader keeps its existing INVALID_VERSION behaviour as a last resort). | ||
| ## 2.4.0 | ||
@@ -4,0 +14,0 @@ |
+1
-1
| { | ||
| "name": "@focus-mcp/cli", | ||
| "version": "2.4.0", | ||
| "version": "2.4.1", | ||
| "private": false, | ||
@@ -5,0 +5,0 @@ "description": "Focus your AI agents on what matters. 68+ bricks, 1 MCP server, modular context — from 200k to 2k tokens. Works with Claude Code, Cursor, Codex.", |
+1
-1
@@ -8,3 +8,3 @@ <!-- | ||
| > Focus your AI agents on what matters. **Measured savings: 65.9% on output tokens** across 29 benchmarked bricks (out of 68+ official bricks) ([details](https://github.com/focus-mcp/marketplace/blob/main/benchmarks/equivalence-report.md)). | ||
| > Focus your AI agents on what matters. **Measured savings: 65.3% on output tokens** across all 69 bricks ([details](https://github.com/focus-mcp/marketplace/blob/main/benchmarks/equivalence-report.md)). | ||
@@ -11,0 +11,0 @@ [](https://www.npmjs.com/package/@focus-mcp/cli) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
517338
1.54%3941
1.55%