agileflow 2.99.6 → 2.99.8
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 +10 -0
- package/package.json +1 -1
- package/scripts/claude-tmux.sh +10 -16
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.99.8] - 2026-02-12
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- Simplify tmux keybindings and clean up status line
|
|
14
|
+
|
|
15
|
+
## [2.99.7] - 2026-02-11
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
- Suppress tmux same-index message on session start
|
|
19
|
+
|
|
10
20
|
## [2.99.6] - 2026-02-09
|
|
11
21
|
|
|
12
22
|
### Fixed
|
package/package.json
CHANGED
package/scripts/claude-tmux.sh
CHANGED
|
@@ -313,7 +313,7 @@ configure_tmux_session() {
|
|
|
313
313
|
git_branch=$(git branch --show-current 2>/dev/null || echo '-')
|
|
314
314
|
|
|
315
315
|
# Line 0 (top): Session name (stripped of claude- prefix) + Keybinds + Git branch
|
|
316
|
-
tmux set-option -t "$target_session" status-format[0] "#[bg=#1a1b26] #[fg=#e8683a bold]#{s/claude-//:session_name} #[fg=#3b4261]· #[fg=#7aa2f7] ${git_branch} #[align=right]#[fg=#7a7e8a]Alt+
|
|
316
|
+
tmux set-option -t "$target_session" status-format[0] "#[bg=#1a1b26] #[fg=#e8683a bold]#{s/claude-//:session_name} #[fg=#3b4261]· #[fg=#7aa2f7] ${git_branch} #[align=right]#[fg=#7a7e8a]Alt+1-9 windows Alt+s new session Alt+q detach "
|
|
317
317
|
|
|
318
318
|
# Line 1 (bottom): Window tabs with smart truncation and brand color
|
|
319
319
|
tmux set-option -t "$target_session" status-format[1] "#[bg=#1a1b26]#{W:#{?window_active,#[fg=#1a1b26 bg=#e8683a bold] #I #[fg=#e8683a bg=#2d2f3a]#[fg=#e0e0e0] #{=15:window_name} #[bg=#1a1b26 fg=#2d2f3a],#[fg=#8a8a8a] #I:#{=|8|...:window_name} }}"
|
|
@@ -341,8 +341,8 @@ configure_tmux_session() {
|
|
|
341
341
|
# Alt+d to split horizontally (side by side)
|
|
342
342
|
tmux bind-key -n M-d split-window -h -c "#{pane_current_path}"
|
|
343
343
|
|
|
344
|
-
# Alt+
|
|
345
|
-
tmux bind-key -n M-
|
|
344
|
+
# Alt+v to split vertically (top/bottom)
|
|
345
|
+
tmux bind-key -n M-v split-window -v -c "#{pane_current_path}"
|
|
346
346
|
|
|
347
347
|
# Alt+arrow to navigate panes
|
|
348
348
|
tmux bind-key -n M-Left select-pane -L
|
|
@@ -370,21 +370,12 @@ configure_tmux_session() {
|
|
|
370
370
|
tmux bind-key -n M-[ copy-mode
|
|
371
371
|
|
|
372
372
|
# ─── Session Creation Keybindings ──────────────────────────────────────────
|
|
373
|
-
# Alt+
|
|
374
|
-
tmux bind-key -n M-
|
|
375
|
-
|
|
376
|
-
# Alt+S (shift+s) to create a same-directory Claude window (no worktree)
|
|
377
|
-
tmux bind-key -n M-S run-shell "tmux new-window -c '#{pane_current_path}' && tmux send-keys 'claude \$CLAUDE_SESSION_FLAGS' Enter && tmux display-message 'Same-dir session created'"
|
|
373
|
+
# Alt+s to create a same-directory Claude window
|
|
374
|
+
tmux bind-key -n M-s run-shell "tmux new-window -c '#{pane_current_path}' && tmux send-keys 'claude \$CLAUDE_SESSION_FLAGS' Enter && tmux display-message 'New Claude session created'"
|
|
378
375
|
|
|
379
376
|
# ─── Freeze Recovery Keybindings ───────────────────────────────────────────
|
|
380
377
|
# Alt+k to send Ctrl+C twice (soft interrupt for frozen processes)
|
|
381
378
|
tmux bind-key -n M-k run-shell "tmux send-keys C-c; sleep 0.5; tmux send-keys C-c"
|
|
382
|
-
|
|
383
|
-
# Alt+K (shift+k) to force-kill pane immediately (nuclear option for hard freezes)
|
|
384
|
-
tmux bind-key -n M-K kill-pane
|
|
385
|
-
|
|
386
|
-
# Alt+R (shift+r) to respawn the pane (restart with a fresh shell)
|
|
387
|
-
tmux bind-key -n M-R respawn-pane -k
|
|
388
379
|
}
|
|
389
380
|
|
|
390
381
|
# Handle --refresh flag — re-apply config to all existing claude-* sessions
|
|
@@ -405,11 +396,14 @@ fi
|
|
|
405
396
|
# Create new tmux session with Claude
|
|
406
397
|
echo "Starting Claude in tmux session: $SESSION_NAME"
|
|
407
398
|
|
|
408
|
-
# Create session
|
|
399
|
+
# Create session and set base-index in one atomic command.
|
|
409
400
|
# new-session starts the server (required after reboot when no server exists).
|
|
410
401
|
# Separate start-server/set-option calls fail because the server exits immediately
|
|
411
402
|
# 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
|
|
403
|
+
tmux new-session -d -s "$SESSION_NAME" -n "main" \; set-option -g base-index 1
|
|
404
|
+
# Move window to index 1 if not already there (suppress stdout "same index"
|
|
405
|
+
# message when base-index was already 1 from a previous session)
|
|
406
|
+
tmux move-window -t "$SESSION_NAME":1 >/dev/null 2>&1 || true
|
|
413
407
|
|
|
414
408
|
# Apply tmux configuration
|
|
415
409
|
configure_tmux_session "$SESSION_NAME"
|