diff --git a/src/agent-persistence/README.md b/src/agent-persistence/README.md index 57661fa..cc83420 100644 --- a/src/agent-persistence/README.md +++ b/src/agent-persistence/README.md @@ -9,7 +9,7 @@ Persist configurations for coding agents (Claude Code, Codex, Gemini Code Assist ```json "features": { - "ghcr.io/fjktkm/devcontainer-features/agent-persistence:1": {} + "ghcr.io/peter-wagstaff/devcontainer-features/agent-persistence:1": {} } ``` @@ -17,34 +17,14 @@ Persist configurations for coding agents (Claude Code, Codex, Gemini Code Assist | Options Id | Description | Type | Default Value | |-----|-----|-----|-----| -| scope | Volume scope: `shared` uses one volume across all containers, `per-project` isolates data per dev container within the volume. | string | shared | +| scope | Volume scope: 'shared' uses one volume across all containers (default), 'per-project' isolates data per dev container within the volume. | string | shared | | claude | Mount Claude Code config (`~/.claude`) via volume. | boolean | true | | codex | Mount Codex config (`~/.codex`) via volume. | boolean | true | | gemini | Mount Gemini Code Assist config (`~/.gemini`) and caches (`~/.cache/google-vscode-extension`, `~/.cache/cloud-code`) via volumes. | boolean | true | | github-cli | Mount GitHub CLI config (`~/.config/gh`) via volume. | boolean | true | -## Per-project scope -By default, all dev containers share a single persistence volume. With `"scope": "per-project"`, each dev container gets an isolated subdirectory within the volume, so credentials and configuration don't leak between projects. - -```json -"features": { - "ghcr.io/fjktkm/devcontainer-features/agent-persistence:1": { - "scope": "per-project" - } -} -``` - -**Required:** When using `per-project` scope, you must also add `DEVCONTAINER_ID` to your `containerEnv` in `devcontainer.json`. This is needed because `${devcontainerId}` substitution is not supported inside feature metadata's `containerEnv`: - -```json -"containerEnv": { - "DEVCONTAINER_ID": "${devcontainerId}" -} -``` - -Without this, the feature falls back to shared scope. --- -_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/fjktkm/devcontainer-features/blob/main/src/agent-persistence/devcontainer-feature.json). Add additional notes to a `NOTES.md`._ +_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/peter-wagstaff/devcontainer-features/blob/main/src/agent-persistence/devcontainer-feature.json). Add additional notes to a `NOTES.md`._ diff --git a/src/color/README.md b/src/color/README.md index cfcc866..1242d57 100644 --- a/src/color/README.md +++ b/src/color/README.md @@ -7,7 +7,7 @@ A feature to remind you of your favorite color ```json "features": { - "ghcr.io/fjktkm/devcontainer-features/color:1": {} + "ghcr.io/peter-wagstaff/devcontainer-features/color:1": {} } ``` @@ -21,4 +21,4 @@ A feature to remind you of your favorite color --- -_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/fjktkm/devcontainer-features/blob/main/src/color/devcontainer-feature.json). Add additional notes to a `NOTES.md`._ +_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/peter-wagstaff/devcontainer-features/blob/main/src/color/devcontainer-feature.json). Add additional notes to a `NOTES.md`._ diff --git a/src/hello/README.md b/src/hello/README.md index 16f55f2..0a98814 100644 --- a/src/hello/README.md +++ b/src/hello/README.md @@ -7,7 +7,7 @@ A hello world feature ```json "features": { - "ghcr.io/fjktkm/devcontainer-features/hello:1": {} + "ghcr.io/peter-wagstaff/devcontainer-features/hello:1": {} } ``` @@ -21,4 +21,4 @@ A hello world feature --- -_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/fjktkm/devcontainer-features/blob/main/src/hello/devcontainer-feature.json). Add additional notes to a `NOTES.md`._ +_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/peter-wagstaff/devcontainer-features/blob/main/src/hello/devcontainer-feature.json). Add additional notes to a `NOTES.md`._