Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@focus-mcp/cli

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@focus-mcp/cli - npm Package Compare versions

Comparing version
2.4.0
to
2.4.1
+10
-0
CHANGELOG.md
# @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.",

@@ -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 @@ [![npm](https://img.shields.io/npm/v/@focus-mcp/cli)](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