agileflow 2.99.7 → 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 +5 -0
- package/package.json +1 -1
- package/scripts/claude-tmux.sh +5 -14
package/CHANGELOG.md
CHANGED
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
|