Expand description
Slash-command registry for interactive agent sessions.
Commands are prefixed with / and dispatched through a CommandRegistry.
Call register_builtins to register the default /help, /clear,
/model, and /compact commands.
Structs§
- Command
- A registered slash command.
- Command
Registry - Registry of slash commands.
Traits§
- Command
Handler - Handler for a single slash command.
Functions§
- register_
builtins - Register the default built-in commands:
/help,/clear,/model,/compact.