Skip to content

Commit 98d6c53

Browse files
committed
Rename to kilo code in chats
1 parent 05d31c2 commit 98d6c53

File tree

1 file changed

+25
-21
lines changed

1 file changed

+25
-21
lines changed

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

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export const ChatRowContent = ({
124124
<span
125125
className="codicon codicon-error"
126126
style={{ color: errorColor, marginBottom: "-1.5px" }}></span>,
127-
<span style={{ color: errorColor, fontWeight: "bold" }}>Roo is having trouble...</span>,
127+
<span style={{ color: errorColor, fontWeight: "bold" }}>Kilo Code is having trouble...</span>,
128128
]
129129
case "command":
130130
return [
@@ -135,7 +135,9 @@ export const ChatRowContent = ({
135135
className="codicon codicon-terminal"
136136
style={{ color: normalColor, marginBottom: "-1.5px" }}></span>
137137
),
138-
<span style={{ color: normalColor, fontWeight: "bold" }}>Roo wants to execute this command:</span>,
138+
<span style={{ color: normalColor, fontWeight: "bold" }}>
139+
Kilo Code wants to execute this command:
140+
</span>,
139141
]
140142
case "use_mcp_server":
141143
const mcpServerUse = JSON.parse(message.text || "{}") as ClineAskUseMcpServer
@@ -148,8 +150,8 @@ export const ChatRowContent = ({
148150
style={{ color: normalColor, marginBottom: "-1.5px" }}></span>
149151
),
150152
<span style={{ color: normalColor, fontWeight: "bold" }}>
151-
Roo wants to {mcpServerUse.type === "use_mcp_tool" ? "use a tool" : "access a resource"} on the{" "}
152-
<code>{mcpServerUse.serverName}</code> MCP server:
153+
Kilo Code wants to {mcpServerUse.type === "use_mcp_tool" ? "use a tool" : "access a resource"}{" "}
154+
on the <code>{mcpServerUse.serverName}</code> MCP server:
153155
</span>,
154156
]
155157
case "completion_result":
@@ -213,7 +215,7 @@ export const ChatRowContent = ({
213215
<span
214216
className="codicon codicon-question"
215217
style={{ color: normalColor, marginBottom: "-1.5px" }}></span>,
216-
<span style={{ color: normalColor, fontWeight: "bold" }}>Roo has a question:</span>,
218+
<span style={{ color: normalColor, fontWeight: "bold" }}>Kilo Code has a question:</span>,
217219
]
218220
default:
219221
return [null, null]
@@ -255,7 +257,7 @@ export const ChatRowContent = ({
255257
<>
256258
<div style={headerStyle}>
257259
{toolIcon(tool.tool === "appliedDiff" ? "diff" : "edit")}
258-
<span style={{ fontWeight: "bold" }}>Roo wants to edit this file:</span>
260+
<span style={{ fontWeight: "bold" }}>Kilo Code wants to edit this file:</span>
259261
</div>
260262
<CodeAccordian
261263
isLoading={message.partial}
@@ -271,7 +273,7 @@ export const ChatRowContent = ({
271273
<>
272274
<div style={headerStyle}>
273275
{toolIcon("new-file")}
274-
<span style={{ fontWeight: "bold" }}>Roo wants to create a new file:</span>
276+
<span style={{ fontWeight: "bold" }}>Kilo Code wants to create a new file:</span>
275277
</div>
276278
<CodeAccordian
277279
isLoading={message.partial}
@@ -288,7 +290,9 @@ export const ChatRowContent = ({
288290
<div style={headerStyle}>
289291
{toolIcon("file-code")}
290292
<span style={{ fontWeight: "bold" }}>
291-
{message.type === "ask" ? "Roo wants to read this file:" : "Roo read this file:"}
293+
{message.type === "ask"
294+
? "Kilo Code wants to read this file:"
295+
: "Kilo Code read this file:"}
292296
</span>
293297
</div>
294298
{/* <CodeAccordian
@@ -346,8 +350,8 @@ export const ChatRowContent = ({
346350
{toolIcon("folder-opened")}
347351
<span style={{ fontWeight: "bold" }}>
348352
{message.type === "ask"
349-
? "Roo wants to view the top level files in this directory:"
350-
: "Roo viewed the top level files in this directory:"}
353+
? "Kilo Code wants to view the top level files in this directory:"
354+
: "Kilo Code viewed the top level files in this directory:"}
351355
</span>
352356
</div>
353357
<CodeAccordian
@@ -366,8 +370,8 @@ export const ChatRowContent = ({
366370
{toolIcon("folder-opened")}
367371
<span style={{ fontWeight: "bold" }}>
368372
{message.type === "ask"
369-
? "Roo wants to recursively view all files in this directory:"
370-
: "Roo recursively viewed all files in this directory:"}
373+
? "Kilo Code wants to recursively view all files in this directory:"
374+
: "Kilo Code recursively viewed all files in this directory:"}
371375
</span>
372376
</div>
373377
<CodeAccordian
@@ -386,8 +390,8 @@ export const ChatRowContent = ({
386390
{toolIcon("file-code")}
387391
<span style={{ fontWeight: "bold" }}>
388392
{message.type === "ask"
389-
? "Roo wants to view source code definition names used in this directory:"
390-
: "Roo viewed source code definition names used in this directory:"}
393+
? "Kilo Code wants to view source code definition names used in this directory:"
394+
: "Kilo Code viewed source code definition names used in this directory:"}
391395
</span>
392396
</div>
393397
<CodeAccordian
@@ -406,11 +410,11 @@ export const ChatRowContent = ({
406410
<span style={{ fontWeight: "bold" }}>
407411
{message.type === "ask" ? (
408412
<>
409-
Roo wants to search this directory for <code>{tool.regex}</code>:
413+
Kilo Code wants to search this directory for <code>{tool.regex}</code>:
410414
</>
411415
) : (
412416
<>
413-
Roo searched this directory for <code>{tool.regex}</code>:
417+
Kilo Code searched this directory for <code>{tool.regex}</code>:
414418
</>
415419
)}
416420
</span>
@@ -432,12 +436,12 @@ export const ChatRowContent = ({
432436
<span style={{ fontWeight: "bold" }}>
433437
{message.type === "ask" ? (
434438
<>
435-
Roo wants to switch to <code>{tool.mode}</code> mode
439+
Kilo Code wants to switch to <code>{tool.mode}</code> mode
436440
{tool.reason ? ` because: ${tool.reason}` : ""}
437441
</>
438442
) : (
439443
<>
440-
Roo switched to <code>{tool.mode}</code> mode
444+
Kilo Code switched to <code>{tool.mode}</code> mode
441445
{tool.reason ? ` because: ${tool.reason}` : ""}
442446
</>
443447
)}
@@ -451,7 +455,7 @@ export const ChatRowContent = ({
451455
<div style={headerStyle}>
452456
{toolIcon("new-file")}
453457
<span style={{ fontWeight: "bold" }}>
454-
Roo wants to create a new subtask in <code>{tool.mode}</code> mode:
458+
Kilo Code wants to create a new subtask in <code>{tool.mode}</code> mode:
455459
</span>
456460
</div>
457461
<div style={{ paddingLeft: "26px", marginTop: "4px" }}>
@@ -464,7 +468,7 @@ export const ChatRowContent = ({
464468
<>
465469
<div style={headerStyle}>
466470
{toolIcon("checklist")}
467-
<span style={{ fontWeight: "bold" }}>Roo wants to finish this subtask</span>
471+
<span style={{ fontWeight: "bold" }}>Kilo Code wants to finish this subtask</span>
468472
</div>
469473
<div style={{ paddingLeft: "26px", marginTop: "4px" }}>
470474
<code>{tool.content}</code>
@@ -706,7 +710,7 @@ export const ChatRowContent = ({
706710
</span>
707711
</div>
708712
<div>
709-
Roo won't be able to view the command's output. Please update VSCode (
713+
Kilo Code won't be able to view the command's output. Please update VSCode (
710714
<code>CMD/CTRL + Shift + P</code> → "Update") and make sure you're using a supported
711715
shell: zsh, bash, fish, or PowerShell (<code>CMD/CTRL + Shift + P</code>
712716
"Terminal: Select Default Profile").{" "}

0 commit comments

Comments
 (0)