@openez-graph/cli 0.3.2 → 0.4.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 +26 -3
- package/dist/cli.cjs +606 -177
- package/dist/web/assets/{WorkspaceGraph-CyIfL-tO.js → WorkspaceGraph-C2EeqZCG.js} +1 -1
- package/dist/web/assets/index-4j3-JbXm.css +1 -0
- package/dist/web/assets/index-BrXKvH08.js +332 -0
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/dist/web/assets/index-C3yC9A2l.css +0 -1
- package/dist/web/assets/index-CDXvHMX8.js +0 -312
package/README.md
CHANGED
|
@@ -12,12 +12,14 @@ OpenEZ Graph indexes your codebase into a local SQLite database, builds a code g
|
|
|
12
12
|
## Features
|
|
13
13
|
|
|
14
14
|
- **Zero-config** — auto-registers workspace, auto-indexes, auto-syncs on file changes
|
|
15
|
-
- **SQLite-first** — all data stored locally in `.openez/` per workspace
|
|
15
|
+
- **SQLite-first** — all data stored locally in `.openez/` per workspace, no Postgres/Redis
|
|
16
|
+
- **FTS5 full-text search** — SQLite FTS5 with BM25 ranking and porter tokenizer
|
|
17
|
+
- **Vector search** — optional OpenAI/Ollama embeddings with cosine similarity
|
|
16
18
|
- **MCP-first** — exposes `memory_query`, `code_context`, `graph_neighbors`, `memory_write`, `index_workspace`, `list_workspaces` tools
|
|
17
19
|
- **Multi-workspace** — register and query across multiple codebases
|
|
18
20
|
- **Code graph** — symbols, files, chunks, and edges (calls, imports, contains)
|
|
19
21
|
- **Web dashboard** — built-in graph explorer and workspace management UI
|
|
20
|
-
- **Auto-sync** — file watcher re-indexes on changes (
|
|
22
|
+
- **Auto-sync** — file watcher re-indexes on changes (250ms debounce)
|
|
21
23
|
|
|
22
24
|
## Install
|
|
23
25
|
|
|
@@ -26,6 +28,12 @@ npm install -g @openez-graph/cli
|
|
|
26
28
|
openez setup claude # or: codex, opencode
|
|
27
29
|
```
|
|
28
30
|
|
|
31
|
+
Or run without installing:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
npx @openez-graph/cli setup claude
|
|
35
|
+
```
|
|
36
|
+
|
|
29
37
|
Restart your agent. Done.
|
|
30
38
|
|
|
31
39
|
## Quick start
|
|
@@ -76,7 +84,7 @@ openez setup opencode # wire up OpenCode
|
|
|
76
84
|
2. When Claude Code starts, it launches the MCP server via `openez serve --mcp`
|
|
77
85
|
3. The MCP server auto-registers the current project as a workspace
|
|
78
86
|
4. It auto-indexes if the workspace has no documents yet
|
|
79
|
-
5. It watches for file changes and re-indexes automatically (
|
|
87
|
+
5. It watches for file changes and re-indexes automatically (250ms debounce)
|
|
80
88
|
6. All data is stored in `<project>/.openez/index.sqlite` — local, portable, gitignored
|
|
81
89
|
|
|
82
90
|
## Supported languages
|
|
@@ -90,6 +98,21 @@ openez setup opencode # wire up OpenCode
|
|
|
90
98
|
| YAML / JSON / TOML | Structure-aware chunking |
|
|
91
99
|
| Markdown | Section-oriented chunking |
|
|
92
100
|
|
|
101
|
+
## Retrieval quality
|
|
102
|
+
|
|
103
|
+
Benchmarked on 18 real queries against the openez codebase itself (118 files, 640 chunks):
|
|
104
|
+
|
|
105
|
+
| Metric | Value |
|
|
106
|
+
|--------|-------|
|
|
107
|
+
| Recall@5 | 94.44% |
|
|
108
|
+
| MRR | 0.6565 |
|
|
109
|
+
| Avg latency | 38.68 ms |
|
|
110
|
+
| p50 latency | 18.65 ms |
|
|
111
|
+
| Duplicate path rate | 0% |
|
|
112
|
+
| Quality gate | PASS |
|
|
113
|
+
|
|
114
|
+
FTS5 with BM25 ranking handles 94% of queries in under 40ms — no embeddings needed for the default path. Embeddings (OpenAI/Ollama) are optional semantic fallback for queries without direct keyword overlap.
|
|
115
|
+
|
|
93
116
|
## Web dashboard
|
|
94
117
|
|
|
95
118
|
```bash
|