Repository navigation
[PROD-871][2/3] The CLI can register a personal proxy and keep its tunnel to the linked proxy gateway open - #110
Merged
daniel-gumloop merged 4 commits intoNov 27, 2026
Conversation
Contributor
There was a problem hiding this comment.
🔍 Devin Review: 3 flags
Not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)
daniel-gumloop
force-pushed
the
daniel-prod-871-cli-tunnel-connection
branch
3 times, most recently
from
November 26, 2026 03:48
7e01a98 to
5c24f3b
Compare
daniel-gumloop
force-pushed
the
daniel-prod-871-cli-tunnel-connection
branch
from
November 26, 2026 06:00
5c24f3b to
9dcd887
Compare
rbehal
approved these changes
Nov 26, 2026
…to the linked proxy gateway open Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
daniel-gumloop
force-pushed
the
daniel-prod-871-cli-tunnel-connection
branch
from
November 26, 2026 21:32
9dcd887 to
4ef4a34
Compare
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
The SDK can register this computer as a linked proxy, and
gumloop.linked_proxycan keep a tunnel to the gateway open.client.linked_proxiesregisters a machine (POST /api/v1/linked-proxies/cli) and gets an hour-long gateway token (POST /api/v1/linked-proxies/<id>/gateway-token), with the new types.cli/linked_proxy_key.pycreates the machine's Ed25519 key and keeps the private key in the OS keychain.sign_in.pybuilds the sign-in token: signed by the machine key and carrying the gateway token.connection.pysigns in, serves the gateway's streams through 1/3's tunnel, and reconnects with backoff. TLS trusts certifi's roots only.websockets>=14andcertifi.In this part the connection stops when the gateway closes with 4001. 3/3 replaces that: only a refused gateway token request stops it.
Why
The CLI command in 3/3 needs a registration, a key and a connection that stays up.
Compatibility
linked-proxiesflag on for the org.How it's tested
Companion PRs: backend gumloop/gumloop_backend#14520 (stack of 15), frontend gumloop/gumloop_frontend#10318 (stack of 3).