@memfork/cli 0.1.12 → 0.1.13

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 +3 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -20,6 +20,8 @@
20
20
  */
21
21
  import { Command } from "commander";
22
22
  import chalk from "chalk";
23
+ import { createRequire } from "node:module";
24
+ const { version } = createRequire(import.meta.url)("../package.json");
23
25
  import { cmdInit } from "./commands/init.js";
24
26
  import { cmdDoctor, cmdDoctorEnv } from "./commands/doctor.js";
25
27
  import { cmdInstall } from "./commands/install.js";
@@ -29,7 +31,7 @@ const program = new Command();
29
31
  program
30
32
  .name("memfork")
31
33
  .description("MemForks CLI — on-chain, branch-aware agent memory")
32
- .version("0.1.0");
34
+ .version(version);
33
35
  // ─── Setup ────────────────────────────────────────────────────────────────────
34
36
  program
35
37
  .command("init")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memfork/cli",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "MemForks CLI — init, commit, recall, merge, install plugins",
5
5
  "repository": {
6
6
  "type": "git",