Skip to main content

Module runtime

Module runtime 

Source
Expand description

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

Structs§

BashCommandRuntimeResult
Internal orchestration details layered around the stable public BashCommandResult. Adding a separate type avoids adding required fields to the existing public result struct.
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.
ShellActionOptions
ShellExecutionToken
ShellSessionConfiguration
ShellSessionStatus
Observational snapshot of one shell session, answered by Initialize(type = "status") without touching the PTY.

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_daemon_binary
configured_runtime_mode
configured_shell_runtime
ensure_control_daemon_at
Ensure the current control-plane feature set is reachable. An older winxd that advertises safe planned restarts is replaced in place; per-session guardians keep owning their PTYs throughout the control-plane transition.
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.
restart_control_daemon_at
Safely restart only winxd; guardian processes and their PTYs remain alive.
select_runtime_mode
Pure runtime-mode selection, kept separate from process spawning so its default and kill switches are deterministic under test.

Type Aliases§

ShellRuntimeBoolFuture
ShellRuntimeConfigureFuture
ShellRuntimeDetailedFuture
ShellRuntimeFuture
Boxed future returned by ShellRuntime implementations.
ShellRuntimeStatusFuture
ShellRuntimeUnitFuture