@appchy/jarvis 0.1.124 → 0.1.126

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
@@ -4604,8 +4604,7 @@ function describeAge(when) {
4604
4604
 
4605
4605
  // ../../packages/board/src/peers.ts
4606
4606
  import { readdirSync as readdirSync4, readFileSync as readFileSync5, statSync as statSync3 } from "fs";
4607
- import { hostname } from "os";
4608
- import { homedir as homedir5 } from "os";
4607
+ import { homedir as homedir5, hostname } from "os";
4609
4608
  import { join as join4 } from "path";
4610
4609
  var SESSIONS_DIR = "WORK_SESSIONS_DIR";
4611
4610
  var DOORS = { cli: "a terminal", "claude-vscode": "an editor" };
@@ -10385,7 +10384,7 @@ import { createRequire as createRequire2 } from "module";
10385
10384
  var _require = createRequire2(import.meta.url);
10386
10385
  var VERSION2 = _require("../package.json").version ?? "0.0.0";
10387
10386
  var IS_DEV = String(_require("../package.json").name ?? "").endsWith("-dev");
10388
- var SHA = "03f6896";
10387
+ var SHA = "deb206c";
10389
10388
  var BUILT = "2026-09-12";
10390
10389
  var BUILD = SHA ?? "source";
10391
10390
  var BUILD_LABEL = `${SHA ? `${VERSION2} (${SHA}${BUILT ? ` ${BUILT}` : ""})` : `${VERSION2} (source)`}${IS_DEV ? " \u2014 development build" : ""}`;
@@ -12155,10 +12154,21 @@ function createTool(handlers) {
12155
12154
  };
12156
12155
  }
12157
12156
  function describeItem(item2) {
12158
- const held = item2.holders && item2.holders.length > 0 ? ` \xB7 ${item2.holders.map(describeHolder).join(", ")}` : "";
12157
+ const held = item2.holders && item2.holders.length > 0 ? ` \xB7 ${describeHolders(item2.holders)}` : "";
12159
12158
  const priority = item2.priority ? ` ${item2.priority}` : "";
12160
12159
  return `${item2.id} \xB7 ${item2.status}${priority}${held} \u2014 ${item2.title}`;
12161
12160
  }
12161
+ function describeHolders(holders) {
12162
+ const live3 = holders.filter((holder) => holder.live !== "ended");
12163
+ if (live3.length > 0) {
12164
+ const gone = holders.length - live3.length;
12165
+ return live3.map(describeHolder).join(", ") + (gone > 0 ? ` \xB7 ${gone} earlier, ended` : "");
12166
+ }
12167
+ const last = holders.at(-1);
12168
+ if (!last) return "";
12169
+ const earlier = holders.length - 1;
12170
+ return describeHolder(last) + (earlier > 0 ? ` \xB7 ${earlier} earlier, also ended` : "");
12171
+ }
12162
12172
  function describeHolder(holder) {
12163
12173
  const who = holder.by || holder.session;
12164
12174
  const names = (holder.addresses ?? []).map((each) => `\`${each.name}\``).join(", ");