Skip to main content

Module repl

Module repl 

Source
Expand description

Interactive REPL for mixtape agents

Structs§

EventPresenter
Presenter that formats and prints queued events
PermissionRequest
All information needed to prompt for permission approval
PresentationHook
Hook that queues tool events for later presentation
SimplePrompter
Simple approval prompter with clear options

Enums§

Verbosity

Traits§

ApprovalPrompter
Trait for approval prompt implementations

Functions§

indent_lines
new_event_queue
Create a new event queue
print_confirmation
Print a confirmation message
print_result_separator
Print result separator with blank lines
print_tool_footer
Print tool footer: └───…─── name ─┘
print_tool_header
Print tool header: ┌─ 🛠️ name ───…───┐
prompt_for_approval
Convenience function using the default prompter
read_input
Read a line of input
run_cli
Run an interactive REPL for the agent

Type Aliases§

DefaultPrompter
Default prompter type