claw-code/rust/crates/rusty-claude-cli
TheArchitectit f58f945c16 fix(commands): parse /team slash command instead of falling through to Unknown
The /team spec existed in slash_command_specs() but validate_slash_command_input
had no "team" match arm, so /team always produced SlashCommand::Unknown and the
REPL reported "unknown slash command" — even while suggesting /team as a fix.

- Add the "team" => SlashCommand::Team { action } parse arm (action optional:
  /team, /team list, /team help). Extra args are rejected like other commands.
- Give SlashCommand::Team a dedicated REPL handler (print_team_command) so
  /team prints guidance on the model-invokable TeamCreate/TeamDelete/Cron*
  tools and /team list explains that live registry listing is not yet wired
  into the CLI layer (the team registry is owned by the in-process tool
  executor, not the session/runtime).
- Regression test: assert /team and /team list parse correctly.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-17 09:20:19 -05:00
..
.claw/sessions feat(runtime): typed task packet format for structured claw dispatch 2026-04-04 00:40:20 +09:00
src fix(commands): parse /team slash command instead of falling through to Unknown 2026-06-17 09:20:19 -05:00
tests fix: /config help returns structured section list (#344) 2026-06-05 07:09:48 +09:00
Cargo.toml fix(tui): safe stdout capture + focused OpenCode-style layout 2026-06-12 14:17:21 -05:00
build.rs fix: expose complete version provenance 2026-06-04 15:55:08 +09:00