mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
27 lines
606 B
TypeScript
27 lines
606 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"
|
|
text?: string
|
|
askResponse?: ClaudeAskResponse
|
|
apiConfiguration?: ApiConfiguration
|
|
images?: string[]
|
|
bool?: boolean
|
|
}
|
|
|
|
export type ClaudeAskResponse = "yesButtonTapped" | "noButtonTapped" | "messageResponse"
|