Commit graph

2 commits

Author SHA1 Message Date
Roo Code
d399085caf fix: add browser tool group and rulesFiles property to roomodes schema
- Add "browser" to ToolGroup enum (deprecated but accepted for backward compat)
- Add RuleFile definition with relativePath and content properties
- Add optional rulesFiles array property to CustomMode
- Add 6 new tests covering browser groups and rulesFiles validation
2026-02-27 22:07:39 +00:00
Roo Code
cfc8a556cf feat: add correct JSON schema for .roomodes configuration files
Adds schemas/roomodes.json that accurately reflects the actual .roomodes
format as defined in packages/types/src/mode.ts. The schema supports:

- All CustomMode properties including optional description and source
- Tuple-style group entries like ["edit", { fileRegex, description }]
- All five tool groups: read, edit, command, mcp, modes

Also adds comprehensive tests validating the schema against valid and
invalid configurations.

Closes #11790
2026-02-27 21:32:38 +00:00