mason-context 0.2.1 → 0.2.2

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Mason – the context builder for LLMs 👷
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/mason-context)](https://www.npmjs.com/package/mason-context)
4
+ [![CI](https://img.shields.io/github/actions/workflow/status/adrianczuczka/mason/ci.yml?branch=main)](https://github.com/adrianczuczka/mason/actions/workflows/ci.yml)
5
+ [![npm downloads](https://img.shields.io/npm/dm/mason-context)](https://www.npmjs.com/package/mason-context)
6
+ [![license](https://img.shields.io/github/license/adrianczuczka/mason)](https://github.com/adrianczuczka/mason/blob/main/LICENSE)
7
+ [![issues](https://img.shields.io/github/issues/adrianczuczka/mason)](https://github.com/adrianczuczka/mason/issues)
8
+
3
9
  Mason gives LLMs a persistent map of your codebase so they stop exploring from scratch every session.
4
10
 
5
11
  **The problem:** Every time an LLM starts a new conversation about your code, it greps, reads files, and pieces together the architecture — burning tokens on context it already understood yesterday. On a 164-file project, answering "what features does this app have?" requires reading 8+ files across multiple tool calls.
@@ -21,7 +27,7 @@ Same answer quality (0.9/1.0 on all tests, both paths). Reproduce: [bench/](benc
21
27
  ## Quick start
22
28
 
23
29
  ```bash
24
- claude mcp add mason --scope user -- npx mason-context mcp
30
+ claude mcp add mason --scope user -- npx -p mason-context mason-mcp
25
31
  ```
26
32
 
27
33
  Restart Claude Code, then ask: *"use mason to analyze this project and create a snapshot."*
@@ -1235,7 +1235,7 @@ function createMcpServer() {
1235
1235
  const server = new McpServer(
1236
1236
  {
1237
1237
  name: "mason",
1238
- version: "0.2.1"
1238
+ version: "0.2.2"
1239
1239
  },
1240
1240
  {
1241
1241
  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
@@ -1786,7 +1786,7 @@ function createMcpServer() {
1786
1786
  const server = new McpServer(
1787
1787
  {
1788
1788
  name: "mason",
1789
- version: "0.2.1"
1789
+ version: "0.2.2"
1790
1790
  },
1791
1791
  {
1792
1792
  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/src/cli.js CHANGED
@@ -1786,7 +1786,7 @@ function createMcpServer() {
1786
1786
  const server = new McpServer(
1787
1787
  {
1788
1788
  name: "mason",
1789
- version: "0.2.1"
1789
+ version: "0.2.2"
1790
1790
  },
1791
1791
  {
1792
1792
  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/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "mason-context",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Context engineering CLI & MCP server — generates intelligent CLAUDE.md files through structured codebase analysis",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "mason": "dist/bin/mason.js",
8
- "mason-mcp": "dist/bin/mason-mcp.js"
8
+ "mason-mcp": "dist/bin/mason-mcp.js",
9
+ "mason-context": "dist/bin/mason.js"
9
10
  },
10
11
  "scripts": {
11
12
  "build": "tsup",