AnyBot/mobile
王性驊 314cc4fcde 手機通知不再互相蓋掉(功能打架盤點第 4 項):工作流和收到的檔案各自一則,一個工作流的「等你確認」不會被別的工作流或收到的檔案換掉。
手機上同一個 tag 只留最新一則,tag 是「bot-編號」。工作流和收到的檔案不屬於哪個 Bot,都送 bot 0,全擠在 bot-0 那一則:工作流 A 的「等你確認」(要你按的)會被工作流 B 的「做完了」或一個收到的檔案蓋掉。
- 大腦:remote::notify_tagged,工作流送「wf-編號」、收到的檔案送「file」;這種通知不把 bot 0 算進 App 圖示上的「在等你的 Bot」。
- 帳號伺服器(relay):照轉 tag(只留英數和 -,最多 40 字);轉送的欄位抽成 notice_payload。
- 手機 sw.js:有 tag 用「t-…」,沒有照舊「bot-編號」。允許卡片的通知沒有 tag,跟以前一樣。
- 舊的帳號伺服器不轉 tag:沒更新前照舊(不會更糟)。

另外修上一個 commit(51d8daa)多出來的 clippy 警告(renumber_new 的計數迴圈);那則訊息寫「clippy 沒有新的」是錯的。

已驗證: cargo test 871 過;relay cargo test 27 過(新:a_notice_carries_its_tag_to_the_phones——tag 轉過去、怪字拿掉、沒有 tag 時不帶);clippy 大腦回到 8 個(跟之前一樣)、relay 沒有。
未驗證: 真的手機收推播(要帳號伺服器+真的手機;scratch 不准帶帳號);帳號伺服器要 make update-server 才會轉 tag,還沒更新任何一台(nobledesktop、ai)。動到 sw.js 的通知(允許卡片那條沒變):照規定要你在實機上看過。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uirha2uBHmbnuWBhNzjbJm
2026-11-21 21:26:30 +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 「做事的電腦」只在 Bot 設定裡改(UI 重複設定盤點第 2 項):右側面板和手機「對話詳細資訊 › 電腦」只顯示是哪一台,點了到 Bot 設定改。 2026-11-21 21:17:43 +08:00
manifest.webmanifest 合併: 手機網頁的改良(web-pwa-polish):新訊息進場、iOS 鍵盤、觸感、主畫面捷徑、通知上直接允許/拒絕 2026-11-17 13:54:10 +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 手機通知不再互相蓋掉(功能打架盤點第 4 項):工作流和收到的檔案各自一則,一個工作流的「等你確認」不會被別的工作流或收到的檔案換掉。 2026-11-21 21:26:30 +08:00