AnyBot/docs
王性驊 9bb9e698a6 feat: 監看:shell 加 monitor,指令每印出新的一行就叫醒 Bot 一次
- 指令馬上放背景;一秒內印出的併成一次,最多列 20 行,標明「這是指令的輸出,不是使用者說的話」;Bot 閒著就開一輪,在做事就等這輪做完(App::wake)。
- 10 秒超過 200 行、或叫滿 60 次自動停並說一次;指令自己結束說一次結束碼和最後幾行;write_terminal stop 或重新啟動 Bot 安靜結束。
- 就是 shell:核准、安全規則、沙盒、背景指令、停止都沿用;這台、Bot 自己的電腦、SSH 電腦都可以,帳號裡其他 AnyBot 電腦不行(說改用 read_terminal 的 until)。
- 跑指令的那段抽成 spawn_piped,一般指令和監看共用。
- 監看的字每個 App 只拿自己的 Bot 的(測試裡同時有好幾個 App)。

已驗證:cargo test 594 通過(三行間隔開來叫三次再說結束、一下子 5000 行停掉只說一次、stop 停掉不再說、切行)、clippy -D warnings 乾淨。
未驗證:真的模型被監看叫醒後怎麼做;Docker 和 SSH 電腦上的監看。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 12:43:52 +08:00
..
demo One computer-and-phone still, and the README stops advertising its style guide 2026-11-10 14:21:06 +08:00
en version_0_1_1-alpha 2026-11-11 16:19:06 +08:00
feature-map feat: 監看:shell 加 monitor,指令每印出新的一行就叫醒 Bot 一次 2026-11-17 12:43:52 +08:00
specs Rewrite decompilation comments as behaviour specs; move reverse-engineering docs out of the repo; drop third-party marks from UI strings (i18n tables synced) 2026-11-09 16:37:33 +08:00
architecture.md 傳送: a file or a few words from any device of the account to any other 2026-11-11 10:04:13 +08:00
install.md design: Bot 的電腦的桌面也換成思源黑體(第 14 版),拿掉粉圓 2026-11-16 22:18:32 +08:00
memory.md 記憶: each bot keeps its own, remembers like a person, and decides for itself 2026-11-11 09:35:59 +08:00
multi-device.md 傳送: a file or a few words from any device of the account to any other 2026-11-11 10:04:13 +08:00
plan-2026-11-computer-use.md Plan: smoother computer use and box logins that survive a rebuild 2026-11-06 22:06:49 +08:00
plan-2026-11-engineering.md feat: 監看:shell 加 monitor,指令每印出新的一行就叫醒 Bot 一次 2026-11-17 12:43:52 +08:00
plan-2026-11-improvements.md 記憶: a page to see it, a few lines picked while typing, a local model 2026-11-11 07:46:50 +08:00
protocol.md 傳送: a file or a few words from any device of the account to any other 2026-11-11 10:04:13 +08:00
readme-style.md Readmes: the shape top-starred projects use, and no more overflow 2026-11-10 14:14:27 +08:00
release.md make, README and docs: build and install from source 2026-11-04 22:16:45 +08:00
skills.md version_0_1_1-alpha 2026-11-11 16:19:06 +08:00