Compare commits

...

1 Commits

Author SHA1 Message Date
Elephant Lumps da6b1485eb remove unused newTask message" 2025-06-06 10:59:00 -07:00
2 changed files with 0 additions and 12 deletions
-11
View File
@@ -207,17 +207,6 @@ export class Controller {
await this.setUserInfo(message.user || undefined)
await this.postStateToWebview()
break
case "newTask":
// Code that should run in response to the hello message command
//vscode.window.showInformationMessage(message.text!)
// Send a message to our webview.
// You can send any JSON serializable data.
// Could also do this in extension .ts
//this.postMessageToWebview({ type: "text", text: `Extension: ${Date.now()}` })
// initializing new instance of Cline will make sure that any agentically running promises in old instance don't affect our new task. this essentially creates a fresh slate for the new task
await this.initTask(message.text, message.images, message.files)
break
case "apiConfiguration":
if (message.apiConfiguration) {
await updateApiConfiguration(this.context, message.apiConfiguration)
-1
View File
@@ -9,7 +9,6 @@ import { McpViewTab } from "./mcp"
export interface WebviewMessage {
type:
| "apiConfiguration"
| "newTask"
| "condense"
| "reportBug"
| "requestVsCodeLmModels"