Add ability to attach images to messages

This commit is contained in:
Saoud Rizwan committed 2024-08-08 02:44:51 -04:00
1 parent 9acae31fbb
commit 911dd159cd
16 files changed
+1129 -179

No files matched your search

+3 -1
View File
@@ -4,10 +4,11 @@ import { ApiConfiguration } from "./api"
// webview will hold state
export interface ExtensionMessage {
type: "action" | "state"
type: "action" | "state" | "selectedImages"
text?: string
action?: "plusButtonTapped" | "settingsButtonTapped" | "didBecomeVisible"
state?: ExtensionState
images?: string[]
}
export interface ExtensionState {
@@ -24,6 +25,7 @@ export interface ClaudeMessage {
ask?: ClaudeAsk
say?: ClaudeSay
text?: string
images?: string[]
}
export type ClaudeAsk =