spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / telemetry / hooks / context / identity / identity / identity.ts
13 lines · 487 BRaw
1/**
2 * Who the rows are from, as the CLI's global config records it: the
3 * install's device id, and the signed-in account's ids and address.
4 *
5 * Each is undefined when the config has none or cannot be read; the address
6 * rides only on an internal build's rows, as the CLI's own does.
7 */
8export type Identity = {
9 readonly deviceId: string | undefined
10 readonly accountUuid: string | undefined
11 readonly organizationUuid: string | undefined
12 readonly email: string | undefined
13}