Write a credential helper changedthird-party/claude-desktop/credential-helper
Nearest release: v2.1.283, published an hour after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 25 Sep 2026 17:09 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 28 Sep 2026 22:07 UTC.
Upstream edited
Recorded here
Lines+6added
Lines−6removed
From line
52
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits6to this page, all time
The whole hunk
from line 52, old and new numbered
/
from line 52
5252
5353Claude Desktop sets the `CLAUDE_HELPER_CONTEXT` environment variable on every invocation so the script can decide whether interactive authentication (opening a browser, prompting for a device code) is appropriate.
5454
55| Value | Meaning |
56| --------------------- | ----------------------------------------------------------------------------------------------- |
57| `interactive` | The user started a session and is present. Interactive sign-in is acceptable. |
55| Value | Meaning |
56| - | - |
57| `interactive` | The user started a session and is present. Interactive sign-in is acceptable. |
5858| `mid-session-refresh` | A running session's credential expired. Prefer a silent refresh; the user is waiting on a turn. |
59| `scheduled-task` | A scheduled task started with no user present. |
60| `setup-test` | The in-app configuration window's connection test. |
61| `background` | A background probe or health check. |
59| `scheduled-task` | A scheduled task started with no user present. |
60| `setup-test` | The in-app configuration window's connection test. |
61| `background` | A background probe or health check. |
6262
6363A well-behaved helper should attempt its silent path (cached token, refresh-token grant) for any value other than `interactive`, and exit non-zero rather than block on user input when that path is exhausted. Claude Desktop treats a non-zero exit as a refresh failure and surfaces it to the user.
6464
No line in this hunk matches that.