(agent: AgentInfo)
| 547 | use opencode_permission::{PermissionAction, PermissionRule}; |
| 548 | |
| 549 | fn build_executor(agent: AgentInfo) -> AgentExecutor { |
| 550 | AgentExecutor::new( |
| 551 | agent, |
| 552 | Arc::new(ProviderRegistry::new()), |
| 553 | Arc::new(ToolRegistry::new()), |
| 554 | ) |
| 555 | } |
| 556 | |
| 557 | #[tokio::test] |
| 558 | async fn persisted_subsessions_roundtrip() { |