#!/usr/bin/env bash
# Run from either checkout after starting its fresh dev server with T3CODE_DEV_SEED=0.
# The app automatically creates the empty project/thread used in the recording.
# No messages are sent and no paid provider is invoked.
# Optional matching synthetic project (not opened during the recording):
workspace="$1"
mkdir -p "$workspace"
git -C "$workspace" init -q --initial-branch=main
node apps/server/src/bin.ts project add "$workspace" --title 'Keyboard demo' --base-dir .t3
