You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Only one item per option group should be marked as default.
622
649
*/
623
650
readonlydefault?: boolean;
651
+
652
+
/**
653
+
* Optional slash-command alias (without leading `/`) that selects this option
654
+
* when the user submits `/<slashCommand>`. Does not send a chat request; only
655
+
* updates the selection so the next prompt runs with this option active.
656
+
*
657
+
* Scoped to chat sessions owned by the contributing provider. Names must be
658
+
* unique across the provider's groups; on conflict, the first declared wins.
659
+
*/
660
+
readonlyslashCommand?: string;
624
661
}
625
662
626
663
/**
@@ -678,6 +715,22 @@ declare module 'vscode' {
678
715
* `{ inputState: ChatSessionInputState; sessionResource: Uri | undefined }` that they can use to determine which session and options they are being invoked for.
679
716
*/
680
717
readonlycommands?: Command[];
718
+
719
+
/**
720
+
* Optional kind that hints how this option group should be presented in the UI.
721
+
*
722
+
* - `'permissions'`: The group represents tool-approval permissions for the session.
723
+
* The editor will not render this group as its own picker. Instead, its items
724
+
* replace the built-in items in the chat permission picker for the session,
725
+
* and the user's selection is reported back through the standard
0 commit comments