Skip to content

Commit 3b2d3d5

Browse files
committed
fix(share-host-claude-config): default skills, hooks, plugins to false
Plugins embed host-absolute binary paths that break inside containers. Hooks reference host-only binaries (rtk, ghx, etc.) not present in the container. Skills are safe but default to opt-in for consistency with the other two. Improve option descriptions to explain when opt-in is appropriate. Bump version 0.1.0 → 0.1.1.
1 parent 12638b9 commit 3b2d3d5

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/share-host-claude-config/devcontainer-feature.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "share-host-claude-config",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"name": "Share host Claude Code config",
55
"description": "Bind-mounts the host ~/.claude into the devcontainer and selectively symlinks safe subpaths (agents, commands, skills, hooks, rules, plugins, ...) into $HOME/.claude so user config persists across rebuilds. MCP/settings.json excluded by default.",
66
"documentationURL": "https://github.com/ckagerer/devcontainer-features/tree/main/src/share-host-claude-config",
@@ -22,13 +22,13 @@
2222
},
2323
"link_skills": {
2424
"type": "boolean",
25-
"default": true,
26-
"description": "Symlink skills/ from host staging mount."
25+
"default": false,
26+
"description": "Symlink skills/ from host staging mount. Opt in if your skills are self-contained markdown with no host-path references."
2727
},
2828
"link_hooks": {
2929
"type": "boolean",
30-
"default": true,
31-
"description": "Symlink hooks/ from host staging mount."
30+
"default": false,
31+
"description": "Symlink hooks/ from host staging mount. Opt in only if all binaries referenced by hooks (e.g. rtk, ghx) are available inside the container."
3232
},
3333
"link_rules": {
3434
"type": "boolean",
@@ -37,8 +37,8 @@
3737
},
3838
"link_plugins": {
3939
"type": "boolean",
40-
"default": true,
41-
"description": "Symlink plugins/ from host staging mount. Assumes x86_64 Linux host and container; set false for cross-arch containers."
40+
"default": false,
41+
"description": "Symlink plugins/ from host staging mount. Opt in only if host and container share the same arch and all plugin binaries/paths are valid inside the container."
4242
},
4343
"link_sessions": {
4444
"type": "boolean",

0 commit comments

Comments
 (0)