Skip to content

Fixed authentication for Claude API profiles via apiKeyHelper (#10) - #30

Merged
oleg68 merged 1 commit into
nbplugins:release/0.20from
oleg68:bugfix/claude-api-key/0.20
Apr 13, 2026
Merged

oleg68 merged 1 commit into
nbplugins:release/0.20from
oleg68:bugfix/claude-api-key/0.20

Conversation

@oleg68

@oleg68 oleg68 commented Apr 13, 2026

Copy link
Copy Markdown
Collaborator

ANTHROPIC_API_KEY injected as a PTY env var was silently ignored by Claude Code CLI. Instead, write "apiKeyHelper": "echo " into .claude/settings.local.json before session start; remove it on stop. Also remove ANTHROPIC_API_KEY injection from ClaudeProfile.toEnvVars() for the CLAUDE_API connection type.

…ins#10)

ANTHROPIC_API_KEY injected as a PTY env var was silently ignored by
Claude Code CLI. Instead, write "apiKeyHelper": "echo <key>" into
.claude/settings.local.json before session start; remove it on stop.
Also remove ANTHROPIC_API_KEY injection from ClaudeProfile.toEnvVars()
for the CLAUDE_API connection type.

Co-authored-by: Oleg Samarin <osamarin@openintegration.inc>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@oleg68
oleg68 merged commit c057ff1 into nbplugins:release/0.20 Apr 13, 2026
@oleg68
oleg68 deleted the bugfix/claude-api-key/0.20 branch April 15, 2026 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant