@cidx/cli 0.0.1
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 +28 -0
- package/bin/cidx.js +3 -0
- package/package.json +18 -0
package/README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# cidx
|
|
2
|
+
|
|
3
|
+
Codebase indexer and MCP server for AI coding agents.
|
|
4
|
+
|
|
5
|
+
cidx parses your source code using tree-sitter, stores symbols, definitions, and cross-file references in a local SQLite database, and exposes search and navigation via an [MCP](https://modelcontextprotocol.io) server. This gives AI coding agents structural awareness of large codebases — not just grep-level text search, but actual symbol resolution.
|
|
6
|
+
|
|
7
|
+
## Status
|
|
8
|
+
|
|
9
|
+
Early development. The npm package is a placeholder while the native binary is being built. Follow the [GitHub repository](https://github.com/contextindex/cidx) for progress.
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
npm install -g cidx
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
The npm package will install a pre-built native binary for your platform. Until then, you can build from source via Cargo:
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
cargo install cidx
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## What it does
|
|
24
|
+
|
|
25
|
+
- Parses source files with tree-sitter (Rust, TypeScript, Python, and more)
|
|
26
|
+
- Indexes symbols, definitions, and references into a local SQLite + FTS5 database
|
|
27
|
+
- Runs as a Unix daemon with a file watcher for incremental updates
|
|
28
|
+
- Exposes an MCP server so AI agents can query the index directly
|
package/bin/cidx.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@cidx/cli",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Codebase indexer and MCP server for AI coding agents",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"mcp",
|
|
7
|
+
"codebase",
|
|
8
|
+
"indexer",
|
|
9
|
+
"ai",
|
|
10
|
+
"rust"
|
|
11
|
+
],
|
|
12
|
+
"bin": {
|
|
13
|
+
"cidx": "bin/cidx.js"
|
|
14
|
+
},
|
|
15
|
+
"engines": {
|
|
16
|
+
"node": ">=16"
|
|
17
|
+
}
|
|
18
|
+
}
|