diff --git a/README.md b/README.md index 3104a8c..13916c3 100644 --- a/README.md +++ b/README.md @@ -393,8 +393,8 @@ The `.codegraph/config.json` file controls indexing: | Ruby | `.rb` | Full support | | C | `.c`, `.h` | Full support | | C++ | `.cpp`, `.hpp`, `.cc` | Full support | -| Swift | `.swift` | Basic support | -| Kotlin | `.kt`, `.kts` | Basic support | +| Swift | `.swift` | Full support | +| Kotlin | `.kt`, `.kts` | Full support | | Dart | `.dart` | Full support | | Svelte | `.svelte` | Full support (script extraction, Svelte 5 runes, SvelteKit routes) | | Liquid | `.liquid` | Full support | diff --git a/package-lock.json b/package-lock.json index dad2c66..fa65146 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@colbymchenry/codegraph", - "version": "0.7.0", + "version": "0.7.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@colbymchenry/codegraph", - "version": "0.7.0", + "version": "0.7.2", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 40bd240..b0d7355 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@colbymchenry/codegraph", - "version": "0.7.0", + "version": "0.7.2", "description": "Supercharge Claude Code with semantic code intelligence. 94% fewer tool calls • 77% faster exploration • 100% local.", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/mcp/tools.ts b/src/mcp/tools.ts index 585479f..bc04c62 100644 --- a/src/mcp/tools.ts +++ b/src/mcp/tools.ts @@ -21,11 +21,11 @@ const MAX_OUTPUT_LENGTH = 15000; * but smaller ones should use fewer to avoid unnecessary overhead. */ export function getExploreBudget(fileCount: number): number { - if (fileCount < 1000) return 2; - if (fileCount < 5000) return 3; - if (fileCount < 15000) return 4; - if (fileCount < 25000) return 5; - return 6; + if (fileCount < 500) return 1; + if (fileCount < 5000) return 2; + if (fileCount < 15000) return 3; + if (fileCount < 25000) return 4; + return 5; } /**