Repository navigation
feat(claude-tty): show a question option's preview as a preview - #162
Merged
Merged
Conversation
sleeyax
force-pushed
the
feat/claude-tty-question-previews
branch
from
October 22, 2026 22:33
79d671d to
1930bac
Compare
sleeyax
changed the base branch from
refactor/claude-tty-drop-cancelled-tool-call-repair
to
main
October 22, 2026 22:33
Paseo 0.12.0's question card draws an option's `preview` under it (getpaseo/paseo#6171), so the preview goes out as its own field instead of being appended to the option's description. The preview keeps its whitespace, because the card draws it as code and a mockup needs its indentation. An app older than 0.12.0 ignores the field, so there the preview no longer shows at all. Refs #36 Refs #155 Co-Authored-By: Claude Opus 5.5 <[email protected]>
sleeyax
force-pushed
the
feat/claude-tty-question-previews
branch
from
October 22, 2026 22:34
1930bac to
957f289
Compare
This was referenced Oct 22, 2026
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
Part 4 of #155; resolves the preview item of #36.
Builds on #160, which made the Paseo 0.12.0 bump.
Paseo 0.12.0's question card draws an option's
previewunder it (getpaseo/paseo#6171), so the preview is no longer appended to the description:The card draws a preview as code with
pre-wrap, so the preview isn't trimmed: a mockup needs its indentation.Evidence
{ label: "Node", description: "The established one\n\nnode --version" }After:
{ label: "Node", description: "The established one", preview: "node --version" }, and an indented box-drawing preview passes through byte for byte.claude-tty-devcopy on a 0.12.0 daemon:previewseparately fromdescription.paseo permit allow --input '{"answers":{"Layout":"Split"}}'reached Claude ("You chose Split").Merge Danger
Door: two-way
Blast Radius: question cards
requirements.paseoconstrains only the daemon.An app older than 0.12.0 ignores
preview, so on such an app a preview that used to show in the description now doesn't show at all.