foxref-remote 0.1.2 → 0.1.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.
Files changed (2) hide show
  1. package/dist/cli.js +4 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -18,13 +18,16 @@
18
18
  * FOXREF_API_KEY API key for authentication (if required)
19
19
  */
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
+ const node_fs_1 = require("node:fs");
22
+ const node_path_1 = require("node:path");
21
23
  const commander_1 = require("commander");
22
24
  const client_js_1 = require("./client.js");
23
25
  const init_js_1 = require("./init.js");
26
+ const pkg = JSON.parse((0, node_fs_1.readFileSync)((0, node_path_1.join)(__dirname, "..", "package.json"), "utf-8"));
24
27
  const program = new commander_1.Command()
25
28
  .name("foxref-remote")
26
29
  .description("Code intelligence CLI — search symbols, find references, analyze impact")
27
- .version("0.1.0")
30
+ .version(pkg.version)
28
31
  .option("--branch <branch>", "Branch to query (also reads FOXREF_BRANCH env var)")
29
32
  .option("--server <url>", "Server URL (also reads FOXREF_SERVER env var)")
30
33
  .option("--key <key>", "API key (also reads FOXREF_API_KEY env var)")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foxref-remote",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Code intelligence CLI — search symbols, find references, analyze impact across the Lienly codebase",
5
5
  "bin": {
6
6
  "foxref-remote": "dist/cli.js"