Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
458 B · 14 lines
Shell
123456789101112131415#!/usr/bin/env bash# Capture the WaveWizard window so Claude (or any reviewer) can see# the current UI state. Usage: bin/screenshot.sh [outpath]set -euo pipefailHERE="$(cd "$(dirname "$0")" && pwd)"OUT="${1:-/tmp/wave-wizard-screenshot.png}"WID=$(swift "$HERE/winid.swift" WaveWizard 2>/dev/null || true)if [[ -z "$WID" ]]; then echo "✗ no WaveWizard window found" >&2 exit 1fiscreencapture -l"$WID" -o -x "$OUT"echo "→ $OUT"ls -la "$OUT"