Skip to main content

Module state

Module state 

Source

Re-exports§

pub use bash_state::BashState;

Modules§

agent_resume
Durable interactive-agent session records, so a coding-agent TUI piloted through winx (claude, codex, …) is not silently lost when the process that owned its PTY dies (host reboot, guardian kill, embedded-adapter restart).
ansi_codes
ANSI terminal code definitions and handlers
bash_state
line_ring
Bounded, line-oriented scrollback buffer fed raw PTY chunks.
live_terminal
Live terminal emulator for piloting interactive TUIs, backed by the vt100 crate.
persistence
Bash state persistence module
pty
Real PTY implementation using portable-pty
task_state
In-memory lifecycle state for the SEP-2663 MCP Tasks extension.
terminal
turn
Turn detection for interactive TUIs piloted through the PTY.
turn_manifest
Data-driven turn detection: TOML rule manifests evaluated against the rendered screen plus OSC title/progress strings.