Skip to content

Desktop Client: MVP Electron window + process supervisor #114

Description

@messiwu

Parent

#112 — PRD: macOS Desktop Client (Electron, Intel x64 v1)

What to build

Add the Desktop Client workspace package and a minimal Electron shell that completes the first demoable vertical slice: launch app → embedded local server starts on a dynamic loopback port → BrowserWindow shows the same entry view as the browser product → quit cleans up the server process.

v1 native chrome is minimal: Dock icon, application menu with About and Quit, standard window close behavior (document whether close equals quit).

Developer workflow: a package script runs Electron against the standalone server (system Node acceptable for this slice; bundled Node comes in the release pipeline slice).

Update workspace guard rules to admit the new package without violating root harness constraints.

Acceptance criteria

  • New Desktop Client workspace package registered in the pnpm workspace
  • Repository guard script passes with the new package layout
  • Double-clicking / running the dev Desktop Client script opens the editor entry view over loopback
  • No file:// loading of the Next app
  • Quitting the app terminates the embedded Node server (no orphan process)
  • Integration test on the process supervisor: server ready within timeout, /api/agents returns success, port released after stop
  • About and Quit menu items work on macOS

Blocked by

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions