Commit Graph
8 Commits
Author SHA1 Message Date
Mao NakamotoandClaude Opus 4.7 2d013cd9b7 docs: prune stale rebrand-in-progress note; flag desktop-app.md as historical
- CLAUDE.md: drop the "migration from cockpit name in progress" qualifier on
  the Postgres database stack note. The rename completed; tracking it as
  in-progress in 2026-06 is noise.
- docs/desktop-app.md: prepend a "Status: SHIPPED through v0.4.0" banner so
  future readers understand the doc is the original execution plan kept for
  context, and the @cockpit/* package names / cockpit-daemon.sh / 0.1.0
  artifact references inside are pre-rebrand historical. Points at the
  authoritative current sources (desktop/src/main/index.ts, home/README.md,
  marketing-content.ts, mirror-desktop-release.sh).

Both stale items would have led a new reader to think work was still in
flight when it isn't.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-03 16:25:32 +02:00
Georgy Butaev 74af023c69 feat(desktop): embed home/watcher in Electron main (startWatcher export + fs.watch + worker.idle on handoff)
- Refactor home/watcher.ts for dual use: library (startWatcher() returns {close}, no auto process.exit, conditional SIG handlers) + CLI (--start / --self-test unchanged, 8/8 tests pass).
- Wire in desktop/src/main/index.ts: import + start on whenReady (after createWindow), store closer, stop on before-quit.
- desktop runtime status now advertises hasWatcher + updated version string.
- Desktop main process now owns the full local event loop for its dispatches: append bridge.dispatch + started/crashed (with sentinel) on the way in, worker.idle (from real session.md changes) on the way out.
- Rebuilds clean; home/ 89/89; no separate watcher process required when Fleet Runner is the runtime.
- Docs + session updated.

This largely completes the "real worker idle path" part of desktop-2/3. GUI dogfood + projection verification in a graphical env still needed for the last mile.
2026-06-02 14:57:49 +02:00
Georgy Butaev e30c842869 feat(desktop) + fix(design,lint): project selection + auto-sync + Sync to Web (ck_* token); canonical injectIntoTab + real appendEvent bridge.dispatch/worker.started in Fleet Runner runtime (replaces fake in-memory); hardened zellij.ts (session resolution + -- write-chars); ui-public-download-* + --public-accent (zero design violations); full cockpit->fleetcrown rebrand in desktop/scripts/docs/thoughts/marketing/home; update desktop README + docs/desktop-app.md with capabilities + gaps (in-memory vs real log)
- desktop build clean, tsc clean, lint 0, home/ 89/89
- advances desktop-2/3: dispatches now produce durable events in ~/.fleetcrown/events.jsonl with proper runId/sentinel so stop-hooks and web control plane treat them as first-class
- still no embedded watcher (idle via co-running home/watcher.ts for now)

Refs: desktop-app.md phases, Cockpit.roadmap T1/T2, prior landing 2d98638
2026-06-02 14:54:51 +02:00
Georgy Butaev cd14a1d676 docs(desktop): record canonical injectIntoTab + fleetcrown config dir + auto-sync in current-state notes; refresh desktop/README status bullets 2026-06-02 12:19:00 +02:00
Georgy Butaev b08ac4da14 feat(desktop): project selection + auto-sync on connect + Sync to Web (agent token to /runtime-state); switch to canonical injectIntoTab; ui-public-download-* classes (zero design violations); forward custom prompts as queueHead; clean lint; broad docs/marketing/scripts updates for FleetCrown desktop runtime 2026-06-02 12:17:12 +02:00
Georgy Butaev 2d98638e38 feat(desktop): project selection, auto-sync on connect, Sync to Web button using agent token; polish site download instructions and settings promotion; update .gitignore and docs for current state 2026-06-02 11:51:23 +02:00
Georgy Butaev 4e529f207a fix(site,settings): escape quotes in JSX, remove unused APP_NAME import after updating copy to promote desktop 2026-06-02 11:36:20 +02:00
Georgy Butaev 5bc875fb3a feat(desktop): introduce Electron Fleet Runner (local authoritative runtime) with home/ stack integration, x.ai minimalist styling, dispatch with real prompt rendering + zellij injection, and electron-builder packaging for AppImage/deb 2026-06-02 10:59:30 +02:00