Commit cab3618
fix(acp): add claude-login auth method for ACP 0.20.0 compatibility
The ACP agent was failing with "Authentication required" errors when
using claude-agent-acp v0.20.0 because the `claude-login` auth method
was not mapped to any environment variable.
This adds `claude-login` → `ANTHROPIC_API_KEY` to the auth method map,
allowing the SDK to properly authenticate with the Claude Code ACP
server when ANTHROPIC_API_KEY is available.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent b71276c commit cab3618
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| |||
0 commit comments