Skip to content

Persist question and plan content after user interaction#405

Merged
Mng-dev-ai merged 1 commit intomainfrom
fix/persist-permission-tool-content
Mar 15, 2026
Merged

Persist question and plan content after user interaction#405
Mng-dev-ai merged 1 commit intomainfrom
fix/persist-permission-tool-content

Conversation

@Mng-dev-ai
Copy link
Owner

Summary

  • ExitPlanMode: Collapsed ToolCard now shows the plan content (rendered as markdown) and requested permissions in an expandable section after approval/rejection
  • AskUserQuestion: Questions are now visible in the expandable ToolCard even when cancelled/skipped (failed status), not just on success

Test plan

  • Trigger AskUserQuestion, answer it, verify questions + answers appear in expandable ToolCard
  • Skip/cancel AskUserQuestion, verify questions still appear in collapsed state
  • Trigger ExitPlanMode, approve the plan, verify plan content and permissions appear in expandable ToolCard
  • Reject a plan, verify plan content still appears

Previously, AskUserQuestion and ExitPlanMode tool UIs would collapse
into minimal ToolCards after interaction, hiding the original questions
and plan content. Now both show expandable content so users can review
what they answered or which plan they approved/rejected.
@Mng-dev-ai Mng-dev-ai merged commit 2fcfcb1 into main Mar 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant