@axiomatic-labs/claudeflow 2.25.0 → 2.26.0

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.
Files changed (2) hide show
  1. package/lib/install.js +16 -0
  2. package/package.json +1 -1
package/lib/install.js CHANGED
@@ -855,6 +855,22 @@ function configureMcpServers(hasUv) {
855
855
  changed = true;
856
856
  ui.success('context7 MCP configured');
857
857
 
858
+ // codegraph MCP — AST-local code-graph for blast-radius / impact analysis.
859
+ // Runs via npx (no uv/Ollama/API key needed), so it is unconditional like context7.
860
+ // The build agents' investigation workflow uses it when available ("code-graph MCP
861
+ // if available, else grep") for transitive impact/callers; superior to grep for
862
+ // blast-radius. Index is built on first use; blind to .astro/.sql (agents fall back to grep).
863
+ ui.step(mcpConfig.mcpServers.codegraph ? 'Refreshing codegraph MCP configuration...' : 'Adding codegraph MCP for blast-radius analysis...');
864
+ // Spread first so user-added fields (cwd, env, etc.) survive.
865
+ mcpConfig.mcpServers.codegraph = {
866
+ ...mcpConfig.mcpServers.codegraph,
867
+ type: 'stdio',
868
+ command: 'npx',
869
+ args: ['--yes', '@colbymchenry/codegraph@latest', 'serve', '--mcp'],
870
+ };
871
+ changed = true;
872
+ ui.success('codegraph MCP configured');
873
+
858
874
  // Write .mcp.json if anything changed
859
875
  if (changed) {
860
876
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axiomatic-labs/claudeflow",
3
- "version": "2.25.0",
3
+ "version": "2.26.0",
4
4
  "description": "Claudeflow — AI-powered development toolkit for Claude Code. Skills, agents, hooks, and quality gates that ship production apps.",
5
5
  "bin": {
6
6
  "claudeflow": "./bin/cli.js"