Skip to main content

Module shell

Module shell 

Source
Expand description

Interactive PTY-based shell sessions for agents.

Provides three tools: shell_start, shell_send, shell_end that let agents drive persistent interactive terminal sessions (SSH, REPLs, debuggers, etc).

Re-exports§

pub use session::SessionManager;
pub use session::SessionOpts;
pub use session::SendResult;
pub use session::start_reaper;

Modules§

config
Shell session configuration — re-exported from core::shell_config. All existing paths (tools::shell::config::ShellConfig) remain valid.
pty
PTY abstraction — spawn processes on a pseudo-terminal, async read/write.
readiness
Output readiness detection — determines when a shell is waiting for input.
session
Session manager — owns and manages active shell sessions.

Structs§

ShellConfig
Configuration for interactive shell sessions.
ShellEndTool
ShellSendTool
ShellStartTool