Class HostShellToolset
- Namespace
- Oscova.Agents.Toolsets
- Assembly
- Oscova.Agents.dll
Exposes one approval-required-by-default foreground command on a caller-provided host executor.
public sealed class HostShellToolset : ICrewToolsetInheritance
Implements
Inherited Members
Constructors
- HostShellToolset(Func<CancellationToken, Task<ShellExecutor>>)
-
Exposes one approval-required-by-default foreground command on a caller-provided host executor.
Fields
- QualifiedToolName
-
Identifies the built-in host command used by policy filters.
- ToolName
-
Gets the model-visible host command name.
Methods
- ExecHostCommandAsync(string, int?, CancellationToken)
-
Runs one foreground command directly on the host. Approval is required by default.