mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 04:11:10 -05:00
34 lines
756 B
TypeScript
34 lines
756 B
TypeScript
import { ApiConfiguration, ApiProvider } from "./api"
|
|
|
|
export interface WebviewMessage {
|
|
type:
|
|
| "apiConfiguration"
|
|
| "customInstructions"
|
|
| "alwaysAllowReadOnly"
|
|
| "webviewDidLaunch"
|
|
| "newTask"
|
|
| "askResponse"
|
|
| "clearTask"
|
|
| "didShowAnnouncement"
|
|
| "selectImages"
|
|
| "exportCurrentTask"
|
|
| "showTaskWithId"
|
|
| "deleteTaskWithId"
|
|
| "exportTaskWithId"
|
|
| "resetState"
|
|
| "requestOllamaModels"
|
|
| "requestLmStudioModels"
|
|
| "openImage"
|
|
| "openFile"
|
|
| "openMention"
|
|
| "cancelTask"
|
|
| "refreshOpenRouterModels"
|
|
text?: string
|
|
askResponse?: ClineAskResponse
|
|
apiConfiguration?: ApiConfiguration
|
|
images?: string[]
|
|
bool?: boolean
|
|
}
|
|
|
|
export type ClineAskResponse = "yesButtonClicked" | "noButtonClicked" | "messageResponse"
|