Thank you for sharing your post. I understand that it can be frustrating, especially when the job is impacting your daily routine. I am eager to assist you in any way I can.
I have a potential idea, but I would like to request a bug filing for further investigation.
Typically, authentication tokens expire after a few hours. In a stable build, Xcode silently uses a “refresh token” to obtain a new session in the background. Consequently, the system may be terminating your session when the initial token expires. This is an issue that requires immediate attention. However, I am only speculating about the cause.
Given that this issue is occurring across two separate computers and began specifically in beta 3, it is highly probable that the problem lies within the beta itself rather than a misconfiguration on your end.
Instead of simply signing out and signing back in, I recommend completely deleting the integration from Xcode.
- Navigate to Xcode > Settings > Accounts (or the specific Claude Agent settings pane).
- Select the account and click the minus (-) button to completely remove it.
- Restart your Mac (to clear any lingering background authentication daemon states).
- Open Xcode and add the account back from scratch.
Will this resolve the issue of refreshing the token?
I would kindly ask you guys to file a bug on this one.
Once you open the bug report, please post the FB number here for my reference.
If you have any questions about filing a bug report, take a look at
Bug Reporting: How and Why?
Albert
Worldwide Developer Relations.