{"version":"2.1.260","anchor":"credential-helper-scripts-now-receive-a-context-environment","canonical_anchor":"credential-helper-scripts-now-receive-a-context-environment","heading":"Credential-helper scripts now receive a context environment variable","tier":"internal","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.260\/e\/credential-helper-scripts-now-receive-a-context-environment","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.260","markdown":"### Credential-helper scripts now receive a context environment variable\n\nCredential helper scripts now get a context variable telling them why they're being called.\n\nCustom credential helper scripts now receive a `CLAUDE_HELPER_CONTEXT` environment variable, with values such as `interactive`, `mid-session-refresh`, `background`, `scheduled-task`, and `setup-test`. Helpers can use this to decide whether it's safe to prompt the user interactively.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5"}