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).
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§
- Send
Result - Result of sending input to a session.
- Session
Manager - Thread-safe manager for all active shell sessions.
- Session
Opts - Options for creating a new session.
- Shell
Config - Configuration for interactive shell sessions.
- Shell
EndTool - Shell
Send Tool - Shell
Start Tool
Functions§
- start_
reaper - Spawn a background task that periodically reaps idle sessions.