Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
fix(claude-web): inject cf_clearance into cookie for 403 prevention (#3046)
Paijo2a8954663c88
diff --git a/open-sse/executors/claude-web.ts b/open-sse/executors/claude-web.tsindex 7309dfa1ca..0734556305 100644--- a/open-sse/executors/claude-web.ts+++ b/open-sse/executors/claude-web.ts@@ -417,7 +417,7 @@ export class ClaudeWebExecutor extends BaseExecutor {return false;}- const cookieHeader = normalizeClaudeSessionCookie(rawCookie);+ const cookieHeader = await normalizeClaudeSessionCookieWithAutoRefresh(rawCookie, { allowAutoSolve: false });const deviceId = (credentials as any)?.deviceId as string | undefined;return await verifyCookieValidity(cookieHeader, deviceId, signal);@@ -479,7 +479,7 @@ export class ClaudeWebExecutor extends BaseExecutor {};}- const cookieHeader = normalizeClaudeSessionCookie(rawCookie);+ const cookieHeader = await normalizeClaudeSessionCookieWithAutoRefresh(rawCookie, { log });const deviceId = (credentials as any)?.deviceId as string | undefined;// Transform request to Claude format