Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/@types/vscode.proposed.chatSessionsProvider.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -594,8 +594,15 @@ declare module 'vscode' {
/**
* The initial option selections for the session, provided with the first request.
* Contains the options the user selected (or defaults) before the session was created.
*
* @deprecated Use `inputState` instead
*/
readonly initialSessionOptions?: ReadonlyArray<{ optionId: string; value: string | ChatSessionProviderOptionItem }>;

/**
* The current input state of the chat session.
*/
readonly inputState: ChatSessionInputState;
}

export interface ChatSessionCapabilities {
Expand Down Expand Up @@ -692,6 +699,8 @@ declare module 'vscode' {
*
* These commands will be displayed at the bottom of the group.
*
* For extensions using the legacy `commands` API, these commands are passed the sessionResource as the first argument.
*
* For extensions that use the new `provideChatSessionInputState` API, these commands are passed a context object
* `{ inputState: ChatSessionInputState; sessionResource: Uri | undefined }` that they can use to determine which session and options they are being invoked for.
*/
Expand Down
Loading