@adhdev/daemon-core 0.9.82-rc.330 → 0.9.82-rc.331

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
@@ -88,7 +88,10 @@ var init_repo_mesh_types = __esm({
88
88
  requireApprovalForDestructiveGit: true,
89
89
  dirtyWorkspaceBehavior: "warn",
90
90
  maxParallelTasks: 2,
91
- spawnedSessionVisibility: "visible",
91
+ // Coordinator-spawned worker sessions default to hidden so the dashboard is not
92
+ // flooded with mesh noise tabs/notifications. Users can still surface or unmute
93
+ // any specific session manually; that override is preserved per-device.
94
+ spawnedSessionVisibility: "hidden",
92
95
  delegatedWorkerAutoApprove: true,
93
96
  sessionCleanupOnNodeRemove: "preserve",
94
97
  autoFastForward: { enabled: true },
@@ -313,10 +316,10 @@ function readInjected(value) {
313
316
  }
314
317
  function getDaemonBuildInfo() {
315
318
  if (cached) return cached;
316
- const commit = readInjected(true ? "ae30dde113f601dc80d6396a625c1dafb3dbaddd" : void 0) ?? "unknown";
317
- const commitShort = readInjected(true ? "ae30dde1" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
318
- const version = readInjected(true ? "0.9.82-rc.330" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
319
- const builtAt = readInjected(true ? "2026-06-19T17:20:52.196Z" : void 0);
319
+ const commit = readInjected(true ? "a6ef3a58ea926c6fa42f5ec53fae14e0bd5cac1b" : void 0) ?? "unknown";
320
+ const commitShort = readInjected(true ? "a6ef3a58" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
321
+ const version = readInjected(true ? "0.9.82-rc.331" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
322
+ const builtAt = readInjected(true ? "2026-06-20T00:34:05.737Z" : void 0);
320
323
  cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
321
324
  return cached;
322
325
  }
@@ -1940,7 +1943,7 @@ function mergeMeshPolicy(base, patch) {
1940
1943
  policy.sessionCleanupOnNodeRemove = "preserve";
1941
1944
  }
1942
1945
  if (!SPAWNED_SESSION_VISIBILITY_MODES.has(String(policy.spawnedSessionVisibility))) {
1943
- policy.spawnedSessionVisibility = "visible";
1946
+ policy.spawnedSessionVisibility = DEFAULT_MESH_POLICY.spawnedSessionVisibility;
1944
1947
  }
1945
1948
  const normalizedStrategy = normalizeMeshSchedulingStrategy(policy.schedulingStrategy);
1946
1949
  if (normalizedStrategy === "first_eligible") {
@@ -51220,7 +51223,10 @@ var DaemonStatusReporter = class {
51220
51223
  title: session.title,
51221
51224
  cdpConnected: session.cdpConnected,
51222
51225
  summaryMetadata: session.summaryMetadata,
51223
- settings: session.settings
51226
+ settings: session.settings,
51227
+ // Forward surfaceHidden so the server can gate push notifications for
51228
+ // coordinator-hidden sessions (the WS path is the only one the server sees).
51229
+ surfaceHidden: session.surfaceHidden
51224
51230
  })),
51225
51231
  p2p: payload.p2p,
51226
51232
  timestamp: now