Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Remove wt-zellij demo and consolidate to wt-zellij-omnibus

Maximilian Roos0188408b5018
diff --git a/docs/demos/CLAUDE.md b/docs/demos/CLAUDE.md
index 4d2b1210b..b669f12b1 100644
--- a/docs/demos/CLAUDE.md
+++ b/docs/demos/CLAUDE.md
@@ -33,7 +33,7 @@ Regenerate a single demo:
| Target | Demos |
|--------|-------|
| docs | wt-core, wt-merge, wt-select, wt-zellij-omnibus |
-| twitter | wt-switch, wt-statusline, wt-list, wt-list-remove, wt-hooks, wt-devserver, wt-commit, wt-merge, wt-select-short, wt-core, wt-zellij, wt-zellij-omnibus |
+| twitter | wt-switch, wt-statusline, wt-list, wt-list-remove, wt-hooks, wt-devserver, wt-commit, wt-merge, wt-select-short, wt-core, wt-zellij-omnibus |
## Publishing demos
diff --git a/docs/demos/build b/docs/demos/build
index e8849d086..9a629a54c 100755
--- a/docs/demos/build
+++ b/docs/demos/build
@@ -5,7 +5,7 @@ Usage:
./build docs # Build doc site demos (light + dark, 1600x900)
./build twitter # Build Twitter demos (light only, 1200x700)
./build docs --only wt-merge # Build specific demo for docs
- ./build twitter --only wt-zellij --shell # Debug shell for Twitter demo
+ ./build twitter --only wt-zellij-omnibus --shell # Debug shell for Twitter demo
"""
import argparse
@@ -172,41 +172,6 @@ fi
npm_mock.chmod(0o755)
-def prepare_zellij(env: DemoEnv):
- """Setup for wt-zellij demo - multiple Claude Code instances in Zellij tabs."""
- prepare_demo_repo(env, REPO_ROOT, hooks_config='')
-
- # Zellij + Fish configs
- setup_zellij_config(env)
- setup_fish_config(env, REPO_ROOT, wsl_create=False) # No --create, worktrees pre-created
-
- # Claude Code config with pre-approved tools
- worktree_branches = ["api", "billing", "auth", "metrics"]
- worktree_paths = [str(env.repo)] + [
- str(env.work_base / f"acme.{branch}") for branch in worktree_branches
- ]
- allowed_tools = ["Bash", "Read", "Write", "Edit", "Glob", "Grep", "Task", "TodoWrite"]
- setup_claude_code_config(env, worktree_paths, allowed_tools)
-
- # Pre-create ALL worktrees before recording
- demo_env = {**os.environ, "HOME": str(env.home)}
- for branch in worktree_branches:
- subprocess.run(
- ["wt", "switch", "--create", branch],
- cwd=str(env.repo),
- env=demo_env,
- capture_output=True
- )
-
- # Add uncommitted changes to api worktree for git diff demo
- api_lib = env.work_base / "acme.api" / "src" / "lib.rs"
- if api_lib.exists():
- content = api_lib.read_text()
- content = content.replace('pub fn add(', '// TODO: Add input validation\npub fn add(')
- content += '\npub fn validate_input(n: i32) -> bool {\n n >= 0 && n < 1000\n}\n'
- api_lib.write_text(content)
-
-
def prepare_zellij_omnibus(env: DemoEnv):
"""Setup for wt-zellij-omnibus demo - comprehensive showcase."""
hooks_config = '''[post-start]
@@ -308,7 +273,6 @@ TWITTER_DEMOS = [
("wt-merge.tape", "wt-merge", prepare_merge_only, "vhs", None),
("wt-select-short.tape", "wt-select-short", prepare_basic, "vhs-keystrokes", None),
("wt-core.tape", "wt-core", prepare_with_hooks, "vhs", None),
- ("wt-zellij.tape", "wt-zellij", prepare_zellij, "vhs", SIZE_ZELLIJ),
("wt-zellij-omnibus.tape", "wt-zellij-omnibus", prepare_zellij_omnibus, "vhs", SIZE_ZELLIJ),
]
@@ -361,7 +325,7 @@ Examples:
./build twitter Build all Twitter demos (light only)
./build docs --only wt-merge Build specific demo for docs
./build docs --text Build text output for non-interactive demos
- ./build twitter --only wt-zellij --shell Debug shell for demo
+ ./build twitter --only wt-zellij-omnibus --shell Debug shell for demo
"""
)
parser.add_argument("target", choices=["docs", "twitter"],
diff --git a/docs/demos/tapes/wt-zellij.tape b/docs/demos/tapes/wt-zellij.tape
deleted file mode 100644
index cbe785a0b..000000000
--- a/docs/demos/tapes/wt-zellij.tape
+++ /dev/null
@@ -1,145 +0,0 @@
-Output "{{OUTPUT_GIF}}"
-
-Require wt
-Require git
-Require zellij
-
-Set Shell "fish"
-Set FontSize {{FONTSIZE}}
-Set FontFamily "Geist Mono, Berkeley Mono, Fira Code, JetBrains Mono, Menlo, Apple Color Emoji"
-Set Width {{WIDTH}}
-Set Height {{HEIGHT}}
-Set Theme {{THEME}}
-Set Padding 18
-Set LineHeight 1.12
-Set TypingSpeed 28ms
-Set CursorBlink false
-Set Framerate 30
-
-Env DEMO_REPO "{{DEMO_REPO}}"
-Env RUSTUP_HOME "{{REAL_HOME}}/.rustup"
-Env CARGO_HOME "{{REAL_HOME}}/.cargo"
-Env HOME "{{DEMO_HOME}}"
-Env XDG_CONFIG_HOME "{{DEMO_HOME}}/.config"
-Env STARSHIP_CONFIG "{{STARSHIP_CONFIG}}"
-Env GIT_TERMINAL_PROMPT "0"
-Env ANTHROPIC_API_KEY "{{ANTHROPIC_API_KEY}}"
-
-Hide
-Type "set -g fish_autosuggestion_enabled 0"
-Enter
-Type "set -gx LANG en_US.UTF-8; set -gx LC_ALL en_US.UTF-8"
-Enter
-Type "set -gx PATH {{TARGET_DEBUG}} $HOME/bin $PATH"
-Enter
-Type "starship init fish | source"
-Enter
-Type "wt config shell init fish | source"
-Enter
-# Pre-install marketplace plugin before recording
-Type "claude plugin marketplace add anthropics/claude-plugins-official"
-Enter
-Sleep 5s
-Type "cd $DEMO_REPO"
-Enter
-# Start Zellij before showing
-Type "zellij"
-Enter
-Sleep 4s
-# Dismiss plugin permission dialog (zellij-tab-name asks for permissions on first run)
-Type "y"
-Sleep 1s
-Show
-Sleep 500ms
-
-# Tab 1: API worktree (pre-created with uncommitted changes)
-# Switch to existing worktree - no --create needed
-Type "wt switch api --execute=claude -- 'Add input validation to API endpoints'"
-Sleep 500ms
-Enter
-Sleep 6s
-
-# New tab
-Ctrl+t
-Sleep 1s
-
-# Tab 2: Billing bugfix
-Type "ws"
-Type "l"
-Sleep 200ms
-Type " billing -- 'Fix UTC timezone handling in billing reports'"
-Sleep 500ms
-Enter
-Sleep 6s
-
-# New tab
-Ctrl+t
-Sleep 1s
-
-# Tab 3: Auth feature
-Type "ws"
-Type "l"
-Sleep 200ms
-Type " auth -- 'Implement OAuth2 authentication flow'"
-Sleep 500ms
-Enter
-Sleep 6s
-
-# New tab
-Ctrl+t
-Sleep 1s
-
-# Tab 4: Metrics feature
-Type "ws"
-Type "l"
-Sleep 200ms
-Type " metrics -- 'Add request latency metrics and dashboards'"
-Sleep 500ms
-Enter
-Sleep 6s
-
-# Let agents work for a moment
-Sleep 3s
-
-# Cycle through tabs to show all agents working
-# Ctrl+Space enters tmux mode, 't' enters tab mode, number selects tab
-Ctrl+Space
-Sleep 200ms
-Type "t1"
-Sleep 1.2s
-
-# On api tab, open a pane and show git diff (pre-seeded changes)
-Ctrl+n
-Sleep 600ms
-Type "git diff --color=always"
-Enter
-Sleep 2.5s
-
-Ctrl+Space
-Sleep 200ms
-Type "t2"
-Sleep 1.2s
-
-Ctrl+Space
-Sleep 200ms
-Type "t3"
-Sleep 1.2s
-
-Ctrl+Space
-Sleep 200ms
-Type "t4"
-Sleep 1.2s
-
-# Back to api tab to show git diff pane one more time
-Ctrl+Space
-Sleep 200ms
-Type "t1"
-
-# Final hold on the git diff view
-Sleep 3s
-
-# Quit Zellij to avoid accumulating running sessions
-Ctrl+Space
-Sleep 200ms
-Type "q"
-Sleep 500ms