codebase-context 1.6.1 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +282 -262
- package/dist/analyzers/angular/index.d.ts +4 -0
- package/dist/analyzers/angular/index.d.ts.map +1 -1
- package/dist/analyzers/angular/index.js +44 -8
- package/dist/analyzers/angular/index.js.map +1 -1
- package/dist/cli.d.ts +6 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +113 -0
- package/dist/cli.js.map +1 -0
- package/dist/core/indexer.d.ts +0 -5
- package/dist/core/indexer.d.ts.map +1 -1
- package/dist/core/indexer.js +12 -46
- package/dist/core/indexer.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +153 -76
- package/dist/index.js.map +1 -1
- package/dist/memory/store.d.ts +3 -0
- package/dist/memory/store.d.ts.map +1 -1
- package/dist/memory/store.js +9 -0
- package/dist/memory/store.js.map +1 -1
- package/dist/patterns/semantics.d.ts +6 -0
- package/dist/patterns/semantics.d.ts.map +1 -1
- package/dist/patterns/semantics.js +22 -6
- package/dist/patterns/semantics.js.map +1 -1
- package/dist/preflight/evidence-lock.d.ts +2 -0
- package/dist/preflight/evidence-lock.d.ts.map +1 -1
- package/dist/preflight/evidence-lock.js +16 -2
- package/dist/preflight/evidence-lock.js.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/dependency-detection.d.ts +2 -1
- package/dist/utils/dependency-detection.d.ts.map +1 -1
- package/dist/utils/dependency-detection.js.map +1 -1
- package/docs/capabilities.md +92 -75
- package/package.json +157 -144
package/package.json
CHANGED
|
@@ -1,145 +1,158 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "codebase-context",
|
|
3
|
-
"version": "1.6.
|
|
4
|
-
"description": "
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/lib.js",
|
|
7
|
-
"types": "./dist/lib.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"import": "./dist/lib.js",
|
|
11
|
-
"types": "./dist/lib.d.ts"
|
|
12
|
-
},
|
|
13
|
-
"./server": {
|
|
14
|
-
"import": "./dist/index.js",
|
|
15
|
-
"types": "./dist/index.d.ts"
|
|
16
|
-
},
|
|
17
|
-
"./analyzers/angular": {
|
|
18
|
-
"import": "./dist/analyzers/angular/index.js",
|
|
19
|
-
"types": "./dist/analyzers/angular/index.d.ts"
|
|
20
|
-
},
|
|
21
|
-
"./analyzers/generic": {
|
|
22
|
-
"import": "./dist/analyzers/generic/index.js",
|
|
23
|
-
"types": "./dist/analyzers/generic/index.d.ts"
|
|
24
|
-
},
|
|
25
|
-
"./embeddings": {
|
|
26
|
-
"import": "./dist/embeddings/index.js",
|
|
27
|
-
"types": "./dist/embeddings/index.d.ts"
|
|
28
|
-
},
|
|
29
|
-
"./storage": {
|
|
30
|
-
"import": "./dist/storage/index.js",
|
|
31
|
-
"types": "./dist/storage/index.d.ts"
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"bin": {
|
|
35
|
-
"codebase-context": "./dist/index.js"
|
|
36
|
-
},
|
|
37
|
-
"files": [
|
|
38
|
-
"dist",
|
|
39
|
-
"README.md",
|
|
40
|
-
"LICENSE",
|
|
41
|
-
"docs"
|
|
42
|
-
],
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"mcp
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"code-
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"ai-
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"claude
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
"
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
"
|
|
97
|
-
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
"
|
|
103
|
-
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
"
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
"@
|
|
120
|
-
"@
|
|
121
|
-
"@
|
|
122
|
-
"eslint": "^
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
},
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "codebase-context",
|
|
3
|
+
"version": "1.6.2",
|
|
4
|
+
"description": "Second brain for AI agents working on your codebase - team coding patterns detection, persistent memory, preflight checks, and hybrid search with evidence scoring. Local-first MCP server",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/lib.js",
|
|
7
|
+
"types": "./dist/lib.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/lib.js",
|
|
11
|
+
"types": "./dist/lib.d.ts"
|
|
12
|
+
},
|
|
13
|
+
"./server": {
|
|
14
|
+
"import": "./dist/index.js",
|
|
15
|
+
"types": "./dist/index.d.ts"
|
|
16
|
+
},
|
|
17
|
+
"./analyzers/angular": {
|
|
18
|
+
"import": "./dist/analyzers/angular/index.js",
|
|
19
|
+
"types": "./dist/analyzers/angular/index.d.ts"
|
|
20
|
+
},
|
|
21
|
+
"./analyzers/generic": {
|
|
22
|
+
"import": "./dist/analyzers/generic/index.js",
|
|
23
|
+
"types": "./dist/analyzers/generic/index.d.ts"
|
|
24
|
+
},
|
|
25
|
+
"./embeddings": {
|
|
26
|
+
"import": "./dist/embeddings/index.js",
|
|
27
|
+
"types": "./dist/embeddings/index.d.ts"
|
|
28
|
+
},
|
|
29
|
+
"./storage": {
|
|
30
|
+
"import": "./dist/storage/index.js",
|
|
31
|
+
"types": "./dist/storage/index.d.ts"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"bin": {
|
|
35
|
+
"codebase-context": "./dist/index.js"
|
|
36
|
+
},
|
|
37
|
+
"files": [
|
|
38
|
+
"dist",
|
|
39
|
+
"README.md",
|
|
40
|
+
"LICENSE",
|
|
41
|
+
"docs"
|
|
42
|
+
],
|
|
43
|
+
"packageManager": "pnpm@10.27.0",
|
|
44
|
+
"engines": {
|
|
45
|
+
"node": ">=18.0.0"
|
|
46
|
+
},
|
|
47
|
+
"keywords": [
|
|
48
|
+
"mcp",
|
|
49
|
+
"mcp-server",
|
|
50
|
+
"model-context-protocol",
|
|
51
|
+
"codebase-context",
|
|
52
|
+
"code-intelligence",
|
|
53
|
+
"code-patterns",
|
|
54
|
+
"team-conventions",
|
|
55
|
+
"pattern-detection",
|
|
56
|
+
"semantic-search",
|
|
57
|
+
"vector-search",
|
|
58
|
+
"hybrid-search",
|
|
59
|
+
"retrieval",
|
|
60
|
+
"reranking",
|
|
61
|
+
"rrf",
|
|
62
|
+
"cross-encoder",
|
|
63
|
+
"context-engineering",
|
|
64
|
+
"local-first",
|
|
65
|
+
"privacy-first",
|
|
66
|
+
"embeddings",
|
|
67
|
+
"preflight",
|
|
68
|
+
"evidence-scoring",
|
|
69
|
+
"golden-files",
|
|
70
|
+
"ai-coding",
|
|
71
|
+
"ai-agents",
|
|
72
|
+
"llm",
|
|
73
|
+
"claude",
|
|
74
|
+
"claude-code",
|
|
75
|
+
"cursor",
|
|
76
|
+
"copilot",
|
|
77
|
+
"windsurf",
|
|
78
|
+
"angular",
|
|
79
|
+
"react",
|
|
80
|
+
"typescript",
|
|
81
|
+
"developer-tools",
|
|
82
|
+
"static-analysis",
|
|
83
|
+
"code-quality",
|
|
84
|
+
"team-memory",
|
|
85
|
+
"second-brain",
|
|
86
|
+
"code-search",
|
|
87
|
+
"codebase-intelligence"
|
|
88
|
+
],
|
|
89
|
+
"repository": {
|
|
90
|
+
"type": "git",
|
|
91
|
+
"url": "git+https://github.com/PatrickSys/codebase-context.git"
|
|
92
|
+
},
|
|
93
|
+
"bugs": {
|
|
94
|
+
"url": "https://github.com/PatrickSys/codebase-context/issues"
|
|
95
|
+
},
|
|
96
|
+
"homepage": "https://github.com/PatrickSys/codebase-context#readme",
|
|
97
|
+
"author": {
|
|
98
|
+
"name": "Patrick Rosselló",
|
|
99
|
+
"email": "rossellocolompatrick@gmail.com",
|
|
100
|
+
"url": "https://github.com/PatrickSys"
|
|
101
|
+
},
|
|
102
|
+
"license": "MIT",
|
|
103
|
+
"scripts": {
|
|
104
|
+
"preinstall": "npx only-allow pnpm",
|
|
105
|
+
"build": "tsc",
|
|
106
|
+
"prepublishOnly": "pnpm run build",
|
|
107
|
+
"start": "node dist/index.js",
|
|
108
|
+
"dev": "tsx src/index.ts",
|
|
109
|
+
"watch": "tsc -w",
|
|
110
|
+
"test": "vitest run",
|
|
111
|
+
"test:watch": "vitest",
|
|
112
|
+
"lint": "eslint \"src/**/*.ts\"",
|
|
113
|
+
"format": "prettier --write \"src/**/*.ts\"",
|
|
114
|
+
"format:check": "prettier --check \"src/**/*.ts\"",
|
|
115
|
+
"type-check": "tsc --noEmit",
|
|
116
|
+
"mcp:inspect": "npx -y @modelcontextprotocol/inspector node dist/index.js ."
|
|
117
|
+
},
|
|
118
|
+
"dependencies": {
|
|
119
|
+
"@huggingface/transformers": "^3.8.1",
|
|
120
|
+
"@lancedb/lancedb": "^0.4.0",
|
|
121
|
+
"@modelcontextprotocol/sdk": "^1.25.2",
|
|
122
|
+
"@typescript-eslint/typescript-estree": "^7.0.0",
|
|
123
|
+
"fuse.js": "^7.0.0",
|
|
124
|
+
"glob": "^10.3.10",
|
|
125
|
+
"hono": "4.11.7",
|
|
126
|
+
"ignore": "^5.3.1",
|
|
127
|
+
"typescript": "^5.3.3",
|
|
128
|
+
"uuid": "^9.0.1",
|
|
129
|
+
"zod": "^4.3.4"
|
|
130
|
+
},
|
|
131
|
+
"devDependencies": {
|
|
132
|
+
"@eslint/js": "^9.39.2",
|
|
133
|
+
"@types/glob": "^8.1.0",
|
|
134
|
+
"@types/node": "^20.11.24",
|
|
135
|
+
"@types/uuid": "^9.0.8",
|
|
136
|
+
"@typescript-eslint/eslint-plugin": "^8.51.0",
|
|
137
|
+
"@typescript-eslint/parser": "^8.51.0",
|
|
138
|
+
"eslint": "^9.39.2",
|
|
139
|
+
"eslint-config-prettier": "^10.1.8",
|
|
140
|
+
"eslint-plugin-import": "^2.32.0",
|
|
141
|
+
"globals": "^17.0.0",
|
|
142
|
+
"prettier": "^3.7.4",
|
|
143
|
+
"tsx": "^4.21.0",
|
|
144
|
+
"typescript-eslint": "^8.51.0",
|
|
145
|
+
"vitest": "^4.0.16"
|
|
146
|
+
},
|
|
147
|
+
"pnpm": {
|
|
148
|
+
"onlyBuiltDependencies": [
|
|
149
|
+
"esbuild",
|
|
150
|
+
"onnxruntime-node",
|
|
151
|
+
"protobufjs",
|
|
152
|
+
"sharp"
|
|
153
|
+
],
|
|
154
|
+
"overrides": {
|
|
155
|
+
"@modelcontextprotocol/sdk>ajv": "8.18.0"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
145
158
|
}
|