You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-25Lines changed: 25 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,20 @@
1
1
# SoureCode Devcontainer Features
2
2
3
3
A small collection of [Dev Container Features](https://containers.dev/implementors/features/)
4
-
that extend the official [`anthropics/devcontainer-features/claude-code`](https://github.com/anthropics/devcontainer-features/tree/main/src/claude-code)
5
-
feature, plus a lightweight `nvm` feature.
4
+
for Claude Code and friends, plus a lightweight `nvm` feature.
6
5
7
6
Published to GHCR under the `sourecode/devcontainer-features` namespace.
8
7
9
8
## Features
10
9
11
10
| Feature | OCI reference | Summary |
12
11
|---|---|---|
13
-
|`nvm`|`ghcr.io/sourecode/devcontainer-features/nvm:2`| Installs [nvm](https://github.com/nvm-sh/nvm) system-wide and optionally a Node version (defaults to LTS), with `node`/`npm`/`npx` symlinked into `/usr/local/bin`. No yarn. |
12
+
|`claude-code`|`ghcr.io/sourecode/devcontainer-features/claude-code:1`| Installs the Claude Code CLI via the official native installer (no Node.js required). **Temporary** — will be retired once [anthropics/devcontainer-features#37](https://github.com/anthropics/devcontainer-features/pull/37) is merged. |
14
13
|`rtk`|`ghcr.io/sourecode/devcontainer-features/rtk:1`| Installs [rtk](https://github.com/rtk-ai/rtk), an LLM token-reducing CLI proxy; auto-patches Claude Code if present. |
15
14
|`context-mode`|`ghcr.io/sourecode/devcontainer-features/context-mode:1`| Installs the [`context-mode`](https://github.com/mksglu/context-mode) Claude Code plugin. |
15
+
|`nvm`|`ghcr.io/sourecode/devcontainer-features/nvm:2`| Installs [nvm](https://github.com/nvm-sh/nvm) system-wide and optionally a Node version (defaults to LTS), with `node`/`npm`/`npx` symlinked into `/usr/local/bin`. No yarn. |
16
16
17
-
`rtk` and `context-mode` depend on the Claude Code CLI, which they declare via
18
-
`installsAfter: ghcr.io/anthropics/devcontainer-features/claude-code` so the
19
-
runtime orders installations automatically when Anthropic's feature is also
20
-
requested.
17
+
`rtk` and `context-mode` declare `installsAfter` for both `ghcr.io/sourecode/devcontainer-features/claude-code` and `ghcr.io/anthropics/devcontainer-features/claude-code`, so the runtime orders them after whichever claude-code feature is present.
"description": "TEMPORARY: Installs the latest Claude Code CLI via the official native installer (no Node.js required). Drop this feature in favor of `ghcr.io/anthropics/devcontainer-features/claude-code` once https://github.com/anthropics/devcontainer-features/pull/37 is merged.",
Copy file name to clipboardExpand all lines: src/nvm/devcontainer-feature.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
"version": "2.0.0",
4
4
"name": "nvm",
5
5
"description": "Installs nvm (Node Version Manager) system-wide at /usr/local/share/nvm and optionally a Node version (defaults to LTS), with node/npm/npx symlinked into /usr/local/bin so every shell and subsequent feature sees them. No yarn.",
Copy file name to clipboardExpand all lines: src/rtk/install.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,6 @@ if [ "$AUTO_PATCH_CLAUDE" = "true" ]; then
35
35
if run_as_user 'command -v claude >/dev/null 2>&1';then
36
36
run_as_user 'rtk init -g --auto-patch'
37
37
else
38
-
echo"rtk feature: claude CLI not on PATH, skipping auto-patch. Install ghcr.io/anthropics/devcontainer-features/claude-code to enable it.">&2
38
+
echo"rtk feature: claude CLI not on PATH, skipping auto-patch. Install a claude-code feature (e.g. ghcr.io/sourecode/devcontainer-features/claude-code) to enable it.">&2
0 commit comments