mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
* feat: enhance rule file loading with .roo/rules directory support
- Introduced functions to safely read files and check for directory existence.
- Added capability to read all text files from a specified directory in alphabetical order.
- Updated `loadRuleFiles` to prioritize loading rules from a `.roo/rules/` directory, falling back to existing rule files if necessary.
- Enhanced `addCustomInstructions` to support loading mode-specific rules from a `.roo/rules-{mode}/` directory, improving flexibility in rule management.
This change improves the organization and retrieval of rule files, allowing for better modularity and maintainability.
* Updated strings and translations
* Add tests
* Revert changes to system prompt translations
* Fix path resolution
* Make instruction structure clearer
---------
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
|
||
|---|---|---|
| .. | ||
| __tests__ | ||
| assistant-message | ||
| config | ||
| diff | ||
| ignore | ||
| mentions | ||
| prompts | ||
| sliding-window | ||
| tools | ||
| webview | ||
| Cline.ts | ||
| CodeActionProvider.ts | ||
| EditorUtils.ts | ||
| mode-validator.ts | ||