@adhdev/daemon-core 0.9.82-rc.541 → 0.9.82-rc.542

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.541",
3
+ "version": "0.9.82-rc.542",
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",
@@ -47,8 +47,8 @@
47
47
  "author": "vilmire",
48
48
  "license": "AGPL-3.0-or-later",
49
49
  "dependencies": {
50
- "@adhdev/mesh-shared": "0.9.82-rc.541",
51
- "@adhdev/session-host-core": "0.9.82-rc.541",
50
+ "@adhdev/mesh-shared": "0.9.82-rc.542",
51
+ "@adhdev/session-host-core": "0.9.82-rc.542",
52
52
  "@agentclientprotocol/sdk": "^0.16.1",
53
53
  "ajv": "^8.20.0",
54
54
  "ajv-formats": "^3.0.1",
@@ -383,8 +383,12 @@ function buildCliSession(state: CliProviderState, options: SessionEntryBuildOpti
383
383
  settings: state.settings,
384
384
  ...(coordinator && { coordinator }),
385
385
  ...(meshQueueStats && { meshQueueStats }),
386
- ...(resolveSurfaceHidden(state.settings) && { surfaceHidden: true }),
387
- ...(resolveMuted(state.settings) && { muted: true }),
386
+ // Emit these booleans explicitly (including false) so an un-hide/un-mute clears a
387
+ // previously-true value downstream. Consumers merge with `?? existing` and copy only
388
+ // `!== undefined` fields, so an absent field on false never overwrote a prior true —
389
+ // the toggle-off direction silently stuck. See session-entry-merge.ts.
390
+ surfaceHidden: resolveSurfaceHidden(state.settings),
391
+ muted: resolveMuted(state.settings),
388
392
  };
389
393
  }
390
394
 
@@ -426,8 +430,10 @@ function buildAcpSession(state: AcpProviderState, options: SessionEntryBuildOpti
426
430
  settings: state.settings,
427
431
  ...(coordinator && { coordinator }),
428
432
  ...(meshQueueStats && { meshQueueStats }),
429
- ...(resolveSurfaceHidden(state.settings) && { surfaceHidden: true }),
430
- ...(resolveMuted(state.settings) && { muted: true }),
433
+ // Emit explicitly (including false) so un-hide/un-mute clears a prior true downstream —
434
+ // see buildCliSession above and session-entry-merge.ts.
435
+ surfaceHidden: resolveSurfaceHidden(state.settings),
436
+ muted: resolveMuted(state.settings),
431
437
  };
432
438
  }
433
439