feat(mcq): optional image/images preview in Gtk dialog - #31
Merged
Conversation
Let agents pass a local path or file:// URI so stills appear in the desktop MCQ, not only in chat. Pattern: mcq-with-image. Co-authored-by: Cursor <cursoragent@cursor.com>
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
image/imagesargs onask_multiple_choiceso agents can show local PNG/JPEG stills in the Linux Gtk MCQ (scaled preview above the question).file://URIs viamcq_images.normalize_mcq_images(dedupe, cap 4, skip missing/unsupported).docs/AGENTS.md+ skill; unit testscripts/test_mcq_images.py. Pattern:mcq-with-image.Hosts / platforms touched
Test plan
CI must stay green (
test,secrets-hygiene). Also say what you ran:uv run python scripts/test_match_transcript.pyuv run python scripts/test_doctor.pyuv run python scripts/test_acks.pyuv run python scripts/test_install.pyuv run python scripts/test_dialog_ergonomics.pyuv run python scripts/test_windows_backend.pyuv run python scripts/test_contracts.pyuv run python scripts/test_mcq_images.pycheck_setupin a real hostask_multiple_choicedialog clickimage/images)eth-rear-io.pngsmoke; Alex did not report brokenEnvironment: Ubuntu Linux, Cursor host, local DISPLAY
:0, MCP dir/data_drive/dd/ask-question-mcp-mcq-image.Behaviour contract
ask_multiple_choice,check_setup,setup_guide,record_platform_feedback)uvdocs kept (GUI thinPATH)AI assistance
Made with Cursor