chore: /multiagent alias for /agent (#13249)

Add a `/mutli-agents` alias for `/agent` and update the wording
This commit is contained in:
jif-oai
2026-03-02 16:51:54 +00:00
committed by GitHub
parent c2e126f92a
commit 9a42a56d8f
4 changed files with 7 additions and 6 deletions

View File

@@ -53,6 +53,7 @@ pub enum SlashCommand {
Realtime,
Settings,
TestApproval,
MultiAgents,
// Debugging commands.
#[strum(serialize = "debug-m-drop")]
MemoryDrop,
@@ -93,7 +94,7 @@ impl SlashCommand {
SlashCommand::Settings => "configure realtime microphone/speaker",
SlashCommand::Plan => "switch to Plan mode",
SlashCommand::Collab => "change collaboration mode (experimental)",
SlashCommand::Agent => "switch the active agent thread",
SlashCommand::Agent | SlashCommand::MultiAgents => "switch the active agent thread",
SlashCommand::Approvals => "choose what Codex is allowed to do",
SlashCommand::Permissions => "choose what Codex is allowed to do",
SlashCommand::ElevateSandbox => "set up elevated agent sandbox",
@@ -167,7 +168,7 @@ impl SlashCommand {
SlashCommand::Realtime => true,
SlashCommand::Settings => true,
SlashCommand::Collab => true,
SlashCommand::Agent => true,
SlashCommand::Agent | SlashCommand::MultiAgents => true,
SlashCommand::Statusline => false,
SlashCommand::Theme => false,
}