AnyBot/docs
王性驊 51d8daac4d 螢幕電腦改工作流不再整個蓋掉大腦那份(功能打架盤點第 3 項):改動一張卡片、一個欄位地傳過去,Bot 同時在大腦上加的步驟留著。
以前螢幕上改一個工作流的任何地方(搬一張卡、改名),送給大腦的是整個工作流,大腦整份換掉:Bot 剛在聊天裡加的步驟和線就不見了。
- mirror_ui.rs 的 deep_patch_of:只有 workflows 這一項,一路往下比,改了的項目和欄位另外附一份只含改動的("edit");整份照樣放在 "put",舊版大腦照舊套用整份。
- apply_patch:有 "edit" 就只把改動套在大腦現在那份上;沒有照舊。
- 螢幕新建的工作流列在 "new"。大腦套用前(renumber_new,每個改動只套一次)看到那個編號已經被別的工作流用了,就換新編號加在旁邊,不蓋掉。螢幕重播自己的改動時不換號,不會多出一份。
- 還是整組的:工作流的線(沒有編號);兩邊同時拉線、或同一張卡片兩邊都改,後到的為準。

已驗證: cargo test 871 過(新:a_screen_edit_to_a_workflow_keeps_what_a_bot_added_meanwhile——螢幕搬卡片+改名、大腦上 Bot 加一步和線、兩邊各新建一個 #2:大腦最後有螢幕的搬動和名字、Bot 的步驟和線、兩個新工作流(#2、#3);只看 put 的舊大腦照舊;螢幕重播不會多一份。把 workflows 換回整份時這個測試失敗「the bot's step stays: [1, 2]」);原本的 a_screen_edits_workflows_and_sees_a_bots_changes 照過;clippy 沒有新的。
未驗證: 真的兩台(螢幕電腦+nobledesktop 的大腦)——scratch 只有一台,測試裡是同一個行程的大腦和螢幕;螢幕上開著的工作流剛好被換了編號時,畫布會跟著大腦拉回來的那份換(沒有自動跳到新編號)。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uirha2uBHmbnuWBhNzjbJm
2026-11-21 21:22:31 +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 螢幕電腦改工作流不再整個蓋掉大腦那份(功能打架盤點第 3 項):改動一張卡片、一個欄位地傳過去,Bot 同時在大腦上加的步驟留著。 2026-11-21 21:22:31 +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