MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / AgentMode

Enum AgentMode

crates/opencode-agent/src/agent.rs:94–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92
93#[derive(Debug, Clone, Copy, Serialize, Deserialize, Default)]
94pub enum AgentMode {
95 #[default]
96 Primary,
97 Subagent,
98 All,
99}
100
101#[derive(Debug, Clone, Copy, PartialEq, Eq)]
102pub enum PermissionDecision {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected