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
- Replace &>/dev/null with >/dev/null 2>&1 (POSIX)
- Require curl only (not wget) — matches official installer dependency
- Use bash instead of sh for piping installer (it requires bash)
- Quote ${TARGET} in su -c to prevent word splitting
- Pre-create ~/.local/state and ~/.claude directories
- Add 99-claude-onboarding.sh post-start hook to ensure
hasCompletedOnboarding is set when token auth is configured
Copy file name to clipboardExpand all lines: .devcontainer/CHANGELOG.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,11 @@
2
2
3
3
## [Unreleased]
4
4
5
+
### Added
6
+
7
+
#### Claude Code Installation
8
+
-**Post-start onboarding hook** (`99-claude-onboarding.sh`) — ensures `hasCompletedOnboarding: true` in `.claude.json` when token auth is configured; catches overwrites from Claude Code CLI/extension that race with `postStartCommand`
9
+
5
10
### Changed
6
11
7
12
#### Claude Code Installation
@@ -14,6 +19,10 @@
14
19
-**Update script no longer silently discards errors** — background update output now captured to log file instead of being discarded via `&>/dev/null`
15
20
-**Update script simplified to native-binary-only** — removed npm fallback and `claude install` bootstrap code; added 60s timeout and transitional npm cleanup
16
21
-**Alias resolution simplified** — `_CLAUDE_BIN` now resolves directly to native binary path (removed npm and `/usr/local/bin` fallbacks)
22
+
-**POSIX redirect** — replaced `&>/dev/null` with `>/dev/null 2>&1` in dependency check for portability
23
+
-**Installer shell** — changed `sh -s` to `bash -s` when piping the official installer (it requires bash)
24
+
-**Unquoted `${TARGET}`** — quoted variable in `su -c` command to prevent word splitting
25
+
-**Directory prep** — added `~/.local/state` and `~/.claude` pre-creation; consolidated `chown` to cover entire `~/.local` tree
0 commit comments