switchroom 0.14.45 → 0.14.47
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/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 +499 -378
- package/dist/host-control/main.js +148 -148
- package/dist/vault/approvals/kernel-server.js +82 -82
- package/dist/vault/broker/server.js +83 -83
- package/examples/switchroom.yaml +26 -0
- package/package.json +1 -1
- package/telegram-plugin/dist/bridge/bridge.js +112 -112
- package/telegram-plugin/dist/gateway/gateway.js +335 -225
- package/telegram-plugin/dist/server.js +160 -160
- package/telegram-plugin/gateway/gateway.ts +127 -60
- package/telegram-plugin/gateway/vault-grant-inbound-builders.ts +17 -0
- package/telegram-plugin/permission-title.ts +100 -1
- package/telegram-plugin/tests/permission-card-routing.test.ts +77 -0
- package/telegram-plugin/tests/permission-title.test.ts +79 -0
- package/telegram-plugin/tests/vault-grant-inbound-builders.test.ts +84 -0
package/examples/switchroom.yaml
CHANGED
|
@@ -285,3 +285,29 @@ agents:
|
|
|
285
285
|
# admin: true
|
|
286
286
|
# system_prompt_append: |
|
|
287
287
|
# You are the fleet admin agent. Always respond concisely.
|
|
288
|
+
|
|
289
|
+
# ── Supergroup mode (advanced, opt-in) ───────────────────────────
|
|
290
|
+
# By default every agent DMs you privately. Supergroup mode instead
|
|
291
|
+
# has ONE agent OWN a Telegram forum supergroup: its replies and its
|
|
292
|
+
# automated events (boot, alerts, cron, approvals) route into per-
|
|
293
|
+
# topic threads inside that one group, so a busy agent's work stays
|
|
294
|
+
# organised by subject instead of flooding a single DM.
|
|
295
|
+
#
|
|
296
|
+
# `switchroom setup` offers this as an optional step, or add it by
|
|
297
|
+
# hand below. Setting `chat_id` is the minimum — `default_topic_id`
|
|
298
|
+
# auto-defaults to General (topic 1). Create the forum supergroup in
|
|
299
|
+
# Telegram first, add the bot as an admin, and find the numeric id
|
|
300
|
+
# (the digits after t.me/c/ in a message link, written as -100…).
|
|
301
|
+
# Full guide: docs/supergroup-mode.md.
|
|
302
|
+
#
|
|
303
|
+
# social:
|
|
304
|
+
# topic_name: "Social"
|
|
305
|
+
# bot_token: "vault:telegram-social-bot-token" # its own bot
|
|
306
|
+
# channels:
|
|
307
|
+
# telegram:
|
|
308
|
+
# chat_id: "-1001234567890" # the forum supergroup this agent owns
|
|
309
|
+
# default_topic_id: 1 # fallback topic (1 = General); optional
|
|
310
|
+
# topic_aliases: # name → topic id, for cron + ops routing
|
|
311
|
+
# alerts: 12 # boot / watchdog / compaction events
|
|
312
|
+
# admin: 7 # vault / permission / mutation events
|
|
313
|
+
# planning: 3
|
package/package.json
CHANGED