Skip to content

Respect CLAUDE_CONFIG_DIR for host config directory#190

Open
stbenjam wants to merge 1 commit intobbrowning:mainfrom
stbenjam:claude-config-dir-support
Open

Respect CLAUDE_CONFIG_DIR for host config directory#190
stbenjam wants to merge 1 commit intobbrowning:mainfrom
stbenjam:claude-config-dir-support

Conversation

@stbenjam
Copy link
Copy Markdown

@stbenjam stbenjam commented Apr 3, 2026

When CLAUDE_CONFIG_DIR is set, paude now reads the Claude config from that directory instead of always using ~/.claude. This affects both the seed volume mount (host_config_mounts) and the podman cp config sync path (ConfigSyncer). A new config_dir_env_var field on AgentConfig allows each agent to declare which env var overrides the host-side config directory.

I have multiple Claude configurations (different config, different auths (e.g. vertex and anthropic), etc), so being able to use CLAUDE_CONFIG_DIR would be great.

Thanks!

When CLAUDE_CONFIG_DIR is set, paude now reads the Claude config from
that directory instead of always using ~/.claude. This affects both the
seed volume mount (host_config_mounts) and the podman cp config sync
path (ConfigSyncer). A new config_dir_env_var field on AgentConfig
allows each agent to declare which env var overrides the host-side
config directory.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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