Skip to content

Commit 85f9d57

Browse files
upstream pull fixes
1 parent 0c246dd commit 85f9d57

12 files changed

Lines changed: 89 additions & 31 deletions

File tree

package-lock.json

Lines changed: 18 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@
386386
"typescript": "^5.4.5",
387387
"@react-dev-inspector/middleware": "^2.0.1",
388388
"dotenv": "^16.4.7",
389-
"react-dev-inspector": "^2.0.1",
389+
"react-dev-inspector": "^2.0.1"
390390
},
391391
"lint-staged": {
392392
"*.{js,jsx,ts,tsx,json,css,md}": [

src/core/webview/ClineProvider.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1708,7 +1708,6 @@ export class ClineProvider implements vscode.WebviewViewProvider {
17081708
await this.updateGlobalState("requestyModelId", requestyModelId)
17091709
await this.updateGlobalState("requestyModelInfo", requestyModelInfo)
17101710
await this.updateGlobalState("modelTemperature", modelTemperature)
1711-
await this.updateGlobalState("pearai-token", PEARAI_TOKEN)
17121711
await this.updateGlobalState("pearaiBaseUrl", PEARAI_URL)
17131712
await this.updateGlobalState("pearaiModelId", pearaiModelId)
17141713
await this.updateGlobalState("pearaiModelInfo", pearaiModelInfo)

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as vscode from "vscode"
2-
2+
import delay from "delay"
33
import { ClineProvider } from "./core/webview/ClineProvider"
44
import { createClineAPI } from "./exports"
55
import "./utils/path" // Necessary to have access to String.prototype.toPosix.

src/shared/ExtensionMessage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export interface ExtensionMessage {
5555
| "promptsButtonClicked"
5656
| "didBecomeVisible"
5757
| "updatePearAIAuth"
58-
invoke?: "sendMessage" | "primaryButtonClick" | "secondaryButtonClick"
58+
invoke?: "sendMessage" | "primaryButtonClick" | "secondaryButtonClick" | "setChatBoxMessage"
5959
state?: ExtensionState
6060
images?: string[]
6161
ollamaModels?: string[]

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"noFallthroughCasesInSwitch": true,
1111
"noImplicitOverride": true,
1212
"noImplicitReturns": true,
13-
"noUnusedLocals": false,
13+
"noUnusedLocals": true,
1414
"resolveJsonModule": true,
1515
"rootDir": ".",
1616
"skipLibCheck": true,

webview-ui/.eslintrc.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"extends": "react-app"
2+
"extends": "react-app",
3+
"rules": {
4+
"@typescript-eslint/no-unused-vars": "off"
5+
}
36
}

webview-ui/package-lock.json

Lines changed: 59 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const AppContent = () => {
9090
isHidden={showSettings || showHistory || showMcp || showPrompts}
9191
showAnnouncement={false}
9292
hideAnnouncement={() => {
93-
true
93+
setShowAnnouncement(false)
9494
}}
9595
/>
9696
</>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
10191019
<img src={splashIcon} alt="..." />
10201020
<div className="w-[300px] flex-col justify-start items-start gap-5 inline-flex">
10211021
<div className="flex flex-col text-left">
1022-
<div className="text-2xl">PearAI Coding Agent</div>
1022+
<div className="text-2xl">PearAI Coding Agesdfasfnt</div>
10231023
<div className="h-[18px] opacity-50 text-xs leading-[18px]">
10241024
Powered by Roo Code / Cline
10251025
</div>

0 commit comments

Comments
 (0)