mason-context 0.3.5 → 0.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/bin/mason-mcp.js +1 -1
- package/dist/bin/mason.js +2 -2
- package/dist/src/cli.js +2 -2
- package/package.json +13 -4
package/README.md
CHANGED
|
@@ -120,7 +120,7 @@ Most providers work without an API key — `claude`, `gemini`, and `ollama` all
|
|
|
120
120
|
|
|
121
121
|
**What it doesn't touch:** Mason respects `.gitignore` (via `git ls-files`) and has a deny-list that blocks `.env`, `.pem`, `.key`, credentials, and other sensitive files from being sampled. Path traversal protection ensures all file access stays within the project root.
|
|
122
122
|
|
|
123
|
-
**LLM data flow:**
|
|
123
|
+
**LLM data flow:** Generating a snapshot via CLI sends sampled file contents to your configured LLM provider — the same way any AI coding assistant reads your code. Use `ollama` for fully local generation. The MCP server tools (`get_snapshot`, `get_impact`, etc.) only read local files.
|
|
124
124
|
|
|
125
125
|
## Language support
|
|
126
126
|
|
package/dist/bin/mason-mcp.js
CHANGED
|
@@ -1296,7 +1296,7 @@ function createMcpServer() {
|
|
|
1296
1296
|
const server = new McpServer(
|
|
1297
1297
|
{
|
|
1298
1298
|
name: "mason",
|
|
1299
|
-
version: "0.3.
|
|
1299
|
+
version: "0.3.7"
|
|
1300
1300
|
},
|
|
1301
1301
|
{
|
|
1302
1302
|
instructions: "Mason is a context engineering tool. Always call get_snapshot before using Explore agents, Glob, or Grep to understand the codebase. The snapshot is a concept map that maps features and flows to their implementing files \u2014 it eliminates the need to search. This applies to ANY question about architecture, features, flows, how things work, cross-feature interactions, or bug investigation. Workflow: 1) Call get_snapshot first. 2) If no snapshot, call full_analysis and then save_snapshot to create one. 3) If the snapshot is stale, tell the user and offer to update it. 4) Use your native file reading tool to read files the snapshot points to. 5) Before modifying a file, call get_impact to check what else might be affected. 6) After making significant changes (new features, refactors, architecture changes), call save_snapshot to update the concept map."
|
package/dist/bin/mason.js
CHANGED
|
@@ -1879,7 +1879,7 @@ function createMcpServer() {
|
|
|
1879
1879
|
const server = new McpServer(
|
|
1880
1880
|
{
|
|
1881
1881
|
name: "mason",
|
|
1882
|
-
version: "0.3.
|
|
1882
|
+
version: "0.3.7"
|
|
1883
1883
|
},
|
|
1884
1884
|
{
|
|
1885
1885
|
instructions: "Mason is a context engineering tool. Always call get_snapshot before using Explore agents, Glob, or Grep to understand the codebase. The snapshot is a concept map that maps features and flows to their implementing files \u2014 it eliminates the need to search. This applies to ANY question about architecture, features, flows, how things work, cross-feature interactions, or bug investigation. Workflow: 1) Call get_snapshot first. 2) If no snapshot, call full_analysis and then save_snapshot to create one. 3) If the snapshot is stale, tell the user and offer to update it. 4) Use your native file reading tool to read files the snapshot points to. 5) Before modifying a file, call get_impact to check what else might be affected. 6) After making significant changes (new features, refactors, architecture changes), call save_snapshot to update the concept map."
|
|
@@ -2064,7 +2064,7 @@ function createCLI() {
|
|
|
2064
2064
|
const program2 = new Command();
|
|
2065
2065
|
program2.name("mason").description(
|
|
2066
2066
|
"Context engineering CLI & MCP server \u2014 generates intelligent CLAUDE.md files"
|
|
2067
|
-
).version("0.3.
|
|
2067
|
+
).version("0.3.7");
|
|
2068
2068
|
program2.command("setup").description("Register Mason as an MCP server with Claude Code").option("--scope <scope>", "Config scope: user or project", "user").action(async (opts) => {
|
|
2069
2069
|
const { execFile: execFile9 } = await import("child_process");
|
|
2070
2070
|
const { promisify: promisify9 } = await import("util");
|
package/dist/src/cli.js
CHANGED
|
@@ -1879,7 +1879,7 @@ function createMcpServer() {
|
|
|
1879
1879
|
const server = new McpServer(
|
|
1880
1880
|
{
|
|
1881
1881
|
name: "mason",
|
|
1882
|
-
version: "0.3.
|
|
1882
|
+
version: "0.3.7"
|
|
1883
1883
|
},
|
|
1884
1884
|
{
|
|
1885
1885
|
instructions: "Mason is a context engineering tool. Always call get_snapshot before using Explore agents, Glob, or Grep to understand the codebase. The snapshot is a concept map that maps features and flows to their implementing files \u2014 it eliminates the need to search. This applies to ANY question about architecture, features, flows, how things work, cross-feature interactions, or bug investigation. Workflow: 1) Call get_snapshot first. 2) If no snapshot, call full_analysis and then save_snapshot to create one. 3) If the snapshot is stale, tell the user and offer to update it. 4) Use your native file reading tool to read files the snapshot points to. 5) Before modifying a file, call get_impact to check what else might be affected. 6) After making significant changes (new features, refactors, architecture changes), call save_snapshot to update the concept map."
|
|
@@ -2064,7 +2064,7 @@ function createCLI() {
|
|
|
2064
2064
|
const program = new Command();
|
|
2065
2065
|
program.name("mason").description(
|
|
2066
2066
|
"Context engineering CLI & MCP server \u2014 generates intelligent CLAUDE.md files"
|
|
2067
|
-
).version("0.3.
|
|
2067
|
+
).version("0.3.7");
|
|
2068
2068
|
program.command("setup").description("Register Mason as an MCP server with Claude Code").option("--scope <scope>", "Config scope: user or project", "user").action(async (opts) => {
|
|
2069
2069
|
const { execFile: execFile9 } = await import("child_process");
|
|
2070
2070
|
const { promisify: promisify9 } = await import("util");
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mason-context",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"description": "Context engineering CLI & MCP server — generates intelligent CLAUDE.md files through structured codebase analysis",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"mcpName": "com.adrianczuczka/mason",
|
|
6
7
|
"bin": {
|
|
7
8
|
"mason": "dist/bin/mason.js",
|
|
8
9
|
"mason-mcp": "dist/bin/mason-mcp.js",
|
|
@@ -12,11 +13,19 @@
|
|
|
12
13
|
"build": "tsup",
|
|
13
14
|
"dev": "tsup --watch",
|
|
14
15
|
"test": "vitest run",
|
|
15
|
-
"test:watch": "vitest"
|
|
16
|
+
"test:watch": "vitest",
|
|
17
|
+
"pack:mcpb": "node scripts/pack-mcpb.mjs"
|
|
16
18
|
},
|
|
17
19
|
"keywords": [
|
|
18
|
-
"
|
|
20
|
+
"mcp",
|
|
21
|
+
"model-context-protocol",
|
|
19
22
|
"claude",
|
|
23
|
+
"claude-code",
|
|
24
|
+
"claude-md",
|
|
25
|
+
"context-engineering",
|
|
26
|
+
"code-analysis",
|
|
27
|
+
"concept-map",
|
|
28
|
+
"snapshot",
|
|
20
29
|
"ai",
|
|
21
30
|
"cli"
|
|
22
31
|
],
|
|
@@ -36,7 +45,7 @@
|
|
|
36
45
|
"LICENSE"
|
|
37
46
|
],
|
|
38
47
|
"dependencies": {
|
|
39
|
-
"@anthropic-ai/sdk": "^0.
|
|
48
|
+
"@anthropic-ai/sdk": "^0.95.1",
|
|
40
49
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
41
50
|
"chalk": "^5.6.2",
|
|
42
51
|
"commander": "^14.0.3",
|