Interface IExecutionSession
- Namespace
- Oscova.Agents.Execution
- Assembly
- Oscova.Agents.dll
Owns a foreground shell and the backend operations shared with background commands and scripts.
public interface IExecutionSession : IAsyncDisposableImplements
Properties
- Executor
-
Gets the existing framework shell executor.
- ShellBinary
-
Gets the shell used to shape script invocation.
Methods
- RecoverForegroundAsync(CancellationToken)
-
Repairs the foreground shell without stopping background jobs, returning false when the Host must replace the session.
- ResolveScriptPath(string)
-
Maps an admitted file to a path visible to this session.
- StartBackgroundAsync(string, BoundedOutputBuffer, CancellationToken)
-
Starts a backend command and streams its bounded output into the caller-owned buffer.