Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Extract shared VHS tape setup into reusable Source file
Maximilian Roos0a886ba73409
diff --git a/docs/demos/tapes/shared-setup.tape b/docs/demos/tapes/shared-setup.tapenew file mode 100644index 000000000..5e0c72c01--- /dev/null+++ b/docs/demos/tapes/shared-setup.tape@@ -0,0 +1,38 @@+# Shared setup for all demo tapes+# Usage: Source this after Output, Require, and any extra Env vars+# Then add pre-show commands (like clear) and Show in your tape++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}}"++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+Type "source ~/.config/fish/completions/wt.fish"+Enter+Type "cd $DEMO_REPO"+Enterdiff --git a/docs/demos/tapes/wt-commit.tape b/docs/demos/tapes/wt-commit.tapeindex 98a3a4589..0df069012 100644--- a/docs/demos/tapes/wt-commit.tape+++ b/docs/demos/tapes/wt-commit.tape@@ -3,39 +3,10 @@ Output "{{OUTPUT_GIF}}"Require wtRequire git-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"-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-Type "cd $DEMO_REPO"-Enter+Source docs/demos/tapes/shared-setup.tape+Type "clear"EnterSleep 500msdiff --git a/docs/demos/tapes/wt-core.tape b/docs/demos/tapes/wt-core.tapeindex 36a848281..5f6cd5cbc 100644--- a/docs/demos/tapes/wt-core.tape+++ b/docs/demos/tapes/wt-core.tape@@ -3,41 +3,10 @@ Output "{{OUTPUT_GIF}}"Require wtRequire git-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"-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-Type "source ~/.config/fish/completions/wt.fish"-Enter-Type "cd $DEMO_REPO"-Enter+Source docs/demos/tapes/shared-setup.tape+Type "clear"EnterSleep 500msdiff --git a/docs/demos/tapes/wt-devserver.tape b/docs/demos/tapes/wt-devserver.tapeindex d45f0eff8..92579410d 100644--- a/docs/demos/tapes/wt-devserver.tape+++ b/docs/demos/tapes/wt-devserver.tape@@ -3,39 +3,10 @@ Output "{{OUTPUT_GIF}}"Require wtRequire git-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"-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-Type "cd $DEMO_REPO"-Enter+Source docs/demos/tapes/shared-setup.tape+Type "clear"EnterSleep 500msdiff --git a/docs/demos/tapes/wt-hooks.tape b/docs/demos/tapes/wt-hooks.tapeindex 211a1a594..1222b3944 100644--- a/docs/demos/tapes/wt-hooks.tape+++ b/docs/demos/tapes/wt-hooks.tape@@ -3,39 +3,10 @@ Output "{{OUTPUT_GIF}}"Require wtRequire git-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"-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-Type "cd $DEMO_REPO"-Enter+Source docs/demos/tapes/shared-setup.tape+Type "clear"EnterSleep 500msdiff --git a/docs/demos/tapes/wt-list-remove.tape b/docs/demos/tapes/wt-list-remove.tapeindex 7e5f1c4b1..f3cdb3ea0 100644--- a/docs/demos/tapes/wt-list-remove.tape+++ b/docs/demos/tapes/wt-list-remove.tape@@ -3,39 +3,10 @@ Output "{{OUTPUT_GIF}}"Require wtRequire git-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"-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-Type "cd $DEMO_REPO"-Enter+Source docs/demos/tapes/shared-setup.tape+Type "clear"EnterSleep 500msdiff --git a/docs/demos/tapes/wt-list.tape b/docs/demos/tapes/wt-list.tapeindex 23c96b3f6..9f2719d3f 100644--- a/docs/demos/tapes/wt-list.tape+++ b/docs/demos/tapes/wt-list.tape@@ -3,39 +3,10 @@ Output "{{OUTPUT_GIF}}"Require wtRequire git-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"-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-Type "cd $DEMO_REPO"-Enter+Source docs/demos/tapes/shared-setup.tape+Type "clear"EnterSleep 500msdiff --git a/docs/demos/tapes/wt-merge.tape b/docs/demos/tapes/wt-merge.tapeindex 40da0bcf3..af99ee63b 100644--- a/docs/demos/tapes/wt-merge.tape+++ b/docs/demos/tapes/wt-merge.tape@@ -3,41 +3,12 @@ Output "{{OUTPUT_GIF}}"Require wtRequire git-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 NEXTEST_STATUS_LEVEL "none"Env NEXTEST_FINAL_STATUS_LEVEL "flaky"Env NEXTEST_NO_FAIL_FAST "1"-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-Type "cd $DEMO_REPO"-Enter+Source docs/demos/tapes/shared-setup.tape+Type "clear"EnterSleep 500msdiff --git a/docs/demos/tapes/wt-select-short.tape b/docs/demos/tapes/wt-select-short.tapeindex c8b1e4fc1..7dfa2fce5 100644--- a/docs/demos/tapes/wt-select-short.tape+++ b/docs/demos/tapes/wt-select-short.tape@@ -3,39 +3,10 @@ Output "{{OUTPUT_GIF}}"Require wtRequire git-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"-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-Type "cd $DEMO_REPO"-Enter+Source docs/demos/tapes/shared-setup.tape+Type "clear"EnterSleep 500msdiff --git a/docs/demos/tapes/wt-select.tape b/docs/demos/tapes/wt-select.tapeindex baf3c91ee..0c53da60d 100644--- a/docs/demos/tapes/wt-select.tape+++ b/docs/demos/tapes/wt-select.tape@@ -3,38 +3,8 @@ Output "{{OUTPUT_GIF}}"Require wtRequire git-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+Source docs/demos/tapes/shared-setup.tape-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}}"--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-Type "cd $DEMO_REPO"-EnterType "clear"EnterSleep 500msdiff --git a/docs/demos/tapes/wt-statusline.tape b/docs/demos/tapes/wt-statusline.tapeindex caa60db88..8fb41eecf 100644--- a/docs/demos/tapes/wt-statusline.tape+++ b/docs/demos/tapes/wt-statusline.tape@@ -3,40 +3,11 @@ Output "{{OUTPUT_GIF}}"Require wtRequire git-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-Type "cd $DEMO_REPO"-Enter+Source docs/demos/tapes/shared-setup.tape+# Pre-install marketplace plugin before recordingType "claude plugin marketplace add anthropics/claude-plugins-official"Enterdiff --git a/docs/demos/tapes/wt-switch.tape b/docs/demos/tapes/wt-switch.tapeindex b10869fe7..be57326e4 100644--- a/docs/demos/tapes/wt-switch.tape+++ b/docs/demos/tapes/wt-switch.tape@@ -3,40 +3,11 @@ Output "{{OUTPUT_GIF}}"Require wtRequire git-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-Type "cd $DEMO_REPO"-Enter+Source docs/demos/tapes/shared-setup.tape+# Pre-install marketplace plugin before recordingType "claude plugin marketplace add anthropics/claude-plugins-official"Enterdiff --git a/docs/demos/tapes/wt-zellij-omnibus.tape b/docs/demos/tapes/wt-zellij-omnibus.tapeindex c01ad8390..ae665ee51 100644--- a/docs/demos/tapes/wt-zellij-omnibus.tape+++ b/docs/demos/tapes/wt-zellij-omnibus.tape@@ -31,44 +31,15 @@ Require wtRequire gitRequire 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+Source docs/demos/tapes/shared-setup.tape+# Pre-install marketplace plugin before recordingType "claude plugin marketplace add anthropics/claude-plugins-official"EnterSleep 5s-Type "cd $DEMO_REPO"-Enter# Start Zellij before showingType "zellij"Enter