@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/daemon-core",
3
- "version": "0.9.82-rc.330",
3
+ "version": "0.9.82-rc.331",
4
4
  "description": "ADHDev daemon core — CDP, IDE detection, providers, command execution",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -46,7 +46,7 @@
46
46
  "author": "vilmire",
47
47
  "license": "AGPL-3.0-or-later",
48
48
  "dependencies": {
49
- "@adhdev/mesh-shared": "0.9.82-rc.330",
49
+ "@adhdev/mesh-shared": "0.9.82-rc.331",
50
50
  "@adhdev/session-host-core": "*",
51
51
  "@agentclientprotocol/sdk": "^0.16.1",
52
52
  "ajv": "^8.20.0",
@@ -175,7 +175,7 @@ function mergeMeshPolicy(base: RepoMeshPolicy | undefined, patch: Partial<RepoMe
175
175
  policy.sessionCleanupOnNodeRemove = 'preserve';
176
176
  }
177
177
  if (!SPAWNED_SESSION_VISIBILITY_MODES.has(String(policy.spawnedSessionVisibility))) {
178
- policy.spawnedSessionVisibility = 'visible';
178
+ policy.spawnedSessionVisibility = DEFAULT_MESH_POLICY.spawnedSessionVisibility;
179
179
  }
180
180
  // Load-balancing: normalize the scheduling strategy so an invalid/blank value
181
181
  // falls back to 'first_eligible' (strict no-change). Only persist the field when
@@ -342,7 +342,10 @@ export const DEFAULT_MESH_POLICY: RepoMeshPolicy = {
342
342
  requireApprovalForDestructiveGit: true,
343
343
  dirtyWorkspaceBehavior: 'warn',
344
344
  maxParallelTasks: 2,
345
- spawnedSessionVisibility: 'visible',
345
+ // Coordinator-spawned worker sessions default to hidden so the dashboard is not
346
+ // flooded with mesh noise tabs/notifications. Users can still surface or unmute
347
+ // any specific session manually; that override is preserved per-device.
348
+ spawnedSessionVisibility: 'hidden',
346
349
  delegatedWorkerAutoApprove: true,
347
350
  sessionCleanupOnNodeRemove: 'preserve',
348
351
  autoFastForward: { enabled: true },
@@ -319,6 +319,9 @@ export class DaemonStatusReporter {
319
319
  cdpConnected: session.cdpConnected,
320
320
  summaryMetadata: session.summaryMetadata,
321
321
  settings: session.settings,
322
+ // Forward surfaceHidden so the server can gate push notifications for
323
+ // coordinator-hidden sessions (the WS path is the only one the server sees).
324
+ surfaceHidden: session.surfaceHidden,
322
325
  })),
323
326
  p2p: payload.p2p,
324
327
  timestamp: now,