Add saved project desktops and shared agent control - #30
Merged
Merged
Conversation
Hydralerne
marked this pull request as ready for review
October 5, 2026 14:59
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.
What & why
Oblien now saves desktop sessions independently of workspace execution targets. Mindwire previously exposed one default screen, so separate projects could not reliably reopen their own desktop or show the screen used by an agent.
Add surface protocol 2 with a saved-desktop catalog, durable project associations and idempotent creation. The existing viewer, controller leases, approvals, captures and input receipts select the same desktop ID. Stop/delete retire only that desktop's controllers; slow management requests leave other desktops responsive. Resolution changes require an explicit stop on the current Oblien runtime, with a clear error instead of silently closing apps.
Project runs receive desktop instructions and the
surface_desktops/surface_project_desktoptools alongside the existing five controls. Codex and Claude use per-turn MCP; other command-capable harnesses use the same service through a private temporary helper. Only workspace-scoped runtime credentials reach the daemon, and each run's tools enforce approval and project/session isolation. Add matching TypeScript/Go APIs, OpenAPI definitions, and a desktop guide.Companion app work fixes cursor replacement, adds shared workspace/project desktop pickers and settings, and pins Oblien Swift SDK 2.8 parity.
Component
mindwire(TypeScript)Type of change
Once a cloud runtime catalog is bound, a viewer must select a saved desktop ID. Legacy default-screen requests receive
desktop_selection_required; personal Mac desktop setup and viewers keep their existing behavior.Validation
TestLiveClaudeis excluded from the local regression run because this Mac's configured gateway returns malformed HTTP 200 responses; the installed Claude CLI passed the desktop MCP cycle against the local Messages fixture. Authenticated Codex also passed the native MCP cycle.govulncheckfound no reachable vulnerabilities. The full web build and generated references passed.Checklist
go build ./...,go vet ./..., and local regression tests pass (optional external gateway exception above).bun --filter='mindwire' run typecheck,run build, andrun testpass.