codeforge-dev 1.5.5 → 1.5.7

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.
@@ -1,5 +1,24 @@
1
1
  # CodeForge Devcontainer Changelog
2
2
 
3
+ ## [v1.5.7] - 2026-02-06
4
+
5
+ ### Fixed
6
+
7
+ - **tmux linked sessions**: Opening multiple terminals no longer mirrors the same view. Uses `new-session -t claude-teams` (linked session) instead of `new-session -A` (shared attach). Each terminal gets independent window navigation while sharing the same window pool for Agent Teams panes
8
+
9
+ ---
10
+
11
+ ## [v1.5.6] - 2026-02-06
12
+
13
+ ### Added
14
+
15
+ - **tmux as default terminal**: All terminals (VS Code, WezTerm, docker exec) now auto-enter tmux `claude-teams` session. Ensures `$TMUX` is always set so Agent Teams `teammateMode: "auto"` uses split panes
16
+ - VS Code: Added `tmux` terminal profile as default in `devcontainer.json`
17
+ - All shells: Auto-enter tmux block in `.bashrc`/`.zshrc` via `setup-aliases.sh` (guarded: skips if already in tmux, non-interactive, or tmux not installed)
18
+ - Plain `bash` profile kept as alternative in VS Code
19
+
20
+ ---
21
+
3
22
  ## [v1.5.3] - 2026-02-06
4
23
 
5
24
  ### Added
@@ -150,10 +150,7 @@ GitHub CLI credentials are automatically persisted across container rebuilds. Th
150
150
 
151
151
  ### The `cc` Command
152
152
 
153
- The `cc` command is a wrapper that:
154
- - Creates a project-local `.claude/` directory if missing
155
- - Copies default configuration files
156
- - Launches Claude Code with the project's system prompt
153
+ The `cc` command is an alias that launches Claude Code with the project's system prompt and plan-mode permissions. All terminals (VS Code, WezTerm, docker exec) auto-enter a tmux `claude-teams` session for Agent Teams split-pane support.
157
154
 
158
155
  ```bash
159
156
  cc # Start Claude Code in current directory
@@ -216,8 +213,9 @@ CodeForge includes several custom devcontainer features:
216
213
 
217
214
  - **Authentication required**: Run `claude` once to authenticate before using `cc`
218
215
  - **Plan mode default**: The container starts in "plan" mode, which prompts for approval before making changes
219
- - **Project-local config**: The `cc` command creates `.claude/` in your current directory for project-specific settings
216
+ - **Project-local config**: Config files are auto-copied to `.claude/` on container start via `setup-config.sh`
220
217
  - **GitHub auth persists**: Run `gh auth login` once; credentials survive container rebuilds (stored in `/workspaces/.gh/`)
218
+ - **Terminals auto-enter tmux**: All interactive shells auto-enter the `claude-teams` tmux session for Agent Teams split panes. Use the `bash` terminal profile in VS Code if you need a plain shell
221
219
 
222
220
  ## Further Reading
223
221
 
@@ -78,7 +78,16 @@
78
78
  "customizations": {
79
79
  "vscode": {
80
80
  "settings": {
81
- "terminal.integrated.defaultProfile.linux": "bash",
81
+ "terminal.integrated.profiles.linux": {
82
+ "tmux": {
83
+ "path": "bash",
84
+ "args": ["-c", "if tmux has-session -t claude-teams 2>/dev/null; then exec tmux -u new-session -t claude-teams; else exec tmux -u new-session -s claude-teams; fi"]
85
+ },
86
+ "bash": {
87
+ "path": "bash"
88
+ }
89
+ },
90
+ "terminal.integrated.defaultProfile.linux": "tmux",
82
91
  "terminal.integrated.enableBell": true,
83
92
  "remote.extensionKind": {
84
93
  "wenbopan.vscode-terminal-osc-notifier": ["ui"]
@@ -47,7 +47,7 @@ for rc in ~/.bashrc ~/.zshrc; do
47
47
  sed -i '/alias specwright=/d' "$rc"
48
48
  fi
49
49
 
50
- # --- Add environment and aliases ---
50
+ # --- Add environment, auto-tmux, and aliases ---
51
51
  echo "" >> "$rc"
52
52
  echo "# Claude Code environment and aliases (managed by setup-aliases.sh)" >> "$rc"
53
53
  # Export CLAUDE_CONFIG_DIR so it's available in all shells (not just VS Code remoteEnv)
@@ -59,6 +59,21 @@ for rc in ~/.bashrc ~/.zshrc; do
59
59
  echo 'export LANG=en_US.UTF-8' >> "$rc"
60
60
  echo 'export LC_ALL=en_US.UTF-8' >> "$rc"
61
61
  fi
62
+ # Auto-enter tmux for Agent Teams split-pane support
63
+ # Guards: not already in tmux, interactive shell only, tmux available
64
+ if ! grep -q 'Auto-enter tmux' "$rc" 2>/dev/null; then
65
+ cat >> "$rc" << 'TMUX_BLOCK'
66
+
67
+ # Auto-enter tmux for Agent Teams split-pane support
68
+ if [ -z "$TMUX" ] && [ -n "$PS1" ] && command -v tmux &>/dev/null; then
69
+ if tmux has-session -t claude-teams 2>/dev/null; then
70
+ exec tmux -u new-session -t claude-teams
71
+ else
72
+ exec tmux -u new-session -s claude-teams
73
+ fi
74
+ fi
75
+ TMUX_BLOCK
76
+ fi
62
77
  echo "$ALIAS_CC" >> "$rc"
63
78
  echo "$ALIAS_CLAUDE" >> "$rc"
64
79
  echo "$ALIAS_CCRAW" >> "$rc"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeforge-dev",
3
- "version": "1.5.5",
3
+ "version": "1.5.7",
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": {