@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.
- package/dist/commands/router-refine.d.ts +2 -2
- package/dist/index.js +6 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/commands/router-refine.ts +2 -2
- package/src/mesh/coordinator-prompt.ts +0 -1
- package/src/mesh/p2p-relay-failure.ts +2 -2
|
@@ -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
|
|
24
|
-
*
|
|
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 ? "
|
|
418
|
-
const commitShort = readInjected(true ? "
|
|
419
|
-
const version = readInjected(true ? "0.9.82-rc.
|
|
420
|
-
const builtAt = readInjected(true ? "2026-07-
|
|
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 = "
|
|
29693
|
-
var P2P_NEXT_ACTION = "
|
|
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;
|