Muse Code 1.4.16
Highlights in this release
New 10
Editors can invoke Muse directly through default-on muse acp
When you want an agent's help directly inside your editor, having to open an interface by hand first often adds an extra step. Now muse acp is turned on by default, so editors that support the Agent Client Protocol (a standard way for editors and agents to communicate), such as Zed, can run Muse directly as their agent. When you open Zed to edit your notes or code, you can assign tasks to Muse right away without flipping another switch, though this surface is still experimental and may change in a later release. ⟦A newly bought device ships with a universal adapter already plugged in—previously you had to wire it up and flip a switch to pair, whereas now any editor with that same socket connects right away.⟧
Original changelog
muse acp is on by default, so editors that support the Agent Client Protocol (like Zed) can run Muse as their agent; the surface is experimental and may change in a later release
Turn off developer prompts with prompt.surfaces and blank settings
When starting a conversation, turning off only part of the default prompts used to be hard to tailor piece by piece. Add prompt.surfaces (with an optional default) to global or project settings, or override it in session settings, to turn off specific developer-prompt blocks by ID. Five protected blocks stay on for now; an unrecognized ID in settings is skipped with a startup notice, while sending an unknown ID directly from a session is refused. When you want a focused writing session to opt out of Muse's built-in developer context completely, set developerPrompt to null or an empty string in that session's config. ⟦Like checking custom options when ordering a meal, fixed toppings used to arrive all at once on the plate, whereas now you can remove unwanted items by number or skip the default base altogether.⟧
Original changelog
A prompt.surfaces setting turns developer-prompt blocks off by id (with an optional default) in global or project settings, and per session through session settings overrides; the five protected blocks stay on for now, and an unknown id is skipped with a startup notice (refused when a session sends it)
Setting developerPrompt to a null or empty value in a session config now opts that session out of Muse's own developer context
Reopened terminal sessions save and apply updated developer instructions
If you paused a conversation and wanted to change its background guidelines before continuing, reopening the session used to keep the old instructions. Muse now records developer instructions each time a session starts, so when you edit run.developer_prompt in your settings and reopen the session in the terminal with --resume, --continue, or tbh exec --session-id, it saves the new text and applies it from the next turn. On a session whose developer instructions were created or updated by this release, a remote send, open, list, or poll made while a run is in its first step may wait until that step's checkpoint finishes, never past the call's own deadline. Other existing sessions are unaffected, though sessions created now cannot be opened by an older build that has this feature turned off. ⟦Think of filing guidelines at the check-in counter before boarding: updating them and checking in again switches to the new version, remote inquiries wait briefly for the checkpoint before the first step of takeoff finishes, and older gates cannot read the new file yet.⟧
Original changelog
Muse now records each session's developer instructions when it starts. When you reopen a session in the terminal (--resume, --continue or tbh exec --session-id) after changing run.developer_prompt in your settings, Muse saves the new text and uses it from the next turn. On a session whose developer instructions were set by this release's start or update, a remote send, open, list or poll made while a run is in its first step can wait until that step's checkpoint, never past the call's own deadline; other sessions see no change. Sessions created now cannot be opened by an older build that has this off
Trim saved state and memory use for long sessions with many subagents
When picking up a long-running conversation that spawned many subagents to split the work, reopening the screen used to feel sluggish and take ages to show a reply. ⟦On a mountain hike, packing empty ration wrappers into a recycling bag lightens the load—instead of carrying every empty box on your shoulders and growing heavier, you keep only the supplies still needed along the trail.⟧
Long sessions that start many subagents no longer stop saving checkpoints: once a subagent finishes and the main agent has read its result (for example by waiting for it to finish), it automatically drops out of the saved session as soon as the conversation stops mentioning it, even if nobody closed it manually.
Resuming a long session uses less memory because each tool-task record kept in memory is smaller.
Reply display delays after resuming sessions with long subagent histories are also reduced.
Resuming a session with many finished subagents uses less memory and less work when first reading each of them, because a finished subagent's tool history is no longer copied into the bookkeeping that tracks subagent attempts.
Original changelog
Long sessions that start many subagents no longer stop saving checkpoints: a subagent that finished and whose result the main agent already read, for example by waiting for it, now drops out of the saved session once the conversation no longer mentions it, even if nobody closed it
Resuming a long session uses less memory, because each tool-task record kept in memory is smaller
Reduce reply display delays after resuming sessions with long subagent histories
Resuming a session with many finished subagents uses less memory and does less work when it first reads each of them, because a finished subagent's tool history is no longer copied into the bookkeeping that tracks subagent attempts
Session Protocol Adds Status, Error, and Receipt Fields for Clients
When building your own interface, the session protocol now gives clearer signals for tracking background progress or failure causes in real time.
When the parent session is open on the same server, reading a subagent via session/read now includes modelTurnRunning to indicate whether a model turn is still running.
TurnErrorKind adds two non-retryable types: reasoningReplayRefused for chats that cannot continue after a model switch, and contextOverflow for exceeding the context window; existing matches are caught by their default branch.
While Bash titles are enabled, a shell command toolCall carries a short, display-safe bashTitle so rows can be labeled without parsing the model's raw text.
Body-completion receipts arrive as dedicated history rows, preserving the results and expansion state of timed-out, steered, or compacted tool bodies.
Original changelog
session/read of a subagent session now carries modelTurnRunning, which says whether the subagent is still running a model turn, when its parent session is open on the same server
TurnErrorKind gains reasoningReplayRefused (a chat that cannot continue after a model switch) and contextOverflow (a turn that cannot fit the model's context window), both not retryable, so session-protocol clients can tell these two failures apart; existing matches receive them in their catch-all arm
A session protocol toolCall item of a shell command now carries a short, display-safe title for the command (bashTitle) while Bash titles are on, so a client can label the row without parsing the model's raw text
Body-completion receipts now reach session-protocol clients as dedicated history rows, so a timed-out, steered, or compacted-away tool body keeps its result and expansion state on the client instead of dropping them
TypeScript SDK Supports Passing a Fake Host Function for Testing
When writing tools that integrate the TypeScript SDK, requiring a real muse process for every test makes local verification cumbersome. ⟦Pilots practice takeoffs and landings in a ground cockpit simulator rather than rolling a real aircraft onto the runway every time an instrument needs checking.⟧ Both MuseClient.spawn and spawnMspConnection now accept a spawnFn option, letting you run handshakes and sessions against an in-memory fake host. When you are ready to test the connection flow between a client and a tool, you can wire up a fake host through spawnFn and run the full session interaction in memory without starting a real muse process.
Original changelog
TypeScript SDK: MuseClient.spawn and spawnMspConnection accept a spawnFn option, so you can run the handshake and sessions against an in-memory fake host instead of a real muse process
Sessions on Specific Hosts Can Adjust Sandbox and Network at Start Under Policy
If a client needs a session to run in a less restricted environment, that permission can now be requested right at connection time. On a host started by muse serve --per-session or muse attach --stdio, as long as the client opts into the experimental API, a session can turn off its sandbox (an isolated, secure execution environment) or open its network at session/start, provided it stays within what managed policy allows. In scenarios where a team permits network access to specific resources, the client can complete this adjustment directly during startup. ⟦Entering a building lab to request external network access and lift isolation works the same way: even with an experimental project pass in hand, what you can toggle is still limited by management rules.⟧
Original changelog
A session on a host that muse serve --per-session or muse attach --stdio starts can turn its sandbox off or open its network at session/start, within what managed policy allows, when its client opts into the experimental API
Reopen Normally After Startup Interruption or Crash and List Cancelled Calls
If a session is interrupted during startup or the program suddenly crashes, the worst part of resuming is neither getting back in nor knowing where things stopped. Sessions interrupted during startup now reopen normally instead of failing. When resuming a session after a crash, a notice is shown listing the calls that the crash cancelled; if an abnormal-exit notice prints, this list is joined to it, and otherwise it appears on its own as a warning. ⟦Restarting a workstation after a power outage works much the same: it no longer freezes at boot just because the last startup was cut short, and the screen prints a slip listing the calls forced to cancel when the power went out.⟧
Original changelog
Resuming a session after a crash now shows one notice listing the calls the crash cancelled, joined to the abnormal-exit notice when one prints, or on its own as a warning when it does not
Sessions interrupted during startup now reopen normally instead of failing
Running /goal resume Shows Answers Directly Without Reopening the Conversation
When you use the goals feature to organize project highlights and are waiting for a command's answer, having to reopen the original conversation just to view the result adds an extra step to your workflow. After running /goal resume, you can now see that command's answer directly without reopening the conversation. ⟦Waiting at a service counter for a reply illustrates this well: previously you had to push open the door back into the reception room to hear the response, whereas now you can hear it right at the counter without opening the door you just walked out of again just to get that answer.⟧
Original changelog
Show answers from /goal resume without reopening the conversation
Message Approval Previews Preserve Comparison Operators and _ Characters
Before approving a message for the agent to send, the preview on your screen is your only basis for checking whether any text went wrong. If the outgoing content contains comparison operators (such as < or > symbols for checking size) or terms with _ characters like user_name, message approval previews now preserve those symbols and _ characters intact. ⟦Print-shop proof sheets work the same way: before a press run, you rely on a proof sheet where greater-than, less-than, and _ marks used to go missing, and now every mark stays printed on the page for you to verify character by character.⟧
Original changelog
Message approval previews preserve comparison operators and underscores
Fixed 13
Session language pin now declared from first output based on user messages
When a project mixes in lots of English code or terms, you might worry that replies will be swayed by those words into the wrong language. ⟦Picture a hotel front desk listening directly to what the guest speaks and replying in kind rather than guessing from English notes in a passport holder or luggage tags, getting the greeting right from the first word and defaulting to English before the guest speaks.⟧ On eligible main runs, Muse now explicitly states your session language pin (which locks the reply choice for this conversation) from the first visible output. This language setting is derived deterministically from the messages you send in the session, rather than inferred from names, code, or tool output. When your input carries no clear language signal yet, English is used as the default.
Original changelog
Muse now states your session language pin on eligible main runs from the first visible output, deriving the pin deterministically from your own messages in the session (English when your input carries no language signal yet) instead of inferring a language from names, code, or tool output
Stricter checks before editing and pausing to ask when blocked
When handing a project to an agent to investigate or fix, it is frustrating if it jumps too quickly to saying a file is missing or forces its way around limits. ⟦A seasoned plumber inspecting a house checks other corners before saying a pipe is missing, confirms which unit filed the report, and retries under the original conditions before touching a wrench, stopping to ask the homeowner rather than routing around a building rule or shutoff valve.⟧ Muse now verifies each step more carefully before acting: it tries other spellings and wider paths before saying something does not exist, confirms which copy of the code a report points to before fixing it, and reruns named failing tests in the setup where they failed. It also reads the repository's own history and upstream branch while investigating. If a change is forbidden or gated by a repository rule, or if a network policy blocks a step, it stops to ask you instead of routing around it.
Original changelog
Muse checks its work more carefully: it tries other spellings and wider paths before saying something does not exist, finds which copy of the code a report is about before fixing it, reruns named failing tests in the setup they failed in, asks before a change a repository rule forbids or gates, reads the repository's own history and upstream branch, and stops to ask when a network policy blocks a step instead of routing around it
Results built elsewhere are added directly to the requested spot
Sometimes you ask an agent to produce something, and it builds the result somewhere other than where you first asked, leaving you to confirm one more time before moving it over. Now even if Muse builds a result in a different screen, tab, page, or file, it will not stop to ask whether to move it, and instead finishes the work and adds it directly where you asked. When you are writing a report or organizing notes and ask for a section to be added to a specific file, you see it land in place without having to reply "yes, put it in." ⟦Compare that to asking someone to put sorted papers into a specific drawer: before, they left them on the dining table and asked whether to move them, whereas now they place them straight into the drawer before wrapping up.⟧
Original changelog
Muse keeps working when it built a result somewhere other than the screen, tab, page, or file you named, and adds it where you asked instead of offering to
Long sessions request shorter replies when nearing capacity
Nothing spoils the wrap-up of a long conversation packed with pasted material like suddenly hitting a capacity wall. ⟦When packing a carry-on approaches the size limit, staff no longer turn away the whole bag and instead ask you to pick only the most compact items for the remaining space.⟧ Previously, a long session stopped with an error whenever its input plus requested output exceeded the model's context window (how much text a model can handle at once). Now, when the context window is nearly full, Muse asks the model for a shorter reply so the session can keep going without stopping.
Original changelog
A long session no longer stops with an error that its input plus the requested output exceeds the model's context window: when the window is nearly full, Muse asks the model for a shorter reply instead
Compacted screenshot-heavy sessions keep up to about eight recent originals
Debugging or designing often fills a conversation with screenshots, and compacting those sessions used to skip saving a checkpoint, leaving you with nowhere to resume. Now when compacting a session whose recent turns hold many full-size images (such as screenshots), it saves its checkpoint in most cases so you can resume from that point. The compacted context keeps up to about eight recent full-size images as they are; older images are summarized, and if a single batch has more than eight, that entire batch is summarized too. ⟦Sorting a travel photo album used to stall the whole archive whenever it was packed with high-resolution shots, whereas now you can keep a portion of recent originals and turn older photos—or any single batch over eight—into summaries.⟧
Original changelog
Compacting a session whose recent turns hold many full-size images, such as screenshots, now saves its checkpoint in most cases instead of skipping it, so the session can resume from that point; the compacted context keeps up to about eight recent full-size images as they are; older images, and a single batch of more than eight, are summarized
Compacted sessions keep goals and background recovery when forked or reopened
After a session is compacted, both branching off a new conversation and reopening it to continue used to break at the handoff. ⟦Imagine binding long notes into a condensed booklet: splitting off a new copy or flipping back through pages used to drop sheets and lose track, whereas now key indexes and trip records stay intact inside.⟧
Forking a compacted session in muse serve (including any subagent started from it) no longer fails as a malformed session log even when later turns' instructions live only in the compaction checkpoint.
Forking a resumed session that has a goal now succeeds without error even if the session was compacted mid-turn.
Background agent recovery is now preserved after compacting and reopening a session.
Original changelog
On a muse serve session that has compacted, forking the conversation, including a subagent that starts from it, no longer fails as a malformed session log when a later turn's instructions are kept only by the compaction checkpoint
Preserve background agent recovery after compacting and reopening a session
Forking a resumed session that has a goal no longer fails when the session compacted in the middle of a turn
Clarify Workflow Cancel Refusals and Preserve Pause and Resume State
When a workflow cancel was refused, paused, or resumed, it was previously hard to tell why it failed or your limit settings would be lost.
When muse serve refuses to cancel a workflow, the new stopRefusal field in the error message now names the exact refusal reason, such as stale_revision.
If canceling a workflow hits a session storage error, muse serve now formally refuses it with a reason instead of returning an internal error.
When resuming the same Workflow, the user's limit on tokens (text units for AI processing and billing) is preserved intact.
When pausing a workflow, unfinished background work is no longer misreported as a missing result. Previously, cancel errors only showed an internal error and pauses reported missing results, whereas now every case is clearly explained and preserved.
Original changelog
A workflow cancel that muse serve refuses now names the exact stop refusal in the error's new stopRefusal field, for example stale_revision
A workflow cancel that hits a session storage error is now refused with a reason by muse serve instead of failing with an internal error
Resuming the same Workflow preserves the user's token limit
Pausing a workflow no longer reports unfinished background work as a missing result
Fix Message Queuing, Take-Back, and Interrupt Retries While Busy
When an agent was busy handling a task, new instructions, interruptions, or stop signals you sent often got stuck in handoff gaps. ⟦Consider a packed coffee counter: even if an order takes a moment to confirm, the ticket is not handed back to the customer, a cancellation at a jammed counter waits briefly before asking you to retry, and a call to stop is echoed again so work actually halts.⟧
A message sent or queued while the agent is busy no longer shows "steer failed" and returns to the input box if the agent is slow to confirm it; instead, it stays queued and is delivered once.
Messages used to interrupt a subagent stop showing as queued once the replacement subagent starts.
In muse serve, if a stuck session's command queue is full and you try to take back a queued message, it no longer waits until the session recovers and instead returns a retryable busy error after 30 seconds.
When you press Stop, if the host says it is busy, Stop sends the interrupt signal again so the running turn actually stops instead of continuing.
Original changelog
In muse serve, taking back a queued message on a stuck session whose command queue is full now fails after 30 seconds with a busy error you can retry, instead of waiting until the session recovers
Messages that interrupt a subagent stop showing as queued when its replacement starts
Stop sends its interrupt again when the host says it is busy, so the running turn stops instead of running on
A message sent or queued while the agent is busy no longer shows "steer failed" and comes back to the input box when the agent is slow to confirm it; it stays queued and is delivered once
muse serve Supports Symlink Workspaces to Load Custom Agents
Many people keep project folders on another drive and link them into their working directory with a shortcut, which previously caused muse serve to block the session at the door. Now, as long as a trusted workspace path is a symlink (a shortcut file pointing to another location) to a folder, muse serve starts the session and loads the project's custom agents normally instead of failing with "source root is a symlink". ⟦Placing a shop entrance in a corner passageway used to make the guard reject deliveries upon seeing a corridor behind the sign, but once confirmed as trusted, the store's dedicated team is now let right in.⟧
Original changelog
A muse serve session whose trusted workspace path is a symlink to a folder now starts with the project's custom agents instead of failing with "source root is a symlink"
Reinstalling a Plugin While in Use No Longer Fails on Permission Differences
Trying to reinstall a plugin while a session was still using it often hit a wall because the execution environment differed. ⟦Replacing maintenance parts on a building elevator works the same way: if the only difference is slightly different inspection permissions set by morning and night technicians, the elevator is not halted on the spot, but allowed to finish its current trip safely and swapped out at the next service after all passengers exit.⟧ Now, if two installs differ only in the permissions of the plugin's top folder due to different runtime umasks (environment masks that set default permissions for new files)—such as one from a background service and one from a terminal—reinstalling no longer fails. The copy in use is left alone for now and replaced at the next install after those sessions end.
Original changelog
Reinstalling a plugin while a session is using it no longer fails when the only difference is the permissions of the plugin's top folder, which can differ when installs run under different umasks (for example one from a background service and one from a terminal); the copy in use is left alone and replaced at the next install after those sessions end
Session Log Flush Degraded Note No Longer Goes Missing After Earlier Save Failures
If a save failed mid-turn, the warning note that was supposed to appear at the end previously vanished in several scenarios. Now, the "session log flush degraded" note at the end of a turn no longer goes missing. Whether a checkpoint flushed the session log mid-turn after an earlier save failure, or the turn sent a video or settled a tool approval that waited across a restart after a save failed, the warning still stays at the end of the turn. ⟦Bookkeepers reconciling daily accounts do the same thing: as long as a ledger write failed earlier that day, regardless of mid-day catch-up entries or later videos and overnight sign-offs, the warning slip still remains at the bottom of the page at closing.⟧
Original changelog
The "session log flush degraded" note at the end of a turn no longer goes missing when a checkpoint flushed the session log after a save had failed earlier in the turn
The "session log flush degraded" note at the end of a turn no longer goes missing when a save failed earlier in the turn and the turn then sent a video or settled a tool approval that waited across a restart
Session Index Under Non-UTF-8 Paths No Longer Hangs Shutdown
When placing the sessions folder under a path with non-UTF-8 characters, shutting down the program previously got stuck in an endless loop. ⟦Car navigation systems hitting an unreadable garbled street name behave similarly, endlessly recalculating the route in place and refusing to power down, whereas now such odd paths no longer trigger endless recalculation.⟧ When the sessions folder is under a path that is not valid UTF-8 (a common computer text-encoding standard), the session index previously kept rewriting itself forever and hung the shutdown step. That bug is fixed, and the session index no longer rewrites itself endlessly or hangs shutdown.
Original changelog
Session index no longer rewrites itself forever and hangs shutdown when the sessions folder is under a path that is not valid UTF-8
Terminal Program Status Returns to Idle After Background Turns Complete
After one of your own turns failed, a terminal's status indicator previously stayed stuck on the old error even when subsequent background schedules finished cleanly. In terminals that support showing program status (OSC 7501, a control specification for receiving status signals), the status now returns to idle when a scheduled or other background turn completes after your original turn failed, rather than displaying that old error again after every background turn. ⟦A washing machine's panel light works the same way: after a spin-cycle fault turned it red once, every later automatic drying cycle in the background used to flash that same old fault light again, whereas now it switches back to standby once the background cycle finishes.⟧
Original changelog
Terminals that show program status (OSC 7501) now return to idle when a scheduled or other background turn completes after one of your turns failed, instead of showing that old error again after every background turn