@openchamber/web 1.5.9 → 1.6.0

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.html CHANGED
@@ -191,7 +191,7 @@
191
191
  pointer-events: none;
192
192
  }
193
193
  </style>
194
- <script type="module" crossorigin src="/assets/index-6-7dM4cm.js"></script>
194
+ <script type="module" crossorigin src="/assets/index-D8WE2_bP.js"></script>
195
195
  <link rel="modulepreload" crossorigin href="/assets/vendor-.bun-Bui932eM.js">
196
196
  <link rel="stylesheet" crossorigin href="/assets/vendor--Jn2c0Clh.css">
197
197
  <link rel="stylesheet" crossorigin href="/assets/index-BlYLID2P.css">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openchamber/web",
3
- "version": "1.5.9",
3
+ "version": "1.6.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./server/index.js",
package/server/index.js CHANGED
@@ -1563,6 +1563,11 @@ const startGlobalEventWatcher = async () => {
1563
1563
  buffer = buffer.slice(separatorIndex + 2);
1564
1564
  const payload = parseSseDataPayload(block);
1565
1565
  void maybeSendPushForTrigger(payload);
1566
+ // Track session activity independently of UI (mirrors Tauri desktop behavior)
1567
+ const activity = deriveSessionActivity(payload);
1568
+ if (activity) {
1569
+ setSessionActivityPhase(activity.sessionId, activity.phase);
1570
+ }
1566
1571
  }
1567
1572
  }
1568
1573
  } catch (error) {
@@ -6619,6 +6624,10 @@ async function main(options = {}) {
6619
6624
  console.error('Failed to list directory:', error);
6620
6625
  }
6621
6626
  if (code === 'ENOENT') {
6627
+ // Return empty result for plans directory (expected to not exist until first use)
6628
+ if (isPlansPath) {
6629
+ return res.json({ path: resolvedPath || rawPath, entries: [] });
6630
+ }
6622
6631
  return res.status(404).json({ error: 'Directory not found' });
6623
6632
  }
6624
6633
  if (code === 'EACCES') {