mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-06 08:35:21 +08:00
Add Kotlin (.kt, .kts) as the 13th supported language with full tree-sitter parsing, AST node extraction, call resolution, usage tracking, and string constant propagation. Changes: - internal/lang/kotlin.go: Kotlin LanguageSpec registration - internal/lang/lang.go: Add Kotlin constant and AllLanguages() - internal/parser/parser.go: Register tree-sitter-kotlin grammar - internal/pipeline/pipeline.go: Kotlin in isConstantNode(), isExported(), extractCalleeName() - internal/pipeline/resolve.go: resolveKotlin() for val declarations - internal/pipeline/usages.go: Kotlin reference node types - Tests: TestParseKotlin, TestResolveKotlinConcat, extension tests - go.mod: Add tree-sitter-grammars/tree-sitter-kotlin v1.1.0 - README.md: Update language count to 13
39 lines
1.4 KiB
AMPL
39 lines
1.4 KiB
AMPL
module github.com/DeusData/codebase-memory-mcp
|
|
|
|
go 1.26
|
|
|
|
require (
|
|
github.com/mattn/go-sqlite3 v1.14.34
|
|
github.com/modelcontextprotocol/go-sdk v1.3.1
|
|
github.com/tree-sitter-grammars/tree-sitter-kotlin v1.1.0
|
|
github.com/tree-sitter-grammars/tree-sitter-lua v0.4.1
|
|
github.com/tree-sitter/go-tree-sitter v0.25.0
|
|
github.com/tree-sitter/tree-sitter-c-sharp v0.23.1
|
|
github.com/tree-sitter/tree-sitter-cpp v0.23.4
|
|
github.com/tree-sitter/tree-sitter-go v0.25.0
|
|
github.com/tree-sitter/tree-sitter-java v0.23.5
|
|
github.com/tree-sitter/tree-sitter-javascript v0.25.0
|
|
github.com/tree-sitter/tree-sitter-php v0.24.2
|
|
github.com/tree-sitter/tree-sitter-python v0.25.0
|
|
github.com/tree-sitter/tree-sitter-rust v0.24.0
|
|
github.com/tree-sitter/tree-sitter-scala v0.24.0
|
|
github.com/tree-sitter/tree-sitter-typescript v0.23.2
|
|
github.com/zeebo/xxh3 v1.1.0
|
|
golang.org/x/sync v0.17.0
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
github.com/google/jsonschema-go v0.4.2 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.2.10 // indirect
|
|
github.com/mattn/go-pointer v0.0.1 // 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.30.0 // indirect
|
|
golang.org/x/sys v0.37.0 // indirect
|
|
golang.org/x/tools v0.38.0 // indirect
|
|
)
|
|
|
|
replace github.com/tree-sitter/go-tree-sitter => github.com/DeusData/go-tree-sitter v0.26.0-deusdata.1
|