AnyBot/mobile
王性驊 e23f19727e feat: 摘要照段落寫、太短再要一次、使用者原話和背景指令留在摘要下面;/context、/compact
計畫 R4(grok-build 的分段摘要提示、摘要太短重做、摘要後提醒還在跑的工作)。

- agent::summarize(對話太長時兩種整理都用它):提示照段落(使用者要的、已經決定的、做過的事和結果、還沒完成的、注意);一大段對話整理得不到 200 字就再要一次,取長的那份。with_what_must_stay:AnyBot 自己在摘要下面附上使用者最近 12 句原話(每句最多 400 字)和這個 Bot 還在跑的背景指令(tools::running_for)——這些不靠模型,不會被摘要弄丟。
- /context:這個對話(模型看得到的部分)約幾 token、模型可讀多少、幾 %。/compact:現在就整理(Bot 在做事時不行),在背景用快速模型做,好了留一行;聊天記錄照舊完整,模型從摘要開始讀。電腦、螢幕、手機都能打;/ 清單、手機的指令清單、功能地圖 chat.md、FEATURES.md。
- 兩個舊測試的假摘要改長一點(太短的會被要求再寫一次);一個斷言改成「被收起的回答不見了、使用者的原話留著」。

已驗證:cargo test 582 全過、clippy -D warnings 過。新測試:第一次摘要太短會再要一次並用長的那份、原話留最近 12 句、提示有段落;從聊天打 /context 有 token 和提示、/compact 用假模型整理好,模型看得到的部分變短、聊天沒有少。
未驗證:真的模型照段落寫的品質。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 12:08:20 +08:00
..
badge-96.png feat: 電腦版不再破版、通知用 AnyBot 的貓、手機網頁像 App;從帳號看畫面不再斷線 2026-11-16 00:06:12 +08:00
icon-180.png 圖示: the cat — an ink engraving on yellow — is AnyBot's icon on the computer and the web 2026-11-11 23:24:05 +08:00
icon-192.png 圖示: the cat — an ink engraving on yellow — is AnyBot's icon on the computer and the web 2026-11-11 23:24:05 +08:00
icon-512.png 圖示: the cat — an ink engraving on yellow — is AnyBot's icon on the computer and the web 2026-11-11 23:24:05 +08:00
icon-maskable-192.png feat: 電腦版不再破版、通知用 AnyBot 的貓、手機網頁像 App;從帳號看畫面不再斷線 2026-11-16 00:06:12 +08:00
icon-maskable-512.png feat: 電腦版不再破版、通知用 AnyBot 的貓、手機網頁像 App;從帳號看畫面不再斷線 2026-11-16 00:06:12 +08:00
icon.svg 圖示: the cat — an ink engraving on yellow — is AnyBot's icon on the computer and the web 2026-11-11 23:24:05 +08:00
index.html feat: 摘要照段落寫、太短再要一次、使用者原話和背景指令留在摘要下面;/context、/compact 2026-11-17 12:08:20 +08:00
manifest.webmanifest fix: 手機網頁——圖表讀法同桌面、看得到數字、不破版;通知開關;加入主畫面說明 2026-11-16 21:33:35 +08:00
novnc.js People watch and help on the bots' computer through VNC (noVNC), carried by the account server 2026-11-05 23:05:44 +08:00
screen.html design: 手機網頁顏色跟著電腦版、改成 Claude 手機 App 的感覺,實點修好 12 個問題 2026-11-16 23:16:38 +08:00
sw.js feat: 電腦版不再破版、通知用 AnyBot 的貓、手機網頁像 App;從帳號看畫面不再斷線 2026-11-16 00:06:12 +08:00