Skip to content

Commit d60a8d0

Browse files
committed
agent
1 parent 293f74f commit d60a8d0

2 files changed

Lines changed: 38 additions & 38 deletions

File tree

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -990,17 +990,17 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
990990
)
991991

992992
const baseText = task ? t("chat:typeMessage") : t("chat:typeTask")
993-
const placeholderText =
994-
baseText +
995-
`\n(${t("chat:addContext")}${shouldDisableImages ? `, ${t("chat:dragFiles")}` : `, ${t("chat:dragFilesImages")}`})`
996-
997-
// const placeholderText = useMemo(() => {
998-
// const baseText = task ? "Ask a follow up." : "Give PearAI Agent a task here."
999-
// const contextText = " Use @ to add context."
1000-
// const imageText = shouldDisableImages ? "" : "\nhold shift to drag in images"
1001-
// const helpText = imageText ? `\n${contextText}${imageText}` : `\n${contextText}`
1002-
// return baseText + contextText
1003-
// }, [task, shouldDisableImages])
993+
// const placeholderText =
994+
// baseText +
995+
// `\n(${t("chat:addContext")}${shouldDisableImages ? `, ${t("chat:dragFiles")}` : `, ${t("chat:dragFilesImages")}`})`
996+
997+
const placeholderText = useMemo(() => {
998+
const baseText = task ? "Follow up here." : "Give PearAI Agent a task here."
999+
const contextText = " Use @ to add context."
1000+
const imageText = shouldDisableImages ? "" : "\nhold shift to drag in images"
1001+
const helpText = imageText ? `\n${contextText}${imageText}` : `\n${contextText}`
1002+
return baseText + contextText
1003+
}, [task, shouldDisableImages])
10041004

10051005
const itemContent = useCallback(
10061006
(index: number, messageOrGroup: ClineMessage | ClineMessage[]) => {

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

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"greeting": "What can Roo do for you?",
2+
"greeting": "What can PearAI Agent do for you?",
33
"task": {
44
"title": "Task",
55
"seeMore": "See more",
@@ -104,44 +104,44 @@
104104
"current": "Current"
105105
},
106106
"fileOperations": {
107-
"wantsToRead": "Roo wants to read this file:",
108-
"didRead": "Roo read this file:",
109-
"wantsToEdit": "Roo wants to edit this file:",
110-
"wantsToCreate": "Roo wants to create a new file:"
107+
"wantsToRead": "PearAI Agent wantsto read this file:",
108+
"didRead": "PearAI Agent read this file:",
109+
"wantsToEdit": "PearAI Agent wantsto edit this file:",
110+
"wantsToCreate": "PearAI Agent wantsto create a new file:"
111111
},
112112
"directoryOperations": {
113-
"wantsToViewTopLevel": "Roo wants to view the top level files in this directory:",
114-
"didViewTopLevel": "Roo viewed the top level files in this directory:",
115-
"wantsToViewRecursive": "Roo wants to recursively view all files in this directory:",
116-
"didViewRecursive": "Roo recursively viewed all files in this directory:",
117-
"wantsToViewDefinitions": "Roo wants to view source code definition names used in this directory:",
118-
"didViewDefinitions": "Roo viewed source code definition names used in this directory:",
119-
"wantsToSearch": "Roo wants to search this directory for <code>{{regex}}</code>:",
120-
"didSearch": "Roo searched this directory for <code>{{regex}}</code>:"
113+
"wantsToViewTopLevel": "PearAI Agent wantsto view the top level files in this directory:",
114+
"didViewTopLevel": "PearAI Agent viewed the top level files in this directory:",
115+
"wantsToViewRecursive": "PearAI Agent wantsto recursively view all files in this directory:",
116+
"didViewRecursive": "PearAI Agent recursively viewed all files in this directory:",
117+
"wantsToViewDefinitions": "PearAI Agent wantsto view source code definition names used in this directory:",
118+
"didViewDefinitions": "PearAI Agent viewed source code definition names used in this directory:",
119+
"wantsToSearch": "PearAI Agent wantsto search this directory for <code>{{regex}}</code>:",
120+
"didSearch": "PearAI Agent searched this directory for <code>{{regex}}</code>:"
121121
},
122122
"commandOutput": "Command Output",
123123
"response": "Response",
124124
"arguments": "Arguments",
125125
"mcp": {
126-
"wantsToUseTool": "Roo wants to use a tool on the {{serverName}} MCP server:",
127-
"wantsToAccessResource": "Roo wants to access a resource on the {{serverName}} MCP server:"
126+
"wantsToUseTool": "PearAI Agent wantsto use a tool on the {{serverName}} MCP server:",
127+
"wantsToAccessResource": "PearAI Agent wantsto access a resource on the {{serverName}} MCP server:"
128128
},
129129
"modes": {
130-
"wantsToSwitch": "Roo wants to switch to {{mode}} mode",
131-
"wantsToSwitchWithReason": "Roo wants to switch to {{mode}} mode because: {{reason}}",
132-
"didSwitch": "Roo switched to {{mode}} mode",
133-
"didSwitchWithReason": "Roo switched to {{mode}} mode because: {{reason}}"
130+
"wantsToSwitch": "PearAI Agent wantsto switch to {{mode}} mode",
131+
"wantsToSwitchWithReason": "PearAI Agent wantsto switch to {{mode}} mode because: {{reason}}",
132+
"didSwitch": "PearAI Agent switched to {{mode}} mode",
133+
"didSwitchWithReason": "PearAI Agent switched to {{mode}} mode because: {{reason}}"
134134
},
135135
"subtasks": {
136-
"wantsToCreate": "Roo wants to create a new subtask in {{mode}} mode:",
137-
"wantsToFinish": "Roo wants to finish this subtask"
136+
"wantsToCreate": "PearAI Agent wantsto create a new subtask in {{mode}} mode:",
137+
"wantsToFinish": "PearAI Agent wantsto finish this subtask"
138138
},
139139
"questions": {
140-
"hasQuestion": "Roo has a question:"
140+
"hasQuestion": "PearAI Agent has a question:"
141141
},
142142
"taskCompleted": "Task Completed",
143143
"error": "Error",
144-
"troubleMessage": "Roo is having trouble...",
144+
"troubleMessage": "PearAI Agent is having trouble...",
145145
"shellIntegration": {
146146
"unavailable": "Shell Integration Unavailable",
147147
"troubleshooting": "Still having trouble?"
@@ -152,7 +152,7 @@
152152
"autoApprove": {
153153
"title": "Auto-approve:",
154154
"none": "None",
155-
"description": "Auto-approve allows Roo Code to perform actions without asking for permission. Only enable for actions you fully trust.",
155+
"description": "Auto-approve allows PearAI Agent to perform actions without asking for permission. Only enable for actions you fully trust.",
156156
"actions": {
157157
"readFiles": {
158158
"label": "Read files and directories",
@@ -197,8 +197,8 @@
197197
}
198198
},
199199
"announcement": {
200-
"title": "🎉 Roo Code 3.10 Released",
201-
"description": "Roo Code 3.10 brings powerful productivity enhancements!",
200+
"title": "🎉 PearAI Agent Code 3.10 Released",
201+
"description": "PearAI Agent Code 3.10 brings powerful productivity enhancements!",
202202
"whatsNew": "What's New",
203203
"feature1": "Suggested responses to questions",
204204
"feature2": "Improved large file handling",
@@ -213,7 +213,7 @@
213213
"seconds": "{{count}}s"
214214
},
215215
"browser": {
216-
"rooWantsToUse": "Roo wants to use the browser:",
216+
"rooWantsToUse": "PearAI Agent wantsto use the browser:",
217217
"consoleLogs": "Console Logs",
218218
"noNewLogs": "(No new logs)",
219219
"screenshot": "Browser screenshot",

0 commit comments

Comments
 (0)