Skip to main content

Module process

Module process 

Source

Structs§

AgentProtocolEvent
Canonical versioned event an agent can send to muster hook capture.
AgentToolIter
An iterator over the variants of AgentTool
Process
A configured process managed by the workspace: an agent, terminal, or command.
StopPolicy
Graceful shutdown policy for one command process.

Enums§

ActivityState
What a running process appears to be doing, inferred from its terminal signals. Orthogonal to ProcessState: the lifecycle says whether a child is alive, this says whether it is busy or waiting on the user. The TUI maps it to a sidebar accent; the domain stays free of rendering.
AgentActivitySource
Terminal evidence Muster should treat as inferred provider activity.
AgentIdentitySource
How a provider’s native session identity becomes known.
AgentProtocolEventKind
Event names accepted by the public JSON wire protocol.
AgentTool
Supported coding-agent command presets.
ExitIntent
Desired handling of the current child process when it exits.
ProcessKind
Which sidebar section a process belongs to.
ProcessOrigin
Whether a process came from workspace configuration or the live TUI.
ProcessState
Lifecycle state of a managed process. The TUI adapter maps this to a sidebar status glyph and color; the domain itself stays free of rendering concerns.
RestartPolicy
How a process should be restarted when its child exits.
StopSignal
Graceful signal sent before a command is force-killed.

Constants§

AGENT_PROTOCOL_VERSION
Current version of the public agent event protocol.