@askexenow/exe-os 0.9.108 → 0.9.109

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.
@@ -2277,6 +2277,10 @@ function restartDaemon() {
2277
2277
  unlinkSync3(pidPath);
2278
2278
  } catch {
2279
2279
  }
2280
+ try {
2281
+ unlinkSync3(pidPath + ".lock");
2282
+ } catch {
2283
+ }
2280
2284
  }
2281
2285
  try {
2282
2286
  const pids = execSync4("pgrep -f 'exe-daemon.js' 2>/dev/null || true", { encoding: "utf8" }).trim().split("\n").filter(Boolean).map(Number).filter((n) => !isNaN(n) && n !== process.pid);
@@ -33618,13 +33618,24 @@ function registerSupportConsolidated(server) {
33618
33618
  args.use_case = args.description;
33619
33619
  }
33620
33620
  }
33621
- if ((action === "triage_bug" || action === "triage_feature") && args.notes && !args.triage_notes) {
33621
+ if (action === "triage_bug" && args.notes && !args.triage_notes) {
33622
33622
  args.triage_notes = args.notes;
33623
33623
  delete args.notes;
33624
33624
  }
33625
- if ((action === "triage_bug" || action === "triage_feature") && args.fixed_version && !args.status) {
33625
+ if (action === "triage_feature" && args.notes && !args.response_notes) {
33626
+ args.response_notes = args.notes;
33627
+ delete args.notes;
33628
+ }
33629
+ if (action === "triage_feature" && args.fixed_version && !args.shipped_version) {
33630
+ args.shipped_version = args.fixed_version;
33631
+ delete args.fixed_version;
33632
+ }
33633
+ if (action === "triage_bug" && args.fixed_version && !args.status) {
33626
33634
  args.status = "closed";
33627
33635
  }
33636
+ if (action === "triage_feature" && args.shipped_version && !args.status) {
33637
+ args.status = "shipped";
33638
+ }
33628
33639
  return handler(args, extra);
33629
33640
  }
33630
33641
  );
@@ -37730,6 +37741,20 @@ try {
37730
37741
  chmodSync3(PID_PATH4, 384);
37731
37742
  } catch {
37732
37743
  }
37744
+ await new Promise((r) => setTimeout(r, 50));
37745
+ try {
37746
+ const claimedPid = parseInt(readFileSync41(PID_PATH4, "utf8").trim(), 10);
37747
+ if (claimedPid !== process.pid) {
37748
+ process.stderr.write(
37749
+ `[exed] Race detected \u2014 PID ${claimedPid} claimed the lock. Exiting cleanly.
37750
+ `
37751
+ );
37752
+ process.exit(0);
37753
+ }
37754
+ } catch {
37755
+ process.stderr.write("[exed] PID file vanished during startup race. Exiting.\n");
37756
+ process.exit(0);
37757
+ }
37733
37758
  process.env.EXE_IS_DAEMON = "1";
37734
37759
  try {
37735
37760
  initMetrics();
@@ -30690,13 +30690,24 @@ function registerSupportConsolidated(server2) {
30690
30690
  args.use_case = args.description;
30691
30691
  }
30692
30692
  }
30693
- if ((action === "triage_bug" || action === "triage_feature") && args.notes && !args.triage_notes) {
30693
+ if (action === "triage_bug" && args.notes && !args.triage_notes) {
30694
30694
  args.triage_notes = args.notes;
30695
30695
  delete args.notes;
30696
30696
  }
30697
- if ((action === "triage_bug" || action === "triage_feature") && args.fixed_version && !args.status) {
30697
+ if (action === "triage_feature" && args.notes && !args.response_notes) {
30698
+ args.response_notes = args.notes;
30699
+ delete args.notes;
30700
+ }
30701
+ if (action === "triage_feature" && args.fixed_version && !args.shipped_version) {
30702
+ args.shipped_version = args.fixed_version;
30703
+ delete args.fixed_version;
30704
+ }
30705
+ if (action === "triage_bug" && args.fixed_version && !args.status) {
30698
30706
  args.status = "closed";
30699
30707
  }
30708
+ if (action === "triage_feature" && args.shipped_version && !args.status) {
30709
+ args.status = "shipped";
30710
+ }
30700
30711
  return handler(args, extra);
30701
30712
  }
30702
30713
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askexenow/exe-os",
3
- "version": "0.9.108",
3
+ "version": "0.9.109",
4
4
  "description": "AI employee operating system — persistent memory, task management, and multi-agent coordination for Claude Code.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",