diff options
| author | Michelle Tilley <michelle@michelletilley.net> | 2026-03-17 16:39:37 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-17 16:39:37 -0700 |
| commit | 2ef3d38ab316e67ae57f24c281dfe8614f8670d6 (patch) | |
| tree | ac04d9c75e291ed6558ce21aa827d5734873510c /crates/atuin-ai/replay-states.sh | |
| parent | feat: Report distro name with OS for distro-specific commands (#3289) (diff) | |
| download | atuin-2ef3d38ab316e67ae57f24c281dfe8614f8670d6.zip | |
chore: Replace atuin-ai rendering with component-oriented system (#3288)
Diffstat (limited to 'crates/atuin-ai/replay-states.sh')
| -rwxr-xr-x | crates/atuin-ai/replay-states.sh | 6 |
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]" |
