From 5bd754e9f31571ebfd0161106264f4b2e9779f0a Mon Sep 17 00:00:00 2001
From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
Date: Sun, 6 Oct 2024 06:15:18 -0400
Subject: [PATCH] Rename Cline
---
.../src/components/chat/Announcement.tsx | 18 +++++-----
webview-ui/src/components/chat/ChatRow.tsx | 34 +++++++++----------
.../src/components/settings/SettingsView.tsx | 2 +-
3 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/webview-ui/src/components/chat/Announcement.tsx b/webview-ui/src/components/chat/Announcement.tsx
index 087801f..3aff25d 100644
--- a/webview-ui/src/components/chat/Announcement.tsx
+++ b/webview-ui/src/components/chat/Announcement.tsx
@@ -34,15 +34,15 @@ const Announcement = ({ version, hideAnnouncement }: AnnouncementProps) => {
-
- Claude can now use a browser! This update adds a new
inspect_site tool that captures
- screenshots and console logs from websites (including localhost), making it easier for Claude to
+ Cline can now use a browser! This update adds a new inspect_site tool that captures
+ screenshots and console logs from websites (including localhost), making it easier for Cline to
troubleshoot issues on his own.
See a demo here.
-
- Improved automatic linter/compiler debugging by only sending Claude new errors that result from his
+ Improved automatic linter/compiler debugging by only sending Cline new errors that result from his
edits, rather than reporting all workspace problems.
-
@@ -50,10 +50,10 @@ const Announcement = ({ version, hideAnnouncement }: AnnouncementProps) => {
-
@url: Paste in a URL for the extension to fetch and convert to markdown
- (i.e. give Claude the latest docs)
+ (i.e. give Cline the latest docs)
-
- @problems: Add workspace errors and warnings for Claude to fix
+ @problems: Add workspace errors and warnings for Cline to fix
-
@file: Adds a file's contents so you don't have to waste API requests
@@ -66,7 +66,7 @@ const Announcement = ({ version, hideAnnouncement }: AnnouncementProps) => {
{/*
- Claude can now monitor workspace problems to keep updated on linter/compiler/build issues, letting him
+ Cline can now monitor workspace problems to keep updated on linter/compiler/build issues, letting him
proactively fix errors on his own! (adding missing imports, fixing type errors, etc.)
See a demo here.
@@ -106,16 +106,16 @@ const Announcement = ({ version, hideAnnouncement }: AnnouncementProps) => {
)}
-
- Edit Claude's changes before accepting! When he creates or edits a file, you can modify his
+ Edit Cline's changes before accepting! When he creates or edits a file, you can modify his
changes directly in the right side of the diff view (+ hover over the 'Revert Block' arrow button in
the center to undo "
{"// rest of code here"}" shenanigans)
-
- New
search_files tool that lets Claude perform regex searches in your project, letting
+ New search_files tool that lets Cline perform regex searches in your project, letting
him refactor code, address TODOs and FIXMEs, remove dead code, and more!
-
- When Claude runs commands, you can now type directly in the terminal (+ support for Python
+ When Cline runs commands, you can now type directly in the terminal (+ support for Python
environments)
*/}
diff --git a/webview-ui/src/components/chat/ChatRow.tsx b/webview-ui/src/components/chat/ChatRow.tsx
index 022e780..20f0955 100644
--- a/webview-ui/src/components/chat/ChatRow.tsx
+++ b/webview-ui/src/components/chat/ChatRow.tsx
@@ -96,7 +96,7 @@ const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifiedMessa
,
- Claude is having trouble...,
+ Cline is having trouble...,
]
case "command":
return [
@@ -108,7 +108,7 @@ const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifiedMessa
style={{ color: normalColor, marginBottom: "-1.5px" }}>
),
- Claude wants to execute this command:
+ Cline wants to execute this command:
,
]
case "completion_result":
@@ -170,7 +170,7 @@ const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifiedMessa
,
- Claude has a question:,
+ Cline has a question:,
]
default:
return [null, null]
@@ -211,7 +211,7 @@ const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifiedMessa
<>
{toolIcon("edit")}
- Claude wants to edit this file:
+ Cline wants to edit this file:
{toolIcon("new-file")}
- Claude wants to create a new file:
+ Cline wants to create a new file:
{toolIcon("file-code")}
- {message.type === "ask" ? "Claude wants to read this file:" : "Claude read this file:"}
+ {message.type === "ask" ? "Cline wants to read this file:" : "Cline read this file:"}
{/*
{message.type === "ask"
- ? "Claude wants to view the top level files in this directory:"
- : "Claude viewed the top level files in this directory:"}
+ ? "Cline wants to view the top level files in this directory:"
+ : "Cline viewed the top level files in this directory:"}
{message.type === "ask"
- ? "Claude wants to recursively view all files in this directory:"
- : "Claude recursively viewed all files in this directory:"}
+ ? "Cline wants to recursively view all files in this directory:"
+ : "Cline recursively viewed all files in this directory:"}
{message.type === "ask"
- ? "Claude wants to view source code definition names used in this directory:"
- : "Claude viewed source code definition names used in this directory:"}
+ ? "Cline wants to view source code definition names used in this directory:"
+ : "Cline viewed source code definition names used in this directory:"}
{message.type === "ask" ? (
<>
- Claude wants to search this directory for {tool.regex}:
+ Cline wants to search this directory for {tool.regex}:
>
) : (
<>
- Claude searched this directory for {tool.regex}:
+ Cline searched this directory for {tool.regex}:
>
)}
@@ -388,9 +388,9 @@ const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifiedMessa
{isInspecting ? : toolIcon("inspect")}
{message.type === "ask" ? (
- <>Claude wants to inspect this website:>
+ <>Cline wants to inspect this website:>
) : (
- <>Claude is inspecting this website:>
+ <>Cline is inspecting this website:>
)}
@@ -633,7 +633,7 @@ const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifiedMessa
- Claude won't be able to view the command's output. Please update VSCode (
+ Cline won't be able to view the command's output. Please update VSCode (
CMD/CTRL + Shift + P → "Update") and make sure you're using a supported
shell: zsh, bash, fish, or PowerShell (CMD/CTRL + Shift + P →
"Terminal: Select Default Profile").{" "}
diff --git a/webview-ui/src/components/settings/SettingsView.tsx b/webview-ui/src/components/settings/SettingsView.tsx
index 9620f81..e3dc3cb 100644
--- a/webview-ui/src/components/settings/SettingsView.tsx
+++ b/webview-ui/src/components/settings/SettingsView.tsx
@@ -125,7 +125,7 @@ const SettingsView = ({ onDone }: SettingsViewProps) => {
marginTop: "5px",
color: "var(--vscode-descriptionForeground)",
}}>
- When enabled, Claude will automatically read files, view directories, and inspect sites without
+ When enabled, Cline will automatically read files, view directories, and inspect sites without
requiring you to click the Allow button.