@adhdev/daemon-standalone 0.9.82-rc.411 → 0.9.82-rc.413
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 +810 -805
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/vendor/mcp-server/index.js +5 -4
- package/vendor/mcp-server/index.js.map +1 -1
package/package.json
CHANGED
|
@@ -496,12 +496,13 @@ function resolveCoordinatorNode(ctx) {
|
|
|
496
496
|
if (byMachine) return byMachine;
|
|
497
497
|
}
|
|
498
498
|
if (ctx.localDaemonId) {
|
|
499
|
-
return ctx.mesh.nodes.find((n) => readNodeDaemonId(n)
|
|
499
|
+
return ctx.mesh.nodes.find((n) => (0, import_daemon_core2.daemonIdsEquivalent)(readNodeDaemonId(n), ctx.localDaemonId));
|
|
500
500
|
}
|
|
501
501
|
return void 0;
|
|
502
502
|
}
|
|
503
503
|
function resolveCoordinatorDaemonId(ctx) {
|
|
504
|
-
|
|
504
|
+
const resolved = readString(resolveCoordinatorNode(ctx)?.daemonId) || readString(ctx.localDaemonId) || readString(ctx.localMachineId);
|
|
505
|
+
return (0, import_daemon_core2.canonicalDaemonId)(resolved) ?? readString(resolved);
|
|
505
506
|
}
|
|
506
507
|
function readNodeMachineId(node) {
|
|
507
508
|
return readString(node.machineId) || readString(node.machine_id) || readString(node.machine?.id) || readString(node.machine?.machineId) || readString(node.lastProbe?.machineId) || readString(node.last_probe?.machine_id) || readString(node.lastProbe?.machine?.id) || readString(node.lastProbe?.machine?.machineId) || readString(node.last_probe?.machine?.id) || readString(node.last_probe?.machine?.machine_id);
|
|
@@ -977,12 +978,12 @@ var MESH_CLEANUP_SESSIONS_TOOL = {
|
|
|
977
978
|
};
|
|
978
979
|
var MESH_TASK_HISTORY_TOOL = {
|
|
979
980
|
name: "mesh_task_history",
|
|
980
|
-
description: "Read the task ledger for this mesh \u2014 dispatched tasks, completions, failures, checkpoints, and
|
|
981
|
+
description: "Read the task ledger for this mesh \u2014 dispatched tasks, completions, failures, checkpoints, node lifecycle events, and mission lifecycle (mission_created / mission_status_changed / mission_goal_updated). Use to understand what has been done before deciding next steps, to detect repeated failures, to audit mission goal/status changes, and to inform recovery decisions.",
|
|
981
982
|
inputSchema: {
|
|
982
983
|
type: "object",
|
|
983
984
|
properties: {
|
|
984
985
|
tail: { type: "number", description: "Number of recent entries to return (default: 20; clamped to 40 in compact mode, 200 in verbose)." },
|
|
985
|
-
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." },
|
|
986
|
+
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, mission_created, mission_status_changed, mission_goal_updated." },
|
|
986
987
|
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." },
|
|
987
988
|
verbose: { type: "boolean", description: "Force the full untruncated payload; overrides compact." }
|
|
988
989
|
}
|