mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Add secret and global state management + messaging between web and extension; persist API key and max num requests; add Welcome screen
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
|
||||
// webview will hold state
|
||||
export interface ExtensionMessage {
|
||||
type: "text" | "action"
|
||||
type: "text" | "action" | "webviewState"
|
||||
text?: string
|
||||
action?: "plusButtonTapped" | "settingsButtonTapped"
|
||||
webviewState?: { didOpenOnce: boolean, apiKey?: string, maxRequestsPerTask?: number }
|
||||
}
|
||||
Reference in New Issue
Block a user