-
Add direct user API key login to the CLI (#3132)
发布于
2026-04-08 02:08:00 +00:00 Summary
- Adds a new
composio login --user-api-keyflow for direct login
without the browser/session-key path. - Supports selecting a default organization with
--organd validates
incompatible flag combinations. - Updates login help, CLI docs, and command output so the direct login
path reports the selected org consistently. - Expands login tests to cover help text and direct API key login
behavior.
Testing
pnpm test -- login.cmd.test.tsor equivalent CLI test run covering
the updated login command.- Verified help output includes
--user-api-keyand--organd no
longer advertises legacy--api-key. - Verified direct login stores the chosen org and writes the expected
user config values. - Not run: full repository test suite.
下载附件
- Adds a new