Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ demo.gif
.nvmrc
.gitattributes
.prettierignore
.clinerules*
.agentrules*
.roomodes
cline_docs/**
coverage/**
Expand Down
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ Join us at https://www.reddit.com/r/RooCode to share your custom modes and be pa

## [3.1.0]

- You can now customize the role definition and instructions for each chat mode (Code, Architect, and Ask), either through the new Prompts tab in the top menu or mode-specific .clinerules-mode files. Prompt Enhancements have also been revamped: the "Enhance Prompt" button now works with any provider and API configuration, giving you the ability to craft messages with fully customizable prompts for even better results.
- You can now customize the role definition and instructions for each chat mode (Code, Architect, and Ask), either through the new Prompts tab in the top menu or mode-specific .agentrules-mode files. Prompt Enhancements have also been revamped: the "Enhance Prompt" button now works with any provider and API configuration, giving you the ability to craft messages with fully customizable prompts for even better results.
- Add a button to copy markdown out of the chat

## [3.0.3]
Expand Down Expand Up @@ -734,7 +734,7 @@ Join us at https://www.reddit.com/r/RooCode to share your custom modes and be pa

## [2.1.9]

- Add instructions for using .clinerules on the settings screen
- Add instructions for using .agentrules on the settings screen

## [2.1.8]

Expand Down Expand Up @@ -769,4 +769,4 @@ Join us at https://www.reddit.com/r/RooCode to share your custom modes and be pa
## [2.1.2]

- Support for auto-approval of write operations and command execution
- Support for .clinerules custom instructions
- Support for .agentrules custom instructions
24 changes: 12 additions & 12 deletions src/__mocks__/fs/promises.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ const formatRuleContent = (ruleFile: string, content: string): string => {
}

type RuleFiles = {
".clinerules-code": string
".clinerules-ask": string
".clinerules-architect": string
".clinerules-test": string
".clinerules-review": string
".clinerules": string
".agentrules-code": string
".agentrules-ask": string
".agentrules-architect": string
".agentrules-test": string
".agentrules-review": string
".agentrules": string
}

// Helper function to ensure directory exists
Expand All @@ -73,14 +73,14 @@ const mockFs = {

// Handle rule files
const ruleFiles: RuleFiles = {
".clinerules-code": "# Code Mode Rules\n1. Code specific rule",
".clinerules-ask": "# Ask Mode Rules\n1. Ask specific rule",
".clinerules-architect": "# Architect Mode Rules\n1. Architect specific rule",
".clinerules-test":
".agentrules-code": "# Code Mode Rules\n1. Code specific rule",
".agentrules-ask": "# Ask Mode Rules\n1. Ask specific rule",
".agentrules-architect": "# Architect Mode Rules\n1. Architect specific rule",
".agentrules-test":
"# Test Engineer Rules\n1. Always write tests first\n2. Get approval before modifying non-test code",
".clinerules-review":
".agentrules-review":
"# Code Reviewer Rules\n1. Provide specific examples in feedback\n2. Focus on maintainability and best practices",
".clinerules": "# Test Rules\n1. First rule\n2. Second rule",
".agentrules": "# Test Rules\n1. First rule\n2. Second rule",
}

// Check for exact file name match
Expand Down
Loading
Loading