feat(cli): add /thinkback-play to replay thinking blocks in sequence#182
Merged
emal-avala merged 1 commit intomainfrom Apr 23, 2026
Merged
feat(cli): add /thinkback-play to replay thinking blocks in sequence#182emal-avala merged 1 commit intomainfrom
emal-avala merged 1 commit intomainfrom
Conversation
Walks every turn's thinking blocks in chronological order with a content-length-proportional pause between (15ms/char, 300ms-4s bounded) so the reader can follow at reading speed. Complements /thinkback (jump to one turn). Ctrl-C interrupts — the repl's existing signal handler takes care of that.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
/thinkback-play— walks every turn's extended-thinking blocks in chronological order with a short pause between so the reader can follow at reading speed.Pause heuristic: 15ms per character of thinking text, clamped to 300ms–4s per block. Tiny turns don't feel instant; long turns don't wait forever.
Complements
/thinkback(jump to a specific turn by index) — replay is for reviewing the model's reasoning arc end-to-end.Ctrl-C interrupts (the repl's existing signal handler handles cancellation; this function just sleeps between blocks).
Test plan
cargo fmt --allcleancargo checkpassescargo clippy --no-depsclean/thinkback-playwalks through each turn's thinking with a visible pause