@appchy/jarvis 0.1.124 → 0.1.125
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 +12 -2
- package/dist/bin.js.map +1 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -10385,7 +10385,7 @@ import { createRequire as createRequire2 } from "module";
|
|
|
10385
10385
|
var _require = createRequire2(import.meta.url);
|
|
10386
10386
|
var VERSION2 = _require("../package.json").version ?? "0.0.0";
|
|
10387
10387
|
var IS_DEV = String(_require("../package.json").name ?? "").endsWith("-dev");
|
|
10388
|
-
var SHA = "
|
|
10388
|
+
var SHA = "97a2eb5";
|
|
10389
10389
|
var BUILT = "2026-09-12";
|
|
10390
10390
|
var BUILD = SHA ?? "source";
|
|
10391
10391
|
var BUILD_LABEL = `${SHA ? `${VERSION2} (${SHA}${BUILT ? ` ${BUILT}` : ""})` : `${VERSION2} (source)`}${IS_DEV ? " \u2014 development build" : ""}`;
|
|
@@ -12155,10 +12155,20 @@ function createTool(handlers) {
|
|
|
12155
12155
|
};
|
|
12156
12156
|
}
|
|
12157
12157
|
function describeItem(item2) {
|
|
12158
|
-
const held = item2.holders && item2.holders.length > 0 ? ` \xB7 ${item2.holders
|
|
12158
|
+
const held = item2.holders && item2.holders.length > 0 ? ` \xB7 ${describeHolders(item2.holders)}` : "";
|
|
12159
12159
|
const priority = item2.priority ? ` ${item2.priority}` : "";
|
|
12160
12160
|
return `${item2.id} \xB7 ${item2.status}${priority}${held} \u2014 ${item2.title}`;
|
|
12161
12161
|
}
|
|
12162
|
+
function describeHolders(holders) {
|
|
12163
|
+
const live3 = holders.filter((holder) => holder.live !== "ended");
|
|
12164
|
+
if (live3.length > 0) {
|
|
12165
|
+
const gone = holders.length - live3.length;
|
|
12166
|
+
return live3.map(describeHolder).join(", ") + (gone > 0 ? ` \xB7 ${gone} earlier, ended` : "");
|
|
12167
|
+
}
|
|
12168
|
+
const last = holders[holders.length - 1];
|
|
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(", ");
|