@adhdev/daemon-standalone 0.9.82-rc.264 → 0.9.82-rc.265
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/index.js
CHANGED
|
@@ -29973,10 +29973,10 @@ var require_dist3 = __commonJS({
|
|
|
29973
29973
|
}
|
|
29974
29974
|
function getDaemonBuildInfo() {
|
|
29975
29975
|
if (cached2) return cached2;
|
|
29976
|
-
const commit = readInjected(true ? "
|
|
29977
|
-
const commitShort = readInjected(true ? "
|
|
29978
|
-
const version2 = readInjected(true ? "0.9.82-rc.
|
|
29979
|
-
const builtAt = readInjected(true ? "2026-06-
|
|
29976
|
+
const commit = readInjected(true ? "b062e0b564f44876b742641cc25ad182a3e088b3" : void 0) ?? "unknown";
|
|
29977
|
+
const commitShort = readInjected(true ? "b062e0b" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
29978
|
+
const version2 = readInjected(true ? "0.9.82-rc.265" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
29979
|
+
const builtAt = readInjected(true ? "2026-06-14T16:40:40.943Z" : void 0);
|
|
29980
29980
|
cached2 = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
|
|
29981
29981
|
return cached2;
|
|
29982
29982
|
}
|
package/package.json
CHANGED
|
@@ -1601,6 +1601,7 @@ function isGitStatusDirty(status) {
|
|
|
1601
1601
|
}
|
|
1602
1602
|
var LARGE_LEDGER_FIELD_KEYS = /* @__PURE__ */ new Set(["plan", "validationPlan", "suggestedConfig", "payload"]);
|
|
1603
1603
|
var LARGE_LEDGER_OBJECT_THRESHOLD = 800;
|
|
1604
|
+
var LARGE_LEDGER_NESTED_BYTES_THRESHOLD = 2e3;
|
|
1604
1605
|
function summarizeLargeLedgerField(key, value) {
|
|
1605
1606
|
if (typeof value === "string") {
|
|
1606
1607
|
return value.length > 500 ? value.slice(0, 500) + "\u2026" : value;
|
|
@@ -1621,6 +1622,22 @@ function summarizeLargeLedgerField(key, value) {
|
|
|
1621
1622
|
}
|
|
1622
1623
|
return value;
|
|
1623
1624
|
}
|
|
1625
|
+
function elideLargeNestedValue(key, value) {
|
|
1626
|
+
if (value === null || value === void 0) return value;
|
|
1627
|
+
if (typeof value === "string") {
|
|
1628
|
+
return value.length > 1e3 ? value.slice(0, 1e3) + "\u2026" : value;
|
|
1629
|
+
}
|
|
1630
|
+
if (typeof value !== "object") return value;
|
|
1631
|
+
const serialized = JSON.stringify(value);
|
|
1632
|
+
const bytes = serialized ? serialized.length : 0;
|
|
1633
|
+
if (bytes <= LARGE_LEDGER_NESTED_BYTES_THRESHOLD) return value;
|
|
1634
|
+
return {
|
|
1635
|
+
_elided: true,
|
|
1636
|
+
_kind: key,
|
|
1637
|
+
_bytes: bytes,
|
|
1638
|
+
_hint: "full evidence via mesh_reconcile_ledger"
|
|
1639
|
+
};
|
|
1640
|
+
}
|
|
1624
1641
|
function slimLedgerPayload(payload) {
|
|
1625
1642
|
const slim = {};
|
|
1626
1643
|
for (const [k, v] of Object.entries(payload)) {
|
|
@@ -1632,7 +1649,7 @@ function slimLedgerPayload(payload) {
|
|
|
1632
1649
|
} else if (LARGE_LEDGER_FIELD_KEYS.has(k)) {
|
|
1633
1650
|
slim[k] = summarizeLargeLedgerField(k, v);
|
|
1634
1651
|
} else {
|
|
1635
|
-
slim[k] = v;
|
|
1652
|
+
slim[k] = elideLargeNestedValue(k, v);
|
|
1636
1653
|
}
|
|
1637
1654
|
}
|
|
1638
1655
|
return slim;
|
|
@@ -2303,7 +2320,7 @@ var MESH_TASK_HISTORY_TOOL = {
|
|
|
2303
2320
|
properties: {
|
|
2304
2321
|
tail: { type: "number", description: "Number of recent entries to return (default: 20; clamped to 40 in compact mode, 200 in verbose)." },
|
|
2305
2322
|
kind: { type: "string", description: "Filter by entry kind: task_dispatched, task_completed, task_failed, task_stalled, session_launched, checkpoint_created, node_cloned, node_removed, direct_fast_forward." },
|
|
2306
|
-
compact: { type: "boolean", description: "Slim payload for LLM callers. Default true. Truncates long payload strings (message/taskSummary \u2264200, finalSummary \u2264300) and
|
|
2323
|
+
compact: { type: "boolean", description: "Slim payload for LLM callers. Default true. Truncates long payload strings (message/taskSummary \u2264200, finalSummary \u2264300) and elides any large nested evidence blob (>2KB serialized \u2014 e.g. validationSummary/result/patchEquivalence/submoduleReachability) to a {_elided,_kind,_bytes,_hint} placeholder; full evidence stays accessible via mesh_reconcile_ledger. Set false (or verbose=true) for full untruncated payloads." },
|
|
2307
2324
|
verbose: { type: "boolean", description: "Force the full untruncated payload; overrides compact." }
|
|
2308
2325
|
}
|
|
2309
2326
|
}
|