switchroom 0.18.8 → 0.18.9
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/README.md +2 -2
- package/dist/cli/switchroom.js +2 -2
- package/dist/host-control/main.js +1 -1
- package/package.json +1 -1
- package/telegram-plugin/dist/gateway/gateway.js +78648 -77445
- package/telegram-plugin/gateway/approval-card-stores.ts +99 -0
- package/telegram-plugin/gateway/bot-commands-ops-info.ts +194 -0
- package/telegram-plugin/gateway/callback-query-handlers.ts +2660 -0
- package/telegram-plugin/gateway/gateway.ts +527 -2880
- package/telegram-plugin/gateway/inbound-delivery-machine-dispatch.ts +181 -23
- package/telegram-plugin/gateway/inbound-delivery-machine.ts +8 -0
- package/telegram-plugin/gateway/outbound-send-path.ts +375 -0
- package/telegram-plugin/gateway/pending-state-stores.ts +106 -0
- package/telegram-plugin/gateway/register-bot-commands.ts +30 -0
- package/telegram-plugin/tests/approval-card-stores.test.ts +124 -0
- package/telegram-plugin/tests/callback-query-handlers.test.ts +701 -0
- package/telegram-plugin/tests/emission-determinism-wiring.test.ts +11 -4
- package/telegram-plugin/tests/fixtures/cutover-killswitch-probe.ts +75 -0
- package/telegram-plugin/tests/gateway-outbound-redact.test.ts +5 -1
- package/telegram-plugin/tests/inbound-delivery-cutover-flip.test.ts +418 -0
- package/telegram-plugin/tests/inbound-delivery-dispatch-equivalence.test.ts +348 -0
- package/telegram-plugin/tests/inbound-delivery-machine-dispatch.test.ts +141 -52
- package/telegram-plugin/tests/mental-model-propose-callback-gate.test.ts +8 -1
- package/telegram-plugin/tests/outbound-send-chunks.test.ts +304 -0
- package/telegram-plugin/tests/outbound-send-path.test.ts +222 -0
- package/telegram-plugin/tests/pending-card-durability-wiring.test.ts +34 -15
- package/telegram-plugin/tests/pending-state-stores.test.ts +235 -0
- package/telegram-plugin/tests/turn-flush-safety.test.ts +18 -4
- package/telegram-plugin/tests/vault-approval-posture.test.ts +15 -7
- package/telegram-plugin/tests/vault-grant-auto-resume.test.ts +8 -4
- package/telegram-plugin/tests/vault-grant-union.test.ts +8 -4
- package/telegram-plugin/tests/vault-grant-wizard.test.ts +8 -1
- package/telegram-plugin/tests/vault-grants-revoke.test.ts +8 -1
- package/telegram-plugin/tests/vault-key-regex-allows-slash.test.ts +8 -4
- package/telegram-plugin/tests/vault-request-access-tool.test.ts +8 -4
- package/telegram-plugin/tests/vault-request-access-unlock-resume.test.ts +8 -4
package/README.md
CHANGED
|
@@ -89,7 +89,7 @@ Full new-user walkthrough, zero to first Telegram message in ~15 minutes, plus t
|
|
|
89
89
|
| **Claude Pro/Max auth** | OAuth, not API keys. No per-token billing. Fleet-wide active account plus fallback order, broker-owned refresh and credential fanout. |
|
|
90
90
|
| **Always available** | Long-running service per agent. Survives reboots, network drops, your laptop closing. Resumes mid-turn with a wake-audit. |
|
|
91
91
|
| **Honest status** | Every topic shows plain-language state: quiet, working, or idle. Never a black box, never silent, never a tool-call log to babysit. |
|
|
92
|
-
| **Live replies** |
|
|
92
|
+
| **Live progress, whole replies** | A live progress surface shows what the agent is doing while it works, with a Steer button to redirect mid-turn. The reply itself lands as a whole message when the work is done (long replies chunked), posted in the topic, not pinned, no stale cards. |
|
|
93
93
|
| **Sub-agents** | Opus plans, Sonnet implements. Delegated work surfaces as live rows in a shared fleet block. |
|
|
94
94
|
| **Config cascade** | Defaults, then profiles, then per-agent YAML. Change one line, every agent updates. |
|
|
95
95
|
| **Scheduled tasks** | Cron-syntax tasks that fire across reboots. Headless secret access through the vault broker. |
|
|
@@ -149,7 +149,7 @@ You (Telegram)
|
|
|
149
149
|
│ │ ├─ .claude/agents/*.md (sub-agents)
|
|
150
150
|
├─ Deterministic status ├─ Approval kernel ◄─────┤ settings.json (tools, hooks, MCP)
|
|
151
151
|
│ (quiet/working/idle) │ (action grants) ├─ Hindsight plugin (memory)
|
|
152
|
-
├─ Live
|
|
152
|
+
├─ Live progress surface ├─ Vault broker ◄────────┤ Drive MCP, Playwright MCP, …
|
|
153
153
|
├─ Sub-agent fleet block │ (per-agent ACL) ├─ in-agent scheduler sidecar
|
|
154
154
|
├─ SQLite history ├─ Auth broker ◄─────────┤ (cron, fires across reboots)
|
|
155
155
|
└─ Emoji reactions │ (OAuth refresh, │
|
package/dist/cli/switchroom.js
CHANGED
|
@@ -64889,8 +64889,8 @@ import { existsSync, readFileSync } from "node:fs";
|
|
|
64889
64889
|
import { dirname, join } from "node:path";
|
|
64890
64890
|
|
|
64891
64891
|
// src/build-info.ts
|
|
64892
|
-
var VERSION = "0.18.
|
|
64893
|
-
var COMMIT_SHA = "
|
|
64892
|
+
var VERSION = "0.18.9";
|
|
64893
|
+
var COMMIT_SHA = "436289c9";
|
|
64894
64894
|
|
|
64895
64895
|
// src/cli/resolve-version.ts
|
|
64896
64896
|
function readPackageVersion() {
|
|
@@ -28738,7 +28738,7 @@ import { existsSync as existsSync7, readFileSync as readFileSync5 } from "node:f
|
|
|
28738
28738
|
import { dirname as dirname4, join as join6 } from "node:path";
|
|
28739
28739
|
|
|
28740
28740
|
// src/build-info.ts
|
|
28741
|
-
var VERSION = "0.18.
|
|
28741
|
+
var VERSION = "0.18.9";
|
|
28742
28742
|
|
|
28743
28743
|
// src/cli/resolve-version.ts
|
|
28744
28744
|
function readPackageVersion() {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "switchroom",
|
|
3
3
|
"//version": "NOT the release version — source of truth is the git tag, resolved by scripts/build.mjs:resolveVersion() (see CLAUDE.md > Standard release process). This field is stale by design and only the Layer-4 dev/non-tag fallback for build.mjs + src/cli/resolve-version.ts; do NOT bump it expecting a release to pick it up. npm-pack tarball naming needs a real version — do that as an UNCOMMITTED pack-time bump (see release step 6), never a committed one.",
|
|
4
|
-
"version": "0.18.
|
|
4
|
+
"version": "0.18.9",
|
|
5
5
|
"description": "Run Claude Code 24/7 on your Claude Pro/Max subscription over Telegram. Open-source alternative to OpenClaw and NanoClaw — no API keys.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|