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

Class AgentExecutor

crates/opencode-agent/src/executor.rs:30–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30pub struct AgentExecutor {
31 agent: AgentInfo,
32 conversation: Conversation,
33 providers: Arc<ProviderRegistry>,
34 tools: Arc<ToolRegistry>,
35 disabled_tools: HashSet<String>,
36 subsessions: Arc<Mutex<HashMap<String, SubsessionState>>>,
37 max_steps: u32,
38}
39
40#[derive(Debug, Clone)]
41struct SubsessionState {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected