feat(chat): implement file upload support with staging and media handle (#77)

This commit is contained in:
Haze
2026-02-13 18:23:47 +08:00
committed by GitHub
Unverified
parent a159fd2b4c
commit 36fb4bffc7
5 changed files with 569 additions and 111 deletions

View File

@@ -115,6 +115,11 @@ const electronAPI = {
'log:getFilePath',
'log:getDir',
'log:listFiles',
// File staging
'file:stage',
'file:stageBuffer',
// Chat send with media (reads staged files in main process)
'chat:sendWithMedia',
// OpenClaw extras
'openclaw:getDir',
'openclaw:getConfigDir',