Skip to content

feat!: open source Agent Relay Desktop in apps/desktop and retire legacy spawn providers - #1990

Draft
khaliqgant wants to merge 13 commits into
mainfrom
feature/open-source-desktop
Draft

khaliqgant wants to merge 13 commits into
mainfrom
feature/open-source-desktop

Conversation

@khaliqgant

@khaliqgant khaliqgant commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Moves Agent Relay Desktop into this repo as a single squashed snapshot of AgentWorkforce/relay-desktop (companion PR: AgentWorkforce/relay-desktop#643). The desktop repo's history is not imported, so files removed during the open-source scrub stay out of the public history. Once this lands, relay-desktop is retired. Desktop releases keep publishing to AgentWorkforce/relay-desktop-releases, the repo installed apps poll for updates.

What's in it

  • apps/desktop (d562d2951):
    • the macOS app (SwiftUI)
    • the GTK app for Linux and Windows
    • the shared Rust relay core (apps/desktop/probe), with its own Cargo workspace and lockfile, so the broker build is untouched
    • packaging, docs and the iOS app
  • The GUI binary is now agent-relay-desktop, so it no longer collides with the npm agent-relay CLI.
  • Muse public-surface workarounds are removed; the native Muse integration that relay owns remains.
  • Apache-2.0 metadata (31e275d60): the package license fields are now consistent.
  • Retire legacy spawn providers (252c60ebf, breaking):
    • Gemini, the local Cursor CLI, Aider, Goose and Droid are no longer spawn providers.
    • The CLI, MCP, SDK, Fleet and broker compatibility paths return provider_removed instead of starting them.
    • Node capacity no longer advertises those spawn:* capabilities.
    • Use cursor-cloud in place of the local Cursor CLI.

The changelog is under [Unreleased - Major], with Added, Removed, Breaking Changes and Migration Guidance sections.

Checks

  • apps/desktop/scripts/check-open-source.sh passes. It checks for embedded PostHog keys, private-repo links, developer home paths, the license, and removed internal files.
  • The added lines were also scanned for private keys, GitHub, Slack, AWS, Anthropic and OpenAI tokens, and private-repo links: 0 hits.
  • GitHub push protection flagged two placeholder workspace keys in workspace_recovery_tests.rs as Stripe restricted keys, because they share the rk_live_ prefix. They are all-zero and all-two fixtures, now written with concat! so the scanner doesn't match them. Those tests pass (15/15).
  • codex-mover reports that the desktop open-source, secret and workflow checks and an isolated full Rust suite pass on this branch.

Follow-ups (not in this PR)

  • Add the desktop signing secrets (CSC_LINK, CSC_KEY_PASSWORD, APPLE_API_KEY_*, APPLE_MOBILE_API_*) and RELEASES_TOKEN to this repo. desktop-ci.yml, desktop-release.yml (desktop-v* tags) and ios-testflight.yml are already in .github/workflows. The inert copies under apps/desktop/.github/ can be removed.
  • Generate third-party notices for the desktop core's Rust dependencies.
  • Archive AgentWorkforce/relay-desktop once the first desktop-v* release ships from here.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.


Agent Relay sessions

  • claude session 5a4f854b · opened via gh pr create · last active 2026-10-26
  • codex session 01a16c90 · contributor · pushed commits · last active 2026-10-26

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-25T01:25:23.804626Z 252c60e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Walkthrough

Warning

Review details and warnings were omitted to fit the comment limit.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 252c60ebfa

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/cli/src/cli/lib/fleet-sidecar.ts
@greptile-apps

greptile-apps Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[High impact] The reviewed revision appears safe to merge; no new blocking issue was found.

Summary

Adds Agent Relay Desktop under apps/desktop and retires legacy spawn providers.

  • Agent Relay Desktop now lives in this repository.
  • Spawn requests for five legacy providers now return migration guidance.

Reviews (6) · Last reviewed commit: "test(desktop): use the renamed login lau..." · Reviewed by Greptile

Comment thread .github/workflows/desktop-ci.yml Outdated
Comment thread packages/cli/src/cli/lib/fleet-sidecar.ts Outdated
Comment thread packages/sdk/src/messaging/relaycast.ts
Comment thread apps/desktop/scripts/install-pi-extension.mjs Fixed
Comment thread apps/desktop/macos/Sources/RelayDesktopCore/HistoryRetentionCopy.swift Outdated
@khaliqgant
khaliqgant marked this pull request as draft October 26, 2026 02:59
@khaliqgant

Copy link
Copy Markdown
Member Author

Converted to draft. Scope decision: the desktop apps stay in AgentWorkforce/relay-desktop. Only the probe's messaging/API server moves into relay, where it replaces the PTY broker; Relay History/sessions stays separate. This PR's whole-desktop import will be replaced by a narrower plan covering the localhost, hosted and self-hosted Relaycast paths.

🤖 Generated with Claude Code

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants