chore(demo): source showcase version from package __version__#22
Merged
Conversation
The showcase hardcoded version="0.3.0" while the package was already at 0.3.2, so the welcome banner showed a stale version in recordings. Sourcing it from thinking_prompt.__version__ keeps it correct across future bumps.
Merged
shoom1
added a commit
that referenced
this pull request
Jun 13, 2026
Patch release rolling up #17-#22. Highlights (see CHANGELOG for full list): - Fix: first Ctrl+C at an idle prompt exits instead of zombifying the session - Fix: DialogManager.show() guards against concurrent dialogs - Fix: settings dialog (can_cancel=False) no longer leaks "close" on Escape - Fix: expand_key reflected in the truncation hint; renderer-safe clear(); ANSI-aware line counting; terminal-width header; per-box finish truncation - Refactor: rich_utils module; no global Rich Markdown monkey-patch
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.
The showcase demo hardcoded
version="0.3.0"while the package was already at 0.3.2, so the welcome banner displayed a stale version in screenshots/recordings. Now sourced fromthinking_prompt.__version__so it tracks the package automatically.No functional change — verified the demo still parses and all imported symbols resolve against current
develop. None of PRs #17–#21 required demo changes (all were bug fixes / refactors with no new user-facing API).