Skip to content

feat: simplify agent register to single-step and add whoami command#42

Merged
R-M-Naveen merged 1 commit intomainfrom
naveen/agent-register-cli-added
Feb 18, 2026
Merged

feat: simplify agent register to single-step and add whoami command#42
R-M-Naveen merged 1 commit intomainfrom
naveen/agent-register-cli-added

Conversation

@R-M-Naveen
Copy link
Member

Remove the two-step challenge/verify flow from agent register — now a single POST creates the agent account and returns credentials immediately.

Add whoami command that displays account info (ID, email, wallet, team, connection string) by hitting GET /me with Basic auth.

  • Remove readline import, promptForInput helper, --answer/--registration-id flags
  • Single POST to /agents/register returns full account data
  • New commands/whoami.ts with formatted output matching register style
  • Wire whoami into index.ts and help.ts

Remove the two-step challenge/verify flow from `agent register` — now a
single POST creates the agent account and returns credentials immediately.

Add `whoami` command that displays account info (ID, email, wallet, team,
connection string) by hitting GET /me with Basic auth.

- Remove readline import, promptForInput helper, --answer/--registration-id flags
- Single POST to /agents/register returns full account data
- New commands/whoami.ts with formatted output matching register style
- Wire whoami into index.ts and help.ts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@R-M-Naveen R-M-Naveen merged commit eb46594 into main Feb 18, 2026
1 check passed
@R-M-Naveen R-M-Naveen deleted the naveen/agent-register-cli-added branch February 18, 2026 00:53
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.

1 participant