Skip to content

fix: route ExitPlanMode through request_permission instead of - #31

Merged
william0wang merged 1 commit into
mainfrom
chore/fix-plan
Jul 27, 2026
Merged

fix: route ExitPlanMode through request_permission instead of#31
william0wang merged 1 commit into
mainfrom
chore/fix-plan

Conversation

@william0wang

Copy link
Copy Markdown
Owner

elicitation form

ExitPlanMode previously went through elicitation/create when the client supported it, which surfaced a generic "input request / waiting for input"
shell that reads wrong for a plan-approval flow. Plan approval is a permission decision, not structured input — route it through session/request_permission like claude-agent-acp does, so it renders as the
same Approve/Reject dialog as tool permission.

AskUserQuestion still uses elicitation/create (it is the actual input case).

Trade-off: the user can no longer attach free-text feedback when rejecting.
They can give reasons in the next normal message instead.

elicitation form

ExitPlanMode previously went through elicitation/create when the client
supported it, which surfaced a generic "input request / waiting for
input"
shell that reads wrong for a plan-approval flow. Plan approval is a
permission decision, not structured input — route it through
session/request_permission like claude-agent-acp does, so it renders as
the
same Approve/Reject dialog as tool permission.

AskUserQuestion still uses elicitation/create (it is the actual input
case).

Trade-off: the user can no longer attach free-text feedback when
rejecting.
They can give reasons in the next normal message instead.
@william0wang
william0wang merged commit 2afe5df into main Jul 27, 2026
1 check passed
@william0wang
william0wang deleted the chore/fix-plan branch July 27, 2026 12:21
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