mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Initial streaming refactor
This commit is contained in:
@@ -5,7 +5,15 @@ import { HistoryItem } from "./HistoryItem"
|
||||
|
||||
// webview will hold state
|
||||
export interface ExtensionMessage {
|
||||
type: "action" | "state" | "selectedImages" | "ollamaModels" | "theme" | "workspaceUpdated" | "invoke"
|
||||
type:
|
||||
| "action"
|
||||
| "state"
|
||||
| "selectedImages"
|
||||
| "ollamaModels"
|
||||
| "theme"
|
||||
| "workspaceUpdated"
|
||||
| "invoke"
|
||||
| "partialMessage"
|
||||
text?: string
|
||||
action?: "chatButtonTapped" | "settingsButtonTapped" | "historyButtonTapped" | "didBecomeVisible"
|
||||
invoke?: "sendMessage" | "primaryButtonClick" | "secondaryButtonClick"
|
||||
@@ -13,6 +21,7 @@ export interface ExtensionMessage {
|
||||
images?: string[]
|
||||
models?: string[]
|
||||
filePaths?: string[]
|
||||
partialMessage?: ClaudeMessage
|
||||
}
|
||||
|
||||
export interface ExtensionState {
|
||||
@@ -33,6 +42,7 @@ export interface ClaudeMessage {
|
||||
say?: ClaudeSay
|
||||
text?: string
|
||||
images?: string[]
|
||||
partial?: boolean
|
||||
}
|
||||
|
||||
export type ClaudeAsk =
|
||||
|
||||
Reference in New Issue
Block a user