@appchy/jarvis 0.1.125 → 0.1.127

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/bin.js CHANGED
@@ -4564,11 +4564,14 @@ function warning(holders, mine) {
4564
4564
  function describeReach(holder) {
4565
4565
  if (holder.live === "ended") return ", whose run has since ENDED";
4566
4566
  if (holder.live === "unknown") return "";
4567
+ const addresses = holder.addresses ?? [];
4567
4568
  if (holder.live === "forked") {
4568
- const names = holder.addresses.map((each) => `\`${each.name}\``).join(" and ");
4569
- return `, running as ${holder.processes} processes on one session` + (names ? ` \u2014 ${names}, either of which reaches it` : "");
4569
+ const names = addresses.map((each) => `\`${each.name}\``).join(" and ");
4570
+ const count2 = holder.processes || addresses.length;
4571
+ const how = count2 > 1 ? `${count2} processes` : "more than one process";
4572
+ return `, running as ${how} on one session` + (names ? ` \u2014 ${names}, either of which reaches it` : "");
4570
4573
  }
4571
- const name = holder.addresses[0]?.name;
4574
+ const name = addresses[0]?.name;
4572
4575
  return name ? `, still running as \`${name}\`` : ", still running";
4573
4576
  }
4574
4577
  function isQuiet(commit) {
@@ -4604,8 +4607,7 @@ function describeAge(when) {
4604
4607
 
4605
4608
  // ../../packages/board/src/peers.ts
4606
4609
  import { readdirSync as readdirSync4, readFileSync as readFileSync5, statSync as statSync3 } from "fs";
4607
- import { hostname } from "os";
4608
- import { homedir as homedir5 } from "os";
4610
+ import { homedir as homedir5, hostname } from "os";
4609
4611
  import { join as join4 } from "path";
4610
4612
  var SESSIONS_DIR = "WORK_SESSIONS_DIR";
4611
4613
  var DOORS = { cli: "a terminal", "claude-vscode": "an editor" };
@@ -10385,7 +10387,7 @@ import { createRequire as createRequire2 } from "module";
10385
10387
  var _require = createRequire2(import.meta.url);
10386
10388
  var VERSION2 = _require("../package.json").version ?? "0.0.0";
10387
10389
  var IS_DEV = String(_require("../package.json").name ?? "").endsWith("-dev");
10388
- var SHA = "97a2eb5";
10390
+ var SHA = "e9c97f0";
10389
10391
  var BUILT = "2026-09-12";
10390
10392
  var BUILD = SHA ?? "source";
10391
10393
  var BUILD_LABEL = `${SHA ? `${VERSION2} (${SHA}${BUILT ? ` ${BUILT}` : ""})` : `${VERSION2} (source)`}${IS_DEV ? " \u2014 development build" : ""}`;
@@ -12165,16 +12167,20 @@ function describeHolders(holders) {
12165
12167
  const gone = holders.length - live3.length;
12166
12168
  return live3.map(describeHolder).join(", ") + (gone > 0 ? ` \xB7 ${gone} earlier, ended` : "");
12167
12169
  }
12168
- const last = holders[holders.length - 1];
12170
+ const last = holders.at(-1);
12171
+ if (!last) return "";
12169
12172
  const earlier = holders.length - 1;
12170
12173
  return describeHolder(last) + (earlier > 0 ? ` \xB7 ${earlier} earlier, also ended` : "");
12171
12174
  }
12172
12175
  function describeHolder(holder) {
12173
12176
  const who = holder.by || holder.session;
12174
- const names = (holder.addresses ?? []).map((each) => `\`${each.name}\``).join(", ");
12177
+ const addresses = holder.addresses ?? [];
12178
+ const names = addresses.map((each) => `\`${each.name}\``).join(", ");
12175
12179
  if (holder.live === "ended") return `ABANDONED by ${who}, whose run has ended`;
12176
12180
  if (holder.live === "forked") {
12177
- return names ? `held by ${who} \xB7 ${holder.processes} runs on one session, ${names} \u2014 either reaches it` : `held by ${who} \xB7 ${holder.processes} runs on one session, none addressable`;
12181
+ const count2 = holder.processes || addresses.length;
12182
+ const how = count2 > 1 ? `${count2} runs` : "more than one run";
12183
+ return names ? `held by ${who} \xB7 ${how} on one session, ${names} \u2014 either reaches it` : `held by ${who} \xB7 ${how} on one session, none addressable`;
12178
12184
  }
12179
12185
  if (holder.live === "running") return names ? `held by ${who} ${names}` : `held by ${who}, running`;
12180
12186
  return `held by ${who} (cannot tell if still running)`;