Repository navigation
feat(surface): switch CLI <-> Desktop on a shared backend (Phase 1) - #247
Merged
Merged
Conversation
Three surfaces share one local backend (control plane + sandbox VM + frontend);
the surface is just which front-end is attached. CLI<->Desktop is a GUI toggle on
the already-running app — no backend restart.
- desktop app: SIGUSR1 shows the GUI window (+ macOS Regular activation), SIGUSR2
hides it (+ Accessory) — handled on the main thread via a signal-hook listener.
- orcabot CLI:
- desktop : signal the running backend to show the GUI (SIGUSR1), or cold-launch
the desktop binary in GUI mode if nothing is running.
- cli : signal it to hide the GUI (SIGUSR2), then open the TUI.
- web : stub — explains the session must be packaged/transferred to the cloud
first (Phase 2); opens ORCABOT_WEB_URL if set.
Verified: SIGUSR1/SIGUSR2 received + handled, app stays alive
([surface] signal 30/31 logged). Window visuals verified manually.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three surfaces share one local backend (control plane + sandbox VM + frontend); the surface is just which front-end is attached. CLI<->Desktop is a GUI toggle on the already-running app — no backend restart.