Skip to content

feat(KNO-14443): surface user_name and user_email in whoami - #848

Merged
MikeCarbone merged 1 commit into
mainfrom
cursor/whoami-user-name-email-docs-d13b
Jul 28, 2026
Merged

feat(KNO-14443): surface user_name and user_email in whoami#848
MikeCarbone merged 1 commit into
mainfrom
cursor/whoami-user-name-email-docs-d13b

Conversation

@MikeCarbone

@MikeCarbone MikeCarbone commented Jul 27, 2026

Copy link
Copy Markdown
Member

Summary

Updates knock whoami to document and display the new user_name and user_email fields returned by the Management API for OAuth sessions (added in control#10522 / KNO-14435).

Fixes KNO-14443.

Changes

  • Show User name and User email in human-readable whoami output when present
  • Clarify the command summary (no longer service-token-only)
  • Add optional user_name / user_email to WhoamiResp
  • Update tests and regenerate README command docs

Test plan

  • yarn test (full suite)
  • yarn run check (lint, format, types)
  • Manually verify knock whoami against an OAuth session shows name/email once API fields are live

Linear Issue: KNO-14443

Open in Web Open in Cursor 

Display user name and email from the whoami/auth.verify response for
OAuth sessions, and update the command summary and README to match.

Co-authored-by: Mike Carbone <MikeCarbone@users.noreply.github.com>
@linear-code

linear-code Bot commented Jul 27, 2026

Copy link
Copy Markdown

KNO-14443

@MikeCarbone
MikeCarbone marked this pull request as ready for review July 27, 2026 17:15
@MikeCarbone
MikeCarbone requested a review from cjbell July 28, 2026 17:09
@MikeCarbone
MikeCarbone merged commit 24cc94e into main Jul 28, 2026
8 checks passed
@MikeCarbone
MikeCarbone deleted the cursor/whoami-user-name-email-docs-d13b branch July 28, 2026 17:10
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.

3 participants