@deepseek-ai/dsh-plugin-manager 0.2.3-alpha.2 → 0.2.3-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.
- package/README.i18n.yaml +16 -4
- package/README.md +16 -2
- package/README.zh.md +16 -2
- package/lib/index.js +275 -24
- package/lib/typert.host.js +32 -21
- package/lib/typert.remote-client.d.ts.map +1 -1
- package/lib/typert.remote-client.js +29 -18
- package/lib/types/grammar.d.ts +55 -0
- package/lib/types/grammar.d.ts.map +1 -0
- package/lib/types/grammar.js +76 -0
- package/lib/types/grammar.js.map +1 -0
- package/lib/types/index.d.ts +5 -3
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/index.js +54 -15
- package/lib/types/index.js.map +1 -1
- package/lib/types/plugin-reference.d.ts +90 -0
- package/lib/types/plugin-reference.d.ts.map +1 -0
- package/lib/types/plugin-reference.js +158 -0
- package/lib/types/plugin-reference.js.map +1 -0
- package/lib/types/types.d.ts +7 -0
- package/lib/types/types.d.ts.map +1 -1
- package/package.json +46 -40
- package/src/grammar.ts +103 -0
- package/src/index.ts +52 -14
- package/src/plugin-reference.ts +238 -0
- package/src/types.ts +7 -0
package/lib/typert.host.js
CHANGED
|
@@ -62,6 +62,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_result$schema
|
|
|
62
62
|
'runtimeVersion': z.string(),
|
|
63
63
|
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
64
64
|
})).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
|
|
65
|
+
'platforms': z.array(z.string()).optional().describe('Present with `unsupported-platform`: the Host platforms the bundle supports.'),
|
|
65
66
|
}).optional(),
|
|
66
67
|
'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
|
|
67
68
|
'packageResult': z.object({
|
|
@@ -124,6 +125,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_listBundles_result$schema =
|
|
|
124
125
|
'runtimeVersion': z.string(),
|
|
125
126
|
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
126
127
|
})).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
|
|
128
|
+
'platforms': z.array(z.string()).optional().describe('Present with `unsupported-platform`: the Host platforms the bundle supports.'),
|
|
127
129
|
}).optional(),
|
|
128
130
|
'rows': z.array(z.object({
|
|
129
131
|
'rowId': z.string().describe('The row id as the patch declares it.'),
|
|
@@ -268,6 +270,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_removeBundle_result$schema =
|
|
|
268
270
|
'runtimeVersion': z.string(),
|
|
269
271
|
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
270
272
|
})).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
|
|
273
|
+
'platforms': z.array(z.string()).optional().describe('Present with `unsupported-platform`: the Host platforms the bundle supports.'),
|
|
271
274
|
}).optional(),
|
|
272
275
|
'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
|
|
273
276
|
'packageResult': z.object({
|
|
@@ -313,6 +316,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_result$sche
|
|
|
313
316
|
'runtimeVersion': z.string(),
|
|
314
317
|
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
315
318
|
})).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
|
|
319
|
+
'platforms': z.array(z.string()).optional().describe('Present with `unsupported-platform`: the Host platforms the bundle supports.'),
|
|
316
320
|
}).optional(),
|
|
317
321
|
'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
|
|
318
322
|
'packageResult': z.object({
|
|
@@ -358,6 +362,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_result$sche
|
|
|
358
362
|
'runtimeVersion': z.string(),
|
|
359
363
|
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
360
364
|
})).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
|
|
365
|
+
'platforms': z.array(z.string()).optional().describe('Present with `unsupported-platform`: the Host platforms the bundle supports.'),
|
|
361
366
|
}).optional(),
|
|
362
367
|
'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
|
|
363
368
|
'packageResult': z.object({
|
|
@@ -407,6 +412,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_result$s
|
|
|
407
412
|
'runtimeVersion': z.string(),
|
|
408
413
|
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
409
414
|
})).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
|
|
415
|
+
'platforms': z.array(z.string()).optional().describe('Present with `unsupported-platform`: the Host platforms the bundle supports.'),
|
|
410
416
|
}).optional(),
|
|
411
417
|
'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
|
|
412
418
|
'packageResult': z.object({
|
|
@@ -440,6 +446,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_2$sch
|
|
|
440
446
|
'registry': z.union([z.literal(null), z.string()]).readonly().optional().describe('The registry asked first, normally the one that answered `listVersions`; absent, as for `listVersions`.'),
|
|
441
447
|
'spec': z.string().readonly().optional().describe('The Git spec of the target version: required for a bundle listed with `update: \'git\'`, where it must pin a full commit of the installed copy\'s repository directory, and refused for any other.'),
|
|
442
448
|
'requestId': z.string().readonly().optional().describe('Names the update\'s progress and the target installation\'s logs; `cancelInstall` stops only that installation.'),
|
|
449
|
+
'approvedBuilds': z.array(z.string()).readonly().optional().describe('Pending build scripts to allow, as `InstallBundleOptions.approvedBuilds`. They are saved before the installed version is removed and stay saved when the update fails; a name no longer pending refuses the update before anything changes.'),
|
|
443
450
|
})]))
|
|
444
451
|
let _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_result$schema$value
|
|
445
452
|
const _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_result$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_result$schema$value ??= z.object({
|
|
@@ -462,6 +469,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_result$schema =
|
|
|
462
469
|
'runtimeVersion': z.string(),
|
|
463
470
|
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
464
471
|
})).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
|
|
472
|
+
'platforms': z.array(z.string()).optional().describe('Present with `unsupported-platform`: the Host platforms the bundle supports.'),
|
|
465
473
|
}).optional(),
|
|
466
474
|
'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
|
|
467
475
|
'packageResult': z.object({
|
|
@@ -502,6 +510,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_result$schema =
|
|
|
502
510
|
'runtimeVersion': z.string(),
|
|
503
511
|
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
504
512
|
})).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
|
|
513
|
+
'platforms': z.array(z.string()).optional().describe('Present with `unsupported-platform`: the Host platforms the bundle supports.'),
|
|
505
514
|
}).optional(),
|
|
506
515
|
'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
|
|
507
516
|
'packageResult': z.object({
|
|
@@ -546,6 +555,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_result$schema
|
|
|
546
555
|
'runtimeVersion': z.string(),
|
|
547
556
|
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
548
557
|
})).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
|
|
558
|
+
'platforms': z.array(z.string()).optional().describe('Present with `unsupported-platform`: the Host platforms the bundle supports.'),
|
|
549
559
|
}).optional(),
|
|
550
560
|
'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
|
|
551
561
|
'packageResult': z.object({
|
|
@@ -633,6 +643,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_2_str
|
|
|
633
643
|
'registry': z.union([z.literal(null), z.string()]).readonly().optional().describe('The registry asked first, normally the one that answered `listVersions`; absent, as for `listVersions`.'),
|
|
634
644
|
'spec': z.string().readonly().optional().describe('The Git spec of the target version: required for a bundle listed with `update: \'git\'`, where it must pin a full commit of the installed copy\'s repository directory, and refused for any other.'),
|
|
635
645
|
'requestId': z.string().readonly().optional().describe('Names the update\'s progress and the target installation\'s logs; `cancelInstall` stops only that installation.'),
|
|
646
|
+
'approvedBuilds': z.array(z.string()).readonly().optional().describe('Pending build scripts to allow, as `InstallBundleOptions.approvedBuilds`. They are saved before the installed version is removed and stay saved when the update fails; a name no longer pending refuses the update before anything changes.'),
|
|
636
647
|
})]))
|
|
637
648
|
let _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_parameter_0_strict$schema$value
|
|
638
649
|
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())
|
|
@@ -670,7 +681,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
670
681
|
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.',
|
|
671
682
|
jsonSchema: {"type":"object","properties":{"status":{"type":"string","enum":["not-running","cancelled","too-late"]}},"required":["status"],"additionalProperties":true},
|
|
672
683
|
},
|
|
673
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
684
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":1177,"column":9},
|
|
674
685
|
},
|
|
675
686
|
'pluginManager/inspect': {
|
|
676
687
|
service: 'pluginManager',
|
|
@@ -721,7 +732,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
721
732
|
description: 'The package the spec names, or why it is refused.',
|
|
722
733
|
jsonSchema: {"oneOf":[{"type":"object","properties":{"status":{"type":"string","const":"accepted"},"kind":{"type":"string","enum":["path","registry","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":["unknown","network","not-found","invalid-spec","already-installed","not-a-package","not-a-bundle"]},"reason":{"type":"string","description":"What pnpm, the registry, or the file system said."},"registries":{"type":"array","items":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"description":"The registries asked, in order, when the refusal came from asking them; `reason` is the last one's."}},"required":["status","problem","reason"],"additionalProperties":true}]},
|
|
723
734
|
},
|
|
724
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
735
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":645,"column":9},
|
|
725
736
|
},
|
|
726
737
|
'pluginManager/installBundle': {
|
|
727
738
|
service: 'pluginManager',
|
|
@@ -771,7 +782,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
771
782
|
description: 'Package-manager diagnostics, the registries asked, and the observed activation outcome.',
|
|
772
783
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
773
784
|
},
|
|
774
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
785
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":1015,"column":3},
|
|
775
786
|
},
|
|
776
787
|
'pluginManager/listBundles': {
|
|
777
788
|
service: 'pluginManager',
|
|
@@ -786,7 +797,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
786
797
|
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.',
|
|
787
798
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
788
799
|
},
|
|
789
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
800
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":516,"column":3},
|
|
790
801
|
},
|
|
791
802
|
'pluginManager/listPlugins': {
|
|
792
803
|
service: 'pluginManager',
|
|
@@ -801,7 +812,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
801
812
|
description: 'Current runtime entries with persistent patch targets.',
|
|
802
813
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
803
814
|
},
|
|
804
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
815
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":490,"column":9},
|
|
805
816
|
},
|
|
806
817
|
'pluginManager/listVersionExemptions': {
|
|
807
818
|
service: 'pluginManager',
|
|
@@ -816,7 +827,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
816
827
|
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.',
|
|
817
828
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
818
829
|
},
|
|
819
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
830
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":464,"column":3},
|
|
820
831
|
},
|
|
821
832
|
'pluginManager/listVersions': {
|
|
822
833
|
service: 'pluginManager',
|
|
@@ -867,7 +878,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
867
878
|
description: 'At most `versionListLimit` newer versions, newest first, with their tags, deprecation, bundle declaration, and DSH compatibility, and the registry that answered; or why no list could be read, with every registry asked.',
|
|
868
879
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
869
880
|
},
|
|
870
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
881
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":705,"column":9},
|
|
871
882
|
},
|
|
872
883
|
'pluginManager/readBundleDetail': {
|
|
873
884
|
service: 'pluginManager',
|
|
@@ -934,7 +945,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
934
945
|
description: 'the document with its origin and path, or `none`.',
|
|
935
946
|
jsonSchema: {"oneOf":[{"type":"object","properties":{"status":{"type":"string","const":"found"},"origin":{"type":"string","enum":["locale","readme"],"description":"`locale` for the file locale `meta.detail` names, `readme` for the package's README."},"path":{"type":"string","description":"`/`-separated path of the document inside the package."},"markdown":{"type":"string","description":"Markdown text without a byte order mark or a leading YAML front matter block."}},"required":["status","origin","path","markdown"],"additionalProperties":true},{"type":"object","properties":{"status":{"type":"string","const":"none"}},"required":["status"],"additionalProperties":true}]},
|
|
936
947
|
},
|
|
937
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
948
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":428,"column":9},
|
|
938
949
|
},
|
|
939
950
|
'pluginManager/registries': {
|
|
940
951
|
service: 'pluginManager',
|
|
@@ -949,7 +960,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
949
960
|
description: 'The registries in pnpm\'s comparison form; null is the one pnpm\'s own configuration names, `resolved` as pnpm reads it now.',
|
|
950
961
|
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},
|
|
951
962
|
},
|
|
952
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
963
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":629,"column":9},
|
|
953
964
|
},
|
|
954
965
|
'pluginManager/removeBundle': {
|
|
955
966
|
service: 'pluginManager',
|
|
@@ -981,7 +992,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
981
992
|
description: 'Removal diagnostics and the remaining profile state.',
|
|
982
993
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
983
994
|
},
|
|
984
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
995
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":1194,"column":3},
|
|
985
996
|
},
|
|
986
997
|
'pluginManager/setBundleEnabled': {
|
|
987
998
|
service: 'pluginManager',
|
|
@@ -1030,7 +1041,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
1030
1041
|
description: 'Persisted and runtime outcomes.',
|
|
1031
1042
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
1032
1043
|
},
|
|
1033
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
1044
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":993,"column":3},
|
|
1034
1045
|
},
|
|
1035
1046
|
'pluginManager/setPluginEnabled': {
|
|
1036
1047
|
service: 'pluginManager',
|
|
@@ -1079,7 +1090,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
1079
1090
|
description: 'Saved and runtime outcomes, including higher-priority overrides.',
|
|
1080
1091
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
1081
1092
|
},
|
|
1082
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
1093
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":975,"column":3},
|
|
1083
1094
|
},
|
|
1084
1095
|
'pluginManager/setVersionExemption': {
|
|
1085
1096
|
service: 'pluginManager',
|
|
@@ -1163,7 +1174,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
1163
1174
|
description: 'Saved and runtime outcomes. Startup-only profiles require restart.',
|
|
1164
1175
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
1165
1176
|
},
|
|
1166
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
1177
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":477,"column":3},
|
|
1167
1178
|
},
|
|
1168
1179
|
'pluginManager/updateBundle': {
|
|
1169
1180
|
service: 'pluginManager',
|
|
@@ -1206,20 +1217,20 @@ const $remote = createTypertRemoteInfo({
|
|
|
1206
1217
|
},
|
|
1207
1218
|
{
|
|
1208
1219
|
name: 'options',
|
|
1209
|
-
description: 'The registry asked first, as for `listVersions`; the Git spec of `version`, required for and accepted only by a bundle `listBundles` lists with `update: \'git\'`;
|
|
1220
|
+
description: 'The registry asked first, as for `listVersions`; the Git spec of `version`, required for and accepted only by a bundle `listBundles` lists with `update: \'git\'`; the request id naming the progress and the target installation\'s logs and cancellation; and the pending build scripts to allow, saved before anything is removed.',
|
|
1210
1221
|
source: 'json',
|
|
1211
1222
|
acceptsUndefined: true,
|
|
1212
1223
|
codec: {
|
|
1213
1224
|
mode: 'strict',
|
|
1214
1225
|
typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#UpdateBundleOptions',
|
|
1215
1226
|
create: _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_2$schema,
|
|
1216
|
-
jsonSchema: {"type":"object","properties":{"registry":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The registry asked first, normally the one that answered `listVersions`; absent, as for `listVersions`."},"spec":{"type":"string","description":"The Git spec of the target version: required for a bundle listed with `update: 'git'`, where it must pin a full commit of the installed copy's repository directory, and refused for any other."},"requestId":{"type":"string","description":"Names the update's progress and the target installation's logs; `cancelInstall` stops only that installation."}},"required":[],"additionalProperties":true},
|
|
1227
|
+
jsonSchema: {"type":"object","properties":{"registry":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The registry asked first, normally the one that answered `listVersions`; absent, as for `listVersions`."},"spec":{"type":"string","description":"The Git spec of the target version: required for a bundle listed with `update: 'git'`, where it must pin a full commit of the installed copy's repository directory, and refused for any other."},"requestId":{"type":"string","description":"Names the update's progress and the target installation's logs; `cancelInstall` stops only that installation."},"approvedBuilds":{"type":"array","items":{"type":"string"},"description":"Pending build scripts to allow, as `InstallBundleOptions.approvedBuilds`. They are saved before the installed version is removed and stay saved when the update fails; a name no longer pending refuses the update before anything changes."}},"required":[],"additionalProperties":true},
|
|
1217
1228
|
},
|
|
1218
1229
|
strictCodec: {
|
|
1219
1230
|
mode: 'strict',
|
|
1220
1231
|
typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#UpdateBundleOptions',
|
|
1221
1232
|
create: _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_2_strict$schema,
|
|
1222
|
-
jsonSchema: {"type":"object","properties":{"registry":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The registry asked first, normally the one that answered `listVersions`; absent, as for `listVersions`."},"spec":{"type":"string","description":"The Git spec of the target version: required for a bundle listed with `update: 'git'`, where it must pin a full commit of the installed copy's repository directory, and refused for any other."},"requestId":{"type":"string","description":"Names the update's progress and the target installation's logs; `cancelInstall` stops only that installation."}},"required":[],"additionalProperties":false},
|
|
1233
|
+
jsonSchema: {"type":"object","properties":{"registry":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The registry asked first, normally the one that answered `listVersions`; absent, as for `listVersions`."},"spec":{"type":"string","description":"The Git spec of the target version: required for a bundle listed with `update: 'git'`, where it must pin a full commit of the installed copy's repository directory, and refused for any other."},"requestId":{"type":"string","description":"Names the update's progress and the target installation's logs; `cancelInstall` stops only that installation."},"approvedBuilds":{"type":"array","items":{"type":"string"},"description":"Pending build scripts to allow, as `InstallBundleOptions.approvedBuilds`. They are saved before the installed version is removed and stay saved when the update fails; a name no longer pending refuses the update before anything changes."}},"required":[],"additionalProperties":false},
|
|
1223
1234
|
},
|
|
1224
1235
|
},
|
|
1225
1236
|
],
|
|
@@ -1230,7 +1241,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
1230
1241
|
description: 'The versions, the last step that ran with its result, and the reinstallation when one ran.',
|
|
1231
1242
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
1232
1243
|
},
|
|
1233
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
1244
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":763,"column":9},
|
|
1234
1245
|
},
|
|
1235
1246
|
'pluginManager/waitForInstall': {
|
|
1236
1247
|
service: 'pluginManager',
|
|
@@ -1262,7 +1273,7 @@ const $remote = createTypertRemoteInfo({
|
|
|
1262
1273
|
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.',
|
|
1263
1274
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
1264
1275
|
},
|
|
1265
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
1276
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":1167,"column":9},
|
|
1266
1277
|
},
|
|
1267
1278
|
},
|
|
1268
1279
|
}, z)
|
|
@@ -1344,7 +1355,7 @@ export const TYPERT = {
|
|
|
1344
1355
|
"name": "updateBundle",
|
|
1345
1356
|
"signature": "@Remote async updateBundle(name: string, version: string, options?: UpdateBundleOptions): Promise<PluginUpdateResult>",
|
|
1346
1357
|
"summary": "Replace an installed bundle with a newer version.",
|
|
1347
|
-
"jsDoc": "/**\n * Replace an installed bundle with a newer version. A registry copy updates to `name@version`, checked on the registry\n * first: it must exist, declare a bundle, and accept the running DSH version, or nothing changes. A Git copy updates\n * to the Git spec `options.spec` names, which must pin a full commit of the repository directory the copy came from;\n * with HMR, a network failure or timeout reaching its repository stops the update before anything changes. pnpm reads\n * a Git package only while installing it, so its bundle and compatibility are checked then. Either target\n * installation is undone, profile files and modules included, before its bundle loads unless it installs `name` at\n * `version`. With HMR the installed version is removed, so its plugins stop, and the target is installed with the same\n * selection; when that installation fails or is cancelled, the removed version is installed again: a registry copy\n * from the registry it came from, a Git copy from its saved spec. Without HMR the target is installed over the running\n * version and the result reports the restart.\n * @param name Installed profile dependency name.\n * @param version Exact version newer than the installed one.\n * @param options The registry asked first, as for `listVersions`; the Git spec of `version`, required for and accepted\n * only by a bundle `listBundles` lists with `update: 'git'`;
|
|
1358
|
+
"jsDoc": "/**\n * Replace an installed bundle with a newer version. A registry copy updates to `name@version`, checked on the registry\n * first: it must exist, declare a bundle, and accept the running DSH version, or nothing changes. A Git copy updates\n * to the Git spec `options.spec` names, which must pin a full commit of the repository directory the copy came from;\n * with HMR, a network failure or timeout reaching its repository stops the update before anything changes. pnpm reads\n * a Git package only while installing it, so its bundle and compatibility are checked then. Either target\n * installation is undone, profile files and modules included, before its bundle loads unless it installs `name` at\n * `version`. With HMR the installed version is removed, so its plugins stop, and the target is installed with the same\n * selection; when that installation fails or is cancelled, the removed version is installed again: a registry copy\n * from the registry it came from, a Git copy from its saved spec. Without HMR the target is installed over the running\n * version and the result reports the restart.\n * @param name Installed profile dependency name.\n * @param version Exact version newer than the installed one.\n * @param options The registry asked first, as for `listVersions`; the Git spec of `version`, required for and accepted\n * only by a bundle `listBundles` lists with `update: 'git'`; the request id naming the progress and the target\n * installation's logs and cancellation; and the pending build scripts to allow, saved before anything is removed.\n * @returns The versions, the last step that ran with its result, and the reinstallation when one ran.\n */"
|
|
1348
1359
|
},
|
|
1349
1360
|
{
|
|
1350
1361
|
"kind": "method",
|
|
@@ -1436,7 +1447,7 @@ export const TYPERT = {
|
|
|
1436
1447
|
},
|
|
1437
1448
|
{
|
|
1438
1449
|
"name": "ManagementError",
|
|
1439
|
-
"declaration": "export interface ManagementError {\n code: ReadOnlyReason | 'unknown-plugin' | 'invalid-spec' | 'already-installed' | 'ambiguous-install' | 'not-bundle' | 'not-removable' | 'stop-profile' | 'bundle-in-use' | 'stale-approval' | 'incompatible-version' | 'unsupported-platform' | 'unexpected-package' | 'operation-error';\n diagnostic?: string;\n incompatible?: IncompatiblePlugin[];\n}"
|
|
1450
|
+
"declaration": "export interface ManagementError {\n code: ReadOnlyReason | 'unknown-plugin' | 'invalid-spec' | 'already-installed' | 'ambiguous-install' | 'not-bundle' | 'not-removable' | 'stop-profile' | 'bundle-in-use' | 'stale-approval' | 'incompatible-version' | 'unsupported-platform' | 'unexpected-package' | 'operation-error';\n diagnostic?: string;\n incompatible?: IncompatiblePlugin[];\n platforms?: string[];\n}"
|
|
1440
1451
|
},
|
|
1441
1452
|
{
|
|
1442
1453
|
"name": "NpmFileSource",
|
|
@@ -1520,7 +1531,7 @@ export const TYPERT = {
|
|
|
1520
1531
|
},
|
|
1521
1532
|
{
|
|
1522
1533
|
"name": "UpdateBundleOptions",
|
|
1523
|
-
"declaration": "export interface UpdateBundleOptions {\n readonly registry?: Registry;\n readonly spec?: string;\n readonly requestId?: PluginInstallRequestId;\n}"
|
|
1534
|
+
"declaration": "export interface UpdateBundleOptions {\n readonly registry?: Registry;\n readonly spec?: string;\n readonly requestId?: PluginInstallRequestId;\n readonly approvedBuilds?: string[];\n}"
|
|
1524
1535
|
}
|
|
1525
1536
|
]
|
|
1526
1537
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typert.remote-client.d.ts","names":["cancelInstall","inspect","installBundle","listBundles","listPlugins","listVersionExemptions","listVersions","readBundleDetail","registries","removeBundle","setBundleEnabled","setPluginEnabled","setVersionExemption","updateBundle","waitForInstall"],"sources":["../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"typert.remote-client.d.ts","names":["cancelInstall","inspect","installBundle","listBundles","listPlugins","listVersionExemptions","listVersions","readBundleDetail","registries","removeBundle","setBundleEnabled","setPluginEnabled","setVersionExemption","updateBundle","waitForInstall"],"sources":["../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;IAwpCQA,a;IAphBAC,O;IAkXNC,a;IAnfAC,W;IA1BMC,W;IA1BNC,qB;IAiPMC,Y;IArRAC,gB;IAyMAC,U;IAqjBNC,Y;IAzMAC,gB;IAlBAC,gB;IAlfAC,mB;IA8RMC,Y;IAoZAC,c;;;IAUAd,6B;IAphBAC,uB;IAkXNC,6B;IAnfAC,2B;IA1BMC,2B;IA1BNC,qC;IAiPMC,4B;IArRAC,gC;IAyMAC,0B;IAqjBNC,4B;IAzMAC,gC;IAlBAC,gC;IAlfAC,mC;IA8RMC,4B;IAoZAC,8B","ignoreList":[]}
|
|
@@ -62,6 +62,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_installBundle_result$schema
|
|
|
62
62
|
'runtimeVersion': z.string(),
|
|
63
63
|
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
64
64
|
})).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
|
|
65
|
+
'platforms': z.array(z.string()).optional().describe('Present with `unsupported-platform`: the Host platforms the bundle supports.'),
|
|
65
66
|
}).optional(),
|
|
66
67
|
'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
|
|
67
68
|
'packageResult': z.object({
|
|
@@ -124,6 +125,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_listBundles_result$schema =
|
|
|
124
125
|
'runtimeVersion': z.string(),
|
|
125
126
|
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
126
127
|
})).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
|
|
128
|
+
'platforms': z.array(z.string()).optional().describe('Present with `unsupported-platform`: the Host platforms the bundle supports.'),
|
|
127
129
|
}).optional(),
|
|
128
130
|
'rows': z.array(z.object({
|
|
129
131
|
'rowId': z.string().describe('The row id as the patch declares it.'),
|
|
@@ -268,6 +270,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_removeBundle_result$schema =
|
|
|
268
270
|
'runtimeVersion': z.string(),
|
|
269
271
|
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
270
272
|
})).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
|
|
273
|
+
'platforms': z.array(z.string()).optional().describe('Present with `unsupported-platform`: the Host platforms the bundle supports.'),
|
|
271
274
|
}).optional(),
|
|
272
275
|
'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
|
|
273
276
|
'packageResult': z.object({
|
|
@@ -313,6 +316,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_setBundleEnabled_result$sche
|
|
|
313
316
|
'runtimeVersion': z.string(),
|
|
314
317
|
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
315
318
|
})).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
|
|
319
|
+
'platforms': z.array(z.string()).optional().describe('Present with `unsupported-platform`: the Host platforms the bundle supports.'),
|
|
316
320
|
}).optional(),
|
|
317
321
|
'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
|
|
318
322
|
'packageResult': z.object({
|
|
@@ -358,6 +362,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_setPluginEnabled_result$sche
|
|
|
358
362
|
'runtimeVersion': z.string(),
|
|
359
363
|
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
360
364
|
})).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
|
|
365
|
+
'platforms': z.array(z.string()).optional().describe('Present with `unsupported-platform`: the Host platforms the bundle supports.'),
|
|
361
366
|
}).optional(),
|
|
362
367
|
'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
|
|
363
368
|
'packageResult': z.object({
|
|
@@ -407,6 +412,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_setVersionExemption_result$s
|
|
|
407
412
|
'runtimeVersion': z.string(),
|
|
408
413
|
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
409
414
|
})).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
|
|
415
|
+
'platforms': z.array(z.string()).optional().describe('Present with `unsupported-platform`: the Host platforms the bundle supports.'),
|
|
410
416
|
}).optional(),
|
|
411
417
|
'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
|
|
412
418
|
'packageResult': z.object({
|
|
@@ -440,6 +446,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_2$sch
|
|
|
440
446
|
'registry': z.union([z.literal(null), z.string()]).readonly().optional().describe('The registry asked first, normally the one that answered `listVersions`; absent, as for `listVersions`.'),
|
|
441
447
|
'spec': z.string().readonly().optional().describe('The Git spec of the target version: required for a bundle listed with `update: \'git\'`, where it must pin a full commit of the installed copy\'s repository directory, and refused for any other.'),
|
|
442
448
|
'requestId': z.string().readonly().optional().describe('Names the update\'s progress and the target installation\'s logs; `cancelInstall` stops only that installation.'),
|
|
449
|
+
'approvedBuilds': z.array(z.string()).readonly().optional().describe('Pending build scripts to allow, as `InstallBundleOptions.approvedBuilds`. They are saved before the installed version is removed and stay saved when the update fails; a name no longer pending refuses the update before anything changes.'),
|
|
443
450
|
})]))
|
|
444
451
|
let _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_result$schema$value
|
|
445
452
|
const _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_result$schema = () => (_deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_result$schema$value ??= z.object({
|
|
@@ -462,6 +469,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_result$schema =
|
|
|
462
469
|
'runtimeVersion': z.string(),
|
|
463
470
|
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
464
471
|
})).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
|
|
472
|
+
'platforms': z.array(z.string()).optional().describe('Present with `unsupported-platform`: the Host platforms the bundle supports.'),
|
|
465
473
|
}).optional(),
|
|
466
474
|
'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
|
|
467
475
|
'packageResult': z.object({
|
|
@@ -502,6 +510,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_result$schema =
|
|
|
502
510
|
'runtimeVersion': z.string(),
|
|
503
511
|
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
504
512
|
})).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
|
|
513
|
+
'platforms': z.array(z.string()).optional().describe('Present with `unsupported-platform`: the Host platforms the bundle supports.'),
|
|
505
514
|
}).optional(),
|
|
506
515
|
'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
|
|
507
516
|
'packageResult': z.object({
|
|
@@ -546,6 +555,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_result$schema
|
|
|
546
555
|
'runtimeVersion': z.string(),
|
|
547
556
|
'requirements': z.record(z.string(), z.string()).describe('Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.'),
|
|
548
557
|
})).optional().describe('Present with `incompatible-version`: the packages the running DSH version rejects.'),
|
|
558
|
+
'platforms': z.array(z.string()).optional().describe('Present with `unsupported-platform`: the Host platforms the bundle supports.'),
|
|
549
559
|
}).optional(),
|
|
550
560
|
'warnings': z.array(z.string()).optional().describe('Pre-existing inactive entries the operation left as they were.'),
|
|
551
561
|
'packageResult': z.object({
|
|
@@ -633,6 +643,7 @@ const _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_2_str
|
|
|
633
643
|
'registry': z.union([z.literal(null), z.string()]).readonly().optional().describe('The registry asked first, normally the one that answered `listVersions`; absent, as for `listVersions`.'),
|
|
634
644
|
'spec': z.string().readonly().optional().describe('The Git spec of the target version: required for a bundle listed with `update: \'git\'`, where it must pin a full commit of the installed copy\'s repository directory, and refused for any other.'),
|
|
635
645
|
'requestId': z.string().readonly().optional().describe('Names the update\'s progress and the target installation\'s logs; `cancelInstall` stops only that installation.'),
|
|
646
|
+
'approvedBuilds': z.array(z.string()).readonly().optional().describe('Pending build scripts to allow, as `InstallBundleOptions.approvedBuilds`. They are saved before the installed version is removed and stay saved when the update fails; a name no longer pending refuses the update before anything changes.'),
|
|
636
647
|
})]))
|
|
637
648
|
let _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_parameter_0_strict$schema$value
|
|
638
649
|
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())
|
|
@@ -670,7 +681,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
670
681
|
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.',
|
|
671
682
|
jsonSchema: {"type":"object","properties":{"status":{"type":"string","enum":["not-running","cancelled","too-late"]}},"required":["status"],"additionalProperties":true},
|
|
672
683
|
},
|
|
673
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
684
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":1177,"column":9},
|
|
674
685
|
},
|
|
675
686
|
'pluginManager/inspect': {
|
|
676
687
|
service: 'pluginManager',
|
|
@@ -721,7 +732,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
721
732
|
description: 'The package the spec names, or why it is refused.',
|
|
722
733
|
jsonSchema: {"oneOf":[{"type":"object","properties":{"status":{"type":"string","const":"accepted"},"kind":{"type":"string","enum":["path","registry","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":["unknown","network","not-found","invalid-spec","already-installed","not-a-package","not-a-bundle"]},"reason":{"type":"string","description":"What pnpm, the registry, or the file system said."},"registries":{"type":"array","items":{"oneOf":[{"type":"null","const":null},{"type":"string"}]},"description":"The registries asked, in order, when the refusal came from asking them; `reason` is the last one's."}},"required":["status","problem","reason"],"additionalProperties":true}]},
|
|
723
734
|
},
|
|
724
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
735
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":645,"column":9},
|
|
725
736
|
},
|
|
726
737
|
'pluginManager/installBundle': {
|
|
727
738
|
service: 'pluginManager',
|
|
@@ -771,7 +782,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
771
782
|
description: 'Package-manager diagnostics, the registries asked, and the observed activation outcome.',
|
|
772
783
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
773
784
|
},
|
|
774
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
785
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":1015,"column":3},
|
|
775
786
|
},
|
|
776
787
|
'pluginManager/listBundles': {
|
|
777
788
|
service: 'pluginManager',
|
|
@@ -786,7 +797,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
786
797
|
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.',
|
|
787
798
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
788
799
|
},
|
|
789
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
800
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":516,"column":3},
|
|
790
801
|
},
|
|
791
802
|
'pluginManager/listPlugins': {
|
|
792
803
|
service: 'pluginManager',
|
|
@@ -801,7 +812,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
801
812
|
description: 'Current runtime entries with persistent patch targets.',
|
|
802
813
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
803
814
|
},
|
|
804
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
815
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":490,"column":9},
|
|
805
816
|
},
|
|
806
817
|
'pluginManager/listVersionExemptions': {
|
|
807
818
|
service: 'pluginManager',
|
|
@@ -816,7 +827,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
816
827
|
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.',
|
|
817
828
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
818
829
|
},
|
|
819
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
830
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":464,"column":3},
|
|
820
831
|
},
|
|
821
832
|
'pluginManager/listVersions': {
|
|
822
833
|
service: 'pluginManager',
|
|
@@ -867,7 +878,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
867
878
|
description: 'At most `versionListLimit` newer versions, newest first, with their tags, deprecation, bundle declaration, and DSH compatibility, and the registry that answered; or why no list could be read, with every registry asked.',
|
|
868
879
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
869
880
|
},
|
|
870
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
881
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":705,"column":9},
|
|
871
882
|
},
|
|
872
883
|
'pluginManager/readBundleDetail': {
|
|
873
884
|
service: 'pluginManager',
|
|
@@ -934,7 +945,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
934
945
|
description: 'the document with its origin and path, or `none`.',
|
|
935
946
|
jsonSchema: {"oneOf":[{"type":"object","properties":{"status":{"type":"string","const":"found"},"origin":{"type":"string","enum":["locale","readme"],"description":"`locale` for the file locale `meta.detail` names, `readme` for the package's README."},"path":{"type":"string","description":"`/`-separated path of the document inside the package."},"markdown":{"type":"string","description":"Markdown text without a byte order mark or a leading YAML front matter block."}},"required":["status","origin","path","markdown"],"additionalProperties":true},{"type":"object","properties":{"status":{"type":"string","const":"none"}},"required":["status"],"additionalProperties":true}]},
|
|
936
947
|
},
|
|
937
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
948
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":428,"column":9},
|
|
938
949
|
},
|
|
939
950
|
'pluginManager/registries': {
|
|
940
951
|
service: 'pluginManager',
|
|
@@ -949,7 +960,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
949
960
|
description: 'The registries in pnpm\'s comparison form; null is the one pnpm\'s own configuration names, `resolved` as pnpm reads it now.',
|
|
950
961
|
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},
|
|
951
962
|
},
|
|
952
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
963
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":629,"column":9},
|
|
953
964
|
},
|
|
954
965
|
'pluginManager/removeBundle': {
|
|
955
966
|
service: 'pluginManager',
|
|
@@ -981,7 +992,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
981
992
|
description: 'Removal diagnostics and the remaining profile state.',
|
|
982
993
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
983
994
|
},
|
|
984
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
995
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":1194,"column":3},
|
|
985
996
|
},
|
|
986
997
|
'pluginManager/setBundleEnabled': {
|
|
987
998
|
service: 'pluginManager',
|
|
@@ -1030,7 +1041,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1030
1041
|
description: 'Persisted and runtime outcomes.',
|
|
1031
1042
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
1032
1043
|
},
|
|
1033
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
1044
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":993,"column":3},
|
|
1034
1045
|
},
|
|
1035
1046
|
'pluginManager/setPluginEnabled': {
|
|
1036
1047
|
service: 'pluginManager',
|
|
@@ -1079,7 +1090,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1079
1090
|
description: 'Saved and runtime outcomes, including higher-priority overrides.',
|
|
1080
1091
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
1081
1092
|
},
|
|
1082
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
1093
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":975,"column":3},
|
|
1083
1094
|
},
|
|
1084
1095
|
'pluginManager/setVersionExemption': {
|
|
1085
1096
|
service: 'pluginManager',
|
|
@@ -1163,7 +1174,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1163
1174
|
description: 'Saved and runtime outcomes. Startup-only profiles require restart.',
|
|
1164
1175
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
1165
1176
|
},
|
|
1166
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
1177
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":477,"column":3},
|
|
1167
1178
|
},
|
|
1168
1179
|
'pluginManager/updateBundle': {
|
|
1169
1180
|
service: 'pluginManager',
|
|
@@ -1206,20 +1217,20 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1206
1217
|
},
|
|
1207
1218
|
{
|
|
1208
1219
|
name: 'options',
|
|
1209
|
-
description: 'The registry asked first, as for `listVersions`; the Git spec of `version`, required for and accepted only by a bundle `listBundles` lists with `update: \'git\'`;
|
|
1220
|
+
description: 'The registry asked first, as for `listVersions`; the Git spec of `version`, required for and accepted only by a bundle `listBundles` lists with `update: \'git\'`; the request id naming the progress and the target installation\'s logs and cancellation; and the pending build scripts to allow, saved before anything is removed.',
|
|
1210
1221
|
source: 'json',
|
|
1211
1222
|
acceptsUndefined: true,
|
|
1212
1223
|
codec: {
|
|
1213
1224
|
mode: 'strict',
|
|
1214
1225
|
typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#UpdateBundleOptions',
|
|
1215
1226
|
create: _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_2$schema,
|
|
1216
|
-
jsonSchema: {"type":"object","properties":{"registry":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The registry asked first, normally the one that answered `listVersions`; absent, as for `listVersions`."},"spec":{"type":"string","description":"The Git spec of the target version: required for a bundle listed with `update: 'git'`, where it must pin a full commit of the installed copy's repository directory, and refused for any other."},"requestId":{"type":"string","description":"Names the update's progress and the target installation's logs; `cancelInstall` stops only that installation."}},"required":[],"additionalProperties":true},
|
|
1227
|
+
jsonSchema: {"type":"object","properties":{"registry":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The registry asked first, normally the one that answered `listVersions`; absent, as for `listVersions`."},"spec":{"type":"string","description":"The Git spec of the target version: required for a bundle listed with `update: 'git'`, where it must pin a full commit of the installed copy's repository directory, and refused for any other."},"requestId":{"type":"string","description":"Names the update's progress and the target installation's logs; `cancelInstall` stops only that installation."},"approvedBuilds":{"type":"array","items":{"type":"string"},"description":"Pending build scripts to allow, as `InstallBundleOptions.approvedBuilds`. They are saved before the installed version is removed and stay saved when the update fails; a name no longer pending refuses the update before anything changes."}},"required":[],"additionalProperties":true},
|
|
1217
1228
|
},
|
|
1218
1229
|
strictCodec: {
|
|
1219
1230
|
mode: 'strict',
|
|
1220
1231
|
typeSymbol: '@deepseek-ai/dsh-plugin-manager/types#UpdateBundleOptions',
|
|
1221
1232
|
create: _deepseek_ai_dsh_plugin_manager_pluginManager_updateBundle_parameter_2_strict$schema,
|
|
1222
|
-
jsonSchema: {"type":"object","properties":{"registry":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The registry asked first, normally the one that answered `listVersions`; absent, as for `listVersions`."},"spec":{"type":"string","description":"The Git spec of the target version: required for a bundle listed with `update: 'git'`, where it must pin a full commit of the installed copy's repository directory, and refused for any other."},"requestId":{"type":"string","description":"Names the update's progress and the target installation's logs; `cancelInstall` stops only that installation."}},"required":[],"additionalProperties":false},
|
|
1233
|
+
jsonSchema: {"type":"object","properties":{"registry":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"The registry asked first, normally the one that answered `listVersions`; absent, as for `listVersions`."},"spec":{"type":"string","description":"The Git spec of the target version: required for a bundle listed with `update: 'git'`, where it must pin a full commit of the installed copy's repository directory, and refused for any other."},"requestId":{"type":"string","description":"Names the update's progress and the target installation's logs; `cancelInstall` stops only that installation."},"approvedBuilds":{"type":"array","items":{"type":"string"},"description":"Pending build scripts to allow, as `InstallBundleOptions.approvedBuilds`. They are saved before the installed version is removed and stay saved when the update fails; a name no longer pending refuses the update before anything changes."}},"required":[],"additionalProperties":false},
|
|
1223
1234
|
},
|
|
1224
1235
|
},
|
|
1225
1236
|
],
|
|
@@ -1230,7 +1241,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1230
1241
|
description: 'The versions, the last step that ran with its result, and the reinstallation when one ran.',
|
|
1231
1242
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
1232
1243
|
},
|
|
1233
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
1244
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":763,"column":9},
|
|
1234
1245
|
},
|
|
1235
1246
|
'pluginManager/waitForInstall': {
|
|
1236
1247
|
service: 'pluginManager',
|
|
@@ -1262,7 +1273,7 @@ export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
|
1262
1273
|
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.',
|
|
1263
1274
|
jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
|
|
1264
1275
|
},
|
|
1265
|
-
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":
|
|
1276
|
+
sourceLocation: {"file":"packages/boot/plugin-manager/src/index.ts","line":1167,"column":9},
|
|
1266
1277
|
},
|
|
1267
1278
|
},
|
|
1268
1279
|
}, z)
|