Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
fix: omnibus demo — session manager, LSP dialog (#1101)
Maximilian Roos593a86993d3f
diff --git a/docs/demos/shared/lib.py b/docs/demos/shared/lib.pyindex 23aa3c2e6..1b23fd7a3 100644--- a/docs/demos/shared/lib.py+++ b/docs/demos/shared/lib.py@@ -456,6 +456,7 @@ def setup_claude_code_config(},"officialMarketplaceAutoInstalled": True,"effortCalloutDismissed": True,+ "lspRecommendationDisabled": True,"tipsHistory": {"new-user-warmup": 100,"terminal-setup": 100,@@ -573,6 +574,7 @@ keybinds clear-defaults=true {{bind "Ctrl Space" {{ SwitchToMode "tmux"; }}}}tmux {{+ bind "o" {{ SwitchToMode "pane"; }}bind "p" {{ SwitchToMode "pane"; }}bind "t" {{ SwitchToMode "tab"; }}bind "q" {{ Quit; }}@@ -586,6 +588,9 @@ keybinds clear-defaults=true {{bind "3" {{ GoToTab 3; SwitchToMode "Normal"; }}bind "4" {{ GoToTab 4; SwitchToMode "Normal"; }}}}+ pane {{+ bind "n" {{ NewPane; SwitchToMode "Normal"; }}+ }}shared_except "locked" {{bind "Ctrl t" {{ NewTab; }}bind "Ctrl n" {{ NewPane; }}diff --git a/docs/demos/shared/validation.py b/docs/demos/shared/validation.pyindex b1cf089f4..554e91a71 100644--- a/docs/demos/shared/validation.py+++ b/docs/demos/shared/validation.py@@ -28,16 +28,14 @@ from pathlib import Path# Forbidden patterns must ALL be absent (case-insensitive).TUI_CHECKPOINTS: dict[str, list[tuple[int, list[str], list[str]]]] = {- # Frame numbers calibrated with permissions cache fix (no permission dialog).- # At 30fps: frame 100 = ~3.3s, frame 500 = ~16.7s, frame 2060 = ~68.7s+ # Frame numbers calibrated after removing initial wt list (demo starts with picker).+ # At 30fps: frame 200 = ~6.7s, frame 1750 = ~58.3s"wt-zellij-omnibus": [- # Frame 100: After wt list - should see branch table, no permission dialog- (100, ["Branch", "Status", "main", "hooks"], ["Allow?", "permission"]),- # Frame 300: Claude UI visible on TAB 1 (api) - shows Opus model and task- (300, ["Opus", "acme", "Add a test"], ["command not found", "Unknown command"]),- # Frame 1980: Near end - wt list --full showing all worktrees- # (shifted ~75 frames earlier after removing wt list before wt remove)- (1980, ["Branch", "main", "feature", "billing"], ["CONFLICT", "error:", "failed"]),+ # Frame 200: Claude UI visible on TAB 1 (api) - shows Opus model and task+ (200, ["Opus", "acme", "Add a test"], ["command not found", "Unknown command"]),+ # Frame 1750: Near end - wt list --full showing all worktrees+ # (feature removed by wt remove in TAB 3)+ (1750, ["Branch", "main", "billing"], ["CONFLICT", "error:", "failed"]),],}diff --git a/docs/demos/tapes/wt-zellij-omnibus.tape b/docs/demos/tapes/wt-zellij-omnibus.tapeindex 3c5e776d2..76951c324 100644--- a/docs/demos/tapes/wt-zellij-omnibus.tape+++ b/docs/demos/tapes/wt-zellij-omnibus.tape@@ -13,15 +13,14 @@ Output "{{OUTPUT_GIF}}"# 4. Each Zellij tab shows a distinct workflow## Tab structure:-# TAB 1: wt list → wt switch api → claude (simple task)+# TAB 1: wt switch (picker → api) → claude (simple task)# TAB 2: [NEW TAB] wsl abbreviation (wt switch -x claude --create) → claude-# TAB 3: [NEW TAB] wt switch --create → wt step commit → git push-# TAB 4: [NEW TAB] wt switch (picker) → wt remove → wt list --full+# TAB 3: [NEW TAB] wt switch --create → wt step commit → git push → wt remove → wt list --full# Then back to TAB 1: [NEW PANE] git diff → wt merge (on Claude's completed work)## Features demonstrated:# - wt list / wt list --full (URLs, CI status, diff stats)-# - wt switch (simple navigation + interactive picker)+# - wt switch (interactive picker)# - wsl abbreviation (wt switch --execute=claude --create)# - wt switch --create (with post-start hooks)# - wt step commit (LLM commit message, standalone)@@ -38,7 +37,7 @@ Env ANTHROPIC_API_KEY "{{ANTHROPIC_API_KEY}}"# Pre-install marketplace plugin before recordingType "claude plugin marketplace add anthropics/claude-plugins-official"Enter-Sleep 5s+Sleep 10s# Start Zellij before showingType "zellij"Enter@@ -56,28 +55,17 @@ Sleep 500msShowSleep 500ms-# ==== TAB 1: Overview and simple navigation ====-# Start with wt list to see all worktrees-Type "wt list"+# ==== TAB 1: Interactive picker and Claude agent ====+# wt switch (no args) - opens interactive picker+Type "wt switch"Enter-Sleep 3s+Sleep 1.5s-# Simple switch with Tab completion - navigate to existing worktree-# Inside Zellij, fish completion needs a moment to render after Tab.-# - "wt switch a" + pause → let fish process input-# - Tab → triggers completion menu (alpha/api/auth)-# - 500ms pause → menu renders and viewer reads it-# - Tab → cycles to api-# - 300ms → see selection-# - Enter → accepts (dismisses pager), 50ms, Enter → executes-Type "wt switch a"-Sleep 200ms-Tab-Sleep 500ms-Tab-Sleep 300ms-Enter-Sleep 50ms+# Filter to api branch+Type "api"+Sleep 1s++# Select itEnterSleep 1.5s@@ -88,8 +76,11 @@ EnterSleep 5.5s# ==== TAB 2: wsl abbreviation (creates billing, launches Claude) ====-# [NEW TAB] - Ctrl+t creates new Zellij tab (starts in demo repo via default_cwd)-Ctrl+t+# [NEW TAB] via session manager (Ctrl+Space → tab mode → new)+# Direct Ctrl+t is intercepted by Claude Code's TUI, so use session manager.+Ctrl+Space+Sleep 200ms+Type "tn"Sleep 2s# wsl abbreviation expands to: wt switch --execute=claude --create@@ -102,10 +93,12 @@ Sleep 500msEnterSleep 6s-# ==== TAB 3: Create, commit, push workflow ====-# This tab shows wt step commit as a standalone feature-# [NEW TAB]-Ctrl+t+# ==== TAB 3: Create, commit, push, remove workflow ====+# This tab shows wt step commit as a standalone feature, then cleanup+# [NEW TAB] via session manager+Ctrl+Space+Sleep 200ms+Type "tn"Sleep 2s# wt switch --create - shows post-start hooks running@@ -128,30 +121,12 @@ Type "git push -u origin feature"EnterSleep 2s-# ==== TAB 4: Interactive picker, list, and cleanup ====-# [NEW TAB]-Ctrl+t-Sleep 2s--# wt switch (no args) - opens interactive picker-Type "wt switch"-Enter-Sleep 1.5s--# Filter to auth branch-Type "au"-Sleep 1s--# Select it-Enter-Sleep 1.5s--# wt remove - delete current worktree (we're in auth)+# wt remove - done with feature, clean upType "wt remove"EnterSleep 3s-# wt list --full - shows what changed+# wt list --full - show remaining worktreesType "wt list --full"EnterSleep 3.5s@@ -164,7 +139,11 @@ Type "t1"Sleep 2s# Open new pane for git diff and merge (like original zellij demo)-Ctrl+n+# Use session manager (Ctrl+Space → pane mode → new) since Ctrl+n is+# intercepted by Claude Code's TUI running in the active pane.+Ctrl+Space+Sleep 200ms+Type "on"Sleep 1.2s# Show what Claude changed@@ -187,19 +166,13 @@ Sleep 200msType "t2"Sleep 1.5s-# TAB 3: feature branch (already pushed)+# TAB 3: show final state with wt list --fullCtrl+SpaceSleep 200msType "t3"-Sleep 1.5s--# TAB 4: show final state with wt list --full-Ctrl+Space-Sleep 200ms-Type "t4"Sleep 1s-# Show comprehensive list of all worktrees+# Show comprehensive list of all worktrees (post-merge state)Type "wt list --full"EnterSleep 3s