pub const EVENT_AGENT_FAILURE: &str = "agentfailure";Expand description
Fired when an agent subprocess exits non-zero (or reports an error on its
terminal result frame). Carries the classified AgentFailure so the pane
shows the real cause instead of a bare exit code.