sisyphi 1.1.0 → 1.1.7

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/cli.js CHANGED
@@ -20,7 +20,9 @@ import {
20
20
 
21
21
  // src/cli/index.ts
22
22
  import { Command } from "commander";
23
- import { existsSync as existsSync6, mkdirSync as mkdirSync4 } from "fs";
23
+ import { existsSync as existsSync6, mkdirSync as mkdirSync4, readFileSync as readFileSync4 } from "fs";
24
+ import { dirname as dirname2, join as join6 } from "path";
25
+ import { fileURLToPath as fileURLToPath2 } from "url";
24
26
 
25
27
  // src/cli/commands/start.ts
26
28
  import { execSync as execSync5 } from "child_process";
@@ -1569,7 +1571,11 @@ if (nodeVersion < 22) {
1569
1571
  process.exit(1);
1570
1572
  }
1571
1573
  var program = new Command();
1572
- program.name("sisyphus").description("tmux-integrated orchestration daemon for Claude Code").version("0.1.0");
1574
+ program.name("sisyphus").description("tmux-integrated orchestration daemon for Claude Code").version(
1575
+ JSON.parse(
1576
+ readFileSync4(join6(dirname2(fileURLToPath2(import.meta.url)), "..", "package.json"), "utf-8")
1577
+ ).version
1578
+ );
1573
1579
  program.configureHelp({
1574
1580
  sortSubcommands: false
1575
1581
  });