@adhdev/daemon-standalone 0.9.82-rc.542 → 0.9.82-rc.544
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
|
@@ -30208,10 +30208,10 @@ var require_dist3 = __commonJS({
|
|
|
30208
30208
|
}
|
|
30209
30209
|
function getDaemonBuildInfo() {
|
|
30210
30210
|
if (cached2) return cached2;
|
|
30211
|
-
const commit = readInjected(true ? "
|
|
30212
|
-
const commitShort = readInjected(true ? "
|
|
30213
|
-
const version2 = readInjected(true ? "0.9.82-rc.
|
|
30214
|
-
const builtAt = readInjected(true ? "2026-07-
|
|
30211
|
+
const commit = readInjected(true ? "ace946b224e61964aaaa43aed717eaaaeabb3a48" : void 0) ?? "unknown";
|
|
30212
|
+
const commitShort = readInjected(true ? "ace946b2" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
30213
|
+
const version2 = readInjected(true ? "0.9.82-rc.544" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
30214
|
+
const builtAt = readInjected(true ? "2026-07-16T08:55:14.233Z" : void 0);
|
|
30215
30215
|
cached2 = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
|
|
30216
30216
|
return cached2;
|
|
30217
30217
|
}
|
|
@@ -43971,6 +43971,17 @@ ${rendered}`, "utf-8");
|
|
|
43971
43971
|
...readStringValue(fallbackSession.lastMessagePreview, fallbackSession.last_message_preview) ? { lastMessagePreview: readStringValue(fallbackSession.lastMessagePreview, fallbackSession.last_message_preview) } : {},
|
|
43972
43972
|
...readStringValue(fallbackSession.lastMessageRole, fallbackSession.last_message_role) ? { lastMessageRole: readStringValue(fallbackSession.lastMessageRole, fallbackSession.last_message_role) } : {},
|
|
43973
43973
|
...readNumberValue(fallbackSession.lastMessageAt, fallbackSession.last_message_at) !== void 0 ? { lastMessageAt: readNumberValue(fallbackSession.lastMessageAt, fallbackSession.last_message_at) } : {},
|
|
43974
|
+
// RESTORE-STICK: carry the worker's AUTHORITATIVE dashboard hide/mute state and the
|
|
43975
|
+
// raw per-session user override (userHidden/userMuted) through the cached inline-mesh
|
|
43976
|
+
// active-session entry. The worker's mesh_status slim (mcp-server mesh-tools-status.ts)
|
|
43977
|
+
// now ships these from its own status/builders resolution, which already honors a
|
|
43978
|
+
// manual restore/un-mute. Without carrying them here, the coordinator's cloud snapshot
|
|
43979
|
+
// append re-derives hide/mute purely from mesh policy and overwrites the user's manual
|
|
43980
|
+
// un-hide every snapshot — the restore flickered visible then re-hid.
|
|
43981
|
+
...readBooleanValue(fallbackSession.surfaceHidden) !== void 0 ? { surfaceHidden: readBooleanValue(fallbackSession.surfaceHidden) } : {},
|
|
43982
|
+
...readBooleanValue(fallbackSession.muted) !== void 0 ? { muted: readBooleanValue(fallbackSession.muted) } : {},
|
|
43983
|
+
...readBooleanValue(fallbackSession.userHidden, fallbackSession.user_hidden) !== void 0 ? { userHidden: readBooleanValue(fallbackSession.userHidden, fallbackSession.user_hidden) } : {},
|
|
43984
|
+
...readBooleanValue(fallbackSession.userMuted, fallbackSession.user_muted) !== void 0 ? { userMuted: readBooleanValue(fallbackSession.userMuted, fallbackSession.user_muted) } : {},
|
|
43974
43985
|
isCached: true
|
|
43975
43986
|
}];
|
|
43976
43987
|
}
|
|
@@ -49269,6 +49280,12 @@ ${cleanBody}`;
|
|
|
49269
49280
|
if (settings.userMuted === false) return false;
|
|
49270
49281
|
return isCoordinatorSpawnedHiddenWorker(settings);
|
|
49271
49282
|
}
|
|
49283
|
+
function resolveSpawnedSessionHideMute(input) {
|
|
49284
|
+
return {
|
|
49285
|
+
surfaceHidden: resolveSurfaceHidden(input),
|
|
49286
|
+
muted: resolveMuted(input)
|
|
49287
|
+
};
|
|
49288
|
+
}
|
|
49272
49289
|
function getActiveChatOptions(profile) {
|
|
49273
49290
|
if (profile === "full") return {};
|
|
49274
49291
|
return LIVE_STATUS_ACTIVE_CHAT_OPTIONS;
|
|
@@ -54706,7 +54723,8 @@ ${cleanBody}`;
|
|
|
54706
54723
|
const settledPromptLineRe = compile2(settledSpec.regex, (settledSpec.flags ?? "m").includes("m") ? settledSpec.flags ?? "m" : `${settledSpec.flags ?? ""}m`);
|
|
54707
54724
|
const isSettledLine = (line) => {
|
|
54708
54725
|
settledPromptLineRe.lastIndex = 0;
|
|
54709
|
-
|
|
54726
|
+
if (settledPromptLineRe.test(line)) return true;
|
|
54727
|
+
return settled.footers.some((f) => f.test(line));
|
|
54710
54728
|
};
|
|
54711
54729
|
return below.some((line) => line.trim() !== "" && !isModalCueLine(line) && !isSettledLine(line));
|
|
54712
54730
|
}
|
|
@@ -59241,6 +59259,7 @@ ${lastSnapshot}`;
|
|
|
59241
59259
|
isAlwaysOnTraceCategory: () => isAlwaysOnTraceCategory,
|
|
59242
59260
|
isBuiltinChatMessageKind: () => isBuiltinChatMessageKind,
|
|
59243
59261
|
isCdpConnected: () => isCdpConnected,
|
|
59262
|
+
isCoordinatorSpawnedHiddenWorker: () => isCoordinatorSpawnedHiddenWorker,
|
|
59244
59263
|
isExtensionInstalled: () => isExtensionInstalled,
|
|
59245
59264
|
isGitCommandName: () => isGitCommandName,
|
|
59246
59265
|
isIdeRunning: () => isIdeRunning,
|
|
@@ -59367,11 +59386,14 @@ ${lastSnapshot}`;
|
|
|
59367
59386
|
resolveMeshNodeAttribution: () => resolveMeshNodeAttribution,
|
|
59368
59387
|
resolveMeshRefineValidationPlan: () => resolveMeshRefineValidationPlan,
|
|
59369
59388
|
resolveMeshSurfacedSessionPreview: () => resolveMeshSurfacedSessionPreview,
|
|
59389
|
+
resolveMuted: () => resolveMuted,
|
|
59370
59390
|
resolveNodeSchedulingPriority: () => resolveNodeSchedulingPriority,
|
|
59371
59391
|
resolveNotBefore: () => resolveNotBefore,
|
|
59372
59392
|
resolveProviderMaxParallel: () => resolveProviderMaxParallel,
|
|
59373
59393
|
resolveSessionHostAppName: () => resolveSessionHostAppName,
|
|
59374
59394
|
resolveSessionHostAppNameResolution: () => resolveSessionHostAppNameResolution2,
|
|
59395
|
+
resolveSpawnedSessionHideMute: () => resolveSpawnedSessionHideMute,
|
|
59396
|
+
resolveSurfaceHidden: () => resolveSurfaceHidden,
|
|
59375
59397
|
resolveWorktreePath: () => resolveWorktreePath,
|
|
59376
59398
|
runAsyncBatch: () => runAsyncBatch2,
|
|
59377
59399
|
runGit: () => runGit,
|
|
@@ -93720,6 +93742,28 @@ ${e?.stderr || ""}`;
|
|
|
93720
93742
|
}
|
|
93721
93743
|
return nodes;
|
|
93722
93744
|
}
|
|
93745
|
+
/**
|
|
93746
|
+
* Same flattened node list as getCachedInlineMeshNodes(), but each node is
|
|
93747
|
+
* paired with the `spawnedSessionVisibility` from its OWNING mesh's policy.
|
|
93748
|
+
* The flat node list loses the mesh→node association, yet the cloud daemon's
|
|
93749
|
+
* synthetic mesh-session mirror needs the mesh-level visibility policy to
|
|
93750
|
+
* decide whether a coordinator-spawned worker session should be hidden+muted
|
|
93751
|
+
* on the dashboard (the cached inline-mesh session entry carries no settings
|
|
93752
|
+
* of its own). Falls back to DEFAULT_MESH_POLICY.spawnedSessionVisibility when
|
|
93753
|
+
* the mesh policy is absent, matching the worker-launch stamp.
|
|
93754
|
+
*/
|
|
93755
|
+
getCachedInlineMeshNodesWithVisibility() {
|
|
93756
|
+
const out = [];
|
|
93757
|
+
for (const mesh of this.inlineMeshCache.values()) {
|
|
93758
|
+
const spawnedSessionVisibility = mesh?.policy?.spawnedSessionVisibility === "visible" ? "visible" : "hidden";
|
|
93759
|
+
if (Array.isArray(mesh?.nodes)) {
|
|
93760
|
+
for (const node of mesh.nodes) {
|
|
93761
|
+
out.push({ node, spawnedSessionVisibility });
|
|
93762
|
+
}
|
|
93763
|
+
}
|
|
93764
|
+
}
|
|
93765
|
+
return out;
|
|
93766
|
+
}
|
|
93723
93767
|
// ─── Remote mesh-session owner resolution ───────────────────────────
|
|
93724
93768
|
// Implementation lives in ./router-mesh-session-owner.ts (behavior-preserving
|
|
93725
93769
|
// code move). resolveRemoteMeshSessionOwnerDaemonId stays public (the [Z]
|