clone

a lazygit-style terminal viewer for openspec repos: watch changes, tasks and spec deltas land as agents work

main
lazyopenspec / demo / demo.tape
demo.tape 1.7K
1# README demo: three simulated agents (scripts/swarm-sim.sh) work through2# a copy of testdata/fixture while lazyopenspec follows them. Run from the3# repo root with `vhs demo/demo.tape`; demo/README.md has the shrink step.4# The raw recording goes to /tmp, the still to docs/media/demo.png.5Output "/tmp/lazyopenspec-demo-raw.gif"67# 150x40 cells in Menlo 14 with 012's padding and pace.8Set Shell "bash"9Set FontFamily "Menlo"10Set FontSize 1411Set Width 142012Set Height 78013Set Padding 2014Set LineHeight 1.1515Set TypingSpeed 55ms16Set CursorBlink false17Set Theme "Catppuccin Mocha"1819# Build to a temp dir, start the swarm with its output discarded, and kill20# it (and its agents) when this shell exits, even if the recording fails.21# VHS's terminal does truecolor but doesn't say so; without COLORTERM the22# theme's hex colors are rounded to the 256-color palette.23Hide24Type `export COLORTERM=truecolor; bin=$(mktemp -d) && go build -o "$bin/lazyopenspec" . && export PATH="$bin:$PATH"` Enter25Wait@120s26Type `scripts/swarm-sim.sh /tmp/lazyopenspec-demo >/dev/null 2>&1 & sim=$!; trap 'kill $sim 2>/dev/null; rm -rf "$bin" /tmp/lazyopenspec-demo' EXIT HUP TERM` Enter27Sleep 2s28Type "clear" Enter29Sleep 300ms30Show3132Type "lazyopenspec /tmp/lazyopenspec-demo --follow"33Sleep 500ms34Enter35Wait+Screen@10s /Activity/3637# Follow mode jumps to whatever the agents touch.38Sleep 7s3940# The git diff of the followed file, then back to the rendered view.41Type "d"42Sleep 4s43Type "d"44Sleep 1.5s4546# Follow off to read a spec and its pending delta, then back on.47Type "f"48Sleep 800ms49Type "2"50Sleep 1.5s51Type "]"52Sleep 3s53Type "f"54Sleep 3s55Screenshot "docs/media/demo.png"56Sleep 4s5758Type "q"59Sleep 300ms60Hide61Type `kill $sim; wait; rm -rf "$bin" /tmp/lazyopenspec-demo; trap - EXIT HUP TERM` Enter62Sleep 500ms