feat(tui): implement status bar with connection and turn state indicators feat(tui): create workflow panel for agent status and progress visualization feat(web): introduce web frontend interface with static file serving feat(ws): add WebSocket interface for real-time communication and session management
28 lines
557 B
Rust
28 lines
557 B
Rust
//! Subagent event types — events emitted during subagent execution.
|
|
|
|
/// Events emitted by a running subagent.
|
|
#[derive(Debug, Clone)]
|
|
pub enum SubagentEvent {
|
|
Started {
|
|
agent_id: String,
|
|
directive: String,
|
|
},
|
|
ToolCall {
|
|
agent_id: String,
|
|
tool_name: String,
|
|
},
|
|
ToolResult {
|
|
agent_id: String,
|
|
tool_name: String,
|
|
output: String,
|
|
},
|
|
Completed {
|
|
agent_id: String,
|
|
output: String,
|
|
},
|
|
Failed {
|
|
agent_id: String,
|
|
error: String,
|
|
},
|
|
}
|