···55555656The anthropic-proxy requires OAuth setup for Anthropic API access:
57575858-1. Open http://localhost:4001 in your browser
5959-2. Complete the Anthropic OAuth flow
6060-3. Copy the session ID from the callback
6161-4. Add it to your `.env`:
5858+1. Open http://localhost:4001/auth/device in your browser
5959+2. Click "Start Authorization" to generate an auth URL
6060+3. Open the URL and authorize in Claude
6161+4. Paste the authorization code back into the form
6262+5. Copy the session ID shown after success
6363+6. Add it to your `.env`:
6264 ```
6365 ANTHROPIC_PROXY_SESSION_ID=your_session_id_here
6466 ```
···1041063. Copy the bot token to `TELEGRAM_BOT_TOKEN` in `.env`
1051074. (Optional) Set bot commands via `/setcommands`:
106108 ```
107107- start - Start the bot
108108- help - Show help
109109- dump - Brain dump mode
110110- focus - Set current focus
111111- wins - Show recent wins
109109+start - Start the bot
110110+help - Show help
111111+dump - Brain dump mode
112112+focus - Set current focus
113113+wins - Show recent wins
112114 ```
113115114116### Webhook vs Polling