From 1dd2caf0f532b43f2657a71f15b729fe4ba0c79d Mon Sep 17 00:00:00 2001 From: nang-dev Date: Fri, 11 Apr 2025 22:48:36 -0400 Subject: [PATCH 1/2] Agent name --- src/integrations/editor/DiffViewProvider.ts | 2 +- src/shared/pearaiApi.ts | 4 +- webview-ui/src/i18n/locales/en/chat.json | 54 ++++++++++----------- webview-ui/src/i18n/locales/en/mcp.json | 6 +-- webview-ui/src/i18n/locales/en/prompts.json | 12 ++--- 5 files changed, 39 insertions(+), 39 deletions(-) diff --git a/src/integrations/editor/DiffViewProvider.ts b/src/integrations/editor/DiffViewProvider.ts index 0bf494854a4..86eddf115e1 100644 --- a/src/integrations/editor/DiffViewProvider.ts +++ b/src/integrations/editor/DiffViewProvider.ts @@ -299,7 +299,7 @@ export class DiffViewProvider { query: Buffer.from(this.originalContent ?? "").toString("base64"), }), uri, - `${fileName}: ${fileExists ? "Original ↔ Roo's Changes" : "New File"} (Editable)`, + `${fileName}: ${fileExists ? "Original ↔ Agent's Changes" : "New File"} (Editable)`, ) // This may happen on very slow machines ie project idx setTimeout(() => { diff --git a/src/shared/pearaiApi.ts b/src/shared/pearaiApi.ts index 2ff45a276df..98c52c8e829 100644 --- a/src/shared/pearaiApi.ts +++ b/src/shared/pearaiApi.ts @@ -1,8 +1,8 @@ // CHANGE AS NEEDED FOR DEVELOPMENT // PROD: -export const PEARAI_URL = "https://server.trypear.ai/pearai-server-api2/integrations/cline" +//export const PEARAI_URL = "https://server.trypear.ai/pearai-server-api2/integrations/cline" // DEV: -// export const PEARAI_URL = "http://localhost:8000/integrations/cline" +export const PEARAI_URL = "http://localhost:8000/integrations/cline" import { anthropicModels, diff --git a/webview-ui/src/i18n/locales/en/chat.json b/webview-ui/src/i18n/locales/en/chat.json index f5e911b5c59..bb71c54bd87 100644 --- a/webview-ui/src/i18n/locales/en/chat.json +++ b/webview-ui/src/i18n/locales/en/chat.json @@ -1,5 +1,5 @@ { - "greeting": "What can PearAI Agent do for you?", + "greeting": "What can Agent do for you?", "task": { "title": "Task", "seeMore": "See more", @@ -104,44 +104,44 @@ "current": "Current" }, "fileOperations": { - "wantsToRead": "PearAI Agent wants to read this file:", - "didRead": "PearAI Agent read this file:", - "wantsToEdit": "PearAI Agent wants to edit this file:", - "wantsToCreate": "PearAI Agent wants to create a new file:" + "wantsToRead": "Agent wants to read this file:", + "didRead": "Agent read this file:", + "wantsToEdit": "Agent wants to edit this file:", + "wantsToCreate": "Agent wants to create a new file:" }, "directoryOperations": { - "wantsToViewTopLevel": "PearAI Agent wants to view the top level files in this directory:", - "didViewTopLevel": "PearAI Agent viewed the top level files in this directory:", - "wantsToViewRecursive": "PearAI Agent wants to recursively view all files in this directory:", - "didViewRecursive": "PearAI Agent recursively viewed all files in this directory:", - "wantsToViewDefinitions": "PearAI Agent wants to view source code definition names used in this directory:", - "didViewDefinitions": "PearAI Agent viewed source code definition names used in this directory:", - "wantsToSearch": "PearAI Agent wants to search this directory for {{regex}}:", - "didSearch": "PearAI Agent searched this directory for {{regex}}:" + "wantsToViewTopLevel": "Agent wants to view the top level files in this directory:", + "didViewTopLevel": "Agent viewed the top level files in this directory:", + "wantsToViewRecursive": "Agent wants to recursively view all files in this directory:", + "didViewRecursive": "Agent recursively viewed all files in this directory:", + "wantsToViewDefinitions": "Agent wants to view source code definition names used in this directory:", + "didViewDefinitions": "Agent viewed source code definition names used in this directory:", + "wantsToSearch": "Agent wants to search this directory for {{regex}}:", + "didSearch": "Agent searched this directory for {{regex}}:" }, "commandOutput": "Command Output", "response": "Response", "arguments": "Arguments", "mcp": { - "wantsToUseTool": "PearAI Agent wants to use a tool on the {{serverName}} MCP server:", - "wantsToAccessResource": "PearAI Agent wants to access a resource on the {{serverName}} MCP server:" + "wantsToUseTool": "Agent wants to use a tool on the {{serverName}} MCP server:", + "wantsToAccessResource": "Agent wants to access a resource on the {{serverName}} MCP server:" }, "modes": { - "wantsToSwitch": "PearAI Agent wants to switch to {{mode}} mode", - "wantsToSwitchWithReason": "PearAI Agent wants to switch to {{mode}} mode because: {{reason}}", - "didSwitch": "PearAI Agent switched to {{mode}} mode", - "didSwitchWithReason": "PearAI Agent switched to {{mode}} mode because: {{reason}}" + "wantsToSwitch": "Agent wants to switch to {{mode}} mode", + "wantsToSwitchWithReason": "Agent wants to switch to {{mode}} mode because: {{reason}}", + "didSwitch": "Agent switched to {{mode}} mode", + "didSwitchWithReason": "Agent switched to {{mode}} mode because: {{reason}}" }, "subtasks": { - "wantsToCreate": "PearAI Agent wants to create a new subtask in {{mode}} mode:", - "wantsToFinish": "PearAI Agent wants to finish this subtask" + "wantsToCreate": "Agent wants to create a new subtask in {{mode}} mode:", + "wantsToFinish": "Agent wants to finish this subtask" }, "questions": { - "hasQuestion": "PearAI Agent has a question:" + "hasQuestion": "Agent has a question:" }, "taskCompleted": "Task Completed", "error": "Error", - "troubleMessage": "PearAI Agent is having trouble...", + "troubleMessage": "Agent is having trouble...", "shellIntegration": { "unavailable": "Shell Integration Unavailable", "troubleshooting": "Still having trouble?" @@ -152,7 +152,7 @@ "autoApprove": { "title": "Auto-approve:", "none": "None", - "description": "Auto-approve allows PearAI Agent to perform actions without asking for permission. Only enable for actions you fully trust.", + "description": "Auto-approve allows Agent to perform actions without asking for permission. Only enable for actions you fully trust.", "actions": { "readFiles": { "label": "Read files and directories", @@ -197,8 +197,8 @@ } }, "announcement": { - "title": "🎉 PearAI Agent Code 3.10 Released", - "description": "PearAI Agent Code 3.10 brings powerful productivity enhancements!", + "title": "🎉 Agent Code 3.10 Released", + "description": "Agent Code 3.10 brings powerful productivity enhancements!", "whatsNew": "What's New", "feature1": "Suggested responses to questions", "feature2": "Improved large file handling", @@ -213,7 +213,7 @@ "seconds": "{{count}}s" }, "browser": { - "rooWantsToUse": "PearAI Agent wants to use the browser:", + "rooWantsToUse": "Agent wants to use the browser:", "consoleLogs": "Console Logs", "noNewLogs": "(No new logs)", "screenshot": "Browser screenshot", diff --git a/webview-ui/src/i18n/locales/en/mcp.json b/webview-ui/src/i18n/locales/en/mcp.json index 710b787e5d4..7358c30ec04 100644 --- a/webview-ui/src/i18n/locales/en/mcp.json +++ b/webview-ui/src/i18n/locales/en/mcp.json @@ -1,14 +1,14 @@ { "title": "MCP Servers", "done": "Done", - "description": "The <0>Model Context Protocol enables communication with locally running MCP servers that provide additional tools and resources to extend Roo's capabilities. You can use <1>community-made servers or ask Roo to create new tools specific to your workflow (e.g., \"add a tool that gets the latest npm docs\").", + "description": "The <0>Model Context Protocol enables communication with locally running MCP servers that provide additional tools and resources to extend Agent's capabilities. You can use <1>community-made servers or ask Agent to create new tools specific to your workflow (e.g., \"add a tool that gets the latest npm docs\").", "enableToggle": { "title": "Enable MCP Servers", - "description": "When enabled, Roo will be able to interact with MCP servers for advanced functionality. If you're not using MCP, you can disable this to reduce Roo's token usage." + "description": "When enabled, Agent will be able to interact with MCP servers for advanced functionality. If you're not using MCP, you can disable this to reduce Agent's token usage." }, "enableServerCreation": { "title": "Enable MCP Server Creation", - "description": "When enabled, Roo can help you create new MCP servers via commands like \"add a new tool to...\". If you don't need to create MCP servers you can disable this to reduce Roo's token usage." + "description": "When enabled, Agent can help you create new MCP servers via commands like \"add a new tool to...\". If you don't need to create MCP servers you can disable this to reduce Agent's token usage." }, "editSettings": "Edit MCP Settings", "tool": { diff --git a/webview-ui/src/i18n/locales/en/prompts.json b/webview-ui/src/i18n/locales/en/prompts.json index 4adc3ead4be..d1bc69f3617 100644 --- a/webview-ui/src/i18n/locales/en/prompts.json +++ b/webview-ui/src/i18n/locales/en/prompts.json @@ -7,7 +7,7 @@ "editModesConfig": "Edit modes configuration", "editGlobalModes": "Edit Global Modes", "editProjectModes": "Edit Project Modes (.roomodes)", - "createModeHelpText": "Hit the + to create a new custom mode, or just ask Roo in chat to create one for you!" + "createModeHelpText": "Hit the + to create a new custom mode, or just ask Agent in chat to create one for you!" }, "apiConfiguration": { "title": "API Configuration", @@ -30,7 +30,7 @@ "roleDefinition": { "title": "Role Definition", "resetToDefault": "Reset to default", - "description": "Define Roo's expertise and personality for this mode. This description shapes how Roo presents itself and approaches tasks." + "description": "Define Agent's expertise and personality for this mode. This description shapes how Agent presents itself and approaches tasks." }, "customInstructions": { "title": "Mode-specific Custom Instructions (optional)", @@ -40,7 +40,7 @@ }, "globalCustomInstructions": { "title": "Custom Instructions for All Modes", - "description": "These instructions apply to all modes. They provide a base set of behaviors that can be enhanced by mode-specific instructions below.\nIf you would like Roo to think and speak in a different language than your editor display language ({{language}}), you can specify it here.", + "description": "These instructions apply to all modes. They provide a base set of behaviors that can be enhanced by mode-specific instructions below.\nIf you would like Agent to think and speak in a different language than your editor display language ({{language}}), you can specify it here.", "loadFromFile": "Instructions can also be loaded from .clinerules in your workspace." }, "systemPrompt": { @@ -62,7 +62,7 @@ "types": { "ENHANCE": { "label": "Enhance Prompt", - "description": "Use prompt enhancement to get tailored suggestions or improvements for your inputs. This ensures Roo understands your intent and provides the best possible responses. Available via the ✨ icon in chat." + "description": "Use prompt enhancement to get tailored suggestions or improvements for your inputs. This ensures Agent understands your intent and provides the best possible responses. Available via the ✨ icon in chat." }, "EXPLAIN": { "label": "Explain Code", @@ -96,7 +96,7 @@ }, "customModeCreation": { "enableTitle": "Enable Custom Mode Creation Through Prompts", - "description": "When enabled, Roo allows you to create custom modes using prompts like 'Make me a custom mode that…'. Disabling this reduces your system prompt by about 700 tokens when this feature isn't needed. When disabled you can still manually create custom modes using the + button above or by editing the related config JSON." + "description": "When enabled, Agent allows you to create custom modes using prompts like 'Make me a custom mode that…'. Disabling this reduces your system prompt by about 700 tokens when this feature isn't needed. When disabled you can still manually create custom modes using the + button above or by editing the related config JSON." }, "advancedSystemPrompt": { "title": "Advanced: Override System Prompt", @@ -127,7 +127,7 @@ }, "roleDefinition": { "label": "Role Definition", - "description": "Define Roo's expertise and personality for this mode." + "description": "Define Agent's expertise and personality for this mode." }, "tools": { "label": "Available Tools", From 8b4da279bd3c683c76c7ca1d5a552f64f8dabed8 Mon Sep 17 00:00:00 2001 From: nang-dev Date: Mon, 14 Apr 2025 15:38:05 -0400 Subject: [PATCH 2/2] Name --- .vscodeignore | 2 +- CHANGELOG.md | 6 +- src/__mocks__/fs/promises.ts | 24 ++-- .../__snapshots__/system.test.ts.snap | 116 +++++++++--------- src/core/prompts/__tests__/system.test.ts | 4 +- .../__tests__/custom-instructions.test.ts | 16 +-- .../prompts/sections/custom-instructions.ts | 6 +- .../src/components/prompts/PromptsView.tsx | 4 +- webview-ui/src/i18n/locales/ca/prompts.json | 4 +- webview-ui/src/i18n/locales/de/prompts.json | 4 +- webview-ui/src/i18n/locales/en/prompts.json | 4 +- webview-ui/src/i18n/locales/es/prompts.json | 4 +- webview-ui/src/i18n/locales/fr/prompts.json | 4 +- webview-ui/src/i18n/locales/hi/prompts.json | 4 +- webview-ui/src/i18n/locales/it/prompts.json | 4 +- webview-ui/src/i18n/locales/ja/prompts.json | 4 +- webview-ui/src/i18n/locales/ko/prompts.json | 4 +- webview-ui/src/i18n/locales/pl/prompts.json | 4 +- .../src/i18n/locales/pt-BR/prompts.json | 4 +- webview-ui/src/i18n/locales/tr/prompts.json | 4 +- webview-ui/src/i18n/locales/vi/prompts.json | 4 +- .../src/i18n/locales/zh-CN/prompts.json | 4 +- .../src/i18n/locales/zh-TW/prompts.json | 4 +- 23 files changed, 119 insertions(+), 119 deletions(-) diff --git a/.vscodeignore b/.vscodeignore index 560897b9677..8bdc61eec8f 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -24,7 +24,7 @@ demo.gif .nvmrc .gitattributes .prettierignore -.clinerules* +.agentrules* .roomodes cline_docs/** coverage/** diff --git a/CHANGELOG.md b/CHANGELOG.md index e99bdb354f3..38d81c5b1f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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] @@ -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] @@ -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 diff --git a/src/__mocks__/fs/promises.ts b/src/__mocks__/fs/promises.ts index e496a7fa510..e2dd80077bd 100644 --- a/src/__mocks__/fs/promises.ts +++ b/src/__mocks__/fs/promises.ts @@ -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 @@ -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 diff --git a/src/core/prompts/__tests__/__snapshots__/system.test.ts.snap b/src/core/prompts/__tests__/__snapshots__/system.test.ts.snap index 31a75fff8a0..aff03db2810 100644 --- a/src/core/prompts/__tests__/__snapshots__/system.test.ts.snap +++ b/src/core/prompts/__tests__/__snapshots__/system.test.ts.snap @@ -380,9 +380,9 @@ Language Preference: You should always speak and think in the "en" language. Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -855,9 +855,9 @@ Language Preference: You should always speak and think in the "en" language. Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -1294,9 +1294,9 @@ Language Preference: You should always speak and think in the "en" language. Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -1680,9 +1680,9 @@ Language Preference: You should always speak and think in the "en" language. Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -2066,9 +2066,9 @@ Language Preference: You should always speak and think in the "en" language. Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -2452,9 +2452,9 @@ Language Preference: You should always speak and think in the "en" language. Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -2887,9 +2887,9 @@ Language Preference: You should always speak and think in the "en" language. Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -3727,9 +3727,9 @@ Language Preference: You should always speak and think in the "en" language. Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -4162,9 +4162,9 @@ Language Preference: You should always speak and think in the "en" language. Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -4598,9 +4598,9 @@ Language Preference: You should always speak and think in the "en" language. Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -4984,9 +4984,9 @@ Language Preference: You should always speak and think in the "en" language. Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -5005,9 +5005,9 @@ Mode-specific Instructions: Custom test instructions Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -5026,9 +5026,9 @@ Mode-specific Instructions: Mode-specific instructions Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -5559,9 +5559,9 @@ Language Preference: You should always speak and think in the "en" language. Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -5574,9 +5574,9 @@ USER'S CUSTOM INSTRUCTIONS The following additional instructions are provided by the user, and should be followed to the best of your ability without interfering with the TOOL USE guidelines. Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -6036,9 +6036,9 @@ Mode-specific Instructions: 6. Use the switch_mode tool to request that the user switch to another mode to implement the solution. Rules: -# Rules from .clinerules-architect: +# Rules from .agentrules-architect: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -6366,9 +6366,9 @@ Mode-specific Instructions: You can analyze code, explain concepts, and access external resources. Make sure to answer the user's questions and don't rush to switch to implementing code. Include Mermaid diagrams if they help make your response clearer. Rules: -# Rules from .clinerules-ask: +# Rules from .agentrules-ask: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -6381,9 +6381,9 @@ USER'S CUSTOM INSTRUCTIONS The following additional instructions are provided by the user, and should be followed to the best of your ability without interfering with the TOOL USE guidelines. Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -6396,9 +6396,9 @@ USER'S CUSTOM INSTRUCTIONS The following additional instructions are provided by the user, and should be followed to the best of your ability without interfering with the TOOL USE guidelines. Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -7321,9 +7321,9 @@ Language Preference: You should always speak and think in the "en" language. Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -7339,9 +7339,9 @@ Mode-specific Instructions: Custom test instructions Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -7357,9 +7357,9 @@ Language Preference: You should always speak and think in the "es" language. Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -7378,9 +7378,9 @@ Mode-specific Instructions: Second instruction Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -7393,9 +7393,9 @@ USER'S CUSTOM INSTRUCTIONS The following additional instructions are provided by the user, and should be followed to the best of your ability without interfering with the TOOL USE guidelines. Rules: -# Rules from .clinerules-architect: +# Rules from .agentrules-architect: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -7408,9 +7408,9 @@ USER'S CUSTOM INSTRUCTIONS The following additional instructions are provided by the user, and should be followed to the best of your ability without interfering with the TOOL USE guidelines. Rules: -# Rules from .clinerules-ask: +# Rules from .agentrules-ask: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -7423,9 +7423,9 @@ USER'S CUSTOM INSTRUCTIONS The following additional instructions are provided by the user, and should be followed to the best of your ability without interfering with the TOOL USE guidelines. Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -7438,9 +7438,9 @@ USER'S CUSTOM INSTRUCTIONS The following additional instructions are provided by the user, and should be followed to the best of your ability without interfering with the TOOL USE guidelines. Rules: -# Rules from .clinerules-review: +# Rules from .agentrules-review: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -7453,9 +7453,9 @@ USER'S CUSTOM INSTRUCTIONS The following additional instructions are provided by the user, and should be followed to the best of your ability without interfering with the TOOL USE guidelines. Rules: -# Rules from .clinerules-test: +# Rules from .agentrules-test: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; @@ -7471,8 +7471,8 @@ Mode-specific Instructions: Custom mode instructions Rules: -# Rules from .clinerules-code: +# Rules from .agentrules-code: Mock mode-specific rules -# Rules from .clinerules: +# Rules from .agentrules: Mock generic rules" `; diff --git a/src/core/prompts/__tests__/system.test.ts b/src/core/prompts/__tests__/system.test.ts index 9750d13b3c2..4d77522e94f 100644 --- a/src/core/prompts/__tests__/system.test.ts +++ b/src/core/prompts/__tests__/system.test.ts @@ -61,9 +61,9 @@ __setMockImplementation( // Add rules const rules = [] if (mode) { - rules.push(`# Rules from .clinerules-${mode}:\nMock mode-specific rules`) + rules.push(`# Rules from .agentrules-${mode}:\nMock mode-specific rules`) } - rules.push(`# Rules from .clinerules:\nMock generic rules`) + rules.push(`# Rules from .agentrules:\nMock generic rules`) if (rules.length > 0) { sections.push(`Rules:\n${rules.join("\n")}`) diff --git a/src/core/prompts/sections/__tests__/custom-instructions.test.ts b/src/core/prompts/sections/__tests__/custom-instructions.test.ts index 4dbb51c845b..85c86b5cc7a 100644 --- a/src/core/prompts/sections/__tests__/custom-instructions.test.ts +++ b/src/core/prompts/sections/__tests__/custom-instructions.test.ts @@ -15,7 +15,7 @@ describe("loadRuleFiles", () => { const result = await loadRuleFiles("/fake/path") expect(mockedFs.readFile).toHaveBeenCalled() expect(result).toBe( - "\n# Rules from .clinerules:\ncontent with spaces\n" + + "\n# Rules from .agentrules:\ncontent with spaces\n" + "\n# Rules from .cursorrules:\ncontent with spaces\n" + "\n# Rules from .windsurfrules:\ncontent with spaces\n", ) @@ -51,7 +51,7 @@ describe("loadRuleFiles", () => { it("should combine content from multiple rule files when they exist", async () => { mockedFs.readFile.mockImplementation(((filePath: string | Buffer | URL | number) => { - if (filePath.toString().endsWith(".clinerules")) { + if (filePath.toString().endsWith(".agentrules")) { return Promise.resolve("cline rules content") } if (filePath.toString().endsWith(".cursorrules")) { @@ -62,7 +62,7 @@ describe("loadRuleFiles", () => { const result = await loadRuleFiles("/fake/path") expect(result).toBe( - "\n# Rules from .clinerules:\ncline rules content\n" + + "\n# Rules from .agentrules:\ncline rules content\n" + "\n# Rules from .cursorrules:\ncursor rules content\n", ) }) @@ -86,7 +86,7 @@ describe("loadRuleFiles", () => { it("should skip directories with same name as rule files", async () => { mockedFs.readFile.mockImplementation(((filePath: string | Buffer | URL | number) => { - if (filePath.toString().endsWith(".clinerules")) { + if (filePath.toString().endsWith(".agentrules")) { return Promise.reject({ code: "EISDIR" }) } if (filePath.toString().endsWith(".cursorrules")) { @@ -121,7 +121,7 @@ describe("addCustomInstructions", () => { expect(result).toContain("(es)") // Check for language code in parentheses expect(result).toContain("Global Instructions:\nglobal instructions") expect(result).toContain("Mode-specific Instructions:\nmode instructions") - expect(result).toContain("Rules from .clinerules-test-mode:\nmode specific rules") + expect(result).toContain("Rules from .agentrules-test-mode:\nmode specific rules") }) it("should return empty string when no instructions provided", async () => { @@ -143,7 +143,7 @@ describe("addCustomInstructions", () => { expect(result).toContain("Global Instructions:") expect(result).toContain("Mode-specific Instructions:") - expect(result).not.toContain("Rules from .clinerules-test-mode") + expect(result).not.toContain("Rules from .agentrules-test-mode") }) it("should handle unknown language codes properly", async () => { @@ -174,7 +174,7 @@ describe("addCustomInstructions", () => { it("should skip mode-specific rule files that are directories", async () => { mockedFs.readFile.mockImplementation(((filePath: string | Buffer | URL | number) => { - if (filePath.toString().includes(".clinerules-test-mode")) { + if (filePath.toString().includes(".agentrules-test-mode")) { return Promise.reject({ code: "EISDIR" }) } return Promise.reject({ code: "ENOENT" }) @@ -189,6 +189,6 @@ describe("addCustomInstructions", () => { expect(result).toContain("Global Instructions:\nglobal instructions") expect(result).toContain("Mode-specific Instructions:\nmode instructions") - expect(result).not.toContain("Rules from .clinerules-test-mode") + expect(result).not.toContain("Rules from .agentrules-test-mode") }) }) diff --git a/src/core/prompts/sections/custom-instructions.ts b/src/core/prompts/sections/custom-instructions.ts index f076777585d..e94e747eaff 100644 --- a/src/core/prompts/sections/custom-instructions.ts +++ b/src/core/prompts/sections/custom-instructions.ts @@ -17,7 +17,7 @@ async function safeReadFile(filePath: string): Promise { } export async function loadRuleFiles(cwd: string): Promise { - const ruleFiles = [".clinerules", ".cursorrules", ".windsurfrules"] + const ruleFiles = [".agentrules", ".cursorrules", ".windsurfrules"] let combinedRules = "" for (const file of ruleFiles) { @@ -42,7 +42,7 @@ export async function addCustomInstructions( // Load mode-specific rules if mode is provided let modeRuleContent = "" if (mode) { - const modeRuleFile = `.clinerules-${mode}` + const modeRuleFile = `.agentrules-${mode}` modeRuleContent = await safeReadFile(path.join(cwd, modeRuleFile)) } @@ -69,7 +69,7 @@ export async function addCustomInstructions( // Add mode-specific rules first if they exist if (modeRuleContent && modeRuleContent.trim()) { - const modeRuleFile = `.clinerules-${mode}` + const modeRuleFile = `.agentrules-${mode}` rules.push(`# Rules from ${modeRuleFile}:\n${modeRuleContent}`) } diff --git a/webview-ui/src/components/prompts/PromptsView.tsx b/webview-ui/src/components/prompts/PromptsView.tsx index 4011e159508..5799578c9b6 100644 --- a/webview-ui/src/components/prompts/PromptsView.tsx +++ b/webview-ui/src/components/prompts/PromptsView.tsx @@ -804,7 +804,7 @@ const PromptsView = ({ onDone }: PromptsViewProps) => { // Open or create an empty file vscode.postMessage({ type: "openFile", - text: `./.clinerules-${currentMode.slug}`, + text: `./.agentrules-${currentMode.slug}`, values: { create: true, content: "", @@ -966,7 +966,7 @@ const PromptsView = ({ onDone }: PromptsViewProps) => { onClick={() => vscode.postMessage({ type: "openFile", - text: "./.clinerules", + text: "./.agentrules", values: { create: true, content: "", diff --git a/webview-ui/src/i18n/locales/ca/prompts.json b/webview-ui/src/i18n/locales/ca/prompts.json index f876bd1f7e0..c525350c477 100644 --- a/webview-ui/src/i18n/locales/ca/prompts.json +++ b/webview-ui/src/i18n/locales/ca/prompts.json @@ -36,12 +36,12 @@ "title": "Instruccions personalitzades específiques del mode (opcional)", "resetToDefault": "Restablir a valors predeterminats", "description": "Afegiu directrius de comportament específiques per al mode {{modeName}}.", - "loadFromFile": "Les instruccions personalitzades específiques per al mode {{mode}} també es poden carregar des de .clinerules-{{slug}} al vostre espai de treball." + "loadFromFile": "Les instruccions personalitzades específiques per al mode {{mode}} també es poden carregar des de .agentrules-{{slug}} al vostre espai de treball." }, "globalCustomInstructions": { "title": "Instruccions personalitzades per a tots els modes", "description": "Aquestes instruccions s'apliquen a tots els modes. Proporcionen un conjunt bàsic de comportaments que es poden millorar amb instruccions específiques de cada mode a continuació.\nSi voleu que Roo pensi i parli en un idioma diferent al de la visualització del vostre editor ({{language}}), podeu especificar-ho aquí.", - "loadFromFile": "Les instruccions també es poden carregar des de .clinerules al vostre espai de treball." + "loadFromFile": "Les instruccions també es poden carregar des de .agentrules al vostre espai de treball." }, "systemPrompt": { "preview": "Previsualització del prompt del sistema", diff --git a/webview-ui/src/i18n/locales/de/prompts.json b/webview-ui/src/i18n/locales/de/prompts.json index ee2517c3fcb..0d05b5770e9 100644 --- a/webview-ui/src/i18n/locales/de/prompts.json +++ b/webview-ui/src/i18n/locales/de/prompts.json @@ -36,12 +36,12 @@ "title": "Modusspezifische benutzerdefinierte Anweisungen (optional)", "resetToDefault": "Auf Standardwerte zurücksetzen", "description": "Fügen Sie verhaltensspezifische Richtlinien für den Modus {{modeName}} hinzu.", - "loadFromFile": "Benutzerdefinierte Anweisungen für den Modus {{mode}} können auch aus .clinerules-{{slug}} in deinem Arbeitsbereich geladen werden." + "loadFromFile": "Benutzerdefinierte Anweisungen für den Modus {{mode}} können auch aus .agentrules-{{slug}} in deinem Arbeitsbereich geladen werden." }, "globalCustomInstructions": { "title": "Benutzerdefinierte Anweisungen für alle Modi", "description": "Diese Anweisungen gelten für alle Modi. Sie bieten einen grundlegenden Satz von Verhaltensweisen, die durch modusspezifische Anweisungen unten erweitert werden können.\nWenn du möchtest, dass Roo in einer anderen Sprache als deiner Editor-Anzeigesprache ({{language}}) denkt und spricht, kannst du das hier angeben.", - "loadFromFile": "Anweisungen können auch aus .clinerules in deinem Arbeitsbereich geladen werden." + "loadFromFile": "Anweisungen können auch aus .agentrules in deinem Arbeitsbereich geladen werden." }, "systemPrompt": { "preview": "System-Prompt Vorschau", diff --git a/webview-ui/src/i18n/locales/en/prompts.json b/webview-ui/src/i18n/locales/en/prompts.json index d1bc69f3617..8984fd35b9c 100644 --- a/webview-ui/src/i18n/locales/en/prompts.json +++ b/webview-ui/src/i18n/locales/en/prompts.json @@ -36,12 +36,12 @@ "title": "Mode-specific Custom Instructions (optional)", "resetToDefault": "Reset to default", "description": "Add behavioral guidelines specific to {{modeName}} mode.", - "loadFromFile": "Custom instructions specific to {{mode}} mode can also be loaded from .clinerules-{{slug}} in your workspace." + "loadFromFile": "Custom instructions specific to {{mode}} mode can also be loaded from .agentrules-{{slug}} in your workspace." }, "globalCustomInstructions": { "title": "Custom Instructions for All Modes", "description": "These instructions apply to all modes. They provide a base set of behaviors that can be enhanced by mode-specific instructions below.\nIf you would like Agent to think and speak in a different language than your editor display language ({{language}}), you can specify it here.", - "loadFromFile": "Instructions can also be loaded from .clinerules in your workspace." + "loadFromFile": "Instructions can also be loaded from .agentrules in your workspace." }, "systemPrompt": { "preview": "Preview System Prompt", diff --git a/webview-ui/src/i18n/locales/es/prompts.json b/webview-ui/src/i18n/locales/es/prompts.json index ba0b2937ebc..d21f8e32a8b 100644 --- a/webview-ui/src/i18n/locales/es/prompts.json +++ b/webview-ui/src/i18n/locales/es/prompts.json @@ -36,12 +36,12 @@ "title": "Instrucciones personalizadas para el modo (opcional)", "resetToDefault": "Restablecer a valores predeterminados", "description": "Agrega directrices de comportamiento específicas para el modo {{modeName}}.", - "loadFromFile": "Las instrucciones personalizadas para el modo {{mode}} también se pueden cargar desde .clinerules-{{slug}} en tu espacio de trabajo." + "loadFromFile": "Las instrucciones personalizadas para el modo {{mode}} también se pueden cargar desde .agentrules-{{slug}} en tu espacio de trabajo." }, "globalCustomInstructions": { "title": "Instrucciones personalizadas para todos los modos", "description": "Estas instrucciones se aplican a todos los modos. Proporcionan un conjunto base de comportamientos que pueden ser mejorados por instrucciones específicas de cada modo.\nSi quieres que Roo piense y hable en un idioma diferente al idioma de visualización de tu editor ({{language}}), puedes especificarlo aquí.", - "loadFromFile": "Las instrucciones también se pueden cargar desde .clinerules en tu espacio de trabajo." + "loadFromFile": "Las instrucciones también se pueden cargar desde .agentrules en tu espacio de trabajo." }, "systemPrompt": { "preview": "Vista previa de la solicitud del sistema", diff --git a/webview-ui/src/i18n/locales/fr/prompts.json b/webview-ui/src/i18n/locales/fr/prompts.json index c4ac745b812..ba5578ad64a 100644 --- a/webview-ui/src/i18n/locales/fr/prompts.json +++ b/webview-ui/src/i18n/locales/fr/prompts.json @@ -36,12 +36,12 @@ "title": "Instructions personnalisées spécifiques au mode (optionnel)", "resetToDefault": "Réinitialiser aux valeurs par défaut", "description": "Ajoutez des directives comportementales spécifiques au mode {{modeName}}.", - "loadFromFile": "Les instructions personnalisées spécifiques au mode {{mode}} peuvent également être chargées depuis .clinerules-{{slug}} dans votre espace de travail." + "loadFromFile": "Les instructions personnalisées spécifiques au mode {{mode}} peuvent également être chargées depuis .agentrules-{{slug}} dans votre espace de travail." }, "globalCustomInstructions": { "title": "Instructions personnalisées pour tous les modes", "description": "Ces instructions s'appliquent à tous les modes. Elles fournissent un ensemble de comportements de base qui peuvent être améliorés par des instructions spécifiques au mode ci-dessous.\nSi vous souhaitez que Roo pense et parle dans une langue différente de celle de votre éditeur ({{language}}), vous pouvez le spécifier ici.", - "loadFromFile": "Les instructions peuvent également être chargées depuis .clinerules dans votre espace de travail." + "loadFromFile": "Les instructions peuvent également être chargées depuis .agentrules dans votre espace de travail." }, "systemPrompt": { "preview": "Aperçu du prompt système", diff --git a/webview-ui/src/i18n/locales/hi/prompts.json b/webview-ui/src/i18n/locales/hi/prompts.json index c0c83afc2f3..33f34aade21 100644 --- a/webview-ui/src/i18n/locales/hi/prompts.json +++ b/webview-ui/src/i18n/locales/hi/prompts.json @@ -36,12 +36,12 @@ "title": "मोड-विशिष्ट कस्टम निर्देश (वैकल्पिक)", "resetToDefault": "डिफ़ॉल्ट पर रीसेट करें", "description": "{{modeName}} मोड के लिए विशिष्ट व्यवहार दिशानिर्देश जोड़ें।", - "loadFromFile": "{{mode}} मोड के लिए विशिष्ट कस्टम निर्देश आपके वर्कस्पेस में .clinerules-{{slug}} से भी लोड किए जा सकते हैं।" + "loadFromFile": "{{mode}} मोड के लिए विशिष्ट कस्टम निर्देश आपके वर्कस्पेस में .agentrules-{{slug}} से भी लोड किए जा सकते हैं।" }, "globalCustomInstructions": { "title": "सभी मोड्स के लिए कस्टम निर्देश", "description": "ये निर्देश सभी मोड्स पर लागू होते हैं। वे व्यवहारों का एक आधार सेट प्रदान करते हैं जिन्हें नीचे दिए गए मोड-विशिष्ट निर्देशों द्वारा बढ़ाया जा सकता है।\nयदि आप चाहते हैं कि Roo आपके एडिटर की प्रदर्शन भाषा ({{language}}) से अलग भाषा में सोचे और बोले, तो आप यहां इसे निर्दिष्ट कर सकते हैं।", - "loadFromFile": "निर्देश आपके वर्कस्पेस में .clinerules से भी लोड किए जा सकते हैं।" + "loadFromFile": "निर्देश आपके वर्कस्पेस में .agentrules से भी लोड किए जा सकते हैं।" }, "systemPrompt": { "preview": "सिस्टम प्रॉम्प्ट का पूर्वावलोकन", diff --git a/webview-ui/src/i18n/locales/it/prompts.json b/webview-ui/src/i18n/locales/it/prompts.json index 15d52b65d89..5d2ae9ec1a8 100644 --- a/webview-ui/src/i18n/locales/it/prompts.json +++ b/webview-ui/src/i18n/locales/it/prompts.json @@ -36,12 +36,12 @@ "title": "Istruzioni personalizzate specifiche per la modalità (opzionale)", "resetToDefault": "Ripristina predefiniti", "description": "Aggiungi linee guida comportamentali specifiche per la modalità {{modeName}}.", - "loadFromFile": "Le istruzioni personalizzate specifiche per la modalità {{mode}} possono essere caricate anche da .clinerules-{{slug}} nel tuo spazio di lavoro." + "loadFromFile": "Le istruzioni personalizzate specifiche per la modalità {{mode}} possono essere caricate anche da .agentrules-{{slug}} nel tuo spazio di lavoro." }, "globalCustomInstructions": { "title": "Istruzioni personalizzate per tutte le modalità", "description": "Queste istruzioni si applicano a tutte le modalità. Forniscono un insieme base di comportamenti che possono essere migliorati dalle istruzioni specifiche per modalità qui sotto.\nSe desideri che Roo pensi e parli in una lingua diversa dalla lingua di visualizzazione del tuo editor ({{language}}), puoi specificarlo qui.", - "loadFromFile": "Le istruzioni possono essere caricate anche da .clinerules nel tuo spazio di lavoro." + "loadFromFile": "Le istruzioni possono essere caricate anche da .agentrules nel tuo spazio di lavoro." }, "systemPrompt": { "preview": "Anteprima prompt di sistema", diff --git a/webview-ui/src/i18n/locales/ja/prompts.json b/webview-ui/src/i18n/locales/ja/prompts.json index 87059150d73..d2a587071fe 100644 --- a/webview-ui/src/i18n/locales/ja/prompts.json +++ b/webview-ui/src/i18n/locales/ja/prompts.json @@ -36,12 +36,12 @@ "title": "モード固有のカスタム指示(オプション)", "resetToDefault": "デフォルトにリセット", "description": "{{modeName}}モードに特化した行動ガイドラインを追加します。", - "loadFromFile": "{{mode}}モード固有のカスタム指示は、ワークスペースの.clinerules-{{slug}}からも読み込めます。" + "loadFromFile": "{{mode}}モード固有のカスタム指示は、ワークスペースの.agentrules-{{slug}}からも読み込めます。" }, "globalCustomInstructions": { "title": "すべてのモードのカスタム指示", "description": "これらの指示はすべてのモードに適用されます。モード固有の指示で強化できる基本的な動作セットを提供します。\nRooにエディタの表示言語({{language}})とは異なる言語で考えたり話したりさせたい場合は、ここで指定できます。", - "loadFromFile": "指示はワークスペースの.clinerulesからも読み込めます。" + "loadFromFile": "指示はワークスペースの.agentrulesからも読み込めます。" }, "systemPrompt": { "preview": "システムプロンプトのプレビュー", diff --git a/webview-ui/src/i18n/locales/ko/prompts.json b/webview-ui/src/i18n/locales/ko/prompts.json index d07a0de3c7d..97336b03ebf 100644 --- a/webview-ui/src/i18n/locales/ko/prompts.json +++ b/webview-ui/src/i18n/locales/ko/prompts.json @@ -36,12 +36,12 @@ "title": "모드별 사용자 지정 지침 (선택 사항)", "resetToDefault": "기본값으로 재설정", "description": "{{modeName}} 모드에 대한 특정 행동 지침을 추가하세요.", - "loadFromFile": "{{mode}} 모드에 대한 사용자 지정 지침은 작업 공간의 .clinerules-{{slug}}에서도 로드할 수 있습니다." + "loadFromFile": "{{mode}} 모드에 대한 사용자 지정 지침은 작업 공간의 .agentrules-{{slug}}에서도 로드할 수 있습니다." }, "globalCustomInstructions": { "title": "모든 모드에 대한 사용자 지정 지침", "description": "이 지침은 모든 모드에 적용됩니다. 아래의 모드별 지침으로 향상될 수 있는 기본 동작 세트를 제공합니다.\nRoo가 에디터 표시 언어({{language}})와 다른 언어로 생각하고 말하기를 원하시면, 여기에 지정할 수 있습니다.", - "loadFromFile": "지침은 작업 공간의 .clinerules에서도 로드할 수 있습니다." + "loadFromFile": "지침은 작업 공간의 .agentrules에서도 로드할 수 있습니다." }, "systemPrompt": { "preview": "시스템 프롬프트 미리보기", diff --git a/webview-ui/src/i18n/locales/pl/prompts.json b/webview-ui/src/i18n/locales/pl/prompts.json index 1ea10ea1412..3626a79e2b8 100644 --- a/webview-ui/src/i18n/locales/pl/prompts.json +++ b/webview-ui/src/i18n/locales/pl/prompts.json @@ -36,12 +36,12 @@ "title": "Niestandardowe instrukcje dla trybu (opcjonalne)", "resetToDefault": "Przywróć domyślne", "description": "Dodaj wytyczne dotyczące zachowania specyficzne dla trybu {{modeName}}.", - "loadFromFile": "Niestandardowe instrukcje dla trybu {{modeName}} mogą być również ładowane z .clinerules-{{modeSlug}} w Twoim obszarze roboczym." + "loadFromFile": "Niestandardowe instrukcje dla trybu {{modeName}} mogą być również ładowane z .agentrules-{{modeSlug}} w Twoim obszarze roboczym." }, "globalCustomInstructions": { "title": "Niestandardowe instrukcje dla wszystkich trybów", "description": "Te instrukcje dotyczą wszystkich trybów. Zapewniają podstawowy zestaw zachowań, które mogą być rozszerzone przez instrukcje specyficzne dla trybów poniżej.\nJeśli chcesz, aby Roo myślał i mówił w języku innym niż język wyświetlania Twojego edytora ({{language}}), możesz to określić tutaj.", - "loadFromFile": "Instrukcje mogą być również ładowane z .clinerules w Twoim obszarze roboczym." + "loadFromFile": "Instrukcje mogą być również ładowane z .agentrules w Twoim obszarze roboczym." }, "systemPrompt": { "preview": "Podgląd podpowiedzi systemowej", diff --git a/webview-ui/src/i18n/locales/pt-BR/prompts.json b/webview-ui/src/i18n/locales/pt-BR/prompts.json index b65f9930fd4..3a41c3ce262 100644 --- a/webview-ui/src/i18n/locales/pt-BR/prompts.json +++ b/webview-ui/src/i18n/locales/pt-BR/prompts.json @@ -36,12 +36,12 @@ "title": "Instruções personalizadas específicas do modo (opcional)", "resetToDefault": "Restaurar para padrão", "description": "Adicione diretrizes comportamentais específicas para o modo {{modeName}}.", - "loadFromFile": "Instruções personalizadas específicas para o modo {{modeName}} também podem ser carregadas de .clinerules-{{modeSlug}} no seu espaço de trabalho." + "loadFromFile": "Instruções personalizadas específicas para o modo {{modeName}} também podem ser carregadas de .agentrules-{{modeSlug}} no seu espaço de trabalho." }, "globalCustomInstructions": { "title": "Instruções personalizadas para todos os modos", "description": "Estas instruções se aplicam a todos os modos. Elas fornecem um conjunto base de comportamentos que podem ser aprimorados por instruções específicas do modo abaixo.\nSe você desejar que o Roo pense e fale em um idioma diferente do idioma de exibição do seu editor ({{language}}), você pode especificá-lo aqui.", - "loadFromFile": "As instruções também podem ser carregadas de .clinerules no seu espaço de trabalho." + "loadFromFile": "As instruções também podem ser carregadas de .agentrules no seu espaço de trabalho." }, "systemPrompt": { "preview": "Visualizar prompt do sistema", diff --git a/webview-ui/src/i18n/locales/tr/prompts.json b/webview-ui/src/i18n/locales/tr/prompts.json index b9a6a808cdf..fe1bdfd4d50 100644 --- a/webview-ui/src/i18n/locales/tr/prompts.json +++ b/webview-ui/src/i18n/locales/tr/prompts.json @@ -36,12 +36,12 @@ "title": "Moda özgü özel talimatlar (isteğe bağlı)", "resetToDefault": "Varsayılana sıfırla", "description": "{{modeName}} modu için özel davranış yönergeleri ekleyin.", - "loadFromFile": "{{mode}} moduna özgü özel talimatlar ayrıca çalışma alanınızdaki .clinerules-{{slug}} adresinden yüklenebilir." + "loadFromFile": "{{mode}} moduna özgü özel talimatlar ayrıca çalışma alanınızdaki .agentrules-{{slug}} adresinden yüklenebilir." }, "globalCustomInstructions": { "title": "Tüm Modlar için Özel Talimatlar", "description": "Bu talimatlar tüm modlara uygulanır. Aşağıdaki moda özgü talimatlarla geliştirilebilen temel davranış seti sağlarlar.\nRoo'nun editörünüzün görüntüleme dilinden ({{language}}) farklı bir dilde düşünmesini ve konuşmasını istiyorsanız, burada belirtebilirsiniz.", - "loadFromFile": "Talimatlar ayrıca çalışma alanınızdaki .clinerules adresinden de yüklenebilir." + "loadFromFile": "Talimatlar ayrıca çalışma alanınızdaki .agentrules adresinden de yüklenebilir." }, "systemPrompt": { "preview": "Sistem promptunu önizle", diff --git a/webview-ui/src/i18n/locales/vi/prompts.json b/webview-ui/src/i18n/locales/vi/prompts.json index e541a38bc2f..ab9c5bc3888 100644 --- a/webview-ui/src/i18n/locales/vi/prompts.json +++ b/webview-ui/src/i18n/locales/vi/prompts.json @@ -36,12 +36,12 @@ "title": "Hướng dẫn tùy chỉnh dành riêng cho chế độ (tùy chọn)", "resetToDefault": "Đặt lại về mặc định", "description": "Thêm hướng dẫn hành vi dành riêng cho chế độ {{modeName}}.", - "loadFromFile": "Hướng dẫn tùy chỉnh dành riêng cho chế độ {{modeName}} cũng có thể được tải từ .clinerules-{{modeSlug}} trong không gian làm việc của bạn." + "loadFromFile": "Hướng dẫn tùy chỉnh dành riêng cho chế độ {{modeName}} cũng có thể được tải từ .agentrules-{{modeSlug}} trong không gian làm việc của bạn." }, "globalCustomInstructions": { "title": "Hướng dẫn tùy chỉnh cho tất cả các chế độ", "description": "Những hướng dẫn này áp dụng cho tất cả các chế độ. Chúng cung cấp một bộ hành vi cơ bản có thể được nâng cao bởi hướng dẫn dành riêng cho chế độ bên dưới.\nNếu bạn muốn Roo suy nghĩ và nói bằng ngôn ngữ khác với ngôn ngữ hiển thị trình soạn thảo của bạn ({{language}}), bạn có thể chỉ định ở đây.", - "loadFromFile": "Hướng dẫn cũng có thể được tải từ .clinerules trong không gian làm việc của bạn." + "loadFromFile": "Hướng dẫn cũng có thể được tải từ .agentrules trong không gian làm việc của bạn." }, "systemPrompt": { "preview": "Xem trước lời nhắc hệ thống", diff --git a/webview-ui/src/i18n/locales/zh-CN/prompts.json b/webview-ui/src/i18n/locales/zh-CN/prompts.json index 0b9af777ba0..a8a2e9153e1 100644 --- a/webview-ui/src/i18n/locales/zh-CN/prompts.json +++ b/webview-ui/src/i18n/locales/zh-CN/prompts.json @@ -36,12 +36,12 @@ "title": "模式特定的自定义指令(可选)", "resetToDefault": "重置为默认值", "description": "为{{modeName}}模式添加特定行为指南。", - "loadFromFile": "特定于 {{mode}} 模式的自定义指令也可以从工作区中的 .clinerules-{{slug}} 加载。" + "loadFromFile": "特定于 {{mode}} 模式的自定义指令也可以从工作区中的 .agentrules-{{slug}} 加载。" }, "globalCustomInstructions": { "title": "所有模式的自定义指令", "description": "这些指令适用于所有模式。它们提供了一套基本行为,可以通过下面的模式特定指令来增强。\n如果您希望Roo使用不同于编辑器显示语言({{language}})的语言进行思考和对话,您可以在这里指定。", - "loadFromFile": "指令也可以从工作区中的 .clinerules 加载。" + "loadFromFile": "指令也可以从工作区中的 .agentrules 加载。" }, "systemPrompt": { "preview": "预览系统提示词", diff --git a/webview-ui/src/i18n/locales/zh-TW/prompts.json b/webview-ui/src/i18n/locales/zh-TW/prompts.json index 0eb5c58d925..695438086d5 100644 --- a/webview-ui/src/i18n/locales/zh-TW/prompts.json +++ b/webview-ui/src/i18n/locales/zh-TW/prompts.json @@ -36,12 +36,12 @@ "title": "模式特定的自訂指令(選用)", "resetToDefault": "重設為預設值", "description": "為{{modeName}}模式添加特定行為指南。", - "loadFromFile": "{{mode}}模式的自訂指令也可以從工作區的.clinerules-{{slug}}載入。" + "loadFromFile": "{{mode}}模式的自訂指令也可以從工作區的.agentrules-{{slug}}載入。" }, "globalCustomInstructions": { "title": "所有模式的自訂指令", "description": "這些指令適用於所有模式。它們提供了一套基本行為,可以透過下面的模式特定指令來增強。\n如果您希望Roo使用不同於編輯器顯示語言({{language}})的語言進行思考和對話,您可以在這裡指定。", - "loadFromFile": "指令也可以從工作區的.clinerules載入。" + "loadFromFile": "指令也可以從工作區的.agentrules載入。" }, "systemPrompt": { "preview": "預覽系統提示詞",