Skip to content

Commit d0ee6f7

Browse files
committed
Enhances code extraction and project indexing
Adds support for Dart and Liquid languages with tree-sitter parsing. Improves accuracy of code symbol extraction for existing languages. Indexes project files to enhance code navigation features. Migrates build system to facilitate code contributions. Removes git hook functionality. Integrates Sentry for error tracking and reporting. Enhances project initialization and configuration loading.
1 parent f0ddfcc commit d0ee6f7

50 files changed

Lines changed: 3410 additions & 3314 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Thumbs.db
1717

1818
# Test coverage
1919
coverage/
20+
.nyc_output/
2021

2122
# Environment
2223
.env
@@ -27,5 +28,18 @@ coverage/
2728
*.log
2829
npm-debug.log*
2930

31+
# TypeScript build info
32+
*.tsbuildinfo
33+
34+
# SQLite WAL mode files
35+
*.db-wal
36+
*.db-shm
37+
38+
# Local Claude settings
39+
.claude/settings.local.json
40+
3041
# CodeGraph data directories (in test projects)
3142
.codegraph/
43+
44+
# Test language repos for manual testing
45+
test-languages/

CLAUDE.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,17 @@ src/
6868
├── sync/ # Incremental update system
6969
│ ├── index.ts
7070
│ └── git-hooks.ts # Post-commit hook management
71+
├── installer/ # Interactive installer
72+
│ ├── index.ts # Installer orchestrator
73+
│ ├── banner.ts # ASCII art banner
74+
│ ├── claude-md-template.ts # CLAUDE.md template generator
75+
│ ├── config-writer.ts # Configuration file writing
76+
│ └── prompts.ts # User prompts
7177
├── mcp/ # Model Context Protocol server
7278
│ ├── index.ts # MCPServer class
7379
│ ├── tools.ts # MCP tool definitions
7480
│ └── transport.ts # Stdio transport
81+
├── sentry.ts # Error tracking/reporting
7582
└── bin/codegraph.ts # CLI entry point
7683
```
7784

@@ -99,7 +106,7 @@ SQLite database with:
99106

100107
### Supported Languages
101108

102-
TypeScript, JavaScript, TSX, JSX, Python, Go, Rust, Java, C, C++, C#, PHP, Ruby, Swift, Kotlin
109+
TypeScript, JavaScript, TSX, JSX, Python, Go, Rust, Java, C, C++, C#, PHP, Ruby, Swift, Kotlin, Dart, Liquid
103110

104111
### Node and Edge Types
105112

IMPLEMENTATION_PLAN.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CodeGraph is a local-first code intelligence system that builds a semantic knowl
77
**Type:** Headless library (no UI components — purely an API)
88
**Runtime:** Node.js (works standalone, in Electron, or any Node environment)
99
**Distribution:** npm package, installable in any project
10-
**Per-Project Data:** `.codegraph/` directory in each indexed project
10+
**Per-Project Data:** `.codegraph/` directory in each indexed project
1111
**Core Principle:** Deterministic extraction from AST, not AI-generated summaries
1212

1313
### Use Cases
@@ -59,7 +59,7 @@ CodeGraph is a local-first code intelligence system that builds a semantic knowl
5959
│ ┌─────────────────────────────────────────────────────────────┐│
6060
│ │ STORAGE LAYER ││
6161
│ │ SQLite + sqlite-vss (per project) ││
62-
│ │ .codegraph/graph.db ││
62+
│ │ .codegraph/graph.db ││
6363
│ └─────────────────────────────────────────────────────────────┘│
6464
│ ▲ │
6565
│ │ │
@@ -83,7 +83,7 @@ CodeGraph is a local-first code intelligence system that builds a semantic knowl
8383
Per-Project Installation (created by codegraph init):
8484
┌─────────────────────────────────────────────────────────────────┐
8585
│ my-laravel-app/ │
86-
│ ├── .codegraph/
86+
│ ├── .codegraph/ │
8787
│ │ ├── graph.db # SQLite database with vectors │
8888
│ │ ├── config.json # Project-specific settings │
8989
│ │ └── .gitignore # Ignore db, keep config │

__tests__/evaluation/evaluation.test.ts

Lines changed: 0 additions & 303 deletions
This file was deleted.

0 commit comments

Comments
 (0)