Repository navigation
feat(connect): Node local relay for Relay Connect guests (paused, backup) - #1968
Draft
khaliqgant wants to merge 5 commits into
Draft
khaliqgant wants to merge 5 commits into
khaliqgant wants to merge 5 commits into
Conversation
The installer's readiness check polled /setup/status and only accepted ok:true. A probe answers every route with not_a_relay_session when it cannot tie the caller to a live Claude Code or Codex session, so a working probe looked dead: the installer waited 60 s, killed it, removed the pointer, and printed only a timeout. A live probe that rejects the caller now counts as running, and the session route reports the cause in about a second. Timeouts name the probe's last answer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tion routes) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This branch has not been deployed
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.
Status: paused, kept as a backup (Khaliq, 2026-10-12). Implements the design in #1966. Julian's root cause was that a permission check blocked
npx, and a plain terminal is not a session. This would not have fixed that. Work stopped here. Do not merge as-is.This branch is stacked on #1967 (
fix/connect-installer-unidentified-session), so its first commit is #1967's.Done
src/relay/: per-user Node relay daemon.npx, from a stable runtime copy.Idempotency-Key), status, leave.codex queueconfirmed from the rollout, and Codex appipc.sock.CODEX_THREAD_ID, thenCLAUDE_CODE_SESSION_IDwith a live record, then a parent-process walk.AGENT_RELAY_CONNECT_BACKENDforces one.deliveredand acked it. The reply reached the host.statusandleaveworked.Remaining
statusshows "unknown presence" becauseGET /v1/agents?status=allneeds a workspace key, and Relaycast rejects the participant token with 401 "Workspace key required". The desktop probe has the same bug:sdk_gaps::list_agentsis built with the participant token. It needs a participant-scoped roster from Cloud or Relaycast.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.Agent Relay sessions
claudesession290d4dce· opened viagh pr create· last active 2026-10-12