codeseeker 1.7.1 → 1.7.3
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/README.md +134 -63
- package/dist/cli/commands/handlers/setup-command-handler.d.ts.map +1 -1
- package/dist/cli/commands/handlers/setup-command-handler.js +205 -185
- package/dist/cli/commands/handlers/setup-command-handler.js.map +1 -1
- package/dist/cli/commands/services/context-aware-clarification-service.js +3 -3
- package/dist/cli/services/analysis/deduplication/code-consolidation-handler.js +41 -41
- package/dist/shared/analysis-repository.js +28 -28
- package/dist/shared/documentation-rag-service.js +40 -40
- package/dist/storage/embedded/sqlite-vector-store.js +57 -57
- package/dist/storage/server/neo4j-graph-store.js +81 -81
- package/dist/storage/server/postgres-vector-store.js +65 -65
- package/package.json +4 -2
- package/scripts/postinstall.js +458 -0
package/README.md
CHANGED
|
@@ -8,6 +8,95 @@
|
|
|
8
8
|
|
|
9
9
|
> **What is CodeSeeker?** An MCP server that gives AI assistants semantic code search and knowledge graph traversal. Works with **Claude Code**, **GitHub Copilot**, **Cursor**, and **Claude Desktop**.
|
|
10
10
|
|
|
11
|
+
> **⚠️ NOT A VS CODE EXTENSION:** CodeSeeker is installed via `npm`, not the VS Code marketplace. It's an MCP server that enhances AI assistants, not a standalone extension.
|
|
12
|
+
|
|
13
|
+
## Installation
|
|
14
|
+
|
|
15
|
+
> **🚨 Important:** CodeSeeker is **NOT a VS Code extension**. It's an **MCP server** (Model Context Protocol) that works WITH AI assistants like Claude Code and GitHub Copilot. Don't look for it in the VS Code marketplace—install via the methods below.
|
|
16
|
+
|
|
17
|
+
### ⚡ One-Line Install (Easiest)
|
|
18
|
+
|
|
19
|
+
Copy/paste ONE command - auto-detects your system and configures everything:
|
|
20
|
+
|
|
21
|
+
**macOS/Linux:**
|
|
22
|
+
```bash
|
|
23
|
+
curl -fsSL https://raw.githubusercontent.com/jghiringhelli/codeseeker/master/scripts/install.sh | sh
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
**Windows (PowerShell):**
|
|
27
|
+
```powershell
|
|
28
|
+
irm https://raw.githubusercontent.com/jghiringhelli/codeseeker/master/scripts/install.ps1 | iex
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Restart your IDE and you're done!
|
|
32
|
+
|
|
33
|
+
### 📦 Package Managers (Advanced)
|
|
34
|
+
|
|
35
|
+
**Linux (Snap) - All Distributions:**
|
|
36
|
+
```bash
|
|
37
|
+
sudo snap install codeseeker
|
|
38
|
+
codeseeker install --vscode # or --cursor, --windsurf
|
|
39
|
+
```
|
|
40
|
+
> ⚠️ **Snap limitation:** Due to strict confinement, the snap can only access projects in your home directory (`~/`). For projects outside `~/`, use npm or Homebrew instead.
|
|
41
|
+
|
|
42
|
+
**macOS/Linux (Homebrew):**
|
|
43
|
+
```bash
|
|
44
|
+
brew install jghiringhelli/codeseeker/codeseeker
|
|
45
|
+
codeseeker install --vscode # or --cursor, --windsurf
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
**Windows (Chocolatey):**
|
|
49
|
+
```powershell
|
|
50
|
+
choco install codeseeker
|
|
51
|
+
codeseeker install --vscode # or --cursor, --windsurf
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
**Cross-platform (npm):**
|
|
55
|
+
```bash
|
|
56
|
+
npm install -g codeseeker
|
|
57
|
+
codeseeker install --vscode # or --cursor, --windsurf
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### 🚀 No Install Required (npx)
|
|
61
|
+
|
|
62
|
+
Run without installing:
|
|
63
|
+
```bash
|
|
64
|
+
npx codeseeker init
|
|
65
|
+
npx codeseeker -c "how does authentication work?"
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### 🔌 Claude Code Plugin
|
|
69
|
+
|
|
70
|
+
If you use Claude Code CLI, you can install as a plugin:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
/plugin install codeseeker@github:jghiringhelli/codeseeker#plugin
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
This gives you auto-sync hooks and slash commands (`/codeseeker:init`, `/codeseeker:reindex`).
|
|
77
|
+
|
|
78
|
+
### ☁️ Devcontainer / GitHub Codespaces
|
|
79
|
+
|
|
80
|
+
CodeSeeker auto-installs in devcontainers! Just add `.devcontainer/devcontainer.json`:
|
|
81
|
+
|
|
82
|
+
```json
|
|
83
|
+
{
|
|
84
|
+
"name": "My Project",
|
|
85
|
+
"image": "mcr.microsoft.com/devcontainers/javascript-node:18",
|
|
86
|
+
"postCreateCommand": "npm install -g codeseeker && codeseeker install --vscode"
|
|
87
|
+
}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Or use our pre-configured devcontainer (already included in this repo).
|
|
91
|
+
|
|
92
|
+
### ✅ Verify Installation
|
|
93
|
+
|
|
94
|
+
Ask your AI assistant: *"What CodeSeeker tools do you have?"*
|
|
95
|
+
|
|
96
|
+
You should see: `search`, `search_and_read`, `show_dependencies`, `read_with_context`, `standards`, etc.
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
11
100
|
## The Problem
|
|
12
101
|
|
|
13
102
|
Claude Code is powerful, but it navigates your codebase like a tourist with a phrasebook:
|
|
@@ -41,50 +130,14 @@ When you ask "add password reset to authentication", Claude doesn't just find fi
|
|
|
41
130
|
|
|
42
131
|
This is **Graph RAG** (Retrieval-Augmented Generation), not just vector search.
|
|
43
132
|
|
|
44
|
-
## Installation
|
|
45
|
-
|
|
46
|
-
### Quick Install (Recommended)
|
|
133
|
+
## Advanced Installation Options
|
|
47
134
|
|
|
48
|
-
|
|
135
|
+
<details>
|
|
136
|
+
<summary><b>📋 Manual MCP Configuration</b> (if auto-install doesn't work)</summary>
|
|
49
137
|
|
|
50
|
-
|
|
51
|
-
# Install globally
|
|
52
|
-
npm install -g codeseeker
|
|
53
|
-
|
|
54
|
-
# Configure for your IDE (run from your project directory)
|
|
55
|
-
codeseeker install --vscode # VS Code (Claude Code & GitHub Copilot)
|
|
56
|
-
codeseeker install --cursor # Cursor IDE
|
|
57
|
-
codeseeker install --windsurf # Windsurf IDE
|
|
58
|
-
|
|
59
|
-
# Or install globally (applies to all projects)
|
|
60
|
-
codeseeker install --vscode --global
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
Then restart your IDE. CodeSeeker tools are now available!
|
|
64
|
-
|
|
65
|
-
### Claude Code (Terminal or VS Code)
|
|
66
|
-
|
|
67
|
-
**Option A: Plugin**
|
|
68
|
-
|
|
69
|
-
```
|
|
70
|
-
/plugin install codeseeker@github:jghiringhelli/codeseeker#plugin
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
This installs the plugin with:
|
|
74
|
-
- MCP server auto-configured
|
|
75
|
-
- Hooks that keep the index in sync when Claude edits files
|
|
76
|
-
- Slash commands (`/codeseeker:init`, `/codeseeker:reindex`)
|
|
77
|
-
|
|
78
|
-
**Option B: Automatic Install**
|
|
79
|
-
|
|
80
|
-
```bash
|
|
81
|
-
npm install -g codeseeker
|
|
82
|
-
codeseeker install --vscode
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
**Option C: Manual MCP Configuration**
|
|
138
|
+
### VS Code (Claude Code & GitHub Copilot)
|
|
86
139
|
|
|
87
|
-
Add to
|
|
140
|
+
Add to `.vscode/mcp.json` in your project:
|
|
88
141
|
|
|
89
142
|
```json
|
|
90
143
|
{
|
|
@@ -100,25 +153,9 @@ Add to `~/.claude/settings.json`:
|
|
|
100
153
|
}
|
|
101
154
|
```
|
|
102
155
|
|
|
103
|
-
### VS Code (Claude Code & GitHub Copilot)
|
|
104
|
-
|
|
105
|
-
```bash
|
|
106
|
-
npm install -g codeseeker
|
|
107
|
-
codeseeker install --vscode
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
This creates `.vscode/mcp.json` which works with both Claude Code and GitHub Copilot (VS Code 1.99+).
|
|
111
|
-
|
|
112
|
-
> **Note:** `--vscode`, `--claude-code`, and `--copilot` all do the same thing - they configure VS Code's MCP. Use whichever is clearest for your use case.
|
|
113
|
-
|
|
114
156
|
### Cursor
|
|
115
157
|
|
|
116
|
-
|
|
117
|
-
npm install -g codeseeker
|
|
118
|
-
codeseeker install --cursor
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
Or manually add to `.cursor/mcp.json`:
|
|
158
|
+
Add to `.cursor/mcp.json` in your project:
|
|
122
159
|
|
|
123
160
|
```json
|
|
124
161
|
{
|
|
@@ -155,7 +192,20 @@ Add to your `claude_desktop_config.json`:
|
|
|
155
192
|
}
|
|
156
193
|
```
|
|
157
194
|
|
|
158
|
-
###
|
|
195
|
+
### Global vs Project-Level Configuration
|
|
196
|
+
|
|
197
|
+
```bash
|
|
198
|
+
# Apply to all projects (user-level)
|
|
199
|
+
codeseeker install --vscode --global
|
|
200
|
+
|
|
201
|
+
# Apply to current project only
|
|
202
|
+
codeseeker install --vscode
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
</details>
|
|
206
|
+
|
|
207
|
+
<details>
|
|
208
|
+
<summary><b>🖥️ CLI Standalone Usage</b> (without AI assistant)</summary>
|
|
159
209
|
|
|
160
210
|
```bash
|
|
161
211
|
npm install -g codeseeker
|
|
@@ -164,6 +214,8 @@ codeseeker init
|
|
|
164
214
|
codeseeker -c "how does authentication work in this project?"
|
|
165
215
|
```
|
|
166
216
|
|
|
217
|
+
</details>
|
|
218
|
+
|
|
167
219
|
## What You Get
|
|
168
220
|
|
|
169
221
|
Once configured, Claude has access to these MCP tools (used automatically):
|
|
@@ -355,11 +407,19 @@ For large teams (100K+ files, shared indexes), server mode supports PostgreSQL +
|
|
|
355
407
|
|
|
356
408
|
## Troubleshooting
|
|
357
409
|
|
|
410
|
+
### "I can't find CodeSeeker in the VS Code marketplace"
|
|
411
|
+
|
|
412
|
+
**CodeSeeker is NOT a VS Code extension.** It's an MCP server that works WITH AI assistants.
|
|
413
|
+
|
|
414
|
+
✅ **Correct:** Install via npm: `npm install -g codeseeker`
|
|
415
|
+
❌ **Wrong:** Looking for it in VS Code Extensions marketplace
|
|
416
|
+
|
|
358
417
|
### MCP server not connecting
|
|
359
418
|
|
|
360
|
-
1. Verify npx
|
|
361
|
-
2. Check MCP config file syntax (valid JSON)
|
|
362
|
-
3. Restart your editor/Claude application
|
|
419
|
+
1. Verify npm and npx work: `npx -y codeseeker --version`
|
|
420
|
+
2. Check MCP config file syntax (valid JSON, no trailing commas)
|
|
421
|
+
3. Restart your editor/Claude application completely
|
|
422
|
+
4. Check that Node.js is installed: `node --version` (need v18+)
|
|
363
423
|
|
|
364
424
|
### Indexing seems slow
|
|
365
425
|
|
|
@@ -367,7 +427,14 @@ First-time indexing of large projects (50K+ files) can take 5+ minutes. Subseque
|
|
|
367
427
|
|
|
368
428
|
### Tools not appearing in Claude
|
|
369
429
|
|
|
370
|
-
|
|
430
|
+
1. Ask Claude: *"What CodeSeeker tools do you have?"*
|
|
431
|
+
2. If no tools appear, check MCP config file exists and has correct syntax
|
|
432
|
+
3. Restart your IDE completely (not just reload window)
|
|
433
|
+
4. Check Claude/Copilot MCP connection status in IDE
|
|
434
|
+
|
|
435
|
+
### Still stuck?
|
|
436
|
+
|
|
437
|
+
Open an issue: [GitHub Issues](https://github.com/jghiringhelli/codeseeker/issues)
|
|
371
438
|
|
|
372
439
|
## Documentation
|
|
373
440
|
|
|
@@ -388,6 +455,10 @@ MCP tools appear automatically once the server connects. Ask Claude "what CodeSe
|
|
|
388
455
|
|
|
389
456
|
> **Note:** Claude Code and GitHub Copilot both run in VS Code and share the same MCP configuration (`.vscode/mcp.json`). The flags `--vscode`, `--claude-code`, and `--copilot` are interchangeable.
|
|
390
457
|
|
|
458
|
+
## Support
|
|
459
|
+
|
|
460
|
+
If CodeSeeker is useful to you, consider [sponsoring the project](https://github.com/sponsors/jghiringhelli).
|
|
461
|
+
|
|
391
462
|
## License
|
|
392
463
|
|
|
393
464
|
MIT License. See [LICENSE](LICENSE).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup-command-handler.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/handlers/setup-command-handler.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAYnD,qBAAa,mBAAoB,SAAQ,kBAAkB;IAGzD,OAAO,CAAC,MAAM,CAAqD;IAEnE;;OAEG;IACG,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAmClD;;;OAGG;YACW,wBAAwB;IAuDtC;;;OAGG;YACW,mBAAmB;IAiFjC;;OAEG;YACW,gBAAgB;IA4C9B;;OAEG;YACW,UAAU;IAgGxB;;OAEG;YACW,WAAW;IAqCzB;;OAEG;YACW,kBAAkB;IA6ChC;;;OAGG;YACW,0BAA0B;IAuIxC;;OAEG;YACW,uBAAuB;IAerC;;;OAGG;YACW,uBAAuB;IA6FrC;;OAEG;YACW,iBAAiB;IAkE/B;;;OAGG;YACW,iBAAiB;IA0G/B;;OAEG;YACW,yBAAyB;IAqBvC;;OAEG;YACW,sBAAsB;IAsEpC;;OAEG;YACW,uBAAuB;IAmCrC;;;;OAIG;IACH,OAAO,CAAC,QAAQ,CAAC,uBAAuB,
|
|
1
|
+
{"version":3,"file":"setup-command-handler.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/handlers/setup-command-handler.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAYnD,qBAAa,mBAAoB,SAAQ,kBAAkB;IAGzD,OAAO,CAAC,MAAM,CAAqD;IAEnE;;OAEG;IACG,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAmClD;;;OAGG;YACW,wBAAwB;IAuDtC;;;OAGG;YACW,mBAAmB;IAiFjC;;OAEG;YACW,gBAAgB;IA4C9B;;OAEG;YACW,UAAU;IAgGxB;;OAEG;YACW,WAAW;IAqCzB;;OAEG;YACW,kBAAkB;IA6ChC;;;OAGG;YACW,0BAA0B;IAuIxC;;OAEG;YACW,uBAAuB;IAerC;;;OAGG;YACW,uBAAuB;IA6FrC;;OAEG;YACW,iBAAiB;IAkE/B;;;OAGG;YACW,iBAAiB;IA0G/B;;OAEG;YACW,yBAAyB;IAqBvC;;OAEG;YACW,sBAAsB;IAsEpC;;OAEG;YACW,uBAAuB;IAmCrC;;;;OAIG;IACH,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAwFxC;IAEA;;;;OAIG;IACH,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAqCtC;IAEF;;;;;;;OAOG;YACW,2BAA2B;IAgFzC;;OAEG;YACW,wBAAwB;IAyBtC;;OAEG;YACW,aAAa;CA2C5B"}
|