Interface IShellExecutorProvider
- Namespace
- Oscova.Agents.Toolsets
- Assembly
- Oscova.Agents.dll
Supplies the shell executor owned by the active host run context.
public interface IShellExecutorProviderMethods
- EvictAsync(string)
-
Disposes and evicts the cached executor for the given conversation id, if any.
- GetExecutionTargetAsync(CancellationToken)
-
Ensures the current run has an executor and returns the target details used by background jobs.
- GetOrCreateAsync(CancellationToken)
-
Gets or creates the executor for the current run.
- RecoverForegroundCommandAsync()
-
Terminates the current foreground command and restores a clean shell after interruption.