chore(cleanup): remove document drag-and-drop
Remove the feature that let a user drop a .txt/.md/.csv/.docx/.pdf file onto the avatar to feed its text into the chat: the dropped-files IPC handler and extractText() in main, and getPathForFile/sendDroppedFiles in the preload API and renderer App.tsx. This fed documents into the general-purpose chat loop, which is being phased out in favor of the server-side coach pipeline. Uninstall mammoth and pdf-parse, now unused. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
6cb38a2f36
commit
acdd8a08d3
Vendored
-2
@@ -10,8 +10,6 @@ export interface ForgeAvatarApi {
|
||||
showContextMenu: (listening: boolean) => void
|
||||
onToggleListening: (callback: (listening: boolean) => void) => () => void
|
||||
onProactiveSpeech: (callback: (audio: ArrayBuffer) => void) => () => void
|
||||
getPathForFile: (file: File) => string
|
||||
sendDroppedFiles: (paths: string[]) => void
|
||||
onUpdateAvailable: (callback: () => void) => () => void
|
||||
onUpdateReady: (callback: () => void) => () => void
|
||||
login: (email: string, password: string) => Promise<LoginResult>
|
||||
|
||||
Reference in New Issue
Block a user