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