Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
// Claude (Anthropic)
"source=${localEnv:HOME}/.claude,target=/home/${localEnv:USER}/.claude,type=bind,consistency=cached",
"source=${localEnv:HOME}/.claude.json,target=/home/${localEnv:USER}/.claude.json,type=bind,consistency=cached",
"source=${localEnv:HOME}/.claude-profiles,target=/home/${localEnv:USER}/.claude-profiles,type=bind,consistency=cached",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Avoid requiring optional Claude profiles

On any workstation that has the existing Claude/Codex config but no ~/.claude-profiles, this new active devcontainer mount prevents the container from being created: the devcontainer spec says mounts uses Docker --mount syntax, and Docker reports an error when a bind source path does not exist rather than creating it (see https://containers.dev/implementors/json_reference/ and https://docs.docker.com/engine/storage/bind-mounts/). If profiles are optional, create the directory in initializeCommand or make this mount opt-in so developers without that profile directory can still open the bench.

Useful? React with 👍 / 👎.

// Codex (OpenAI)
Comment on lines 56 to 59
"source=${localEnv:HOME}/.codex,target=/home/${localEnv:USER}/.codex,type=bind,consistency=cached",
"source=${localEnv:HOME}/.config/ledgerlinc/secrets,target=/home/${localEnv:USER}/.config/ledgerlinc/secrets,type=bind,readonly",
Expand Down
1 change: 1 addition & 0 deletions .devcontainer/docker-compose.usermap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ services:
# Claude (Anthropic)
- ~/.claude:/home/${USER}/.claude:cached
- ~/.claude.json:/home/${USER}/.claude.json:cached
- ~/.claude-profiles:/home/${USER}/.claude-profiles:cached
- ~/.claude/.credentials.json:/home/${USER}/.claude/.credentials.json:cached
Comment on lines 43 to 46
# Codex (OpenAI)
- ~/.codex:/home/${USER}/.codex:cached
Expand Down