Skip to content

Commit e3f4d52

Browse files
committed
Progress
1 parent 172be53 commit e3f4d52

5 files changed

Lines changed: 27 additions & 21 deletions

File tree

package.json

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"node": ">=20.18.1"
1515
},
1616
"author": {
17-
"name": "Roo Vet"
17+
"name": "PearAI"
1818
},
1919
"repository": {
2020
"type": "git",
@@ -62,19 +62,19 @@
6262
}
6363
],
6464
"viewsContainers": {
65-
"activitybar": [
65+
"auxiliarybar": [
6666
{
67-
"id": "roo-cline-ActivityBar",
68-
"title": "Roo Code",
69-
"icon": "$(rocket)"
67+
"id": "pearai-roo-cline",
68+
"title": "PearAI Agent",
69+
"icon": "assets/icons/pear.png"
7070
}
7171
]
7272
},
7373
"views": {
74-
"roo-cline-ActivityBar": [
74+
"pearai-roo-cline": [
7575
{
7676
"type": "webview",
77-
"id": "roo-cline.SidebarProvider",
77+
"id": "pearai-roo-cline.SidebarProvider",
7878
"name": ""
7979
}
8080
]
@@ -164,6 +164,11 @@
164164
"command": "roo-cline.terminalExplainCommandInCurrentTask",
165165
"title": "Explain This Command (Current Task)",
166166
"category": "Terminal"
167+
},
168+
{
169+
"command": "roo-cline.focus",
170+
"title": "Roo Code: Bring To Focus",
171+
"category": "Roo Code"
167172
}
168173
],
169174
"menus": {
@@ -223,37 +228,37 @@
223228
{
224229
"command": "roo-cline.plusButtonClicked",
225230
"group": "navigation@1",
226-
"when": "view == roo-cline.SidebarProvider"
231+
"when": "view == pearai-roo-cline.SidebarProvider"
227232
},
228233
{
229234
"command": "roo-cline.promptsButtonClicked",
230235
"group": "navigation@2",
231-
"when": "view == roo-cline.SidebarProvider"
236+
"when": "view == pearai-roo-cline.SidebarProvider"
232237
},
233238
{
234239
"command": "roo-cline.mcpButtonClicked",
235240
"group": "navigation@3",
236-
"when": "view == roo-cline.SidebarProvider"
241+
"when": "view == pearai-roo-cline.SidebarProvider"
237242
},
238243
{
239244
"command": "roo-cline.historyButtonClicked",
240245
"group": "navigation@4",
241-
"when": "view == roo-cline.SidebarProvider"
246+
"when": "view == pearai-roo-cline.SidebarProvider"
242247
},
243248
{
244249
"command": "roo-cline.popoutButtonClicked",
245250
"group": "navigation@5",
246-
"when": "view == roo-cline.SidebarProvider"
251+
"when": "view == pearai-roo-cline.SidebarProvider"
247252
},
248253
{
249254
"command": "roo-cline.settingsButtonClicked",
250255
"group": "navigation@6",
251-
"when": "view == roo-cline.SidebarProvider"
256+
"when": "view == pearai-roo-cline.SidebarProvider"
252257
},
253258
{
254259
"command": "roo-cline.helpButtonClicked",
255260
"group": "navigation@7",
256-
"when": "view == roo-cline.SidebarProvider"
261+
"when": "view == pearai-roo-cline.SidebarProvider"
257262
}
258263
]
259264
},

webview-ui/src/App.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import { ExtensionStateContextProvider, useExtensionState } from "./context/Exte
1111
import ChatView from "./components/chat/ChatView"
1212
import HistoryView from "./components/history/HistoryView"
1313
import SettingsView, { SettingsViewRef } from "./components/settings/SettingsView"
14-
import WelcomeView from "./components/welcome/WelcomeView"
1514
import McpView from "./components/mcp/McpView"
1615
import PromptsView from "./components/prompts/PromptsView"
1716
import { HumanRelayDialog } from "./components/human-relay/HumanRelayDialog"

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,12 +1183,12 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
11831183
</div>
11841184
</>
11851185
)}
1186-
{telemetrySetting === "unset" && <TelemetryBanner />}
1187-
{showAnnouncement && <Announcement version={version} hideAnnouncement={hideAnnouncement} />}
1188-
<div style={{ padding: "0 20px", flexShrink: 0 }}>
1186+
{/* {telemetrySetting === "unset" && <TelemetryBanner />} */}
1187+
{/* {showAnnouncement && <Announcement version={version} hideAnnouncement={hideAnnouncement} />} */}
1188+
{/* <div style={{ padding: "0 20px", flexShrink: 0 }}>
11891189
<h2>{t("chat:greeting")}</h2>
11901190
<p>{t("chat:aboutMe")}</p>
1191-
</div>
1191+
</div> */}
11921192
{taskHistory.length > 0 && <HistoryPreview showHistoryView={showHistoryView} />}
11931193
</div>
11941194
)}
@@ -1357,7 +1357,6 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
13571357
modeShortcutText={modeShortcutText}
13581358
// isNewTask={taskHistory.length === 0}
13591359
/>
1360-
modeShortcutText={modeShortcutText}
13611360
<div id="roo-portal" />
13621361
</div>
13631362
)

webview-ui/src/components/settings/ApiOptions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ const ApiOptions = ({
265265
<SelectValue placeholder={t("settings:common.select")} />
266266
</SelectTrigger>
267267
<SelectContent>
268-
<SelectItem value="openrouter">OpenRouter</SelectItem>
268+
<SelectItem value="pearai">PearAI</SelectItem>
269269
<SelectSeparator />
270270
{PROVIDERS.map(({ value, label }) => (
271271
<SelectItem key={value} value={value}>

webview-ui/src/components/settings/constants.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
geminiModels,
88
mistralModels,
99
openAiNativeModels,
10+
pearAiModels,
1011
vertexModels,
1112
} from "../../../../src/shared/api"
1213

@@ -18,6 +19,7 @@ export const MODELS_BY_PROVIDER: Partial<Record<ApiProvider, Record<string, Mode
1819
mistral: mistralModels,
1920
"openai-native": openAiNativeModels,
2021
vertex: vertexModels,
22+
pearai: pearAiModels,
2123
}
2224

2325
export const PROVIDERS = [
@@ -36,6 +38,7 @@ export const PROVIDERS = [
3638
{ value: "unbound", label: "Unbound" },
3739
{ value: "requesty", label: "Requesty" },
3840
{ value: "human-relay", label: "Human Relay" },
41+
{ value: "openrouter", label: "OpenRouter" },
3942
].sort((a, b) => a.label.localeCompare(b.label))
4043

4144
export const AWS_REGIONS = [

0 commit comments

Comments
 (0)