You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3456c3f
Browse filesBrowse the repository at this point in the historyBrowse files
fix(server): Claude threads recover after you log in again
The Claude CLI reads its login once per process, and a thread keeps one
process alive between turns. After a turn fails to authenticate, mark
that process signed out so the next turn replaces it with a fresh one
that resumes the same conversation. The sign-in error tells the user to
send the message again instead of starting a new thread.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copy file name to clipboardExpand all lines: apps/server/src/orchestration-v2/testkit/fixtures/claude_result_is_error/output.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ import {
13
13
14
14
constAUTH_ERROR_TEXT="Failed to authenticate. API Error: 401 Invalid authentication credentials";
15
15
constAUTH_FAILURE_TEXT=
16
-
"Claude could not authenticate. For subscription login, run `claude auth login` on this environment's machine, then start a new thread. For API-key authentication, check this instance's configured credentials.";
16
+
"Claude could not authenticate. For subscription login, run `claude auth login` on this environment's machine, then send the message again. For API-key authentication, check this instance's configured credentials.";
? ` from ${quotePath(input.cwd)}, with CLAUDE_CONFIG_DIR set to ${quotePath(input.configDir)}`
88
88
: "";
89
-
return`Claude could not authenticate. For subscription login, run \`claude auth login\` on this environment's machine${configuration}, then start a new thread. For API-key authentication, check this instance's configured credentials.`;
89
+
return`Claude could not authenticate. For subscription login, run \`claude auth login\` on this environment's machine${configuration}, then send the message again. For API-key authentication, check this instance's configured credentials.`;
0 commit comments