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 +5 -0
- package/package.json +1 -1
- package/scripts/claude-tmux.sh +5 -10
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/scripts/claude-tmux.sh
CHANGED
|
@@ -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
|
-
#
|
|
409
|
-
#
|
|
410
|
-
#
|
|
411
|
-
|
|
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"
|