fix: 工具面板/帮助面板同步更新 + 图片上传限制
- 工具面板: 20→29个工具,补齐 web_search/memory_*/session_*/spawn_task/browser_* - 帮助面板: 工具数量21→29,新增人格模式/MCP/Cron/Heartbeat说明,补充/retry等命令 - 图片上传: preload透传完整options,ipc尊重multiple参数,图片选择器限制单文件
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ contextBridge.exposeInMainWorld('metonaDesktop', {
|
||||
isDesktop: true,
|
||||
info: () => ipcRenderer.invoke('app:info'),
|
||||
dialog: {
|
||||
openFile: (filters?: unknown) => ipcRenderer.invoke('dialog:openFile', { filters }),
|
||||
openFile: (options?: unknown) => ipcRenderer.invoke('dialog:openFile', options),
|
||||
saveFile: (options?: unknown) => ipcRenderer.invoke('dialog:saveFile', options)
|
||||
},
|
||||
fs: {
|
||||
|
||||
Reference in New Issue
Block a user