feat: display account info from new Claude CLI env vars #160

Closed
opened 2026-02-25 08:51:26 -08:00 by hikari · 0 comments
Owner

Context

Claude CLI v2.1.51 introduced three new environment variables that are now exposed to hooks and subprocesses:

  • CLAUDE_CODE_ACCOUNT_UUID
  • CLAUDE_CODE_USER_EMAIL
  • CLAUDE_CODE_ORGANIZATION_UUID

Opportunity

We could capture these values when a Claude Code session starts (e.g. via a hook or by reading them from the spawned process environment) and display them in the Hikari Desktop UI — for example in the sidebar or a settings panel. This would let Naomi see at a glance which account and organisation the session is running under.

Acceptance Criteria

  • Investigate how to read these env vars from the Claude Code subprocess
  • Decide where to surface this info in the UI (settings sidebar?)
  • Implement display of at least CLAUDE_CODE_USER_EMAIL and CLAUDE_CODE_ORGANIZATION_UUID
  • Add tests for any new logic

This issue was created with help from Hikari~ 🌸

## Context Claude CLI v2.1.51 introduced three new environment variables that are now exposed to hooks and subprocesses: - `CLAUDE_CODE_ACCOUNT_UUID` - `CLAUDE_CODE_USER_EMAIL` - `CLAUDE_CODE_ORGANIZATION_UUID` ## Opportunity We could capture these values when a Claude Code session starts (e.g. via a hook or by reading them from the spawned process environment) and display them in the Hikari Desktop UI — for example in the sidebar or a settings panel. This would let Naomi see at a glance which account and organisation the session is running under. ## Acceptance Criteria - [ ] Investigate how to read these env vars from the Claude Code subprocess - [ ] Decide where to surface this info in the UI (settings sidebar?) - [ ] Implement display of at least `CLAUDE_CODE_USER_EMAIL` and `CLAUDE_CODE_ORGANIZATION_UUID` - [ ] Add tests for any new logic ✨ This issue was created with help from Hikari~ 🌸
naomi closed this issue 2026-02-25 22:55:48 -08:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/hikari-desktop#160