Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Provide UI entry point for adding to the terminal auto-approve allow list #253268

Open
Assignees
Tyriar
Labels
chat-terminalThe run in terminal tool in chatfeature-requestRequest for new features or functionality
Milestone
@Tyriar

Description

@Tyriar

Forking off from#252496
Blocked by#252650

We should have a dropdown on the Continue button here:

Image

What this contains needs some thinking.

Some exploration from#252496 (comment)

I'm also thinking how this is similar to workspace trust, where you may want to trust that particular folder, or it's parent:

Image

I wonder if we would help user configure quickly. Say you runnpm run build, the "Continue" button dropdown could present options to easily configure it for the future:

  • Auto-approve commands starting withnpm
  • Auto-approve commands starting withnpm run
  • Auto-approve commands matchingnpm run build

Maybe that's overkill, we could just show the first and the last one instead.


Similar feature for extension/mcp tools:

Image

constbuttons:IChatConfirmationButton[]=[
{
label:continueLabel,
data:ConfirmationOutcome.Allow,
tooltip:continueTooltip,
moreActions:!allowAutoConfirm ?undefined :[
{label:localize('allowSession','Allow in this Session'),data:ConfirmationOutcome.AllowSession,tooltip:localize('allowSesssionTooltip','Allow this tool to run in this session without confirmation.')},
{label:localize('allowWorkspace','Allow in this Workspace'),data:ConfirmationOutcome.AllowWorkspace,tooltip:localize('allowWorkspaceTooltip','Allow this tool to run in this workspace without confirmation.')},
{label:localize('allowGlobally','Always Allow'),data:ConfirmationOutcome.AllowGlobally,tooltip:localize('allowGloballTooltip','Always allow this tool to run without confirmation.')},
],
},
{
label:localize('cancel',"Cancel"),
data:ConfirmationOutcome.Disallow,
isSecondary:true,
tooltip:cancelTooltip
}];

Metadata

Metadata

Assignees

Labels

chat-terminalThe run in terminal tool in chatfeature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp