@adhdev/daemon-standalone 0.9.82-rc.543 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/daemon-standalone",
3
- "version": "0.9.82-rc.543",
3
+ "version": "0.9.82-rc.544",
4
4
  "description": "ADHDev standalone daemon — embedded HTTP/WS server for local dashboard",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -37,7 +37,7 @@
37
37
  "license": "AGPL-3.0-or-later",
38
38
  "dependencies": {
39
39
  "@adhdev/ghostty-vt-node": "*",
40
- "@adhdev/session-host-core": "0.9.82-rc.543",
40
+ "@adhdev/session-host-core": "0.9.82-rc.544",
41
41
  "@xterm/addon-serialize": "^0.14.0",
42
42
  "@xterm/xterm": "^6.0.0",
43
43
  "chalk": "^5.3.0",
@@ -3429,7 +3429,19 @@ async function meshStatus(ctx, args = {}) {
3429
3429
  // workers, leaving the mobile inbox stuck on the dispatched user task.
3430
3430
  ...typeof s.lastMessagePreview === "string" && s.lastMessagePreview ? { lastMessagePreview: s.lastMessagePreview } : {},
3431
3431
  ...typeof s.lastMessageRole === "string" && s.lastMessageRole ? { lastMessageRole: s.lastMessageRole } : {},
3432
- ...typeof s.lastMessageAt === "number" && Number.isFinite(s.lastMessageAt) ? { lastMessageAt: s.lastMessageAt } : {}
3432
+ ...typeof s.lastMessageAt === "number" && Number.isFinite(s.lastMessageAt) ? { lastMessageAt: s.lastMessageAt } : {},
3433
+ // RESTORE-STICK: carry the worker's AUTHORITATIVE dashboard hide/mute
3434
+ // state (already resolved by the worker's status/builders honoring any
3435
+ // per-session user override) plus the raw userHidden/userMuted overrides.
3436
+ // The coordinator's cloud snapshot append (daemon-cloud
3437
+ // appendMeshOwnedSessionsToSnapshot) otherwise re-derives hide/mute purely
3438
+ // from mesh policy and clobbers a user's manual restore/un-mute every
3439
+ // snapshot — the un-hide flickered visible then re-hid. Dropping these
3440
+ // here is exactly what starved the coordinator of the worker's real state.
3441
+ ...typeof s.surfaceHidden === "boolean" ? { surfaceHidden: s.surfaceHidden } : {},
3442
+ ...typeof s.muted === "boolean" ? { muted: s.muted } : {},
3443
+ ...typeof s.settings?.userHidden === "boolean" ? { userHidden: s.settings.userHidden } : {},
3444
+ ...typeof s.settings?.userMuted === "boolean" ? { userMuted: s.settings.userMuted } : {}
3433
3445
  };
3434
3446
  }).filter((s) => s.id);
3435
3447
  }