fix: display plan content in plan_exit dialog & bind variant list keybind#646
Open
MrRealORG wants to merge 1 commit into
Open
Conversation
…eybind - XiaomiMiMo#512: The plan_exit tool now reads the plan file and passes its content via question params. The TUI question panel renders the plan content in a bordered box below the question text, so users can review the plan before choosing to switch to the build agent. - XiaomiMiMo#521: The variant_list keybind was unbound ("none"), making it impossible to open the variant picker without typing /variants. Changed to Ctrl+Shift+T. Also added "variant" as a slash command alias for "/variants" so users don't have to guess the plural.
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
Fixes #512 and improves #521.
1. Display plan content when plan_exit is called (#512)
Problem: After the plan agent finishes writing a plan and calls `plan_exit`, the question dialog only showed the plan file path (e.g., `.mimocode/plans/1749-xxx.md`) — the actual plan content was never displayed. Users had to manually find and open the plan file to see what was planned. The write tool call that created the plan file was collapsed in the message history.
Fix:
2. Bind variant list keybind & add slash command alias (#521)
Problem: The `/variants` command (to pick model thinking intensity) had its keybind set to `"none"` (unbound). Users could only access it by typing `/variants` — there was no keyboard shortcut. Additionally, `/variant` (singular) was not recognized as an alias.
Fix:
. This complements the existing \ctrl+t` (cycle) shortcut.