Skip to content

Commit 0b65d69

Browse files
committed
Added wording
1 parent 53e08ab commit 0b65d69

File tree

3 files changed

+18
-16
lines changed

3 files changed

+18
-16
lines changed

webview-ui/src/components/chat/BrowserSessionRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ const BrowserSessionRow = memo((props: BrowserSessionRowProps) => {
242242
style={{ color: "var(--vscode-foreground)", marginBottom: "-1.5px" }}></span>
243243
)}
244244
<span style={{ fontWeight: "bold" }}>
245-
<>Roo wants to use the browser:</>
245+
<>Agent wants to use the browser:</>
246246
</span>
247247
</div>
248248
<div

webview-ui/src/components/chat/ChatRow.tsx

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@ export const ChatRowContent = ({
151151
className="codicon codicon-terminal"
152152
style={{ color: normalColor, marginBottom: "-1.5px" }}></span>
153153
),
154-
<span style={{ color: normalColor, fontWeight: "bold" }}>Roo wants to execute this command:</span>,
154+
<span style={{ color: normalColor, fontWeight: "bold" }}>
155+
Agent wants to execute this command:
156+
</span>,
155157
]
156158
case "use_mcp_server":
157159
const mcpServerUse = JSON.parse(message.text || "{}") as ClineAskUseMcpServer
@@ -164,8 +166,8 @@ export const ChatRowContent = ({
164166
style={{ color: normalColor, marginBottom: "-1.5px" }}></span>
165167
),
166168
<span style={{ color: normalColor, fontWeight: "bold" }}>
167-
Roo wants to {mcpServerUse.type === "use_mcp_tool" ? "use a tool" : "access a resource"} on the{" "}
168-
<code>{mcpServerUse.serverName}</code> MCP server:
169+
Agent wants to {mcpServerUse.type === "use_mcp_tool" ? "use a tool" : "access a resource"} on
170+
the <code>{mcpServerUse.serverName}</code> MCP server:
169171
</span>,
170172
]
171173
case "completion_result":
@@ -289,7 +291,7 @@ export const ChatRowContent = ({
289291
className="flex items-center gap-2 p-2 rounded-lg mb-2">
290292
<PencilIcon className="w-5 h-5" />
291293
<div className="flex flex-col">
292-
<span className="font-bold uppercase">Roo wants to edit</span>
294+
<span className="font-bold uppercase">Agent wants to edit</span>
293295

294296
<span
295297
style={{
@@ -323,7 +325,7 @@ export const ChatRowContent = ({
323325
className="flex items-center gap-2 p-2 rounded-lg">
324326
{/* {toolIcon("new-file")} */}
325327
<PlusCircleIcon className="w-5 h-5" />
326-
<span className="font-bold uppercase">Roo wants to create a new file</span>
328+
<span className="font-bold uppercase">Agent wants to create a new file</span>
327329
</div>
328330
<CodeAccordian
329331
isLoading={message.partial}
@@ -354,7 +356,7 @@ export const ChatRowContent = ({
354356
width: "fit-content",
355357
}}>
356358
<span style={{ fontWeight: "bold" }} className="uppercase">
357-
{message.type === "ask" ? "Roo wants to read this file" : "Roo read this file:"}
359+
{message.type === "ask" ? "Agent wants to read this file" : "Roo read this file:"}
358360
</span>
359361
<div
360362
style={{
@@ -406,7 +408,7 @@ export const ChatRowContent = ({
406408
{toolIcon("folder-opened")}
407409
<span style={{ fontWeight: "bold" }}>
408410
{message.type === "ask"
409-
? "Roo wants to view the top level files in this directory:"
411+
? "Agent wants to view the top level files in this directory:"
410412
: "Roo viewed the top level files in this directory:"}
411413
</span>
412414
</div>
@@ -426,7 +428,7 @@ export const ChatRowContent = ({
426428
{toolIcon("folder-opened")}
427429
<span style={{ fontWeight: "bold" }}>
428430
{message.type === "ask"
429-
? "Roo wants to recursively view all files in this directory:"
431+
? "Agent wants to recursively view all files in this directory:"
430432
: "Roo recursively viewed all files in this directory:"}
431433
</span>
432434
</div>
@@ -446,7 +448,7 @@ export const ChatRowContent = ({
446448
{toolIcon("file-code")}
447449
<span style={{ fontWeight: "bold" }}>
448450
{message.type === "ask"
449-
? "Roo wants to view source code definition names used in this directory:"
451+
? "Agent wants to view source code definition names used in this directory:"
450452
: "Roo viewed source code definition names used in this directory:"}
451453
</span>
452454
</div>
@@ -466,7 +468,7 @@ export const ChatRowContent = ({
466468
<span style={{ fontWeight: "bold" }}>
467469
{message.type === "ask" ? (
468470
<>
469-
Roo wants to search this directory for <code>{tool.regex}</code>:
471+
Agent wants to search this directory for <code>{tool.regex}</code>:
470472
</>
471473
) : (
472474
<>
@@ -493,7 +495,7 @@ export const ChatRowContent = ({
493495
// {isInspecting ? <ProgressIndicator /> : toolIcon("inspect")}
494496
// <span style={{ fontWeight: "bold" }}>
495497
// {message.type === "ask" ? (
496-
// <>Roo wants to inspect this website:</>
498+
// <>Agent wants to inspect this website:</>
497499
// ) : (
498500
// <>Roo is inspecting this website:</>
499501
// )}
@@ -518,7 +520,7 @@ export const ChatRowContent = ({
518520
<span style={{ fontWeight: "bold" }}>
519521
{message.type === "ask" ? (
520522
<>
521-
Roo wants to switch to <code>{tool.mode}</code> mode
523+
Agent wants to switch to <code>{tool.mode}</code> mode
522524
{tool.reason ? ` because: ${tool.reason}` : ""}
523525
</>
524526
) : (
@@ -537,7 +539,7 @@ export const ChatRowContent = ({
537539
<div style={headerStyle}>
538540
{toolIcon("new-file")}
539541
<span style={{ fontWeight: "bold" }}>
540-
Roo wants to create a new task in <code>{tool.mode}</code> mode:
542+
Agent wants to create a new task in <code>{tool.mode}</code> mode:
541543
</span>
542544
</div>
543545
<div style={{ paddingLeft: "26px", marginTop: "4px" }}>

webview-ui/src/components/chat/ChatView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,14 +1013,14 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
10131013
<img src={splashIcon} alt="..." />
10141014
<div className="w-[300px] flex-col justify-start items-start gap-5 inline-flex">
10151015
<div className="flex flex-col text-left">
1016-
<div className="text-2xl">PearAI Agent</div>
1016+
<div className="text-2xl">PearAI Coding Agent</div>
10171017
<div className="h-[18px] opacity-50 text-xs leading-[18px]">
10181018
Powered by Roo Code / Cline
10191019
</div>
10201020
</div>
10211021
</div>
10221022
<div className="w-[300px] text-left opacity-50 text-xs leading-[18px]">
1023-
Autonomous coding agent that has control of your development environment (with
1023+
Autonomous coding agent that has access to your development environment (with
10241024
your permission) for a feedback loop to add features, fix bugs, and more.
10251025
</div>
10261026
</div>

0 commit comments

Comments
 (0)