feat(filesystem): add getAgentFilesystemMounts API and integrate with LocalFilesystemBrowser for improved mount management

This commit is contained in:
Anish Sarkar 2026-04-24 05:03:23 +05:30
parent ce71897286
commit a7a758f26e
6 changed files with 77 additions and 5 deletions

View file

@ -108,6 +108,8 @@ contextBridge.exposeInMainWorld('electronAPI', {
// Agent filesystem mode
getAgentFilesystemSettings: () =>
ipcRenderer.invoke(IPC_CHANNELS.AGENT_FILESYSTEM_GET_SETTINGS),
getAgentFilesystemMounts: () =>
ipcRenderer.invoke(IPC_CHANNELS.AGENT_FILESYSTEM_GET_MOUNTS),
setAgentFilesystemSettings: (settings: {
mode?: "cloud" | "desktop_local_folder";
localRootPaths?: string[] | null;