Skip to content

Conversation

@zanesq
Copy link
Collaborator

@zanesq zanesq commented Feb 4, 2026

Summary

The frontend was checking for the wrong message type when detecting tool confirmation requests.

BEFORE (incorrect):
content.type === 'toolConfirmationRequest'

AFTER (correct):
content.type === 'actionRequired' && content.data.actionType === 'toolConfirmation'

The backend sends tool confirmations as actionRequired messages with actionType: 'toolConfirmation',
not as a separate toolConfirmationRequest type. This mismatch meant the frontend never recognized
confirmation requests, so the chat state never transitioned to WaitingForUserInput and the dialog
never appeared.

Also noticed we can't set tool permissions without a session so added some fallback text (will follow up with setting without a session in defaults like extensions)

fixes #6925

@zanesq zanesq added this pull request to the merge queue Feb 4, 2026
Merged via the queue into main with commit d8d9bb7 Feb 4, 2026
17 checks passed
@zanesq zanesq deleted the zane/fix-tool-confirmation branch February 4, 2026 15:42
stebbins pushed a commit to stebbins/goose that referenced this pull request Feb 4, 2026
Signed-off-by: Harrison <hcstebbins@gmail.com>
kuccello pushed a commit to kuccello/goose that referenced this pull request Feb 7, 2026
Tyler-Hardin pushed a commit to Tyler-Hardin/goose that referenced this pull request Feb 11, 2026
Tyler-Hardin pushed a commit to Tyler-Hardin/goose that referenced this pull request Feb 11, 2026
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.

goose Permissions: halts processing without displaying Confirmation dialog

2 participants