switchroom 0.21.6 → 0.21.8
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/bin/autoaccept.exp +21 -1
- package/bin/tmp-reaper.sh +234 -0
- package/dist/agent-scheduler/index.js +1 -1
- package/dist/auth-broker/index.js +2 -2
- package/dist/cli/autoaccept-poll.js +95 -7
- package/dist/cli/notion-write-pretool.mjs +1 -1
- package/dist/cli/switchroom.js +3432 -2751
- package/dist/host-control/main.js +177 -13
- package/dist/vault/approvals/kernel-server.js +2 -2
- package/dist/vault/broker/server.js +2 -2
- package/package.json +6 -4
- package/profiles/_base/start.sh.hbs +115 -0
- package/profiles/_shared/local-time.md.hbs +6 -0
- package/profiles/default/CLAUDE.md.hbs +0 -12
- package/telegram-plugin/bunfig.toml +12 -4
- package/telegram-plugin/dist/gateway/gateway.js +1017 -465
- package/telegram-plugin/gateway/agent-process-liveness.ts +558 -0
- package/telegram-plugin/gateway/approval-hold.ts +32 -1
- package/telegram-plugin/gateway/approval-outcome-sources.ts +274 -0
- package/telegram-plugin/gateway/bridge-dead-watchdog.ts +21 -9
- package/telegram-plugin/gateway/callback-query-handlers.ts +87 -15
- package/telegram-plugin/gateway/eval-case-proposal-inbound-builders.ts +197 -0
- package/telegram-plugin/gateway/gateway.ts +12 -10
- package/telegram-plugin/gateway/pending-inbound-buffer.ts +167 -11
- package/telegram-plugin/gateway/self-improve-proposal-wiring.test.ts +333 -0
- package/telegram-plugin/gateway/self-improve-proposal-wiring.ts +152 -3
- package/telegram-plugin/gateway/subagent-handback-marker.ts +19 -0
- package/telegram-plugin/tests/agent-process-liveness.test.ts +406 -0
- package/telegram-plugin/tests/approval-hold-record.test.ts +21 -8
- package/telegram-plugin/tests/boot-resume-gateway-only-respawn.test.ts +752 -0
- package/telegram-plugin/tests/boot-resume-guard-wiring.test.ts +203 -0
- package/telegram-plugin/tests/callback-query-handlers.test.ts +143 -1
- package/telegram-plugin/tests/eval-case-proposal-inbound-builders.test.ts +144 -0
- package/telegram-plugin/tests/framework-fallback-drains-parked.test.ts +7 -1
- package/telegram-plugin/tests/hermes-messages-paging.test.ts +149 -0
- package/telegram-plugin/tests/hermes-session-search.test.ts +146 -0
- package/telegram-plugin/tests/parked-turn-start-preload.test.ts +65 -0
- package/telegram-plugin/tests/pending-inbound-buffer.test.ts +443 -2
- package/telegram-plugin/tests/queued-card-surface.test.ts +9 -1
- package/telegram-plugin/tests/stream-render-golden.test.ts +10 -1
- package/telegram-plugin/tests/subagent-handback-marker.test.ts +14 -0
- package/telegram-plugin/tests/turn-mint-defers-until-dequeue.test.ts +7 -1
- package/telegram-plugin/tests/turn-supersede-finalizes-prior-card.test.ts +7 -1
|
@@ -3,12 +3,20 @@
|
|
|
3
3
|
#
|
|
4
4
|
# bun reads the bunfig.toml in its CWD only, so this file exists purely to load
|
|
5
5
|
# the same shared-state hermeticity preloads as the repo-root bunfig.toml. Keep
|
|
6
|
-
# the two in sync; `npm run lint:agent-state-dir-hermeticity
|
|
7
|
-
# `npm run lint:hindsight-bank-hermeticity`
|
|
8
|
-
#
|
|
9
|
-
#
|
|
6
|
+
# the two in sync; `npm run lint:agent-state-dir-hermeticity`,
|
|
7
|
+
# `npm run lint:hindsight-bank-hermeticity` and
|
|
8
|
+
# `npm run lint:parked-turn-start-hermeticity` fail if either bunfig stops
|
|
9
|
+
# loading any of the three guards. Rationale lives in
|
|
10
|
+
# tests/vitest-setup/agent-state-dir-guard.mjs,
|
|
11
|
+
# tests/vitest-setup/hindsight-bank-guard.mjs and
|
|
12
|
+
# tests/vitest-setup/parked-turn-start-guard.mjs.
|
|
13
|
+
#
|
|
14
|
+
# This is the bunfig CI's full plugin sweep reads, so the parked-turn-start
|
|
15
|
+
# guard's blast radius is exactly the ~657-file one-process run that #4611
|
|
16
|
+
# poisoned.
|
|
10
17
|
[test]
|
|
11
18
|
preload = [
|
|
12
19
|
"../tests/vitest-setup/agent-state-dir-guard.mjs",
|
|
13
20
|
"../tests/vitest-setup/hindsight-bank-guard.mjs",
|
|
21
|
+
"../tests/vitest-setup/parked-turn-start-guard.mjs",
|
|
14
22
|
]
|