Jelajahi Sumber

Bump version to 0.7.2

Updates Swift and Kotlin language support from basic to full in documentation and reduces explore budget thresholds to optimize performance for smaller codebases.
Colby McHenry 2 bulan lalu
induk
melakukan
789158bfd4
4 mengubah file dengan 10 tambahan dan 10 penghapusan
  1. 2 2
      README.md
  2. 2 2
      package-lock.json
  3. 1 1
      package.json
  4. 5 5
      src/mcp/tools.ts

+ 2 - 2
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 |

+ 2 - 2
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": {

+ 1 - 1
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",

+ 5 - 5
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;
 }
 
 /**