Add set_plan MCP tool and tab-list plan toggle button#103
Open
Add set_plan MCP tool and tab-list plan toggle button#103
Conversation
Foundation for the markdown plan-review overlay (PR-1 of the plan-review chain). Claude can register a plan file path via mandelbot__set_plan; mandelbot stores it on the tab and shows a small "P" button next to that tab's entry. Spawned child tabs inherit the parent's plan path. The toggle button's handler is a stub — the actual overlay lands in PR-2. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.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.
Foundation PR for the markdown plan-review overlay. Adds a mandelbot__set_plan MCP tool that lets Claude register the absolute path of its current plan file; mandelbot stores plan_path on the tab and renders a small P button next to that tab in the tab list. Spawned child tabs inherit the parent's plan_path so delegated subtasks see the same plan automatically. The TogglePlanView message exists but its handler is a no-op stub — the actual overlay rendering and toggle behavior lands in PR-2.
🤖 Generated with Claude Code