Muse Code 1.4.13
新功能 4 項
支援獨立查詢訂閱額度,用量接近上限時主動警示
如果你想確認自己剩餘的模型使用次數,現在不必發送訊息觸發模型就能直接掌握。執行 muse usage 會顯示訂閱額度(包含時間區間、每週用量、重設時間與方案等級);當指令沒有產生新的用量更新時,muse exec --json 也會同步讀取該資訊。⟦恰似手機隨時打開電信公司帳務頁面,以前非得打通電話才能在帳單看到剩餘網路流量,現在打開面板就能直接查餘額。⟧當你快達到用量上限時,訊息佇列上方會跳出警告,標示剩餘可用額度與重設時間。一旦觸發用量限制而中斷,畫面會明確說明何時能繼續發問,被拒絕的請求也會保留完整的錯誤細節供你排查。
官方原文
muse usage shows your subscription allowance (window and weekly use, reset times, tier) without running a model turn; muse exec --json reads it too when the run saw no usage update
Warnings near your usage limit show the remaining allowance and reset time above the message queue
Usage limit stops explain when you can continue, and denied requests retain useful error details
內建視覺程式設計技能引導分流,3D 遊戲管線分步回報待辦清單
當你要求代理人製作 3D 網頁、瀏覽器遊戲或處理 Blender 專案時,現在內建的 visual-coding 技能會在動筆寫程式前,主動引導代理人使用負責該領域的單一內建技能,避免單次請求同時啟動兩套相互衝突的建置流程。⟦宛如醫院的分診服務台,病患剛進門就先依症狀指引至專屬診間,不再讓兩個科別同時搶著收治同一位病人。⟧針對 /game-3d-visuals 指令,現在會依序拆分為規劃、建置與審查三個步驟執行,並在每步完成後向待辦清單回報單行結果。該技能現在也會明確為每次管線執行命名,首次啟動不再遭到拒絕或被迫重新嘗試。
官方原文
Added a built-in visual-coding skill: for a 3D page, a browser game or Blender work, it points the agent to the one built-in skill that owns that kind of work before any code is written, so one request no longer runs two competing build processes
/game-3d-visuals now runs its plan, build and review as three steps and posts a one-line result to the todo list after each
The game-3d-visuals skill now names each of its pipeline runs, so its first launch is no longer refused and retried
分支對話遇磁碟寫入失敗不中斷,重啟自動略過異常回合
在磁碟空間不足的環境下建立分支對話,若是某次回合開頭未能成功寫入硬碟,現在不會再卡死整體流程。這類分支對話在完成壓縮並重新開啟後仍可正常運作,重啟時也會再度儲存檢查點;應用程式或其他客戶端載入時,不再阻擋後續檢查點儲存,即使是從已壓縮對話建立的分支也能順利接續。⟦就跟搭乘區間火車碰上某節車廂門鎖損壞一樣,站務員會將該車廂清空並在發車時廣播通知一次,其餘車廂與列車排班依舊準時行駛。⟧系統會將未能成功寫入的回合排除在紀錄之外,並在每次重新載入時清楚提醒你一次,確保對話能持續進行而不中斷。
官方原文
A forked chat where the start of one of its own turns could not be written to disk keeps working after it compacts and is reopened; that turn stays left out, and Muse says so once per reopen
A forked chat where the start of one of its own turns could not be written to disk (for example on a full disk) saves checkpoints again after a restart; that turn is left out, and Muse says so once
Loading a forked chat in the app or another client, where the start of one of its own turns could not be written to disk, no longer blocks its checkpoints; that turn is left out, and Muse says so once
A chat forked from a compacted chat, where the start of one of its own turns could not be written to disk, can be reopened and continued; that turn is left out, and Muse says so once
桌面端同步第三方模型選單,工作階段命名回歸且降低記憶體
切換使用不同介面時,模型選單與工作階段清單現在具備一致的體驗。桌面端與其他連線客戶端現在提供與終端機模型選單完全相同的第三方模型選項。你先前為工作階段自訂的名稱會重新列在清單中,並能依據自己的歷史紀錄直接使用 muse resume <name> 恢復對話。⟦仿照商品目錄的輕量索引設計,展架上只陳列品名與貨號,不必把整批庫存貨物堆在走道上。⟧其他工作階段仍在執行時,啟動應用程式或 muse serve 會減少記憶體用量,因為列出工作階段清單不再保留每個執行中工作階段的完整歷史副本。使用 /feedback 回報問題時,若紀錄過於龐大,系統會自動縮減至合適大小並附上標註,不再因檔案過大而失敗。
官方原文
Desktop and other connected clients offer the same third-party models as the terminal model picker
Session names you gave earlier show up again in the session list and work with muse resume <name>, read from each session's own history
/feedback uploads with a very large session record no longer fail; the record is shortened to fit and the shortening is noted
Starting the app or muse serve while other sessions are running uses much less memory, because listing sessions no longer keeps a full copy of each running session's history
修正 8 項
macOS 與 Linux 支援檔案系統拒絕規則,嚴格阻擋敏感路徑讀寫
當你在權限設定檔中擴充 :ask-me 並加入檔案系統 deny 規則時,系統現在會在 macOS 與 Linux 上確實強制執行。無論是工作區根目錄的萬用字元(如 **/*.pem),還是絕對路徑與家目錄 ~/ 的拒絕規則,都會直接拒絕符合條件的讀寫請求,並限制沙盒 Shell 存取指令啟動時已存在的符合路徑。⟦跟金庫的門禁感應卡一樣,原本只交代警衛口頭留意,現在閘門讀卡機直接鎖定黑名單區域,非許可人員碰觸感應區就立刻鳴笛拒絕。⟧在 Linux 上,指令執行中途於萬用字元下新建的檔案不受保護;macOS 則透過 Seatbelt 正規表達式(用符號匹配字串的語法)即時防堵且無快照空窗。至於尚未存在的路徑,會在第一個缺失層級先行遮蔽,而設定檔在其他位置的寫入授權則維持不變。
官方原文
On macOS and Linux, permission profiles extending :ask-me with filesystem deny rules now enforce them: workspace-root deny globs (**/*.pem) and absolute/~/ denies refuse matching reads and writes, and sandboxed shell access to matching paths that exist when each shell command starts (files created mid-command under a deny glob are not covered on Linux — macOS enforces globs live through Seatbelt regex with no snapshot window; a deny on a not-yet-existing path is masked at its first missing component), instead of being silently ignored, while the profile keeps its write grants elsewhere
YOLO 模式保留提問工具,支援非同步向使用者確認需求
平時使用 --yolo 參數讓工具自動執行任務時,往往既希望節省確認步驟,又擔心重要決策缺乏溝通。現在 --yolo 不再全面扣留提問,而是保留了 request_user_input 提問工具,並啟用非同步提問機制,讓代理人在背景運作時仍能提出關鍵問題。⟦好比全自動導航的貨運卡車,平常維持自主駕駛,遇到收件地址不清楚時能在儀表板發出非同步通知等你確認,不必被迫停在路中央發呆。⟧如果你希望執行過程完全不被打擾、不詢問任何問題,只要額外加上 --disable-request-user-input 參數,就能徹底關閉提問。
官方原文
--yolo keeps the request_user_input question tool and enables async questions instead of withholding them; pass --disable-request-user-input for runs that should ask nothing
嚴格隔離未受信任工作區,伺服端權限異常時主動降級重設
打開未知來源的專案資料夾時,安全性設定會更嚴密地劃清界線。未受信任工作區的工作階段不再接收先前受信任工作階段記錄的專案規則;工作樹(Git 讓同一專案平行開多份副本的功能)復原也遵守相同的保護路徑。未受信任工作區的託管工作階段不再執行工作區狀態檢查或 Sapling 快照,未建立信任就拒絕繼續。⟦猶如訪客不再繼承前人的通行鑰匙,門禁紀錄有缺漏時,也不能沿用舊鑰匙放行。⟧muse serve 恢復、分支或開啟側邊對話時,若歷史遺失權限變更,不再沿用較寬鬆的舊權限:會重設為預設值,保留較嚴格的已存設定,只有兩組設定無法安全合併才轉唯讀。遺失前「允許此工作階段」的授權失效。恢復時選擇的權限設定檔在重設後套用;若不允許重設,就取代重設。無安全重設途徑或管理原則禁止時,會拒絕開啟並要求另開新對話。
官方原文
Security: Sessions in untrusted workspaces no longer receive project rules recorded by an earlier trusted session
Security: Session worktree recovery now enforces the same protected paths as the rest of the session
Security: Served sessions in workspaces you have not trusted no longer run workspace status checks or Sapling snapshots, and sessions that never establish trust now fail closed instead of inheriting trusted behavior
Security: When muse serve resumes, forks or opens a side chat from a chat whose saved history lost a permission change, the chat no longer reopens with older, wider permissions: it resets to your defaults, keeps your saved settings when they were stricter, or switches to read-only when the two cannot be safely combined, and "allow for this session" approvals given before the loss stop applying. A permission profile you choose when resuming such a chat applies after the reset, or in its place when the reset is not allowed. When no safe reset exists, or managed policy forbids it, the chat refuses and asks you to start a new chat
磁碟滿載或存取中斷自動復原,錯誤排除即刻接續儲存進度
面對暫時性的硬碟存取異常,工作階段現在具備更靈活的自我復原能力。工具執行結果若因磁碟已滿等原因儲存失敗,對話依然能立即執行壓縮,重啟後該回合會完整保留並標註結果已遺失,不再無故消失。當讀取對話檔案因短暫輸入輸出錯誤受阻,一旦讀取恢復正常,對話便會重新儲存進度,不必被迫重啟。即便子代理訊息或背景紀錄因磁碟空間不足存檔失敗,壓縮檢查點無須重啟即可恢復運作。任務中途或背景儲存遭遇短暫磁碟故障時,只要錯誤排除,在下個檢查點便會接續存檔,範圍亦涵蓋側邊對話與已寫入磁碟的紀錄。在寫入持續失敗期間,系統也會減少重複的工作階段日誌登記,避免資源耗損。
官方原文
A chat whose tool result could not be saved (for example on a full disk) can compact again right away, and after a restart that turn is kept with the result shown as lost, instead of disappearing
When a chat's file could not be read while loading it for a save (a brief I/O error), the chat goes back to saving its progress once the read works again, instead of staying unable to save until restart
After a subagent message or other background record could not be saved to a full disk, compaction checkpoints work again without restarting the chat
After a brief storage error in the middle of a task, the chat goes back to saving its progress at the next checkpoint once the error clears, instead of waiting for the task's next tool call or its end
After a brief disk error interrupts one background save, the chat goes back to saving its progress once the error clears, also when the save had fully reached the disk or belonged to a side chat
Reduce repeated session-log bookkeeping while disk writes are failing
長期目標與對話壓縮穩定保存,回合清理失敗會顯示警告
長時間執行複雜任務時,對話歷史與檢查點的保存機制能維持正常節奏。漫長的 /goal 任務會正常儲存恢復檢查點,使內容維持精簡並迅速恢復,不再每次壓縮後逐漸變慢。對話呼叫子代理再同時執行多項工具後,後續檢查點不再停止儲存;提示詞格式神似訊息封套,也不會阻礙後續工作階段儲存恢復檢查點。模型回應提早結束時,自動壓縮不再遺失監視器訊息;背景任務尚未確認儲存時觸發壓縮,也會儲存檢查點,並保留舊歷史直到背景儲存結果確定,不再跳過儲存。如果回合結束後的清理持續失敗(例如目標計帳或即時狀態),對話會在該回合後顯示一次警告,指名失敗項目;若已進入另一回合,則下次開啟對話時顯示。若警告本身未能存檔,就只在你仍停留於該回合時顯示。
官方原文
When cleanup after a finished turn keeps failing (goal accounting or the live turn state), the chat now shows one "cleanup failed after this turn" warning naming what gave up, instead of failing silently. It shows right after that turn, or the next time you open the chat if you have already moved on to another turn (in the rare case that the warning itself could not be saved, it shows only while you are still on that turn)
Long /goal sessions save their resume checkpoints again, so they stay compact and resume quickly instead of slowing down after every compaction
A chat that messaged a subagent and then ran several tools at once no longer stops saving checkpoints for the rest of the session
Fixed automatic compaction losing Monitor messages after a model response ended early
A prompt that looks like a session-message envelope no longer stops later sessions from saving resume checkpoints
A compaction that runs while a background task's save is still unconfirmed now saves its checkpoint (keeping the older history until the task's save resolves) instead of skipping it
背景工作流程保留待辦清單,終止與暫停狀態回報更明確
讓代理人在背景執行長時間任務時,你能更清楚掌握各項流程的即時動態。啟動背景工作流程後,待辦清單在該流程運作期間會持續保留在螢幕上,不再隨著觸發它的對話回合結束而立刻消失。當你手動中斷操作時,停止訊息會明確標註停下的是工作流程還是背景指令。⟦就像工廠中央監控台的流水線看板,即便操作員切換畫面,組裝進度依然常駐顯示,按下急停鈕時也會清楚標明停機的是輸送帶還是檢驗站。⟧若工作流程剛好執行完畢才按下暫停,畫面會直接回報已完成並顯示執行結果,避免卡在無結果的暫停狀態。使用帶有 stop: true 的 session/leave 時,若工作流程因停止紀錄衝突而無法停止,離開操作會失敗,工作階段仍留在原主機。已知限制是:即使用新的指令識別碼重試,也會持續失敗,直到主機程序重啟。
官方原文
Stopping messages say whether a workflow or a background command was stopped
session/leave with stop: true no longer releases a session while one of its workflows cannot be stopped (its stop record is in conflict); the leave fails and the session stays with its host, including when you retry it with a new command id; until the host process restarts, such a leave keeps failing (a known limitation)
The todo list now stays on screen while a background workflow is still running, instead of disappearing as soon as the turn that launched it ends
Pausing a Workflow that has just finished now reports that it already finished and shows its result, instead of leaving the Workflow paused with no result
子代理通訊保留文字摘要,取消佇列與對等時間軸正常運作
在多代理人協同運作的環境中,訊息傳遞與佇列排程的管理更加井然有序。透過遠端工作階段向子代理發送便籤時,文字摘要會完整保留,不再遺失原貌;當子代理正忙於處理其他事務,等待中的便籤會明確標記為排隊中,方便追蹤派工狀況。⟦如同辦公室的專案交接留言板,交代給助理的便條紙會整齊貼在排隊欄位並保留原始重點,想抽回尚未處理的留言也能隨時撤下。⟧使用 turn/unqueue 撤回排隊訊息時,即便訊息排在內部回合後方,也能順利取消,不再誤報找不到執行個體而強制執行。工作階段自動接收訊息後,對等節點的訊息時間軸亦會正常顯示,不再出現無法使用的錯誤提示。
官方原文
Notes sent to a subagent over a remote session keep their plain summary
Removing a queued message with turn/unqueue now works when the message is waiting behind an internal turn, instead of failing with missing_run and running the message anyway
Notes waiting on a busy subagent now show Queued rows while they wait
The peer message timeline no longer shows as unavailable after a session accepts a message automatically
掛鉤注入資訊限制於當前對話,避免模型重新處理完整歷史
如果你平時利用自動化腳本擴充提示詞或工具結果,現在資料注入的範圍劃分得更為明確。在提示詞或工具呼叫後,透過掛鉤(特定事件發生時被觸發的小程式)加入的上下文資訊,現在會被嚴格限制在該資訊抵達的對話之中。⟦看齊公文批閱的浮貼便籤機制,新加上的審核意見只貼在當前公文夾,不必把整份歷史檔案抽出來從頭到尾重審一遍。⟧新增掛鉤規則後,下次呼叫模型不再重新處理整段對話。
官方原文
Context that hooks add after a prompt or tool call now stays in the conversation where it arrived, so a new hook rule no longer makes the whole conversation re-process on the next model call