#!/usr/bin/env bash
set -euo pipefail
# Run from either checkout after starting its isolated server with T3CODE_DEV_SEED=0.
project=$1
node apps/server/src/bin.ts project add "$project" --title 'Terminal proof' --base-dir .t3
node apps/server/src/bin.ts thread start "$project" 'Terminal input verification' --title 'Terminal proof' --provider devReplay --model showcase --base-dir .t3
# Pair the native app, open Terminal proof > Terminal > Open new terminal.
# With Gboard visible and the terminal ready, type PS1='$ '; clear and press Enter.
# Run terminal-proof.sh with a unique output label for each run.
