mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Add logic for handling different ask states in the webview
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
export interface WebviewMessage {
|
||||
type: "apiKey" | "maxRequestsPerTask" | "webviewDidLaunch" | "newTask" | "askResponse" | "abortTask"
|
||||
type: "apiKey" | "maxRequestsPerTask" | "webviewDidLaunch" | "newTask" | "askResponse" | "clearTask"
|
||||
text?: string
|
||||
askResponse?: ClaudeAskResponse
|
||||
}
|
||||
|
||||
export type ClaudeAskResponse = "newTaskButtonTapped" | "yesButtonTapped" | "noButtonTapped" | "textResponse"
|
||||
export type ClaudeAskResponse = "yesButtonTapped" | "noButtonTapped" | "textResponse"
|
||||
Reference in New Issue
Block a user