{"version":"2.1.334","anchor":"remote-session-origin-and-trigger-source-added-to-startup-te","canonical_anchor":"remote-session-origin-and-trigger-source-added-to-startup-te","heading":"Startup reporting records where a remote session came from","tier":"internal","area":"Telemetry","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/remote-session-origin-and-trigger-source-added-to-startup-te","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Startup reporting records where a remote session came from\n\nStartup reporting now records a remote session's origin and trigger source, read from two environment variables\n\n**What**\n\nWhen Claude Code starts, it sends a usage report to Anthropic. That report now reads two environment variables (settings passed to a program when it is launched) and adds what they say:\n\n- `remote_session_origin`, from `CLAUDE_CODE_REMOTE_SESSION_ORIGIN`: one of review, claude_approvals, github_event or other.\n\n- `trigger_source`, from `CCR_TRIGGER_SOURCE`: github or other.\n\n`CLAUDE_CODE_REMOTE_SESSION_ORIGIN` is now read in more places in the code than before.\n\n**Why**\n\nThis only affects sessions run remotely in the cloud. It changes what is reported about how such a session was started, not how the session behaves.\n\n- Area: Telemetry\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}