Skip to main content

wrap_native_tool_ci

Function wrap_native_tool_ci 

Source
pub fn wrap_native_tool_ci<T>(
    tool: T,
    workspace_root: PathBuf,
) -> ToolFacade<TypedToolCtx<CiCtx, T>>
where T: Tool + Send + Sync + 'static,
Expand description

Wrap a concrete tool instance in a CI CGP facade without erasing it to Arc<dyn Tool> first.

Prefer this path when the caller still owns the tool and does not need shared ownership.