Skip to content

Commit a1063e8

Browse files
Naseem77gkorlandCopilot
authored
Feature: graph tool (#169)
* adding graphTool * fix tool triggering * update graphTool to provide connected nodes and paths * update gitmcp * fix code returning of calling functions * update tool and tests * update fetchUsageCodeExamples tool - Graph exists + function found/not found - Creation progress tracking and timeout handling - Background graph creation with API integration - Input validation and error handling - Multi-repo independence and stale lock cleanup * update tests * Update src/api/tools/index.test.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Guy Korland <gkorland@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 0cd329f commit a1063e8

File tree

8 files changed

+14362
-1
lines changed

8 files changed

+14362
-1
lines changed

.env.example

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
11
XAI_API_KEY=""
22
OPENAI_API_KEY=
33
DATABASE_URL="postgresql://username:password@host:port/database"
4+
5+
# Code Graph Backend Configuration
6+
# Copy this to .env and adjust values as needed
7+
8+
# Server Configuration
9+
CODE_GRAPH_SERVER_URL=http://127.0.0.1
10+
CODE_GRAPH_SERVER_PORT=5000
11+
12+
# Authentication
13+
# Token used to authenticate with the code-graph backend server
14+
CODE_GRAPH_AUTH_TOKEN=secret
15+
16+
# Ignore Patterns
17+
# Comma-separated list of patterns to ignore during repository analysis
18+
CODE_GRAPH_IGNORE_PATTERNS=./.github,./build,./node_modules,./.git,./.vscode,./__pycache__,./.pytest_cache

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,7 @@ dist
182182

183183
playwright-results/
184184
playwright-report/
185-
test-results/
185+
test-results/
186+
src/.DS_Store
187+
src/api/.DS_Store
188+
.DS_Store

0 commit comments

Comments
 (0)