@codingame/monaco-vscode-rollup-vsix-plugin
Advanced tools
Comparing version
{ | ||
"name": "@codingame/monaco-vscode-rollup-vsix-plugin", | ||
"version": "7.1.0", | ||
"version": "7.1.1", | ||
"keywords": [], | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -62,7 +62,15 @@ /*--------------------------------------------------------------------------------------------- | ||
data: any; | ||
constructor(title: string, message: string, data: any); | ||
buttons?: string[]; | ||
constructor(title: string, message: string, data: any, buttons?: string[]); | ||
} | ||
export type ExtendedChatResponsePart = ChatResponsePart | ChatResponseTextEditPart | ChatResponseDetectedParticipantPart | ChatResponseConfirmationPart; | ||
export class ChatResponseCodeCitationPart { | ||
value: Uri; | ||
license: string; | ||
snippet: string; | ||
constructor(value: Uri, license: string, snippet: string); | ||
} | ||
export type ExtendedChatResponsePart = ChatResponsePart | ChatResponseTextEditPart | ChatResponseDetectedParticipantPart | ChatResponseConfirmationPart | ChatResponseCodeCitationPart | ChatResponseReferencePart2; | ||
export class ChatResponseWarningPart { | ||
@@ -79,2 +87,40 @@ value: MarkdownString; | ||
export class ChatResponseReferencePart2 { | ||
/** | ||
* The reference target. | ||
*/ | ||
value: Uri | Location | { variableName: string; value?: Uri | Location }; | ||
/** | ||
* The icon for the reference. | ||
*/ | ||
iconPath?: Uri | ThemeIcon | { | ||
/** | ||
* The icon path for the light theme. | ||
*/ | ||
light: Uri; | ||
/** | ||
* The icon path for the dark theme. | ||
*/ | ||
dark: Uri; | ||
}; | ||
options?: { status?: { description: string; kind: ChatResponseReferencePartStatusKind } }; | ||
/** | ||
* Create a new ChatResponseReferencePart. | ||
* @param value A uri or location | ||
* @param iconPath Icon for the reference shown in UI | ||
*/ | ||
constructor(value: Uri | Location | { variableName: string; value?: Uri | Location }, iconPath?: Uri | ThemeIcon | { | ||
/** | ||
* The icon path for the light theme. | ||
*/ | ||
light: Uri; | ||
/** | ||
* The icon path for the dark theme. | ||
*/ | ||
dark: Uri; | ||
}, options?: { status?: { description: string; kind: ChatResponseReferencePartStatusKind } }); | ||
} | ||
export interface ChatResponseStream { | ||
@@ -107,3 +153,3 @@ | ||
*/ | ||
confirmation(title: string, message: string, data: any): void; | ||
confirmation(title: string, message: string, data: any, buttons?: string[]): void; | ||
@@ -121,5 +167,15 @@ /** | ||
reference2(value: Uri | Location | { variableName: string; value?: Uri | Location }, iconPath?: Uri | ThemeIcon | { light: Uri; dark: Uri }, options?: { status?: { description: string; kind: ChatResponseReferencePartStatusKind } }): void; | ||
codeCitation(value: Uri, license: string, snippet: string): void; | ||
push(part: ExtendedChatResponsePart): void; | ||
} | ||
export enum ChatResponseReferencePartStatusKind { | ||
Complete = 1, | ||
Partial = 2, | ||
Omitted = 3 | ||
} | ||
/** | ||
@@ -139,2 +195,4 @@ * Does this piggy-back on the existing ChatRequest, or is it a different type of request entirely? | ||
rejectedConfirmationData?: any[]; | ||
requestedTools?: string[]; | ||
} | ||
@@ -141,0 +199,0 @@ |
@@ -6,2 +6,4 @@ /*--------------------------------------------------------------------------------------------- | ||
// version: 2 | ||
declare module 'vscode' { | ||
@@ -31,2 +33,18 @@ | ||
export class ChatRequestEditorData { | ||
//TODO@API should be the editor | ||
document: TextDocument; | ||
selection: Selection; | ||
wholeRange: Range; | ||
constructor(document: TextDocument, selection: Selection, wholeRange: Range); | ||
} | ||
export class ChatRequestNotebookData { | ||
//TODO@API should be the editor | ||
readonly cell: TextDocument; | ||
constructor(cell: TextDocument); | ||
} | ||
export interface ChatRequest { | ||
@@ -45,4 +63,12 @@ /** | ||
* The location at which the chat is happening. This will always be one of the supported values | ||
* | ||
* @deprecated | ||
*/ | ||
readonly location: ChatLocation; | ||
/** | ||
* Information that is specific to the location at which chat is happening, e.g within a document, notebook, | ||
* or terminal. Will be `undefined` for the chat panel. | ||
*/ | ||
readonly location2: ChatRequestEditorData | ChatRequestNotebookData | undefined; | ||
} | ||
@@ -49,0 +75,0 @@ |
@@ -10,2 +10,13 @@ /*--------------------------------------------------------------------------------------------- | ||
export enum CommentThreadFocus { | ||
/** | ||
* Focus the comment editor if the thread supports replying. | ||
*/ | ||
Reply = 1, | ||
/** | ||
* Focus the revealed comment. | ||
*/ | ||
Comment = 2 | ||
} | ||
/** | ||
@@ -15,20 +26,22 @@ * Options to reveal a comment thread in an editor. | ||
export interface CommentThreadRevealOptions { | ||
/** | ||
* By default, the comment thread will be focused. Set `preserveFocus` to `true` to maintain the original focus. | ||
* Where to move the focus to when revealing the comment thread. | ||
* If undefined, the focus will not be changed. | ||
*/ | ||
preserveFocus?: boolean; | ||
focus?: CommentThreadFocus; | ||
} | ||
export interface CommentThread2 { | ||
/** | ||
* Focus the comment thread reply editor, if the thread supports replying. | ||
* Reveal the comment thread in an editor. If no comment is provided, the first comment in the thread will be revealed. | ||
*/ | ||
focusReply?: boolean; | ||
} | ||
reveal(comment?: Comment, options?: CommentThreadRevealOptions): Thenable<void>; | ||
export interface CommentThread { | ||
/** | ||
* Reveal the comment thread in an editor. | ||
* Collapse the comment thread in an editor. | ||
*/ | ||
reveal(options?: CommentThreadRevealOptions): Thenable<void>; | ||
hide(): Thenable<void>; | ||
} | ||
} |
@@ -39,5 +39,3 @@ /*--------------------------------------------------------------------------------------------- | ||
dispose(): void; | ||
// Part of the comment reveal proposal | ||
reveal(options?: CommentThreadRevealOptions): Thenable<void>; | ||
} | ||
} |
@@ -29,3 +29,3 @@ /*--------------------------------------------------------------------------------------------- | ||
*/ | ||
ranges?: Range[] | ||
ranges?: Range[]; | ||
} | ||
@@ -32,0 +32,0 @@ |
@@ -26,2 +26,7 @@ /*--------------------------------------------------------------------------------------------- | ||
tools?: LanguageModelChatFunction[]; | ||
/** | ||
* Force a specific tool to be used. | ||
*/ | ||
toolChoice?: string; | ||
} | ||
@@ -28,0 +33,0 @@ |
@@ -33,2 +33,3 @@ /*--------------------------------------------------------------------------------------------- | ||
resolveHistoryItemGroupCommonAncestor(historyItemGroupId1: string, historyItemGroupId2: string | undefined, token: CancellationToken): ProviderResult<{ id: string; ahead: number; behind: number }>; | ||
resolveHistoryItemGroupCommonAncestor2(historyItemGroupIds: string[], token: CancellationToken): ProviderResult<string>; | ||
} | ||
@@ -45,2 +46,3 @@ | ||
readonly name: string; | ||
readonly revision?: string; | ||
readonly base?: Omit<Omit<SourceControlHistoryItemGroup, 'base'>, 'remote'>; | ||
@@ -47,0 +49,0 @@ readonly remote?: Omit<Omit<SourceControlHistoryItemGroup, 'base'>, 'remote'>; |
@@ -37,18 +37,2 @@ import { IJSONSchema } from '../../../base/common/jsonSchema.js'; | ||
} | ||
interface IConfiguration { | ||
/** | ||
* A title for the current category of settings. This label will be rendered in the Settings editor as a subheading. If the title is the same as the extension display name, then the category will be grouped under the main extension heading. | ||
*/ | ||
readonly title?: string; | ||
/** | ||
* When specified, gives the order of this category of settings relative to other categories. | ||
*/ | ||
readonly order?: number; | ||
/** | ||
* Description of the configuration properties. | ||
*/ | ||
readonly properties: { | ||
[key: string]: IJSONSchema; | ||
}; | ||
} | ||
interface IDebugger { | ||
@@ -1276,3 +1260,3 @@ /** | ||
*/ | ||
readonly configuration?: IConfiguration | IConfiguration[]; | ||
readonly configuration?: any; | ||
/** | ||
@@ -1502,2 +1486,3 @@ * Contributes debug adapters. | ||
}; | ||
originalEnabledApiProposals?: readonly string[]; | ||
enabledApiProposals?: readonly string[]; | ||
@@ -1512,2 +1497,2 @@ api?: string; | ||
export type { ExtensionUntrustedWorkspaceSupport, ExtensionVirtualWorkspaceSupport, IAuthenticationContribution, IBackgroundMonitor, IBreakpoint, ICheckedProblemPattern, ICodeActionContribution, ICodeActionContributionAction, IColor, IColorTheme, ICommand, IConfiguration, IDebugVisualizationContribution, IDebugger, IDocumentation, IDocumentationRefactoring, IExtensionCapabilities, IExtensionContributions, IExtensionManifest, IGrammar, IHtmlLanguageParticipant, IIcon, IIconTheme, IInteractiveSession, IJSONValidation, IKeyBinding, ILanguage, ILocalizationContribution, IMenu, INamedMultiLineCheckedProblemPattern, INamedProblemMatcher, INamedProblemPattern, INotebookEntry, INotebookRendererContribution, IProblemPattern, IProductTheme, IRelaxedExtensionManifest, IRemoteHelp, ISearchFileLocationArgs, ISemanticTokenModifiers, ISemanticTokenScopes, ISemanticTokenTypes, ISnippet, IStartEntry, IStatusBarItem, ISubMenu, ITaskDefinitions, ITerminal, ITerminalQuickFix, ITranslation, ITypescriptServerPlugin, IView, IViewContainer, IViewsWelcome, IWalkthrough, IWalkthroughStep, IWatchingPattern, LimitedWorkspaceSupportType, MultiLineCheckedProblemPattern, NamedProblemPatterns, NotebookPreload }; | ||
export type { ExtensionUntrustedWorkspaceSupport, ExtensionVirtualWorkspaceSupport, IAuthenticationContribution, IBackgroundMonitor, IBreakpoint, ICheckedProblemPattern, ICodeActionContribution, ICodeActionContributionAction, IColor, IColorTheme, ICommand, IDebugVisualizationContribution, IDebugger, IDocumentation, IDocumentationRefactoring, IExtensionCapabilities, IExtensionContributions, IExtensionManifest, IGrammar, IHtmlLanguageParticipant, IIcon, IIconTheme, IInteractiveSession, IJSONValidation, IKeyBinding, ILanguage, ILocalizationContribution, IMenu, INamedMultiLineCheckedProblemPattern, INamedProblemMatcher, INamedProblemPattern, INotebookEntry, INotebookRendererContribution, IProblemPattern, IProductTheme, IRelaxedExtensionManifest, IRemoteHelp, ISearchFileLocationArgs, ISemanticTokenModifiers, ISemanticTokenScopes, ISemanticTokenTypes, ISnippet, IStartEntry, IStatusBarItem, ISubMenu, ITaskDefinitions, ITerminal, ITerminalQuickFix, ITranslation, ITypescriptServerPlugin, IView, IViewContainer, IViewsWelcome, IWalkthrough, IWalkthroughStep, IWatchingPattern, LimitedWorkspaceSupportType, MultiLineCheckedProblemPattern, NamedProblemPatterns, NotebookPreload }; |
Sorry, the diff of this file is too big to display
547707
5.81%138
7.81%14734
5.95%