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.
- GetOrCreateAsync(CancellationToken)
-
Gets or creates the executor for the current run.
- GetSessionAsync(CancellationToken)
-
Ensures the current run has an executor and returns the target details used by background jobs.
- PrepareCommandAsync(string, string?, CancellationToken)
-
Checks the original command and resolves a per-call working directory on the executing device.
- RecoverForegroundCommandAsync()
-
Terminates the current foreground command and restores a clean shell after interruption.