agileflow 2.99.6 → 2.99.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.
- package/CHANGELOG.md +5 -0
- package/package.json +1 -1
- package/scripts/claude-tmux.sh +5 -2
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/scripts/claude-tmux.sh
CHANGED
|
@@ -405,11 +405,14 @@ fi
|
|
|
405
405
|
# Create new tmux session with Claude
|
|
406
406
|
echo "Starting Claude in tmux session: $SESSION_NAME"
|
|
407
407
|
|
|
408
|
-
# Create session
|
|
408
|
+
# Create session and set base-index in one atomic command.
|
|
409
409
|
# new-session starts the server (required after reboot when no server exists).
|
|
410
410
|
# Separate start-server/set-option calls fail because the server exits immediately
|
|
411
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
|
|
412
|
+
tmux new-session -d -s "$SESSION_NAME" -n "main" \; set-option -g base-index 1
|
|
413
|
+
# Move window to index 1 if not already there (suppress stdout "same index"
|
|
414
|
+
# message when base-index was already 1 from a previous session)
|
|
415
|
+
tmux move-window -t "$SESSION_NAME":1 >/dev/null 2>&1 || true
|
|
413
416
|
|
|
414
417
|
# Apply tmux configuration
|
|
415
418
|
configure_tmux_session "$SESSION_NAME"
|