rskit_agent/command/mod.rs
1//! Slash-command registry for interactive agent sessions.
2//!
3//! Commands are prefixed with `/` and dispatched through a [`CommandRegistry`].
4//! Call [`register_builtins`] to register the default `/help`, `/clear`,
5//! `/model`, and `/compact` commands.
6
7mod builtins;
8mod registry;
9
10pub use builtins::register_builtins;
11pub use registry::{Command, CommandHandler, CommandRegistry};
12
13#[cfg(test)]
14mod tests;