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
@@ -46,9 +46,7 @@
|
||||
"@electron-toolkit/utils": "^4.0.0",
|
||||
"dotenv": "^18.0.8",
|
||||
"electron-updater": "^6.8.11",
|
||||
"mammoth": "^1.13.0",
|
||||
"pdf-lib": "^1.17.1",
|
||||
"pdf-parse": "^1.1.1",
|
||||
"three": "^0.186.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user