@clawos-dev/clawd 0.2.545 → 0.2.546

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 +4 -2
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -45639,7 +45639,9 @@ function cloneState(s2) {
45639
45639
  currentTurnSender: s2.currentTurnSender
45640
45640
  };
45641
45641
  }
45642
+ var CLOUD_IDLE_KILL_DELAY_MS = 5 * 6e4;
45642
45643
  function idleKillDelayOf(state) {
45644
+ if (state.file.tool === CODEX_CLOUD_TOOL_ID) return CLOUD_IDLE_KILL_DELAY_MS;
45643
45645
  const ms = state.subSessionMeta?.idleKillDelayMs;
45644
45646
  return ms !== void 0 && ms > 0 ? ms : void 0;
45645
45647
  }
@@ -46082,7 +46084,7 @@ function pushEventToBufferInPlace(next, event, deps) {
46082
46084
  if (canCloseStdin) {
46083
46085
  next.stdinClosed = true;
46084
46086
  effects.push({ kind: "close-stdin" });
46085
- } else if (isRpcAgentTool(tool)) {
46087
+ } else if (isRpcAgentTool(tool) && tool !== CODEX_CLOUD_TOOL_ID) {
46086
46088
  if (tool === PI_TOOL_ID) next.stdinClosed = true;
46087
46089
  effects.push({ kind: "kill", signal: "SIGTERM" });
46088
46090
  } else {
@@ -70995,7 +70997,7 @@ function computeMethodAccess(args) {
70995
70997
  }
70996
70998
 
70997
70999
  // src/version.ts
70998
- var version = "0.2.545".length > 0 ? "0.2.545" : "dev";
71000
+ var version = "0.2.546".length > 0 ? "0.2.546" : "dev";
70999
71001
 
71000
71002
  // src/cli-probe/probe.ts
71001
71003
  var fs78 = __toESM(require("fs"), 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawos-dev/clawd",
3
- "version": "0.2.545",
3
+ "version": "0.2.546",
4
4
  "description": "Standalone clawd daemon — Claude Code (and future Codex) session server over WebSocket",
5
5
  "type": "module",
6
6
  "license": "MIT",