AnyBot/docs
王性驊 0628714fbd 聊天打很多字不再破版:工作流旁邊那欄(和矮的視窗)裡,輸入框不會被擠出視窗底下。
原因有兩個加在一起:「帶入記憶」的小卡片會換行,窄欄裡一張一行,字打越多配到越多條(截圖裡 9 張疊了半個視窗);輸入框最高看整個視窗的 4 成,不看這一欄還剩多少。
- 「帶入記憶」只佔一行:「帶入記憶 · 帶 N 條」在前面(窄的時候只寫「N 條」),卡片在後面左右捲;窄的時候卡片字縮到 12 個。
- 整個輸入區最高到這一欄放得下的地方,上面的聊天至少留一段(三成,60~200);字再多在框裡捲。框下面那行字(「已排入…」)照上一次量到的高度算。
- 有「允許」卡片在等時:卡片也縮到放得下(裡面捲),頭像和一行高的輸入框一定看得到;聊天只留一條。聊天那塊也能縮到比 egui 預設的 64 更矮。
- 截圖選項:ANYBOT_SHOT_VIEW=workflow 加 ANYBOT_SHOT_DRAFT 時,旁邊聊天打開、放那段字和九條記憶。

已驗證: cargo test 870 過(新:a_long_draft_never_pushes_the_input_off_the_chat——300×560、300×420、760×900 三種欄位,有沒有允許卡片,輸入區都在欄位裡、輸入框看得到、聊天留一段;把高度上限拿掉時這個測試會失敗「跑到 448,超過 420」);layout_audit 都過;clippy 沒有新的。桌面截圖(scratch、示範資料):1300×660 和 1300×480 的工作流+旁邊聊天,一長段字+允許卡片、一長段字+九條記憶,都在視窗裡。
未驗證: 你那台的真資料(大腦在 nobledesktop,要更新 App 才看得到);手機頁面沒動。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uirha2uBHmbnuWBhNzjbJm
2026-11-21 21:11:00 +08:00
..
demo docs: README 重寫——跟上這一週的功能,圖從現在這版重拍 2026-11-18 08:10:55 +08:00
en version_0_1_1-alpha 2026-11-11 16:19:06 +08:00
feature-map 聊天打很多字不再破版:工作流旁邊那欄(和矮的視窗)裡,輸入框不會被擠出視窗底下。 2026-11-21 21:11:00 +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 feat: 螢幕電腦沒網路照樣能用——直接開副本、訊息和設定排著連上再送、離線只剩一個小標示 2026-11-20 11:03:53 +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 refactor: 工具呼叫改成 TurnTool trait:28 個工具照原本的順序排成一張清單,不再是一長串 if 2026-11-17 13:43:57 +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
plan-2026-11-openbot.md 工作流:照 OpenBot 工作流畫布的排版(它公開的程式沒有畫布,照截圖做),風格是 AnyBot 自己的。可以畫、加註解、執行,也可以在聊天裡用一般的話請 Bot 做和改——畫布開在那個 Bot 的聊天旁邊,看著它改。 2026-11-21 18:37:31 +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