@adhdev/daemon-core 0.9.82-rc.505 → 0.9.82-rc.506
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
|
@@ -417,10 +417,10 @@ function readInjected(value) {
|
|
|
417
417
|
}
|
|
418
418
|
function getDaemonBuildInfo() {
|
|
419
419
|
if (cached) return cached;
|
|
420
|
-
const commit = readInjected(true ? "
|
|
421
|
-
const commitShort = readInjected(true ? "
|
|
422
|
-
const version = readInjected(true ? "0.9.82-rc.
|
|
423
|
-
const builtAt = readInjected(true ? "2026-07-
|
|
420
|
+
const commit = readInjected(true ? "d7415812627054f6b93f8caf231387b4e6d0181b" : void 0) ?? "unknown";
|
|
421
|
+
const commitShort = readInjected(true ? "d7415812" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
422
|
+
const version = readInjected(true ? "0.9.82-rc.506" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
423
|
+
const builtAt = readInjected(true ? "2026-07-12T15:25:43.979Z" : void 0);
|
|
424
424
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
425
425
|
return cached;
|
|
426
426
|
}
|
|
@@ -16540,7 +16540,7 @@ async function maybeAutoLaunchOneQueueSession(components, meshId, mesh) {
|
|
|
16540
16540
|
markAutoLaunch(meshId, task.id, { status: "started", nodeId, providerType: resolved.providerType });
|
|
16541
16541
|
let launchResult2;
|
|
16542
16542
|
try {
|
|
16543
|
-
launchResult2 = await components.dispatchMeshCommand(launchTarget.daemonId, "launch_cli", {
|
|
16543
|
+
launchResult2 = await components.dispatchMeshCommand(launchTarget.daemonId, "launch_cli", withStatusProbeMarker({
|
|
16544
16544
|
cliType: resolved.providerType,
|
|
16545
16545
|
dir: node.workspace,
|
|
16546
16546
|
settings: remoteSettings,
|
|
@@ -16550,7 +16550,7 @@ async function maybeAutoLaunchOneQueueSession(components, meshId, mesh) {
|
|
|
16550
16550
|
...effectiveModel ? { initialModel: effectiveModel } : {},
|
|
16551
16551
|
// BRAIN-ROUTING thinking axis: forward the effective thinking level (initialThinkingLevel).
|
|
16552
16552
|
...effectiveThinkingLevel ? { initialThinkingLevel: effectiveThinkingLevel } : {}
|
|
16553
|
-
});
|
|
16553
|
+
}));
|
|
16554
16554
|
} catch (e) {
|
|
16555
16555
|
markAutoLaunch(meshId, task.id, { status: "failed", reason: `remote_launch_dispatch_failed: ${e?.message || String(e)}`, nodeId, providerType: resolved.providerType });
|
|
16556
16556
|
autoLaunchCooldownUntil.set(launchKey, Date.now() + AUTO_LAUNCH_COOLDOWN_MS);
|
|
@@ -19835,7 +19835,7 @@ function stopStaleMeshWorker(components, args) {
|
|
|
19835
19835
|
}
|
|
19836
19836
|
}
|
|
19837
19837
|
if (daemonId && components.dispatchMeshCommand) {
|
|
19838
|
-
Promise.resolve(components.dispatchMeshCommand(daemonId, "stop_cli", stopArgs)).catch((e) => LOG.warn("MeshQueue", `Remote stop of stale worker ${sessionId} on daemon ${daemonId} failed: ${e?.message || e}`));
|
|
19838
|
+
Promise.resolve(components.dispatchMeshCommand(daemonId, "stop_cli", withStatusProbeMarker(stopArgs))).catch((e) => LOG.warn("MeshQueue", `Remote stop of stale worker ${sessionId} on daemon ${daemonId} failed: ${e?.message || e}`));
|
|
19839
19839
|
} else {
|
|
19840
19840
|
LOG.warn("MeshQueue", `Cannot stop stale worker ${sessionId}: no local adapter and no resolvable remote daemon id (node ${args.nodeId ?? "?"}). Ack already rejected \u2014 task will re-strand-and-fail if the worker completes.`);
|
|
19841
19841
|
}
|
|
@@ -22078,7 +22078,7 @@ async function retryUnresolvedDelegateForwards(components) {
|
|
|
22078
22078
|
let result;
|
|
22079
22079
|
try {
|
|
22080
22080
|
traceMeshEventStage("forward_send", entryTraceCtx, `retry \u2192 ${entry.coordinatorDaemonId}`);
|
|
22081
|
-
result = await dispatchMeshCommand(entry.coordinatorDaemonId, "mesh_forward_event", pushPayload);
|
|
22081
|
+
result = await dispatchMeshCommand(entry.coordinatorDaemonId, "mesh_forward_event", withStatusProbeMarker(pushPayload));
|
|
22082
22082
|
} catch (e) {
|
|
22083
22083
|
LOG.warn("MeshReconcile", `Retry forward to coordinator ${entry.coordinatorDaemonId} failed: ${e?.message || e} \u2014 left queued`);
|
|
22084
22084
|
traceMeshEventDrop("retry_forward_failed", entryTraceCtx, e?.message || String(e));
|