agileflow 2.99.5 → 2.99.6

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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.99.6] - 2026-02-09
11
+
12
+ ### Fixed
13
+ - Fix tmux session creation after reboot with atomic command
14
+
10
15
  ## [2.99.5] - 2026-02-09
11
16
 
12
17
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agileflow",
3
- "version": "2.99.5",
3
+ "version": "2.99.6",
4
4
  "description": "AI-driven agile development system for Claude Code, Cursor, Windsurf, and more",
5
5
  "keywords": [
6
6
  "agile",
@@ -405,16 +405,11 @@ fi
405
405
  # Create new tmux session with Claude
406
406
  echo "Starting Claude in tmux session: $SESSION_NAME"
407
407
 
408
- # Ensure tmux server is running (required for set-option when no sessions exist).
409
- # Only new-session, start-server, and kill-server can start a server.
410
- # Without this, set-option fails with "error connecting to..." after a reboot.
411
- tmux start-server
412
-
413
- # Set base-index globally BEFORE creating session so first window gets index 1
414
- tmux set-option -g base-index 1
415
-
416
- # Create session in detached mode first (will use base-index 1)
417
- tmux new-session -d -s "$SESSION_NAME" -n "main"
408
+ # Create session, set base-index, and move window to index 1 in one atomic command.
409
+ # new-session starts the server (required after reboot when no server exists).
410
+ # Separate start-server/set-option calls fail because the server exits immediately
411
+ # when no sessions exist. The \; syntax chains commands on the same server instance.
412
+ tmux new-session -d -s "$SESSION_NAME" -n "main" \; set-option -g base-index 1 \; move-window -t 1
418
413
 
419
414
  # Apply tmux configuration
420
415
  configure_tmux_session "$SESSION_NAME"