diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 4fd6f8328..92cca123d 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -29,7 +29,10 @@ "mcp__gitnexus__query", "mcp__gitnexus__context", "mcp__gitnexus__impact", - "Bash(git add:*)" + "Bash(git add:*)", + "Bash(Glob)", + "Bash(Bash\"\\) per new Claude Code schema\n- Rename gitnexus-hook.js → gitnexus-hook.cjs for CommonJS compatibility\n- Fix setup.ts: correct hook filename and timeout \\(8000ms instead of 10ms\\)\n- Bump to v1.1.9 and publish to npm\n\nCo-Authored-By: Claude Opus 4.6 \nEOF\n\\)\")", + "Bash(git push:*)" ] }, "enableAllProjectMcpServers": true, diff --git a/.mcp.json b/.mcp.json new file mode 100644 index 000000000..83370ebfb --- /dev/null +++ b/.mcp.json @@ -0,0 +1,9 @@ +{ + "mcpServers": { + "gitnexus": { + "type": "stdio", + "command": "cmd", + "args": ["/c", "npx", "-y", "gitnexus@latest", "mcp"] + } + } +} diff --git a/gitnexus-web/src/hooks/useAppState.tsx b/gitnexus-web/src/hooks/useAppState.tsx index bdd9321cc..0242ccd92 100644 --- a/gitnexus-web/src/hooks/useAppState.tsx +++ b/gitnexus-web/src/hooks/useAppState.tsx @@ -148,6 +148,7 @@ interface AppState { refreshLLMSettings: () => void; initializeAgent: (overrideProjectName?: string) => Promise; sendChatMessage: (message: string) => Promise; + stopChatResponse: () => void; clearChat: () => void; // Code References Panel