@echo off REM Generate a long-lived Claude OAuth token using the Agent SDK's bundled CLI. REM Opens a browser to log in with your Claude subscription (Pro/Max), then REM prints a token (sk-ant-oat01-...). Copy it into auth.env as: REM CLAUDE_CODE_OAUTH_TOKEN=sk-ant-oat01-... cd /d "%~dp0" node "node_modules\@anthropic-ai\claude-agent-sdk\cli.js" setup-token echo. echo ---------------------------------------------------------------- echo Copy the token above into agent-gateway\auth.env : echo CLAUDE_CODE_OAUTH_TOKEN=sk-ant-oat01-... echo Then restart the gateway (node server.mjs). echo ---------------------------------------------------------------- pause