@openez-graph/cli 1.0.2 → 1.0.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/dist/CHANGELOG.md CHANGED
@@ -5,13 +5,23 @@ All notable changes to OpenEZ Graph are documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
- ## [Unreleased]
8
+ ## [1.0.3] - 2026-08-08
9
+
10
+ ### Fixed
11
+
12
+ - **Registry `graph_status` not updated after graph build** — `_buildGraphInternal` built the graph correctly but never updated the registry's `graph_status`/`node_count`/`edge_count`, so the web UI showed 0 nodes and 0 edges even though the workspace DB had the data. Now updates the registry after a successful build.
13
+
14
+ ### Contributors
15
+
16
+ - **Asta Nguyen** — [@asta-nguyen](https://github.com/asta-nguyen)
17
+ - **JoeJoe** — [@JoeJoeflyn](https://github.com/JoeJoeflyn)
9
18
 
10
19
  ## [1.0.2] - 2026-08-08
11
20
 
12
21
  ### Fixed
13
22
 
14
23
  - **Graph build produced 0 symbol nodes and 0 edges** — `oxc-parser` (NAPI-RS native binding) was not declared in CLI `dependencies` and was not listed in tsup `external`, so `require("oxc-parser")` failed silently in the bundled CLI, falling back to line-based chunking with 0 symbols. Added `oxc-parser` to `dependencies` and `oxc-parser` + `@oxc-parser/binding-*` to tsup `external` so the native binding resolves from `node_modules` at runtime.
24
+ - **Registry `graph_status` not updated after graph build** — `_buildGraphInternal` built the graph correctly but never updated the registry's `graph_status`/`node_count`/`edge_count`, so the web UI showed 0 nodes and 0 edges even though the workspace DB had the data. Now updates the registry after a successful build.
15
25
 
16
26
  ### Contributors
17
27
 
@@ -224,6 +234,7 @@ Remediation release — index/graph correctness, data protection, and web flow f
224
234
  - Error handling and validation for import path extraction
225
235
  - CLI npm packaging
226
236
 
237
+ [1.0.3]: https://github.com/asta-nguyen/openez-graph/compare/v1.0.2...v1.0.3
227
238
  [1.0.2]: https://github.com/asta-nguyen/openez-graph/compare/v1.0.1...v1.0.2
228
239
  [1.0.1]: https://github.com/asta-nguyen/openez-graph/compare/v1.0.0...v1.0.1
229
240
  [0.12.0]: https://github.com/asta-nguyen/openez-graph/compare/v0.11.1...v0.12.0
package/dist/cli.cjs CHANGED
@@ -41140,6 +41140,14 @@ async function _buildGraphInternal(workspaceId, rootPath) {
41140
41140
  `[t] graph-build: ${Date.now() - _graphStart}ms (${parsedFiles.size} files, ${allNodeInputs.length} nodes, ${allEdges.length} edges)
41141
41141
  `
41142
41142
  );
41143
+ const nodeCount = await repo.getNodeCount();
41144
+ const edgeCount = await repo.getEdgeCount();
41145
+ const registry2 = createRegistryRepository();
41146
+ await registry2.updateWorkspace(workspaceId, {
41147
+ graphStatus: "completed",
41148
+ nodeCount,
41149
+ edgeCount
41150
+ });
41143
41151
  }
41144
41152
  var import_promises8, import_node_path14, RESOLVABLE_SOURCE_EXTENSIONS, PARSER_VERSION_TS_MORPH, PARSER_VERSION_NATIVE, PARSER_VERSION_FALLBACK, _ftsBuildingWorkspaces, graphBuilds, _graphDirtyWorkspaces;
41145
41153
  var init_index_workspace = __esm({
@@ -56648,7 +56656,7 @@ __export(mcp_bridge_exports, {
56648
56656
  startMcpServer: () => startMcpServer
56649
56657
  });
56650
56658
  async function startMcpServer(defaultPath, version4) {
56651
- await createAndStartMcpServer({ defaultPath, version: version4, build: "897aca9-dirty" });
56659
+ await createAndStartMcpServer({ defaultPath, version: version4, build: "c2ae249-dirty" });
56652
56660
  }
56653
56661
  var init_mcp_bridge = __esm({
56654
56662
  "src/mcp-bridge.ts"() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openez-graph/cli",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Local-first code intelligence engine — index, query, and graph your codebase with zero config. SQLite-only, MCP-first.",
5
5
  "license": "MIT",
6
6
  "author": "Asta Nguyen",