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
{{ message }}
Repository navigation
Commit 9dea6aa
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: shared/plugins/contract/v1/plugin-manifest.schema.json
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@
41
41
"executionProviders": { "enum": [0] },
42
42
"languageServers": { "description": "Required exactly when languageServers is non-empty. Covers languageServers[].workspaceConfiguration and the session fields requestMethods, commands, serializedCommands, forwardNotifications, state, and remote.", "enum": [0] },
43
43
"languages": { "description": "Required exactly when languages is non-empty. Covers languages[].grammar, a TextMate grammar, and languages[].configuration.", "enum": [0] },
44
-
"managedRuntimes": { "description": "Required exactly when managedRuntimes is present: approved pinned runtime archives, plugin-owned qualification and host-owned installation outside versioned packages.", "enum": [0] },
44
+
"managedRuntimes": { "description": "Required exactly when managedRuntimes is present: approved pinned runtime archives, plugin-owned qualification and host-owned installation outside versioned packages. Version 1 adds optional artifact mirror URLs.", "enum": [0, 1] },
45
45
"outputLinkMatchers": { "description": "Required exactly when outputLinkMatchers is non-empty.", "enum": [0] },
46
46
"packageTrust": { "description": "Required exactly when vendor.bundledSignatureRequirement is present.", "enum": [0] },
47
47
"projectGenerators": { "description": "Entries of the New Project window: fields, requirements, and steps, with tool fields that pick tool installations.", "enum": [0] },
@@ -1030,6 +1030,13 @@
1030
1030
"os": { "enum": ["macos", "windows", "linux"] },
1031
1031
"arch": { "enum": ["arm64", "x86_64"] },
1032
1032
"url": { "type": "string", "minLength": 1, "maxLength": 4096, "pattern": "^https://", "description": "HTTPS without credentials or fragments; semantic URL validation is performed by Core." },
1033
+
"mirrors": {
1034
+
"type": "array",
1035
+
"maxItems": 8,
1036
+
"uniqueItems": true,
1037
+
"description": "Optional fallback HTTPS URLs serving the exact same pinned SHA-256 archive. Requires managedRuntimes 1.",
@@ -169,7 +170,8 @@ Each row is one capability. `requires` lists **exactly** the capabilities a mani
169
170
|`beforeLaunchTasks``0`|`buildSystems[].beforeLaunchTasks`: before-launch tasks a plugin declares (such as Run Go Command), listed in the Add New Task menu of a run configuration's Before Launch list; the host draws the task's form from the declared fields, Core checks the values with `runConfig.checkBeforeLaunchTask` and expands the command line with `build.beforeLaunchTaskPlan` in the working directory of the configuration whose list names the step | ✅ | ✅ |[Before-launch tasks](../contract/v1/README.md#before-launch-tasks)|
170
171
|`vcsProviders``0`|[`vcsProviders[]`](../contract/v1/README.md#vcs-providers); they speak `litheVcs`| ✅ | ✅¹ |[VCS providers](domains/vcs.md)|
171
172
|`debugAdapters``0`|[`debugAdapters[]`](../contract/v1/README.md#debug-adapters): standalone adapters, adapters inside a language server, [remote attach](../contract/v1/README.md#remote-attach), arguments and environment, [`features` and `defaults`](../contract/v1/README.md#adapter-features-and-defaults)| ✅ | ✅ |[Debug adapters](domains/debug-adapters.md)|
|`managedRuntimes``1`| Extends `0` with up to 8 optional HTTPS `mirrors` URLs per platform artifact without changing `cacheKey`| ✅ | Declared with companion host integration |[Managed runtimes](../contract/v1/README.md#managed-runtimes)|
173
175
|`commandInstallers``0`|[`commandInstallers[]`](../contract/v1/README.md#command-installers): install a bare command a `systemCommand` launch lacks with a tool the plugin already requires, into a directory Lithe manages (`managed`) or the tool's default location (`toolDefault`), only after the user confirms | ✅ | ✅ |[Toolchains](domains/toolchains.md#installing-missing-commands)|
174
176
|`outputLinkMatchers``0`|[`outputLinkMatchers[]`](../contract/v1/README.md#output-link-matchers): plugin-declared patterns that turn Run and Test console output into links; Core does the matching, and the `resolve` function is called only on click | ✅ | ✅ |[Languages](domains/languages.md)|
175
177
|`projectGenerators``0`|[`projectGenerators[]`](../contract/v1/README.md#project-generators): entries of the New Project window, including [`tool` fields](../contract/v1/README.md#tool-fields)| ✅ | ✅ |[Project generators](domains/project-generators.md)|
0 commit comments