pub struct TurnProcessHandles {
pub workspace_changelist_registry: Arc<WorkspaceChangelistRegistry>,
pub tool_outcome_recorder: Arc<ToolOutcomeRecorder>,
pub handler_lookup: HandlerLookupTable,
pub sync_default_sandbox_backend: Arc<dyn SyncDefaultSandboxBackend>,
pub readonly_tool_ttl_cache: Arc<ReadonlyToolTtlCache>,
}Expand description
run_agent_turn / 工具执行所需的进程句柄面(不含侧栏任务表与 CLI LTM)。
Fields§
§workspace_changelist_registry: Arc<WorkspaceChangelistRegistry>§tool_outcome_recorder: Arc<ToolOutcomeRecorder>§handler_lookup: HandlerLookupTable工具名 → 分发 handler(原模块级 HANDLER_MAP)。
sync_default_sandbox_backend: Arc<dyn SyncDefaultSandboxBackend>Docker sync_default 沙盒后端(原模块级 SANDBOX_BACKEND)。
readonly_tool_ttl_cache: Arc<ReadonlyToolTtlCache>只读类 run_command 短时 TTL 缓存(按工作区键失效;配置见 readonly_tool_ttl_cache_*)。
Implementations§
Source§impl TurnProcessHandles
impl TurnProcessHandles
Sourcepub fn default_arc() -> Arc<Self> ⓘ
pub fn default_arc() -> Arc<Self> ⓘ
默认回合句柄(独立 Arc):bench / 单元测试等无完整 ProcessHandles 的路径。
Trait Implementations§
Source§impl Clone for TurnProcessHandles
impl Clone for TurnProcessHandles
Source§fn clone(&self) -> TurnProcessHandles
fn clone(&self) -> TurnProcessHandles
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for TurnProcessHandles
impl !UnwindSafe for TurnProcessHandles
impl Freeze for TurnProcessHandles
impl Send for TurnProcessHandles
impl Sync for TurnProcessHandles
impl Unpin for TurnProcessHandles
impl UnsafeUnpin for TurnProcessHandles
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more