Skip to content

feat(cli): add connected-accounts command#2676

Merged
haxzie merged 3 commits intofeat/cli-auth-configsfrom
feat/cli-connected-accounts
Feb 19, 2026
Merged

feat(cli): add connected-accounts command#2676
haxzie merged 3 commits intofeat/cli-auth-configsfrom
feat/cli-connected-accounts

Conversation

@jkomyno
Copy link
Collaborator

@jkomyno jkomyno commented Feb 19, 2026

This PR:

  • Closes PLEN-1586
  • Builds on top of feat(cli): add auth-configs command with redact() utility #2675
  • Adds composio connected-accounts list with --toolkits, --user-id, --status, --limit filters
  • Adds composio connected-accounts info <id> to view connection details (toolkit, auth scheme, status)
  • Adds composio connected-accounts whoami <id> to show the external account profile for a connection
  • Adds composio connected-accounts delete <id> with --yes flag to skip confirmation prompt
  • Adds composio connected-accounts link --auth-config <id> which creates an OAuth redirect session via the Link API, opens the browser, and polls until the connection becomes ACTIVE
  • Introduces requireAuth guard and handleHttpServerError shared effects reused across auth-configs and connected-accounts commands
  • Adds ConnectedAccountItem model, LinkCreateResponse schema, and corresponding service/repository/cache wiring

…lete

Implement `composio connected-accounts` with four subcommands for
managing OAuth/API-key connections to external services. Add Effect
Schema model with security exclusions (state, data, params fields
omitted to prevent credential leakage). Extend ComposioToolkitsRepository
with connected-account CRUD methods. Include 22 unit tests and 7 VHS
recordings.
…inking

Adds `composio connected-accounts link --auth-config <id>` which creates
an OAuth redirect session via the Link API, opens the browser, and polls
until the connection becomes ACTIVE.
@jkomyno jkomyno requested a review from haxzie as a code owner February 19, 2026 15:48
@vercel
Copy link

vercel bot commented Feb 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Feb 19, 2026 4:02pm

Request Review

@jkomyno jkomyno changed the base branch from next to feat/cli-auth-configs February 19, 2026 15:48
@github-actions
Copy link
Contributor

⚠️ Security Audit Warning

The pnpm audit --prod check found security vulnerabilities in production dependencies.

Please review and fix the vulnerabilities. You can try running:

pnpm audit --fix --prod
Audit output
 WARN  post https://registry.npmjs.org/-/npm/v1/security/audits error (500). Will retry in 10 seconds. 2 retries left.
 WARN  post https://registry.npmjs.org/-/npm/v1/security/audits error (500). Will retry in 1 minute. 1 retries left.
 ERR_PNPM_AUDIT_BAD_RESPONSE  The audit endpoint (at https://registry.npmjs.org/-/npm/v1/security/audits) responded with 500: {"error":"Internal Server Error"}

@jkomyno jkomyno changed the title feat(cli): add connected-accounts command with list, info, whoami, delete, link feat(cli): add connected-accounts command Feb 19, 2026
@haxzie haxzie merged commit fba9f2b into feat/cli-auth-configs Feb 19, 2026
11 checks passed
@haxzie haxzie deleted the feat/cli-connected-accounts branch February 19, 2026 20:59
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.

2 participants