@adhdev/daemon-core 0.9.82-rc.494 → 0.9.82-rc.495

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.
@@ -20,8 +20,8 @@ export declare function buildRefineJobHandle(self: DaemonCommandRouter, args: {
20
20
  * The full `CommandRouterResult` (with `validationSummary.commandsRun[]` carrying
21
21
  * per-command stdout/stderr, `rejectedCommands`, `suggestions`, `suggestedConfig`,
22
22
  * the full `patchEquivalence`, and `submoduleReachability.entries[]`/`.unreachable[]`)
23
- * routinely exceeds 70KB and overflows the coordinator token limit when it rides on a
24
- * `mesh_wait_events` payload. The full detail is still persisted verbatim to the ledger
23
+ * routinely exceeds 70KB and overflows the coordinator token limit when surfaced as a
24
+ * coordinator event payload. The full detail is still persisted verbatim to the ledger
25
25
  * (`appendRefineJobLedger`) and `terminalRefineJobs`, so slimming only the EVENT loses
26
26
  * nothing — the coordinator can pull the full record on demand via
27
27
  * `evidence.ledgerCommand` / `taskHistoryKind`.
package/dist/index.js CHANGED
@@ -414,10 +414,10 @@ function readInjected(value) {
414
414
  }
415
415
  function getDaemonBuildInfo() {
416
416
  if (cached) return cached;
417
- const commit = readInjected(true ? "c05e29374bd592e460427419beb06a7fde594f4b" : void 0) ?? "unknown";
418
- const commitShort = readInjected(true ? "c05e2937" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
419
- const version = readInjected(true ? "0.9.82-rc.494" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
420
- const builtAt = readInjected(true ? "2026-07-10T09:19:42.151Z" : void 0);
417
+ const commit = readInjected(true ? "47035018816052344f4c6a8b03886c363a89fe01" : void 0) ?? "unknown";
418
+ const commitShort = readInjected(true ? "47035018" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
419
+ const version = readInjected(true ? "0.9.82-rc.495" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
420
+ const builtAt = readInjected(true ? "2026-07-11T03:38:06.794Z" : void 0);
421
421
  cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
422
422
  return cached;
423
423
  }
@@ -2930,7 +2930,6 @@ var init_dist = __esm({
2930
2930
  "mesh_forget_note",
2931
2931
  "mesh_reconcile_ledger",
2932
2932
  "mesh_requeue_held_events",
2933
- "mesh_wait_events",
2934
2933
  "mesh_mission_upsert",
2935
2934
  "mesh_mission_list",
2936
2935
  "mesh_review_inbox",
@@ -3944,7 +3943,6 @@ var init_coordinator_prompt = __esm({
3944
3943
  | \`mesh_ledger_query\` | Read-only ledger query along the kind/time/node axes (complement to task-axis mesh_task_history): filter by kind, since, node, tail \u2014 answer "what happened on node X / what failed since T" without scanning transcripts |
3945
3944
  | \`mesh_reconcile_ledger\` | Reconcile daemon-local ledgers over P2P \u2014 import missing entries from remote nodes into the coordinator local ledger |
3946
3945
  | \`mesh_requeue_held_events\` | Restore recoverable held coordinator events (T6 quarantine / pending-trim) back to the pending queue; lossless, no double-requeue |
3947
- | \`mesh_wait_events\` | Long-poll blocking wait for coordinator events (worker completions/approvals/nudges) up to timeoutMs \u2014 drains immediately if any are pending, else blocks until they arrive. Use this instead of busy-polling mesh_status/mesh_view_queue after dispatching work |
3948
3946
  | \`mesh_review_inbox\` | List local worktree nodes needing human review \u2014 merge candidates and Refinery-blocked results with evidence/diff summaries |
3949
3947
  | \`mesh_record_note\` | Record a durable, provider-neutral operating note (provider quirk / pattern to avoid / recovery lesson). Future coordinators see it under "## Operating Notes" at launch |
3950
3948
  | \`mesh_forget_note\` | Retract a stale/wrong operating note by note_id or exact text so it stops riding into future coordinators' prompts (append-only tombstone; history preserved) |
@@ -29689,8 +29687,8 @@ init_mesh_events_utils();
29689
29687
  init_mesh_delivery_policy();
29690
29688
 
29691
29689
  // src/mesh/p2p-relay-failure.ts
29692
- var NO_FALLBACK_REASON = "Repo Mesh command/data-plane is P2P-only; WS/REST command fallback is intentionally disabled to preserve the transport boundary.";
29693
- var P2P_NEXT_ACTION = "Check daemon/P2P health, wait briefly for connection establishment, then do one bounded retry or requeue the mesh task after clearing stale target session metadata.";
29690
+ var NO_FALLBACK_REASON = "This mesh operation needs a live peer-to-peer connection to the node, which is not open right now. This is often transient \u2014 the peer may be connecting, slow via TURN relay, or briefly offline. Wait a moment and retry, or re-establish the node's connection. Mesh commands use P2P only by design \u2014 there is no cloud/WS relay fallback.";
29691
+ var P2P_NEXT_ACTION = "The peer connection is recoverable. Wait a moment for the connection to establish (especially over TURN relay), then retry. If the node remains unreachable, check that the target daemon is running and online, then re-establish its connection.";
29694
29692
  var NON_P2P_NEXT_ACTION = "Inspect the provider/command error and fix the underlying logic or configuration before retrying.";
29695
29693
  function messageFromError(error) {
29696
29694
  if (error instanceof Error) return error.message;