Roo-Code/src/services/command/__tests__
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
..
built-in-commands.spec.ts Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
frontmatter-commands.spec.ts feat: add optional mode field to slash command front matter (#10344) 2025-12-26 17:17:54 -08:00
symlink-commands.spec.ts feat: add symlink support for slash commands in .roo/commands folder (#9838) 2025-12-04 15:41:10 -05:00