switchroom 0.14.32 → 0.14.33

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": "switchroom",
3
- "version": "0.14.32",
3
+ "version": "0.14.33",
4
4
  "description": "Run Claude Code 24/7 on your Claude Pro/Max subscription over Telegram. Open-source alternative to OpenClaw and NanoClaw — no API keys.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -111,10 +111,15 @@ if [ "$SWITCHROOM_RUNTIME" = "docker" ] && [ -z "$SWITCHROOM_DOCKER_TMUX_INNER"
111
111
  echo "[start.sh] channels.telegram.enabled=false — skipping gateway sidecar" >&2
112
112
  fi
113
113
 
114
- # 2) autoaccept-poll — first-run TUI prompt dispatcher. Single-shot
115
- # by design (exits cleanly after idle-timeout once prompts have
116
- # fired); the supervisor's exponential backoff keeps a flaky
117
- # autoaccept from busy-looping.
114
+ # 2) autoaccept-poll — first-run TUI prompt dispatcher, then continuous
115
+ # wedge-watchdog. Two phases in one process: a one-shot boot phase
116
+ # dispatches the first-run prompts and returns after idle-timeout,
117
+ # then the process stays alive running the wedge-watchdog (dismisses a
118
+ # stuck blocking modal selector mid-session — the AskUserQuestion /
119
+ # ExitPlanMode class — with Esc). So it is NORMALLY long-lived; the
120
+ # supervisor only respawns it if it crashes/exits, and its backoff
121
+ # keeps a flaky run from busy-looping. Set SWITCHROOM_WEDGE_WATCHDOG=0
122
+ # to restore the legacy boot-only single-shot behaviour.
118
123
  if [ -f /opt/switchroom/autoaccept-poll.js ] && command -v bun >/dev/null 2>&1; then
119
124
  _switchroom_supervise autoaccept /var/log/switchroom/autoaccept.log \
120
125
  bun /opt/switchroom/autoaccept-poll.js "{{name}}" &