Skip to main content

Module runtime

Module runtime 

Source
Expand description

Shell execution boundary shared by embedded and daemon-backed runtimes.

Structs§

EmbeddedShellRuntime
Current in-process runtime. It intentionally delegates to the existing implementation so introducing the boundary does not change behavior.
SessionStore
Single index for main and background terminals in the embedded runtime.

Enums§

RuntimeMode
ShellSessionTransition
State transition requested by the Initialize tool.
ShellTarget
Stable address of a terminal within one logical session.

Traits§

ShellRuntime
Narrow process-agnostic boundary for BashCommand execution.

Functions§

configured_runtime_mode
configured_shell_runtime
ensure_daemon_at
Ensure a compatible daemon is reachable, starting daemon_binary only when the socket cannot be reached. A reachable incompatible daemon is never replaced or killed.
select_runtime_mode
Pure runtime-mode selection, kept separate from process spawning so its default and kill switches are deterministic under test.

Type Aliases§

ShellRuntimeConfigureFuture
ShellRuntimeFuture
Boxed future returned by ShellRuntime implementations.
ShellRuntimeUnitFuture