mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-02 07:53:41 +08:00
- Parse full .gitignore hierarchy (nested files + .git/info/exclude) via boyter/gocodewalker go-gitignore library for git repos - Add .cbmignore as repo-root gitignore-style file that stacks on top of .gitignore for indexer-specific exclusions (e.g. generated code in git) - Skip symlinked files and directories to prevent duplicate indexing - Move bin/, build/, out/ from always-on IGNORE_PATTERNS to fast-mode-only (prevents false exclusions in Go, CMake, Maven projects) - Add 28 ecosystem-specific cache/artifact dirs to IGNORE_PATTERNS: .next, .nuxt, .svelte-kit, .angular, .turbo, .terraform, bazel-bin, zig-cache, .cargo, .stack-work, elm-stuff, .metals, .bloop, etc. - Keep .cgrignore for backward compatibility - 17 new tests: gitignore patterns, negation, globstar, nested, exclude file, non-git repos, dir-only, cbmignore stacking, symlinks, pattern changes
27 lines
791 B
AMPL
27 lines
791 B
AMPL
module github.com/DeusData/codebase-memory-mcp
|
|
|
|
go 1.26
|
|
|
|
require (
|
|
github.com/boyter/gocodewalker v1.5.1
|
|
github.com/fsnotify/fsnotify v1.9.0
|
|
github.com/mattn/go-sqlite3 v1.14.34
|
|
github.com/modelcontextprotocol/go-sdk v1.4.0
|
|
github.com/zeebo/xxh3 v1.1.0
|
|
go.uber.org/goleak v1.3.0
|
|
golang.org/x/sync v0.19.0
|
|
golang.org/x/sys v0.40.0
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
github.com/danwakefield/fnmatch v0.0.0-20160403171240-cbb64ac3d964 // indirect
|
|
github.com/google/jsonschema-go v0.4.2 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.2.10 // indirect
|
|
github.com/kr/text v0.2.0 // indirect
|
|
github.com/segmentio/asm v1.1.3 // indirect
|
|
github.com/segmentio/encoding v0.5.3 // indirect
|
|
github.com/yosida95/uritemplate/v3 v3.0.2 // indirect
|
|
golang.org/x/oauth2 v0.34.0 // indirect
|
|
)
|