@adhdev/daemon-core 0.9.82-rc.542 → 0.9.82-rc.543
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.d.ts +15 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +42 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +38 -5
- package/dist/index.mjs.map +1 -1
- package/dist/status/builders.d.ts +43 -0
- package/package.json +3 -3
- package/src/commands/router.ts +25 -1
- package/src/index.ts +1 -1
- package/src/providers/sdk/v1/builders/cli/detect-status.ts +19 -6
- package/src/status/builders.ts +27 -3
package/dist/index.mjs
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 ? "ae5a5c1199ad4270aa45c5f938ad931e3bdc7a7d" : void 0) ?? "unknown";
|
|
418
|
+
const commitShort = readInjected(true ? "ae5a5c11" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
419
|
+
const version = readInjected(true ? "0.9.82-rc.543" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
420
|
+
const builtAt = readInjected(true ? "2026-07-16T07:10:31.955Z" : void 0);
|
|
421
421
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
422
422
|
return cached;
|
|
423
423
|
}
|
|
@@ -19326,6 +19326,12 @@ function resolveMuted(settings) {
|
|
|
19326
19326
|
if (settings.userMuted === false) return false;
|
|
19327
19327
|
return isCoordinatorSpawnedHiddenWorker(settings);
|
|
19328
19328
|
}
|
|
19329
|
+
function resolveSpawnedSessionHideMute(input) {
|
|
19330
|
+
return {
|
|
19331
|
+
surfaceHidden: resolveSurfaceHidden(input),
|
|
19332
|
+
muted: resolveMuted(input)
|
|
19333
|
+
};
|
|
19334
|
+
}
|
|
19329
19335
|
function getActiveChatOptions(profile) {
|
|
19330
19336
|
if (profile === "full") return {};
|
|
19331
19337
|
return LIVE_STATUS_ACTIVE_CHAT_OPTIONS;
|
|
@@ -24768,7 +24774,8 @@ function modalSupersededBySettledPrompt(modalSpec, settledSpec, settled, input)
|
|
|
24768
24774
|
const settledPromptLineRe = compile2(settledSpec.regex, (settledSpec.flags ?? "m").includes("m") ? settledSpec.flags ?? "m" : `${settledSpec.flags ?? ""}m`);
|
|
24769
24775
|
const isSettledLine = (line) => {
|
|
24770
24776
|
settledPromptLineRe.lastIndex = 0;
|
|
24771
|
-
|
|
24777
|
+
if (settledPromptLineRe.test(line)) return true;
|
|
24778
|
+
return settled.footers.some((f) => f.test(line));
|
|
24772
24779
|
};
|
|
24773
24780
|
return below.some((line) => line.trim() !== "" && !isModalCueLine(line) && !isSettledLine(line));
|
|
24774
24781
|
}
|
|
@@ -63649,6 +63656,28 @@ var DaemonCommandRouter = class {
|
|
|
63649
63656
|
}
|
|
63650
63657
|
return nodes;
|
|
63651
63658
|
}
|
|
63659
|
+
/**
|
|
63660
|
+
* Same flattened node list as getCachedInlineMeshNodes(), but each node is
|
|
63661
|
+
* paired with the `spawnedSessionVisibility` from its OWNING mesh's policy.
|
|
63662
|
+
* The flat node list loses the mesh→node association, yet the cloud daemon's
|
|
63663
|
+
* synthetic mesh-session mirror needs the mesh-level visibility policy to
|
|
63664
|
+
* decide whether a coordinator-spawned worker session should be hidden+muted
|
|
63665
|
+
* on the dashboard (the cached inline-mesh session entry carries no settings
|
|
63666
|
+
* of its own). Falls back to DEFAULT_MESH_POLICY.spawnedSessionVisibility when
|
|
63667
|
+
* the mesh policy is absent, matching the worker-launch stamp.
|
|
63668
|
+
*/
|
|
63669
|
+
getCachedInlineMeshNodesWithVisibility() {
|
|
63670
|
+
const out = [];
|
|
63671
|
+
for (const mesh of this.inlineMeshCache.values()) {
|
|
63672
|
+
const spawnedSessionVisibility = mesh?.policy?.spawnedSessionVisibility === "visible" ? "visible" : "hidden";
|
|
63673
|
+
if (Array.isArray(mesh?.nodes)) {
|
|
63674
|
+
for (const node of mesh.nodes) {
|
|
63675
|
+
out.push({ node, spawnedSessionVisibility });
|
|
63676
|
+
}
|
|
63677
|
+
}
|
|
63678
|
+
}
|
|
63679
|
+
return out;
|
|
63680
|
+
}
|
|
63652
63681
|
// ─── Remote mesh-session owner resolution ───────────────────────────
|
|
63653
63682
|
// Implementation lives in ./router-mesh-session-owner.ts (behavior-preserving
|
|
63654
63683
|
// code move). resolveRemoteMeshSessionOwnerDaemonId stays public (the [Z]
|
|
@@ -72679,6 +72708,7 @@ export {
|
|
|
72679
72708
|
isAlwaysOnTraceCategory,
|
|
72680
72709
|
isBuiltinChatMessageKind,
|
|
72681
72710
|
isCdpConnected,
|
|
72711
|
+
isCoordinatorSpawnedHiddenWorker,
|
|
72682
72712
|
isExtensionInstalled,
|
|
72683
72713
|
isGitCommandName,
|
|
72684
72714
|
isIdeRunning,
|
|
@@ -72805,11 +72835,14 @@ export {
|
|
|
72805
72835
|
resolveMeshNodeAttribution,
|
|
72806
72836
|
resolveMeshRefineValidationPlan,
|
|
72807
72837
|
resolveMeshSurfacedSessionPreview,
|
|
72838
|
+
resolveMuted,
|
|
72808
72839
|
resolveNodeSchedulingPriority,
|
|
72809
72840
|
resolveNotBefore,
|
|
72810
72841
|
resolveProviderMaxParallel,
|
|
72811
72842
|
resolveSessionHostAppName,
|
|
72812
72843
|
resolveSessionHostAppNameResolution,
|
|
72844
|
+
resolveSpawnedSessionHideMute,
|
|
72845
|
+
resolveSurfaceHidden,
|
|
72813
72846
|
resolveWorktreePath,
|
|
72814
72847
|
runAsyncBatch,
|
|
72815
72848
|
runGit,
|