codeforge-dev 1.5.4 → 1.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,7 @@
9
9
  ### Fixed
10
10
 
11
11
  - **ccstatusline powerline glyphs**: Powerline separators/caps were empty strings, rendering as underscores. Now uses proper Nerd Font glyphs (U+E0B0, U+E0B4, U+E0B6)
12
+ - **Unicode rendering in external terminals**: tmux rendered ALL Unicode as underscores because `docker exec` doesn't propagate locale vars. External terminal scripts now pass `LANG`/`LC_ALL=en_US.UTF-8` and use `tmux -u` to force UTF-8 mode. Locale exports also added to `.bashrc`/`.zshrc` as permanent fallback
12
13
 
13
14
  ### Fixed
14
15
 
@@ -73,14 +73,18 @@ Write-Host "======================================"
73
73
  Write-Host ""
74
74
 
75
75
  # Connect to container with tmux as vscode user (where aliases are defined)
76
- # If session exists, reattach. Otherwise create in /workspaces and auto-run cc.
77
- docker exec -it --user vscode $CONTAINER_ID bash -c "
76
+ # Pass UTF-8 locale so tmux renders Unicode correctly (not as underscores)
77
+ docker exec -it `
78
+ -e LANG=en_US.UTF-8 `
79
+ -e LC_ALL=en_US.UTF-8 `
80
+ --user vscode $CONTAINER_ID bash -c "
81
+ export LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
78
82
  if tmux has-session -t '$TMUX_SESSION' 2>/dev/null; then
79
- tmux attach-session -t '$TMUX_SESSION'
83
+ tmux -u attach-session -t '$TMUX_SESSION'
80
84
  else
81
- tmux new-session -d -s '$TMUX_SESSION' -c /workspaces
85
+ tmux -u new-session -d -s '$TMUX_SESSION' -c /workspaces
82
86
  sleep 0.5
83
87
  tmux send-keys -t '$TMUX_SESSION' 'cc' Enter
84
- tmux attach-session -t '$TMUX_SESSION'
88
+ tmux -u attach-session -t '$TMUX_SESSION'
85
89
  fi
86
90
  "
@@ -65,14 +65,19 @@ echo "======================================"
65
65
  echo ""
66
66
 
67
67
  # Connect to container with tmux as vscode user (where aliases are defined)
68
- # If session exists, reattach. Otherwise create in /workspaces and auto-run cc.
69
- exec docker exec -it --user vscode "$CONTAINER_ID" bash -c "
68
+ # Pass UTF-8 locale so tmux renders Unicode correctly (not as underscores)
69
+ # Use tmux -u to force UTF-8 mode as a belt-and-suspenders measure
70
+ exec docker exec -it \
71
+ -e LANG=en_US.UTF-8 \
72
+ -e LC_ALL=en_US.UTF-8 \
73
+ --user vscode "$CONTAINER_ID" bash -c "
74
+ export LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
70
75
  if tmux has-session -t '$TMUX_SESSION' 2>/dev/null; then
71
- tmux attach-session -t '$TMUX_SESSION'
76
+ tmux -u attach-session -t '$TMUX_SESSION'
72
77
  else
73
- tmux new-session -d -s '$TMUX_SESSION' -c /workspaces
78
+ tmux -u new-session -d -s '$TMUX_SESSION' -c /workspaces
74
79
  sleep 0.5
75
80
  tmux send-keys -t '$TMUX_SESSION' 'cc' Enter
76
- tmux attach-session -t '$TMUX_SESSION'
81
+ tmux -u attach-session -t '$TMUX_SESSION'
77
82
  fi
78
83
  "
@@ -54,6 +54,11 @@ for rc in ~/.bashrc ~/.zshrc; do
54
54
  if ! grep -q 'export CLAUDE_CONFIG_DIR=' "$rc" 2>/dev/null; then
55
55
  echo "export CLAUDE_CONFIG_DIR=\"${CLAUDE_CONFIG_DIR}\"" >> "$rc"
56
56
  fi
57
+ # Export UTF-8 locale so tmux renders Unicode correctly (docker exec doesn't inherit locale)
58
+ if ! grep -q 'export LANG=en_US.UTF-8' "$rc" 2>/dev/null; then
59
+ echo 'export LANG=en_US.UTF-8' >> "$rc"
60
+ echo 'export LC_ALL=en_US.UTF-8' >> "$rc"
61
+ fi
57
62
  echo "$ALIAS_CC" >> "$rc"
58
63
  echo "$ALIAS_CLAUDE" >> "$rc"
59
64
  echo "$ALIAS_CCRAW" >> "$rc"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeforge-dev",
3
- "version": "1.5.4",
3
+ "version": "1.5.5",
4
4
  "description": "Complete development container that sets up Claude Code with modular devcontainer features, modern dev tools, and persistent configurations. Drop it into any project and get a production-ready AI development environment in minutes.",
5
5
  "main": "setup.js",
6
6
  "bin": {