Skip to content

Add terminal frame replay checkpoints - #1

Merged
NextdoorPsycho merged 1 commit into
masterfrom
codex/terminal-frame-checkpoints
Aug 31, 2026
Merged

Add terminal frame replay checkpoints#1
NextdoorPsycho merged 1 commit into
masterfrom
codex/terminal-frame-checkpoints

Conversation

@cyberpwnn

Copy link
Copy Markdown
Contributor

Summary

  • track the characters emitted by incremental monitor patches
  • emit a complete synchronized frame after 1,000,000 incremental characters
  • keep idle frames silent and normal updates differential
  • add boundary coverage for the checkpoint policy

Rationale

Long-running differential TUIs can be reconstructed from bounded terminal output histories that no longer contain their initial full frame. Periodic output-driven checkpoints keep the replay stream recoverable without adding a timer or frequent full-screen redraws.

Validation

  • Analyzing ServerMultiplexor...
    No issues found!
  • No pubspec.yaml file found - run this command in your project folder.
  • No pubspec.yaml file found - run this command in your project folder. (1,147 tests)

Emit a complete monitor frame after one million characters of incremental terminal output so bounded terminal replay buffers retain a self-contained checkpoint. Idle frames remain silent and normal updates stay differential.\n\nValidated with dart analyze and the full Dart test suite.
@cyberpwnn cyberpwnn added the enhancement New feature or request label Aug 31, 2026
@NextdoorPsycho
NextdoorPsycho merged commit e7baf79 into master Aug 31, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants