Skip to content

feat(claude-cli): allow configuring the Claude config directory#493

Open
gabrielgiordan wants to merge 1 commit into
nashsu:mainfrom
gabrielgiordan:feat/claude-config-dir
Open

feat(claude-cli): allow configuring the Claude config directory#493
gabrielgiordan wants to merge 1 commit into
nashsu:mainfrom
gabrielgiordan:feat/claude-config-dir

Conversation

@gabrielgiordan

@gabrielgiordan gabrielgiordan commented Jun 27, 2026

Copy link
Copy Markdown

Problem

Users whose Claude config lives outside ~/.claude (e.g. ~/.claude-work) can't use the Claude Code provider. The subprocess always reads from the default location since macOS GUI apps don't inherit shell env vars like CLAUDE_CONFIG_DIR.

Fix

Adds a Claude config directory field to Claude Code provider settings. When set, LLM Wiki passes it as CLAUDE_CONFIG_DIR to the claude subprocess.

Notes

  • Claude Code only (CLAUDE_CONFIG_DIR is Claude-specific)
  • Only set on the child process, not on LLM Wiki itself

@gabrielgiordan gabrielgiordan force-pushed the feat/claude-config-dir branch from a365182 to 2dd3914 Compare June 27, 2026 04:34
@gabrielgiordan gabrielgiordan changed the title feat(claude-cli): add CLAUDE_CONFIG_DIR support via claudeConfigDir setting feat(claude-cli): allow configuring the Claude config directory Jun 27, 2026
…etting

Allows users whose Claude config lives outside the default ~/.claude
directory (e.g. ~/.claude-personal) to specify the config path in the
Claude Code provider settings. Injected as CLAUDE_CONFIG_DIR when
spawning the claude subprocess, with tilde expansion for ~/... paths.
@gabrielgiordan gabrielgiordan force-pushed the feat/claude-config-dir branch from 2dd3914 to ce7e340 Compare June 27, 2026 04:42
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