初始提交:codebase-memory-mcp - Codebase Memory MCP Server

Fork from https://github.com/DeusData/codebase-memory-mcp
Go 实现,提供代码库记忆功能的 MCP 服务器
This commit is contained in:
xiaowei
2026-07-30 09:18:35 +08:00
commit f1e40eebb4
2049 changed files with 38420279 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
# Local patches to the vendored SQLite amalgamation
Reapply every patch below after refreshing the amalgamation, then update
`scripts/vendored-checksums.txt` (`shasum -a 256 vendored/sqlite3/sqlite3.c`).
## 1. Unix VFS path ceiling: `MAX_PATHNAME` 512 → 4096
```c
#define MAX_PATHNAME 4096
```
Upstream's Unix VFS caps full database paths at 512 bytes, while CBM
supports 4 KiB paths everywhere else (cache roots under deep home
directories, long project paths on Linux). With the upstream value,
opening a store whose absolute path exceeds 512 bytes fails with
`SQLITE_CANTOPEN`. 4096 matches `PATH_MAX` on Linux and CBM's own path
buffers. Windows and the other VFS layers are unaffected (they do not
use `MAX_PATHNAME`).