20 lines
821 B
Rust
20 lines
821 B
Rust
//! `new project` command stub.
|
|
//!
|
|
//! The command is handled asynchronously in the Matrix transport's
|
|
//! `on_room_message` handler (gateway mode only). This file exists so that
|
|
//! `help` lists the command and the gateway proxy block does not forward it
|
|
//! to the active project sled.
|
|
|
|
use super::CommandContext;
|
|
|
|
/// Fallback handler for the `new` command when it is not intercepted by the
|
|
/// async gateway handler in `on_room_message`. In practice this is never
|
|
/// called — `new project` is detected and handled before `try_handle_command`
|
|
/// runs in gateway mode, and in standalone mode there is no matching project
|
|
/// bootstrap context.
|
|
///
|
|
/// Returns `None` to prevent the LLM from receiving the raw command text.
|
|
pub fn handle_new_project_fallback(_ctx: &CommandContext) -> Option<String> {
|
|
None
|
|
}
|