Constructor HostShellToolset
- Namespace
- Oscova.Agents.Toolsets
- Assembly
- Oscova.Agents.dll
HostShellToolset(Func<CancellationToken, Task<ShellExecutor>>)
Exposes one approval-required-by-default foreground command on a caller-provided host executor.
public HostShellToolset(Func<CancellationToken, Task<ShellExecutor>> createExecutor)Parameters
createExecutorFunc<CancellationToken, Task<ShellExecutor>>-
Creates a new executor that the tool owns and disposes after each call.