Roo-Code/webview-ui
Yu SERIZAWA d6d5670e38
feat: Add support for .roorules configuration files (#2309)
* feat: Add support for .roorules configuration files

- Add .roorules to the list of supported rule files
- Improve mode-specific rule file handling to prioritize .roorules over .clinerules
- Update file loading logic to track which rule file was successfully loaded
- Add test cases for .roorules functionality

This change maintains backward compatibility with existing .clinerules while
introducing support for the new .roorules format as the preferred configuration
method.

* refactor: simplify rule file loading by removing unused rules

- Removed .cursorrules and .windsurfrules from the list of rule files in loadRuleFiles function.

* refactor: update loadRuleFiles to return single rule file content

- Modified loadRuleFiles function to return content from the first available rule file instead of combining multiple rule files.
- Updated tests to reflect the new behavior of loading only the .roorules file content when available, ensuring clarity in rule file handling.

* fix: update prompts for deprecated rule file references

- Updated prompts in the English locale to reflect the deprecation of .clinerules in favor of .roorules.
- Added notes in the prompts indicating that .clinerules will stop working soon, ensuring users are aware of the upcoming changes.

* Translations

* Update links

* Revert README changes

* Add missing spans around links

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
2025-04-05 14:55:07 -04:00
..
.storybook Additional @shadcn/ui components 2025-02-14 23:41:39 -08:00
public Remove CRA cruft 2025-01-30 14:38:41 -08:00
src feat: Add support for .roorules configuration files (#2309) 2025-04-05 14:55:07 -04:00
.eslintrc.json Stabilize tests in CI 2025-02-23 02:28:10 -08:00
.gitignore PR cleanup 2025-03-12 11:23:06 -04:00
.npmrc Improved logic for auto-approving chained commands 2024-12-26 22:45:09 -08:00
components.json Remove lucide 2025-01-30 14:47:59 -08:00
index.html Roo Cline -> Roo Code 2025-01-29 21:21:20 +07:00
jest.config.cjs Add i18n 2025-03-12 11:23:06 -04:00
package-lock.json Run 'npm audit fix' on everything (#1817) 2025-03-24 14:50:53 -04:00
package.json Welcome page OAuth (#1913) 2025-03-23 10:08:16 -04:00
tsconfig.json Merged with main branch 2025-02-06 12:44:22 +05:30
vite.config.ts perf: optimize build process for parallel execution (#1801) 2025-03-19 01:15:55 -07:00