electron-api - Guide for adding Electron APIs to Wave Terminal
Guides the implementation of frontend-to-electron IPC communication and adding new Electron APIs in Wave Terminal.
Tags
Updated: 2026-09-09Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Define Electron API TypeScript interfaces
- Expose IPC methods via contextBridge
- Implement main process IPC handlers
- Add preview stubs for Electron
- Configure synchronous and asynchronous IPC
Inputs
- IPC channel name
- API parameters and return types
- Wave Terminal codebase
Outputs
- Updated custom.d.ts file
- Updated preload.ts file
- Updated emain-ipc.ts file
- Updated preview-electron-api.ts file
Requirements
- Electron
- TypeScript
- Wave Terminal codebase
