AnyBot/mobile
王性驊 571d07596e fix: 獨立審查找到的問題(一):手機通知的允許、hooks、Linux 沙盒
手機通知:
- 一個帶 #answer=once 的連結就能放行正在等的請求:沒帶鑰匙的連結不回答任何事。
- 舊通知可能答到新請求(同一步連問三次編號相同、有些模型每輪從 0 編):每個請求一把隨機鑰匙;通知也不能回答「需要處理」和問題卡;整個請求放不進通知(多行的指令)就不給按鈕。
- 停在登入畫面時按通知,回答會不見;兩指放大被當成鍵盤;換對話時舊訊息一起滑進來。
Hooks:
- hook 的 ask 只有在電腦上的步驟有用,連接器、App 操作、傳檔案…直接做了:現在都會問。
- hook 留一個背景程式就把一輪卡住;逾時只殺 shell、它啟動的還在跑。
- hook 改 AnyBot 欄位名(path)會被舊的 file_path 蓋回去。
- 打開一律放行、--approve once 會替人答應新增 hook。
- 管理員的 hook 改成最後跑:看得到個人 hook 改過的參數,它的拒絕算數。
Linux 沙盒:私密資料夾寫成相對路徑時,在沙盒裡對到別的資料夾,等於沒擋。

已驗證:cargo test 613 通過、clippy -D warnings 乾淨。未驗證:手機網頁那幾項沒有自動測試,要實機看。

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 14:21:09 +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 fix: 獨立審查找到的問題(一):手機通知的允許、hooks、Linux 沙盒 2026-11-17 14:21:09 +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 合併: 手機網頁的改良(web-pwa-polish):新訊息進場、iOS 鍵盤、觸感、主畫面捷徑、通知上直接允許/拒絕 2026-11-17 13:54:10 +08:00