@nithin554/code-crawler 0.1.40 → 0.1.41
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.
- package/README.md +10 -27
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,15 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
Code-Crawler indexes a project into a SQLite-backed property graph — files, packages,
|
|
6
6
|
modules, classes, interfaces, methods, fields, imports, annotations/decorators, **call
|
|
7
|
-
edges**, **virtual dispatch**,
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
edges**, **virtual dispatch**, **aspect advice**, and the wiring frameworks add
|
|
8
|
+
(**entry points**, **routes**, **injected dependencies**, **reflective lookups**) — then
|
|
9
|
+
exposes that graph to LLM clients as MCP tools: find callers, trace call paths, explore
|
|
10
|
+
neighborhoods, follow runtime dispatch, and search symbols across the whole codebase.
|
|
10
11
|
|
|
11
12
|
Supports **Java**, **Python**, and **TypeScript/JavaScript** projects, and can index all
|
|
12
13
|
three into the same graph.
|
|
13
14
|
|
|
14
15
|
📖 **Documentation site:** <https://nithin554.github.io/code-crawler/>
|
|
15
16
|
📘 **Task-oriented guide:** [`USAGE.md`](USAGE.md)
|
|
17
|
+
🗺️ **Roadmap:** [`ROADMAP.md`](ROADMAP.md)
|
|
16
18
|
|
|
17
19
|
```
|
|
18
20
|
┌─────────────────────── MCP (stdio) ───────────────────────┐
|
|
@@ -432,8 +434,7 @@ src/
|
|
|
432
434
|
│ ├── index.ts language registry + per-file language detection
|
|
433
435
|
│ ├── java.ts Java structural extraction
|
|
434
436
|
│ ├── python.ts Python structural extraction
|
|
435
|
-
│
|
|
436
|
-
│ └── javascript.ts JavaScript structural extraction
|
|
437
|
+
│ └── typescript.ts TypeScript, TSX and JavaScript extraction
|
|
437
438
|
└── resolver/
|
|
438
439
|
├── types.ts TypeIndex (global name/method index) + ResolvedCall
|
|
439
440
|
├── common.ts builtin types, external packages, receiver inference
|
|
@@ -442,29 +443,11 @@ src/
|
|
|
442
443
|
└── javaResolver.ts Java call-target resolution heuristics
|
|
443
444
|
```
|
|
444
445
|
|
|
445
|
-
##
|
|
446
|
+
## Roadmap
|
|
446
447
|
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
├── server.ts MCP server: tools, resources, prompt (thin handlers)
|
|
451
|
-
├── crawler.ts file discovery → parse → index → resolve → persist
|
|
452
|
-
├── config.ts env-overridable configuration
|
|
453
|
-
├── graph/
|
|
454
|
-
│ ├── schema.ts node/edge kinds, id scheme, property shapes
|
|
455
|
-
│ ├── store.ts better-sqlite3 schema + idempotent file-scoped upserts
|
|
456
|
-
│ └── queries.ts recursive-CTE traversal (callers/callees/path/subgraph)
|
|
457
|
-
├── parser/
|
|
458
|
-
│ ├── language.ts LanguageConfig contract
|
|
459
|
-
│ ├── treeSitter.ts WASM runtime + grammar loading + CST walk helpers
|
|
460
|
-
│ └── languages/
|
|
461
|
-
│ ├── index.ts language registry
|
|
462
|
-
│ └── java.ts Java structural extraction
|
|
463
|
-
└── resolver/
|
|
464
|
-
├── types.ts TypeIndex (global name/method index) + ResolvedCall
|
|
465
|
-
├── dynamic.ts virtual dispatch + AspectJ pointcut matching/advice edges
|
|
466
|
-
└── javaResolver.ts Java call-target resolution heuristics
|
|
467
|
-
```
|
|
448
|
+
Language-agnostic architecture, more languages, and better resolution are tracked in
|
|
449
|
+
[`ROADMAP.md`](ROADMAP.md). The near-term focus is making a new language a one-module
|
|
450
|
+
change, then using that to add Go, C#, and Kotlin.
|
|
468
451
|
|
|
469
452
|
## Documentation site
|
|
470
453
|
|