xindex 1.0.7 → 1.0.8

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/.tmp/watch.log CHANGED
@@ -3,7 +3,7 @@ npm warn Unknown env config "argv". This will stop working in the next major ver
3
3
  npm warn Unknown env config "version-commit-hooks". This will stop working in the next major version of npm.
4
4
  npm warn Unknown env config "version-git-message". This will stop working in the next major version of npm.
5
5
  npm warn Unknown env config "version-tag-prefix". This will stop working in the next major version of npm.
6
- [xindex-1776991372027-99a3bfc69e73f] started, indexing and watching: .
6
+ [xindex-f6f021c029fd78] started, indexing and watching: .
7
7
  indexing: notes.md
8
8
  indexing: util.ts
9
9
  initial index complete, acquiring watcher lock...
package/README.md CHANGED
@@ -26,19 +26,21 @@ Index lives in `./.xindex/` — add it to `.gitignore`.
26
26
 
27
27
  ## Use with Claude Code (MCP)
28
28
 
29
- Drop this into `.mcp.json` at your project root:
29
+ Drop this into `.mcp.json` at your project root — **no install required**, `npx` fetches and runs it on demand:
30
30
 
31
31
  ```json
32
32
  {
33
33
  "mcpServers": {
34
34
  "xindex": {
35
- "command": "xindex-mcp",
36
- "args": []
35
+ "command": "npx",
36
+ "args": ["xindex"]
37
37
  }
38
38
  }
39
39
  }
40
40
  ```
41
41
 
42
+ Prefer a global install? Use `"command": "xindex-mcp"` with empty `args` instead (after `npm i -g xindex`).
43
+
42
44
  Open the project in Claude Code — it picks up the xindex MCP server and can call `xindex_search`, `xindex_index`, and `xindex_reset` directly. Fewer hallucinations, fewer round-trips.
43
45
 
44
46
  ## Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xindex",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Local semantic code search — index codebase, search by meaning or keywords",
5
5
  "type": "module",
6
6
  "main": "xindex.ts",