Skip to content

Commit 401a32d

Browse files
committed
scripts(install): merge java-direct + ~/.eclipse into sandbox allowWrite
Without these, Claude Code users running install.sh on a fresh repo would hit two sandbox blocks java-direct can't recover from: - ~/.cache/java-direct/** — wrapper state dir + per-workspace jdt-data subdir - ~/.eclipse/** — Equinox launcher extracts JNI native libs here on first jdtls start (one-time write, then read-only) Both are now in the install.sh jq merge alongside the existing five *-direct cache entries. Documented in docs/troubleshooting.md as the manual fallback if a user doesn't run install.sh.
1 parent df81673 commit 401a32d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

scripts/install.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,17 @@ if [ -f "$SETTINGS" ]; then
9494
"Bash(~/.claude/bin/vue-direct *)",
9595
"Bash(~/.claude/bin/py-direct *)",
9696
"Bash(~/.claude/bin/ts-direct *)",
97-
"Bash(~/.claude/bin/cs-direct *)"
97+
"Bash(~/.claude/bin/cs-direct *)",
98+
"Bash(~/.claude/bin/java-direct *)"
9899
] | unique)
99100
| .sandbox.filesystem.allowWrite = ((.sandbox.filesystem.allowWrite // []) + [
100101
"~/.cache/metals-direct/**",
101102
"~/.cache/vue-direct/**",
102103
"~/.cache/py-direct/**",
103104
"~/.cache/ts-direct/**",
104-
"~/.cache/cs-direct/**"
105+
"~/.cache/cs-direct/**",
106+
"~/.cache/java-direct/**",
107+
"~/.eclipse/**"
105108
] | unique)
106109
' "$SETTINGS" > "$TMP" && mv "$TMP" "$SETTINGS"
107110
log " merged (backup at $SETTINGS.bak-<ts>)"

0 commit comments

Comments
 (0)