Muse Code 1.4.23
新功能 7 項
壓縮摘要共用快取並保留你的提問
長對話要壓縮上下文時,現在會直接沿用模型原本就在跑的對話與提示快取(把算過的內容暫存起來直接用)來寫摘要。
寫好的摘要還會附上一份你送出過的訊息清單。如果有長訊息被縮短,完整原文會另外放進一個檔案裡保留。⟦編輯雜誌專欄時,以前得把採訪資料抱去另一張桌子重起頭寫導言,長受訪稿也常被剪掉;現在直接拿原本攤在桌上的資料寫大綱,被縮短的長篇內容也會另附一張完整文稿。⟧
官方原文
Context compaction now writes its summary from the same conversation and prompt cache the model was already using, and the summary keeps a list of the messages you sent, with a file holding the full text of any long message it shortens
特定跨機紀錄讓舊版 Muse 開不了對話
以前連過其他機器執行指令的對話,若在舊版 Muse 讀取到的範圍內出現特定新版訊息,舊版就會打不開它。這裡說的新版訊息,是指新版告知代理執行指令的機器有變動,或是延後送達另一台機器指令結果的紀錄。
其他沒有這類紀錄的對話完全不受影響,把 Muse 更新到這一版就能正常開啟。
官方原文
A Muse build older than this release cannot open a chat while it holds, in the part of the chat the build reads, a message in which a newer build told the agent about a change to the machines the chat runs commands on, or delivered the result of a command on another machine late. Such a chat was connected to another machine before. Updating the app fixes it; other chats are unaffected
工作階段語言防護擴大檢查介面文字
在工作階段裡跟代理對話時,待辦清單或選項混入其他書寫文字,現在也會像畫面上的回答一樣被檢查並更正。
這次納進檢查的範圍包含待辦清單、計畫更新、PowerShell 與監看說明,以及向你提問的問題與選項。Workflow 名稱和標題、子代理訊息、Task 說明與提示、記憶描述,還有產出物標籤也都在內。⟦更換車站指標牌時,月台小標和出口說明以前偶爾會漏掉錯置的外語;現在連每面小指示牌也一併巡過,只要寫偏就當場改回同一套文字。⟧
官方原文
The session language guard now also checks the text in todo lists and plan updates, PowerShell and monitor descriptions, user-input questions and options, workflow names and titles, subagent messages, Task descriptions and prompts, memory descriptions and artifact labels, so a slip into another script there is corrected like visible answer text
權限提醒與未信任工作區規則更嚴謹
打開陌生專案資料夾、關掉沙盒保護,或碰到核准設定檔寫錯無法啟動,這些情況現在都有更明確的提示與防護。
關掉外殼沙盒(隔離執行程式的安全環境)時,工作階段開場的權限提示會提醒代理用無特權使用者或完整沙盒來跑下載與生成的程式。因為暫時的 HOME、工作目錄或 TMPDIR 關不住它們。
遇到格式錯誤或讀不到的核准原則檔,啟動時的拒絕訊息會直接列出檔案路徑而不只報行號欄數。訊息也會告訴你下一步要修好該檔,或先移開好讓它以沒有已存核准規則的狀態啟動。
在還沒信任的工作區開啟工作階段(包含 muse serve 與接續後),現在每一輪都會送出你的個人規則檔。這類檔案例如 ~/.claude/CLAUDE.md 或設定目錄裡的個人規則不再只附在第一輪,而專案規則照舊不載入。
官方原文
When the shell sandbox is off, the session-start permission note now tells the agent to run downloaded or generated code as an unprivileged user or inside a full sandbox, because a temporary HOME, working directory or TMPDIR does not contain it
A malformed or unreadable approval policy file is named by its path in the startup refusal, so the file to fix or delete is clear instead of only a line and column
The refusal for a malformed or unreadable approval policy file now says what to do next: fix the file, or move it aside to start with no saved approval rules
In a workspace you have not trusted, sessions started there (including muse serve sessions, and after a resume) now send your user rules file (~/.claude/CLAUDE.md or your own config-directory rules) on every turn, not just the first; project rules stay out as before
muse serve 搜尋模式與警告計算對齊
經由 muse serve 接續工作階段時,會保留原本記錄好的網頁搜尋模式,不會回來就自動關掉。
啟動時的目錄更新如果比伺服器載入清單早一步完成,muse serve 不再拒絕 model/list 給的模型,也不會誤收已經拿掉的模型。
muse serve 代管的工作階段在計算上下文壓力警告數值時,現在會比照終端機,依照設定好的壓縮門檻與上下文上限來算。
官方原文
A session resumed over muse serve keeps the web-search mode it recorded instead of coming back with web search turned off
muse serve no longer refuses a model that model/list offers (or accepts one it dropped) when its startup catalog refresh finished before the server installed its catalog
A session hosted by muse serve numbers its context-pressure warning under the configured compaction thresholds and context limit, as the terminal does
舊對話歷史清理與延後寫入省硬碟
用久了擔心對話歷史檔把硬碟塞滿,現在舊檔會自動清掉、新檔也改為需要時才建。
舊版本留在工作階段資料夾裡的訊息歷史資料庫檔案,現在會在背景自動清除來騰出空間。
舊版 Muse 為工作階段保存的歷史複本,只要連續 7 天沒有寫入且沒有任何 Muse 開著該工作階段,也會自動從硬碟刪除。
從終端機或 muse exec 開起的工作階段更省空間:給桌面版用的歷史紀錄改在桌面版第一次打開該工作階段時才建立,不再每輪都寫。在此之前,終端機還開著的對話在桌面版不會顯示歷史。⟦打掃舊儲藏室時,以前搬家留下的舊箱子一放就是好幾年,每次寫筆記還先多複印一份給別間辦公室;現在逾期沒用的舊箱子會自動清掉,複印本也等對方真的來拿才印。⟧
官方原文
Session-message history database files that earlier versions left in session folders are removed in the background, which frees disk space
Muse now removes the saved history that an older Muse version kept for a session once that copy has gone 7 days without a write and no Muse has the session open, which used to stay on disk
A session started in the terminal or with muse exec takes less disk: its history for the desktop app is built the first time the desktop app opens the session instead of being written at every turn (until then the desktop app shows no history for a session a terminal still has open)
長工作階段與接續執行減少記憶體佔用
一個對話越聊越長,或是打開從沒整理過的龐大舊紀錄,程式吃掉的記憶體量降下來了。
進行中的工作階段保存在記憶體裡的每筆事件紀錄都變小了,長對話更省資源。
接續一個從未壓縮過的長工作階段時,解碼出來的紀錄複本會在重建工作階段狀態前先釋放,記憶體峰值跟著降低。
子代理畫面不再記住它顯示過的每一筆事件。
顯示層也不再把前面各輪的任務活動日誌一路帶進每一輪新對話裡。⟦跑長途馬拉松時,以前把沿路喝空的紙杯和看過的路標全塞在背包裡;現在邊跑邊把不需要的舊紙屑清掉,步伐自然輕省不少。⟧
官方原文
Long sessions use less memory, because each event record the live session keeps in memory is smaller
Resuming a long session that was never compacted peaks at less memory, because the decoded copy of its log is released before the session's state is rebuilt
Long sessions use less memory, because the subagent view no longer remembers every event it has shown
Long sessions use less memory, because the display no longer carries its journal of earlier turns' task activity into each new turn
修正 20 項
新程式未定規格會先釐清也不卡死
請 Muse Code 動手寫一個新程式,要是沒先交代要用本機模型還是付費代管服務,或是要跑在哪個平台,它現在會建議先跟你釐清需求再往下做。
不過如果這一輪執行環境本來就沒辦法向你提問,這項建議不會把整個執行直接停下來。⟦找室內設計師畫新家藍圖,沒講清楚要實木還是貼皮地板前,他會先停筆問清楚再買料;但若是寄來的遠距批改單沒留聯絡方式,他也不會就這樣乾等不動。⟧
官方原文
When a new program leaves open whether to use a local model or a paid hosted service, or which platform it runs on, Muse Code suggests clarifying the requirements first
The suggestion to clarify a new program's requirements first no longer stops a run that has no way to ask a question
Goals 與內建技能更貼合實際任務範圍
設定任務目標或請代理依內建技能辦事時,它對邊界與進度的判斷現在更準。
當你自己的設定讓 Goals 的數字目標根本達不到時,Goals 會接受誠實回報,也不再把工作區裡你沒提過的測試算進任務裡。
內建的規劃、Git 與寫測試技能給出的指引也更明確,包含怎麼重用共用程式碼、讀取指定提交或分支的檔案、哪些提交才算你的,以及怎麼處理需求裡沒提到的測試。
待辦清單提醒則不再針對代理已經改過的那份清單給建議,下一次檢查會直接讀最新清單。
官方原文
Goals accept an honest report when your own settings put a numeric target out of reach, and no longer count an unmentioned test in the workspace as part of the task
The built-in plan, git and test-writing skills give more precise guidance on reusing shared code, reading files at a requested commit or branch, which commits count as yours, and tests a request never mentioned
The todo reminder no longer gives the agent advice about a todo list it has already updated; the next check reads the current list instead
/compact 壓縮執行與額度計算修復
想用 /compact 幫長對話瘦身,現在不會動不動被拒或重讀舊任務了。
重開存有開發者指示、但缺少該輪專屬提示紀錄的工作階段後,/compact 會改依該輪實際使用的指示計算 token(AI 處理與計費的文字單位)上限,不再用猜的。
剛經歷過自動壓縮的那一輪結束後,緊接著手動執行 /compact 不會再跳出 "no compactable run is available" 拒絕你。
請求裡還帶著前面輪次留下的提醒時,/compact 也恢復正常運作,不再回覆沒有可壓縮的輪次。不過分支與側邊聊天工作階段目前還不支援。
包含許多已完成任務的長輪次,每次做上下文壓縮時都不會再重頭讀取那些已完成的任務。
官方原文
After reopening a session that has saved developer instructions with no run.developer_prompt, /compact measures its token budget on the instructions the turn used instead of falling back to a guess
/compact no longer answers "no compactable run is available" right after a turn in which the conversation was compacted automatically
/compact works again on a turn whose request still carries a reminder from an earlier turn, instead of answering that no run can be compacted (forked and side-chat sessions are not covered yet)
A long turn with many finished tasks no longer reads those tasks again at each context compaction
壓縮後重開工作階段的順序與紀錄修復
對話壓縮過後再去重開或重整畫面,現在顯示的順序和紀錄終於不會亂掉。
把工作階段回溯到壓縮後的第一輪,或是從那裡開出的分支,重開後就算經過第一次畫面重整,也會穩定顯示壓縮前的對話與分隔線。先前會把摘要塞成提問並把舊對話複製在下面的問題已經修好。
若自動壓縮在你送出下一輪之後才完成,重開工作階段時對話輪次會依順序排在 earlier conversation restored from checkpoint 上方。較早的一輪不會再被移到下方。
壓縮後曾沿用同一套規則或指示的那一輪對話,重開工作階段時不會再憑空漏掉。
上下文壓縮之後,先前已經做完工作才被關閉的子代理,在工作階段的早期歷史名單裡會標記為已完成,不再誤判為失敗。
官方原文
Reopening a session that was rewound to the first turn after a compaction, or a branch that starts there, now shows the conversation up to the compaction and the divider, instead of the summary as a prompt and the earlier turns copied below it
Reopening a session whose automatic compaction finished after your next turn now shows your turns in order above earlier conversation restored from checkpoint, instead of moving an earlier turn below it
Reopening a session no longer leaves out a turn that came after a context compaction and reused the same rules or instructions as the compacted turn
Reopening a session rewound to the first turn after a compaction (or a branch that starts there) keeps showing the conversation up to the compaction and the divider; the first refresh after the reopen no longer brings the summary back as a prompt with the earlier turns copied below it
After a context compaction, a child agent that finished its work and was then closed is listed as completed instead of failed in the session's earlier-history roster
回溯與 /fork 分支的接續與紀錄修復
把話題退回早幾輪重新開始,或切出一條支線試新做法,事後常發現工具秒數或背景項目對不上。
回溯對話後退出程式,終端機會印出新對話的接續指令。萬一工作階段主機失聯,也會直接點名這則新對話,不再叫你重頭開始。
回溯時如果還留著背景任務在跑,新的對話輸入框底下不會再把它列成執行中的項目。
接續一個分支工作階段時,就算分支自己的紀錄裡帶有這版讀不懂的項目,已存的檢視畫面也不會從此永遠打不開。
用 /fork 開出的新對話,複製過來的每個工具呼叫現在都會顯示實際花費的秒數,不再一律顯示 0s。
官方原文
After a rewind, quitting prints the resume command for the new conversation, and a lost session host names that conversation instead of saying to start again
Resuming a forked session no longer leaves its saved view permanently unavailable when the fork's own log carries a record this build cannot read
After a rewind that keeps a background task running, the new conversation no longer lists that task as a running row under the prompt
A chat started with /fork now shows how long each copied tool call took, instead of 0s
接續後部分輪次中止不再卡住
接續對話後才啟動的輪次若意外中止,或在中斷後被強制停止,現在會正常收尾。這類輪次不會再讓工作階段卡在 "saving failed",拒絕新提問直到重開才放行。
不過仍有幾種情況仍可能讓工作階段卡住:上一輪還在收尾或剛結束時才送出、排在其他輸入後面、開始前又收到新訊息、還沒開始就停掉,或從接續前延續過來的輪次。
官方原文
In a resumed session, a turn started after the resume that stops unexpectedly or is force-stopped after an interrupt is now closed properly, instead of leaving the session refusing new turns with a "saving failed" message until restart. A turn can still leave the session that way if it was sent while the previous turn was still finishing or just after it ended, was queued behind other input, received a further message before it began, stopped before it began, or was carried over from before the resume
重啟執行不再重播舊掛鉤與中斷通知
在工作階段裡重啟執行,終端機介面不會再把前一次嘗試的舊紀錄當成這一次來演了。
重讀紀錄時,畫面上不會再重播舊的掛鉤(特定事件發生時被觸發的小程式)通知、送達等待與中斷提醒。它也不會把前一次的輸出算進新的一輪,重讀期間送出的提問列也會好好保留。
這樣一來,過期的掛鉤通知不會又冒出來,新的中斷通知不會被舊終端消耗掉,已經停住的自動壓縮也不會被前一次嘗試的安裝動作重新啟動。⟦就像舞台劇換場重新開演,以前會把上一場的音效和燈號再放一遍、甚至弄亂這一場的節奏;現在舊帳一筆勾銷,只照新場次的指令走。⟧
官方原文
After a run restarts inside a session, the TUI no longer replays the earlier attempt's hook notices, delivery wait and interrupt notice from the re-read history, no longer counts the earlier attempt's output as the new attempt's, and keeps the row of a prompt submitted during that re-read, so an expired hook notice does not reappear, a fresh interrupt notice is not spent by an old terminal, and a stopped automatic compaction is not restarted by the earlier attempt's install
終端機指令操作與 -c 設定行為修復
在終端機裡邊跑任務邊下指令,或從切換器預覽歷史對話,操作反應順暢不少。
在 --yolo 工作階段裡,代理邊忙邊問你問題時會把選項直接列在對話紀錄中,看得到也能直接輸入回答,不必先按 ctrl+q。
對話還在跑的時候,對 /exit、/logout、/model 或 /usage 這類斜線指令按 Tab 會直接執行。它的反應就跟按 Enter 一樣,不再把指令文字當成排隊訊息送給模型。
關掉 /resume 選擇器的 Ctrl+T 紀錄預覽後,原本選中的那一列不會再像按了 Ctrl+E 一樣展開。
用 -c 覆寫的設定包含 MCP(讓 AI 連接外部工具的協定)伺服器,在 /new 與 /clear 之後仍會生效,不會跟著第一個新工作階段一起消失。
官方原文
In a --yolo session, a question the agent asks while it keeps working now lists its choices in the transcript, so you can see and type an answer without first pressing ctrl+q
Closing the /resume picker's Ctrl+T transcript preview no longer expands the selected row as if Ctrl+E had been pressed
While a turn is running, Tab on a slash command such as /exit, /logout, /model or /usage runs the command the way Enter does instead of sending its text to the model as a queued message
-c settings overrides, MCP servers included, stay applied after /new and /clear instead of vanishing with the first fresh session
對話紀錄裡的指令狀態顯示更清楚
盯著對話捲動區裡一排排執行紀錄,以前常搞不清楚剛才敲的視窗指令送去哪、或只見空白字樣。
重開工作階段之後,先前被中斷指令的復原狀態會繼續留在畫面上給你確認。
執行完畢的 bash_input 呼叫列現在會寫出實際作用的終端機工作階段,不再只顯示籠統的 tool operation。上面會直接標示像是 Sent input to bash 或 Resized terminal bash session 這類說明。
還在跑的指令如果到目前為止只印出空白行,紀錄列不會再拿 tool: 當成輸出,會維持原本的提示直到真正內容送達。
官方原文
Keep interrupted command recovery status visible in reopened sessions
A finished bash_input call's transcript row now names the shell session it acted on (Sent input to bash, Resized terminal bash session) instead of a generic tool operation subject
A running command whose output so far is only blank lines no longer shows the word tool: as its output; the row keeps its hint until real output arrives
背景指令防護與排程任務計數修正
同時開著幾個耗時命令在背後跑,又要小心別誤刪資料夾或漏掉準點執行的紀錄,現在有了對應保護。
只要還有背景指令在某個資料夾裡跑著,想執行會刪掉那個資料夾的指令就會被直接擋下。拒絕訊息還會點名是哪個指令以及怎麼停掉它。
背景指令跑超過 30 分鐘的那次提醒,現在遇到有時限的任務時,會先叫代理把目前最好的結果存到任務指定的位置再繼續等。
用 code_wait 等待一個移到背景執行的程式區塊時,會正常拿到完成的結果,不再當成未知或已被取走而拒絕。
排程任務若在慢速交接後才被工作階段接手,現在會計為已送達而非略過,讓重複任務的執行次數與上次執行時間維持準確。
官方原文
The one notice for a background command still running after 30 minutes now tells the agent, when the task has a time limit, to save its best result where the task asks for it before waiting any longer
A scheduled task that the session accepted after a slow handoff is counted as delivered instead of recorded as skipped, so a repeating task's run count and last-run time stay right
code_wait on a backgrounded cell returns the completed result instead of refusing the wait as unknown or already consumed
A shell command that would delete the folder a background command is still running in is now refused, and the refusal names that command and how to stop it
Workflow 暫停監看與恢復設定修復
暫停 Workflow 後,無期限監看也會立刻停止,不再讓代理一直等到指令結束。
暫停 Workflow 時,底下代理啟動的無期限 persistent 監看也會一併停掉。被暫停的代理會立刻回報已取消,不必等到被監看的指令結束或工作階段關閉。
接續在對話壓縮前就啟動的 V1 Workflow 時,會改為說明只讀壓縮後這段紀錄,不再錯報找不到已存歷史。該次執行仍得重新啟動,整個工作階段則能繼續使用。
在保留的工作階段工作樹(Git 讓同一專案平行開多份副本的功能)裡恢復 Workflow 時,會重讀該工作樹的專案 MCP 設定,讓使用者與外掛的 MCP 伺服器保持可用。
官方原文
Pausing a workflow now stops a no-deadline (persistent) monitor that one of its agents started, so the paused agent reports as cancelled right away instead of waiting until the watched command exits or the session ends
Resuming a V1 Workflow that started before you compacted the session now explains that Muse reads only the history from that compaction on, instead of saying saved history is missing; such a run still needs a fresh start, and the session stays usable
A workflow recovery that resumes inside a retained session worktree reads that worktree's project MCP configuration again, so user and plugin MCP servers stay available during the recovery instead of all being withheld
Workflow 子工作重啟與重播狀態修正
半途按快捷鍵介入或重播跑過的流程,主代理跟介面現在都知道實際跑到第幾次、查出了什麼。
你按 r 重啟 Workflow 的某個子工作後,跟你對話的主代理會直接收到通知,知道你重啟了哪一個子工作以及在第幾次嘗試完成,不必只靠子工作自己口述。
把一個 Workflow 取消掉之後,主代理還是會收到已經做完的子工作查到了什麼結果,不會再回報什麼都沒帶回來。
重播已經結束的 Workflow 時,重跑的代理對話裡會繼續顯示正確的嘗試次數,像是 attempt 2/2,不再錯顯示成 attempt 1/1。
官方原文
After you restart a Workflow child with r, the agent you are talking to is told which child you restarted and on which attempt it finished, instead of learning it only from the child's own words
After you cancel a Workflow, the agent is told what the children that had already finished found, instead of reporting that nothing came back
After you replay a finished Workflow, a rerun agent's conversation keeps showing its attempt number (for example attempt 2/2) instead of attempt 1/1
子代理接續指示與失敗提示修正
派出子代理分頭辦事後,無論是接續舊對話還是遇到失敗,交接狀態都變得明確。
接續工作階段時如果換掉了開發者指示,之後新啟動的子代理都會改用新內容,不再沿用一開始開啟工作階段時的舊指示。
子代理還在跑你就先離開、之後再接續工作階段時,主代理會被告知子代理已經取消,對話紀錄也會補上結束列,不會再默默消失。
子代理收尾失敗時,診斷訊息不會再直接蓋到終端機介面的輸入框上。父對話會顯示和結算失敗一樣的提示,原本那行仍會留在重新導向的標準錯誤與本機追蹤檔裡。
官方原文
When a session's developerPrompt is replaced on resume, subagents started after that now use the new text instead of the text the session started with
A subagent whose finish fails no longer writes its diagnostic over the composer while the TUI owns the terminal; the parent conversation shows the same notice a settlement failure shows, and the line still appears on redirected stderr and in the local trace
After you exit while a subagent is still running and later resume the session, the agent is told the subagent was cancelled and the transcript shows its finished row, instead of the subagent silently vanishing
模型連線重試與串流計量容錯修正
連線外部模型偶爾會碰上過載、斷線或回傳怪資料,現在處理得更果斷。
模型服務短暫回報過載時,第一次重試約 1 秒後就會開始,不再讓這一輪白白卡住一整分鐘。
當 OpenAI、Anthropic 或 OpenRouter 端點對串流請求回傳非 SSE 頁面,或資料流因格式錯誤中斷時,這輪會附上真實協定原因快速失敗。它不會再對同一份壞回應重試到逾時。
有些模型一旦被要求給推理摘要,伺服器就會把工具呼叫旁的進度文字丟掉。該工作階段收到第一次這類回應後就會停要摘要,讓進度文字重新顯示。
OpenAI 或 Anthropic 供應商在完成的一輪裡,若使用量區塊裡的 token 計數缺漏、被寫成字串或有其他異常,回答仍會保留。異常計數會比照 Meta 供應商按 0 處理。
官方原文
Muse shows the model's progress text beside its tool calls again on models whose server drops it when reasoning summaries are requested; that session stops asking that model for summaries after the first such response
When the model service briefly reports that it is overloaded, the first retry now comes after about a second instead of stalling the turn for a full minute
When an OpenAI, Anthropic or OpenRouter endpoint answers a streaming request with a non-SSE page, or a model stream breaks with malformed data, the run now fails fast with the real protocol reason instead of retrying the same broken response until the timeout
A finished turn on the OpenAI or Anthropic provider is no longer discarded when the provider's usage block has a missing, string-typed, or otherwise odd token count; the answer is kept and the odd count reads as zero, as it already did on the Meta provider
muse exec 輸出與指令列說明修復
拿 muse exec 接進自動化腳本跑批次任務,外掛開關、說明和最終輸出的準確度都有改善。
muse exec 現在會遵守 plugins.activation 設定,被關掉的外掛(包含 muse-core 在內)不會再把技能加進執行裡。
muse exec --json 結束時就算工作階段還有大批紀錄來不及寫出,輸出也不會被截斷。這能避免後續執行的結果漏掉,甚至拿前一次的結束狀態碼充數。
指令列執行完畢後,如果通知檢查卡住了也不會再扣住結果不放,檢查逾時只會發出一次警告。
muse --help 和 muse exec --help 裡的 --reasoning-effort 說明不再寫成 Meta 限定。預設推理力度是 high,或 Meta 提供的最高推理力度檔位;其他供應商的互動工作階段則預設為 none。
官方原文
muse exec now honors plugins.activation: a plugin turned off, including muse-core, no longer adds its skills to the run
Prevent a stalled notice check from withholding a completed CLI run result; warn once when the check times out
The --reasoning-effort help in muse --help and muse exec --help no longer calls the setting Meta-only and names both defaults: high (or Meta's top served tier) and none in interactive sessions on other providers
muse exec --json no longer cuts its output short when many records were still unwritten as the session finished; the lost lines could include a later run's result, and the exit status then came from an earlier run
外掛掛鉤路徑與追蹤匯出報告修正
檢查外掛設定、追查工具紀錄或匯出使用數據,現在給出的路徑與時間都貼近實況。
muse plugins validate 與外掛安裝報告遇到掛鉤問題時,會直接點名出錯的那個掛鉤檔而不是指著它的清單檔。無論是不支援的事件、格式錯誤的處理器或被忽略的 silent 鍵,報出來的路徑就是該打開修改的檔案。
在 Linux 和 macOS 上,SKILL.md 檔案過大的警告會報出實際超過上限多少,不再永遠只寫超出 1 位元組。
muse trace inspect 檢查重播舊工具呼叫的請求時,不會再報出由工具名稱造成的位元組差異;不過舊版錄下的工作階段紀錄還是會看到。
muse export 報告的工作階段運行時間現在涵蓋整個 Muse 行程,包含啟動與接續在內,不再每個工作階段重新起算。
官方原文
On Linux and macOS, a too-large SKILL.md warning now says how far over the limit the file really is, instead of always one byte over
muse plugins validate and the plugin install report now name the hook file that holds a hook defect (an unsupported event, a malformed handler or an ignored silent key) instead of the manifest that points to it, so the reported path is the file to open
muse trace inspect no longer reports a byte difference caused by tool names for a request that replays earlier tool calls; sessions recorded by an earlier version still show it
The session uptime that muse export reports now covers the whole Muse process, including startup and resume, instead of restarting for each session
工作樹分支衝突與基準參數檢查更清楚
準備另開一條工作分支平行寫程式,遇到撞名或基準點對不上時,提示不再含糊帶過。
啟動工作階段工作樹時,要是那個分支已經在別的工作樹被簽出,會直接失敗並點名是哪個工作樹佔著它,不再丟出夾帶原始 Git 訊息的籠統錯誤。
如果用既有分支對應的 ID 建工作樹,你又額外指定了不是該分支末端的 --worktree-base,現在會直接拒絕。它會列出分支名稱與後續做法,不再默默開在該分支上卻把參數丟掉。⟦跟租共用車位一樣,以前車位早被開走卻只丟一張「停不下」的模糊紙條,甚至擅自把你預約的時段抹掉;現在直接告訴你誰停在裡面,參數對不上也當場講明怎麼改。⟧
官方原文
Starting a session worktree whose branch is already checked out in another worktree now fails with a clear message that names the worktree holding it, instead of a generic setup failure that quoted raw Git output
A session worktree created for an id whose branch already exists refuses an explicit --worktree-base that is not that branch's tip, naming the branch and the ways on, instead of starting on the branch and dropping the flag
Windows 與 Linux 沙盒與行程修復
Windows 與 Linux 使用者執行隔離指令或關掉背景 PowerShell,環境銜接與掃尾更完整。
Windows 上的 muse serve 與 muse acp,只要沙盒設定完成就能正常跑沙盒指令,不再報錯 "setup has not run"。而 muse serve 也會正確回報沙盒可用。
同樣在 Windows,在沒開沙盒也沒有 tty 的情況下停止背景 PowerShell 工作階段時,它所啟動的其他程式也會一併結束,就算外殼本身早就先退出了也一樣。
Linux 上的沙盒指令現在只會定位一次佔位登錄位置,就算啟動當下才冒出個人執行期目錄,也不會讓原本禁止的路徑失去保護,或誤擋同一位使用者的其他沙盒指令。
官方原文
On Windows, sandboxed shell commands in muse serve and muse acp now run once sandbox setup is complete, instead of failing with "setup has not run", and muse serve reports the sandbox as available
On Windows, stopping a background PowerShell session run without the sandbox and without tty now also ends the programs it started, including after its shell already exited
On Linux, a sandboxed command now finds its placeholder registry once, so a per-user runtime directory that appears while the command is starting no longer leaves one of its denied paths unprotected or refuses another sandboxed command of the same user
無異動的掛鉤空跑不再寫入紀錄檔
掛鉤裝多了,以前就算什麼也沒改動也要寫進工作階段紀錄檔佔空間。
工具呼叫後、整批工具呼叫後或子代理啟動時跑的掛鉤,只要結束碼是 0、標準錯誤只有空白、沒有系統訊息、沒有錯誤也沒有任何效果,就算有印出標準輸出也不再留紀錄。其他情況會在結束時記錄。
送出提問時觸發的掛鉤,結束碼為 0、標準錯誤只有空白,且沒有新增上下文、攔截、改寫、系統訊息或錯誤,才不留紀錄。略過這些無異動紀錄能省下硬碟空間,其餘照舊記錄。⟦就像大廈警衛巡邏簽到,以前每經過一扇鎖得好好的門也要寫一張長報告;現在一切安好就不必浪費紙張,真有開門或異狀才落筆登記。⟧
官方原文
A hook that runs after a tool call, after a batch of tool calls or when a subagent starts no longer leaves a record in the session log when it exits 0, writes nothing but whitespace to stderr, returns no system message, has no error and has no effect, even if it prints to stdout, so sessions with many hooks take less disk; any other run of these hooks is recorded when it ends
A hook that runs when a prompt is submitted no longer leaves a record in the session log when it exits 0, writes nothing but whitespace to stderr and adds or changes nothing (no context, block, rewrite, system message or error), so sessions with many prompt hooks take less disk; any other run of these hooks is recorded as before
SDK 連線檢查與工作階段協定更新
開發者把自家工具接上這套引擎時,連線前的版本相容檢查與任務結束後的摘要整理,這版都做了調整。
啟動 TypeScript SDK 連線時,現在可以設定拒絕連上宣告過破壞性協定變動的主機;預設仍會照常連線,並提供方法回報差異的層級。
工作階段協定的完成紀錄與指令列項目可附上順序位置資訊,用來維持完成時的排列順序。
背景任務、監看或排程結束後透過 SDK 要求摘要時,現在會總結那件剛完成的任務,不再誤拿你更早以前的訊息來摘要。
工作階段協定在接續發生錯誤時,不會再把已經修復過的紀錄檔說成未曾修改。
官方原文
The TypeScript SDK can refuse to connect to a host whose protocol schema moved by a declared breaking change: pass refuseDeclaredBreakingSchema: true when spawning; by default the connection goes ahead and classifyServedSchema(initializeResult.schema) names the mismatch's tier
Session protocol completion and shell items can include terminalRowBeforeItemId to preserve completion order
A recap requested through the SDKs after a background task, monitor or scheduled task finishes now summarizes that work instead of your earlier message
Session protocol resume errors no longer claim a repaired log was unchanged