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/dist/agent-scheduler/index.js +80 -80
- package/dist/auth-broker/index.js +80 -80
- package/dist/cli/autoaccept-poll.js +145 -2
- package/dist/cli/drive-write-pretool.mjs +10 -10
- package/dist/cli/notion-write-pretool.mjs +82 -82
- package/dist/cli/skill-validate-pretool.mjs +72 -72
- package/dist/cli/switchroom.js +368 -359
- package/dist/host-control/main.js +175 -159
- package/dist/vault/approvals/kernel-server.js +82 -82
- package/dist/vault/broker/server.js +83 -83
- package/package.json +1 -1
- package/profiles/_base/start.sh.hbs +9 -4
- package/telegram-plugin/dist/bridge/bridge.js +112 -112
- package/telegram-plugin/dist/gateway/gateway.js +191 -191
- package/telegram-plugin/dist/server.js +160 -160
package/package.json
CHANGED
|
@@ -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
|
|
115
|
-
#
|
|
116
|
-
#
|
|
117
|
-
#
|
|
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}}" &
|