mirror of
https://github.com/ultraworkers/claw-code.git
synced 2026-04-11 02:20:18 +08:00
fix: handle new slash command variants in cli
This commit is contained in:
parent
8ae96376a2
commit
f509d569ae
@ -903,6 +903,8 @@ fn run_resume_command(
|
||||
| SlashCommand::Permissions { .. }
|
||||
| SlashCommand::Session { .. }
|
||||
| SlashCommand::Plugins { .. }
|
||||
| SlashCommand::Agents { .. }
|
||||
| SlashCommand::Skills { .. }
|
||||
| SlashCommand::Unknown(_) => Err("unsupported resumed slash command".into()),
|
||||
}
|
||||
}
|
||||
@ -1197,6 +1199,14 @@ impl LiveCli {
|
||||
SlashCommand::Plugins { action, target } => {
|
||||
self.handle_plugins_command(action.as_deref(), target.as_deref())?
|
||||
}
|
||||
SlashCommand::Agents { .. } => {
|
||||
eprintln!("/agents is not fully wired yet");
|
||||
false
|
||||
}
|
||||
SlashCommand::Skills { .. } => {
|
||||
eprintln!("/skills is not fully wired yet");
|
||||
false
|
||||
}
|
||||
SlashCommand::Unknown(name) => {
|
||||
eprintln!("unknown slash command: /{name}");
|
||||
false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user