-
feat(cli): add --no-browser flag to link command (#3829)
发布于
2026-07-13 23:26:43 +00:00 Summary
Adds a
--no-browserflag tocomposio link(andcomposio dev connected-accounts link) that skips auto-opening the browser and prints
the authorization URL for the user to open manually, while still waiting
for the connection to becomeACTIVE.Previously the only way to suppress the browser auto-open was
--no-wait, which also exits without waiting for authorization.
--no-browserfills the gap for users (and remote/SSH sessions) who
want to click the link themselves but still get the wait-for-ACTIVE
confirmation — matching the existingcomposio login --no-browser
behavior.Changes
- New
--no-browserboolean option on both the rootlinkcommand and
thedev connected-accounts linkvariant waitForActiveConnectionskipsopen()and tells the user to open
the printed URL when the flag is set- The unmanaged-auth dashboard fallback (
ToolRouterV2_NoManagedAuth)
also respects the flag - Root help (
root-help.ts) documents the new flag - Test:
link gmail --no-browserwaits for ACTIVE and never calls
open
No VHS recording added — this is a small flag addition to an existing
command surface, not a new documented workflow.Verification
pnpm typecheck— passespnpm --filter @composio/cli test— 81 files, 725 tests pass
🤖 Generated with Claude Code
下载附件
- New