github RightNow-AI/openfang v0.3.38
v0.3.38 — Claude Code Provider Fix

latest release: v0.3.40
2 hours ago

Fixes

  • Web wizard: Shows "Detect Claude Code" button instead of broken API key input for keyless providers. Calls /api/providers/claude-code/test to verify CLI installation.
  • TUI wizards: Both init wizard and settings wizard now include claude-code in their provider lists with needs_key: false
  • Credentials detection: Checks both ~/.claude/.credentials.json and ~/.claude/credentials.json for different Claude CLI versions
  • Subprocess security: env_clear() + selective re-add prevents leaking API keys from other providers into the Claude CLI process
  • Cross-platform: Windows (USERPROFILE, APPDATA, SYSTEMROOT, TEMP), macOS/Linux (HOME, USER, SHELL, LANG), plus XDG_* and CLAUDE_* prefixes all preserved

Closes #303

Stats

6 files changed, 171 insertions, 31 deletions, 1949 tests pass, 0 clippy warnings

Don't miss a new openfang release

NewReleases is sending notifications on new releases.