@wrongstack/codebase-index-mcp 1.0.0 → 1.0.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/dist/cli.js CHANGED
@@ -18,6 +18,7 @@ import {
18
18
  MCPServer
19
19
  } from "@wrongstack/mcp";
20
20
  import {
21
+ codebaseContextTool,
21
22
  codebaseIndexTool,
22
23
  codebaseSearchTool,
23
24
  codebaseStatsTool,
@@ -28,6 +29,7 @@ import {
28
29
 
29
30
  // src/policy.ts
30
31
  var CODEBASE_INDEX_READ_TOOLS = [
32
+ "codebase_context",
31
33
  "codebase_search",
32
34
  "codebase_stats",
33
35
  "codebase_package_graph",
@@ -92,6 +94,7 @@ var GRAPH_SCHEMAS = {
92
94
  }
93
95
  };
94
96
  var TOOL_DESCRIPTIONS = {
97
+ codebase_context: "Find files and declarations relevant to a task using ranked symbol search and a reference-graph walk.",
95
98
  codebase_search: "Search the project symbol index with SQLite FTS5 and BM25 ranking. Use this before broad filesystem exploration.",
96
99
  codebase_stats: "Inspect the persisted project index health, freshness, symbol counts, language breakdown, and storage path.",
97
100
  codebase_package_graph: "Return the project package dependency graph from the authoritative Codebase Index service.",
@@ -100,6 +103,7 @@ var TOOL_DESCRIPTIONS = {
100
103
  codebase_index: "Build or incrementally refresh the project Codebase Index. Hidden unless the server starts with --writable."
101
104
  };
102
105
  var BUILTIN_TOOLS = {
106
+ codebase_context: codebaseContextTool,
103
107
  codebase_search: codebaseSearchTool,
104
108
  codebase_stats: codebaseStatsTool,
105
109
  codebase_index: codebaseIndexTool
package/dist/index.js CHANGED
@@ -3,6 +3,7 @@ import {
3
3
  MCPServer
4
4
  } from "@wrongstack/mcp";
5
5
  import {
6
+ codebaseContextTool,
6
7
  codebaseIndexTool,
7
8
  codebaseSearchTool,
8
9
  codebaseStatsTool,
@@ -13,6 +14,7 @@ import {
13
14
 
14
15
  // src/policy.ts
15
16
  var CODEBASE_INDEX_READ_TOOLS = [
17
+ "codebase_context",
16
18
  "codebase_search",
17
19
  "codebase_stats",
18
20
  "codebase_package_graph",
@@ -77,6 +79,7 @@ var GRAPH_SCHEMAS = {
77
79
  }
78
80
  };
79
81
  var TOOL_DESCRIPTIONS = {
82
+ codebase_context: "Find files and declarations relevant to a task using ranked symbol search and a reference-graph walk.",
80
83
  codebase_search: "Search the project symbol index with SQLite FTS5 and BM25 ranking. Use this before broad filesystem exploration.",
81
84
  codebase_stats: "Inspect the persisted project index health, freshness, symbol counts, language breakdown, and storage path.",
82
85
  codebase_package_graph: "Return the project package dependency graph from the authoritative Codebase Index service.",
@@ -85,6 +88,7 @@ var TOOL_DESCRIPTIONS = {
85
88
  codebase_index: "Build or incrementally refresh the project Codebase Index. Hidden unless the server starts with --writable."
86
89
  };
87
90
  var BUILTIN_TOOLS = {
91
+ codebase_context: codebaseContextTool,
88
92
  codebase_search: codebaseSearchTool,
89
93
  codebase_stats: codebaseStatsTool,
90
94
  codebase_index: codebaseIndexTool
package/dist/policy.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const CODEBASE_INDEX_READ_TOOLS: readonly ['codebase_search', 'codebase_stats', 'codebase_package_graph', 'codebase_file_graph', 'codebase_symbol_graph'];
1
+ export declare const CODEBASE_INDEX_READ_TOOLS: readonly ['codebase_context', 'codebase_search', 'codebase_stats', 'codebase_package_graph', 'codebase_file_graph', 'codebase_symbol_graph'];
2
2
  export declare const CODEBASE_INDEX_WRITE_TOOLS: readonly ['codebase_index'];
3
3
  export type CodebaseIndexMcpReadToolName = (typeof CODEBASE_INDEX_READ_TOOLS)[number];
4
4
  export type CodebaseIndexMcpWriteToolName = (typeof CODEBASE_INDEX_WRITE_TOOLS)[number];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrongstack/codebase-index-mcp",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "license": "MIT",
5
5
  "description": "WrongStack Codebase Index as an MCP server, backed by the existing project-scoped IPC daemon.",
6
6
  "repository": {
@@ -31,9 +31,9 @@
31
31
  "!dist/**/*.map"
32
32
  ],
33
33
  "dependencies": {
34
- "@wrongstack/core": "1.0.0",
35
- "@wrongstack/mcp": "1.0.0",
36
- "@wrongstack/tools": "1.0.0"
34
+ "@wrongstack/core": "1.0.2",
35
+ "@wrongstack/mcp": "1.0.2",
36
+ "@wrongstack/tools": "1.0.2"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/node": "^26.2.0",