clay-server 4.0.0-beta.8 → 4.0.0-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -61,19 +61,7 @@ function attachMessageProcessor(ctx) {
61
61
  if (session._lastAuthEmit && (now - session._lastAuthEmit) < 5000) return;
62
62
  session._lastAuthEmit = now;
63
63
 
64
- // Codex can leave a transient 401 in its app-server event stream after a
65
- // successful device login. Confirm the CLI's current credential state
66
- // before interrupting another session with a login modal.
67
64
  var vendor = session.vendor || "claude";
68
- yoke.invalidateAuthCache();
69
- var authState = yoke.checkAuth();
70
- if (authState[vendor]) {
71
- sendAndRecord(session, {
72
- type: "error",
73
- text: "Authentication is available, but " + vendor + " reported an auth-like error. Try again.",
74
- });
75
- return;
76
- }
77
65
 
78
66
  var authUser = session.ownerId ? usersModule.findUserById(session.ownerId) : null;
79
67
  var authLinuxUser = authUser && authUser.linuxUser ? authUser.linuxUser : null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clay-server",
3
- "version": "4.0.0-beta.8",
3
+ "version": "4.0.0-beta.9",
4
4
  "description": "Self-hosted team workspace for Claude Code and Codex. Multi-user, browser-based, with persistent AI mates.",
5
5
  "bin": {
6
6
  "clay-server": "./bin/cli.js",