fix(cli): stop forwarding --no-open to agent-relay cloud login

Draft
KH
2mo ago
+15-9

Fixes #378.

`relayfile login --no-open` shelled out to `agent-relay cloud login --no-open`, but `agent-relay` does not support that flag, so headless login failed outright: `error: unknown option '--no-open'` then `error: agent-relay cloud login failed: exit status 1`. `agent-relay` already prints the sign-in URL itself when it cannot open a browser, so relayfile's `--no-open` flag is kept for backward-compatible acceptance but is no longer forwarded.

Root cause was independently reproduced live earlier this session before this fix was written.

Test plan

  • `go build ./...`
  • `go test ./cmd/relayfile-cli/... -run TestLoginDelegatesToAgentRelay -v -count=1`
  • `go test ./cmd/relayfile-cli/... -count=1` (full package suite)