Skip to main content

vtcode_core/tools/handlers/
orchestrator.rs

1//! Legacy orchestrator compatibility shim.
2//!
3//! Keep this module importable for older handler code, but delegate all
4//! behavior to the active sandboxing and tool orchestrator modules.
5
6pub use super::sandboxing::{
7    Approvable, ApprovalCtx, ApprovalStore, AskForApproval, BoxFuture, CommandSpec, ExecApprovalRequirement, ExecEnv,
8    ExecPolicyAmendment, ExecToolCallOutput, NetworkAccess, RejectConfig, ReviewDecision, SandboxAttempt,
9    SandboxConfig, SandboxManager, SandboxOverride, SandboxPolicy, SandboxTransformError, SandboxType, Sandboxable,
10    SandboxablePreference, ToolCtx, ToolError, ToolRuntime, canonical_sandbox_policy,
11    default_exec_approval_requirement, execute_env, with_cached_approval,
12};
13pub use super::tool_orchestrator::ToolOrchestrator;
14
15#[cfg(test)]
16mod tests {
17    use super::*;
18
19    #[test]
20    fn orchestrator_path_reexports_active_sandboxing_types() {
21        let _: SandboxConfig = SandboxConfig::default();
22        let _: ToolOrchestrator = ToolOrchestrator::default();
23    }
24}