Expand description
Generic-request atom modules for process_mountain_request.
Each submodule handles one semantic group of method names from
Cocoon’s MountainGRPCClient.sendRequest(method, params) rail.
Handler functions take (RequestId, Params, &Env) and return a
typed Response<GenericResponse> without referencing CocoonServiceImpl.
Groups:
Commands-commands.execute,executeCommand,unregisterCommandFileSystem-fs.*,readFile,writeFile,stat,readdir, … Also exportsOkResponse/ErrResponsehelpers used by other groups.Secrets-getSecret,storeSecret,deleteSecretWindowDialogs- dialogs, messages, status bar, webview, workspace ops
Modules§
- Commands
- Generic-request command handlers for
process_mountain_request. Handlescommands.execute,executeCommand, andunregisterCommandusing Cocoon’sMountainGRPCClientmethod name conventions. - File
System - Generic-request file-system handlers for
process_mountain_request. Handlesfs.*/file:*/readFile/writeFile/stat/readdiraliases used by Cocoon’sFileSystemServiceandMountainGRPCClient. - Secrets
- Generic-request secret-storage handlers for
process_mountain_request. HandlesgetSecret,storeSecret,deleteSecretusing Cocoon’sMountainGRPCClientname conventions. - Window
Dialogs - Generic-request window/dialog handlers for
process_mountain_request. HandlesUserInterface.ShowOpenDialog,UserInterface.ShowSaveDialog,UserInterface.ShowInputBox,showInformation,showWarning,showError,showTextDocument,openDocument,createWebviewPanel,setWebviewHtml,createStatusBarItem,setStatusBarText,saveAll,applyEdit,openExternal.