@codingame/monaco-vscode-rollup-vsix-plugin 25.1.2 → 26.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/rollup-vsix-plugin.d.ts +13 -5
- package/rollup-vsix-plugin.js +3 -12
package/package.json
CHANGED
package/rollup-vsix-plugin.d.ts
CHANGED
|
@@ -79,6 +79,7 @@ interface IJSONSchema {
|
|
|
79
79
|
suggestSortText?: string;
|
|
80
80
|
allowComments?: boolean;
|
|
81
81
|
allowTrailingCommas?: boolean;
|
|
82
|
+
secret?: boolean;
|
|
82
83
|
}
|
|
83
84
|
interface IJSONSchemaMap {
|
|
84
85
|
[name: string]: IJSONSchema;
|
|
@@ -1363,6 +1364,11 @@ interface IMcpCollectionContribution {
|
|
|
1363
1364
|
readonly label: string;
|
|
1364
1365
|
readonly when?: string;
|
|
1365
1366
|
}
|
|
1367
|
+
interface IChatFileContribution {
|
|
1368
|
+
readonly path: string;
|
|
1369
|
+
readonly name?: string;
|
|
1370
|
+
readonly description?: string;
|
|
1371
|
+
}
|
|
1366
1372
|
interface IExtensionContributions {
|
|
1367
1373
|
/**
|
|
1368
1374
|
* Contributes terminal functionality.
|
|
@@ -1470,6 +1476,10 @@ interface IExtensionContributions {
|
|
|
1470
1476
|
readonly notebookRenderer?: INotebookRendererContribution[];
|
|
1471
1477
|
readonly debugVisualizers?: IDebugVisualizationContribution[];
|
|
1472
1478
|
readonly chatParticipants?: ReadonlyArray<IChatParticipantContribution>;
|
|
1479
|
+
readonly chatPromptFiles?: ReadonlyArray<IChatFileContribution>;
|
|
1480
|
+
readonly chatInstructions?: ReadonlyArray<IChatFileContribution>;
|
|
1481
|
+
readonly chatAgents?: ReadonlyArray<IChatFileContribution>;
|
|
1482
|
+
readonly chatSkills?: ReadonlyArray<IChatFileContribution>;
|
|
1473
1483
|
readonly languageModelTools?: ReadonlyArray<IToolContribution>;
|
|
1474
1484
|
readonly languageModelToolSets?: ReadonlyArray<IToolSetContribution>;
|
|
1475
1485
|
readonly mcpServerDefinitionProviders?: ReadonlyArray<IMcpCollectionContribution>;
|
|
@@ -1547,12 +1557,9 @@ interface IExtensionContributions {
|
|
|
1547
1557
|
* A list of languages that participate with the HTML language server.
|
|
1548
1558
|
*/
|
|
1549
1559
|
readonly htmlLanguageParticipants?: IHtmlLanguageParticipant[];
|
|
1550
|
-
readonly html?: {
|
|
1551
|
-
customData?: string[];
|
|
1552
|
-
};
|
|
1553
1560
|
readonly css?: {
|
|
1554
|
-
|
|
1555
|
-
};
|
|
1561
|
+
path: string;
|
|
1562
|
+
}[];
|
|
1556
1563
|
}
|
|
1557
1564
|
interface IExtensionCapabilities {
|
|
1558
1565
|
readonly virtualWorkspaces?: ExtensionVirtualWorkspaceSupport;
|
|
@@ -1594,6 +1601,7 @@ interface IRelaxedExtensionManifest {
|
|
|
1594
1601
|
keywords?: string[];
|
|
1595
1602
|
activationEvents?: readonly string[];
|
|
1596
1603
|
extensionDependencies?: string[];
|
|
1604
|
+
extensionAffinity?: string[];
|
|
1597
1605
|
extensionPack?: string[];
|
|
1598
1606
|
extensionKind?: ExtensionKind | ExtensionKind[];
|
|
1599
1607
|
contributes?: IExtensionContributions;
|
package/rollup-vsix-plugin.js
CHANGED
|
@@ -832,24 +832,12 @@ function visit(text, visitor, options = ParseOptions.DEFAULT) {
|
|
|
832
832
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
833
833
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
834
834
|
*--------------------------------------------------------------------------------------------*/
|
|
835
|
-
/*
|
|
836
|
-
* This module exists so that the AMD build of the monaco editor can replace this with an async loader plugin.
|
|
837
|
-
* If you add new functions to this module make sure that they are also provided in the AMD build of the monaco editor.
|
|
838
|
-
*
|
|
839
|
-
* TODO@esm remove me once we no longer ship an AMD build.
|
|
840
|
-
*/
|
|
841
835
|
function getNLSMessages() {
|
|
842
836
|
return globalThis._VSCODE_NLS_MESSAGES;
|
|
843
837
|
}
|
|
844
838
|
function getNLSLanguage() {
|
|
845
839
|
return globalThis._VSCODE_NLS_LANGUAGE;
|
|
846
840
|
}
|
|
847
|
-
|
|
848
|
-
/*---------------------------------------------------------------------------------------------
|
|
849
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
850
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
851
|
-
*--------------------------------------------------------------------------------------------*/
|
|
852
|
-
// eslint-disable-next-line local/code-import-patterns
|
|
853
841
|
const isPseudo = getNLSLanguage() === 'pseudo' || (typeof document !== 'undefined' && document.location && typeof document.location.hash === 'string' && document.location.hash.indexOf('pseudo=true') >= 0);
|
|
854
842
|
function _format(message, args) {
|
|
855
843
|
let result;
|
|
@@ -8417,6 +8405,9 @@ async function extractResourcesFromExtensionManifestContribute(contribute, fs, c
|
|
|
8417
8405
|
...(await extractResources(path, fs, cwd))
|
|
8418
8406
|
]))).flat());
|
|
8419
8407
|
}
|
|
8408
|
+
if (contribute.css != null) {
|
|
8409
|
+
resources.push(...contribute.css.map((css) => css.path));
|
|
8410
|
+
}
|
|
8420
8411
|
return resources.filter((resource, index, list) => !resource.startsWith('$(') && !list.slice(0, index).some((o) => o === resource));
|
|
8421
8412
|
}
|
|
8422
8413
|
async function getExtensionResources(manifest, fs, cwd) {
|