multica/apps/desktop
Jiang Bohan 2a4fcded03 feat(desktop): add IPC handlers for Hub, Tools, and Skills management
- Create hub.ts IPC handlers for Hub initialization and agent management
- Create agent.ts IPC handlers for tools list, toggle, setStatus, reload
- Create skills.ts IPC handlers for skills list, get, toggle, add, remove
- Expose typed electronAPI via preload.ts with contextBridge
- Add TypeScript definitions in electron-env.d.ts

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 18:25:20 +08:00
..
electron feat(desktop): add IPC handlers for Hub, Tools, and Skills management 2026-02-03 18:25:20 +08:00
src feat(desktop): initialize electron app with routing and cleanup 2026-02-03 14:17:31 +08:00
.eslintrc.cjs feat(desktop): scaffold Electron app with Vite 2026-01-30 11:34:09 +08:00
.gitignore feat(desktop): initialize electron app with routing and cleanup 2026-02-03 14:17:31 +08:00
electron-builder.json5 feat(desktop): scaffold Electron app with Vite 2026-01-30 11:34:09 +08:00
index.html feat(desktop): initialize electron app with routing and cleanup 2026-02-03 14:17:31 +08:00
package.json feat(desktop): initialize electron app with routing and cleanup 2026-02-03 14:17:31 +08:00
README.md feat(desktop): initialize electron app with routing and cleanup 2026-02-03 14:17:31 +08:00
tsconfig.json feat(store): add shared Zustand store package with counter example 2026-01-30 11:34:09 +08:00
tsconfig.node.json feat(desktop): scaffold Electron app with Vite 2026-01-30 11:34:09 +08:00
vite.config.ts feat(desktop): integrate @multica/ui shared components 2026-01-30 11:34:09 +08:00

@multica/desktop

Electron desktop app. Vite + React + createHashRouter.

Development

multica dev desktop

Build

pnpm --filter @multica/desktop build

Conventions

  • Routing: react-router-dom v7 with createHashRouter (Electron loads via file://, BrowserRouter won't work). Pages go in src/pages/.
  • UI: All components from @multica/ui. No local UI components.
  • State: Store hooks from @multica/store.
  • Styles: Tailwind CSS v4 via @multica/ui/globals.css, imported in src/main.tsx.