Roo-Code/src/services/command
roomote[bot] 13370a2ad1
feat: add optional mode field to slash command front matter (#10344)
* feat: add optional mode field to slash command front matter

- Add mode field to Command interface
- Update command parsing to extract mode from frontmatter
- Modify RunSlashCommandTool to automatically switch mode when specified
- Add comprehensive tests for mode field parsing and switching
- Update existing tests to include mode field

* Make it work for manual slash commands too

---------

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-12-26 17:17:54 -08:00
..
__tests__ feat: add optional mode field to slash command front matter (#10344) 2025-12-26 17:17:54 -08:00
built-in-commands.ts feat: update /init command to focus only on non-obvious discoveries (#7400) 2025-08-25 21:01:51 -06:00
commands.ts feat: add optional mode field to slash command front matter (#10344) 2025-12-26 17:17:54 -08:00