mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
28 lines
676 B
TypeScript
28 lines
676 B
TypeScript
import { ApiConfiguration, ApiProvider } from "./api"
|
|
|
|
export interface WebviewMessage {
|
|
type:
|
|
| "apiConfiguration"
|
|
| "maxRequestsPerTask"
|
|
| "customInstructions"
|
|
| "webviewDidLaunch"
|
|
| "newTask"
|
|
| "askResponse"
|
|
| "clearTask"
|
|
| "didCloseAnnouncement"
|
|
| "selectImages"
|
|
| "exportCurrentTask"
|
|
| "showTaskWithId"
|
|
| "deleteTaskWithId"
|
|
| "exportTaskWithId"
|
|
| "didClickKoduSignIn"
|
|
| "didClickKoduSignOut"
|
|
| "didClickKoduAddCredits"
|
|
| "fetchKoduCredits"
|
|
text?: string
|
|
askResponse?: ClaudeAskResponse
|
|
apiConfiguration?: ApiConfiguration
|
|
images?: string[]
|
|
}
|
|
|
|
export type ClaudeAskResponse = "yesButtonTapped" | "noButtonTapped" | "messageResponse"
|