Expand description
Command - the UI โ agent channel envelope.
One variant per fire-and-forget action the UI can ask the agent
to perform. Direct-return accessors (config_dir, settings_documents,
etc.) live on a separate sync surface, not in Command.
Re-exportsยง
use crate::ids::SessionId;๐use crate::ids::ToolUseId;๐use crate::image::ImageAttachment;๐use crate::PermissionMode;๐use crate::PermissionOutcome;๐use crate::QuestionOutcome;๐
Enumsยง
- Agent
Command - UI โ agent channel envelope. Each variant maps to one inherent
method on
forge_agent::ForgeSdkBridge. NamedAgentCommandto disambiguate from the higher-levelforge_workspace::protocol::Command(UI โ workspace) - the two envelopes are deliberately different shapes with overlapping names, and disambiguating the agent-side enum makes which one is meant obvious at every call site.