@deepseek-ai/dsh-plugin-manager 0.2.1-rc.3 → 0.2.2-alpha.2
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/README.i18n.yaml +13 -10
- package/README.md +40 -5
- package/README.zh.md +40 -5
- package/lib/index.js +943 -128
- package/lib/typert.host.js +498 -40
- package/lib/typert.remote-client.d.ts +11 -1
- package/lib/typert.remote-client.js +399 -36
- package/lib/types/build-approval.d.ts +5 -5
- package/lib/types/build-approval.js +23 -10
- package/lib/types/bundle-detail.d.ts +40 -0
- package/lib/types/bundle-detail.js +85 -0
- package/lib/types/diagnostic.d.ts +17 -0
- package/lib/types/diagnostic.js +72 -0
- package/lib/types/git-transport.d.ts +27 -0
- package/lib/types/git-transport.js +65 -0
- package/lib/types/index.d.ts +90 -2
- package/lib/types/index.js +517 -100
- package/lib/types/install-failure.js +1 -1
- package/lib/types/operations.d.ts +5 -1
- package/lib/types/operations.js +29 -6
- package/lib/types/tools.js +5 -1
- package/lib/types/types.d.ts +159 -2
- package/lib/types/versions.d.ts +40 -0
- package/lib/types/versions.js +61 -0
- package/locale/de.json +6 -0
- package/locale/es.json +6 -0
- package/locale/fr.json +6 -0
- package/locale/ja.json +6 -0
- package/locale/pt.json +6 -0
- package/locale/ru.json +6 -0
- package/locale/tools/de.json +5 -0
- package/locale/tools/es.json +5 -0
- package/locale/tools/fr.json +5 -0
- package/locale/tools/ja.json +5 -0
- package/locale/tools/pt.json +5 -0
- package/locale/tools/ru.json +5 -0
- package/package.json +48 -34
package/lib/typert.host.js
CHANGED
|
@@ -27,7 +27,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_inspect_result$schema = () =
|
|
|
27
27
|
'host': z.string().readonly().optional().describe('The host a git spec or a tarball URL is fetched from, which no registry stands in for.'),
|
|
28
28
|
}), z.object({
|
|
29
29
|
'status': z.literal("refused").readonly(),
|
|
30
|
-
'problem': z.union([z.literal("network"), z.literal("unknown"), z.literal("
|
|
30
|
+
'problem': z.union([z.literal("network"), z.literal("unknown"), z.literal("not-found"), z.literal("invalid-spec"), z.literal("already-installed"), z.literal("not-a-package"), z.literal("not-a-bundle")]).readonly(),
|
|
31
31
|
'reason': z.string().readonly().describe('What pnpm, the registry, or the file system said.'),
|
|
32
32
|
'registries': z.array(z.union([z.literal(null), z.string()])).readonly().optional().describe('The registries asked, in order, when the refusal came from asking them; `reason` is the last one\'s.'),
|
|
33
33
|
})]))
|
|
@@ -50,7 +50,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_result$schema
|
|
|
50
50
|
'target': z.string(),
|
|
51
51
|
'enabled': z.boolean().optional(),
|
|
52
52
|
'error': z.object({
|
|
53
|
-
'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), z.literal("already-installed"), z.literal("ambiguous-install"), z.literal("not-bundle"), z.literal("not-removable"), z.literal("stop-profile"), z.literal("bundle-in-use"), z.literal("stale-approval"), z.literal("incompatible-version"), z.literal("operation-error")]),
|
|
53
|
+
'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), z.literal("already-installed"), z.literal("ambiguous-install"), z.literal("not-bundle"), z.literal("not-removable"), z.literal("stop-profile"), z.literal("bundle-in-use"), z.literal("stale-approval"), z.literal("incompatible-version"), z.literal("unsupported-platform"), z.literal("operation-error")]),
|
|
54
54
|
'diagnostic': z.string().optional(),
|
|
55
55
|
'incompatible': z.array(z.object({
|
|
56
56
|
'name': z.string(),
|
|
@@ -65,7 +65,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_result$schema
|
|
|
65
65
|
'output': z.string(),
|
|
66
66
|
'truncated': z.boolean(),
|
|
67
67
|
'logPath': z.string(),
|
|
68
|
-
'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("
|
|
68
|
+
'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("not-found"), z.literal("pnpm-missing"), z.literal("no-matching-version"), z.literal("disk-full"), z.literal("permission"), z.literal("build-blocked")]).optional().describe('Present when the run failed: what kind of failure its exit and output describe.'),
|
|
69
69
|
'timedOut': z.boolean().optional().describe('The manager terminated the run after it printed nothing for its silence bound; `exitCode` still reports how it ended.'),
|
|
70
70
|
'incompatible': z.array(z.object({
|
|
71
71
|
'name': z.string(),
|
|
@@ -76,7 +76,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_result$schema
|
|
|
76
76
|
}).optional(),
|
|
77
77
|
'bundle': z.string().optional().describe('The bundle an installation added, once pnpm and the bundle check accepted it.'),
|
|
78
78
|
'version': z.string().optional().describe('The installed bundle\'s manifest version, when declared; pnpm\'s `minimumReleaseAge` can make it older than the newest release.'),
|
|
79
|
-
'pendingBuilds': z.array(z.string()).optional().describe('Exact
|
|
79
|
+
'pendingBuilds': z.array(z.string()).optional().describe('Exact `allowBuilds` keys awaiting explicit script approval in the profile\'s pnpm settings, read after a failed run.'),
|
|
80
80
|
'approvedBuilds': z.array(z.string()).optional().describe('Package script permissions saved before this installation attempt.'),
|
|
81
81
|
'registries': z.array(z.union([z.literal(null), z.string()])).optional().describe('The registries the installation asked, in order; `packageResult` is the last one\'s run.'),
|
|
82
82
|
'failedAt': z.union([z.literal("registry"), z.literal("spec-host")]).optional().describe('What the last failed run could not reach or get an answer from: the registry it asked, or the host a git or tarball spec is fetched from, which no registry stands in for; absent for a failure neither explains.'),
|
|
@@ -102,14 +102,16 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_listBundles_result$schema =
|
|
|
102
102
|
'error': z.string().readonly().optional().describe('Unmodified local metadata diagnostic; the plugin remains manageable.'),
|
|
103
103
|
}).optional().describe('Local display text with available translations or literal fallbacks, or a metadata diagnostic.'),
|
|
104
104
|
'description': z.string().optional().describe('Untranslated `description` of this bundle\'s package manifest.'),
|
|
105
|
+
'listedByDefault': z.boolean().optional().describe('Default GUI visibility after package and Host checks; selected or profile-installed bundles remain manageable.'),
|
|
105
106
|
'enabled': z.boolean().describe('Selected in the profile manifest; a load error means its layer was skipped.'),
|
|
106
107
|
'installed': z.boolean().describe('Whether the profile declares this dependency; availability separately reports whether its files can be read.'),
|
|
107
108
|
'source': z.string().optional().describe('Present for a profile dependency the installation does not also supply: the spec `pnpm add` accepts, with local paths made absolute and the user information of an http(s) URL removed.'),
|
|
108
109
|
'optional': z.boolean().describe('Whether the installation ships the bundle for the person to switch on: named by the launcher\'s `OPTIONAL_BUNDLES`, held by the installation\'s dependencies, selected by no shipped template, and never removable.'),
|
|
109
110
|
'removable': z.boolean(),
|
|
111
|
+
'updatable': z.boolean().describe('Whether `listVersions` and `updateBundle` accept the bundle: a third-party profile dependency saved as a registry spec under its own name, whose installed manifest declares a semver version, and that carries no plugin management.'),
|
|
110
112
|
'readOnlyReason': z.union([z.literal("management-required"), z.literal("unaddressable")]).optional(),
|
|
111
113
|
'error': z.object({
|
|
112
|
-
'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), z.literal("already-installed"), z.literal("ambiguous-install"), z.literal("not-bundle"), z.literal("not-removable"), z.literal("stop-profile"), z.literal("bundle-in-use"), z.literal("stale-approval"), z.literal("incompatible-version"), z.literal("operation-error")]),
|
|
114
|
+
'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), z.literal("already-installed"), z.literal("ambiguous-install"), z.literal("not-bundle"), z.literal("not-removable"), z.literal("stop-profile"), z.literal("bundle-in-use"), z.literal("stale-approval"), z.literal("incompatible-version"), z.literal("unsupported-platform"), z.literal("operation-error")]),
|
|
113
115
|
'diagnostic': z.string().optional(),
|
|
114
116
|
'incompatible': z.array(z.object({
|
|
115
117
|
'name': z.string(),
|
|
@@ -150,7 +152,8 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_listPlugins_result$schema =
|
|
|
150
152
|
'error': z.string().readonly().optional().describe('Unmodified local metadata diagnostic; the plugin remains manageable.'),
|
|
151
153
|
}).readonly().optional().describe('Local package display metadata, independent of whether the entry is enabled.'),
|
|
152
154
|
'enabled': z.boolean().readonly().describe('Effective Loader enablement, including disabled ancestor groups.'),
|
|
153
|
-
'fiberPhase': z.union([z.literal(null), z.literal("failed"), z.literal("
|
|
155
|
+
'fiberPhase': z.union([z.literal(null), z.literal("failed"), z.literal("active"), z.literal("pending"), z.literal("loading"), z.literal("unloading")]).readonly(),
|
|
156
|
+
'diagnostic': z.string().readonly().optional().describe('Current startup failure message; absent when this entry has no failed fiber.'),
|
|
154
157
|
'patchId': z.string(),
|
|
155
158
|
'readOnlyReason': z.never().optional(),
|
|
156
159
|
}), z.object({
|
|
@@ -167,7 +170,8 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_listPlugins_result$schema =
|
|
|
167
170
|
'error': z.string().readonly().optional().describe('Unmodified local metadata diagnostic; the plugin remains manageable.'),
|
|
168
171
|
}).readonly().optional().describe('Local package display metadata, independent of whether the entry is enabled.'),
|
|
169
172
|
'enabled': z.boolean().readonly().describe('Effective Loader enablement, including disabled ancestor groups.'),
|
|
170
|
-
'fiberPhase': z.union([z.literal(null), z.literal("failed"), z.literal("
|
|
173
|
+
'fiberPhase': z.union([z.literal(null), z.literal("failed"), z.literal("active"), z.literal("pending"), z.literal("loading"), z.literal("unloading")]).readonly(),
|
|
174
|
+
'diagnostic': z.string().readonly().optional().describe('Current startup failure message; absent when this entry has no failed fiber.'),
|
|
171
175
|
'patchId': z.never().optional(),
|
|
172
176
|
'readOnlyReason': z.union([z.literal("management-required"), z.literal("unaddressable")]),
|
|
173
177
|
})])))
|
|
@@ -176,6 +180,64 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_listVersionExemptions_result
|
|
|
176
180
|
'exemptions': z.record(z.string(), z.array(z.string())),
|
|
177
181
|
'warnings': z.array(z.string()),
|
|
178
182
|
}))
|
|
183
|
+
let _deepseek_ai_dsh_plugin_manager_pluginManager_listVersions_parameter_0$schema$value
|
|
184
|
+
const _deepseek_ai_dsh_plugin_manager_pluginManager_listVersions_parameter_0$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_listVersions_parameter_0$schema$value ??= z.string())
|
|
185
|
+
let _deepseek_ai_dsh_plugin_manager_pluginManager_listVersions_parameter_1$schema$value
|
|
186
|
+
const _deepseek_ai_dsh_plugin_manager_pluginManager_listVersions_parameter_1$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_listVersions_parameter_1$schema$value ??= z.union([z.undefined(), z.object({
|
|
187
|
+
'registry': z.union([z.literal(null), z.string()]).readonly().optional().describe('The registry asked first; absent, the one this process last installed the package from, else the configured one.'),
|
|
188
|
+
})]))
|
|
189
|
+
let _deepseek_ai_dsh_plugin_manager_pluginManager_listVersions_result$schema$value
|
|
190
|
+
const _deepseek_ai_dsh_plugin_manager_pluginManager_listVersions_result$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_listVersions_result$schema$value ??= z.union([z.object({
|
|
191
|
+
'status': z.literal("listed").readonly(),
|
|
192
|
+
'installed': z.string().readonly().describe('The installed version the list is newer than.'),
|
|
193
|
+
'registry': z.union([z.literal(null), z.string()]).readonly().describe('The registry that answered; an update installs from it.'),
|
|
194
|
+
'attempts': z.array(z.object({
|
|
195
|
+
'registry': z.union([z.literal(null), z.string()]).readonly(),
|
|
196
|
+
'problem': z.union([z.literal("network"), z.literal("unknown"), z.literal("not-found")]).readonly().optional().describe('Why this registry gave no usable answer; absent for the registry that answered.'),
|
|
197
|
+
'reason': z.string().readonly().optional().describe('What pnpm or the registry said, verbatim.'),
|
|
198
|
+
})).readonly(),
|
|
199
|
+
'versions': z.array(z.object({
|
|
200
|
+
'version': z.string().readonly(),
|
|
201
|
+
'publishedAt': z.string().readonly().optional().describe('The registry\'s publication time, as an ISO 8601 string.'),
|
|
202
|
+
'tags': z.array(z.string()).readonly().describe('The dist-tags pointing at this version, such as `latest`.'),
|
|
203
|
+
'prerelease': z.boolean().readonly().describe('Whether the version carries a semver prerelease suffix.'),
|
|
204
|
+
'deprecated': z.string().readonly().optional().describe('The registry\'s deprecation message, when the version is deprecated.'),
|
|
205
|
+
'bundle': z.boolean().readonly().describe('Whether the version declares a `dsh.bundle`; a version that does not cannot replace a bundle.'),
|
|
206
|
+
'incompatible': z.object({
|
|
207
|
+
'name': z.string(),
|
|
208
|
+
'version': z.string(),
|
|
209
|
+
'runtimeVersion': z.string(),
|
|
210
|
+
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
211
|
+
}).readonly().optional().describe('Present when the version\'s `engines.dsh` or DSH peers reject the running DSH version without an exemption for the exact pair.'),
|
|
212
|
+
})).readonly().describe('Published versions newer than `installed`, newest first, at most `versionListLimit` of them.'),
|
|
213
|
+
'omitted': z.number().readonly().describe('Newer versions beyond `versionListLimit` that the list leaves out.'),
|
|
214
|
+
}), z.object({
|
|
215
|
+
'status': z.literal("refused").readonly(),
|
|
216
|
+
'problem': z.union([z.literal("network"), z.literal("unknown"), z.literal("not-found"), z.literal("not-updatable")]).readonly().describe('`not-updatable`: the package is not an installed profile dependency resolved from a registry.'),
|
|
217
|
+
'reason': z.string().readonly(),
|
|
218
|
+
'attempts': z.array(z.object({
|
|
219
|
+
'registry': z.union([z.literal(null), z.string()]).readonly(),
|
|
220
|
+
'problem': z.union([z.literal("network"), z.literal("unknown"), z.literal("not-found")]).readonly().optional().describe('Why this registry gave no usable answer; absent for the registry that answered.'),
|
|
221
|
+
'reason': z.string().readonly().optional().describe('What pnpm or the registry said, verbatim.'),
|
|
222
|
+
})).readonly().describe('The registries asked, in order; empty for `not-updatable`.'),
|
|
223
|
+
})]))
|
|
224
|
+
let _deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_0$schema$value
|
|
225
|
+
const _deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_0$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_0$schema$value ??= z.string())
|
|
226
|
+
let _deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_1$schema$value
|
|
227
|
+
const _deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_1$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_1$schema$value ??= z.string())
|
|
228
|
+
let _deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_2$schema$value
|
|
229
|
+
const _deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_2$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_2$schema$value ??= z.union([z.undefined(), z.object({
|
|
230
|
+
'npmFileSources': z.array(z.union([z.literal("jsdelivr"), z.literal("unpkg"), z.literal("npmmirror")])).optional(),
|
|
231
|
+
})]))
|
|
232
|
+
let _deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_result$schema$value
|
|
233
|
+
const _deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_result$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_result$schema$value ??= z.union([z.object({
|
|
234
|
+
'status': z.literal("found").readonly(),
|
|
235
|
+
'origin': z.union([z.literal("locale"), z.literal("readme")]).readonly().describe('`locale` for the file locale `meta.detail` names, `readme` for the package\'s README.'),
|
|
236
|
+
'path': z.string().readonly().describe('`/`-separated path of the document inside the package.'),
|
|
237
|
+
'markdown': z.string().readonly().describe('Markdown text without a byte order mark or a leading YAML front matter block.'),
|
|
238
|
+
}), z.object({
|
|
239
|
+
'status': z.literal("none").readonly(),
|
|
240
|
+
})]))
|
|
179
241
|
let _deepseek_ai_dsh_plugin_manager_pluginManager_registries_result$schema$value
|
|
180
242
|
const _deepseek_ai_dsh_plugin_manager_pluginManager_registries_result$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_registries_result$schema$value ??= z.object({
|
|
181
243
|
'registry': z.union([z.literal(null), z.string()]).readonly(),
|
|
@@ -193,7 +255,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_removeBundle_result$schema =
|
|
|
193
255
|
'target': z.string(),
|
|
194
256
|
'enabled': z.boolean().optional(),
|
|
195
257
|
'error': z.object({
|
|
196
|
-
'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), z.literal("already-installed"), z.literal("ambiguous-install"), z.literal("not-bundle"), z.literal("not-removable"), z.literal("stop-profile"), z.literal("bundle-in-use"), z.literal("stale-approval"), z.literal("incompatible-version"), z.literal("operation-error")]),
|
|
258
|
+
'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), z.literal("already-installed"), z.literal("ambiguous-install"), z.literal("not-bundle"), z.literal("not-removable"), z.literal("stop-profile"), z.literal("bundle-in-use"), z.literal("stale-approval"), z.literal("incompatible-version"), z.literal("unsupported-platform"), z.literal("operation-error")]),
|
|
197
259
|
'diagnostic': z.string().optional(),
|
|
198
260
|
'incompatible': z.array(z.object({
|
|
199
261
|
'name': z.string(),
|
|
@@ -208,7 +270,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_removeBundle_result$schema =
|
|
|
208
270
|
'output': z.string(),
|
|
209
271
|
'truncated': z.boolean(),
|
|
210
272
|
'logPath': z.string(),
|
|
211
|
-
'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("
|
|
273
|
+
'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("not-found"), z.literal("pnpm-missing"), z.literal("no-matching-version"), z.literal("disk-full"), z.literal("permission"), z.literal("build-blocked")]).optional().describe('Present when the run failed: what kind of failure its exit and output describe.'),
|
|
212
274
|
'timedOut': z.boolean().optional().describe('The manager terminated the run after it printed nothing for its silence bound; `exitCode` still reports how it ended.'),
|
|
213
275
|
'incompatible': z.array(z.object({
|
|
214
276
|
'name': z.string(),
|
|
@@ -219,7 +281,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_removeBundle_result$schema =
|
|
|
219
281
|
}).optional(),
|
|
220
282
|
'bundle': z.string().optional().describe('The bundle an installation added, once pnpm and the bundle check accepted it.'),
|
|
221
283
|
'version': z.string().optional().describe('The installed bundle\'s manifest version, when declared; pnpm\'s `minimumReleaseAge` can make it older than the newest release.'),
|
|
222
|
-
'pendingBuilds': z.array(z.string()).optional().describe('Exact
|
|
284
|
+
'pendingBuilds': z.array(z.string()).optional().describe('Exact `allowBuilds` keys awaiting explicit script approval in the profile\'s pnpm settings, read after a failed run.'),
|
|
223
285
|
'approvedBuilds': z.array(z.string()).optional().describe('Package script permissions saved before this installation attempt.'),
|
|
224
286
|
'registries': z.array(z.union([z.literal(null), z.string()])).optional().describe('The registries the installation asked, in order; `packageResult` is the last one\'s run.'),
|
|
225
287
|
'failedAt': z.union([z.literal("registry"), z.literal("spec-host")]).optional().describe('What the last failed run could not reach or get an answer from: the registry it asked, or the host a git or tarball spec is fetched from, which no registry stands in for; absent for a failure neither explains.'),
|
|
@@ -237,7 +299,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_result$sche
|
|
|
237
299
|
'target': z.string(),
|
|
238
300
|
'enabled': z.boolean().optional(),
|
|
239
301
|
'error': z.object({
|
|
240
|
-
'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), z.literal("already-installed"), z.literal("ambiguous-install"), z.literal("not-bundle"), z.literal("not-removable"), z.literal("stop-profile"), z.literal("bundle-in-use"), z.literal("stale-approval"), z.literal("incompatible-version"), z.literal("operation-error")]),
|
|
302
|
+
'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), z.literal("already-installed"), z.literal("ambiguous-install"), z.literal("not-bundle"), z.literal("not-removable"), z.literal("stop-profile"), z.literal("bundle-in-use"), z.literal("stale-approval"), z.literal("incompatible-version"), z.literal("unsupported-platform"), z.literal("operation-error")]),
|
|
241
303
|
'diagnostic': z.string().optional(),
|
|
242
304
|
'incompatible': z.array(z.object({
|
|
243
305
|
'name': z.string(),
|
|
@@ -252,7 +314,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_result$sche
|
|
|
252
314
|
'output': z.string(),
|
|
253
315
|
'truncated': z.boolean(),
|
|
254
316
|
'logPath': z.string(),
|
|
255
|
-
'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("
|
|
317
|
+
'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("not-found"), z.literal("pnpm-missing"), z.literal("no-matching-version"), z.literal("disk-full"), z.literal("permission"), z.literal("build-blocked")]).optional().describe('Present when the run failed: what kind of failure its exit and output describe.'),
|
|
256
318
|
'timedOut': z.boolean().optional().describe('The manager terminated the run after it printed nothing for its silence bound; `exitCode` still reports how it ended.'),
|
|
257
319
|
'incompatible': z.array(z.object({
|
|
258
320
|
'name': z.string(),
|
|
@@ -263,7 +325,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_result$sche
|
|
|
263
325
|
}).optional(),
|
|
264
326
|
'bundle': z.string().optional().describe('The bundle an installation added, once pnpm and the bundle check accepted it.'),
|
|
265
327
|
'version': z.string().optional().describe('The installed bundle\'s manifest version, when declared; pnpm\'s `minimumReleaseAge` can make it older than the newest release.'),
|
|
266
|
-
'pendingBuilds': z.array(z.string()).optional().describe('Exact
|
|
328
|
+
'pendingBuilds': z.array(z.string()).optional().describe('Exact `allowBuilds` keys awaiting explicit script approval in the profile\'s pnpm settings, read after a failed run.'),
|
|
267
329
|
'approvedBuilds': z.array(z.string()).optional().describe('Package script permissions saved before this installation attempt.'),
|
|
268
330
|
'registries': z.array(z.union([z.literal(null), z.string()])).optional().describe('The registries the installation asked, in order; `packageResult` is the last one\'s run.'),
|
|
269
331
|
'failedAt': z.union([z.literal("registry"), z.literal("spec-host")]).optional().describe('What the last failed run could not reach or get an answer from: the registry it asked, or the host a git or tarball spec is fetched from, which no registry stands in for; absent for a failure neither explains.'),
|
|
@@ -281,7 +343,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_result$sche
|
|
|
281
343
|
'target': z.string(),
|
|
282
344
|
'enabled': z.boolean().optional(),
|
|
283
345
|
'error': z.object({
|
|
284
|
-
'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), z.literal("already-installed"), z.literal("ambiguous-install"), z.literal("not-bundle"), z.literal("not-removable"), z.literal("stop-profile"), z.literal("bundle-in-use"), z.literal("stale-approval"), z.literal("incompatible-version"), z.literal("operation-error")]),
|
|
346
|
+
'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), z.literal("already-installed"), z.literal("ambiguous-install"), z.literal("not-bundle"), z.literal("not-removable"), z.literal("stop-profile"), z.literal("bundle-in-use"), z.literal("stale-approval"), z.literal("incompatible-version"), z.literal("unsupported-platform"), z.literal("operation-error")]),
|
|
285
347
|
'diagnostic': z.string().optional(),
|
|
286
348
|
'incompatible': z.array(z.object({
|
|
287
349
|
'name': z.string(),
|
|
@@ -296,7 +358,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_result$sche
|
|
|
296
358
|
'output': z.string(),
|
|
297
359
|
'truncated': z.boolean(),
|
|
298
360
|
'logPath': z.string(),
|
|
299
|
-
'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("
|
|
361
|
+
'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("not-found"), z.literal("pnpm-missing"), z.literal("no-matching-version"), z.literal("disk-full"), z.literal("permission"), z.literal("build-blocked")]).optional().describe('Present when the run failed: what kind of failure its exit and output describe.'),
|
|
300
362
|
'timedOut': z.boolean().optional().describe('The manager terminated the run after it printed nothing for its silence bound; `exitCode` still reports how it ended.'),
|
|
301
363
|
'incompatible': z.array(z.object({
|
|
302
364
|
'name': z.string(),
|
|
@@ -307,7 +369,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_result$sche
|
|
|
307
369
|
}).optional(),
|
|
308
370
|
'bundle': z.string().optional().describe('The bundle an installation added, once pnpm and the bundle check accepted it.'),
|
|
309
371
|
'version': z.string().optional().describe('The installed bundle\'s manifest version, when declared; pnpm\'s `minimumReleaseAge` can make it older than the newest release.'),
|
|
310
|
-
'pendingBuilds': z.array(z.string()).optional().describe('Exact
|
|
372
|
+
'pendingBuilds': z.array(z.string()).optional().describe('Exact `allowBuilds` keys awaiting explicit script approval in the profile\'s pnpm settings, read after a failed run.'),
|
|
311
373
|
'approvedBuilds': z.array(z.string()).optional().describe('Package script permissions saved before this installation attempt.'),
|
|
312
374
|
'registries': z.array(z.union([z.literal(null), z.string()])).optional().describe('The registries the installation asked, in order; `packageResult` is the last one\'s run.'),
|
|
313
375
|
'failedAt': z.union([z.literal("registry"), z.literal("spec-host")]).optional().describe('What the last failed run could not reach or get an answer from: the registry it asked, or the host a git or tarball spec is fetched from, which no registry stands in for; absent for a failure neither explains.'),
|
|
@@ -329,7 +391,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_result$s
|
|
|
329
391
|
'target': z.string(),
|
|
330
392
|
'enabled': z.boolean().optional(),
|
|
331
393
|
'error': z.object({
|
|
332
|
-
'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), z.literal("already-installed"), z.literal("ambiguous-install"), z.literal("not-bundle"), z.literal("not-removable"), z.literal("stop-profile"), z.literal("bundle-in-use"), z.literal("stale-approval"), z.literal("incompatible-version"), z.literal("operation-error")]),
|
|
394
|
+
'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), z.literal("already-installed"), z.literal("ambiguous-install"), z.literal("not-bundle"), z.literal("not-removable"), z.literal("stop-profile"), z.literal("bundle-in-use"), z.literal("stale-approval"), z.literal("incompatible-version"), z.literal("unsupported-platform"), z.literal("operation-error")]),
|
|
333
395
|
'diagnostic': z.string().optional(),
|
|
334
396
|
'incompatible': z.array(z.object({
|
|
335
397
|
'name': z.string(),
|
|
@@ -344,7 +406,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_result$s
|
|
|
344
406
|
'output': z.string(),
|
|
345
407
|
'truncated': z.boolean(),
|
|
346
408
|
'logPath': z.string(),
|
|
347
|
-
'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("
|
|
409
|
+
'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("not-found"), z.literal("pnpm-missing"), z.literal("no-matching-version"), z.literal("disk-full"), z.literal("permission"), z.literal("build-blocked")]).optional().describe('Present when the run failed: what kind of failure its exit and output describe.'),
|
|
348
410
|
'timedOut': z.boolean().optional().describe('The manager terminated the run after it printed nothing for its silence bound; `exitCode` still reports how it ended.'),
|
|
349
411
|
'incompatible': z.array(z.object({
|
|
350
412
|
'name': z.string(),
|
|
@@ -355,11 +417,104 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_result$s
|
|
|
355
417
|
}).optional(),
|
|
356
418
|
'bundle': z.string().optional().describe('The bundle an installation added, once pnpm and the bundle check accepted it.'),
|
|
357
419
|
'version': z.string().optional().describe('The installed bundle\'s manifest version, when declared; pnpm\'s `minimumReleaseAge` can make it older than the newest release.'),
|
|
358
|
-
'pendingBuilds': z.array(z.string()).optional().describe('Exact
|
|
420
|
+
'pendingBuilds': z.array(z.string()).optional().describe('Exact `allowBuilds` keys awaiting explicit script approval in the profile\'s pnpm settings, read after a failed run.'),
|
|
359
421
|
'approvedBuilds': z.array(z.string()).optional().describe('Package script permissions saved before this installation attempt.'),
|
|
360
422
|
'registries': z.array(z.union([z.literal(null), z.string()])).optional().describe('The registries the installation asked, in order; `packageResult` is the last one\'s run.'),
|
|
361
423
|
'failedAt': z.union([z.literal("registry"), z.literal("spec-host")]).optional().describe('What the last failed run could not reach or get an answer from: the registry it asked, or the host a git or tarball spec is fetched from, which no registry stands in for; absent for a failure neither explains.'),
|
|
362
424
|
}))
|
|
425
|
+
let _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_0$schema$value
|
|
426
|
+
const _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_0$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_0$schema$value ??= z.string())
|
|
427
|
+
let _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_1$schema$value
|
|
428
|
+
const _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_1$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_1$schema$value ??= z.string())
|
|
429
|
+
let _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_2$schema$value
|
|
430
|
+
const _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_2$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_2$schema$value ??= z.union([z.undefined(), z.object({
|
|
431
|
+
'registry': z.union([z.literal(null), z.string()]).readonly().optional().describe('The registry asked first, normally the one that answered `listVersions`; absent, as for `listVersions`.'),
|
|
432
|
+
'requestId': z.string().readonly().optional().describe('Names the update\'s progress and the target installation\'s logs; `cancelInstall` stops only that installation.'),
|
|
433
|
+
})]))
|
|
434
|
+
let _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_result$schema$value
|
|
435
|
+
const _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_result$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_result$schema$value ??= z.object({
|
|
436
|
+
'from': z.string().readonly(),
|
|
437
|
+
'to': z.string().readonly(),
|
|
438
|
+
'step': z.union([z.literal("remove"), z.literal("check"), z.literal("install")]).readonly(),
|
|
439
|
+
'result': z.object({
|
|
440
|
+
'changed': z.boolean(),
|
|
441
|
+
'application': z.union([z.literal("cancelled"), z.literal("failed"), z.literal("applied"), z.literal("restart-required"), z.literal("overridden")]).describe('`cancelled` is an installation the caller stopped, its files restored.'),
|
|
442
|
+
'restartReason': z.union([z.literal("no-hmr"), z.literal("package-moved"), z.literal("host-module"), z.literal("unmanaged-plugin"), z.literal("module-comparison")]).optional().describe('Present with `restart-required`: why the change takes effect only at the next start.'),
|
|
443
|
+
'stage': z.union([z.literal("remove"), z.literal("install"), z.literal("enable")]).describe('Last attempted step; successful installation can proceed to enablement.'),
|
|
444
|
+
'target': z.string(),
|
|
445
|
+
'enabled': z.boolean().optional(),
|
|
446
|
+
'error': z.object({
|
|
447
|
+
'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), z.literal("already-installed"), z.literal("ambiguous-install"), z.literal("not-bundle"), z.literal("not-removable"), z.literal("stop-profile"), z.literal("bundle-in-use"), z.literal("stale-approval"), z.literal("incompatible-version"), z.literal("unsupported-platform"), z.literal("operation-error")]),
|
|
448
|
+
'diagnostic': z.string().optional(),
|
|
449
|
+
'incompatible': z.array(z.object({
|
|
450
|
+
'name': z.string(),
|
|
451
|
+
'version': z.string(),
|
|
452
|
+
'runtimeVersion': z.string(),
|
|
453
|
+
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
454
|
+
})).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
|
|
455
|
+
}).optional(),
|
|
456
|
+
'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
|
|
457
|
+
'packageResult': z.object({
|
|
458
|
+
'exitCode': z.number(),
|
|
459
|
+
'output': z.string(),
|
|
460
|
+
'truncated': z.boolean(),
|
|
461
|
+
'logPath': z.string(),
|
|
462
|
+
'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("not-found"), z.literal("pnpm-missing"), z.literal("no-matching-version"), z.literal("disk-full"), z.literal("permission"), z.literal("build-blocked")]).optional().describe('Present when the run failed: what kind of failure its exit and output describe.'),
|
|
463
|
+
'timedOut': z.boolean().optional().describe('The manager terminated the run after it printed nothing for its silence bound; `exitCode` still reports how it ended.'),
|
|
464
|
+
'incompatible': z.array(z.object({
|
|
465
|
+
'name': z.string(),
|
|
466
|
+
'version': z.string(),
|
|
467
|
+
'runtimeVersion': z.string(),
|
|
468
|
+
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
469
|
+
})).optional().describe('Present when a compatibility check refused the run: the packages the running DSH version rejects.'),
|
|
470
|
+
}).optional(),
|
|
471
|
+
'bundle': z.string().optional().describe('The bundle an installation added, once pnpm and the bundle check accepted it.'),
|
|
472
|
+
'version': z.string().optional().describe('The installed bundle\'s manifest version, when declared; pnpm\'s `minimumReleaseAge` can make it older than the newest release.'),
|
|
473
|
+
'pendingBuilds': z.array(z.string()).optional().describe('Exact `allowBuilds` keys awaiting explicit script approval in the profile\'s pnpm settings, read after a failed run.'),
|
|
474
|
+
'approvedBuilds': z.array(z.string()).optional().describe('Package script permissions saved before this installation attempt.'),
|
|
475
|
+
'registries': z.array(z.union([z.literal(null), z.string()])).optional().describe('The registries the installation asked, in order; `packageResult` is the last one\'s run.'),
|
|
476
|
+
'failedAt': z.union([z.literal("registry"), z.literal("spec-host")]).optional().describe('What the last failed run could not reach or get an answer from: the registry it asked, or the host a git or tarball spec is fetched from, which no registry stands in for; absent for a failure neither explains.'),
|
|
477
|
+
}).readonly(),
|
|
478
|
+
'restore': z.object({
|
|
479
|
+
'changed': z.boolean(),
|
|
480
|
+
'application': z.union([z.literal("cancelled"), z.literal("failed"), z.literal("applied"), z.literal("restart-required"), z.literal("overridden")]).describe('`cancelled` is an installation the caller stopped, its files restored.'),
|
|
481
|
+
'restartReason': z.union([z.literal("no-hmr"), z.literal("package-moved"), z.literal("host-module"), z.literal("unmanaged-plugin"), z.literal("module-comparison")]).optional().describe('Present with `restart-required`: why the change takes effect only at the next start.'),
|
|
482
|
+
'stage': z.union([z.literal("remove"), z.literal("install"), z.literal("enable")]).describe('Last attempted step; successful installation can proceed to enablement.'),
|
|
483
|
+
'target': z.string(),
|
|
484
|
+
'enabled': z.boolean().optional(),
|
|
485
|
+
'error': z.object({
|
|
486
|
+
'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), z.literal("already-installed"), z.literal("ambiguous-install"), z.literal("not-bundle"), z.literal("not-removable"), z.literal("stop-profile"), z.literal("bundle-in-use"), z.literal("stale-approval"), z.literal("incompatible-version"), z.literal("unsupported-platform"), z.literal("operation-error")]),
|
|
487
|
+
'diagnostic': z.string().optional(),
|
|
488
|
+
'incompatible': z.array(z.object({
|
|
489
|
+
'name': z.string(),
|
|
490
|
+
'version': z.string(),
|
|
491
|
+
'runtimeVersion': z.string(),
|
|
492
|
+
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
493
|
+
})).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
|
|
494
|
+
}).optional(),
|
|
495
|
+
'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
|
|
496
|
+
'packageResult': z.object({
|
|
497
|
+
'exitCode': z.number(),
|
|
498
|
+
'output': z.string(),
|
|
499
|
+
'truncated': z.boolean(),
|
|
500
|
+
'logPath': z.string(),
|
|
501
|
+
'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("not-found"), z.literal("pnpm-missing"), z.literal("no-matching-version"), z.literal("disk-full"), z.literal("permission"), z.literal("build-blocked")]).optional().describe('Present when the run failed: what kind of failure its exit and output describe.'),
|
|
502
|
+
'timedOut': z.boolean().optional().describe('The manager terminated the run after it printed nothing for its silence bound; `exitCode` still reports how it ended.'),
|
|
503
|
+
'incompatible': z.array(z.object({
|
|
504
|
+
'name': z.string(),
|
|
505
|
+
'version': z.string(),
|
|
506
|
+
'runtimeVersion': z.string(),
|
|
507
|
+
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
508
|
+
})).optional().describe('Present when a compatibility check refused the run: the packages the running DSH version rejects.'),
|
|
509
|
+
}).optional(),
|
|
510
|
+
'bundle': z.string().optional().describe('The bundle an installation added, once pnpm and the bundle check accepted it.'),
|
|
511
|
+
'version': z.string().optional().describe('The installed bundle\'s manifest version, when declared; pnpm\'s `minimumReleaseAge` can make it older than the newest release.'),
|
|
512
|
+
'pendingBuilds': z.array(z.string()).optional().describe('Exact `allowBuilds` keys awaiting explicit script approval in the profile\'s pnpm settings, read after a failed run.'),
|
|
513
|
+
'approvedBuilds': z.array(z.string()).optional().describe('Package script permissions saved before this installation attempt.'),
|
|
514
|
+
'registries': z.array(z.union([z.literal(null), z.string()])).optional().describe('The registries the installation asked, in order; `packageResult` is the last one\'s run.'),
|
|
515
|
+
'failedAt': z.union([z.literal("registry"), z.literal("spec-host")]).optional().describe('What the last failed run could not reach or get an answer from: the registry it asked, or the host a git or tarball spec is fetched from, which no registry stands in for; absent for a failure neither explains.'),
|
|
516
|
+
}).readonly().optional(),
|
|
517
|
+
}))
|
|
363
518
|
let _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_parameter_0$schema$value
|
|
364
519
|
const _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_parameter_0$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_parameter_0$schema$value ??= z.string())
|
|
365
520
|
let _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_result$schema$value
|
|
@@ -371,7 +526,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_result$schema
|
|
|
371
526
|
'target': z.string(),
|
|
372
527
|
'enabled': z.boolean().optional(),
|
|
373
528
|
'error': z.object({
|
|
374
|
-
'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), z.literal("already-installed"), z.literal("ambiguous-install"), z.literal("not-bundle"), z.literal("not-removable"), z.literal("stop-profile"), z.literal("bundle-in-use"), z.literal("stale-approval"), z.literal("incompatible-version"), z.literal("operation-error")]),
|
|
529
|
+
'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), z.literal("already-installed"), z.literal("ambiguous-install"), z.literal("not-bundle"), z.literal("not-removable"), z.literal("stop-profile"), z.literal("bundle-in-use"), z.literal("stale-approval"), z.literal("incompatible-version"), z.literal("unsupported-platform"), z.literal("operation-error")]),
|
|
375
530
|
'diagnostic': z.string().optional(),
|
|
376
531
|
'incompatible': z.array(z.object({
|
|
377
532
|
'name': z.string(),
|
|
@@ -386,7 +541,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_result$schema
|
|
|
386
541
|
'output': z.string(),
|
|
387
542
|
'truncated': z.boolean(),
|
|
388
543
|
'logPath': z.string(),
|
|
389
|
-
'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("
|
|
544
|
+
'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("not-found"), z.literal("pnpm-missing"), z.literal("no-matching-version"), z.literal("disk-full"), z.literal("permission"), z.literal("build-blocked")]).optional().describe('Present when the run failed: what kind of failure its exit and output describe.'),
|
|
390
545
|
'timedOut': z.boolean().optional().describe('The manager terminated the run after it printed nothing for its silence bound; `exitCode` still reports how it ended.'),
|
|
391
546
|
'incompatible': z.array(z.object({
|
|
392
547
|
'name': z.string(),
|
|
@@ -397,7 +552,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_result$schema
|
|
|
397
552
|
}).optional(),
|
|
398
553
|
'bundle': z.string().optional().describe('The bundle an installation added, once pnpm and the bundle check accepted it.'),
|
|
399
554
|
'version': z.string().optional().describe('The installed bundle\'s manifest version, when declared; pnpm\'s `minimumReleaseAge` can make it older than the newest release.'),
|
|
400
|
-
'pendingBuilds': z.array(z.string()).optional().describe('Exact
|
|
555
|
+
'pendingBuilds': z.array(z.string()).optional().describe('Exact `allowBuilds` keys awaiting explicit script approval in the profile\'s pnpm settings, read after a failed run.'),
|
|
401
556
|
'approvedBuilds': z.array(z.string()).optional().describe('Package script permissions saved before this installation attempt.'),
|
|
402
557
|
'registries': z.array(z.union([z.literal(null), z.string()])).optional().describe('The registries the installation asked, in order; `packageResult` is the last one\'s run.'),
|
|
403
558
|
'failedAt': z.union([z.literal("registry"), z.literal("spec-host")]).optional().describe('What the last failed run could not reach or get an answer from: the registry it asked, or the host a git or tarball spec is fetched from, which no registry stands in for; absent for a failure neither explains.'),
|
|
@@ -420,6 +575,20 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_parameter_1_st
|
|
|
420
575
|
'approvedBuilds': z.array(z.string()).optional().describe('Explicitly allow these pending packages\' scripts for this profile, then install; a name no longer pending refuses the call.'),
|
|
421
576
|
'registry': z.union([z.literal(null), z.string()]).optional().describe('The registry asked first; absent, the configured one. The configured fallbacks follow while a registry is unreachable or stale.'),
|
|
422
577
|
})]))
|
|
578
|
+
let _deepseek_ai_dsh_plugin_manager_pluginManager_listVersions_parameter_0_strict$schema$value
|
|
579
|
+
const _deepseek_ai_dsh_plugin_manager_pluginManager_listVersions_parameter_0_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_listVersions_parameter_0_strict$schema$value ??= z.string())
|
|
580
|
+
let _deepseek_ai_dsh_plugin_manager_pluginManager_listVersions_parameter_1_strict$schema$value
|
|
581
|
+
const _deepseek_ai_dsh_plugin_manager_pluginManager_listVersions_parameter_1_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_listVersions_parameter_1_strict$schema$value ??= z.union([z.undefined(), z.strictObject({
|
|
582
|
+
'registry': z.union([z.literal(null), z.string()]).readonly().optional().describe('The registry asked first; absent, the one this process last installed the package from, else the configured one.'),
|
|
583
|
+
})]))
|
|
584
|
+
let _deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_0_strict$schema$value
|
|
585
|
+
const _deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_0_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_0_strict$schema$value ??= z.string())
|
|
586
|
+
let _deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_1_strict$schema$value
|
|
587
|
+
const _deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_1_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_1_strict$schema$value ??= z.string())
|
|
588
|
+
let _deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_2_strict$schema$value
|
|
589
|
+
const _deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_2_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_2_strict$schema$value ??= z.union([z.undefined(), z.strictObject({
|
|
590
|
+
'npmFileSources': z.array(z.union([z.literal("jsdelivr"), z.literal("unpkg"), z.literal("npmmirror")])).optional(),
|
|
591
|
+
})]))
|
|
423
592
|
let _deepseek_ai_dsh_plugin_manager_pluginManager_removeBundle_parameter_0_strict$schema$value
|
|
424
593
|
const _deepseek_ai_dsh_plugin_manager_pluginManager_removeBundle_parameter_0_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_removeBundle_parameter_0_strict$schema$value ??= z.string())
|
|
425
594
|
let _deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_parameter_0_strict$schema$value
|
|
@@ -438,6 +607,15 @@ let _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_
|
|
|
438
607
|
const _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_2_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_2_strict$schema$value ??= z.boolean())
|
|
439
608
|
let _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_3_strict$schema$value
|
|
440
609
|
const _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_3_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_3_strict$schema$value ??= z.union([z.undefined(), z.literal(false), z.literal(true)]))
|
|
610
|
+
let _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_0_strict$schema$value
|
|
611
|
+
const _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_0_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_0_strict$schema$value ??= z.string())
|
|
612
|
+
let _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_1_strict$schema$value
|
|
613
|
+
const _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_1_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_1_strict$schema$value ??= z.string())
|
|
614
|
+
let _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_2_strict$schema$value
|
|
615
|
+
const _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_2_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_2_strict$schema$value ??= z.union([z.undefined(), z.strictObject({
|
|
616
|
+
'registry': z.union([z.literal(null), z.string()]).readonly().optional().describe('The registry asked first, normally the one that answered `listVersions`; absent, as for `listVersions`.'),
|
|
617
|
+
'requestId': z.string().readonly().optional().describe('Names the update\'s progress and the target installation\'s logs; `cancelInstall` stops only that installation.'),
|
|
618
|
+
})]))
|
|
441
619
|
let _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_parameter_0_strict$schema$value
|
|
442
620
|
const _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_parameter_0_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_parameter_0_strict$schema$value ??= z.string())
|
|
443
621
|
|
|
@@ -474,7 +652,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
474
652
|
description: '`cancelled` once the Git check or pnpm exited and the files are restored, `too-late` once the bundle is being applied, `not-running` for any other id.',
|
|
475
653
|
jsonSchema: {"type":"object","properties":{"status":{"type":"string","enum":["cancelled","not-running","too-late"]}},"required":["status"],"additionalProperties":true},
|
|
476
654
|
},
|
|
477
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
655
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":1018,"column":9},
|
|
478
656
|
},
|
|
479
657
|
'pluginManager/inspect': {
|
|
480
658
|
service: 'pluginManager',
|
|
@@ -523,13 +701,13 @@ const $remote = createTypertRemoteInfo({
|
|
|
523
701
|
typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#PluginSpecInspection',
|
|
524
702
|
create: _deepseek_ai_dsh_plugin_manager_pluginManager_inspect_result$schema,
|
|
525
703
|
description: 'The package the spec names, or why it is refused.',
|
|
526
|
-
jsonSchema: {"oneOf":[{"type":"object","properties":{"status":{"type":"string","const":"accepted"},"kind":{"type":"string","enum":["registry","path","git","tarball"]},"name":{"type":"string"},"version":{"type":"string"},"description":{"type":"string","description":"`description` of the package manifest."},"bundle":{"oneOf":[{"type":"null","const":null},{"type":"boolean","enum":[false,true]}],"description":"Whether the package declares a bundle patch; null when the spec's form does not say."},"registry":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The registry that answered for a name, and for the other forms the one an install of the spec asks first."},"host":{"type":"string","description":"The host a git spec or a tarball URL is fetched from, which no registry stands in for."}},"required":["status","kind","bundle","registry"],"additionalProperties":true},{"type":"object","properties":{"status":{"type":"string","const":"refused"},"problem":{"type":"string","enum":["network","unknown","invalid-spec","already-installed","not-
|
|
704
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"status":{"type":"string","const":"accepted"},"kind":{"type":"string","enum":["registry","path","git","tarball"]},"name":{"type":"string"},"version":{"type":"string"},"description":{"type":"string","description":"`description` of the package manifest."},"bundle":{"oneOf":[{"type":"null","const":null},{"type":"boolean","enum":[false,true]}],"description":"Whether the package declares a bundle patch; null when the spec's form does not say."},"registry":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The registry that answered for a name, and for the other forms the one an install of the spec asks first."},"host":{"type":"string","description":"The host a git spec or a tarball URL is fetched from, which no registry stands in for."}},"required":["status","kind","bundle","registry"],"additionalProperties":true},{"type":"object","properties":{"status":{"type":"string","const":"refused"},"problem":{"type":"string","enum":["network","unknown","not-found","invalid-spec","already-installed","not-a-package","not-a-bundle"]},"reason":{"type":"string","description":"What pnpm, the registry, or the file system said."},"registries":{"type":"array","items":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"description":"The registries asked, in order, when the refusal came from asking them; `reason` is the last one's."}},"required":["status","problem","reason"],"additionalProperties":true}]},
|
|
527
705
|
},
|
|
528
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
706
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":602,"column":9},
|
|
529
707
|
},
|
|
530
708
|
'pluginManager/installBundle': {
|
|
531
709
|
service: 'pluginManager',
|
|
532
|
-
description: 'Install a package using the same pnpm implementation as dsh plugin. GitHub repositories get a connection check bounded by githubConnectionTimeoutMs before pnpm starts; only network failures or timeouts stop installation, while pnpm owns authentication and transport fallback. A run that fails, is cancelled, or adds a package without a bundle patch restores `package.json` and `pnpm-lock.yaml` as they were; downloaded files can stay.',
|
|
710
|
+
description: 'Install a package using the same pnpm implementation as dsh plugin. GitHub repositories get a connection check bounded by githubConnectionTimeoutMs before pnpm starts; only network failures or timeouts stop installation, while pnpm owns authentication and transport fallback. An HTTP(S) Git URL on another host is installed over SSH instead when access probes bounded by gitTransportTimeoutMs find that only SSH can read it. A run that fails, is cancelled, or adds a package without a bundle patch restores `package.json` and `pnpm-lock.yaml` as they were; downloaded files can stay.',
|
|
533
711
|
invocation: { kind: 'direct' },
|
|
534
712
|
parameters: [
|
|
535
713
|
{
|
|
@@ -575,7 +753,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
575
753
|
description: 'Package-manager diagnostics, the registries asked, and the observed activation outcome.',
|
|
576
754
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
577
755
|
},
|
|
578
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
756
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":871,"column":3},
|
|
579
757
|
},
|
|
580
758
|
'pluginManager/listBundles': {
|
|
581
759
|
service: 'pluginManager',
|
|
@@ -590,7 +768,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
590
768
|
description: 'Package versions, manifest descriptions, the installable spec of profile dependencies, rows, optional display metadata, activation selections, whether the installation offers the bundle, and removal availability.',
|
|
591
769
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
592
770
|
},
|
|
593
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
771
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":489,"column":3},
|
|
594
772
|
},
|
|
595
773
|
'pluginManager/listPlugins': {
|
|
596
774
|
service: 'pluginManager',
|
|
@@ -605,7 +783,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
605
783
|
description: 'Current runtime entries with persistent patch targets.',
|
|
606
784
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
607
785
|
},
|
|
608
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
786
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":465,"column":9},
|
|
609
787
|
},
|
|
610
788
|
'pluginManager/listVersionExemptions': {
|
|
611
789
|
service: 'pluginManager',
|
|
@@ -620,7 +798,125 @@ const $remote = createTypertRemoteInfo({
|
|
|
620
798
|
description: 'Accepted package-name@version keys with the runtime versions they may run on, and any record or file problem the reader rejected, which the caller reports instead of failing.',
|
|
621
799
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
622
800
|
},
|
|
623
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
801
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":441,"column":3},
|
|
802
|
+
},
|
|
803
|
+
'pluginManager/listVersions': {
|
|
804
|
+
service: 'pluginManager',
|
|
805
|
+
description: 'Read the published versions newer than an installed registry package\'s version, from the first registry that answers. Official bundles follow the DSH version and are not listed.',
|
|
806
|
+
invocation: { kind: 'direct' },
|
|
807
|
+
parameters: [
|
|
808
|
+
{
|
|
809
|
+
name: 'name',
|
|
810
|
+
description: 'Installed profile dependency name.',
|
|
811
|
+
source: 'json',
|
|
812
|
+
codec: {
|
|
813
|
+
mode: 'strict',
|
|
814
|
+
typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/listVersions:name',
|
|
815
|
+
create: _deepseek_ai_dsh_plugin_manager_pluginManager_listVersions_parameter_0$schema,
|
|
816
|
+
jsonSchema: {"type":"string"},
|
|
817
|
+
},
|
|
818
|
+
strictCodec: {
|
|
819
|
+
mode: 'strict',
|
|
820
|
+
typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/listVersions:name',
|
|
821
|
+
create: _deepseek_ai_dsh_plugin_manager_pluginManager_listVersions_parameter_0_strict$schema,
|
|
822
|
+
jsonSchema: {"type":"string"},
|
|
823
|
+
},
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
name: 'options',
|
|
827
|
+
description: 'The registry asked first; absent, the one the package was installed from in this process, else the configured one.',
|
|
828
|
+
source: 'json',
|
|
829
|
+
acceptsUndefined: true,
|
|
830
|
+
codec: {
|
|
831
|
+
mode: 'strict',
|
|
832
|
+
typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#ListVersionsOptions',
|
|
833
|
+
create: _deepseek_ai_dsh_plugin_manager_pluginManager_listVersions_parameter_1$schema,
|
|
834
|
+
jsonSchema: {"type":"object","properties":{"registry":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The registry asked first; absent, the one this process last installed the package from, else the configured one."}},"required":[],"additionalProperties":true},
|
|
835
|
+
},
|
|
836
|
+
strictCodec: {
|
|
837
|
+
mode: 'strict',
|
|
838
|
+
typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#ListVersionsOptions',
|
|
839
|
+
create: _deepseek_ai_dsh_plugin_manager_pluginManager_listVersions_parameter_1_strict$schema,
|
|
840
|
+
jsonSchema: {"type":"object","properties":{"registry":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The registry asked first; absent, the one this process last installed the package from, else the configured one."}},"required":[],"additionalProperties":false},
|
|
841
|
+
},
|
|
842
|
+
},
|
|
843
|
+
],
|
|
844
|
+
cancellation: { parameter: 'signal' },
|
|
845
|
+
result: {
|
|
846
|
+
mode: 'strict',
|
|
847
|
+
typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#PluginVersionList',
|
|
848
|
+
create: _deepseek_ai_dsh_plugin_manager_pluginManager_listVersions_result$schema,
|
|
849
|
+
description: 'At most `versionListLimit` newer versions, newest first, with their tags, deprecation, bundle declaration, and DSH compatibility, and the registry that answered; or why no list could be read, with every registry asked.',
|
|
850
|
+
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
851
|
+
},
|
|
852
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":662,"column":9},
|
|
853
|
+
},
|
|
854
|
+
'pluginManager/readBundleDetail': {
|
|
855
|
+
service: 'pluginManager',
|
|
856
|
+
description: 'Read a bundle\'s long description: the Markdown file its locale `meta.detail` names in `language`, otherwise its README. An installed bundle is read from its directory without network access; an official bundle the installation offers before it is installed is read from the npm file CDNs at its offered version. Nothing is cached.',
|
|
857
|
+
invocation: { kind: 'direct' },
|
|
858
|
+
parameters: [
|
|
859
|
+
{
|
|
860
|
+
name: 'name',
|
|
861
|
+
description: 'the bundle\'s package name, as `listBundles()` lists it.',
|
|
862
|
+
source: 'json',
|
|
863
|
+
codec: {
|
|
864
|
+
mode: 'strict',
|
|
865
|
+
typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/readBundleDetail:name',
|
|
866
|
+
create: _deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_0$schema,
|
|
867
|
+
jsonSchema: {"type":"string"},
|
|
868
|
+
},
|
|
869
|
+
strictCodec: {
|
|
870
|
+
mode: 'strict',
|
|
871
|
+
typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/readBundleDetail:name',
|
|
872
|
+
create: _deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_0_strict$schema,
|
|
873
|
+
jsonSchema: {"type":"string"},
|
|
874
|
+
},
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
name: 'language',
|
|
878
|
+
description: 'the display language, such as `zh-CN`; documents fall back through its prefixes to English.',
|
|
879
|
+
source: 'json',
|
|
880
|
+
codec: {
|
|
881
|
+
mode: 'strict',
|
|
882
|
+
typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/readBundleDetail:language',
|
|
883
|
+
create: _deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_1$schema,
|
|
884
|
+
jsonSchema: {"type":"string"},
|
|
885
|
+
},
|
|
886
|
+
strictCodec: {
|
|
887
|
+
mode: 'strict',
|
|
888
|
+
typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/readBundleDetail:language',
|
|
889
|
+
create: _deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_1_strict$schema,
|
|
890
|
+
jsonSchema: {"type":"string"},
|
|
891
|
+
},
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
name: 'options',
|
|
895
|
+
description: '`npmFileSources` names npm file CDNs to ask first for an offered bundle, in order, such as the one a Client measured as fastest; configured CDNs it omits follow, and CDNs that are not configured are not asked.',
|
|
896
|
+
source: 'json',
|
|
897
|
+
acceptsUndefined: true,
|
|
898
|
+
codec: {
|
|
899
|
+
mode: 'strict',
|
|
900
|
+
typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/readBundleDetail:options',
|
|
901
|
+
create: _deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_2$schema,
|
|
902
|
+
jsonSchema: {"type":"object","properties":{"npmFileSources":{"type":"array","items":{"type":"string","enum":["jsdelivr","unpkg","npmmirror"]}}},"required":[],"additionalProperties":true},
|
|
903
|
+
},
|
|
904
|
+
strictCodec: {
|
|
905
|
+
mode: 'strict',
|
|
906
|
+
typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/readBundleDetail:options',
|
|
907
|
+
create: _deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_parameter_2_strict$schema,
|
|
908
|
+
jsonSchema: {"type":"object","properties":{"npmFileSources":{"type":"array","items":{"type":"string","enum":["jsdelivr","unpkg","npmmirror"]}}},"required":[],"additionalProperties":false},
|
|
909
|
+
},
|
|
910
|
+
},
|
|
911
|
+
],
|
|
912
|
+
result: {
|
|
913
|
+
mode: 'strict',
|
|
914
|
+
typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#BundleDetail',
|
|
915
|
+
create: _deepseek_ai_dsh_plugin_manager_pluginManager_readBundleDetail_result$schema,
|
|
916
|
+
description: 'the document with its origin and path, or `none`.',
|
|
917
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"status":{"type":"string","const":"found"},"origin":{"type":"string","enum":["locale","readme"],"description":"`locale` for the file locale `meta.detail` names, `readme` for the package's README."},"path":{"type":"string","description":"`/`-separated path of the document inside the package."},"markdown":{"type":"string","description":"Markdown text without a byte order mark or a leading YAML front matter block."}},"required":["status","origin","path","markdown"],"additionalProperties":true},{"type":"object","properties":{"status":{"type":"string","const":"none"}},"required":["status"],"additionalProperties":true}]},
|
|
918
|
+
},
|
|
919
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":405,"column":9},
|
|
624
920
|
},
|
|
625
921
|
'pluginManager/registries': {
|
|
626
922
|
service: 'pluginManager',
|
|
@@ -635,7 +931,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
635
931
|
description: 'The registries in pnpm\'s comparison form; null is the one pnpm\'s own configuration names, `resolved` as pnpm reads it now.',
|
|
636
932
|
jsonSchema: {"type":"object","properties":{"registry":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"fallbackRegistries":{"type":"array","items":{"type":"string"}},"resolved":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The URL pnpm's own configuration names in the profile, read from pnpm; null when it could not be read."}},"required":["registry","fallbackRegistries","resolved"],"additionalProperties":true},
|
|
637
933
|
},
|
|
638
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
934
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":586,"column":9},
|
|
639
935
|
},
|
|
640
936
|
'pluginManager/removeBundle': {
|
|
641
937
|
service: 'pluginManager',
|
|
@@ -667,7 +963,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
667
963
|
description: 'Removal diagnostics and the remaining profile state.',
|
|
668
964
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
669
965
|
},
|
|
670
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
966
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":1035,"column":3},
|
|
671
967
|
},
|
|
672
968
|
'pluginManager/setBundleEnabled': {
|
|
673
969
|
service: 'pluginManager',
|
|
@@ -716,7 +1012,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
716
1012
|
description: 'Persisted and runtime outcomes.',
|
|
717
1013
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
718
1014
|
},
|
|
719
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
1015
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":850,"column":3},
|
|
720
1016
|
},
|
|
721
1017
|
'pluginManager/setPluginEnabled': {
|
|
722
1018
|
service: 'pluginManager',
|
|
@@ -765,7 +1061,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
765
1061
|
description: 'Saved and runtime outcomes, including higher-priority overrides.',
|
|
766
1062
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
767
1063
|
},
|
|
768
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
1064
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":832,"column":3},
|
|
769
1065
|
},
|
|
770
1066
|
'pluginManager/setVersionExemption': {
|
|
771
1067
|
service: 'pluginManager',
|
|
@@ -849,7 +1145,74 @@ const $remote = createTypertRemoteInfo({
|
|
|
849
1145
|
description: 'Saved and runtime outcomes. Startup-only profiles require restart.',
|
|
850
1146
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
851
1147
|
},
|
|
852
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
1148
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":454,"column":3},
|
|
1149
|
+
},
|
|
1150
|
+
'pluginManager/updateBundle': {
|
|
1151
|
+
service: 'pluginManager',
|
|
1152
|
+
description: 'Replace an installed registry bundle with a newer published version. The target is checked on the registry first: it must exist, declare a bundle, and accept the running DSH version, or nothing changes. With HMR the installed version is removed, so its plugins stop, and the target is installed with the same selection; when that installation fails or is cancelled, the removed version is installed again from the registry it came from. Without HMR the target is installed over the running version and the result reports the restart.',
|
|
1153
|
+
invocation: { kind: 'direct' },
|
|
1154
|
+
parameters: [
|
|
1155
|
+
{
|
|
1156
|
+
name: 'name',
|
|
1157
|
+
description: 'Installed profile dependency name.',
|
|
1158
|
+
source: 'json',
|
|
1159
|
+
codec: {
|
|
1160
|
+
mode: 'strict',
|
|
1161
|
+
typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/updateBundle:name',
|
|
1162
|
+
create: _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_0$schema,
|
|
1163
|
+
jsonSchema: {"type":"string"},
|
|
1164
|
+
},
|
|
1165
|
+
strictCodec: {
|
|
1166
|
+
mode: 'strict',
|
|
1167
|
+
typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/updateBundle:name',
|
|
1168
|
+
create: _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_0_strict$schema,
|
|
1169
|
+
jsonSchema: {"type":"string"},
|
|
1170
|
+
},
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
name: 'version',
|
|
1174
|
+
description: 'Exact published version newer than the installed one.',
|
|
1175
|
+
source: 'json',
|
|
1176
|
+
codec: {
|
|
1177
|
+
mode: 'strict',
|
|
1178
|
+
typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/updateBundle:version',
|
|
1179
|
+
create: _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_1$schema,
|
|
1180
|
+
jsonSchema: {"type":"string"},
|
|
1181
|
+
},
|
|
1182
|
+
strictCodec: {
|
|
1183
|
+
mode: 'strict',
|
|
1184
|
+
typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/updateBundle:version',
|
|
1185
|
+
create: _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_1_strict$schema,
|
|
1186
|
+
jsonSchema: {"type":"string"},
|
|
1187
|
+
},
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
name: 'options',
|
|
1191
|
+
description: 'The registry asked first, as for `listVersions`, and the request id naming the progress and the target installation\'s logs and cancellation.',
|
|
1192
|
+
source: 'json',
|
|
1193
|
+
acceptsUndefined: true,
|
|
1194
|
+
codec: {
|
|
1195
|
+
mode: 'strict',
|
|
1196
|
+
typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#UpdateBundleOptions',
|
|
1197
|
+
create: _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_2$schema,
|
|
1198
|
+
jsonSchema: {"type":"object","properties":{"registry":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The registry asked first, normally the one that answered `listVersions`; absent, as for `listVersions`."},"requestId":{"type":"string","description":"Names the update's progress and the target installation's logs; `cancelInstall` stops only that installation."}},"required":[],"additionalProperties":true},
|
|
1199
|
+
},
|
|
1200
|
+
strictCodec: {
|
|
1201
|
+
mode: 'strict',
|
|
1202
|
+
typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#UpdateBundleOptions',
|
|
1203
|
+
create: _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_2_strict$schema,
|
|
1204
|
+
jsonSchema: {"type":"object","properties":{"registry":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The registry asked first, normally the one that answered `listVersions`; absent, as for `listVersions`."},"requestId":{"type":"string","description":"Names the update's progress and the target installation's logs; `cancelInstall` stops only that installation."}},"required":[],"additionalProperties":false},
|
|
1205
|
+
},
|
|
1206
|
+
},
|
|
1207
|
+
],
|
|
1208
|
+
result: {
|
|
1209
|
+
mode: 'strict',
|
|
1210
|
+
typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#PluginUpdateResult',
|
|
1211
|
+
create: _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_result$schema,
|
|
1212
|
+
description: 'The versions, the last step that ran with its result, and the reinstallation when one ran.',
|
|
1213
|
+
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
1214
|
+
},
|
|
1215
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":713,"column":9},
|
|
853
1216
|
},
|
|
854
1217
|
'pluginManager/waitForInstall': {
|
|
855
1218
|
service: 'pluginManager',
|
|
@@ -881,7 +1244,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
881
1244
|
description: 'The installation\'s outcome after it settles, or null if no active request has that id. Completed results are not retained; null establishes neither success nor cancellation.',
|
|
882
1245
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
883
1246
|
},
|
|
884
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
1247
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":1008,"column":9},
|
|
885
1248
|
},
|
|
886
1249
|
},
|
|
887
1250
|
}, z)
|
|
@@ -902,6 +1265,13 @@ export const TYPERT = {
|
|
|
902
1265
|
"key": "pluginManager",
|
|
903
1266
|
"exportName": "PluginManager",
|
|
904
1267
|
"members": [
|
|
1268
|
+
{
|
|
1269
|
+
"kind": "method",
|
|
1270
|
+
"name": "readBundleDetail",
|
|
1271
|
+
"signature": "@Remote async readBundleDetail(name: string, language: string, options?: { npmFileSources?: NpmFileSource[] }): Promise<BundleDetail>",
|
|
1272
|
+
"summary": "Read a bundle's long description: the Markdown file its locale `meta.detail` names in `language`, otherwise its README.",
|
|
1273
|
+
"jsDoc": "/**\n * Read a bundle's long description: the Markdown file its locale `meta.detail` names in `language`, otherwise its\n * README. An installed bundle is read from its directory without network access; an official bundle the installation\n * offers before it is installed is read from the npm file CDNs at its offered version. Nothing is cached.\n * @param name - the bundle's package name, as `listBundles()` lists it.\n * @param language - the display language, such as `zh-CN`; documents fall back through its prefixes to English.\n * @param options - `npmFileSources` names npm file CDNs to ask first for an offered bundle, in order, such as the one\n * a Client measured as fastest; configured CDNs it omits follow, and CDNs that are not configured are not asked.\n * @returns the document with its origin and path, or `none`.\n * @throws {RemoteError} `plugin-manager/unknown-bundle`, `plugin-manager/invalid-language`, or\n * `plugin-manager/detail-unavailable`.\n */"
|
|
1274
|
+
},
|
|
905
1275
|
{
|
|
906
1276
|
"kind": "method",
|
|
907
1277
|
"name": "listVersionExemptions",
|
|
@@ -944,6 +1314,20 @@ export const TYPERT = {
|
|
|
944
1314
|
"summary": "Read what a spec names before installing it.",
|
|
945
1315
|
"jsDoc": "/** Read what a spec names before installing it.\n * @param spec One package spec: a registry name, an absolute path, a git address, or a tarball.\n * @param options The registry asked first.\n * @param signal Ends a registry lookup early.\n * @returns The package the spec names, or why it is refused.\n */"
|
|
946
1316
|
},
|
|
1317
|
+
{
|
|
1318
|
+
"kind": "method",
|
|
1319
|
+
"name": "listVersions",
|
|
1320
|
+
"signature": "@Remote async listVersions(name: string, options?: ListVersionsOptions, signal?: AbortSignal): Promise<PluginVersionList>",
|
|
1321
|
+
"summary": "Read the published versions newer than an installed registry package's version, from the first registry that answers.",
|
|
1322
|
+
"jsDoc": "/** Read the published versions newer than an installed registry package's version, from the first registry that answers.\n * Official bundles follow the DSH version and are not listed.\n * @param name Installed profile dependency name.\n * @param options The registry asked first; absent, the one the package was installed from in this process, else the configured one.\n * @param signal Ends the lookups early.\n * @returns At most `versionListLimit` newer versions, newest first, with their tags, deprecation, bundle declaration,\n * and DSH compatibility, and the registry that answered; or why no list could be read, with every registry asked.\n */"
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
"kind": "method",
|
|
1326
|
+
"name": "updateBundle",
|
|
1327
|
+
"signature": "@Remote async updateBundle(name: string, version: string, options?: UpdateBundleOptions): Promise<PluginUpdateResult>",
|
|
1328
|
+
"summary": "Replace an installed registry bundle with a newer published version.",
|
|
1329
|
+
"jsDoc": "/**\n * Replace an installed registry bundle with a newer published version. The target is checked on the registry first:\n * it must exist, declare a bundle, and accept the running DSH version, or nothing changes. With HMR the installed\n * version is removed, so its plugins stop, and the target is installed with the same selection; when that\n * installation fails or is cancelled, the removed version is installed again from the registry it came from.\n * Without HMR the target is installed over the running version and the result reports the restart.\n * @param name Installed profile dependency name.\n * @param version Exact published version newer than the installed one.\n * @param options The registry asked first, as for `listVersions`, and the request id naming the progress and the\n * target installation's logs and cancellation.\n * @returns The versions, the last step that ran with its result, and the reinstallation when one ran.\n */"
|
|
1330
|
+
},
|
|
947
1331
|
{
|
|
948
1332
|
"kind": "method",
|
|
949
1333
|
"name": "setPluginEnabled",
|
|
@@ -963,7 +1347,7 @@ export const TYPERT = {
|
|
|
963
1347
|
"name": "installBundle",
|
|
964
1348
|
"signature": "@Remote installBundle(spec: string, options?: InstallBundleOptions): Promise<ChangeResult>",
|
|
965
1349
|
"summary": "Install a package using the same pnpm implementation as dsh plugin.",
|
|
966
|
-
"jsDoc": "/**\n * Install a package using the same pnpm implementation as dsh plugin. GitHub\n * repositories get a connection check bounded by githubConnectionTimeoutMs before pnpm starts;\n * only network failures or timeouts stop installation, while pnpm owns authentication and transport fallback. A run\n * that fails, is cancelled, or adds a package without a bundle patch restores\n * `package.json` and `pnpm-lock.yaml` as they were; downloaded files can stay.\n * @param spec One package spec, including local paths relative to the invocation directory.\n * @param options Whether to activate the installed bundle (defaults to true), the request id a cancellation names,\n * the pending build scripts to allow, whether to save an exact dependency, and the registry asked first.\n * @returns Package-manager diagnostics, the registries asked, and the observed activation outcome.\n */"
|
|
1350
|
+
"jsDoc": "/**\n * Install a package using the same pnpm implementation as dsh plugin. GitHub\n * repositories get a connection check bounded by githubConnectionTimeoutMs before pnpm starts;\n * only network failures or timeouts stop installation, while pnpm owns authentication and transport fallback. An\n * HTTP(S) Git URL on another host is installed over SSH instead when access probes bounded by gitTransportTimeoutMs\n * find that only SSH can read it. A run\n * that fails, is cancelled, or adds a package without a bundle patch restores\n * `package.json` and `pnpm-lock.yaml` as they were; downloaded files can stay.\n * @param spec One package spec, including local paths relative to the invocation directory.\n * @param options Whether to activate the installed bundle (defaults to true), the request id a cancellation names,\n * the pending build scripts to allow, whether to save an exact dependency, and the registry asked first.\n * @returns Package-manager diagnostics, the registries asked, and the observed activation outcome.\n */"
|
|
967
1351
|
},
|
|
968
1352
|
{
|
|
969
1353
|
"kind": "method",
|
|
@@ -992,9 +1376,13 @@ export const TYPERT = {
|
|
|
992
1376
|
"name": "Branded",
|
|
993
1377
|
"declaration": "export type Branded<B extends string> = string & { readonly [BRAND]: B; };"
|
|
994
1378
|
},
|
|
1379
|
+
{
|
|
1380
|
+
"name": "BundleDetail",
|
|
1381
|
+
"declaration": "export type BundleDetail = { readonly status: 'found'; readonly origin: 'locale' | 'readme'; readonly path: string; readonly markdown: string; } | { readonly status: 'none'; };"
|
|
1382
|
+
},
|
|
995
1383
|
{
|
|
996
1384
|
"name": "BundleInfo",
|
|
997
|
-
"declaration": "export interface BundleInfo {\n name: string;\n official: boolean;\n availability: 'installation' | 'profile' | 'missing';\n installTarget?: { spec: string; version: string; };\n version?: string;\n meta?: PluginLocalizedMeta;\n description?: string;\n enabled: boolean;\n installed: boolean;\n source?: string;\n optional: boolean;\n removable: boolean;\n readOnlyReason?: ReadOnlyReason;\n error?: ManagementError;\n rows: BundleRowInfo[];\n overrides: string[];\n}"
|
|
1385
|
+
"declaration": "export interface BundleInfo {\n name: string;\n official: boolean;\n availability: 'installation' | 'profile' | 'missing';\n installTarget?: { spec: string; version: string; };\n version?: string;\n meta?: PluginLocalizedMeta;\n description?: string;\n listedByDefault?: boolean;\n enabled: boolean;\n installed: boolean;\n source?: string;\n optional: boolean;\n removable: boolean;\n updatable: boolean;\n readOnlyReason?: ReadOnlyReason;\n error?: ManagementError;\n rows: BundleRowInfo[];\n overrides: string[];\n}"
|
|
998
1386
|
},
|
|
999
1387
|
{
|
|
1000
1388
|
"name": "BundleRowInfo",
|
|
@@ -1020,13 +1408,21 @@ export const TYPERT = {
|
|
|
1020
1408
|
"name": "InstallSpecKind",
|
|
1021
1409
|
"declaration": "export type InstallSpecKind = 'registry' | 'path' | 'git' | 'tarball';"
|
|
1022
1410
|
},
|
|
1411
|
+
{
|
|
1412
|
+
"name": "ListVersionsOptions",
|
|
1413
|
+
"declaration": "export interface ListVersionsOptions {\n readonly registry?: Registry;\n}"
|
|
1414
|
+
},
|
|
1023
1415
|
{
|
|
1024
1416
|
"name": "LocalizedText",
|
|
1025
1417
|
"declaration": "export type LocalizedText = string | { readonly en: string; readonly [locale: string]: string; };"
|
|
1026
1418
|
},
|
|
1027
1419
|
{
|
|
1028
1420
|
"name": "ManagementError",
|
|
1029
|
-
"declaration": "export interface ManagementError {\n code: ReadOnlyReason | 'unknown-plugin' | 'invalid-spec' | 'already-installed' | 'ambiguous-install' | 'not-bundle' | 'not-removable' | 'stop-profile' | 'bundle-in-use' | 'stale-approval' | 'incompatible-version' | 'operation-error';\n diagnostic?: string;\n incompatible?: IncompatiblePlugin[];\n}"
|
|
1421
|
+
"declaration": "export interface ManagementError {\n code: ReadOnlyReason | 'unknown-plugin' | 'invalid-spec' | 'already-installed' | 'ambiguous-install' | 'not-bundle' | 'not-removable' | 'stop-profile' | 'bundle-in-use' | 'stale-approval' | 'incompatible-version' | 'unsupported-platform' | 'operation-error';\n diagnostic?: string;\n incompatible?: IncompatiblePlugin[];\n}"
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
"name": "NpmFileSource",
|
|
1425
|
+
"declaration": "export type NpmFileSource = 'jsdelivr' | 'unpkg' | 'npmmirror';"
|
|
1030
1426
|
},
|
|
1031
1427
|
{
|
|
1032
1428
|
"name": "PackageResult",
|
|
@@ -1062,7 +1458,7 @@ export const TYPERT = {
|
|
|
1062
1458
|
},
|
|
1063
1459
|
{
|
|
1064
1460
|
"name": "PluginInventoryEntry",
|
|
1065
|
-
"declaration": "export interface PluginInventoryEntry {\n readonly entryId: PluginEntryId;\n readonly moduleName: string;\n readonly meta?: PluginLocalizedMeta;\n readonly enabled: boolean;\n readonly fiberPhase: PluginFiberPhase;\n}"
|
|
1461
|
+
"declaration": "export interface PluginInventoryEntry {\n readonly entryId: PluginEntryId;\n readonly moduleName: string;\n readonly meta?: PluginLocalizedMeta;\n readonly enabled: boolean;\n readonly fiberPhase: PluginFiberPhase;\n readonly diagnostic?: string;\n}"
|
|
1066
1462
|
},
|
|
1067
1463
|
{
|
|
1068
1464
|
"name": "PluginLocalizedMeta",
|
|
@@ -1076,6 +1472,18 @@ export const TYPERT = {
|
|
|
1076
1472
|
"name": "PluginSpecInspection",
|
|
1077
1473
|
"declaration": "export type PluginSpecInspection = { readonly status: 'accepted'; readonly kind: InstallSpecKind; readonly name?: string; readonly version?: string; readonly description?: string; readonly bundle: boolean | null; readonly registry: Registry; readonly host?: string; } | { readonly status: 'refused'; readonly problem: PluginInspectProblem; readonly reason: string; readonly registries?: Registry[]; };"
|
|
1078
1474
|
},
|
|
1475
|
+
{
|
|
1476
|
+
"name": "PluginUpdateResult",
|
|
1477
|
+
"declaration": "export interface PluginUpdateResult {\n readonly from: string;\n readonly to: string;\n readonly step: 'check' | 'remove' | 'install';\n readonly result: ChangeResult;\n readonly restore?: ChangeResult;\n}"
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"name": "PluginVersion",
|
|
1481
|
+
"declaration": "export interface PluginVersion {\n readonly version: string;\n readonly publishedAt?: string;\n readonly tags: readonly string[];\n readonly prerelease: boolean;\n readonly deprecated?: string;\n readonly bundle: boolean;\n readonly incompatible?: IncompatiblePlugin;\n}"
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
"name": "PluginVersionList",
|
|
1485
|
+
"declaration": "export type PluginVersionList = { readonly status: 'listed'; readonly installed: string; readonly registry: Registry; readonly attempts: readonly RegistryAttempt[]; readonly versions: readonly PluginVersion[]; readonly omitted: number; } | { readonly status: 'refused'; readonly problem: 'not-updatable' | 'not-found' | 'network' | 'unknown'; readonly reason: string; readonly attempts: readonly RegistryAttempt[]; };"
|
|
1486
|
+
},
|
|
1079
1487
|
{
|
|
1080
1488
|
"name": "ReadOnlyReason",
|
|
1081
1489
|
"declaration": "export type ReadOnlyReason = 'management-required' | 'unaddressable';"
|
|
@@ -1084,9 +1492,17 @@ export const TYPERT = {
|
|
|
1084
1492
|
"name": "Registry",
|
|
1085
1493
|
"declaration": "export type Registry = string | null;"
|
|
1086
1494
|
},
|
|
1495
|
+
{
|
|
1496
|
+
"name": "RegistryAttempt",
|
|
1497
|
+
"declaration": "export interface RegistryAttempt {\n readonly registry: Registry;\n readonly problem?: 'not-found' | 'network' | 'unknown';\n readonly reason?: string;\n}"
|
|
1498
|
+
},
|
|
1087
1499
|
{
|
|
1088
1500
|
"name": "RestartReason",
|
|
1089
1501
|
"declaration": "export type RestartReason = 'no-hmr' | 'package-moved' | 'host-module' | 'unmanaged-plugin' | 'module-comparison';"
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
"name": "UpdateBundleOptions",
|
|
1505
|
+
"declaration": "export interface UpdateBundleOptions {\n readonly registry?: Registry;\n readonly requestId?: PluginInstallRequestId;\n}"
|
|
1090
1506
|
}
|
|
1091
1507
|
]
|
|
1092
1508
|
}
|
|
@@ -1154,6 +1570,48 @@ export const TYPERT = {
|
|
|
1154
1570
|
"name": "plugin-manager/install-state",
|
|
1155
1571
|
"mode": "emit",
|
|
1156
1572
|
"signature": "'plugin-manager/install-state'(progress: PluginInstallProgress): void"
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
"description": "One manager invocation started or ended; subscribers run independently without delaying management.",
|
|
1576
|
+
"summary": "One manager invocation started or ended; subscribers run independently without delaying management.",
|
|
1577
|
+
"tags": [
|
|
1578
|
+
{
|
|
1579
|
+
"name": "mode",
|
|
1580
|
+
"comment": "parallel",
|
|
1581
|
+
"text": "@mode parallel\n *"
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
"name": "param",
|
|
1585
|
+
"argument": "operation",
|
|
1586
|
+
"comment": "- Correlated operation facts; a start without an end has an unknown outcome.",
|
|
1587
|
+
"text": "@param operation - Correlated operation facts; a start without an end has an unknown outcome."
|
|
1588
|
+
}
|
|
1589
|
+
],
|
|
1590
|
+
"jsDoc": "/**\n * One manager invocation started or ended; subscribers run independently without delaying management.\n * @mode parallel\n * @param operation - Correlated operation facts; a start without an end has an unknown outcome.\n */",
|
|
1591
|
+
"name": "plugin-manager/operation",
|
|
1592
|
+
"mode": "parallel",
|
|
1593
|
+
"signature": "'plugin-manager/operation'(operation: PluginOperation): void | Promise<void>"
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
"description": "An update moved to its next step: checking the target, removing the installed version, installing the target, or reinstalling the removed version after the target failed. Announced once per step.",
|
|
1597
|
+
"summary": "An update moved to its next step: checking the target, removing the installed version, installing the target, or reinstalling the removed version after the target failed.",
|
|
1598
|
+
"tags": [
|
|
1599
|
+
{
|
|
1600
|
+
"name": "mode",
|
|
1601
|
+
"comment": "emit",
|
|
1602
|
+
"text": "@mode emit\n *"
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
"name": "param",
|
|
1606
|
+
"argument": "progress",
|
|
1607
|
+
"comment": "- the update's request id and step.",
|
|
1608
|
+
"text": "@param progress - the update's request id and step."
|
|
1609
|
+
}
|
|
1610
|
+
],
|
|
1611
|
+
"jsDoc": "/**\n * An update moved to its next step: checking the target, removing the installed version, installing the target,\n * or reinstalling the removed version after the target failed. Announced once per step.\n * @mode emit\n * @param progress - the update's request id and step.\n */",
|
|
1612
|
+
"name": "plugin-manager/update-state",
|
|
1613
|
+
"mode": "emit",
|
|
1614
|
+
"signature": "'plugin-manager/update-state'(progress: PluginUpdateProgress): void"
|
|
1157
1615
|
}
|
|
1158
1616
|
],
|
|
1159
1617
|
"objects": []
|