aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-ai/replay-states.sh
diff options
context:
space:
mode:
authorMichelle Tilley <michelle@michelletilley.net>2026-03-17 16:39:37 -0700
committerGitHub <noreply@github.com>2026-03-17 16:39:37 -0700
commit2ef3d38ab316e67ae57f24c281dfe8614f8670d6 (patch)
treeac04d9c75e291ed6558ce21aa827d5734873510c /crates/atuin-ai/replay-states.sh
parentfeat: Report distro name with OS for distro-specific commands (#3289) (diff)
downloadatuin-2ef3d38ab316e67ae57f24c281dfe8614f8670d6.zip
chore: Replace atuin-ai rendering with component-oriented system (#3288)
Diffstat (limited to 'crates/atuin-ai/replay-states.sh')
-rwxr-xr-xcrates/atuin-ai/replay-states.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/atuin-ai/replay-states.sh b/crates/atuin-ai/replay-states.sh
index 4f586709..791ad47e 100755
--- a/crates/atuin-ai/replay-states.sh
+++ b/crates/atuin-ai/replay-states.sh
@@ -25,7 +25,7 @@ if [[ ! -f "$STATE_FILE" ]]; then
fi
# Build once
-cargo build -p atuin-ai --quiet
+cargo build -p atuin --quiet
# Count entries
TOTAL=$(wc -l < "$STATE_FILE" | tr -d ' ')
@@ -45,7 +45,7 @@ if [[ -n "$ENTRY_FILTER" ]]; then
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo "[$ENTRY/$TOTAL] $LABEL"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
- echo "$STATE" | cargo run -p atuin-ai --quiet -- debug-render -f plain
+ echo "$STATE" | cargo run -p atuin --quiet -- ai debug-render -f ansi
else
# Interactive replay
echo "Replaying $TOTAL frames from $STATE_FILE"
@@ -63,7 +63,7 @@ else
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo "[$CURRENT/$TOTAL] $LABEL"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
- echo "$STATE" | cargo run -p atuin-ai --quiet -- debug-render -f plain
+ echo "$STATE" | cargo run -p atuin --quiet -- ai debug-render -f ansi
echo ""
echo "[Enter: next] [p: prev] [number: jump] [s: show state JSON] [q: quit]"