@deepseek-ai/dsh-plugin-manager 0.2.1-alpha.2 → 0.2.1-alpha.3

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.
@@ -1,8 +1,10 @@
1
1
  /* Generated by @deepseek-ai/dsh-typert-generator from FaceModel — do not edit. */
2
2
  import { z } from 'zod'
3
3
 
4
+ import { createTypertRemoteInfo } from '@deepseek-ai/dsh-typert-protocol/remote-info'
5
+
4
6
  let _deepseek_ai_dsh_plugin_manager_pluginManager_cancelInstall_parameter_0$schema$value
5
- const _deepseek_ai_dsh_plugin_manager_pluginManager_cancelInstall_parameter_0$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_cancelInstall_parameter_0$schema$value ??= z.intersection(z.string(), z.unknown()))
7
+ const _deepseek_ai_dsh_plugin_manager_pluginManager_cancelInstall_parameter_0$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_cancelInstall_parameter_0$schema$value ??= z.string())
6
8
  let _deepseek_ai_dsh_plugin_manager_pluginManager_cancelInstall_result$schema$value
7
9
  const _deepseek_ai_dsh_plugin_manager_pluginManager_cancelInstall_result$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_cancelInstall_result$schema$value ??= z.object({
8
10
  'status': z.union([z.literal("cancelled"), z.literal("not-running"), z.literal("too-late")]).readonly(),
@@ -11,7 +13,7 @@ let _deepseek_ai_dsh_plugin_manager_pluginManager_inspect_parameter_0$schema$val
11
13
  const _deepseek_ai_dsh_plugin_manager_pluginManager_inspect_parameter_0$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_inspect_parameter_0$schema$value ??= z.string())
12
14
  let _deepseek_ai_dsh_plugin_manager_pluginManager_inspect_parameter_1$schema$value
13
15
  const _deepseek_ai_dsh_plugin_manager_pluginManager_inspect_parameter_1$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_inspect_parameter_1$schema$value ??= z.union([z.undefined(), z.object({
14
- 'registry': z.union([z.literal(null), z.string()]).readonly().optional(),
16
+ 'registry': z.union([z.literal(null), z.string()]).readonly().optional().describe('The registry asked first; absent, the configured one.'),
15
17
  })]))
16
18
  let _deepseek_ai_dsh_plugin_manager_pluginManager_inspect_result$schema$value
17
19
  const _deepseek_ai_dsh_plugin_manager_pluginManager_inspect_result$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_inspect_result$schema$value ??= z.union([z.object({
@@ -19,157 +21,156 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_inspect_result$schema = () =
19
21
  'kind': z.union([z.literal("registry"), z.literal("path"), z.literal("git"), z.literal("tarball")]).readonly(),
20
22
  'name': z.string().readonly().optional(),
21
23
  'version': z.string().readonly().optional(),
22
- 'description': z.string().readonly().optional(),
23
- 'bundle': z.union([z.literal(null), z.literal(false), z.literal(true)]).readonly(),
24
- 'registry': z.union([z.literal(null), z.string()]).readonly(),
25
- 'host': z.string().readonly().optional(),
24
+ 'description': z.string().readonly().optional().describe('`description` of the package manifest.'),
25
+ 'bundle': z.union([z.literal(null), z.literal(false), z.literal(true)]).readonly().describe('Whether the package declares a bundle patch; null when the spec\'s form does not say.'),
26
+ 'registry': z.union([z.literal(null), z.string()]).readonly().describe('The registry that answered for a name, and for the other forms the one an install of the spec asks first.'),
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.'),
26
28
  }), z.object({
27
29
  'status': z.literal("refused").readonly(),
28
- 'problem': z.union([z.literal("network"), z.literal("unknown"), z.literal("invalid-spec"), z.literal("not-found"), z.literal("already-installed"), z.literal("not-a-package"), z.literal("not-a-bundle")]).readonly(),
29
- 'reason': z.string().readonly(),
30
- 'registries': z.array(z.union([z.literal(null), z.string()])).readonly().optional(),
30
+ 'problem': z.union([z.literal("network"), z.literal("unknown"), z.literal("invalid-spec"), z.literal("already-installed"), z.literal("not-found"), z.literal("not-a-package"), z.literal("not-a-bundle")]).readonly(),
31
+ 'reason': z.string().readonly().describe('What pnpm, the registry, or the file system said.'),
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.'),
31
33
  })]))
32
34
  let _deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_parameter_0$schema$value
33
35
  const _deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_parameter_0$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_parameter_0$schema$value ??= z.string())
34
36
  let _deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_parameter_1$schema$value
35
37
  const _deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_parameter_1$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_parameter_1$schema$value ??= z.union([z.undefined(), z.object({
36
38
  'enabled': z.boolean().optional(),
37
- 'saveExact': z.boolean().optional(),
38
- 'requestId': z.intersection(z.string(), z.unknown()).optional(),
39
- 'approvedBuilds': z.array(z.string()).optional(),
40
- 'registry': z.union([z.literal(null), z.string()]).optional(),
39
+ 'saveExact': z.boolean().optional().describe('Save the resolved dependency version without a range; applies to any bundle installation.'),
40
+ 'requestId': z.string().optional(),
41
+ '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.'),
42
+ '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.'),
41
43
  })]))
42
44
  let _deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_result$schema$value
43
45
  const _deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_result$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_result$schema$value ??= z.object({
44
46
  'changed': z.boolean(),
45
- 'application': z.union([z.literal("cancelled"), z.literal("failed"), z.literal("applied"), z.literal("restart-required"), z.literal("overridden")]),
46
- 'stage': z.union([z.literal("remove"), z.literal("install"), z.literal("enable")]),
47
+ '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.'),
48
+ '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.'),
49
+ 'stage': z.union([z.literal("remove"), z.literal("install"), z.literal("enable")]).describe('Last attempted step; successful installation can proceed to enablement.'),
47
50
  'target': z.string(),
48
51
  'enabled': z.boolean().optional(),
49
52
  'error': z.object({
50
- 'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), 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("operation-error")]),
51
54
  'diagnostic': z.string().optional(),
52
55
  'incompatible': z.array(z.object({
53
56
  'name': z.string(),
54
57
  'version': z.string(),
55
58
  'runtimeVersion': z.string(),
56
- 'peers': z.record(z.string(), z.string()),
57
- })).optional(),
59
+ 'peers': z.record(z.string(), z.string()).describe('Only the DSH peer ranges the running version does not satisfy.'),
60
+ })).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
58
61
  }).optional(),
59
- 'warnings': z.array(z.string()).optional(),
62
+ 'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
60
63
  'packageResult': z.object({
61
64
  'exitCode': z.number(),
62
65
  'output': z.string(),
63
66
  'truncated': z.boolean(),
64
67
  'logPath': z.string(),
65
- 'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("pnpm-missing"), z.literal("not-found"), z.literal("no-matching-version"), z.literal("disk-full"), z.literal("permission"), z.literal("build-blocked")]).optional(),
66
- 'timedOut': z.boolean().optional(),
68
+ 'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("pnpm-missing"), z.literal("not-found"), 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
+ 'timedOut': z.boolean().optional().describe('The manager terminated the run after it printed nothing for its silence bound; `exitCode` still reports how it ended.'),
67
70
  'incompatible': z.array(z.object({
68
71
  'name': z.string(),
69
72
  'version': z.string(),
70
73
  'runtimeVersion': z.string(),
71
- 'peers': z.record(z.string(), z.string()),
72
- })).optional(),
74
+ 'peers': z.record(z.string(), z.string()).describe('Only the DSH peer ranges the running version does not satisfy.'),
75
+ })).optional().describe('Present when a compatibility check refused the run: the packages the running DSH version rejects.'),
73
76
  }).optional(),
74
- 'bundle': z.string().optional(),
75
- 'version': z.string().optional(),
76
- 'pendingBuilds': z.array(z.string()).optional(),
77
- 'approvedBuilds': z.array(z.string()).optional(),
78
- 'registries': z.array(z.union([z.literal(null), z.string()])).optional(),
79
- 'failedAt': z.union([z.literal("registry"), z.literal("spec-host")]).optional(),
77
+ 'bundle': z.string().optional().describe('The bundle an installation added, once pnpm and the bundle check accepted it.'),
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 package names awaiting explicit script approval in the profile\'s pnpm settings, read after a failed run.'),
80
+ 'approvedBuilds': z.array(z.string()).optional().describe('Package script permissions saved before this installation attempt.'),
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
+ '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.'),
80
83
  }))
