@clawos-dev/clawd 0.2.58-beta.95.76ea881 → 0.2.59-beta.96.97d1a4f

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.
Files changed (2) hide show
  1. package/dist/cli.cjs +5 -3
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -25267,8 +25267,9 @@ var SessionObserver = class {
25267
25267
  };
25268
25268
 
25269
25269
  // src/observer/observer-status-broadcast.ts
25270
- function shouldBroadcastObserverStatus(status, procAlive) {
25270
+ function shouldBroadcastObserverStatus(status, procAlive, hasRunner) {
25271
25271
  if (status === "stopped" && procAlive) return false;
25272
+ if (status === "observing" && hasRunner) return false;
25272
25273
  return true;
25273
25274
  }
25274
25275
 
@@ -27628,11 +27629,12 @@ async function startDaemon(config) {
27628
27629
  onStatus: (sessionId, status) => {
27629
27630
  const r = manager.getActive(sessionId);
27630
27631
  const procAlive = r ? r.getState().procAlive : false;
27631
- const broadcast = shouldBroadcastObserverStatus(status, procAlive);
27632
+ const hasRunner = !!r;
27633
+ const broadcast = shouldBroadcastObserverStatus(status, procAlive, hasRunner);
27632
27634
  logger.info("observer.onStatus broadcast", {
27633
27635
  sessionId,
27634
27636
  status,
27635
- hasRunner: !!r,
27637
+ hasRunner,
27636
27638
  runnerProcAlive: procAlive,
27637
27639
  suppressed: !broadcast
27638
27640
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawos-dev/clawd",
3
- "version": "0.2.58-beta.95.76ea881",
3
+ "version": "0.2.59-beta.96.97d1a4f",
4
4
  "description": "Standalone clawd daemon — Claude Code (and future Codex) session server over WebSocket",
5
5
  "type": "module",
6
6
  "license": "MIT",