Skip to content

fix: convert demo.cast timestamps from relative to absolute#72

Merged
manthan787 merged 1 commit intomainfrom
fix/demo-cast-timestamps
Feb 13, 2026
Merged

fix: convert demo.cast timestamps from relative to absolute#72
manthan787 merged 1 commit intomainfrom
fix/demo-cast-timestamps

Conversation

@manthan787
Copy link
Collaborator

Summary

  • Fix asciicast v3→v2 timestamp conversion: v3 uses relative deltas between events, v2 expects absolute times from start
  • This was causing the asciinema player on the website to restart constantly and the GIF to only show the final frame
  • Regenerated demo.gif with agg --theme dracula --font-size 14 --idle-time-limit 3 --last-frame-duration 5 — now renders the full 20s demo (45 frames vs 3 before)

Test plan

  • Open docs/index.html locally — asciinema player plays the full demo without restarting
  • GIF in README shows the complete demo flow (command → investigation → root cause)

🤖 Generated with Claude Code

The v3-to-v2 conversion only changed the header but didn't accumulate
event timestamps. Asciicast v3 uses relative deltas while v2 expects
absolute times from start — causing the player to restart constantly
and the GIF to render only the final frame.

Regenerated GIF with agg using the corrected cast file.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@manthan787 manthan787 merged commit b454070 into main Feb 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments