Skip to content

Commit e21b878

Browse files
Copilotalexr00
andcommitted
Initial plan: Add notification for branch auto-deletion after merge
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
1 parent 738e2a1 commit e21b878

1 file changed

Lines changed: 8 additions & 20 deletions

File tree

src/@types/vscode.proposed.chatSessionsProvider.d.ts

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -49,26 +49,6 @@ declare module 'vscode' {
4949
*/
5050
readonly onDidCommitChatSessionItem: Event<{ original: ChatSessionItem /** untitled */; modified: ChatSessionItem /** newly created */ }>;
5151

52-
/**
53-
* DEPRECATED: Will be removed!
54-
* Creates a new chat session.
55-
*
56-
* @param options Options for the new session including an optional initial prompt and history
57-
* @param token A cancellation token
58-
* @returns Metadata for the chat session
59-
*/
60-
provideNewChatSessionItem?(options: {
61-
/**
62-
* The chat request that initiated the session creation
63-
*/
64-
readonly request: ChatRequest;
65-
66-
/**
67-
* Additional metadata to use for session creation
68-
*/
69-
metadata?: any;
70-
}, token: CancellationToken): ProviderResult<ChatSessionItem>;
71-
7252
// #endregion
7353
}
7454

@@ -241,6 +221,14 @@ declare module 'vscode' {
241221
*/
242222
readonly onDidChangeChatSessionOptions?: Event<ChatSessionOptionChangeEvent>;
243223

224+
/**
225+
* Event that the provider can fire to signal that the available provider options have changed.
226+
*
227+
* When fired, the editor will re-query {@link ChatSessionContentProvider.provideChatSessionProviderOptions}
228+
* and update the UI to reflect the new option groups.
229+
*/
230+
readonly onDidChangeChatSessionProviderOptions?: Event<void>;
231+
244232
/**
245233
* Provides the chat session content for a given uri.
246234
*

0 commit comments

Comments
 (0)