feat(probe): take the desktop core's public code as relay's core
Merged
KJ
9d ago+26350+26350+01234567890123456789012345678901234567890123456789-16827-16827-01234567890123456789012345678901234567890123456789
Relay's core (crates/probe) and Agent Relay Desktop's core split from the same snapshot. This takes desktop's public core as relay's core, so both build from one place and relay-desktop can pin a relay commit as a git dependency.
How it was built
A per-file three-way merge (base = the shared snapshot, one side = desktop's public core, the other = relay main). Relay's own changes are re-applied on top. Silent losses where desktop had deleted code were found by diffing against relay main, and restored.
Relay behaviour kept
- The
historyandrelay-clifeature gates.production-binariesimpliesrelay-cli, and the releasecargo treehas no relayhistory crates. - Fleet,
--cli-managed, CLI workspace keys and armadillo routing. - The Pi and OpenCode auto-activate settings,
cursor_direct_delivery, and the Cursor fixes. - Grok joining, as
local-user:<uid>with no account. - Device sign-in for Relay Connect.
What's new in the core
- It works from a workspace key with no account. Sign-in, hosted MCP setup and attestation aren't in it.
- A build may add them through
AccountPlugin,MethodExtensionandPluginBuilder. These are unsupported internals, not a public API. - Clients use the contract. With no account,
account.*,uploader.*andtools.*answermethod_not_found.
Relay behaviour that changes, each reviewed
- Stale Devin Cloud sessions stop auto-joining after 24 hours.
- Retained Codex rows stop counting as live after 5 minutes.
- The Linux launcher is named
agent-relay-desktop; the old name is still recognised. - Integration defaults wait for a workspace.
Verification
- Default, release and history feature sets compile with
--all-targets. - Release
--lib: 2,619 passed. - Default suite: 3,687 passed. The 2 failures are the known
history_flushtiming tests on this disk. - Core lane (#2054) on this branch:
relay initparity 8/8 across every tool, Cursor delivery, and both Grok cases. - New tests pin setup status with no account, and that a CLI-managed core connects no detected tools. The second fails without its fix.
- The crate's open-source check passes.
Not covered here: the matching relay-desktop change that pins this commit, which comes next.
🤖 Generated with Claude Code
![View with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3-3x.png)
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Need help on this PR? Tag @codesmith-bot with what you need.
Agent Relay sessions
claudesession7cc781f4· opened viagh pr create· last active 2026-11-02