81
84
  let _deepseek_ai_dsh_plugin_manager_pluginManager_listBundles_result$schema$value
82
85
  const _deepseek_ai_dsh_plugin_manager_pluginManager_listBundles_result$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_listBundles_result$schema$value ??= z.array(z.object({
83
86
  'name': z.string(),
84
- 'official': z.boolean(),
85
- 'availability': z.union([z.literal("profile"), z.literal("installation"), z.literal("missing")]),
87
+ 'official': z.boolean().describe('Project-maintained shipped optional bundle or on-demand catalog entry, independent of installation and selection.'),
88
+ 'availability': z.union([z.literal("profile"), z.literal("installation"), z.literal("missing")]).describe('Readable package location; on-demand catalog entries exclude undeclared transitive copies, and declared files may be missing.'),
86
89
  'installTarget': z.object({
87
90
  'spec': z.string(),
88
91
  'version': z.string(),
89
- }).optional(),
92
+ }).optional().describe('Exact released Host version or same-checkout development link offered for an on-demand catalog entry.'),
90
93
  'version': z.string().optional(),
91
94
  'meta': z.object({
92
95
  'title': z.union([z.string(), z.intersection(z.object({
93
96
  'en': z.string().readonly(),
94
- }), z.record(z.string(), z.string()).readonly())]).readonly().optional(),
97
+ }), z.record(z.string(), z.string()).readonly())]).readonly().optional().describe('Display title; omission preserves the consumer\'s technical-name fallback.'),
95
98
  'description': z.union([z.string(), z.intersection(z.object({
96
99
  'en': z.string().readonly(),
97
- }), z.record(z.string(), z.string()).readonly())]).readonly().optional(),
98
- 'icon': z.string().readonly().optional(),
99
- 'error': z.string().readonly().optional(),
100
- }).optional(),
101
- 'description': z.string().optional(),
102
- 'enabled': z.boolean(),
103
- 'installed': z.boolean(),
104
- 'source': z.string().optional(),
105
- 'optional': z.boolean(),
100
+ }), z.record(z.string(), z.string()).readonly())]).readonly().optional().describe('Display introduction after locale and package-field fallback.'),
101
+ 'icon': z.string().readonly().optional().describe('Base64 image data URL from a package root\'s manifest icon or an exported `<specifier>/icon`; render as an image, not inline markup.'),
102
+ 'error': z.string().readonly().optional().describe('Unmodified local metadata diagnostic; the plugin remains manageable.'),
103
+ }).optional().describe('Local display text with available translations or literal fallbacks, or a metadata diagnostic.'),
104
+ 'description': z.string().optional().describe('Untranslated `description` of this bundle\'s package manifest.'),
105
+ 'enabled': z.boolean().describe('Selected in the profile manifest; a load error means its layer was skipped.'),
106
+ 'installed': z.boolean().describe('Whether the profile declares this dependency; availability separately reports whether its files can be read.'),
107
+ '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
+ '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.'),
106
109
  'removable': z.boolean(),
107
110
  'readOnlyReason': z.union([z.literal("management-required"), z.literal("unaddressable")]).optional(),
108
111
  'error': z.object({
109
- 'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), 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")]),
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")]),
110
113
  'diagnostic': z.string().optional(),
111
114
  'incompatible': z.array(z.object({
112
115
  'name': z.string(),
113
116
  'version': z.string(),
114
117
  'runtimeVersion': z.string(),
115
- 'peers': z.record(z.string(), z.string()),
116
- })).optional(),
118
+ 'peers': z.record(z.string(), z.string()).describe('Only the DSH peer ranges the running version does not satisfy.'),
119
+ })).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
117
120
  }).optional(),
118
121
  'rows': z.array(z.object({
119
- 'rowId': z.string(),
120
- 'moduleName': z.string(),
122
+ 'rowId': z.string().describe('The row id as the patch declares it.'),
123
+ 'moduleName': z.string().describe('The module the row names.'),
121
124
  'meta': z.object({
122
125
  'title': z.union([z.string(), z.intersection(z.object({
123
126
  'en': z.string().readonly(),
124
- }), z.record(z.string(), z.string()).readonly())]).readonly().optional(),
127
+ }), z.record(z.string(), z.string()).readonly())]).readonly().optional().describe('Display title; omission preserves the consumer\'s technical-name fallback.'),
125
128
  'description': z.union([z.string(), z.intersection(z.object({
126
129
  'en': z.string().readonly(),
127
- }), z.record(z.string(), z.string()).readonly())]).readonly().optional(),
128
- 'icon': z.string().readonly().optional(),
129
- 'error': z.string().readonly().optional(),
130
- }).optional(),
131
- 'entryId': z.intersection(z.string(), z.unknown()).optional(),
132
- })),
133
- 'overrides': z.array(z.string()),
130
+ }), z.record(z.string(), z.string()).readonly())]).readonly().optional().describe('Display introduction after locale and package-field fallback.'),
131
+ 'icon': z.string().readonly().optional().describe('Base64 image data URL from a package root\'s manifest icon or an exported `<specifier>/icon`; render as an image, not inline markup.'),
132
+ 'error': z.string().readonly().optional().describe('Unmodified local metadata diagnostic; the plugin remains manageable.'),
133
+ }).optional().describe('Local package display metadata, including rows whose bundle is disabled.'),
134
+ 'entryId': z.string().optional().describe('The Loader entry carrying this row, when exactly one live entry has its id.'),
135
+ })).describe('The rows the bundle\'s patch inserts, in declaration order; empty when the patch cannot be read.'),
136
+ 'overrides': z.array(z.string()).describe('Ids of rows the bundle\'s patch changes without declaring them: the built-in rows it configures or disables.'),
134
137
  })))
135
138
  let _deepseek_ai_dsh_plugin_manager_pluginManager_listPlugins_result$schema$value
136
- const _deepseek_ai_dsh_plugin_manager_pluginManager_listPlugins_result$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_listPlugins_result$schema$value ??= z.array(z.union([z.intersection(z.object({
137
- 'entryId': z.intersection(z.string(), z.unknown()).readonly(),
138
- 'moduleName': z.string().readonly(),
139
+ const _deepseek_ai_dsh_plugin_manager_pluginManager_listPlugins_result$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_listPlugins_result$schema$value ??= z.array(z.union([z.object({
140
+ 'entryId': z.string().readonly(),
141
+ 'moduleName': z.string().readonly().describe('Exact module specifier imported by the Loader entry.'),
139
142
  'meta': z.object({
140
143
  'title': z.union([z.string(), z.intersection(z.object({
141
144
  'en': z.string().readonly(),
142
- }), z.record(z.string(), z.string()).readonly())]).readonly().optional(),
145
+ }), z.record(z.string(), z.string()).readonly())]).readonly().optional().describe('Display title; omission preserves the consumer\'s technical-name fallback.'),
143
146
  'description': z.union([z.string(), z.intersection(z.object({
144
147
  'en': z.string().readonly(),
145
- }), z.record(z.string(), z.string()).readonly())]).readonly().optional(),
146
- 'icon': z.string().readonly().optional(),
147
- 'error': z.string().readonly().optional(),
148
- }).readonly().optional(),
149
- 'enabled': z.boolean().readonly(),
148
+ }), z.record(z.string(), z.string()).readonly())]).readonly().optional().describe('Display introduction after locale and package-field fallback.'),
149
+ 'icon': z.string().readonly().optional().describe('Base64 image data URL from a package root\'s manifest icon or an exported `<specifier>/icon`; render as an image, not inline markup.'),
150
+ 'error': z.string().readonly().optional().describe('Unmodified local metadata diagnostic; the plugin remains manageable.'),
151
+ }).readonly().optional().describe('Local package display metadata, independent of whether the entry is enabled.'),
152
+ 'enabled': z.boolean().readonly().describe('Effective Loader enablement, including disabled ancestor groups.'),
150
153
  'fiberPhase': z.union([z.literal(null), z.literal("failed"), z.literal("pending"), z.literal("active"), z.literal("loading"), z.literal("unloading")]).readonly(),
151
- }), z.object({
152
154
  'patchId': z.string(),
153
155
  'readOnlyReason': z.never().optional(),
154
- })), z.intersection(z.object({
155
- 'entryId': z.intersection(z.string(), z.unknown()).readonly(),
156
- 'moduleName': z.string().readonly(),
156
+ }), z.object({
157
+ 'entryId': z.string().readonly(),
158
+ 'moduleName': z.string().readonly().describe('Exact module specifier imported by the Loader entry.'),
157
159
  'meta': z.object({
158
160
  'title': z.union([z.string(), z.intersection(z.object({
159
161
  'en': z.string().readonly(),
160
- }), z.record(z.string(), z.string()).readonly())]).readonly().optional(),
162
+ }), z.record(z.string(), z.string()).readonly())]).readonly().optional().describe('Display title; omission preserves the consumer\'s technical-name fallback.'),
161
163
  'description': z.union([z.string(), z.intersection(z.object({
162
164
  'en': z.string().readonly(),
163
- }), z.record(z.string(), z.string()).readonly())]).readonly().optional(),
164
- 'icon': z.string().readonly().optional(),
165
- 'error': z.string().readonly().optional(),
166
- }).readonly().optional(),
167
- 'enabled': z.boolean().readonly(),
165
+ }), z.record(z.string(), z.string()).readonly())]).readonly().optional().describe('Display introduction after locale and package-field fallback.'),
166
+ 'icon': z.string().readonly().optional().describe('Base64 image data URL from a package root\'s manifest icon or an exported `<specifier>/icon`; render as an image, not inline markup.'),
167
+ 'error': z.string().readonly().optional().describe('Unmodified local metadata diagnostic; the plugin remains manageable.'),
168
+ }).readonly().optional().describe('Local package display metadata, independent of whether the entry is enabled.'),
169
+ 'enabled': z.boolean().readonly().describe('Effective Loader enablement, including disabled ancestor groups.'),
168
170
  'fiberPhase': z.union([z.literal(null), z.literal("failed"), z.literal("pending"), z.literal("active"), z.literal("loading"), z.literal("unloading")]).readonly(),
169
- }), z.object({
170
171
  'patchId': z.never().optional(),
171
172
  'readOnlyReason': z.union([z.literal("management-required"), z.literal("unaddressable")]),
172
- }))])))
173
+ })])))
173
174
  let _deepseek_ai_dsh_plugin_manager_pluginManager_listVersionExemptions_result$schema$value
174
175
  const _deepseek_ai_dsh_plugin_manager_pluginManager_listVersionExemptions_result$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_listVersionExemptions_result$schema$value ??= z.object({
175
176
  'exemptions': z.record(z.string(), z.array(z.string())),
@@ -179,48 +180,49 @@ let _deepseek_ai_dsh_plugin_manager_pluginManager_registries_result$schema$value
179
180
  const _deepseek_ai_dsh_plugin_manager_pluginManager_registries_result$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_registries_result$schema$value ??= z.object({
180
181
  'registry': z.union([z.literal(null), z.string()]).readonly(),
181
182
  'fallbackRegistries': z.array(z.string()).readonly(),
182
- 'resolved': z.union([z.literal(null), z.string()]).readonly(),
183
+ 'resolved': z.union([z.literal(null), z.string()]).readonly().describe('The URL pnpm\'s own configuration names in the profile, read from pnpm; null when it could not be read.'),
183
184
  }))
184
185
  let _deepseek_ai_dsh_plugin_manager_pluginManager_removeBundle_parameter_0$schema$value
185
186
  const _deepseek_ai_dsh_plugin_manager_pluginManager_removeBundle_parameter_0$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_removeBundle_parameter_0$schema$value ??= z.string())
186
187
  let _deepseek_ai_dsh_plugin_manager_pluginManager_removeBundle_result$schema$value
187
188
  const _deepseek_ai_dsh_plugin_manager_pluginManager_removeBundle_result$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_removeBundle_result$schema$value ??= z.object({
188
189
  'changed': z.boolean(),
189
- 'application': z.union([z.literal("cancelled"), z.literal("failed"), z.literal("applied"), z.literal("restart-required"), z.literal("overridden")]),
190
- 'stage': z.union([z.literal("remove"), z.literal("install"), z.literal("enable")]),
190
+ '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.'),
191
+ '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.'),
192
+ 'stage': z.union([z.literal("remove"), z.literal("install"), z.literal("enable")]).describe('Last attempted step; successful installation can proceed to enablement.'),
191
193
  'target': z.string(),
192
194
  'enabled': z.boolean().optional(),
193
195
  'error': z.object({
194
- 'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), 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")]),
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")]),
195
197
  'diagnostic': z.string().optional(),
196
198
  'incompatible': z.array(z.object({
197
199
  'name': z.string(),
198
200
  'version': z.string(),
199
201
  'runtimeVersion': z.string(),
200
- 'peers': z.record(z.string(), z.string()),
201
- })).optional(),
202
+ 'peers': z.record(z.string(), z.string()).describe('Only the DSH peer ranges the running version does not satisfy.'),
203
+ })).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
202
204
  }).optional(),
203
- 'warnings': z.array(z.string()).optional(),
205
+ 'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
204
206
  'packageResult': z.object({
205
207
  'exitCode': z.number(),
206
208
  'output': z.string(),
207
209
  'truncated': z.boolean(),
208
210
  'logPath': z.string(),
209
- 'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("pnpm-missing"), z.literal("not-found"), z.literal("no-matching-version"), z.literal("disk-full"), z.literal("permission"), z.literal("build-blocked")]).optional(),
210
- 'timedOut': z.boolean().optional(),
211
+ 'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("pnpm-missing"), z.literal("not-found"), 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
+ 'timedOut': z.boolean().optional().describe('The manager terminated the run after it printed nothing for its silence bound; `exitCode` still reports how it ended.'),
211
213
  'incompatible': z.array(z.object({
212
214
  'name': z.string(),
213
215
  'version': z.string(),
214
216
  'runtimeVersion': z.string(),
215
- 'peers': z.record(z.string(), z.string()),
216
- })).optional(),
217
+ 'peers': z.record(z.string(), z.string()).describe('Only the DSH peer ranges the running version does not satisfy.'),
218
+ })).optional().describe('Present when a compatibility check refused the run: the packages the running DSH version rejects.'),
217
219
  }).optional(),
218
- 'bundle': z.string().optional(),
219
- 'version': z.string().optional(),
220
- 'pendingBuilds': z.array(z.string()).optional(),
221
- 'approvedBuilds': z.array(z.string()).optional(),
222
- 'registries': z.array(z.union([z.literal(null), z.string()])).optional(),
223
- 'failedAt': z.union([z.literal("registry"), z.literal("spec-host")]).optional(),
220
+ 'bundle': z.string().optional().describe('The bundle an installation added, once pnpm and the bundle check accepted it.'),
221
+ '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 package names awaiting explicit script approval in the profile\'s pnpm settings, read after a failed run.'),
223
+ 'approvedBuilds': z.array(z.string()).optional().describe('Package script permissions saved before this installation attempt.'),
224
+ '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
+ '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.'),
224
226
  }))
225
227
  let _deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_parameter_0$schema$value
226
228
  const _deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_parameter_0$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_parameter_0$schema$value ??= z.string())
@@ -229,84 +231,86 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_parameter_1
229
231
  let _deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_result$schema$value
230
232
  const _deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_result$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_result$schema$value ??= z.object({
231
233
  'changed': z.boolean(),
232
- 'application': z.union([z.literal("cancelled"), z.literal("failed"), z.literal("applied"), z.literal("restart-required"), z.literal("overridden")]),
233
- 'stage': z.union([z.literal("remove"), z.literal("install"), z.literal("enable")]),
234
+ '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.'),
235
+ '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.'),
236
+ 'stage': z.union([z.literal("remove"), z.literal("install"), z.literal("enable")]).describe('Last attempted step; successful installation can proceed to enablement.'),
234
237
  'target': z.string(),
235
238
  'enabled': z.boolean().optional(),
236
239
  'error': z.object({
237
- 'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), 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")]),
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")]),
238
241
  'diagnostic': z.string().optional(),
239
242
  'incompatible': z.array(z.object({
240
243
  'name': z.string(),
241
244
  'version': z.string(),
242
245
  'runtimeVersion': z.string(),
243
- 'peers': z.record(z.string(), z.string()),
244
- })).optional(),
246
+ 'peers': z.record(z.string(), z.string()).describe('Only the DSH peer ranges the running version does not satisfy.'),
247
+ })).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
245
248
  }).optional(),
246
- 'warnings': z.array(z.string()).optional(),
249
+ 'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
247
250
  'packageResult': z.object({
248
251
  'exitCode': z.number(),
249
252
  'output': z.string(),
250
253
  'truncated': z.boolean(),
251
254
  'logPath': z.string(),
252
- 'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("pnpm-missing"), z.literal("not-found"), z.literal("no-matching-version"), z.literal("disk-full"), z.literal("permission"), z.literal("build-blocked")]).optional(),
253
- 'timedOut': z.boolean().optional(),
255
+ 'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("pnpm-missing"), z.literal("not-found"), 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
+ 'timedOut': z.boolean().optional().describe('The manager terminated the run after it printed nothing for its silence bound; `exitCode` still reports how it ended.'),
254
257
  'incompatible': z.array(z.object({
255
258
  'name': z.string(),
256
259
  'version': z.string(),
257
260
  'runtimeVersion': z.string(),
258
- 'peers': z.record(z.string(), z.string()),
259
- })).optional(),
261
+ 'peers': z.record(z.string(), z.string()).describe('Only the DSH peer ranges the running version does not satisfy.'),
262
+ })).optional().describe('Present when a compatibility check refused the run: the packages the running DSH version rejects.'),
260
263
  }).optional(),
261
- 'bundle': z.string().optional(),
262
- 'version': z.string().optional(),
263
- 'pendingBuilds': z.array(z.string()).optional(),
264
- 'approvedBuilds': z.array(z.string()).optional(),
265
- 'registries': z.array(z.union([z.literal(null), z.string()])).optional(),
266
- 'failedAt': z.union([z.literal("registry"), z.literal("spec-host")]).optional(),
264
+ 'bundle': z.string().optional().describe('The bundle an installation added, once pnpm and the bundle check accepted it.'),
265
+ '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 package names awaiting explicit script approval in the profile\'s pnpm settings, read after a failed run.'),
267
+ 'approvedBuilds': z.array(z.string()).optional().describe('Package script permissions saved before this installation attempt.'),
268
+ '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
+ '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.'),
267
270
  }))
268
271
  let _deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_parameter_0$schema$value
269
- const _deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_parameter_0$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_parameter_0$schema$value ??= z.intersection(z.string(), z.unknown()))
272
+ const _deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_parameter_0$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_parameter_0$schema$value ??= z.string())
270
273
  let _deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_parameter_1$schema$value
271
274
  const _deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_parameter_1$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_parameter_1$schema$value ??= z.boolean())
272
275
  let _deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_result$schema$value
273
276
  const _deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_result$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_result$schema$value ??= z.object({
274
277
  'changed': z.boolean(),
275
- 'application': z.union([z.literal("cancelled"), z.literal("failed"), z.literal("applied"), z.literal("restart-required"), z.literal("overridden")]),
276
- 'stage': z.union([z.literal("remove"), z.literal("install"), z.literal("enable")]),
278
+ '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.'),
279
+ '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.'),
280
+ 'stage': z.union([z.literal("remove"), z.literal("install"), z.literal("enable")]).describe('Last attempted step; successful installation can proceed to enablement.'),
277
281
  'target': z.string(),
278
282
  'enabled': z.boolean().optional(),
279
283
  'error': z.object({
280
- 'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), 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")]),
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")]),
281
285
  'diagnostic': z.string().optional(),
282
286
  'incompatible': z.array(z.object({
283
287
  'name': z.string(),
284
288
  'version': z.string(),
285
289
  'runtimeVersion': z.string(),
286
- 'peers': z.record(z.string(), z.string()),
287
- })).optional(),
290
+ 'peers': z.record(z.string(), z.string()).describe('Only the DSH peer ranges the running version does not satisfy.'),
291
+ })).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
288
292
  }).optional(),
289
- 'warnings': z.array(z.string()).optional(),
293
+ 'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
290
294
  'packageResult': z.object({
291
295
  'exitCode': z.number(),
292
296
  'output': z.string(),
293
297
  'truncated': z.boolean(),
294
298
  'logPath': z.string(),
295
- 'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("pnpm-missing"), z.literal("not-found"), z.literal("no-matching-version"), z.literal("disk-full"), z.literal("permission"), z.literal("build-blocked")]).optional(),
296
- 'timedOut': z.boolean().optional(),
299
+ 'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("pnpm-missing"), z.literal("not-found"), 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
+ 'timedOut': z.boolean().optional().describe('The manager terminated the run after it printed nothing for its silence bound; `exitCode` still reports how it ended.'),
297
301
  'incompatible': z.array(z.object({
298
302
  'name': z.string(),
299
303
  'version': z.string(),
300
304
  'runtimeVersion': z.string(),
301
- 'peers': z.record(z.string(), z.string()),
302
- })).optional(),
305
+ 'peers': z.record(z.string(), z.string()).describe('Only the DSH peer ranges the running version does not satisfy.'),
306
+ })).optional().describe('Present when a compatibility check refused the run: the packages the running DSH version rejects.'),
303
307
  }).optional(),
304
- 'bundle': z.string().optional(),
305
- 'version': z.string().optional(),
306
- 'pendingBuilds': z.array(z.string()).optional(),
307
- 'approvedBuilds': z.array(z.string()).optional(),
308
- 'registries': z.array(z.union([z.literal(null), z.string()])).optional(),
309
- 'failedAt': z.union([z.literal("registry"), z.literal("spec-host")]).optional(),
308
+ 'bundle': z.string().optional().describe('The bundle an installation added, once pnpm and the bundle check accepted it.'),
309
+ '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 package names awaiting explicit script approval in the profile\'s pnpm settings, read after a failed run.'),
311
+ 'approvedBuilds': z.array(z.string()).optional().describe('Package script permissions saved before this installation attempt.'),
312
+ '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
+ '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.'),
310
314
  }))
311
315
  let _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_0$schema$value
312
316
  const _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_0$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_0$schema$value ??= z.string())
@@ -319,105 +323,147 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_paramete
319
323
  let _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_result$schema$value
320
324
  const _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_result$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_result$schema$value ??= z.object({
321
325
  'changed': z.boolean(),
322
- 'application': z.union([z.literal("cancelled"), z.literal("failed"), z.literal("applied"), z.literal("restart-required"), z.literal("overridden")]),
323
- 'stage': z.union([z.literal("remove"), z.literal("install"), z.literal("enable")]),
326
+ '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.'),
327
+ '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.'),
328
+ 'stage': z.union([z.literal("remove"), z.literal("install"), z.literal("enable")]).describe('Last attempted step; successful installation can proceed to enablement.'),
324
329
  'target': z.string(),
325
330
  'enabled': z.boolean().optional(),
326
331
  'error': z.object({
327
- 'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), 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")]),
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")]),
328
333
  'diagnostic': z.string().optional(),
329
334
  'incompatible': z.array(z.object({
330
335
  'name': z.string(),
331
336
  'version': z.string(),
332
337
  'runtimeVersion': z.string(),
333
- 'peers': z.record(z.string(), z.string()),
334
- })).optional(),
338
+ 'peers': z.record(z.string(), z.string()).describe('Only the DSH peer ranges the running version does not satisfy.'),
339
+ })).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
335
340
  }).optional(),
336
- 'warnings': z.array(z.string()).optional(),
341
+ 'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
337
342
  'packageResult': z.object({
338
343
  'exitCode': z.number(),
339
344
  'output': z.string(),
340
345
  'truncated': z.boolean(),
341
346
  'logPath': z.string(),
342
- 'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("pnpm-missing"), z.literal("not-found"), z.literal("no-matching-version"), z.literal("disk-full"), z.literal("permission"), z.literal("build-blocked")]).optional(),
343
- 'timedOut': z.boolean().optional(),
347
+ 'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("pnpm-missing"), z.literal("not-found"), 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
+ 'timedOut': z.boolean().optional().describe('The manager terminated the run after it printed nothing for its silence bound; `exitCode` still reports how it ended.'),
344
349
  'incompatible': z.array(z.object({
345
350
  'name': z.string(),
346
351
  'version': z.string(),
347
352
  'runtimeVersion': z.string(),
348
- 'peers': z.record(z.string(), z.string()),
349
- })).optional(),
353
+ 'peers': z.record(z.string(), z.string()).describe('Only the DSH peer ranges the running version does not satisfy.'),
354
+ })).optional().describe('Present when a compatibility check refused the run: the packages the running DSH version rejects.'),
350
355
  }).optional(),
351
- 'bundle': z.string().optional(),
352
- 'version': z.string().optional(),
353
- 'pendingBuilds': z.array(z.string()).optional(),
354
- 'approvedBuilds': z.array(z.string()).optional(),
355
- 'registries': z.array(z.union([z.literal(null), z.string()])).optional(),
356
- 'failedAt': z.union([z.literal("registry"), z.literal("spec-host")]).optional(),
356
+ 'bundle': z.string().optional().describe('The bundle an installation added, once pnpm and the bundle check accepted it.'),
357
+ '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 package names awaiting explicit script approval in the profile\'s pnpm settings, read after a failed run.'),
359
+ 'approvedBuilds': z.array(z.string()).optional().describe('Package script permissions saved before this installation attempt.'),
360
+ '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
+ '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.'),
357
362
  }))
358
363
  let _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_parameter_0$schema$value
359
- const _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_parameter_0$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_parameter_0$schema$value ??= z.intersection(z.string(), z.unknown()))
364
+ const _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_parameter_0$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_parameter_0$schema$value ??= z.string())
360
365
  let _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_result$schema$value
361
366
  const _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_result$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_result$schema$value ??= z.union([z.literal(null), z.object({
362
367
  'changed': z.boolean(),
363
- 'application': z.union([z.literal("cancelled"), z.literal("failed"), z.literal("applied"), z.literal("restart-required"), z.literal("overridden")]),
364
- 'stage': z.union([z.literal("remove"), z.literal("install"), z.literal("enable")]),
368
+ '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.'),
369
+ '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.'),
370
+ 'stage': z.union([z.literal("remove"), z.literal("install"), z.literal("enable")]).describe('Last attempted step; successful installation can proceed to enablement.'),
365
371
  'target': z.string(),
366
372
  'enabled': z.boolean().optional(),
367
373
  'error': z.object({
368
- 'code': z.union([z.literal("management-required"), z.literal("unaddressable"), z.literal("unknown-plugin"), z.literal("invalid-spec"), 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")]),
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")]),
369
375
  'diagnostic': z.string().optional(),
370
376
  'incompatible': z.array(z.object({
371
377
  'name': z.string(),
372
378
  'version': z.string(),
373
379
  'runtimeVersion': z.string(),
374
- 'peers': z.record(z.string(), z.string()),
375
- })).optional(),
380
+ 'peers': z.record(z.string(), z.string()).describe('Only the DSH peer ranges the running version does not satisfy.'),
381
+ })).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
376
382
  }).optional(),
377
- 'warnings': z.array(z.string()).optional(),
383
+ 'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
378
384
  'packageResult': z.object({
379
385
  'exitCode': z.number(),
380
386
  'output': z.string(),
381
387
  'truncated': z.boolean(),
382
388
  'logPath': z.string(),
383
- 'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("pnpm-missing"), z.literal("not-found"), z.literal("no-matching-version"), z.literal("disk-full"), z.literal("permission"), z.literal("build-blocked")]).optional(),
384
- 'timedOut': z.boolean().optional(),
389
+ 'kind': z.union([z.literal("network"), z.literal("unknown"), z.literal("timeout"), z.literal("integrity"), z.literal("pnpm-missing"), z.literal("not-found"), 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
+ 'timedOut': z.boolean().optional().describe('The manager terminated the run after it printed nothing for its silence bound; `exitCode` still reports how it ended.'),
385
391
  'incompatible': z.array(z.object({
386
392
  'name': z.string(),
387
393
  'version': z.string(),
388
394
  'runtimeVersion': z.string(),
389
- 'peers': z.record(z.string(), z.string()),
390
- })).optional(),
395
+ 'peers': z.record(z.string(), z.string()).describe('Only the DSH peer ranges the running version does not satisfy.'),
396
+ })).optional().describe('Present when a compatibility check refused the run: the packages the running DSH version rejects.'),
391
397
  }).optional(),
392
- 'bundle': z.string().optional(),
393
- 'version': z.string().optional(),
394
- 'pendingBuilds': z.array(z.string()).optional(),
395
- 'approvedBuilds': z.array(z.string()).optional(),
396
- 'registries': z.array(z.union([z.literal(null), z.string()])).optional(),
397
- 'failedAt': z.union([z.literal("registry"), z.literal("spec-host")]).optional(),
398
+ 'bundle': z.string().optional().describe('The bundle an installation added, once pnpm and the bundle check accepted it.'),
399
+ '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 package names awaiting explicit script approval in the profile\'s pnpm settings, read after a failed run.'),
401
+ 'approvedBuilds': z.array(z.string()).optional().describe('Package script permissions saved before this installation attempt.'),
402
+ '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
+ '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.'),
404
+ })]))
405
+ let _deepseek_ai_dsh_plugin_manager_pluginManager_cancelInstall_parameter_0_strict$schema$value
406
+ const _deepseek_ai_dsh_plugin_manager_pluginManager_cancelInstall_parameter_0_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_cancelInstall_parameter_0_strict$schema$value ??= z.string())
407
+ let _deepseek_ai_dsh_plugin_manager_pluginManager_inspect_parameter_0_strict$schema$value
408
+ const _deepseek_ai_dsh_plugin_manager_pluginManager_inspect_parameter_0_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_inspect_parameter_0_strict$schema$value ??= z.string())
409
+ let _deepseek_ai_dsh_plugin_manager_pluginManager_inspect_parameter_1_strict$schema$value
410
+ const _deepseek_ai_dsh_plugin_manager_pluginManager_inspect_parameter_1_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_inspect_parameter_1_strict$schema$value ??= z.union([z.undefined(), z.strictObject({
411
+ 'registry': z.union([z.literal(null), z.string()]).readonly().optional().describe('The registry asked first; absent, the configured one.'),
398
412
  })]))
413
+ let _deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_parameter_0_strict$schema$value
414
+ const _deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_parameter_0_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_parameter_0_strict$schema$value ??= z.string())
415
+ let _deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_parameter_1_strict$schema$value
416
+ const _deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_parameter_1_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_parameter_1_strict$schema$value ??= z.union([z.undefined(), z.strictObject({
417
+ 'enabled': z.boolean().optional(),
418
+ 'saveExact': z.boolean().optional().describe('Save the resolved dependency version without a range; applies to any bundle installation.'),
419
+ 'requestId': z.string().optional(),
420
+ '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
+ '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
+ })]))
423
+ let _deepseek_ai_dsh_plugin_manager_pluginManager_removeBundle_parameter_0_strict$schema$value
424
+ 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
+ let _deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_parameter_0_strict$schema$value
426
+ const _deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_parameter_0_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_parameter_0_strict$schema$value ??= z.string())
427
+ let _deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_parameter_1_strict$schema$value
428
+ const _deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_parameter_1_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_parameter_1_strict$schema$value ??= z.boolean())
429
+ let _deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_parameter_0_strict$schema$value
430
+ const _deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_parameter_0_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_parameter_0_strict$schema$value ??= z.string())
431
+ let _deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_parameter_1_strict$schema$value
432
+ const _deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_parameter_1_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_parameter_1_strict$schema$value ??= z.boolean())
433
+ let _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_0_strict$schema$value
434
+ const _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_0_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_0_strict$schema$value ??= z.string())
435
+ let _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_1_strict$schema$value
436
+ const _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_1_strict$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_1_strict$schema$value ??= z.string())
437
+ let _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_2_strict$schema$value
438
+ 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
+ let _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_3_strict$schema$value
440
+ 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)]))
441
+ let _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_parameter_0_strict$schema$value
442
+ 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())
399
443
 
400
- export const TYPERT = {
444
+ const $remote = createTypertRemoteInfo({
401
445
  package: '@deepseek-ai/dsh-plugin-manager',
402
- face: 'host',
403
- schemas: [
404
- ],
405
- invocations: [
406
- {
407
- id: '@deepseek-ai/dsh-plugin-manager#pluginManager/cancelInstall',
446
+ methods: {
447
+ 'pluginManager/cancelInstall': {
408
448
  service: 'pluginManager',
409
- namespace: 'pluginManager',
410
- method: 'cancelInstall',
449
+ description: 'Stop an installation this manager owns and wait until its files are back.',
411
450
  invocation: { kind: 'direct' },
412
451
  parameters: [
413
452
  {
414
453
  name: 'requestId',
415
- wire: 'requestId',
454
+ description: 'The id the installation was started with.',
416
455
  source: 'json',
417
456
  codec: {
418
457
  mode: 'strict',
419
458
  typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#PluginInstallRequestId',
420
459
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_cancelInstall_parameter_0$schema,
460
+ jsonSchema: {"type":"string"},
461
+ },
462
+ strictCodec: {
463
+ mode: 'strict',
464
+ typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#PluginInstallRequestId',
465
+ create: _deepseek_ai_dsh_plugin_manager_pluginManager_cancelInstall_parameter_0_strict$schema,
466
+ jsonSchema: {"type":"string"},
421
467
  },
422
468
  },
423
469
  ],
@@ -425,35 +471,49 @@ export const TYPERT = {
425
471
  mode: 'strict',
426
472
  typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#PluginInstallCancellation',
427
473
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_cancelInstall_result$schema,
474
+ 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
+ jsonSchema: {"type":"object","properties":{"status":{"type":"string","enum":["cancelled","not-running","too-late"]}},"required":["status"],"additionalProperties":true},
428
476
  },
429
- sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":628,"column":9},
477
+ sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":669,"column":9},
430
478
  },
431
- {
432
- id: '@deepseek-ai/dsh-plugin-manager#pluginManager/inspect',
479
+ 'pluginManager/inspect': {
433
480
  service: 'pluginManager',
434
- namespace: 'pluginManager',
435
- method: 'inspect',
481
+ description: 'Read what a spec names before installing it.',
436
482
  invocation: { kind: 'direct' },
437
483
  parameters: [
438
484
  {
439
485
  name: 'spec',
440
- wire: 'spec',
486
+ description: 'One package spec: a registry name, an absolute path, a git address, or a tarball.',
441
487
  source: 'json',
442
488
  codec: {
443
489
  mode: 'strict',
444
490
  typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/inspect:spec',
445
491
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_inspect_parameter_0$schema,
492
+ jsonSchema: {"type":"string"},
493
+ },
494
+ strictCodec: {
495
+ mode: 'strict',
496
+ typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/inspect:spec',
497
+ create: _deepseek_ai_dsh_plugin_manager_pluginManager_inspect_parameter_0_strict$schema,
498
+ jsonSchema: {"type":"string"},
446
499
  },
447
500
  },
448
501
  {
449
502
  name: 'options',
450
- wire: 'options',
503
+ description: 'The registry asked first.',
451
504
  source: 'json',
452
505
  acceptsUndefined: true,
453
506
  codec: {
454
507
  mode: 'strict',
455
508
  typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#InspectOptions',
456
509
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_inspect_parameter_1$schema,
510
+ jsonSchema: {"type":"object","properties":{"registry":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The registry asked first; absent, the configured one."}},"required":[],"additionalProperties":true},
511
+ },
512
+ strictCodec: {
513
+ mode: 'strict',
514
+ typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#InspectOptions',
515
+ create: _deepseek_ai_dsh_plugin_manager_pluginManager_inspect_parameter_1_strict$schema,
516
+ jsonSchema: {"type":"object","properties":{"registry":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The registry asked first; absent, the configured one."}},"required":[],"additionalProperties":false},
457
517
  },
458
518
  },
459
519
  ],
@@ -462,35 +522,49 @@ export const TYPERT = {
462
522
  mode: 'strict',
463
523
  typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#PluginSpecInspection',
464
524
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_inspect_result$schema,
525
+ 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-found","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}]},
465
527
  },
466
- sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":374,"column":9},
528
+ sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":408,"column":9},
467
529
  },
468
- {
469
- id: '@deepseek-ai/dsh-plugin-manager#pluginManager/installBundle',
530
+ 'pluginManager/installBundle': {
470
531
  service: 'pluginManager',
471
- namespace: 'pluginManager',
472
- method: 'installBundle',
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.',
473
533
  invocation: { kind: 'direct' },
474
534
  parameters: [
475
535
  {
476
536
  name: 'spec',
477
- wire: 'spec',
537
+ description: 'One package spec, including local paths relative to the invocation directory.',
478
538
  source: 'json',
479
539
  codec: {
480
540
  mode: 'strict',
481
541
  typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/installBundle:spec',
482
542
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_parameter_0$schema,
543
+ jsonSchema: {"type":"string"},
544
+ },
545
+ strictCodec: {
546
+ mode: 'strict',
547
+ typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/installBundle:spec',
548
+ create: _deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_parameter_0_strict$schema,
549
+ jsonSchema: {"type":"string"},
483
550
  },
484
551
  },
485
552
  {
486
553
  name: 'options',
487
- wire: 'options',
554
+ description: 'Whether to activate the installed bundle (defaults to true), the request id a cancellation names, the pending build scripts to allow, whether to save an exact dependency, and the registry asked first.',
488
555
  source: 'json',
489
556
  acceptsUndefined: true,
490
557
  codec: {
491
558
  mode: 'strict',
492
559
  typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#InstallBundleOptions',
493
560
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_parameter_1$schema,
561
+ jsonSchema: {"type":"object","properties":{"enabled":{"type":"boolean"},"saveExact":{"type":"boolean","description":"Save the resolved dependency version without a range; applies to any bundle installation."},"requestId":{"type":"string"},"approvedBuilds":{"type":"array","items":{"type":"string"},"description":"Explicitly allow these pending packages' scripts for this profile, then install; a name no longer pending refuses the call."},"registry":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The registry asked first; absent, the configured one. The configured fallbacks follow while a registry is unreachable or stale."}},"required":[],"additionalProperties":true},
562
+ },
563
+ strictCodec: {
564
+ mode: 'strict',
565
+ typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#InstallBundleOptions',
566
+ create: _deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_parameter_1_strict$schema,
567
+ jsonSchema: {"type":"object","properties":{"enabled":{"type":"boolean"},"saveExact":{"type":"boolean","description":"Save the resolved dependency version without a range; applies to any bundle installation."},"requestId":{"type":"string"},"approvedBuilds":{"type":"array","items":{"type":"string"},"description":"Explicitly allow these pending packages' scripts for this profile, then install; a name no longer pending refuses the call."},"registry":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The registry asked first; absent, the configured one. The configured fallbacks follow while a registry is unreachable or stale."}},"required":[],"additionalProperties":false},
494
568
  },
495
569
  },
496
570
  ],
@@ -498,14 +572,14 @@ export const TYPERT = {
498
572
  mode: 'strict',
499
573
  typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#ChangeResult',
500
574
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_result$schema,
575
+ description: 'Package-manager diagnostics, the registries asked, and the observed activation outcome.',
576
+ jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
501
577
  },
502
- sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":497,"column":3},
578
+ sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":529,"column":3},
503
579
  },
504
- {
505
- id: '@deepseek-ai/dsh-plugin-manager#pluginManager/listBundles',
580
+ 'pluginManager/listBundles': {
506
581
  service: 'pluginManager',
507
- namespace: 'pluginManager',
508
- method: 'listBundles',
582
+ description: 'Read installed, installation-provided, and offline Official catalog bundles, plus selected non-bundle names. A dependency without a bundle patch is listed, as a `not-bundle` problem, only while it is selected.',
509
583
  invocation: { kind: 'direct' },
510
584
  parameters: [
511
585
  ],
@@ -513,14 +587,14 @@ export const TYPERT = {
513
587
  mode: 'strict',
514
588
  typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/listBundles:result',
515
589
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_listBundles_result$schema,
590
+ 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
+ jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
516
592
  },
517
- sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":282,"column":3},
593
+ sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":316,"column":3},
518
594
  },
519
- {
520
- id: '@deepseek-ai/dsh-plugin-manager#pluginManager/listPlugins',
595
+ 'pluginManager/listPlugins': {
521
596
  service: 'pluginManager',
522
- namespace: 'pluginManager',
523
- method: 'listPlugins',
597
+ description: 'Read current plugins, including why a row cannot be changed through the profile patch.',
524
598
  invocation: { kind: 'direct' },
525
599
  parameters: [
526
600
  ],
@@ -528,14 +602,14 @@ export const TYPERT = {
528
602
  mode: 'strict',
529
603
  typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/listPlugins:result',
530
604
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_listPlugins_result$schema,
605
+ description: 'Current runtime entries with persistent patch targets.',
606
+ jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
531
607
  },
532
- sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":258,"column":9},
608
+ sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":292,"column":9},
533
609
  },
534
- {
535
- id: '@deepseek-ai/dsh-plugin-manager#pluginManager/listVersionExemptions',
610
+ 'pluginManager/listVersionExemptions': {
536
611
  service: 'pluginManager',
537
- namespace: 'pluginManager',
538
- method: 'listVersionExemptions',
612
+ description: 'Read exact plugin-version exemptions saved in this profile.',
539
613
  invocation: { kind: 'direct' },
540
614
  parameters: [
541
615
  ],
@@ -543,14 +617,14 @@ export const TYPERT = {
543
617
  mode: 'strict',
544
618
  typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/listVersionExemptions:result',
545
619
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_listVersionExemptions_result$schema,
620
+ 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
+ jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
546
622
  },
547
- sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":234,"column":3},
623
+ sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":268,"column":3},
548
624
  },
549
- {
550
- id: '@deepseek-ai/dsh-plugin-manager#pluginManager/registries',
625
+ 'pluginManager/registries': {
551
626
  service: 'pluginManager',
552
- namespace: 'pluginManager',
553
- method: 'registries',
627
+ description: 'Read the registries this manager asks: the configured first one, its fallbacks in order, and what pnpm\'s own configuration names.',
554
628
  invocation: { kind: 'direct' },
555
629
  parameters: [
556
630
  ],
@@ -558,24 +632,31 @@ export const TYPERT = {
558
632
  mode: 'strict',
559
633
  typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#PluginRegistries',
560
634
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_registries_result$schema,
635
+ description: 'The registries in pnpm\'s comparison form; null is the one pnpm\'s own configuration names, `resolved` as pnpm reads it now.',
636
+ 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},
561
637
  },
562
- sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":358,"column":9},
638
+ sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":392,"column":9},
563
639
  },
564
- {
565
- id: '@deepseek-ai/dsh-plugin-manager#pluginManager/removeBundle',
640
+ 'pluginManager/removeBundle': {
566
641
  service: 'pluginManager',
567
- namespace: 'pluginManager',
568
- method: 'removeBundle',
642
+ description: 'Unload and remove a profile-owned bundle dependency through dsh plugin\'s pnpm path; a selected name no dependency holds is only deselected.',
569
643
  invocation: { kind: 'direct' },
570
644
  parameters: [
571
645
  {
572
646
  name: 'name',
573
- wire: 'name',
647
+ description: 'Installed dependency or selected bundle name.',
574
648
  source: 'json',
575
649
  codec: {
576
650
  mode: 'strict',
577
651
  typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/removeBundle:name',
578
652
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_removeBundle_parameter_0$schema,
653
+ jsonSchema: {"type":"string"},
654
+ },
655
+ strictCodec: {
656
+ mode: 'strict',
657
+ typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/removeBundle:name',
658
+ create: _deepseek_ai_dsh_plugin_manager_pluginManager_removeBundle_parameter_0_strict$schema,
659
+ jsonSchema: {"type":"string"},
579
660
  },
580
661
  },
581
662
  ],
@@ -583,34 +664,48 @@ export const TYPERT = {
583
664
  mode: 'strict',
584
665
  typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#ChangeResult',
585
666
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_removeBundle_result$schema,
667
+ description: 'Removal diagnostics and the remaining profile state.',
668
+ jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
586
669
  },
587
- sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":645,"column":3},
670
+ sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":686,"column":3},
588
671
  },
589
- {
590
- id: '@deepseek-ai/dsh-plugin-manager#pluginManager/setBundleEnabled',
672
+ 'pluginManager/setBundleEnabled': {
591
673
  service: 'pluginManager',
592
- namespace: 'pluginManager',
593
- method: 'setBundleEnabled',
674
+ description: 'Select or remove a bundle layer while retaining installed dependencies.',
594
675
  invocation: { kind: 'direct' },
595
676
  parameters: [
596
677
  {
597
678
  name: 'name',
598
- wire: 'name',
679
+ description: 'Bundle package name.',
599
680
  source: 'json',
600
681
  codec: {
601
682
  mode: 'strict',
602
683
  typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/setBundleEnabled:name',
603
684
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_parameter_0$schema,
685
+ jsonSchema: {"type":"string"},
686
+ },
687
+ strictCodec: {
688
+ mode: 'strict',
689
+ typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/setBundleEnabled:name',
690
+ create: _deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_parameter_0_strict$schema,
691
+ jsonSchema: {"type":"string"},
604
692
  },
605
693
  },
606
694
  {
607
695
  name: 'enabled',
608
- wire: 'enabled',
696
+ description: 'Whether the bundle contributes its patch layer.',
609
697
  source: 'json',
610
698
  codec: {
611
699
  mode: 'strict',
612
700
  typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/setBundleEnabled:enabled',
613
701
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_parameter_1$schema,
702
+ jsonSchema: {"type":"boolean"},
703
+ },
704
+ strictCodec: {
705
+ mode: 'strict',
706
+ typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/setBundleEnabled:enabled',
707
+ create: _deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_parameter_1_strict$schema,
708
+ jsonSchema: {"type":"boolean"},
614
709
  },
615
710
  },
616
711
  ],
@@ -618,34 +713,48 @@ export const TYPERT = {
618
713
  mode: 'strict',
619
714
  typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#ChangeResult',
620
715
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_result$schema,
716
+ description: 'Persisted and runtime outcomes.',
717
+ jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
621
718
  },
622
- sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":476,"column":3},
719
+ sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":510,"column":3},
623
720
  },
624
- {
625
- id: '@deepseek-ai/dsh-plugin-manager#pluginManager/setPluginEnabled',
721
+ 'pluginManager/setPluginEnabled': {
626
722
  service: 'pluginManager',
627
- namespace: 'pluginManager',
628
- method: 'setPluginEnabled',
723
+ description: 'Persist a plugin entry\'s desired enablement and apply it on live profiles.',
629
724
  invocation: { kind: 'direct' },
630
725
  parameters: [
631
726
  {
632
727
  name: 'id',
633
- wire: 'id',
728
+ description: 'Loader entry identity returned by listPlugins.',
634
729
  source: 'json',
635
730
  codec: {
636
731
  mode: 'strict',
637
732
  typeSymbol: '@deepseek-ai/dsh-host-plugin-inventory/types#PluginEntryId',
638
733
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_parameter_0$schema,
734
+ jsonSchema: {"type":"string"},
735
+ },
736
+ strictCodec: {
737
+ mode: 'strict',
738
+ typeSymbol: '@deepseek-ai/dsh-host-plugin-inventory/types#PluginEntryId',
739
+ create: _deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_parameter_0_strict$schema,
740
+ jsonSchema: {"type":"string"},
639
741
  },
640
742
  },
641
743
  {
642
744
  name: 'enabled',
643
- wire: 'enabled',
745
+ description: 'Whether the plugin should run.',
644
746
  source: 'json',
645
747
  codec: {
646
748
  mode: 'strict',
647
749
  typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/setPluginEnabled:enabled',
648
750
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_parameter_1$schema,
751
+ jsonSchema: {"type":"boolean"},
752
+ },
753
+ strictCodec: {
754
+ mode: 'strict',
755
+ typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/setPluginEnabled:enabled',
756
+ create: _deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_parameter_1_strict$schema,
757
+ jsonSchema: {"type":"boolean"},
649
758
  },
650
759
  },
651
760
  ],
@@ -653,55 +762,83 @@ export const TYPERT = {
653
762
  mode: 'strict',
654
763
  typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#ChangeResult',
655
764
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_result$schema,
765
+ description: 'Saved and runtime outcomes, including higher-priority overrides.',
766
+ jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
656
767
  },
657
- sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":458,"column":3},
768
+ sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":492,"column":3},
658
769
  },
659
- {
660
- id: '@deepseek-ai/dsh-plugin-manager#pluginManager/setVersionExemption',
770
+ 'pluginManager/setVersionExemption': {
661
771
  service: 'pluginManager',
662
- namespace: 'pluginManager',
663
- method: 'setVersionExemption',
772
+ description: 'Grant or revoke one exact plugin/runtime exemption and reevaluate live plugins.',
664
773
  invocation: { kind: 'direct' },
665
774
  parameters: [
666
775
  {
667
776
  name: 'packageVersion',
668
- wire: 'packageVersion',
777
+ description: 'Exact manifest package name followed by @ and its version; never an installation spec or alias.',
669
778
  source: 'json',
670
779
  codec: {
671
780
  mode: 'strict',
672
781
  typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/setVersionExemption:packageVersion',
673
782
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_0$schema,
783
+ jsonSchema: {"type":"string"},
784
+ },
785
+ strictCodec: {
786
+ mode: 'strict',
787
+ typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/setVersionExemption:packageVersion',
788
+ create: _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_0_strict$schema,
789
+ jsonSchema: {"type":"string"},
674
790
  },
675
791
  },
676
792
  {
677
793
  name: 'runtimeVersion',
678
- wire: 'runtimeVersion',
794
+ description: 'Exact current DSH version for grants; revocation may name a previous runtime.',
679
795
  source: 'json',
680
796
  codec: {
681
797
  mode: 'strict',
682
798
  typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/setVersionExemption:runtimeVersion',
683
799
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_1$schema,
800
+ jsonSchema: {"type":"string"},
801
+ },
802
+ strictCodec: {
803
+ mode: 'strict',
804
+ typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/setVersionExemption:runtimeVersion',
805
+ create: _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_1_strict$schema,
806
+ jsonSchema: {"type":"string"},
684
807
  },
685
808
  },
686
809
  {
687
810
  name: 'enabled',
688
- wire: 'enabled',
811
+ description: 'Whether to grant rather than revoke the exemption.',
689
812
  source: 'json',
690
813
  codec: {
691
814
  mode: 'strict',
692
815
  typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/setVersionExemption:enabled',
693
816
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_2$schema,
817
+ jsonSchema: {"type":"boolean"},
818
+ },
819
+ strictCodec: {
820
+ mode: 'strict',
821
+ typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/setVersionExemption:enabled',
822
+ create: _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_2_strict$schema,
823
+ jsonSchema: {"type":"boolean"},
694
824
  },
695
825
  },
696
826
  {
697
827
  name: 'acceptRisk',
698
- wire: 'acceptRisk',
828
+ description: 'Required true for grants after the user accepts possible crashes and data loss.',
699
829
  source: 'json',
700
830
  acceptsUndefined: true,
701
831
  codec: {
702
832
  mode: 'strict',
703
833
  typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/setVersionExemption:acceptRisk',
704
834
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_3$schema,
835
+ jsonSchema: {"type":"boolean","enum":[false,true]},
836
+ },
837
+ strictCodec: {
838
+ mode: 'strict',
839
+ typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/setVersionExemption:acceptRisk',
840
+ create: _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_parameter_3_strict$schema,
841
+ jsonSchema: {"type":"boolean","enum":[false,true]},
705
842
  },
706
843
  },
707
844
  ],
@@ -709,24 +846,31 @@ export const TYPERT = {
709
846
  mode: 'strict',
710
847
  typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#ChangeResult',
711
848
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_result$schema,
849
+ description: 'Saved and runtime outcomes. Startup-only profiles require restart.',
850
+ jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
712
851
  },
713
- sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":247,"column":3},
852
+ sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":281,"column":3},
714
853
  },
715
- {
716
- id: '@deepseek-ai/dsh-plugin-manager#pluginManager/waitForInstall',
854
+ 'pluginManager/waitForInstall': {
717
855
  service: 'pluginManager',
718
- namespace: 'pluginManager',
719
- method: 'waitForInstall',
856
+ description: 'Recover the result of an active installation without cancelling it.',
720
857
  invocation: { kind: 'direct' },
721
858
  parameters: [
722
859
  {
723
860
  name: 'requestId',
724
- wire: 'requestId',
861
+ description: 'The id supplied when installation started.',
725
862
  source: 'json',
726
863
  codec: {
727
864
  mode: 'strict',
728
865
  typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#PluginInstallRequestId',
729
866
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_parameter_0$schema,
867
+ jsonSchema: {"type":"string"},
868
+ },
869
+ strictCodec: {
870
+ mode: 'strict',
871
+ typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#PluginInstallRequestId',
872
+ create: _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_parameter_0_strict$schema,
873
+ jsonSchema: {"type":"string"},
730
874
  },
731
875
  },
732
876
  ],
@@ -734,10 +878,20 @@ export const TYPERT = {
734
878
  mode: 'strict',
735
879
  typeSymbol: '@deepseek-ai/dsh-plugin-manager#pluginManager/waitForInstall:result',
736
880
  create: _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_result$schema,
881
+ 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
+ jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
737
883
  },
738
- sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":618,"column":9},
884
+ sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":659,"column":9},
739
885
  },
886
+ },
887
+ }, z)
888
+
889
+ export const TYPERT = {
890
+ package: '@deepseek-ai/dsh-plugin-manager',
891
+ face: 'host',
892
+ schemas: [
740
893
  ],
894
+ get invocations() { return $remote.descriptors },
741
895
  model: {
742
896
  "services": [
743
897
  {
@@ -848,7 +1002,7 @@ export const TYPERT = {
848
1002
  },
849
1003
  {
850
1004
  "name": "ChangeResult",
851
- "declaration": "export interface ChangeResult {\n changed: boolean;\n application: 'applied' | 'restart-required' | 'overridden' | 'failed' | 'cancelled';\n stage: 'install' | 'enable' | 'remove';\n target: string;\n enabled?: boolean;\n error?: ManagementError;\n warnings?: string[];\n packageResult?: PackageResult;\n bundle?: string;\n version?: string;\n pendingBuilds?: string[];\n approvedBuilds?: string[];\n registries?: Registry[];\n failedAt?: 'registry' | 'spec-host';\n}"
1005
+ "declaration": "export interface ChangeResult {\n changed: boolean;\n application: 'applied' | 'restart-required' | 'overridden' | 'failed' | 'cancelled';\n restartReason?: RestartReason;\n stage: 'install' | 'enable' | 'remove';\n target: string;\n enabled?: boolean;\n error?: ManagementError;\n warnings?: string[];\n packageResult?: PackageResult;\n bundle?: string;\n version?: string;\n pendingBuilds?: string[];\n approvedBuilds?: string[];\n registries?: Registry[];\n failedAt?: 'registry' | 'spec-host';\n}"
852
1006
  },
853
1007
  {
854
1008
  "name": "IncompatiblePlugin",
@@ -872,7 +1026,7 @@ export const TYPERT = {
872
1026
  },
873
1027
  {
874
1028
  "name": "ManagementError",
875
- "declaration": "export interface ManagementError {\n code: ReadOnlyReason | 'unknown-plugin' | 'invalid-spec' | 'ambiguous-install' | 'not-bundle' | 'not-removable' | 'stop-profile' | 'bundle-in-use' | 'stale-approval' | 'incompatible-version' | 'operation-error';\n diagnostic?: string;\n incompatible?: IncompatiblePlugin[];\n}"
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}"
876
1030
  },
877
1031
  {
878
1032
  "name": "PackageResult",
@@ -929,6 +1083,10 @@ export const TYPERT = {
929
1083
  {
930
1084
  "name": "Registry",
931
1085
  "declaration": "export type Registry = string | null;"
1086
+ },
1087
+ {
1088
+ "name": "RestartReason",
1089
+ "declaration": "export type RestartReason = 'no-hmr' | 'package-moved' | 'host-module' | 'unmanaged-plugin' | 'module-comparison';"
932
1090
  }
933
1091
  ]
934
1092
  }