Commit 1d3a1ca
Accept sk-ant-sid02 session keys for Claude Web (#960)
Anthropic changed Claude Web session keys from sk-ant-sid01-* to
sk-ant-sid02-*. The previous validation only accepted the older sid01
prefix, causing "Session key invalid" errors for users with newer keys.
Accept numeric sk-ant-sid versions in the Claude client validation so
sk-ant-sid01-*, sk-ant-sid02-*, sk-ant-sid03-*, and future numeric sid
versions can pass the upfront format check. Update the JSDoc example
and related error messages to match the newer session key format.
Fix #935
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>1 parent cd5c92f commit 1d3a1ca
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
| 77 | + | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
0 commit comments