@openez-graph/cli 0.5.0 → 0.5.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.
Files changed (2) hide show
  1. package/dist/cli.cjs +5 -4
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -200816,9 +200816,9 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
200816
200816
  if (packageName === void 0) return void 0;
200817
200817
  switch (context.fixId) {
200818
200818
  case fixIdInstallTypesPackage: {
200819
- const pkg = getTypesPackageNameToInstall(packageName, context.host, diag2.code);
200820
- if (pkg) {
200821
- commands.push(getInstallCommand(diag2.file.fileName, pkg));
200819
+ const pkg2 = getTypesPackageNameToInstall(packageName, context.host, diag2.code);
200820
+ if (pkg2) {
200821
+ commands.push(getInstallCommand(diag2.file.fileName, pkg2));
200822
200822
  }
200823
200823
  break;
200824
200824
  }
@@ -321683,8 +321683,9 @@ var {
321683
321683
  // src/cli.ts
321684
321684
  init_src();
321685
321685
  init_src4();
321686
+ var pkg = JSON.parse(import_node_fs17.default.readFileSync(import_node_path21.default.resolve(__dirname, "../package.json"), "utf-8"));
321686
321687
  var program2 = new Command();
321687
- program2.name("openez").description("OpenEZ Graph - Local-first knowledge retrieval system").version("0.4.0");
321688
+ program2.name("openez").description("OpenEZ Graph - Local-first knowledge retrieval system").version(pkg.version);
321688
321689
  program2.command("init").description("Initialize a workspace at the given path and run initial index").argument("[path]", "path to the project directory", process.cwd()).option("--no-index", "skip initial indexing").action(async (targetPath, options) => {
321689
321690
  const resolvedPath = import_node_path21.default.resolve(targetPath);
321690
321691
  if (!import_node_fs17.default.existsSync(resolvedPath)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openez-graph/cli",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
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",