Skip to content

v0.12.1

Latest

Choose a tag to compare

@github-actions github-actions released this 08 Oct 18:45
6415765

VHS v0.12.1 includes the current Charmbracelet VHS v0.12.1 source and the AgentStation SVG recording repairs.

Changes:

  • Recording uses visible elapsed time across SVG, MP4, GIF, and WebM. Hidden spans do not extend playback.
  • SVG dimensions fit the captured terminal grid and preserve margins, rounded corners, and window bars.
  • A named installed font can embed automatically through optional Fontconfig. VHS loads the selected face before capture.
  • Optional FontTools subsets terminal, cursor, and title glyphs. Failed subsetting falls back to the full selected face.
  • Separate title fonts and collection face indices remain distinct. Explicit font files retain exact bytes and flag priority, including video-only capture.
  • Font names use safe JavaScript, CSS, and XML serialization.
  • Set ProgressBar "#ff0000" adds an optional SVG playback bar. It supports validated RGB and RGBA colors and follows playback speed and loop offset.
  • SVG output preserves theme cursor colors and uses captured line spacing once.

Fontconfig and FontTools are optional. Automatic embedding requires an installed named family and Fontconfig. Install FontTools with WOFF2 support to enable automatic subsetting. Missing discovery keeps capture available with a diagnostic. Explicit --svg-font-file and VHS_SVG_FONT_FILE remain deterministic overrides.

CSS playback requires an animation-capable browser. Static SVG renderers display a full-width progress bar. Native pixel checks verify this behavior in librsvg 2.62.3. Inkscape rendering remains unverified.

Thank you, @xav-ie, for the timing, grid, font, and progress proposals. These are #6, #7, #8, and #9. The repairs preserve the published grid, font, and progress commits. The benefit audit also restored styling from the original SVG proposal in #1.

Validation: 336 native race cases, 106 maintained tape syntax checks, and hosted builds and lint pass. Native rendering evidence covers macOS and Chrome. Linux and Windows native rendering remains unverified in that suite.

Install:

brew trust --cask agentstation/tap/vhs
brew install --cask agentstation/tap/vhs

Existing Homebrew users can update with:

brew update
brew upgrade --cask agentstation/tap/vhs

Or install with Go:

go install github.com/agentstation/vhs@v0.12.1

Docker:

docker run --rm -v "$PWD:/vhs" ghcr.io/agentstation/vhs:v0.12.1 demo.tape

Release package checks also verify macOS arm64 capture and Linux arm64 Docker capture. Docker includes Fontconfig and uses the full selected font when FontTools is absent.

Platform binaries, shell completions, the manual, checksums, and SBOMs are available in the release assets.

⌂ 换网址