Expand description
Pure shell prompt, process, command-history, and integration-event state.
Structs§
- Command
Execution - Serializable lifecycle snapshot for one shell command.
- Command
Id - Shell-state-local command identity.
- Command
Output Range - Inclusive global terminal line range for command output.
- Prompt
Detector - Stateless conservative detector for common visible shell prompt suffixes.
- Shell
Execution State - Mutable pure state for shell integration and heuristic prompt tracking.
- Terminal
Shell Snapshot - Cloned read model of current shell execution state.
Enums§
- Command
Status - Lifecycle outcome of one tracked command.
- Shell
Event - Ordered shell-state change emitted for host/UI consumers.
- Shell
Kind - Supported shell family for integration-script selection.
- Terminal
Process Status - Coarse lifecycle of the shell/PTY process.
Constants§
- DEFAULT_
COMMAND_ HISTORY_ LIMIT - Default maximum of 1,000 finished commands retained in shell history.
Functions§
- shell_
integration_ script - Returns the built-in static shell-integration script for a known shell.