Skip to main contentModule repl
Source - ReplConfig
- Configuration options for launching the interactive REPL harness.
- ReplSession
- Active state and parameters of an ongoing REPL session.
- ReplControl
- Control flow signal emitted after handling REPL input.
- format_event
- Formats a runtime event emitted during agent turn or gate execution.
- format_usage_line
- Formats turns and token usage into a single line summary.
- format_usage_line_with_session
- Formats turns, token usage, and session cost into a single line summary.
- handle_repl_command
- Processes a single line of REPL input, dispatching slash commands or submitting prompts.
- new_session_id
- Formats a session identifier from a Unix timestamp (in seconds) and process ID.
- render_banner
- Renders the Blyte banner to standard output.
- render_banner_to
- Renders the blyte banner and environment summary to a writer.
- run_repl
- Initializes a REPL session and runs the interactive terminal loop.
- run_repl_stream
- Runs the interactive REPL event loop over generic input and output streams.