| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- import { ApiConfiguration, ApiProvider } from "./api"
- export type AudioType = "notification" | "celebration" | "progress_loop"
- export interface WebviewMessage {
- type:
- | "apiConfiguration"
- | "customInstructions"
- | "allowedCommands"
- | "alwaysAllowReadOnly"
- | "alwaysAllowWrite"
- | "alwaysAllowExecute"
- | "webviewDidLaunch"
- | "newTask"
- | "askResponse"
- | "clearTask"
- | "didShowAnnouncement"
- | "selectImages"
- | "exportCurrentTask"
- | "showTaskWithId"
- | "deleteTaskWithId"
- | "exportTaskWithId"
- | "resetState"
- | "requestOllamaModels"
- | "requestLmStudioModels"
- | "openImage"
- | "openFile"
- | "openMention"
- | "cancelTask"
- | "refreshGlamaModels"
- | "refreshOpenRouterModels"
- | "refreshOpenAiModels"
- | "alwaysAllowBrowser"
- | "alwaysAllowMcp"
- | "playSound"
- | "soundEnabled"
- | "soundVolume"
- | "diffEnabled"
- | "browserViewportSize"
- | "screenshotQuality"
- | "openMcpSettings"
- | "restartMcpServer"
- | "toggleToolAlwaysAllow"
- | "toggleMcpServer"
- | "fuzzyMatchThreshold"
- | "preferredLanguage"
- | "writeDelayMs"
- | "enhancePrompt"
- | "enhancedPrompt"
- | "draggedImages"
- | "deleteMessage"
- | "terminalOutputLineLimit"
- | "mcpEnabled"
- | "searchCommits"
- text?: string
- disabled?: boolean
- askResponse?: ClineAskResponse
- apiConfiguration?: ApiConfiguration
- images?: string[]
- bool?: boolean
- value?: number
- commands?: string[]
- audioType?: AudioType
- serverName?: string
- toolName?: string
- alwaysAllow?: boolean
- dataUrls?: string[]
- values?: Record<string, any>
- query?: string
- }
- export type ClineAskResponse = "yesButtonClicked" | "noButtonClicked" | "messageResponse"
|