mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Implement bidirectional extension webview messaging system; extension holds claude messages state to keep webview stateless
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
export interface WebviewMessage {
|
||||
type: "text" | "action" | "apiKey" | "maxRequestsPerTask" | "webviewDidLaunch"
|
||||
type: "apiKey" | "maxRequestsPerTask" | "webviewDidLaunch" | "newTask" | "askResponse"
|
||||
text?: string
|
||||
action?: "newTaskButtonTapped" | "yesButtonTapped" | "noButtonTapped" | "executeButtonTapped"
|
||||
}
|
||||
askResponse?: ClaudeAskResponse
|
||||
}
|
||||
|
||||
export type ClaudeAskResponse = "newTaskButtonTapped" | "yesButtonTapped" | "noButtonTapped" | "textResponse"
|
||||
Reference in New Issue
Block a user