Skip to content

fix(agent): only say credential routing is unsupported when the service sent no mode - #58

Merged
radim10 merged 2 commits into
masterfrom
fix/routing-summary-and-plan-docs
Oct 5, 2026
Merged

radim10 merged 2 commits into
masterfrom
fix/routing-summary-and-plan-docs

Conversation

@radim10

@radim10 radim10 commented Oct 5, 2026

Copy link
Copy Markdown
Member

Summary

  • The Routing: line printed "this Remote Agent Proxy does not support credential routing yet" whenever route_hosts was missing. A service that supports credential routing also answers full (with no route_hosts) for a binding that covers every host or names no hosts, so users got a wrong message. The CLI now decides from routing_mode instead: only a response with no routing_mode (an older service) gets the "does not support" line; full chosen by the service prints Routing: full (all traffic uses the Remote Agent Proxy).
  • README: drop the per-plan routing table. Both modes are available on paid plans, workspace policy can enforce one, and a session also runs in full when a binding covers every host.

Test plan

  • cargo test: 518 unit + 19 + 32 integration tests pass
  • The routing-message test now covers: service chose full (mode present) vs older service (no mode)

…ce sent no mode

The Routing line blamed the service for lacking credential routing whenever route_hosts was missing. A service that supports it also answers full for a binding that covers every host, with no route_hosts. Key the message off routing_mode instead, and drop the per-plan routing modes from the README since both modes are available on paid plans.
A * in a binding's hosts forces full routing; egress_hosts = ["*"] does not affect it.
@radim10
radim10 merged commit 41c6c9b into master Oct 5, 2026
3 checks passed
@radim10 radim10 self-assigned this Oct 5, 2026
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.

1 participant