mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Refactor to support more sections in the future
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { ApiConfiguration, ApiProvider } from "./api"
|
||||
import { Mode } from "./modes"
|
||||
import { Mode, PromptComponent } from "./modes"
|
||||
|
||||
export type PromptMode = Mode | 'enhance'
|
||||
|
||||
@@ -66,6 +66,7 @@ export interface WebviewMessage {
|
||||
| "setApiConfigPassword"
|
||||
| "mode"
|
||||
| "updatePrompt"
|
||||
| "updateEnhancedPrompt"
|
||||
| "getSystemPrompt"
|
||||
| "systemPrompt"
|
||||
| "enhancementApiConfigId"
|
||||
@@ -83,7 +84,7 @@ export interface WebviewMessage {
|
||||
alwaysAllow?: boolean
|
||||
mode?: Mode
|
||||
promptMode?: PromptMode
|
||||
customPrompt?: string
|
||||
customPrompt?: PromptComponent
|
||||
dataUrls?: string[]
|
||||
values?: Record<string, any>
|
||||
query?: string
|
||||
|
||||
Reference in New Issue
Block a user