Skip to content

Commit bf362fd

Browse files
authored
Merge pull request #84 from trypear/nang/qa
Upsteam
2 parents 8e41a58 + 00f9675 commit bf362fd

File tree

5 files changed

+9
-17
lines changed

5 files changed

+9
-17
lines changed

src/core/webview/ClineProvider.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -828,20 +828,12 @@ export class ClineProvider extends EventEmitter<ClineProviderEvents> implements
828828
let apiConfig = await this.providerSettingsManager.loadConfig(config.name)
829829

830830
// Switch to pearai-model-creator model if we are in Creator Mode
831-
if (newMode == PEARAI_CREATOR_MODE_WEBAPP_MANAGER_SLUG) {
831+
if (newMode == PEARAI_CREATOR_MODE_WEBAPP_MANAGER_SLUG || newMode.includes('creator')) {
832832
apiConfig = {
833833
...apiConfig,
834834
apiProvider: "pearai",
835835
apiModelId: "pearai-model-creator",
836836
}
837-
} else {
838-
if (apiConfig.apiModelId == "pearai-model-creator") {
839-
apiConfig = {
840-
...apiConfig,
841-
apiProvider: "pearai",
842-
apiModelId: "pearai-model",
843-
}
844-
}
845837
}
846838

847839
await Promise.all([

src/integrations/editor/DiffViewProvider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export class DiffViewProvider {
163163
Getting diagnostics before and after the file edit is a better approach than
164164
automatically tracking problems in real-time. This method ensures we only
165165
report new problems that are a direct result of this specific edit.
166-
Since these are new problems resulting from Roo's edit, we know they're
166+
Since these are new problems resulting from Agent's edit, we know they're
167167
directly related to the work he's doing. This eliminates the risk of Roo
168168
going off-task or getting distracted by unrelated issues, which was a problem
169169
with the previous auto-debug approach. Some users' machines may be slow to
@@ -299,7 +299,7 @@ export class DiffViewProvider {
299299
query: Buffer.from(this.originalContent ?? "").toString("base64"),
300300
}),
301301
uri,
302-
`${fileName}: ${fileExists ? "Original ↔ Roo's Changes" : "New File"} (Editable)`,
302+
`${fileName}: ${fileExists ? "Original ↔ Agent's Changes" : "New File"} (Editable)`,
303303
)
304304
// This may happen on very slow machines ie project idx
305305
setTimeout(() => {

src/integrations/terminal/Terminal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class Terminal extends BaseTerminal {
1717

1818
const env = Terminal.getEnv()
1919
const iconPath = new vscode.ThemeIcon("rocket")
20-
this.terminal = terminal ?? vscode.window.createTerminal({ cwd, name: "Roo Code", iconPath, env })
20+
this.terminal = terminal ?? vscode.window.createTerminal({ cwd, name: "Agent", iconPath, env })
2121

2222
if (Terminal.getTerminalZdotdir()) {
2323
ShellIntegrationManager.terminalTmpDirs.set(id, env.ZDOTDIR)

webview-ui/src/i18n/locales/en/mcp.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"title": "MCP Servers",
33
"done": "Done",
4-
"description": "The <0>Model Context Protocol</0> 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</1> or ask Roo to create new tools specific to your workflow (e.g., \"add a tool that gets the latest npm docs\").",
4+
"description": "The <0>Model Context Protocol</0> 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</1> or ask Roo to create new tools specific to your workflow (e.g., \"add a tool that gets the latest npm docs\").",
55
"enableToggle": {
66
"title": "Enable MCP Servers",
7-
"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."
7+
"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 Agent's token usage."
88
},
99
"enableServerCreation": {
1010
"title": "Enable MCP Server Creation",
11-
"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."
11+
"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 Agent's token usage."
1212
},
1313
"editGlobalMCP": "Edit Global MCP",
1414
"editProjectMCP": "Edit Project MCP",

webview-ui/src/i18n/locales/en/prompts.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"roleDefinition": {
3232
"title": "Role Definition",
3333
"resetToDefault": "Reset to default",
34-
"description": "Define Roo's expertise and personality for this mode. This description shapes how Roo presents itself and approaches tasks."
34+
"description": "Define Agent's expertise and personality for this mode. This description shapes how Roo presents itself and approaches tasks."
3535
},
3636
"customInstructions": {
3737
"title": "Mode-specific Custom Instructions (optional)",
@@ -128,7 +128,7 @@
128128
},
129129
"roleDefinition": {
130130
"label": "Role Definition",
131-
"description": "Define Roo's expertise and personality for this mode."
131+
"description": "Define Agent's expertise and personality for this mode."
132132
},
133133
"tools": {
134134
"label": "Available Tools",

0 commit comments

Comments
 (0)