xindex 1.0.24 → 1.0.25
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 +5 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,10 +35,12 @@ Index lives in `./.xindex/` — add it to `.gitignore`.
|
|
|
35
35
|
### Zero-install, all projects
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
claude mcp add --scope user xindex -- npx xindex
|
|
38
|
+
claude mcp add --scope user xindex -- npx -y xindex
|
|
39
39
|
# remove later: claude mcp remove xindex --scope user
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
+
Use **`npx -y`** so `npx` does not wait for confirmation when it must fetch the package (MCP often runs without a TTY). If `npm` still errors on peer resolution, install globally with `npm i -g xindex --legacy-peer-deps` and point MCP at `xindex-mcp` instead (see below).
|
|
43
|
+
|
|
42
44
|
### Per-project
|
|
43
45
|
|
|
44
46
|
Drop this into `.mcp.json` at the repo root — `npx` fetches on demand:
|
|
@@ -48,7 +50,7 @@ Drop this into `.mcp.json` at the repo root — `npx` fetches on demand:
|
|
|
48
50
|
"mcpServers": {
|
|
49
51
|
"xindex": {
|
|
50
52
|
"command": "npx",
|
|
51
|
-
"args": ["xindex"]
|
|
53
|
+
"args": ["-y", "xindex"]
|
|
52
54
|
}
|
|
53
55
|
}
|
|
54
56
|
}
|
|
@@ -121,7 +123,7 @@ name: xindex
|
|
|
121
123
|
description: Manages xindex semantic search — index, search, reset via MCP tools. For research questions, use /ask-xi.
|
|
122
124
|
argument-hint: "[search query | index | reset]"
|
|
123
125
|
---
|
|
124
|
-
Full xindex tool management. For research, use `/ask-xi`. Install: `npm i -g xindex` ([npm](https://www.npmjs.com/package/xindex)).
|
|
126
|
+
Full xindex tool management. For research, use `/ask-xi`. Install: `npm i -g xindex`, or user MCP `claude mcp add --scope user xindex -- npx -y xindex` ([npm](https://www.npmjs.com/package/xindex)).
|
|
125
127
|
|
|
126
128
|
**Tools:**
|
|
127
129
|
- `xindex_search` — find files by meaning (synonyms, semantics). Try before grepping blindly.
|
|
@@ -270,9 +272,6 @@ yarn test.compilation
|
|
|
270
272
|
|
|
271
273
|
MIT
|
|
272
274
|
|
|
273
|
-
## Version
|
|
274
|
-
1.0.21
|
|
275
|
-
|
|
276
275
|
## Links
|
|
277
276
|
|
|
278
277
|
- [Claude Code skills](https://docs.claude.com/en/docs/claude-code/skills)
|