Skip to content

Commit c38853f

Browse files
committed
Remove Go-era cruft, update THIRD_PARTY.md for pure C project
- Delete cmd/codebase-memory-mcp/assets/ — skills and codex instructions are embedded as C string literals in src/cli/cli.c since v0.5.0 - Move BENCHMARK.md to docs/ to reduce root clutter - Fix setup scripts: replace stale go build with scripts/build.sh - THIRD_PARTY.md: replace Go module dependencies with vendored C libraries (sqlite3, mimalloc, mongoose, yyjson, xxhash, tre), fix CGo reference to static compilation
1 parent e080233 commit c38853f

File tree

9 files changed

+14
-522
lines changed

9 files changed

+14
-522
lines changed

THIRD_PARTY.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The tree-sitter C runtime is vendored in `internal/cbm/vendored/ts_runtime/`.
1515

1616
Pre-generated parser sources are vendored in `internal/cbm/vendored/grammars/<lang>/`.
1717
Each grammar is the work of its upstream authors; we vendor only the generated
18-
`parser.c` (and `scanner.c` where applicable) for CGo compilation.
18+
`parser.c` (and `scanner.c` where applicable) for static compilation.
1919

2020
| Grammar | Upstream Repository | License | Copyright |
2121
|---------|-------------------|---------|-----------|
@@ -84,16 +84,18 @@ Each grammar is the work of its upstream authors; we vendor only the generated
8484
| yaml | [tree-sitter/tree-sitter-yaml](https://github.com/tree-sitter/tree-sitter-yaml) | MIT | (c) Max Brunsfeld |
8585
| zig | [tree-sitter/tree-sitter-zig](https://github.com/tree-sitter/tree-sitter-zig) | MIT | (c) Max Brunsfeld |
8686

87-
## Go Module Dependencies
87+
## Vendored C Libraries
8888

89-
| Module | License | Project |
90-
|--------|---------|---------|
91-
| github.com/mattn/go-sqlite3 | MIT | [mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) |
92-
| github.com/modelcontextprotocol/go-sdk | MIT | [modelcontextprotocol/go-sdk](https://github.com/modelcontextprotocol/go-sdk) |
93-
| github.com/zeebo/xxh3 | BSD-2-Clause | [zeebo/xxh3](https://github.com/zeebo/xxh3) |
94-
| golang.org/x/sync | BSD-3-Clause | [golang.org/x/sync](https://pkg.go.dev/golang.org/x/sync) |
95-
| golang.org/x/sys | BSD-3-Clause | [golang.org/x/sys](https://pkg.go.dev/golang.org/x/sys) |
96-
| gopkg.in/yaml.v3 | MIT + Apache-2.0 | [go-yaml/yaml](https://github.com/go-yaml/yaml) |
89+
All C dependencies are vendored in `vendored/` — zero system library dependencies required.
90+
91+
| Library | License | Project |
92+
|---------|---------|---------|
93+
| SQLite 3 | Public Domain | [sqlite.org](https://www.sqlite.org/) |
94+
| mimalloc | MIT | [microsoft/mimalloc](https://github.com/microsoft/mimalloc) |
95+
| Mongoose | Dual GPLv2 / Commercial | [cesanta/mongoose](https://github.com/cesanta/mongoose) |
96+
| yyjson | MIT | [ibireme/yyjson](https://github.com/ibireme/yyjson) |
97+
| xxHash | BSD-2-Clause | [Cyan4973/xxHash](https://github.com/Cyan4973/xxHash) |
98+
| TRE | BSD-2-Clause | [laurikari/tre](https://github.com/laurikari/tre) |
9799

98100
## Notes
99101

cmd/codebase-memory-mcp/assets/codex-instructions.md

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

cmd/codebase-memory-mcp/assets/skills/codebase-memory-exploring/SKILL.md

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

cmd/codebase-memory-mcp/assets/skills/codebase-memory-quality/SKILL.md

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

0 commit comments

Comments
 (0)