You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(map): promote codebase map as primary first-call surface (Phase 7)
- Add CodebaseMapSummary type and buildCodebaseMap() builder in src/core/codebase-map.ts
- Add renderMapMarkdown() and renderMapPretty() renderers (deterministic, snapshot-locked)
- Add map CLI subcommand (src/cli-map.ts) with --json, --pretty, --help modes
- Rewrite codebase://context MCP resource to use shared map builder; preserve generateCodebaseIntelligence() signature for eval harness
- Remove dead _generateCodebaseContext() function and its exclusive imports from src/index.ts
- Update docs/capabilities.md, README.md (First Use section), and cli-init.ts next-steps
- Add 20 unit/integration tests and synthetic fixture; 44/44 tests pass
-`projects[].analyzerHints.analyzer`: prefers a registered analyzer by name for that project and falls back safely when the name is missing or invalid
22
22
-`projects[].analyzerHints.extensions`: adds project-local source extensions for indexing and auto-refresh watching without changing defaults for other projects
23
23
24
-
25
24
Copy-pasteable client config templates are shipped in the package:
26
25
27
26
-`templates/mcp/stdio/.mcp.json` — stdio setup for `.mcp.json`-style clients
@@ -35,19 +34,20 @@ Repo-scoped capabilities are available locally via the CLI (human-readable by de
35
34
Multi-project selection is MCP-only because the CLI already targets one root per invocation.
36
35
For a command gallery with examples, see `docs/cli.md`.
|`get_symbol_references`|`symbol`, optional `limit`, shared `project`/`project_directory`| Concrete symbol usage evidence: `usageCount` + top usage snippets + `confidence` + `isComplete`. `confidence: "syntactic"` means static/source-based only (no runtime or dynamic dispatch). When Tree-sitter + file content are available, comments and string literals are excluded from the scan — the count reflects real identifier nodes only. Replaces the removed `get_component_usage`. |
81
-
|`remember`|`type`, `category`, `memory`, `reason`, shared `project`/`project_directory`| Persists to `.codebase-context/memory.json`|
|`get_symbol_references`|`symbol`, optional `limit`, shared `project`/`project_directory`| Concrete symbol usage evidence: `usageCount` + top usage snippets + `confidence` + `isComplete`. `confidence: "syntactic"` means static/source-based only (no runtime or dynamic dispatch). When Tree-sitter + file content are available, comments and string literals are excluded from the scan — the count reflects real identifier nodes only. Replaces the removed `get_component_usage`. |
81
+
|`remember`|`type`, `category`, `memory`, `reason`, shared `project`/`project_directory`| Persists to `.codebase-context/memory.json`|
-**Generic**: 30+ have indexing/retrieval coverage including PHP, Ruby, Swift, Scala, Shell, config/markup., 10 languages have full symbol extraction (Tree-sitter: TypeScript, JavaScript, Python, Java, Kotlin, C, C++, C#, Go, Rust).
274
+
-**Generic**: 30+ have indexing/retrieval coverage including PHP, Ruby, Swift, Scala, Shell, config/markup., 10 languages have full symbol extraction (Tree-sitter: TypeScript, JavaScript, Python, Java, Kotlin, C, C++, C#, Go, Rust).
0 commit comments