发布

  • Add direct user API key login to the CLI (#3132)

    frostbyte_neo 发布于 2026-04-08 02:08:00 +00:00

    Summary

    • Adds a new composio login --user-api-key flow for direct login
      without the browser/session-key path.
    • Supports selecting a default organization with --org and 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.ts or equivalent CLI test run covering
      the updated login command.
    • Verified help output includes --user-api-key and --org and 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.
    下载附件