@deepseek-ai/dsh-api-remotes 0.2.1-alpha.3 → 0.2.1-alpha.5

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/lib/client.js CHANGED
@@ -558,7 +558,7 @@ window.__ModuleLoader__.load({
558
558
  "timestamp": zod.z.number()
559
559
  })
560
560
  ]);
561
- const TYPERT_REMOTE$24 = createTypertRemoteInfo({
561
+ const TYPERT_REMOTE$25 = createTypertRemoteInfo({
562
562
  package: "@deepseek-ai/dsh-client-product-analytics",
563
563
  methods: {
564
564
  "productAnalytics/enabled": {
@@ -575,13 +575,13 @@ window.__ModuleLoader__.load({
575
575
  },
576
576
  sourceLocation: {
577
577
  "file": "packages/client/product-analytics/src/index.ts",
578
- "line": 51,
578
+ "line": 67,
579
579
  "column": 3
580
580
  }
581
581
  },
582
582
  "productAnalytics/report": {
583
583
  service: "productAnalytics",
584
- description: "Submit selected Desktop fields; missing identity is omitted and never generated.",
584
+ description: "Submit selected Desktop fields with cached static environment and fresh identity. The first intake waits for bounded environment queries; concurrent intakes share them. Missing identity is omitted; failed environment fields carry fixed reasons.",
585
585
  invocation: { kind: "direct" },
586
586
  parameters: [{
587
587
  name: "event",
@@ -609,7 +609,7 @@ window.__ModuleLoader__.load({
609
609
  },
610
610
  sourceLocation: {
611
611
  "file": "packages/client/product-analytics/src/index.ts",
612
- "line": 82,
612
+ "line": 100,
613
613
  "column": 9
614
614
  }
615
615
  },
@@ -629,7 +629,7 @@ window.__ModuleLoader__.load({
629
629
  },
630
630
  sourceLocation: {
631
631
  "file": "packages/client/product-analytics/src/index.ts",
632
- "line": 59,
632
+ "line": 75,
633
633
  "column": 10
634
634
  }
635
635
  }
@@ -666,7 +666,7 @@ window.__ModuleLoader__.load({
666
666
  const _deepseek_ai_dsh_agent_preset_registry_agentPresets_select_parameter_0_strict$schema = () => _deepseek_ai_dsh_agent_preset_registry_agentPresets_select_parameter_0_strict$schema$value ??= zod.z.string();
667
667
  let _deepseek_ai_dsh_agent_preset_registry_agentPresets_select_parameter_1_strict$schema$value;
668
668
  const _deepseek_ai_dsh_agent_preset_registry_agentPresets_select_parameter_1_strict$schema = () => _deepseek_ai_dsh_agent_preset_registry_agentPresets_select_parameter_1_strict$schema$value ??= zod.z.string();
669
- const TYPERT_REMOTE$23 = createTypertRemoteInfo({
669
+ const TYPERT_REMOTE$24 = createTypertRemoteInfo({
670
670
  package: "@deepseek-ai/dsh-agent-preset-registry",
671
671
  methods: {
672
672
  "agentPresets/list": {
@@ -872,7 +872,7 @@ window.__ModuleLoader__.load({
872
872
  const _deepseek_ai_dsh_user_questions_userQuestions_attachWait_parameter_0_strict$schema = () => _deepseek_ai_dsh_user_questions_userQuestions_attachWait_parameter_0_strict$schema$value ??= zod.z.string();
873
873
  let _deepseek_ai_dsh_user_questions_userQuestions_attachWait_parameter_1_strict$schema$value;
874
874
  const _deepseek_ai_dsh_user_questions_userQuestions_attachWait_parameter_1_strict$schema = () => _deepseek_ai_dsh_user_questions_userQuestions_attachWait_parameter_1_strict$schema$value ??= zod.z.string();
875
- const TYPERT_REMOTE$22 = createTypertRemoteInfo({
875
+ const TYPERT_REMOTE$23 = createTypertRemoteInfo({
876
876
  package: "@deepseek-ai/dsh-user-questions",
877
877
  methods: {
878
878
  "userQuestions/answer": {
@@ -1138,7 +1138,7 @@ window.__ModuleLoader__.load({
1138
1138
  })]));
1139
1139
  let _deepseek_ai_dsh_commands_commands_list_parameter_0_strict$schema$value;
1140
1140
  const _deepseek_ai_dsh_commands_commands_list_parameter_0_strict$schema = () => _deepseek_ai_dsh_commands_commands_list_parameter_0_strict$schema$value ??= zod.z.string();
1141
- const TYPERT_REMOTE$21 = createTypertRemoteInfo({
1141
+ const TYPERT_REMOTE$22 = createTypertRemoteInfo({
1142
1142
  package: "@deepseek-ai/dsh-commands",
1143
1143
  methods: {
1144
1144
  "commands/execute": {
@@ -1517,12 +1517,13 @@ window.__ModuleLoader__.load({
1517
1517
  const _deepseek_ai_dsh_api_account_controller_account_getUnnotifiedBonuses_result$schema = () => _deepseek_ai_dsh_api_account_controller_account_getUnnotifiedBonuses_result$schema$value ??= zod.z.union([zod.z.literal(null), zod.z.object({
1518
1518
  "accountId": zod.z.string().readonly(),
1519
1519
  "bonuses": zod.z.array(zod.z.object({
1520
+ "title": zod.z.string().readonly().optional().describe("Server-localized plain-text title; absent responses use the localized bonus title."),
1520
1521
  "orderId": zod.z.string().readonly(),
1521
- "campaign": zod.z.string().readonly(),
1522
- "amount": zod.z.string().readonly().describe("Granted decimal amount, preserving server precision; never the remaining balance."),
1523
- "currency": zod.z.union([zod.z.literal("CNY"), zod.z.literal("USD")]).readonly(),
1524
- "grantedAt": zod.z.string().readonly().describe("Grant time as supplied by Platform."),
1525
- "expiresAt": zod.z.string().readonly().describe("Expiry as supplied by Platform."),
1522
+ "campaign": zod.z.json().readonly().optional().describe("Optional Platform metadata, forwarded without validation."),
1523
+ "amount": zod.z.json().readonly().optional(),
1524
+ "currency": zod.z.json().readonly().optional(),
1525
+ "grantedAt": zod.z.json().readonly().optional(),
1526
+ "expiresAt": zod.z.string().readonly().describe("Platform expiry timestamp; an empty string means the notice never expires."),
1526
1527
  "message": zod.z.string().readonly().describe("Server-localized plain text ready for display.")
1527
1528
  })).readonly()
1528
1529
  })]);
@@ -1682,7 +1683,7 @@ window.__ModuleLoader__.load({
1682
1683
  const _deepseek_ai_dsh_api_account_controller_account_startSignIn_parameter_1_strict$schema = () => _deepseek_ai_dsh_api_account_controller_account_startSignIn_parameter_1_strict$schema$value ??= zod.z.string();
1683
1684
  let _deepseek_ai_dsh_api_account_controller_account_startSignIn_parameter_2_strict$schema$value;
1684
1685
  const _deepseek_ai_dsh_api_account_controller_account_startSignIn_parameter_2_strict$schema = () => _deepseek_ai_dsh_api_account_controller_account_startSignIn_parameter_2_strict$schema$value ??= zod.z.union([zod.z.literal("web"), zod.z.literal("desktop")]);
1685
- const TYPERT_REMOTE$20 = createTypertRemoteInfo({
1686
+ const TYPERT_REMOTE$21 = createTypertRemoteInfo({
1686
1687
  package: "@deepseek-ai/dsh-api-account-controller",
1687
1688
  methods: {
1688
1689
  "account/ackBonusNotified": {
@@ -2297,23 +2298,18 @@ window.__ModuleLoader__.load({
2297
2298
  "items": {
2298
2299
  "type": "object",
2299
2300
  "properties": {
2300
- "orderId": { "type": "string" },
2301
- "campaign": { "type": "string" },
2302
- "amount": {
2303
- "type": "string",
2304
- "description": "Granted decimal amount, preserving server precision; never the remaining balance."
2305
- },
2306
- "currency": {
2307
- "type": "string",
2308
- "enum": ["CNY", "USD"]
2309
- },
2310
- "grantedAt": {
2301
+ "title": {
2311
2302
  "type": "string",
2312
- "description": "Grant time as supplied by Platform."
2303
+ "description": "Server-localized plain-text title; absent responses use the localized bonus title."
2313
2304
  },
2305
+ "orderId": { "type": "string" },
2306
+ "campaign": { "description": "Optional Platform metadata, forwarded without validation." },
2307
+ "amount": {},
2308
+ "currency": {},
2309
+ "grantedAt": {},
2314
2310
  "expiresAt": {
2315
2311
  "type": "string",
2316
- "description": "Expiry as supplied by Platform."
2312
+ "description": "Platform expiry timestamp; an empty string means the notice never expires."
2317
2313
  },
2318
2314
  "message": {
2319
2315
  "type": "string",
@@ -2322,10 +2318,6 @@ window.__ModuleLoader__.load({
2322
2318
  },
2323
2319
  "required": [
2324
2320
  "orderId",
2325
- "campaign",
2326
- "amount",
2327
- "currency",
2328
- "grantedAt",
2329
2321
  "expiresAt",
2330
2322
  "message"
2331
2323
  ],
@@ -2913,7 +2905,7 @@ window.__ModuleLoader__.load({
2913
2905
  const _deepseek_ai_dsh_api_settings_controller_settings_update_parameter_1_strict$schema = () => _deepseek_ai_dsh_api_settings_controller_settings_update_parameter_1_strict$schema$value ??= zod.z.record(zod.z.string(), zod.z.json());
2914
2906
  let _deepseek_ai_dsh_api_settings_controller_settings_update_parameter_2_strict$schema$value;
2915
2907
  const _deepseek_ai_dsh_api_settings_controller_settings_update_parameter_2_strict$schema = () => _deepseek_ai_dsh_api_settings_controller_settings_update_parameter_2_strict$schema$value ??= zod.z.union([zod.z.undefined(), zod.z.number()]);
2916
- const TYPERT_REMOTE$19 = createTypertRemoteInfo({
2908
+ const TYPERT_REMOTE$20 = createTypertRemoteInfo({
2917
2909
  package: "@deepseek-ai/dsh-api-settings-controller",
2918
2910
  methods: {
2919
2911
  "credentials/describe": {
@@ -3704,7 +3696,7 @@ window.__ModuleLoader__.load({
3704
3696
  const _deepseek_ai_dsh_office_to_pdf_officeToPdf_render_parameter_1_strict$schema = () => _deepseek_ai_dsh_office_to_pdf_officeToPdf_render_parameter_1_strict$schema$value ??= zod.z.string();
3705
3697
  let _deepseek_ai_dsh_office_to_pdf_officeToPdf_render_parameter_2_strict$schema$value;
3706
3698
  const _deepseek_ai_dsh_office_to_pdf_officeToPdf_render_parameter_2_strict$schema = () => _deepseek_ai_dsh_office_to_pdf_officeToPdf_render_parameter_2_strict$schema$value ??= zod.z.union([zod.z.literal("foreground"), zod.z.literal("background")]);
3707
- const TYPERT_REMOTE$18 = createTypertRemoteInfo({
3699
+ const TYPERT_REMOTE$19 = createTypertRemoteInfo({
3708
3700
  package: "@deepseek-ai/dsh-office-to-pdf",
3709
3701
  methods: {
3710
3702
  "officeToPdf/generation": {
@@ -4025,7 +4017,7 @@ window.__ModuleLoader__.load({
4025
4017
  "id": zod.z.string().readonly().describe("Stable goal identity."),
4026
4018
  "revision": zod.z.number().readonly().describe("Positive revision; every durable mutation increments it.")
4027
4019
  });
4028
- const TYPERT_REMOTE$17 = createTypertRemoteInfo({
4020
+ const TYPERT_REMOTE$18 = createTypertRemoteInfo({
4029
4021
  package: "@deepseek-ai/dsh-goal",
4030
4022
  methods: {
4031
4023
  "goals/clear": {
@@ -5438,7 +5430,7 @@ window.__ModuleLoader__.load({
5438
5430
  "title": zod.z.string().readonly().optional().describe("Task name of at most 120 characters, non-empty after trimming; omitted keeps the stored name."),
5439
5431
  "prompt": zod.z.string().readonly().optional().describe("Reminder instruction, non-empty after trimming; omitted keeps the stored instruction.")
5440
5432
  });
5441
- const TYPERT_REMOTE$16 = createTypertRemoteInfo({
5433
+ const TYPERT_REMOTE$17 = createTypertRemoteInfo({
5442
5434
  package: "@deepseek-ai/dsh-schedule",
5443
5435
  methods: {
5444
5436
  "schedule/catalog": {
@@ -7329,7 +7321,7 @@ window.__ModuleLoader__.load({
7329
7321
  "api": zod.z.string().optional().describe("Wire protocol the endpoint speaks, when the draft names one."),
7330
7322
  "apiKey": zod.z.string().optional().describe("Credential for this interrogation alone; the harness never stores it.")
7331
7323
  });
7332
- const TYPERT_REMOTE$15 = createTypertRemoteInfo({
7324
+ const TYPERT_REMOTE$16 = createTypertRemoteInfo({
7333
7325
  package: "@deepseek-ai/dsh-llm",
7334
7326
  methods: {
7335
7327
  "llm/discoverModels": {
@@ -8007,7 +7999,7 @@ window.__ModuleLoader__.load({
8007
7999
  const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_undefineFromPanel_parameter_0_strict$schema = () => _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_undefineFromPanel_parameter_0_strict$schema$value ??= zod.z.string();
8008
8000
  let _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_undefineFromPanel_parameter_1_strict$schema$value;
8009
8001
  const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_undefineFromPanel_parameter_1_strict$schema = () => _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_undefineFromPanel_parameter_1_strict$schema$value ??= zod.z.string();
8010
- const TYPERT_REMOTE$14 = createTypertRemoteInfo({
8002
+ const TYPERT_REMOTE$15 = createTypertRemoteInfo({
8011
8003
  package: "@deepseek-ai/dsh-cordis-host-runner",
8012
8004
  methods: {
8013
8005
  "dynamicCordisRunner/getClientCode": {
@@ -9905,7 +9897,7 @@ window.__ModuleLoader__.load({
9905
9897
  "name": zod.z.string(),
9906
9898
  "version": zod.z.string(),
9907
9899
  "runtimeVersion": zod.z.string(),
9908
- "peers": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the DSH peer ranges the running version does not satisfy.")
9900
+ "requirements": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.")
9909
9901
  })).optional().describe("Present with `incompatible-version`: the packages the running DSH version rejects.")
9910
9902
  }).optional(),
9911
9903
  "warnings": zod.z.array(zod.z.string()).optional().describe("Pre-existing inactive entries the operation left as they were."),
@@ -9931,7 +9923,7 @@ window.__ModuleLoader__.load({
9931
9923
  "name": zod.z.string(),
9932
9924
  "version": zod.z.string(),
9933
9925
  "runtimeVersion": zod.z.string(),
9934
- "peers": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the DSH peer ranges the running version does not satisfy.")
9926
+ "requirements": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.")
9935
9927
  })).optional().describe("Present when a compatibility check refused the run: the packages the running DSH version rejects.")
9936
9928
  }).optional(),
9937
9929
  "bundle": zod.z.string().optional().describe("The bundle an installation added, once pnpm and the bundle check accepted it."),
@@ -9989,7 +9981,7 @@ window.__ModuleLoader__.load({
9989
9981
  "name": zod.z.string(),
9990
9982
  "version": zod.z.string(),
9991
9983
  "runtimeVersion": zod.z.string(),
9992
- "peers": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the DSH peer ranges the running version does not satisfy.")
9984
+ "requirements": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.")
9993
9985
  })).optional().describe("Present with `incompatible-version`: the packages the running DSH version rejects.")
9994
9986
  }).optional(),
9995
9987
  "rows": zod.z.array(zod.z.object({
@@ -10105,7 +10097,7 @@ window.__ModuleLoader__.load({
10105
10097
  "name": zod.z.string(),
10106
10098
  "version": zod.z.string(),
10107
10099
  "runtimeVersion": zod.z.string(),
10108
- "peers": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the DSH peer ranges the running version does not satisfy.")
10100
+ "requirements": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.")
10109
10101
  })).optional().describe("Present with `incompatible-version`: the packages the running DSH version rejects.")
10110
10102
  }).optional(),
10111
10103
  "warnings": zod.z.array(zod.z.string()).optional().describe("Pre-existing inactive entries the operation left as they were."),
@@ -10131,7 +10123,7 @@ window.__ModuleLoader__.load({
10131
10123
  "name": zod.z.string(),
10132
10124
  "version": zod.z.string(),
10133
10125
  "runtimeVersion": zod.z.string(),
10134
- "peers": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the DSH peer ranges the running version does not satisfy.")
10126
+ "requirements": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.")
10135
10127
  })).optional().describe("Present when a compatibility check refused the run: the packages the running DSH version rejects.")
10136
10128
  }).optional(),
10137
10129
  "bundle": zod.z.string().optional().describe("The bundle an installation added, once pnpm and the bundle check accepted it."),
@@ -10190,7 +10182,7 @@ window.__ModuleLoader__.load({
10190
10182
  "name": zod.z.string(),
10191
10183
  "version": zod.z.string(),
10192
10184
  "runtimeVersion": zod.z.string(),
10193
- "peers": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the DSH peer ranges the running version does not satisfy.")
10185
+ "requirements": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.")
10194
10186
  })).optional().describe("Present with `incompatible-version`: the packages the running DSH version rejects.")
10195
10187
  }).optional(),
10196
10188
  "warnings": zod.z.array(zod.z.string()).optional().describe("Pre-existing inactive entries the operation left as they were."),
@@ -10216,7 +10208,7 @@ window.__ModuleLoader__.load({
10216
10208
  "name": zod.z.string(),
10217
10209
  "version": zod.z.string(),
10218
10210
  "runtimeVersion": zod.z.string(),
10219
- "peers": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the DSH peer ranges the running version does not satisfy.")
10211
+ "requirements": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.")
10220
10212
  })).optional().describe("Present when a compatibility check refused the run: the packages the running DSH version rejects.")
10221
10213
  }).optional(),
10222
10214
  "bundle": zod.z.string().optional().describe("The bundle an installation added, once pnpm and the bundle check accepted it."),
@@ -10275,7 +10267,7 @@ window.__ModuleLoader__.load({
10275
10267
  "name": zod.z.string(),
10276
10268
  "version": zod.z.string(),
10277
10269
  "runtimeVersion": zod.z.string(),
10278
- "peers": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the DSH peer ranges the running version does not satisfy.")
10270
+ "requirements": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.")
10279
10271
  })).optional().describe("Present with `incompatible-version`: the packages the running DSH version rejects.")
10280
10272
  }).optional(),
10281
10273
  "warnings": zod.z.array(zod.z.string()).optional().describe("Pre-existing inactive entries the operation left as they were."),
@@ -10301,7 +10293,7 @@ window.__ModuleLoader__.load({
10301
10293
  "name": zod.z.string(),
10302
10294
  "version": zod.z.string(),
10303
10295
  "runtimeVersion": zod.z.string(),
10304
- "peers": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the DSH peer ranges the running version does not satisfy.")
10296
+ "requirements": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.")
10305
10297
  })).optional().describe("Present when a compatibility check refused the run: the packages the running DSH version rejects.")
10306
10298
  }).optional(),
10307
10299
  "bundle": zod.z.string().optional().describe("The bundle an installation added, once pnpm and the bundle check accepted it."),
@@ -10368,7 +10360,7 @@ window.__ModuleLoader__.load({
10368
10360
  "name": zod.z.string(),
10369
10361
  "version": zod.z.string(),
10370
10362
  "runtimeVersion": zod.z.string(),
10371
- "peers": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the DSH peer ranges the running version does not satisfy.")
10363
+ "requirements": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.")
10372
10364
  })).optional().describe("Present with `incompatible-version`: the packages the running DSH version rejects.")
10373
10365
  }).optional(),
10374
10366
  "warnings": zod.z.array(zod.z.string()).optional().describe("Pre-existing inactive entries the operation left as they were."),
@@ -10394,7 +10386,7 @@ window.__ModuleLoader__.load({
10394
10386
  "name": zod.z.string(),
10395
10387
  "version": zod.z.string(),
10396
10388
  "runtimeVersion": zod.z.string(),
10397
- "peers": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the DSH peer ranges the running version does not satisfy.")
10389
+ "requirements": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.")
10398
10390
  })).optional().describe("Present when a compatibility check refused the run: the packages the running DSH version rejects.")
10399
10391
  }).optional(),
10400
10392
  "bundle": zod.z.string().optional().describe("The bundle an installation added, once pnpm and the bundle check accepted it."),
@@ -10451,7 +10443,7 @@ window.__ModuleLoader__.load({
10451
10443
  "name": zod.z.string(),
10452
10444
  "version": zod.z.string(),
10453
10445
  "runtimeVersion": zod.z.string(),
10454
- "peers": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the DSH peer ranges the running version does not satisfy.")
10446
+ "requirements": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.")
10455
10447
  })).optional().describe("Present with `incompatible-version`: the packages the running DSH version rejects.")
10456
10448
  }).optional(),
10457
10449
  "warnings": zod.z.array(zod.z.string()).optional().describe("Pre-existing inactive entries the operation left as they were."),
@@ -10477,7 +10469,7 @@ window.__ModuleLoader__.load({
10477
10469
  "name": zod.z.string(),
10478
10470
  "version": zod.z.string(),
10479
10471
  "runtimeVersion": zod.z.string(),
10480
- "peers": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the DSH peer ranges the running version does not satisfy.")
10472
+ "requirements": zod.z.record(zod.z.string(), zod.z.string()).describe("Only the requirements the running version does not satisfy, keyed `engines.dsh` or by DSH peer package name.")
10481
10473
  })).optional().describe("Present when a compatibility check refused the run: the packages the running DSH version rejects.")
10482
10474
  }).optional(),
10483
10475
  "bundle": zod.z.string().optional().describe("The bundle an installation added, once pnpm and the bundle check accepted it."),
@@ -10527,7 +10519,7 @@ window.__ModuleLoader__.load({
10527
10519
  ]);
10528
10520
  let _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_parameter_0_strict$schema$value;
10529
10521
  const _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_parameter_0_strict$schema = () => _deepseek_ai_dsh_plugin_manager_pluginManager_waitForInstall_parameter_0_strict$schema$value ??= zod.z.string();
10530
- const TYPERT_REMOTE$13 = createTypertRemoteInfo({
10522
+ const TYPERT_REMOTE$14 = createTypertRemoteInfo({
10531
10523
  package: "@deepseek-ai/dsh-plugin-manager",
10532
10524
  methods: {
10533
10525
  "pluginManager/cancelInstall": {
@@ -11203,7 +11195,7 @@ window.__ModuleLoader__.load({
11203
11195
  //#region ../../client/ui-plugin-manager/lib/typert.remote-client.js
11204
11196
  let _deepseek_ai_dsh_client_ui_plugin_manager_pluginRegistryProbe_fastest_result$schema$value;
11205
11197
  const _deepseek_ai_dsh_client_ui_plugin_manager_pluginRegistryProbe_fastest_result$schema = () => _deepseek_ai_dsh_client_ui_plugin_manager_pluginRegistryProbe_fastest_result$schema$value ??= zod.z.union([zod.z.literal(null), zod.z.string()]);
11206
- const TYPERT_REMOTE$12 = createTypertRemoteInfo({
11198
+ const TYPERT_REMOTE$13 = createTypertRemoteInfo({
11207
11199
  package: "@deepseek-ai/dsh-client-ui-plugin-manager",
11208
11200
  methods: { "pluginRegistryProbe/fastest": {
11209
11201
  service: "pluginRegistryProbe",
@@ -11228,6 +11220,441 @@ window.__ModuleLoader__.load({
11228
11220
  } }
11229
11221
  }, zod.z);
11230
11222
  //#endregion
11223
+ //#region ../../boot/plugin-market/lib/typert.remote-client.js
11224
+ let _deepseek_ai_dsh_plugin_market_pluginMarket_listIndexes_result$schema$value;
11225
+ const _deepseek_ai_dsh_plugin_market_pluginMarket_listIndexes_result$schema = () => _deepseek_ai_dsh_plugin_market_pluginMarket_listIndexes_result$schema$value ??= zod.z.array(zod.z.object({
11226
+ "url": zod.z.string().readonly(),
11227
+ "title": zod.z.union([zod.z.string(), zod.z.intersection(zod.z.object({ "en": zod.z.string().readonly() }), zod.z.record(zod.z.string(), zod.z.string()).readonly())]).readonly().optional().describe("Market title from the last successful read."),
11228
+ "description": zod.z.union([zod.z.string(), zod.z.intersection(zod.z.object({ "en": zod.z.string().readonly() }), zod.z.record(zod.z.string(), zod.z.string()).readonly())]).readonly().optional(),
11229
+ "error": zod.z.string().readonly().optional().describe("Failure message of the last read when it failed.")
11230
+ }));
11231
+ let _deepseek_ai_dsh_plugin_market_pluginMarket_search_parameter_0$schema$value;
11232
+ const _deepseek_ai_dsh_plugin_market_pluginMarket_search_parameter_0$schema = () => _deepseek_ai_dsh_plugin_market_pluginMarket_search_parameter_0$schema$value ??= zod.z.string();
11233
+ let _deepseek_ai_dsh_plugin_market_pluginMarket_search_parameter_1$schema$value;
11234
+ const _deepseek_ai_dsh_plugin_market_pluginMarket_search_parameter_1$schema = () => _deepseek_ai_dsh_plugin_market_pluginMarket_search_parameter_1$schema$value ??= zod.z.object({
11235
+ "text": zod.z.string().readonly().optional().describe("Fuzzy text matched against the package name, author, keywords, and every language of the title, description, and category and label titles. Every word must match a word in some field, as a prefix or within an edit distance of at most 2. Text without letters or digits matches every plugin."),
11236
+ "category": zod.z.string().readonly().optional().describe("Category id the plugin must have."),
11237
+ "labels": zod.z.array(zod.z.string()).readonly().optional().describe("Label ids the plugin must all have."),
11238
+ "sort": zod.z.union([
11239
+ zod.z.object({ "kind": zod.z.literal("index").readonly() }),
11240
+ zod.z.object({ "kind": zod.z.literal("relevance").readonly() }),
11241
+ zod.z.object({
11242
+ "kind": zod.z.literal("published").readonly(),
11243
+ "direction": zod.z.union([zod.z.literal("asc"), zod.z.literal("desc")]).readonly()
11244
+ }),
11245
+ zod.z.object({
11246
+ "kind": zod.z.literal("key").readonly(),
11247
+ "id": zod.z.string().readonly(),
11248
+ "direction": zod.z.union([zod.z.literal("asc"), zod.z.literal("desc")]).readonly()
11249
+ })
11250
+ ]).readonly(),
11251
+ "offset": zod.z.number().readonly().describe("Number of matching plugins to skip; a non-negative integer."),
11252
+ "limit": zod.z.number().readonly().describe("Largest number of plugins returned; an integer from 1 to 100."),
11253
+ "refresh": zod.z.boolean().readonly().optional().describe("Fetch again instead of using a cached document."),
11254
+ "fetchedAt": zod.z.number().readonly().optional().describe("`fetchedAt` of an earlier page: answer from that document while it is still cached, even after `cacheTtlMs`, so later pages continue the same results. Without `refresh`, a replaced document is answered as without this field.")
11255
+ });
11256
+ let _deepseek_ai_dsh_plugin_market_pluginMarket_search_result$schema$value;
11257
+ const _deepseek_ai_dsh_plugin_market_pluginMarket_search_result$schema = () => _deepseek_ai_dsh_plugin_market_pluginMarket_search_result$schema$value ??= zod.z.object({
11258
+ "url": zod.z.string().readonly(),
11259
+ "title": zod.z.union([zod.z.string(), zod.z.intersection(zod.z.object({ "en": zod.z.string().readonly() }), zod.z.record(zod.z.string(), zod.z.string()).readonly())]).readonly(),
11260
+ "description": zod.z.union([zod.z.string(), zod.z.intersection(zod.z.object({ "en": zod.z.string().readonly() }), zod.z.record(zod.z.string(), zod.z.string()).readonly())]).readonly().optional(),
11261
+ "metadata": zod.z.object({
11262
+ "categories": zod.z.record(zod.z.string(), zod.z.object({ "title": zod.z.union([zod.z.string(), zod.z.intersection(zod.z.object({ "en": zod.z.string().readonly() }), zod.z.record(zod.z.string(), zod.z.string()).readonly())]).readonly() })).readonly().readonly(),
11263
+ "labels": zod.z.record(zod.z.string(), zod.z.object({ "title": zod.z.union([zod.z.string(), zod.z.intersection(zod.z.object({ "en": zod.z.string().readonly() }), zod.z.record(zod.z.string(), zod.z.string()).readonly())]).readonly() })).readonly().readonly(),
11264
+ "sortKeys": zod.z.record(zod.z.string(), zod.z.object({
11265
+ "title": zod.z.union([zod.z.string(), zod.z.intersection(zod.z.object({ "en": zod.z.string().readonly() }), zod.z.record(zod.z.string(), zod.z.string()).readonly())]).readonly(),
11266
+ "order": zod.z.union([zod.z.literal("asc"), zod.z.literal("desc")]).readonly()
11267
+ })).readonly().readonly()
11268
+ }).readonly(),
11269
+ "fetchedAt": zod.z.number().readonly().describe("Fetch time of the document answering this page, in Unix milliseconds; a different value means a different document."),
11270
+ "entries": zod.z.array(zod.z.object({
11271
+ "versions": zod.z.array(zod.z.object({
11272
+ "install": zod.z.object({
11273
+ "spec": zod.z.string().readonly().describe("Install spec accepted by `pnpm add`."),
11274
+ "registry": zod.z.string().readonly().optional().describe("Registry to ask first; absent means the installing client's configured registry.")
11275
+ }).readonly(),
11276
+ "compatibility": zod.z.union([zod.z.object({ "compatible": zod.z.literal(true).readonly() }), zod.z.object({
11277
+ "compatible": zod.z.literal(false).readonly(),
11278
+ "runtimeVersion": zod.z.string().readonly(),
11279
+ "requirements": zod.z.record(zod.z.string(), zod.z.string()).readonly().readonly().describe("The unmet requirement, keyed `engines.dsh`."),
11280
+ "exempted": zod.z.boolean().readonly().describe("Whether the profile holds a version exemption for this exact package and runtime version.")
11281
+ })]).readonly(),
11282
+ "version": zod.z.string().readonly().describe("Exact SemVer version, unique within its plugin."),
11283
+ "publishTimestamp": zod.z.number().readonly().describe("Publish time of `version` in Unix seconds."),
11284
+ "source": zod.z.union([zod.z.object({
11285
+ "type": zod.z.literal("npm").readonly(),
11286
+ "registry": zod.z.string().readonly().optional().describe("http(s) registry URL; absent means the installing client's configured registry.")
11287
+ }), zod.z.object({
11288
+ "type": zod.z.literal("git").readonly(),
11289
+ "url": zod.z.string().readonly().describe("Canonical https repository URL without credentials, query, or fragment."),
11290
+ "commit": zod.z.string().readonly().describe("Lowercase 40-hex-digit commit SHA."),
11291
+ "path": zod.z.string().readonly().optional().describe("Relative POSIX package directory; absent means the repository root.")
11292
+ })]).readonly(),
11293
+ "engines": zod.z.object({ "dsh": zod.z.string().readonly().optional().describe("SemVer range of DSH versions the version runs on; absent means any DSH version.") }).readonly()
11294
+ })).readonly().describe("Non-empty, in descending SemVer precedence."),
11295
+ "defaultVersion": zod.z.string().readonly().optional().describe("The version installed by default: the highest compatible version without a prerelease tag, or the highest compatible prerelease when the plugin lists no version without one. Absent when no such version is compatible."),
11296
+ "installation": zod.z.object({
11297
+ "status": zod.z.union([
11298
+ zod.z.literal("not-installed"),
11299
+ zod.z.literal("installed"),
11300
+ zod.z.literal("update-available"),
11301
+ zod.z.literal("different-version"),
11302
+ zod.z.literal("provided")
11303
+ ]).readonly(),
11304
+ "installedVersion": zod.z.string().readonly().optional()
11305
+ }).readonly(),
11306
+ "title": zod.z.union([zod.z.string(), zod.z.intersection(zod.z.object({ "en": zod.z.string().readonly() }), zod.z.record(zod.z.string(), zod.z.string()).readonly())]).readonly().optional(),
11307
+ "name": zod.z.string().readonly().describe("npm package name, unique within its index."),
11308
+ "description": zod.z.union([zod.z.string(), zod.z.intersection(zod.z.object({ "en": zod.z.string().readonly() }), zod.z.record(zod.z.string(), zod.z.string()).readonly())]).readonly().optional(),
11309
+ "icon": zod.z.string().readonly().optional().describe("Base64 `data:` URL or absolute URL; a relative index reference is already resolved against the index URL."),
11310
+ "author": zod.z.string().readonly().optional(),
11311
+ "homepage": zod.z.string().readonly().optional().describe("Absolute http(s) URL of a page about the plugin."),
11312
+ "repository": zod.z.object({
11313
+ "url": zod.z.string().readonly().describe("Absolute http(s) URL of the repository's web page, without credentials, query, or fragment."),
11314
+ "directory": zod.z.string().readonly().optional().describe("Relative POSIX directory of the package inside the repository; absent means the repository root.")
11315
+ }).readonly().optional().describe("Web page of the plugin's source repository and its package directory; display only."),
11316
+ "metadata": zod.z.object({
11317
+ "category": zod.z.string().readonly().optional(),
11318
+ "keywords": zod.z.array(zod.z.string()).readonly().describe("Free-form strings, conventionally from package keywords; absent input becomes an empty array."),
11319
+ "labels": zod.z.array(zod.z.string()).readonly(),
11320
+ "sortKeys": zod.z.record(zod.z.string(), zod.z.number()).readonly().readonly()
11321
+ }).readonly()
11322
+ })).readonly().describe("Matching plugins of this page, in result order."),
11323
+ "total": zod.z.number().readonly().describe("Number of matching plugins across all pages."),
11324
+ "nextOffset": zod.z.union([zod.z.literal(null), zod.z.number()]).readonly().describe("`offset` of the next page, or null after the last.")
11325
+ });
11326
+ let _deepseek_ai_dsh_plugin_market_pluginMarket_setIndexes_parameter_0$schema$value;
11327
+ const _deepseek_ai_dsh_plugin_market_pluginMarket_setIndexes_parameter_0$schema = () => _deepseek_ai_dsh_plugin_market_pluginMarket_setIndexes_parameter_0$schema$value ??= zod.z.array(zod.z.string());
11328
+ let _deepseek_ai_dsh_plugin_market_pluginMarket_setIndexes_result$schema$value;
11329
+ const _deepseek_ai_dsh_plugin_market_pluginMarket_setIndexes_result$schema = () => _deepseek_ai_dsh_plugin_market_pluginMarket_setIndexes_result$schema$value ??= zod.z.void();
11330
+ let _deepseek_ai_dsh_plugin_market_pluginMarket_search_parameter_0_strict$schema$value;
11331
+ const _deepseek_ai_dsh_plugin_market_pluginMarket_search_parameter_0_strict$schema = () => _deepseek_ai_dsh_plugin_market_pluginMarket_search_parameter_0_strict$schema$value ??= zod.z.string();
11332
+ let _deepseek_ai_dsh_plugin_market_pluginMarket_search_parameter_1_strict$schema$value;
11333
+ const _deepseek_ai_dsh_plugin_market_pluginMarket_search_parameter_1_strict$schema = () => _deepseek_ai_dsh_plugin_market_pluginMarket_search_parameter_1_strict$schema$value ??= zod.z.strictObject({
11334
+ "text": zod.z.string().readonly().optional().describe("Fuzzy text matched against the package name, author, keywords, and every language of the title, description, and category and label titles. Every word must match a word in some field, as a prefix or within an edit distance of at most 2. Text without letters or digits matches every plugin."),
11335
+ "category": zod.z.string().readonly().optional().describe("Category id the plugin must have."),
11336
+ "labels": zod.z.array(zod.z.string()).readonly().optional().describe("Label ids the plugin must all have."),
11337
+ "sort": zod.z.union([
11338
+ zod.z.strictObject({ "kind": zod.z.literal("index").readonly() }),
11339
+ zod.z.strictObject({ "kind": zod.z.literal("relevance").readonly() }),
11340
+ zod.z.strictObject({
11341
+ "kind": zod.z.literal("published").readonly(),
11342
+ "direction": zod.z.union([zod.z.literal("asc"), zod.z.literal("desc")]).readonly()
11343
+ }),
11344
+ zod.z.strictObject({
11345
+ "kind": zod.z.literal("key").readonly(),
11346
+ "id": zod.z.string().readonly(),
11347
+ "direction": zod.z.union([zod.z.literal("asc"), zod.z.literal("desc")]).readonly()
11348
+ })
11349
+ ]).readonly(),
11350
+ "offset": zod.z.number().readonly().describe("Number of matching plugins to skip; a non-negative integer."),
11351
+ "limit": zod.z.number().readonly().describe("Largest number of plugins returned; an integer from 1 to 100."),
11352
+ "refresh": zod.z.boolean().readonly().optional().describe("Fetch again instead of using a cached document."),
11353
+ "fetchedAt": zod.z.number().readonly().optional().describe("`fetchedAt` of an earlier page: answer from that document while it is still cached, even after `cacheTtlMs`, so later pages continue the same results. Without `refresh`, a replaced document is answered as without this field.")
11354
+ });
11355
+ let _deepseek_ai_dsh_plugin_market_pluginMarket_setIndexes_parameter_0_strict$schema$value;
11356
+ const _deepseek_ai_dsh_plugin_market_pluginMarket_setIndexes_parameter_0_strict$schema = () => _deepseek_ai_dsh_plugin_market_pluginMarket_setIndexes_parameter_0_strict$schema$value ??= zod.z.array(zod.z.string());
11357
+ const TYPERT_REMOTE$12 = createTypertRemoteInfo({
11358
+ package: "@deepseek-ai/dsh-plugin-market",
11359
+ methods: {
11360
+ "pluginMarket/listIndexes": {
11361
+ service: "pluginMarket",
11362
+ description: "List the configured index sources without fetching them.",
11363
+ invocation: { kind: "direct" },
11364
+ parameters: [],
11365
+ result: {
11366
+ mode: "strict",
11367
+ typeSymbol: "@deepseek-ai/dsh-plugin-market#pluginMarket/listIndexes:result",
11368
+ create: _deepseek_ai_dsh_plugin_market_pluginMarket_listIndexes_result$schema,
11369
+ description: "every source in order, with the title of its last successful read and, when the last read failed, its error.",
11370
+ jsonSchemaError: "typert tool schema: selected dictionaries require string keys and unconstrained JSON values"
11371
+ },
11372
+ sourceLocation: {
11373
+ "file": "packages/boot/plugin-market/src/index.ts",
11374
+ "line": 115,
11375
+ "column": 3
11376
+ }
11377
+ },
11378
+ "pluginMarket/search": {
11379
+ service: "pluginMarket",
11380
+ description: "Return one page of the plugins of a configured index that match a query. Concurrent reads of a URL share one fetch; a successful document is reused for `cacheTtlMs` unless `refresh` is set. Matching and ordering read only the document; installation status and compatibility are computed for the returned page on every call.",
11381
+ invocation: { kind: "direct" },
11382
+ parameters: [{
11383
+ name: "url",
11384
+ description: "a configured index URL.",
11385
+ source: "json",
11386
+ codec: {
11387
+ mode: "strict",
11388
+ typeSymbol: "@deepseek-ai/dsh-plugin-market#pluginMarket/search:url",
11389
+ create: _deepseek_ai_dsh_plugin_market_pluginMarket_search_parameter_0$schema,
11390
+ jsonSchema: { "type": "string" }
11391
+ },
11392
+ strictCodec: {
11393
+ mode: "strict",
11394
+ typeSymbol: "@deepseek-ai/dsh-plugin-market#pluginMarket/search:url",
11395
+ create: _deepseek_ai_dsh_plugin_market_pluginMarket_search_parameter_0_strict$schema,
11396
+ jsonSchema: { "type": "string" }
11397
+ }
11398
+ }, {
11399
+ name: "query",
11400
+ description: "text, filters, order, page, and whether to bypass the cached document.",
11401
+ source: "json",
11402
+ codec: {
11403
+ mode: "strict",
11404
+ typeSymbol: "@deepseek-ai/dsh-plugin-market/types#MarketQuery",
11405
+ create: _deepseek_ai_dsh_plugin_market_pluginMarket_search_parameter_1$schema,
11406
+ jsonSchema: {
11407
+ "type": "object",
11408
+ "properties": {
11409
+ "text": {
11410
+ "type": "string",
11411
+ "description": "Fuzzy text matched against the package name, author, keywords, and every language of the title, description, and category and label titles. Every word must match a word in some field, as a prefix or within an edit distance of at most 2. Text without letters or digits matches every plugin."
11412
+ },
11413
+ "category": {
11414
+ "type": "string",
11415
+ "description": "Category id the plugin must have."
11416
+ },
11417
+ "labels": {
11418
+ "type": "array",
11419
+ "items": { "type": "string" },
11420
+ "description": "Label ids the plugin must all have."
11421
+ },
11422
+ "sort": { "oneOf": [
11423
+ {
11424
+ "type": "object",
11425
+ "properties": { "kind": {
11426
+ "type": "string",
11427
+ "const": "index"
11428
+ } },
11429
+ "required": ["kind"],
11430
+ "additionalProperties": true
11431
+ },
11432
+ {
11433
+ "type": "object",
11434
+ "properties": { "kind": {
11435
+ "type": "string",
11436
+ "const": "relevance"
11437
+ } },
11438
+ "required": ["kind"],
11439
+ "additionalProperties": true
11440
+ },
11441
+ {
11442
+ "type": "object",
11443
+ "properties": {
11444
+ "kind": {
11445
+ "type": "string",
11446
+ "const": "published"
11447
+ },
11448
+ "direction": {
11449
+ "type": "string",
11450
+ "enum": ["asc", "desc"]
11451
+ }
11452
+ },
11453
+ "required": ["kind", "direction"],
11454
+ "additionalProperties": true
11455
+ },
11456
+ {
11457
+ "type": "object",
11458
+ "properties": {
11459
+ "kind": {
11460
+ "type": "string",
11461
+ "const": "key"
11462
+ },
11463
+ "id": { "type": "string" },
11464
+ "direction": {
11465
+ "type": "string",
11466
+ "enum": ["asc", "desc"]
11467
+ }
11468
+ },
11469
+ "required": [
11470
+ "kind",
11471
+ "id",
11472
+ "direction"
11473
+ ],
11474
+ "additionalProperties": true
11475
+ }
11476
+ ] },
11477
+ "offset": {
11478
+ "type": "number",
11479
+ "description": "Number of matching plugins to skip; a non-negative integer."
11480
+ },
11481
+ "limit": {
11482
+ "type": "number",
11483
+ "description": "Largest number of plugins returned; an integer from 1 to 100."
11484
+ },
11485
+ "refresh": {
11486
+ "type": "boolean",
11487
+ "description": "Fetch again instead of using a cached document."
11488
+ },
11489
+ "fetchedAt": {
11490
+ "type": "number",
11491
+ "description": "`fetchedAt` of an earlier page: answer from that document while it is still cached, even after `cacheTtlMs`, so later pages continue the same results. Without `refresh`, a replaced document is answered as without this field."
11492
+ }
11493
+ },
11494
+ "required": [
11495
+ "sort",
11496
+ "offset",
11497
+ "limit"
11498
+ ],
11499
+ "additionalProperties": true
11500
+ }
11501
+ },
11502
+ strictCodec: {
11503
+ mode: "strict",
11504
+ typeSymbol: "@deepseek-ai/dsh-plugin-market/types#MarketQuery",
11505
+ create: _deepseek_ai_dsh_plugin_market_pluginMarket_search_parameter_1_strict$schema,
11506
+ jsonSchema: {
11507
+ "type": "object",
11508
+ "properties": {
11509
+ "text": {
11510
+ "type": "string",
11511
+ "description": "Fuzzy text matched against the package name, author, keywords, and every language of the title, description, and category and label titles. Every word must match a word in some field, as a prefix or within an edit distance of at most 2. Text without letters or digits matches every plugin."
11512
+ },
11513
+ "category": {
11514
+ "type": "string",
11515
+ "description": "Category id the plugin must have."
11516
+ },
11517
+ "labels": {
11518
+ "type": "array",
11519
+ "items": { "type": "string" },
11520
+ "description": "Label ids the plugin must all have."
11521
+ },
11522
+ "sort": { "oneOf": [
11523
+ {
11524
+ "type": "object",
11525
+ "properties": { "kind": {
11526
+ "type": "string",
11527
+ "const": "index"
11528
+ } },
11529
+ "required": ["kind"],
11530
+ "additionalProperties": false
11531
+ },
11532
+ {
11533
+ "type": "object",
11534
+ "properties": { "kind": {
11535
+ "type": "string",
11536
+ "const": "relevance"
11537
+ } },
11538
+ "required": ["kind"],
11539
+ "additionalProperties": false
11540
+ },
11541
+ {
11542
+ "type": "object",
11543
+ "properties": {
11544
+ "kind": {
11545
+ "type": "string",
11546
+ "const": "published"
11547
+ },
11548
+ "direction": {
11549
+ "type": "string",
11550
+ "enum": ["asc", "desc"]
11551
+ }
11552
+ },
11553
+ "required": ["kind", "direction"],
11554
+ "additionalProperties": false
11555
+ },
11556
+ {
11557
+ "type": "object",
11558
+ "properties": {
11559
+ "kind": {
11560
+ "type": "string",
11561
+ "const": "key"
11562
+ },
11563
+ "id": { "type": "string" },
11564
+ "direction": {
11565
+ "type": "string",
11566
+ "enum": ["asc", "desc"]
11567
+ }
11568
+ },
11569
+ "required": [
11570
+ "kind",
11571
+ "id",
11572
+ "direction"
11573
+ ],
11574
+ "additionalProperties": false
11575
+ }
11576
+ ] },
11577
+ "offset": {
11578
+ "type": "number",
11579
+ "description": "Number of matching plugins to skip; a non-negative integer."
11580
+ },
11581
+ "limit": {
11582
+ "type": "number",
11583
+ "description": "Largest number of plugins returned; an integer from 1 to 100."
11584
+ },
11585
+ "refresh": {
11586
+ "type": "boolean",
11587
+ "description": "Fetch again instead of using a cached document."
11588
+ },
11589
+ "fetchedAt": {
11590
+ "type": "number",
11591
+ "description": "`fetchedAt` of an earlier page: answer from that document while it is still cached, even after `cacheTtlMs`, so later pages continue the same results. Without `refresh`, a replaced document is answered as without this field."
11592
+ }
11593
+ },
11594
+ "required": [
11595
+ "sort",
11596
+ "offset",
11597
+ "limit"
11598
+ ],
11599
+ "additionalProperties": false
11600
+ }
11601
+ }
11602
+ }],
11603
+ result: {
11604
+ mode: "strict",
11605
+ typeSymbol: "@deepseek-ai/dsh-plugin-market/types#MarketSearchResult",
11606
+ create: _deepseek_ai_dsh_plugin_market_pluginMarket_search_result$schema,
11607
+ description: "the index header, the page's plugins with each plugin's default version and installation status and each version's compatibility and install arguments, the number of matches, and the next page's offset.",
11608
+ jsonSchemaError: "typert tool schema: selected dictionaries require string keys and unconstrained JSON values"
11609
+ },
11610
+ sourceLocation: {
11611
+ "file": "packages/boot/plugin-market/src/index.ts",
11612
+ "line": 164,
11613
+ "column": 9
11614
+ }
11615
+ },
11616
+ "pluginMarket/setIndexes": {
11617
+ service: "pluginMarket",
11618
+ description: "Replace the configured index sources through Settings, without remounting this service. `plugin-market/changed` announces the committed list. A URL already configured is kept as written, so a client can add or remove sources beside one that `listIndexes` reports as unusable.",
11619
+ invocation: { kind: "direct" },
11620
+ parameters: [{
11621
+ name: "urls",
11622
+ description: "index URLs in display order.",
11623
+ source: "json",
11624
+ codec: {
11625
+ mode: "strict",
11626
+ typeSymbol: "@deepseek-ai/dsh-plugin-market#pluginMarket/setIndexes:urls",
11627
+ create: _deepseek_ai_dsh_plugin_market_pluginMarket_setIndexes_parameter_0$schema,
11628
+ jsonSchema: {
11629
+ "type": "array",
11630
+ "items": { "type": "string" }
11631
+ }
11632
+ },
11633
+ strictCodec: {
11634
+ mode: "strict",
11635
+ typeSymbol: "@deepseek-ai/dsh-plugin-market#pluginMarket/setIndexes:urls",
11636
+ create: _deepseek_ai_dsh_plugin_market_pluginMarket_setIndexes_parameter_0_strict$schema,
11637
+ jsonSchema: {
11638
+ "type": "array",
11639
+ "items": { "type": "string" }
11640
+ }
11641
+ }
11642
+ }],
11643
+ result: {
11644
+ mode: "strict",
11645
+ typeSymbol: "@deepseek-ai/dsh-plugin-market#pluginMarket/setIndexes:result",
11646
+ create: _deepseek_ai_dsh_plugin_market_pluginMarket_setIndexes_result$schema,
11647
+ jsonSchemaError: "typert tool schema: unsupported void value"
11648
+ },
11649
+ sourceLocation: {
11650
+ "file": "packages/boot/plugin-market/src/index.ts",
11651
+ "line": 136,
11652
+ "column": 9
11653
+ }
11654
+ }
11655
+ }
11656
+ }, zod.z);
11657
+ //#endregion
11231
11658
  //#region ../../host/plugin-inventory/lib/typert.remote-client.js
11232
11659
  let _deepseek_ai_dsh_host_plugin_inventory_pluginInventory_list_result$schema$value;
11233
11660
  const _deepseek_ai_dsh_host_plugin_inventory_pluginInventory_list_result$schema = () => _deepseek_ai_dsh_host_plugin_inventory_pluginInventory_list_result$schema$value ??= zod.z.object({
@@ -23219,18 +23646,19 @@ window.__ModuleLoader__.load({
23219
23646
  const disposers = [];
23220
23647
  try {
23221
23648
  for (const contribution of [
23649
+ TYPERT_REMOTE$25,
23222
23650
  TYPERT_REMOTE$24,
23223
- TYPERT_REMOTE$23,
23224
- TYPERT_REMOTE$21,
23225
- TYPERT_REMOTE$19,
23651
+ TYPERT_REMOTE$22,
23226
23652
  TYPERT_REMOTE$20,
23227
- TYPERT_REMOTE$17,
23228
- TYPERT_REMOTE$15,
23229
- TYPERT_REMOTE$14,
23653
+ TYPERT_REMOTE$21,
23654
+ TYPERT_REMOTE$18,
23230
23655
  TYPERT_REMOTE$16,
23656
+ TYPERT_REMOTE$15,
23657
+ TYPERT_REMOTE$17,
23231
23658
  TYPERT_REMOTE$11,
23232
- TYPERT_REMOTE$13,
23659
+ TYPERT_REMOTE$14,
23233
23660
  TYPERT_REMOTE$12,
23661
+ TYPERT_REMOTE$13,
23234
23662
  TYPERT_REMOTE$10,
23235
23663
  TYPERT_REMOTE$8,
23236
23664
  TYPERT_REMOTE$7,
@@ -23242,8 +23670,8 @@ window.__ModuleLoader__.load({
23242
23670
  TYPERT_REMOTE$2,
23243
23671
  TYPERT_REMOTE,
23244
23672
  TYPERT_REMOTE$1,
23245
- TYPERT_REMOTE$18,
23246
- TYPERT_REMOTE$22
23673
+ TYPERT_REMOTE$19,
23674
+ TYPERT_REMOTE$23
23247
23675
  ]) disposers.push(await ctx.remote.$mount(contribution));
23248
23676
  } catch (error) {
23249
23677
  for (const dispose of disposers.reverse()) await dispose();
package/lib/index.js CHANGED
@@ -120,6 +120,10 @@ const API_REMOTE_FORWARDED_EVENTS = [
120
120
  event: "plugin-manager/install-state",
121
121
  mode: "emit"
122
122
  },
123
+ {
124
+ event: "plugin-market/changed",
125
+ mode: "emit"
126
+ },
123
127
  {
124
128
  event: "settings/document-updated",
125
129
  mode: "emit"
@@ -6,6 +6,8 @@ export type { ClientRemote } from '@deepseek-ai/dsh-api-gateway/client';
6
6
  export type { BundleInfo, BundleRowInfo, ChangeResult, IncompatiblePlugin, InspectOptions, InstallBundleOptions, InstallSpecKind, ManagementError, PackageResult, PluginChange, PluginEntryId, PluginInfo, PluginInspectProblem, PluginInstallCancellation, PluginInstallFailureKind, PluginInstallLogChunk, PluginInstallProgress, PluginInstallRequestId, PluginRegistries, PluginSpecInspection, ReadOnlyReason, Registry, RestartReason, } from '@deepseek-ai/dsh-plugin-manager/types';
7
7
  export type {} from '@deepseek-ai/dsh-plugin-manager/remote';
8
8
  export type {} from '@deepseek-ai/dsh-client-ui-plugin-manager/remote';
9
+ export type {} from '@deepseek-ai/dsh-plugin-market/remote';
10
+ export type { MarketCompatibility, MarketIndexSummary, MarketInstallation, MarketInstallationStatus, MarketListingEntry, MarketListingVersion, MarketQuery, MarketSearchResult, MarketSort, } from '@deepseek-ai/dsh-plugin-market/types';
9
11
  export type { PluginInventorySnapshot } from '@deepseek-ai/dsh-host-plugin-inventory/types';
10
12
  export type {} from '@deepseek-ai/dsh-agent-preset-registry/remote';
11
13
  export type {} from '@deepseek-ai/dsh-user-questions/remote';
@@ -12,6 +12,7 @@ import llmRemote from '@deepseek-ai/dsh-llm/remote';
12
12
  import dynamicRemote from '@deepseek-ai/dsh-cordis-host-runner/remote';
13
13
  import pluginManagerRemote from '@deepseek-ai/dsh-plugin-manager/remote';
14
14
  import pluginRegistryProbeRemote from '@deepseek-ai/dsh-client-ui-plugin-manager/remote';
15
+ import pluginMarketRemote from '@deepseek-ai/dsh-plugin-market/remote';
15
16
  import pluginInventoryRemote from '@deepseek-ai/dsh-host-plugin-inventory/remote';
16
17
  import messageFeedbackRemote from '@deepseek-ai/dsh-message-feedback/remote';
17
18
  import permissionPresetsRemote from '@deepseek-ai/dsh-permission-presets/remote';
@@ -37,7 +38,8 @@ export async function apply(ctx) {
37
38
  for (const contribution of [
38
39
  productAnalyticsRemote, agentPresetsRemote, commandsRemote, settingsControllerRemote, accountRemote,
39
40
  goalsRemote, llmRemote, dynamicRemote, scheduleRemote,
40
- pluginInventoryRemote, pluginManagerRemote, pluginRegistryProbeRemote, messageFeedbackRemote, sessionFeedbackRemote,
41
+ pluginInventoryRemote, pluginManagerRemote, pluginMarketRemote, pluginRegistryProbeRemote,
42
+ messageFeedbackRemote, sessionFeedbackRemote,
41
43
  fileUploadsRemote, sessionReferencesRemote,
42
44
  permissionPresetsRemote, subagentsRemote, sessionRemote, jobRemote, workspaceRemote, workspaceFilesRemote, terminalRemote,
43
45
  officeToPdfRemote, userQuestionsRemote,
@@ -101,6 +101,9 @@ export declare const API_REMOTE_FORWARDED_EVENTS: readonly [{
101
101
  }, {
102
102
  readonly event: "plugin-manager/install-state";
103
103
  readonly mode: "emit";
104
+ }, {
105
+ readonly event: "plugin-market/changed";
106
+ readonly mode: "emit";
104
107
  }, {
105
108
  readonly event: "settings/document-updated";
106
109
  readonly mode: "emit";
@@ -38,6 +38,7 @@ export const API_REMOTE_FORWARDED_EVENTS = [
38
38
  { event: 'plugin-manager/changed', mode: 'emit' },
39
39
  { event: 'plugin-manager/install-log', mode: 'emit' },
40
40
  { event: 'plugin-manager/install-state', mode: 'emit' },
41
+ { event: 'plugin-market/changed', mode: 'emit' },
41
42
  { event: 'settings/document-updated', mode: 'emit' },
42
43
  { event: 'schedule/changed', mode: 'emit' },
43
44
  { event: 'user-questions/request', mode: 'waterfall' },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-api-remotes",
3
3
  "description": "Remote BFF assembly for application-selected Host capabilities",
4
- "version": "0.2.1-alpha.3",
4
+ "version": "0.2.1-alpha.5",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -48,52 +48,53 @@
48
48
  "lib/types/**/*.d.ts"
49
49
  ],
50
50
  "dependencies": {
51
- "@deepseek-ai/dsh-deque": "0.2.1-alpha.3",
52
- "@deepseek-ai/dsh-util-values": "0.2.1-alpha.3"
51
+ "@deepseek-ai/dsh-deque": "0.2.1-alpha.5",
52
+ "@deepseek-ai/dsh-util-values": "0.2.1-alpha.5"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "@deepseek-ai/cordis": "~4.0.5-alpha.2",
56
- "@deepseek-ai/dsh-scope": "0.2.1-alpha.3"
56
+ "@deepseek-ai/dsh-scope": "0.2.1-alpha.5"
57
57
  },
58
58
  "devDependencies": {
59
- "@deepseek-ai/dsh-agent": "0.2.1-alpha.3",
60
- "@deepseek-ai/dsh-agent-preset-registry": "0.2.1-alpha.3",
61
- "@deepseek-ai/dsh-api-gateway": "0.2.1-alpha.3",
62
- "@deepseek-ai/dsh-api-job-controller": "0.2.1-alpha.3",
63
- "@deepseek-ai/dsh-api-session-controller": "0.2.1-alpha.3",
64
- "@deepseek-ai/dsh-api-settings-controller": "0.2.1-alpha.3",
65
- "@deepseek-ai/dsh-api-workspace-controller": "0.2.1-alpha.3",
66
- "@deepseek-ai/dsh-api-workspace-files": "0.2.1-alpha.3",
67
- "@deepseek-ai/dsh-client-connection": "0.2.1-alpha.3",
68
- "@deepseek-ai/dsh-client-file-upload": "0.2.1-alpha.3",
69
- "@deepseek-ai/dsh-commands": "0.2.1-alpha.3",
70
- "@deepseek-ai/dsh-cordis-host-runner": "0.2.1-alpha.3",
71
- "@deepseek-ai/dsh-credentials": "0.2.1-alpha.3",
72
- "@deepseek-ai/dsh-file-reference": "0.2.1-alpha.3",
73
- "@deepseek-ai/dsh-goal": "0.2.1-alpha.3",
74
- "@deepseek-ai/dsh-host-plugin-inventory": "0.2.1-alpha.3",
75
- "@deepseek-ai/dsh-llm": "0.2.1-alpha.3",
76
- "@deepseek-ai/dsh-message-feedback": "0.2.1-alpha.3",
77
- "@deepseek-ai/dsh-permission-presets": "0.2.1-alpha.3",
78
- "@deepseek-ai/dsh-schedule": "0.2.1-alpha.3",
79
- "@deepseek-ai/dsh-scope": "0.2.1-alpha.3",
80
- "@deepseek-ai/dsh-session": "0.2.1-alpha.3",
81
- "@deepseek-ai/dsh-session-reference": "0.2.1-alpha.3",
82
- "@deepseek-ai/dsh-settings": "0.2.1-alpha.3",
83
- "@deepseek-ai/dsh-subagent": "0.2.1-alpha.3",
84
- "@deepseek-ai/dsh-typert-protocol": "0.2.1-alpha.3",
85
- "@deepseek-ai/dsh-user-approval": "0.2.1-alpha.3",
86
- "@deepseek-ai/dsh-user-questions": "0.2.1-alpha.3",
59
+ "@deepseek-ai/dsh-agent": "0.2.1-alpha.5",
60
+ "@deepseek-ai/dsh-agent-preset-registry": "0.2.1-alpha.5",
61
+ "@deepseek-ai/dsh-api-gateway": "0.2.1-alpha.5",
62
+ "@deepseek-ai/dsh-api-job-controller": "0.2.1-alpha.5",
63
+ "@deepseek-ai/dsh-api-session-controller": "0.2.1-alpha.5",
64
+ "@deepseek-ai/dsh-api-settings-controller": "0.2.1-alpha.5",
65
+ "@deepseek-ai/dsh-api-workspace-controller": "0.2.1-alpha.5",
66
+ "@deepseek-ai/dsh-api-workspace-files": "0.2.1-alpha.5",
67
+ "@deepseek-ai/dsh-client-connection": "0.2.1-alpha.5",
68
+ "@deepseek-ai/dsh-client-file-upload": "0.2.1-alpha.5",
69
+ "@deepseek-ai/dsh-commands": "0.2.1-alpha.5",
70
+ "@deepseek-ai/dsh-cordis-host-runner": "0.2.1-alpha.5",
71
+ "@deepseek-ai/dsh-credentials": "0.2.1-alpha.5",
72
+ "@deepseek-ai/dsh-file-reference": "0.2.1-alpha.5",
73
+ "@deepseek-ai/dsh-goal": "0.2.1-alpha.5",
74
+ "@deepseek-ai/dsh-host-plugin-inventory": "0.2.1-alpha.5",
75
+ "@deepseek-ai/dsh-llm": "0.2.1-alpha.5",
76
+ "@deepseek-ai/dsh-message-feedback": "0.2.1-alpha.5",
77
+ "@deepseek-ai/dsh-permission-presets": "0.2.1-alpha.5",
78
+ "@deepseek-ai/dsh-schedule": "0.2.1-alpha.5",
79
+ "@deepseek-ai/dsh-scope": "0.2.1-alpha.5",
80
+ "@deepseek-ai/dsh-session": "0.2.1-alpha.5",
81
+ "@deepseek-ai/dsh-session-reference": "0.2.1-alpha.5",
82
+ "@deepseek-ai/dsh-settings": "0.2.1-alpha.5",
83
+ "@deepseek-ai/dsh-subagent": "0.2.1-alpha.5",
84
+ "@deepseek-ai/dsh-typert-protocol": "0.2.1-alpha.5",
85
+ "@deepseek-ai/dsh-user-approval": "0.2.1-alpha.5",
86
+ "@deepseek-ai/dsh-user-questions": "0.2.1-alpha.5",
87
87
  "@deepseek-ai/cordis": "~4.0.5-alpha.2",
88
88
  "zod": "4.4.3",
89
- "@deepseek-ai/dsh-command-feedback": "0.2.1-alpha.3",
90
- "@deepseek-ai/dsh-api-terminal-controller": "0.2.1-alpha.3",
91
- "@deepseek-ai/dsh-plugin-manager": "0.2.1-alpha.3",
92
- "@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.1-alpha.3",
93
- "@deepseek-ai/dsh-office-to-pdf": "0.2.1-alpha.3",
94
- "@deepseek-ai/dsh-api-account-controller": "0.2.1-alpha.3",
95
- "@deepseek-ai/dsh-deepseek-account": "0.2.1-alpha.3",
96
- "@deepseek-ai/dsh-client-product-analytics": "0.2.1-alpha.3"
89
+ "@deepseek-ai/dsh-command-feedback": "0.2.1-alpha.5",
90
+ "@deepseek-ai/dsh-api-terminal-controller": "0.2.1-alpha.5",
91
+ "@deepseek-ai/dsh-plugin-manager": "0.2.1-alpha.5",
92
+ "@deepseek-ai/dsh-plugin-market": "0.2.1-alpha.5",
93
+ "@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.1-alpha.5",
94
+ "@deepseek-ai/dsh-office-to-pdf": "0.2.1-alpha.5",
95
+ "@deepseek-ai/dsh-api-account-controller": "0.2.1-alpha.5",
96
+ "@deepseek-ai/dsh-deepseek-account": "0.2.1-alpha.5",
97
+ "@deepseek-ai/dsh-client-product-analytics": "0.2.1-alpha.5"
97
98
  },
98
99
  "scripts": {
99
100
  "bundle": "tsdown",