Skip to content

[PROD-871][3/3] gumloop browser proxy link keeps this computer connected in the background - #111

Merged
daniel-gumloop merged 14 commits into
daniel-prod-871-cli-tunnel-connectionfrom
daniel-prod-871-cli-browser-proxy-commands
Nov 27, 2026
Merged

daniel-gumloop merged 14 commits into
daniel-prod-871-cli-tunnel-connectionfrom
daniel-prod-871-cli-browser-proxy-commands

Conversation

@daniel-gumloop

@daniel-gumloop daniel-gumloop commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

What

gumloop browser proxy link links this computer and keeps it connected in the background, so an agent's browser can send its traffic out through it.

  • link checks that TLS isn't being inspected on this network, registers the computer, and installs a background service: launchd on macOS, a systemd user unit on Linux. On Linux without a systemd user session, such as a container, it says to run connect and keep it open instead.
  • status shows the computer's name and whether it's connected, connecting (with the last failure in plain words) or not running.
  • unlink unlinks the computer and deletes its key, after asking (or with --yes) when the computer is linked.
  • connect runs the tunnel in the foreground. --verbose prints each destination it opens.
  • An open tunnel sends a fresh gateway token before the current one expires.
  • Only Gumloop's refusal of a gateway token stops the CLI. It forgets the registration only for linked_proxy_not_found, and otherwise says why (role, plan, not released). A gateway refusal reconnects, since a wrong clock looks the same to the gateway as an unlinked linked proxy.
  • The CLI refuses to run when it's linked to a different Gumloop user than the one logged in, and asks to link again if the keychain lost the machine key.
  • Local state lives under ~/.gumloop/linked-proxy/: the registration per backend host, a status file the service writes, and a lock so only one tunnel runs per host.
  • Version is 0.5.17.

Why

Lets an agent browse from a member's own network address instead of a datacenter or residential proxy.

Compatibility

  • Additive. No existing command or type changes.
  • On backends without the backend stack or the linked-proxies flag, link fails with the backend's 404 and registers nothing.

How it's tested

  • Unit tests for the command, the service files, the TLS check, token refresh and the connection.
  • Manual: registered a computer against a local backend from a Linux VM.

Companion PRs: backend gumloop/gumloop_backend#14520 (stack of 15), frontend gumloop/gumloop_frontend#10318 (stack of 3).

@daniel-gumloop daniel-gumloop changed the title [PROD-871] gumloop browser proxy link keeps this computer connected in the background [PROD-871][3/3] gumloop browser proxy link keeps this computer connected in the background Nov 26, 2026
devin-ai-integration[bot]

This comment was marked as resolved.

@daniel-gumloop
daniel-gumloop force-pushed the daniel-prod-871-cli-browser-proxy-commands branch from 5c81dd4 to 2e823be Compare November 26, 2026 00:56
devin-ai-integration[bot]

This comment was marked as resolved.

@daniel-gumloop
daniel-gumloop force-pushed the daniel-prod-871-cli-browser-proxy-commands branch from 2e823be to 7c59e23 Compare November 26, 2026 01:44
devin-ai-integration[bot]

This comment was marked as resolved.

@daniel-gumloop
daniel-gumloop force-pushed the daniel-prod-871-cli-browser-proxy-commands branch from 7c59e23 to eb07604 Compare November 26, 2026 03:48
github-advanced-security[bot]

This comment was marked as resolved.

@daniel-gumloop
daniel-gumloop force-pushed the daniel-prod-871-cli-browser-proxy-commands branch from e1548b0 to fbf7c71 Compare November 26, 2026 06:00
@daniel-gumloop
daniel-gumloop force-pushed the daniel-prod-871-cli-browser-proxy-commands branch from fbf7c71 to 3e9873b Compare November 26, 2026 06:27
daniel-gumloop and others added 13 commits November 26, 2026 21:31
…t the next gateway token refresh

Co-authored-by: Cursor <[email protected]>
…eeds a newer one, and says connected only once the tunnel is ready
…efusal that won't pass on its own; link always registers and replaces a lost key's personal proxy

Co-authored-by: Cursor <[email protected]>
…roxy

Like the delete commands from PROD-1088, browser proxy unlink says what it
removes and asks yes/no in a terminal, with no as the default. Without a
terminal it is refused unless --yes is passed. It asks only when this
computer is linked to the current backend. logout and link still remove a
personal proxy without asking: that is a side effect of the command run.

Co-authored-by: Cursor <[email protected]>
@daniel-gumloop
daniel-gumloop force-pushed the daniel-prod-871-cli-browser-proxy-commands branch from cdd5020 to 7bd8bec Compare November 26, 2026 21:32
@daniel-gumloop
daniel-gumloop merged commit 26f0e3b into main Nov 27, 2026
13 of 19 checks passed
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.

3 participants