Expand description
Broker events with a typed payload (docs/specs/SPEC_TYPED_EVENT_PAYLOADS_2026_10_13.md).
Each event is a marker type naming its wire name and its payload type, declared once in the
events! list below. That list is also the schema: schema() (exported to
frontend/types/rpc/event-schema.json) feeds the generated MuxEventPayloads map, so the
frontend’s onMuxEvent(WpsEvent.X, (data) => …) gets data as the Rust type. Publish one with
Broker::publish_event. An event not listed here is still
published as a plain MuxEvent with untyped data.
An event sent under a name per id (agent:memory:changed:<agent id>) is a PerIdEvent,
declared in the per_id_events! list by the name before the id, and published with
Broker::publish_event_for.
Structs§
- Account
Availability - An account episode opened, changed or closed (
server::account_episodes). - Agent
ApiRetry - A Claude CLI request is being retried, or no longer is.
- Agent
Content Changed - An agent’s stored content changed (
setagentcontent). - Agent
Context Usage Changed - Where an agent’s CLI auto-compacts.
- Agent
Credentials Revoked - An agent’s provider login was unlinked (
agentcredentials:revoked:<agent id>). - Agent
Endpoint Notice - An agent’s model server was changed through
Agents env_set, or the change was undone: the agent’s pane and My Agents say so, with an Undo for a short while (backend::endpoint_notice). - Agent
Event Stream - An agent pane’s output, translated (
agent_event:<block id>). - Agent
Failed - An agent failed, classified (
agents::failure). - Agent
Grants - The agents the person said “Always” to, after a change (
backend::agent_grants). - Agent
Hidden Changed - An agent was hidden from, or shown to, the paired devices (
viewer.agent-hidden). - Agent
History Changed - An entry was appended to an agent’s history.
- Agent
Identities Changed - An agent’s identity links changed (
agentidentities:changed:<agent id>). - Agent
Input History Changed - An agent’s input history or draft changed (
app_api::input_history). - Agent
Instances Changed - A definition’s instances changed (
agentinstances:changed:<definition id>). - Agent
Memory Changed - An agent’s native memory files changed (
agent:memory:changed:<agent id>). - Agent
Message Accepted - A queued message reached the agent.
- Agent
Message Queued - A message reached srv while the agent’s process was still alive, so it waits for it to end.
- Agent
Notice - An agent’s start of an agent (or another act the person may stop): a one-line notice or a countdown card, and its end (
sagas::agent_notice). - Agent
Process Added - A process joined an agent pane’s tree, or left it (
process_tracker::registry). - Agent
Process Exited - Agent
Progress - An agent’s checklist and current tool (
reactive::progress_watcher). - Agent
Progress Event agent:progress: an agent’s checklist and the tool it is running.- Agent
Reactive Registered - A reactive agent pane registered, or went (the Swarm refreshes).
- Agent
Reactive Unregistered - Agent
Resume Retry - A stale
--resumeis being retried, or the retry resolved. - Agent
Runtime - What an agent process runs with, and whether a restart is pending.
- Agent
Runtime Changed - An agent’s runtime state changed (
agentruntime:changed:<agent id>), the whole row. - Agent
Shutdown - One line of a closing agent pane’s shutdown log (
sagas::close_pane::publish_shutdown). - Agent
Shutdown Pending - A shutdown waiting for the user to keep the agent, and its end (
sagas::pending_shutdown). - Agent
Shutdown Pending Cleared - Agent
Skills Changed - The skills installed for an agent changed.
- Agent
Turn - An agent’s turn ledger changed (
blockcontroller::health::ledger_publisher). - Agents
Changed - The agents list changed.
- Ambient
Narration - A line of narration for an agent pane (the narrate route).
- Ambient
Narration Event ambient-narration: a line to show in an agent pane.- Ambient
Spent - What one ambient model call spent (
ambient::spend). - AppDesktop
- Agents’ requests to drive a native app, and the grants in force (
desktop_gate). - AppServer
Output - One protocol frame from an app-server agent (
app_server_controller). - AppUpdate
Status Changed - What srv knows about newer releases changed (
update::check). - AppUpgrade
Requests - Agents’ upgrade requests waiting for the user (
upgrade_request). - Attachment
Batch Done - Attachment
Failed - Attachment
Progress - An attachment batch’s progress, per item (
backend::attachments). - Attachment
Ready - Audit
Changed - An Audit row was written (
audit_live): at most one event per 100 ms; a pane asksaudit.queryfor the newest rows. - Background
Task Updated - A pane’s background tasks changed; the dashboard reads the list again.
- Block
Activity - An agent pane’s activity, from its terminal title (
mps::publish_block_activity). - Block
Activity Event block:activity: what an agent pane is doing, from its terminal title.- Block
File - A block file changed: terminal output, an agent transcript append (
blockcontroller). - Block
RefEvent - An event about one pane:
background-task-updated,mcp:observed,agent:reactive-(un)registered. - Block
Reveal - Tell a window’s renderer to reveal a block (
notify::router). - Block
Stats - One pane’s process-tree stats sample (
sysinfo). - Browser
Grants Changed - A standing browser grant was added, changed or revoked.
- Browser
Pause AllChanged - “Pause all agent browsing” was turned on or off (
browser_pause_all). - Browser
Profiles Changed - A browser profile was created, changed or deleted.
- BtwAnswer
Chunk - One streamed piece of a side question’s answer (
agent_handlers::side_question). - BtwAnswer
Chunk Event btw_answer_chunk: one event of a side question’s answer.done(notevent.type) says the answer is complete.- Capture
Mask - A
UIwindow capture is about to take (begin) or has taken (end) its frame: every window answers with the rectangles of its private and secret panes,capture.mask.report(sagas::capture_mask). - Capture
Mask Event capture:mask: aUIwindow capture asks every window for the rectangles of its private and secret panes, once just before the frame (begin) and once just after (end) (docs/specs/SPEC_DEEP_LINKS_ONE_FRAMEWORK_2026_11_20.md §7, G5). Each window answerscapture.mask.report.- Checks
Flow - The checks of a PR’s head commit passed or failed (
pr_flow): ids, a state and times, never a log. - Compaction
Started - Claude Code began compacting (
agentmux-bashwrap precompact). - Config
- The full config, redacted for the renderer: on connect, and when it changes.
- Config
Event config: the full config, redacted for the renderer.- Conn
Change - A connection’s status changed (
backend::remote::status). - Connectivity
Changed - A service’s reachability changed (
connectivity). - Container
Runtime Changed - The container runtime appeared, went away or changed (
container_status). - Container
Status Changed - One of this machine’s agent containers changed (
container_status): names and states, nothing from inside it. - Controller
Status - A block controller’s runtime status (
publish_controller_status). - Credentials
Revoked Event agentcredentials:revoked:<agent id>: the agent still holds the provider’s tokens until it restarts.- Cron
Changed - Scheduled jobs changed.
- Deep
Link Open - An agent’s deep-link open that srv’s guard let through, for the window that holds the caller’s tab to carry
out; it answers with
deeplink.open.done(sagas::deeplink_open). - Deep
Link Open Event deeplink:open: an agent, or the operating system, asked to open a deep link and srv’s guard let it through (docs/specs/SPEC_DEEP_LINKS_ONE_FRAMEWORK_2026_11_20.md §4.2). The window named bywindow_id(or, with none, the one the person last used) carries it out with the app’s executor and answersdeeplink.open.done. Every field is srv’s own: the link is the canonical form srv parsed, never the agent’s text.- Dispatch
Activity - A workflow dispatch’s coalesced new events.
- Dispatch
Updated - Dock
Clear muxspect dock clearremoved a node from a pane’s dock.- Dock
Clear Event dock:clear: the dock node to remove.- Drone
Run - One step of a drone run (
dronerun:<run id>). - Drones
Changed - The drones changed.
- Editor
File Changed - A file an editor pane shows changed on disk.
- Events
Dropped - srv dropped events for this window (its WebSocket lane was full): it re-fetches what it shows.
- File
Renamed - A file or folder got a new name through
fs.rename: documents open on it follow. - File
Renamed Event fs:renamed: a file or folder renamed throughfs.rename, whoever asked (a document tab, the Editor’s tree, the Files pane). Sent to every window, so each Editor moves its tabs on the old path to the new one.- Files
Changed - A folder a Files pane lists changed.
- Files
Changed Event files:changed: the folder that changed, as the Files pane shows it.- FilesOp
- A copy/move/delete job’s progress (
fs_ops::jobs). - Fleet
Broadcast Progress - One more delivery of a paced broadcast has ended (
server::app_api::fleet_pacing). - Floater
Place - What an agent asked for a floating pane (SPEC_AGENT_PANE_PLACEMENT_FLOATING_2026_11_22.md §2.1, §3). The
window resolves it against the work area of its own monitor and answers with
pane.floatplaced. - Folder
Overlap Asks - The agents’ asks for the person’s go-ahead with a host agent that shares a folder with a container agent.
- Folder
Overlap Asks Event folderoverlapasks: the asks now waiting for the person.- Google
Notice - An agent changed a Google account (a grant, a disconnect): a notice naming it, asking nothing.
- History
Sessions Changed - The History pane’s agent list may have changed: a transcript grew, a conversation was archived,
or a fork took a copy of its parent’s (at most one per two seconds;
backend/history_changed.rs). - Identity
Accounts Changed - The provider accounts changed.
- Identity
NoDirect Links - An agent instance’s identity has no direct links (
identity::resolver::inject); a diagnostic. - Incident
Event incident:recorded: an incident, asagentmux_common::incidents::Incidentand the window’s notice carry it.- Incident
Recorded - An incident srv recorded (
backend::transcript::damage): the window shows its notice now. - Install
Chunk - One line of an install’s output, or its end (
install.start,system.install). - Install
Progress - A line of an agent CLI’s install progress, for its pane (
mps::publish_install_progress). - Install
Progress Event install_progress: one line of install progress.- Jekt
Held - The messages held for agents changed in count (
server::jekt_held_summary). - Jobs
Changed - The run ledger, or Pause all, changed (the Warden Jobs tab).
- Jobs
Changed Event jobs:changed: the job whose runs changed, or""when every job may have (Pause all), so an open history reloads only for its own job.- LanInstances
- The LAN peers this instance sees (
lan::discovery). - LanInstances
Error - LAN discovery couldn’t start, or a daemon rebuild failed.
- LanInstances
Firewall - The OS firewall’s verdict on LAN peers reaching this machine (
lan::firewall). - LanInstances
Health - Whether this instance is discoverable on every LAN interface (the mDNS watchdog).
- LspMessage
- One message from a language server (
lsp::supervisor). - LspMessage
Event lsp:message: one JSON-RPC message from a language server, as it sent it.- McpChanged
- The MCP servers changed.
- McpObserved
- A pane’s reported MCP servers changed (
mcp_observed). - Measure
Panes - Ask a window how big its docked panes are drawn, for
Pane layout(server::pane_measure). - Measure
Panes Event measurepanes:Pane layout’s question how big a window draws its docked panes. Sent to that window, which answers withpane.floatplacedandsizes(SPEC_AGENT_PANE_PLACEMENT_FLOATING_2026_11_22.md §2.3).- Media
File Changed - A file a media pane shows changed on disk.
- Memories
Changed - Memory entries changed.
- Merge
Flow - A PR was merged (
pr_flow): ids, a state and times. - Message
Flow - A message between two agents was handled by this srv (
message_flow): ids and times, never its text. - MuxObj
Batched Updates - Several object updates from one atomic transition, applied in one flush (
EventBus::broadcast_mux_obj_updates). - MuxObj
Updated - A wave object changed (
wcore::event). - Muxbus
Status - Cloud delivery’s state changed (
muxbus::delivery_status). - Named
Agents Changed - A named agent was hidden.
- NoDirect
Links Event identity:no-direct-links: the instance and the identity that has no direct links.- Notification
- An OS notification to show, retract or act on (
notify::router). - Notification
Activate - Notification
Retract - Notification
State - What the notification tray shows (
notify::router). - Open
Floating Pane - Ask one window to open a pane as its own floating OS window (
app_api::pane). - Open
Floating Pane Event openfloatingpane: the pane to float, now alone in its own workspace.- Pane
Agent Opened - An agent opened a pane; the person’s active window offers to show it (
http_open). - Pane
Agent Opened Event pane:agentopened: an agent opened a pane without taking the person’s tab, focus or window. The window the person is in tells them, with a Show button (REPORT_ACTION_RESULTS_ALWAYS_VISIBLE_ACROSS_WINDOWS_2026_10_31.md §4, item 9).- Pane
Confirm - A question srv asks the person in a pane, as a modal over that pane, and its end (
sagas::pane_confirm). - Path
Changed Event editor:file_changed/media:file_changed: the file that changed.- PinAsks
- The agents’ asks to move or forget a pin, waiting for the person.
- PinAsks
Event pinasks: the asks now waiting for the person.- Pins
Changed - A pinned sender was adopted or forgotten (
pins.adopt,pins.forget). - Place
Floating Pane - Ask a floating pane’s own window to move, resize or report where it is (
server::pane_place). - Place
Floating Pane Event placefloatingpane: an agent’sresize,moveorplaceof a floating pane it opened, orPane layout’s question where the window is. Sent to the floating window itself, which answers withpane.floatplaced(SPEC_AGENT_PANE_PLACEMENT_FLOATING_2026_11_22.md §2.2, §2.3, §3).- Process
Added Event agent:process-added: a process joined an agent pane’s tree.- Process
Exited Event agent:process-exited: a process left an agent pane’s tree.- Process
Status Changed - A pane’s process status changed (
broker::process). - Protocol
Frame output: one app-server protocol frame, as the agent sent it.- Record
Flags - What the record’s rules have flagged and still say (
record_notice): rules, keys and numbers; no text of anyone’s. - Remote
Pane Changed - A change of a remote agent this computer shows (
remotepane:<computer id>:<agent>). - Remotes
Changed - The configured remotes changed.
- Resume
Retry Event - The
agent-resume-retryevent’s payload (mps_events::AgentResumeRetry). - Review
Flow - A review of a PR reached the agent it belongs to (
pr_flow): ids, a state and times, never its text. - Sensitive
Cleared - Sensitive
Pending - A sensitive request’s countdown, and its end (
sagas::sensitive_window). - Shell
Chunk - One line a Shell command wrote, or its exit (
backend::shell_node). - Shell
Node Create - A Shell command started (
server::http_shell). - Signin
Link - A provider sign-in link to show as a notice with an Open action (
server::signin_notice). - Singleton
Claim - A window claimed or released a singleton modal (
frontend/app/store/singleton-modal.ts). - Singleton
Claim Event singleton:claim, tosingleton:<kind>withpersist: 1: the latest one names the window holding that kind of singleton modal.- Skills
Changed - The skill library changed.
- SrvInfo
- srv’s version and machine, sent once on every WebSocket connect.
- SrvPanics
- srv is panicking, or stopped (
panic_watch): its level, counts and the places that panicked most; no message text. - Subagent
Abandoned - Subagent
Activity - New events from one subagent (
subagent_watcher). - Subagent
Backfill Status - A resumed pane’s subagent backfill started or finished.
- Subagent
Block Pruned - Subagent
Completed - Subagent
Named - Subagent
Spawned - Subagent
Updated - SysInfo
- One sysinfo sample for a connection (
sysinfo::run_sysinfo_loop). - Task
Flow - A task was filed, reassigned, started or handed back (
task_flow): names and numbers, never its text. - Tool
Chunk - A line of a Bash call’s output, its exit, its pid or which call it is (
agentmux-bashwrap). - Tracked
Blocks Changed - The process broker’s set of tracked blocks changed.
- User
Attention - A call to action srv holds open started, or ended (
backend::user_attention). - Vault
- The Vault changed, or its agents’ requests did; never an entry or a value.
- Vault
Event vault: the Vault changed (changed_ms), or its requests did. Any subscriber may read it, agents included, so it carries no entry: the pane asks the host for the list.- Viewer
Devices Changed - A paired device was revoked, or its send grant changed (pairing has
viewer:paired). - Viewer
Paired - A mobile viewer paired with this machine (
http_viewer). - Viewer
Paired Event viewer:paired: the device that just paired.- Viewer
Watching Changed - A paired device started or stopped watching an agent, or sent one a message (
viewer.watching). - Widget
Packages - The installed widget packages.
- Widget
Packages Event widgetpackages: every installed widget package.- Widget
Requests - The agents’ widget install requests waiting for the user.
- Widget
Requests Event widgetrequests: the install requests waiting for the user.- Widget
Storage - A widget package’s storage changed: which keys, never their values.
- Widget
Storage Event widgetstorage: the keys of a widget package’s storage that changed.- Work
Queue Changed - The work queue changed.
- Workspace
Stop - A headless workspace will stop at a time, or will not after all (
server::host_control).
Traits§
- Event
- A broker event with a typed payload.
- PerId
Event - A broker event sent under a name per id: its prefix, then the id.
Functions§
- is_
client_ event - Whether
nameis one of the client events. - is_
per_ id_ event - Whether
nameis a per-id event’s name: one of the prefixes above, then an id. - is_
srv_ event - Whether only srv publishes
name: a declared event, or a per-id one, that isn’t a client event. Its subscribers read it as its payload type, so the relay doesn’t take it from outside. - is_
typed_ event - Whether
nameis one of the events above (not a per-id one:is_per_id_event). - payload_
data - An event’s
data: its payload as JSON, or none for an event that carries none ((), a pure “something changed” signal), so such an event goes out with nodatafield at all. - publish_
client_ event - Publishes an event a process outside srv sent (
POST /agentmux/wps/publish) if it is a client event:Noneifnameisn’t one, an error ifdataisn’t its payload type.