Expand description
Slash command system for the Arcan agent runtime.
Provides a CommandRegistry that dispatches /-prefixed user input to
built-in commands (/help, /clear, /cost, /quit, /diff).
Structs§
- Command
Context - Mutable context passed to every command invocation.
- Command
Registry - Registry of slash commands with dispatch by name or alias.
Enums§
- Command
Result - Result of executing a slash command.
- Permission
Mode - Permission mode governing tool approval in the shell.
Traits§
- Command
- Trait implemented by each slash command.
Functions§
- is_
tool_ auto_ approved - Determine whether a tool requires user permission before execution.
- prompt_
tool_ permission - Prompt the user for permission to execute a tool.