Repository navigation
agentHost: ask for consent when Copilot extensions request permissions - #346395
Merged
Merged
Conversation
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.
agentHost: ask for consent when Copilot extensions request permissions
The Copilot runtime asks for consent when an extension declares privileged capabilities, such as
hooks. This request has no tool call, so the agent host rejected it without asking the user, and
extensions such as grove-agent-monitor did not load.
extension-permission-accessrequests before the missing-toolCallIdcheck. The checkstays for all other permission kinds.
Allow Once, Always Allow, Not Now and Never. Only disposal of the session ends the wait. Allow
All approves the request, and Autopilot declines it.
extensionPermissionApprovals. Always Allow and Never are kept there foreach extension name and set of capabilities, so a request for more capabilities asks again. The
runtime does not keep approvals when a session resumes.
_confirmEphemerally. The helper keepsthe Always Allow and Never decisions, and keeps the turn open until the user answers.
before the next SDK turn starts.
Fixes https://github.com/microsoft/vscode-internalbacklog/issues/10615
(Commit message generated by Copilot)