@deepseek-ai/dsh-api-remotes 0.1.7-rc.1 → 0.2.0-rc.1

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
@@ -4325,18 +4325,288 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4325
4325
  return inst;
4326
4326
  }
4327
4327
  //#endregion
4328
+ //#region ../../client/product-analytics/lib/typert.remote-client.js
4329
+ let _deepseek_ai_dsh_client_product_analytics_productAnalytics_enabled_result$schema$value;
4330
+ const _deepseek_ai_dsh_client_product_analytics_productAnalytics_enabled_result$schema = () => _deepseek_ai_dsh_client_product_analytics_productAnalytics_enabled_result$schema$value ??= boolean();
4331
+ let _deepseek_ai_dsh_client_product_analytics_productAnalytics_report_parameter_0$schema$value;
4332
+ const _deepseek_ai_dsh_client_product_analytics_productAnalytics_report_parameter_0$schema = () => _deepseek_ai_dsh_client_product_analytics_productAnalytics_report_parameter_0$schema$value ??= union([
4333
+ object({
4334
+ "eventName": literal("desktop_app_launch"),
4335
+ "attributes": record(string(), never()),
4336
+ "timestamp": number()
4337
+ }),
4338
+ object({
4339
+ "eventName": literal("auth_page_view"),
4340
+ "attributes": record(string(), never()),
4341
+ "timestamp": number()
4342
+ }),
4343
+ object({
4344
+ "eventName": literal("auth_page_click"),
4345
+ "attributes": object({ "button_name": union([literal("sign_in"), literal("api-key")]) }),
4346
+ "timestamp": number()
4347
+ }),
4348
+ object({
4349
+ "eventName": literal("api_key_save_click"),
4350
+ "attributes": record(string(), never()),
4351
+ "timestamp": number()
4352
+ }),
4353
+ object({
4354
+ "eventName": literal("onboarding_page_view"),
4355
+ "attributes": object({ "page_name": union([
4356
+ literal("onboarding_welcome"),
4357
+ literal("onboarding_recharge"),
4358
+ literal("onboarding_use_case"),
4359
+ literal("onboarding_process")
4360
+ ]) }),
4361
+ "timestamp": number()
4362
+ }),
4363
+ object({
4364
+ "eventName": literal("onboarding_page_click"),
4365
+ "attributes": object({
4366
+ "page_name": union([
4367
+ literal("onboarding_welcome"),
4368
+ literal("onboarding_recharge"),
4369
+ literal("onboarding_use_case"),
4370
+ literal("onboarding_process")
4371
+ ]),
4372
+ "button_name": union([
4373
+ literal("next"),
4374
+ literal("back"),
4375
+ literal("skip"),
4376
+ literal("charge"),
4377
+ literal("later"),
4378
+ literal("continue")
4379
+ ]),
4380
+ "selected_content": union([
4381
+ literal("office"),
4382
+ literal("code"),
4383
+ literal("code_office"),
4384
+ literal("focus_result"),
4385
+ literal("key_detail"),
4386
+ literal("full_process")
4387
+ ]).optional()
4388
+ }),
4389
+ "timestamp": number()
4390
+ }),
4391
+ object({
4392
+ "eventName": literal("onboarding_popup_view"),
4393
+ "attributes": object({ "popup_name": union([literal("skip_charge"), literal("skip_setting")]) }),
4394
+ "timestamp": number()
4395
+ }),
4396
+ object({
4397
+ "eventName": literal("onboarding_popup_click"),
4398
+ "attributes": object({
4399
+ "popup_name": union([literal("skip_charge"), literal("skip_setting")]),
4400
+ "button_name": union([
4401
+ literal("charge"),
4402
+ literal("know"),
4403
+ literal("enter"),
4404
+ literal("setting"),
4405
+ literal("close")
4406
+ ])
4407
+ }),
4408
+ "timestamp": number()
4409
+ }),
4410
+ object({
4411
+ "eventName": literal("desktop_upgrade_click"),
4412
+ "attributes": record(string(), never()),
4413
+ "timestamp": number()
4414
+ }),
4415
+ object({
4416
+ "eventName": literal("desktop_upgrade_download_result"),
4417
+ "attributes": object({
4418
+ "is_success": boolean(),
4419
+ "error_reason": string().optional()
4420
+ }),
4421
+ "timestamp": number()
4422
+ }),
4423
+ object({
4424
+ "eventName": literal("desktop_upgrade_install_restart_click"),
4425
+ "attributes": record(string(), never()),
4426
+ "timestamp": number()
4427
+ }),
4428
+ object({
4429
+ "eventName": literal("send_button_click"),
4430
+ "attributes": object({
4431
+ "session_id": intersection(string(), unknown()).optional(),
4432
+ "model_name": string().optional(),
4433
+ "thinking_effort": string().optional(),
4434
+ "run_mode": union([
4435
+ literal("goal"),
4436
+ literal("plan"),
4437
+ literal("default")
4438
+ ]),
4439
+ "msg_type": union([
4440
+ literal("queue"),
4441
+ literal("steer"),
4442
+ literal("default")
4443
+ ])
4444
+ }),
4445
+ "timestamp": number()
4446
+ }),
4447
+ object({
4448
+ "eventName": literal("model_switch"),
4449
+ "attributes": object({
4450
+ "session_id": intersection(string(), unknown()).optional(),
4451
+ "switch_from": string(),
4452
+ "switch_to": string()
4453
+ }),
4454
+ "timestamp": number()
4455
+ }),
4456
+ object({
4457
+ "eventName": literal("thinking_level_switch"),
4458
+ "attributes": object({
4459
+ "session_id": intersection(string(), unknown()).optional(),
4460
+ "switch_from": string(),
4461
+ "switch_to": string(),
4462
+ "model_name": string()
4463
+ }),
4464
+ "timestamp": number()
4465
+ }),
4466
+ object({
4467
+ "eventName": literal("context_compression"),
4468
+ "attributes": object({
4469
+ "session_id": intersection(string(), unknown()),
4470
+ "trigger_type": union([literal("auto"), literal("manual")])
4471
+ }),
4472
+ "timestamp": number()
4473
+ }),
4474
+ object({
4475
+ "eventName": literal("branch_session_click"),
4476
+ "attributes": object({
4477
+ "session_id": intersection(string(), unknown()),
4478
+ "parent_session_id": intersection(string(), unknown()),
4479
+ "parent_message_id": intersection(string(), unknown()).optional(),
4480
+ "click_position": union([literal("footer"), literal("sidebar")])
4481
+ }),
4482
+ "timestamp": number()
4483
+ }),
4484
+ object({
4485
+ "eventName": literal("sidebar_menu_click"),
4486
+ "attributes": object({ "menu_name": union([literal("plugin"), literal("cron")]) }),
4487
+ "timestamp": number()
4488
+ }),
4489
+ object({
4490
+ "eventName": literal("plugin_toggle"),
4491
+ "attributes": object({
4492
+ "plugin_name": string(),
4493
+ "plugin_type": union([literal("plugin"), literal("bundle")]),
4494
+ "is_enabled": boolean(),
4495
+ "is_builtin": boolean()
4496
+ }),
4497
+ "timestamp": number()
4498
+ }),
4499
+ object({
4500
+ "eventName": literal("plugin_add_button_click"),
4501
+ "attributes": record(string(), never()),
4502
+ "timestamp": number()
4503
+ }),
4504
+ object({
4505
+ "eventName": literal("plugin_install_click"),
4506
+ "attributes": object({ "input_value": string() }),
4507
+ "timestamp": number()
4508
+ }),
4509
+ object({
4510
+ "eventName": literal("install_plugin_result"),
4511
+ "attributes": object({
4512
+ "input_value": string(),
4513
+ "is_success": boolean(),
4514
+ "error_reason": string().optional(),
4515
+ "duration": number(),
4516
+ "plugin_name": string().optional()
4517
+ }),
4518
+ "timestamp": number()
4519
+ }),
4520
+ object({
4521
+ "eventName": literal("confirm_uninstall_plugin"),
4522
+ "attributes": object({ "plugin_name": string() }),
4523
+ "timestamp": number()
4524
+ })
4525
+ ]);
4526
+ let _deepseek_ai_dsh_client_product_analytics_productAnalytics_report_result$schema$value;
4527
+ const _deepseek_ai_dsh_client_product_analytics_productAnalytics_report_result$schema = () => _deepseek_ai_dsh_client_product_analytics_productAnalytics_report_result$schema$value ??= _void();
4528
+ let _deepseek_ai_dsh_client_product_analytics_productAnalytics_watchPolicy_result$schema$value;
4529
+ const _deepseek_ai_dsh_client_product_analytics_productAnalytics_watchPolicy_result$schema = () => _deepseek_ai_dsh_client_product_analytics_productAnalytics_watchPolicy_result$schema$value ??= boolean();
4530
+ const TYPERT_REMOTE$23 = {
4531
+ package: "@deepseek-ai/dsh-client-product-analytics",
4532
+ descriptors: [
4533
+ {
4534
+ id: "@deepseek-ai/dsh-client-product-analytics#productAnalytics/enabled",
4535
+ service: "productAnalytics",
4536
+ namespace: "productAnalytics",
4537
+ method: "enabled",
4538
+ invocation: { kind: "direct" },
4539
+ parameters: [],
4540
+ result: {
4541
+ mode: "strict",
4542
+ typeSymbol: "@deepseek-ai/dsh-client-product-analytics#productAnalytics/enabled:result",
4543
+ create: _deepseek_ai_dsh_client_product_analytics_productAnalytics_enabled_result$schema
4544
+ },
4545
+ sourceLocation: {
4546
+ "file": "packages/client/product-analytics/src/index.ts",
4547
+ "line": 51,
4548
+ "column": 3
4549
+ }
4550
+ },
4551
+ {
4552
+ id: "@deepseek-ai/dsh-client-product-analytics#productAnalytics/report",
4553
+ service: "productAnalytics",
4554
+ namespace: "productAnalytics",
4555
+ method: "report",
4556
+ invocation: { kind: "direct" },
4557
+ parameters: [{
4558
+ name: "event",
4559
+ wire: "event",
4560
+ source: "json",
4561
+ codec: {
4562
+ mode: "strict",
4563
+ typeSymbol: "@deepseek-ai/dsh-client-product-analytics/types#ProductEvent",
4564
+ create: _deepseek_ai_dsh_client_product_analytics_productAnalytics_report_parameter_0$schema
4565
+ }
4566
+ }],
4567
+ result: {
4568
+ mode: "strict",
4569
+ typeSymbol: "@deepseek-ai/dsh-client-product-analytics#productAnalytics/report:result",
4570
+ create: _deepseek_ai_dsh_client_product_analytics_productAnalytics_report_result$schema
4571
+ },
4572
+ sourceLocation: {
4573
+ "file": "packages/client/product-analytics/src/index.ts",
4574
+ "line": 82,
4575
+ "column": 9
4576
+ }
4577
+ },
4578
+ {
4579
+ id: "@deepseek-ai/dsh-client-product-analytics#productAnalytics/watchPolicy",
4580
+ service: "productAnalytics",
4581
+ namespace: "productAnalytics",
4582
+ method: "watchPolicy",
4583
+ mode: "stream",
4584
+ invocation: { kind: "direct" },
4585
+ parameters: [],
4586
+ cancellation: { parameter: "signal" },
4587
+ result: {
4588
+ mode: "strict",
4589
+ typeSymbol: "@deepseek-ai/dsh-client-product-analytics#productAnalytics/watchPolicy:result",
4590
+ create: _deepseek_ai_dsh_client_product_analytics_productAnalytics_watchPolicy_result$schema
4591
+ },
4592
+ sourceLocation: {
4593
+ "file": "packages/client/product-analytics/src/index.ts",
4594
+ "line": 59,
4595
+ "column": 10
4596
+ }
4597
+ }
4598
+ ]
4599
+ };
4600
+ //#endregion
4328
4601
  //#region ../../preset/agent-preset-registry/lib/typert.remote-client.js
4329
4602
  let _deepseek_ai_dsh_agent_preset_registry_agentPresets_list_result$schema$value;
4330
- const _deepseek_ai_dsh_agent_preset_registry_agentPresets_list_result$schema = () => _deepseek_ai_dsh_agent_preset_registry_agentPresets_list_result$schema$value ??= object({
4331
- "presets": array(object({
4332
- "id": string().readonly(),
4333
- "isDefault": boolean().readonly(),
4334
- "name": string().readonly().optional(),
4335
- "description": string().readonly().optional(),
4336
- "broken": string().readonly().optional()
4337
- })).readonly(),
4338
- "modeSelectionEnabled": boolean().readonly()
4339
- });
4603
+ const _deepseek_ai_dsh_agent_preset_registry_agentPresets_list_result$schema = () => _deepseek_ai_dsh_agent_preset_registry_agentPresets_list_result$schema$value ??= object({ "presets": array(object({
4604
+ "id": string().readonly(),
4605
+ "isDefault": boolean().readonly(),
4606
+ "name": string().readonly().optional(),
4607
+ "description": string().readonly().optional(),
4608
+ "broken": string().readonly().optional()
4609
+ })).readonly() });
4340
4610
  let _deepseek_ai_dsh_agent_preset_registry_agentPresets_read_parameter_0$schema$value;
4341
4611
  const _deepseek_ai_dsh_agent_preset_registry_agentPresets_read_parameter_0$schema = () => _deepseek_ai_dsh_agent_preset_registry_agentPresets_read_parameter_0$schema$value ??= string();
4342
4612
  let _deepseek_ai_dsh_agent_preset_registry_agentPresets_read_result$schema$value;
@@ -4352,7 +4622,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4352
4622
  const _deepseek_ai_dsh_agent_preset_registry_agentPresets_select_parameter_1$schema = () => _deepseek_ai_dsh_agent_preset_registry_agentPresets_select_parameter_1$schema$value ??= string();
4353
4623
  let _deepseek_ai_dsh_agent_preset_registry_agentPresets_select_result$schema$value;
4354
4624
  const _deepseek_ai_dsh_agent_preset_registry_agentPresets_select_result$schema = () => _deepseek_ai_dsh_agent_preset_registry_agentPresets_select_result$schema$value ??= string();
4355
- const TYPERT_REMOTE$21 = {
4625
+ const TYPERT_REMOTE$22 = {
4356
4626
  package: "@deepseek-ai/dsh-agent-preset-registry",
4357
4627
  descriptors: [
4358
4628
  {
@@ -4370,7 +4640,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4370
4640
  },
4371
4641
  sourceLocation: {
4372
4642
  "file": "packages/preset/agent-preset-registry/src/index.ts",
4373
- "line": 177,
4643
+ "line": 171,
4374
4644
  "column": 9
4375
4645
  }
4376
4646
  },
@@ -4398,7 +4668,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4398
4668
  },
4399
4669
  sourceLocation: {
4400
4670
  "file": "packages/preset/agent-preset-registry/src/index.ts",
4401
- "line": 201,
4671
+ "line": 194,
4402
4672
  "column": 3
4403
4673
  }
4404
4674
  },
@@ -4439,7 +4709,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4439
4709
  },
4440
4710
  sourceLocation: {
4441
4711
  "file": "packages/preset/agent-preset-registry/src/index.ts",
4442
- "line": 326,
4712
+ "line": 319,
4443
4713
  "column": 9
4444
4714
  }
4445
4715
  }
@@ -4489,7 +4759,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4489
4759
  "attachments": boolean().readonly().optional()
4490
4760
  }).readonly().optional()
4491
4761
  }));
4492
- const TYPERT_REMOTE$20 = {
4762
+ const TYPERT_REMOTE$21 = {
4493
4763
  package: "@deepseek-ai/dsh-commands",
4494
4764
  descriptors: [{
4495
4765
  id: "@deepseek-ai/dsh-commands#commands/execute",
@@ -4580,6 +4850,18 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4580
4850
  };
4581
4851
  //#endregion
4582
4852
  //#region ../account-controller/lib/typert.remote-client.js
4853
+ let _deepseek_ai_dsh_api_account_controller_account_ackBonusNotified_parameter_0$schema$value;
4854
+ const _deepseek_ai_dsh_api_account_controller_account_ackBonusNotified_parameter_0$schema = () => _deepseek_ai_dsh_api_account_controller_account_ackBonusNotified_parameter_0$schema$value ??= intersection(string(), unknown());
4855
+ let _deepseek_ai_dsh_api_account_controller_account_ackBonusNotified_parameter_1$schema$value;
4856
+ const _deepseek_ai_dsh_api_account_controller_account_ackBonusNotified_parameter_1$schema = () => _deepseek_ai_dsh_api_account_controller_account_ackBonusNotified_parameter_1$schema$value ??= intersection(string(), unknown());
4857
+ let _deepseek_ai_dsh_api_account_controller_account_ackBonusNotified_parameter_2$schema$value;
4858
+ const _deepseek_ai_dsh_api_account_controller_account_ackBonusNotified_parameter_2$schema = () => _deepseek_ai_dsh_api_account_controller_account_ackBonusNotified_parameter_2$schema$value ??= object({
4859
+ "version": string().readonly(),
4860
+ "locale": string().readonly(),
4861
+ "timezoneOffsetSeconds": number().readonly()
4862
+ });
4863
+ let _deepseek_ai_dsh_api_account_controller_account_ackBonusNotified_result$schema$value;
4864
+ const _deepseek_ai_dsh_api_account_controller_account_ackBonusNotified_result$schema = () => _deepseek_ai_dsh_api_account_controller_account_ackBonusNotified_result$schema$value ??= boolean();
4583
4865
  let _deepseek_ai_dsh_api_account_controller_account_cancelSignIn_parameter_0$schema$value;
4584
4866
  const _deepseek_ai_dsh_api_account_controller_account_cancelSignIn_parameter_0$schema = () => _deepseek_ai_dsh_api_account_controller_account_cancelSignIn_parameter_0$schema$value ??= intersection(string(), unknown());
4585
4867
  let _deepseek_ai_dsh_api_account_controller_account_cancelSignIn_result$schema$value;
@@ -4611,6 +4893,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4611
4893
  ]).readonly().optional()
4612
4894
  })]).readonly()
4613
4895
  });
4896
+ let _deepseek_ai_dsh_api_account_controller_account_getBalance_parameter_0$schema$value;
4897
+ const _deepseek_ai_dsh_api_account_controller_account_getBalance_parameter_0$schema = () => _deepseek_ai_dsh_api_account_controller_account_getBalance_parameter_0$schema$value ??= object({
4898
+ "version": string().readonly(),
4899
+ "locale": string().readonly(),
4900
+ "timezoneOffsetSeconds": number().readonly()
4901
+ });
4614
4902
  let _deepseek_ai_dsh_api_account_controller_account_getBalance_result$schema$value;
4615
4903
  const _deepseek_ai_dsh_api_account_controller_account_getBalance_result$schema = () => _deepseek_ai_dsh_api_account_controller_account_getBalance_result$schema$value ??= union([
4616
4904
  literal(null),
@@ -4627,6 +4915,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4627
4915
  }),
4628
4916
  object({ "status": literal("failed").readonly() })
4629
4917
  ]);
4918
+ let _deepseek_ai_dsh_api_account_controller_account_getProfile_parameter_0$schema$value;
4919
+ const _deepseek_ai_dsh_api_account_controller_account_getProfile_parameter_0$schema = () => _deepseek_ai_dsh_api_account_controller_account_getProfile_parameter_0$schema$value ??= object({
4920
+ "version": string().readonly(),
4921
+ "locale": string().readonly(),
4922
+ "timezoneOffsetSeconds": number().readonly()
4923
+ });
4630
4924
  let _deepseek_ai_dsh_api_account_controller_account_getProfile_result$schema$value;
4631
4925
  const _deepseek_ai_dsh_api_account_controller_account_getProfile_result$schema = () => _deepseek_ai_dsh_api_account_controller_account_getProfile_result$schema$value ??= union([
4632
4926
  literal(null),
@@ -4670,6 +4964,33 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4670
4964
  ]).readonly().optional()
4671
4965
  })]).readonly()
4672
4966
  });
4967
+ let _deepseek_ai_dsh_api_account_controller_account_getUnnotifiedBonuses_parameter_0$schema$value;
4968
+ const _deepseek_ai_dsh_api_account_controller_account_getUnnotifiedBonuses_parameter_0$schema = () => _deepseek_ai_dsh_api_account_controller_account_getUnnotifiedBonuses_parameter_0$schema$value ??= object({
4969
+ "version": string().readonly(),
4970
+ "locale": string().readonly(),
4971
+ "timezoneOffsetSeconds": number().readonly()
4972
+ });
4973
+ let _deepseek_ai_dsh_api_account_controller_account_getUnnotifiedBonuses_result$schema$value;
4974
+ const _deepseek_ai_dsh_api_account_controller_account_getUnnotifiedBonuses_result$schema = () => _deepseek_ai_dsh_api_account_controller_account_getUnnotifiedBonuses_result$schema$value ??= union([literal(null), object({
4975
+ "accountId": intersection(string(), unknown()).readonly(),
4976
+ "bonuses": array(object({
4977
+ "orderId": intersection(string(), unknown()).readonly(),
4978
+ "campaign": string().readonly(),
4979
+ "amount": string().readonly(),
4980
+ "currency": union([literal("CNY"), literal("USD")]).readonly(),
4981
+ "grantedAt": string().readonly(),
4982
+ "expiresAt": string().readonly(),
4983
+ "message": string().readonly()
4984
+ })).readonly()
4985
+ })]);
4986
+ let _deepseek_ai_dsh_api_account_controller_account_hasRunningAccountTasks_result$schema$value;
4987
+ const _deepseek_ai_dsh_api_account_controller_account_hasRunningAccountTasks_result$schema = () => _deepseek_ai_dsh_api_account_controller_account_hasRunningAccountTasks_result$schema$value ??= boolean();
4988
+ let _deepseek_ai_dsh_api_account_controller_account_signOut_parameter_0$schema$value;
4989
+ const _deepseek_ai_dsh_api_account_controller_account_signOut_parameter_0$schema = () => _deepseek_ai_dsh_api_account_controller_account_signOut_parameter_0$schema$value ??= object({
4990
+ "version": string().readonly(),
4991
+ "locale": string().readonly(),
4992
+ "timezoneOffsetSeconds": number().readonly()
4993
+ });
4673
4994
  let _deepseek_ai_dsh_api_account_controller_account_signOut_result$schema$value;
4674
4995
  const _deepseek_ai_dsh_api_account_controller_account_signOut_result$schema = () => _deepseek_ai_dsh_api_account_controller_account_signOut_result$schema$value ??= object({
4675
4996
  "status": union([literal("signed-out"), literal("credential-stored")]).readonly(),
@@ -4700,7 +5021,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4700
5021
  })]).readonly()
4701
5022
  });
4702
5023
  let _deepseek_ai_dsh_api_account_controller_account_startSignIn_parameter_0$schema$value;
4703
- const _deepseek_ai_dsh_api_account_controller_account_startSignIn_parameter_0$schema = () => _deepseek_ai_dsh_api_account_controller_account_startSignIn_parameter_0$schema$value ??= string();
5024
+ const _deepseek_ai_dsh_api_account_controller_account_startSignIn_parameter_0$schema = () => _deepseek_ai_dsh_api_account_controller_account_startSignIn_parameter_0$schema$value ??= object({
5025
+ "version": string().readonly(),
5026
+ "locale": string().readonly(),
5027
+ "timezoneOffsetSeconds": number().readonly()
5028
+ });
4704
5029
  let _deepseek_ai_dsh_api_account_controller_account_startSignIn_parameter_1$schema$value;
4705
5030
  const _deepseek_ai_dsh_api_account_controller_account_startSignIn_parameter_1$schema = () => _deepseek_ai_dsh_api_account_controller_account_startSignIn_parameter_1$schema$value ??= string();
4706
5031
  let _deepseek_ai_dsh_api_account_controller_account_startSignIn_parameter_2$schema$value;
@@ -4763,9 +5088,60 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4763
5088
  ]).readonly().optional()
4764
5089
  })]).readonly()
4765
5090
  });
4766
- const TYPERT_REMOTE$19 = {
5091
+ let _deepseek_ai_dsh_api_account_controller_account_watchExpiry_result$schema$value;
5092
+ const _deepseek_ai_dsh_api_account_controller_account_watchExpiry_result$schema = () => _deepseek_ai_dsh_api_account_controller_account_watchExpiry_result$schema$value ??= literal("session-expired");
5093
+ const TYPERT_REMOTE$20 = {
4767
5094
  package: "@deepseek-ai/dsh-api-account-controller",
4768
5095
  descriptors: [
5096
+ {
5097
+ id: "@deepseek-ai/dsh-api-account-controller#account/ackBonusNotified",
5098
+ service: "accountController",
5099
+ namespace: "account",
5100
+ method: "ackBonusNotified",
5101
+ invocation: { kind: "direct" },
5102
+ parameters: [
5103
+ {
5104
+ name: "accountId",
5105
+ wire: "accountId",
5106
+ source: "json",
5107
+ codec: {
5108
+ mode: "strict",
5109
+ typeSymbol: "@deepseek-ai/dsh-deepseek-account/types#AccountUserId",
5110
+ create: _deepseek_ai_dsh_api_account_controller_account_ackBonusNotified_parameter_0$schema
5111
+ }
5112
+ },
5113
+ {
5114
+ name: "orderId",
5115
+ wire: "orderId",
5116
+ source: "json",
5117
+ codec: {
5118
+ mode: "strict",
5119
+ typeSymbol: "@deepseek-ai/dsh-deepseek-account/types#AccountBonusOrderId",
5120
+ create: _deepseek_ai_dsh_api_account_controller_account_ackBonusNotified_parameter_1$schema
5121
+ }
5122
+ },
5123
+ {
5124
+ name: "client",
5125
+ wire: "client",
5126
+ source: "json",
5127
+ codec: {
5128
+ mode: "strict",
5129
+ typeSymbol: "@deepseek-ai/dsh-deepseek-account/types#AccountClientMetadata",
5130
+ create: _deepseek_ai_dsh_api_account_controller_account_ackBonusNotified_parameter_2$schema
5131
+ }
5132
+ }
5133
+ ],
5134
+ result: {
5135
+ mode: "strict",
5136
+ typeSymbol: "@deepseek-ai/dsh-api-account-controller#account/ackBonusNotified:result",
5137
+ create: _deepseek_ai_dsh_api_account_controller_account_ackBonusNotified_result$schema
5138
+ },
5139
+ sourceLocation: {
5140
+ "file": "packages/api/account-controller/src/index.ts",
5141
+ "line": 55,
5142
+ "column": 3
5143
+ }
5144
+ },
4769
5145
  {
4770
5146
  id: "@deepseek-ai/dsh-api-account-controller#account/cancelSignIn",
4771
5147
  service: "accountController",
@@ -4789,7 +5165,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4789
5165
  },
4790
5166
  sourceLocation: {
4791
5167
  "file": "packages/api/account-controller/src/index.ts",
4792
- "line": 46,
5168
+ "line": 75,
4793
5169
  "column": 3
4794
5170
  }
4795
5171
  },
@@ -4799,7 +5175,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4799
5175
  namespace: "account",
4800
5176
  method: "getBalance",
4801
5177
  invocation: { kind: "direct" },
4802
- parameters: [],
5178
+ parameters: [{
5179
+ name: "client",
5180
+ wire: "client",
5181
+ source: "json",
5182
+ codec: {
5183
+ mode: "strict",
5184
+ typeSymbol: "@deepseek-ai/dsh-deepseek-account/types#AccountClientMetadata",
5185
+ create: _deepseek_ai_dsh_api_account_controller_account_getBalance_parameter_0$schema
5186
+ }
5187
+ }],
4803
5188
  result: {
4804
5189
  mode: "strict",
4805
5190
  typeSymbol: "@deepseek-ai/dsh-api-account-controller#account/getBalance:result",
@@ -4807,7 +5192,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4807
5192
  },
4808
5193
  sourceLocation: {
4809
5194
  "file": "packages/api/account-controller/src/index.ts",
4810
- "line": 30,
5195
+ "line": 35,
4811
5196
  "column": 3
4812
5197
  }
4813
5198
  },
@@ -4817,7 +5202,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4817
5202
  namespace: "account",
4818
5203
  method: "getProfile",
4819
5204
  invocation: { kind: "direct" },
4820
- parameters: [],
5205
+ parameters: [{
5206
+ name: "client",
5207
+ wire: "client",
5208
+ source: "json",
5209
+ codec: {
5210
+ mode: "strict",
5211
+ typeSymbol: "@deepseek-ai/dsh-deepseek-account/types#AccountClientMetadata",
5212
+ create: _deepseek_ai_dsh_api_account_controller_account_getProfile_parameter_0$schema
5213
+ }
5214
+ }],
4821
5215
  result: {
4822
5216
  mode: "strict",
4823
5217
  typeSymbol: "@deepseek-ai/dsh-api-account-controller#account/getProfile:result",
@@ -4825,7 +5219,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4825
5219
  },
4826
5220
  sourceLocation: {
4827
5221
  "file": "packages/api/account-controller/src/index.ts",
4828
- "line": 24,
5222
+ "line": 26,
4829
5223
  "column": 3
4830
5224
  }
4831
5225
  },
@@ -4843,7 +5237,52 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4843
5237
  },
4844
5238
  sourceLocation: {
4845
5239
  "file": "packages/api/account-controller/src/index.ts",
4846
- "line": 18,
5240
+ "line": 19,
5241
+ "column": 3
5242
+ }
5243
+ },
5244
+ {
5245
+ id: "@deepseek-ai/dsh-api-account-controller#account/getUnnotifiedBonuses",
5246
+ service: "accountController",
5247
+ namespace: "account",
5248
+ method: "getUnnotifiedBonuses",
5249
+ invocation: { kind: "direct" },
5250
+ parameters: [{
5251
+ name: "client",
5252
+ wire: "client",
5253
+ source: "json",
5254
+ codec: {
5255
+ mode: "strict",
5256
+ typeSymbol: "@deepseek-ai/dsh-deepseek-account/types#AccountClientMetadata",
5257
+ create: _deepseek_ai_dsh_api_account_controller_account_getUnnotifiedBonuses_parameter_0$schema
5258
+ }
5259
+ }],
5260
+ result: {
5261
+ mode: "strict",
5262
+ typeSymbol: "@deepseek-ai/dsh-api-account-controller#account/getUnnotifiedBonuses:result",
5263
+ create: _deepseek_ai_dsh_api_account_controller_account_getUnnotifiedBonuses_result$schema
5264
+ },
5265
+ sourceLocation: {
5266
+ "file": "packages/api/account-controller/src/index.ts",
5267
+ "line": 44,
5268
+ "column": 3
5269
+ }
5270
+ },
5271
+ {
5272
+ id: "@deepseek-ai/dsh-api-account-controller#account/hasRunningAccountTasks",
5273
+ service: "accountController",
5274
+ namespace: "account",
5275
+ method: "hasRunningAccountTasks",
5276
+ invocation: { kind: "direct" },
5277
+ parameters: [],
5278
+ result: {
5279
+ mode: "strict",
5280
+ typeSymbol: "@deepseek-ai/dsh-api-account-controller#account/hasRunningAccountTasks:result",
5281
+ create: _deepseek_ai_dsh_api_account_controller_account_hasRunningAccountTasks_result$schema
5282
+ },
5283
+ sourceLocation: {
5284
+ "file": "packages/api/account-controller/src/index.ts",
5285
+ "line": 81,
4847
5286
  "column": 3
4848
5287
  }
4849
5288
  },
@@ -4853,7 +5292,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4853
5292
  namespace: "account",
4854
5293
  method: "signOut",
4855
5294
  invocation: { kind: "direct" },
4856
- parameters: [],
5295
+ parameters: [{
5296
+ name: "client",
5297
+ wire: "client",
5298
+ source: "json",
5299
+ codec: {
5300
+ mode: "strict",
5301
+ typeSymbol: "@deepseek-ai/dsh-deepseek-account/types#AccountClientMetadata",
5302
+ create: _deepseek_ai_dsh_api_account_controller_account_signOut_parameter_0$schema
5303
+ }
5304
+ }],
4857
5305
  result: {
4858
5306
  mode: "strict",
4859
5307
  typeSymbol: "@deepseek-ai/dsh-deepseek-account/types#AccountView",
@@ -4861,7 +5309,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4861
5309
  },
4862
5310
  sourceLocation: {
4863
5311
  "file": "packages/api/account-controller/src/index.ts",
4864
- "line": 52,
5312
+ "line": 90,
4865
5313
  "column": 3
4866
5314
  }
4867
5315
  },
@@ -4873,12 +5321,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4873
5321
  invocation: { kind: "direct" },
4874
5322
  parameters: [
4875
5323
  {
4876
- name: "locale",
4877
- wire: "locale",
5324
+ name: "client",
5325
+ wire: "client",
4878
5326
  source: "json",
4879
5327
  codec: {
4880
5328
  mode: "strict",
4881
- typeSymbol: "@deepseek-ai/dsh-api-account-controller#account/startSignIn:locale",
5329
+ typeSymbol: "@deepseek-ai/dsh-deepseek-account/types#AccountClientMetadata",
4882
5330
  create: _deepseek_ai_dsh_api_account_controller_account_startSignIn_parameter_0$schema
4883
5331
  }
4884
5332
  },
@@ -4910,7 +5358,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4910
5358
  },
4911
5359
  sourceLocation: {
4912
5360
  "file": "packages/api/account-controller/src/index.ts",
4913
- "line": 39,
5361
+ "line": 66,
4914
5362
  "column": 3
4915
5363
  }
4916
5364
  },
@@ -4930,9 +5378,29 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4930
5378
  },
4931
5379
  sourceLocation: {
4932
5380
  "file": "packages/api/account-controller/src/index.ts",
4933
- "line": 59,
5381
+ "line": 119,
4934
5382
  "column": 3
4935
5383
  }
5384
+ },
5385
+ {
5386
+ id: "@deepseek-ai/dsh-api-account-controller#account/watchExpiry",
5387
+ service: "accountController",
5388
+ namespace: "account",
5389
+ method: "watchExpiry",
5390
+ mode: "stream",
5391
+ invocation: { kind: "direct" },
5392
+ parameters: [],
5393
+ cancellation: { parameter: "signal" },
5394
+ result: {
5395
+ mode: "strict",
5396
+ typeSymbol: "@deepseek-ai/dsh-api-account-controller#account/watchExpiry:result",
5397
+ create: _deepseek_ai_dsh_api_account_controller_account_watchExpiry_result$schema
5398
+ },
5399
+ sourceLocation: {
5400
+ "file": "packages/api/account-controller/src/index.ts",
5401
+ "line": 97,
5402
+ "column": 10
5403
+ }
4936
5404
  }
4937
5405
  ]
4938
5406
  };
@@ -5269,7 +5737,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5269
5737
  })),
5270
5738
  "revision": number()
5271
5739
  });
5272
- const TYPERT_REMOTE$18 = {
5740
+ const TYPERT_REMOTE$19 = {
5273
5741
  package: "@deepseek-ai/dsh-api-settings-controller",
5274
5742
  descriptors: [
5275
5743
  {
@@ -5616,7 +6084,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5616
6084
  return value;
5617
6085
  }, true);
5618
6086
  };
5619
- const TYPERT_REMOTE$17 = {
6087
+ const TYPERT_REMOTE$18 = {
5620
6088
  package: "@deepseek-ai/dsh-office-to-pdf",
5621
6089
  descriptors: [{
5622
6090
  id: "@deepseek-ai/dsh-office-to-pdf#officeToPdf/generation",
@@ -5857,7 +6325,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5857
6325
  "id": intersection(string(), unknown()).readonly(),
5858
6326
  "revision": number().readonly()
5859
6327
  });
5860
- const TYPERT_REMOTE$16 = {
6328
+ const TYPERT_REMOTE$17 = {
5861
6329
  package: "@deepseek-ai/dsh-goal",
5862
6330
  descriptors: [
5863
6331
  {
@@ -5902,254 +6370,785 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5902
6370
  }
5903
6371
  },
5904
6372
  {
5905
- id: "@deepseek-ai/dsh-goal#goals/complete",
5906
- service: "goals",
5907
- namespace: "goals",
5908
- method: "complete",
6373
+ id: "@deepseek-ai/dsh-goal#goals/complete",
6374
+ service: "goals",
6375
+ namespace: "goals",
6376
+ method: "complete",
6377
+ invocation: { kind: "direct" },
6378
+ scope: {
6379
+ context: "agent",
6380
+ wire: "agentId"
6381
+ },
6382
+ parameters: [{
6383
+ name: "agent",
6384
+ wire: "agentId",
6385
+ source: "lookup",
6386
+ lookup: "agent",
6387
+ codec: {
6388
+ mode: "strict",
6389
+ typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
6390
+ create: _deepseek_ai_dsh_goal_goals_complete_parameter_0$schema
6391
+ }
6392
+ }, {
6393
+ name: "ref",
6394
+ wire: "ref",
6395
+ source: "json",
6396
+ codec: {
6397
+ mode: "strict",
6398
+ typeSymbol: "@deepseek-ai/dsh-goal/client#GoalRef",
6399
+ create: _deepseek_ai_dsh_goal_goals_complete_parameter_1$schema
6400
+ }
6401
+ }],
6402
+ result: {
6403
+ mode: "strict",
6404
+ typeSymbol: "@deepseek-ai/dsh-goal/client#GoalView",
6405
+ create: _deepseek_ai_dsh_goal_goals_complete_result$schema
6406
+ },
6407
+ sourceLocation: {
6408
+ "file": "packages/goal/goal/src/index.ts",
6409
+ "line": 391,
6410
+ "column": 3
6411
+ }
6412
+ },
6413
+ {
6414
+ id: "@deepseek-ai/dsh-goal#goals/create",
6415
+ service: "goals",
6416
+ namespace: "goals",
6417
+ method: "create",
6418
+ implementation: "remoteExportCreate",
6419
+ invocation: { kind: "direct" },
6420
+ scope: {
6421
+ context: "agent",
6422
+ wire: "agentId"
6423
+ },
6424
+ parameters: [{
6425
+ name: "agent",
6426
+ wire: "agentId",
6427
+ source: "lookup",
6428
+ lookup: "agent",
6429
+ codec: {
6430
+ mode: "strict",
6431
+ typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
6432
+ create: _deepseek_ai_dsh_goal_goals_create_parameter_0$schema
6433
+ }
6434
+ }, {
6435
+ name: "request",
6436
+ wire: "request",
6437
+ source: "json",
6438
+ codec: {
6439
+ mode: "strict",
6440
+ typeSymbol: "@deepseek-ai/dsh-goal/client#CreateGoalRequest",
6441
+ create: _deepseek_ai_dsh_goal_goals_create_parameter_1$schema
6442
+ }
6443
+ }],
6444
+ result: {
6445
+ mode: "strict",
6446
+ typeSymbol: "@deepseek-ai/dsh-goal/client#CreateGoalResult",
6447
+ create: _deepseek_ai_dsh_goal_goals_create_result$schema
6448
+ },
6449
+ sourceLocation: {
6450
+ "file": "packages/goal/goal/src/index.ts",
6451
+ "line": 647,
6452
+ "column": 3
6453
+ }
6454
+ },
6455
+ {
6456
+ id: "@deepseek-ai/dsh-goal#goals/edit",
6457
+ service: "goals",
6458
+ namespace: "goals",
6459
+ method: "edit",
6460
+ invocation: { kind: "direct" },
6461
+ scope: {
6462
+ context: "agent",
6463
+ wire: "agentId"
6464
+ },
6465
+ parameters: [
6466
+ {
6467
+ name: "agent",
6468
+ wire: "agentId",
6469
+ source: "lookup",
6470
+ lookup: "agent",
6471
+ codec: {
6472
+ mode: "strict",
6473
+ typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
6474
+ create: _deepseek_ai_dsh_goal_goals_edit_parameter_0$schema
6475
+ }
6476
+ },
6477
+ {
6478
+ name: "ref",
6479
+ wire: "ref",
6480
+ source: "json",
6481
+ codec: {
6482
+ mode: "strict",
6483
+ typeSymbol: "@deepseek-ai/dsh-goal/client#GoalRef",
6484
+ create: _deepseek_ai_dsh_goal_goals_edit_parameter_1$schema
6485
+ }
6486
+ },
6487
+ {
6488
+ name: "request",
6489
+ wire: "request",
6490
+ source: "json",
6491
+ codec: {
6492
+ mode: "strict",
6493
+ typeSymbol: "@deepseek-ai/dsh-goal/client#EditGoalRequest",
6494
+ create: _deepseek_ai_dsh_goal_goals_edit_parameter_2$schema
6495
+ }
6496
+ }
6497
+ ],
6498
+ result: {
6499
+ mode: "strict",
6500
+ typeSymbol: "@deepseek-ai/dsh-goal/client#GoalView",
6501
+ create: _deepseek_ai_dsh_goal_goals_edit_result$schema
6502
+ },
6503
+ sourceLocation: {
6504
+ "file": "packages/goal/goal/src/index.ts",
6505
+ "line": 329,
6506
+ "column": 3
6507
+ }
6508
+ },
6509
+ {
6510
+ id: "@deepseek-ai/dsh-goal#goals/get",
6511
+ service: "goals",
6512
+ namespace: "goals",
6513
+ method: "get",
6514
+ invocation: { kind: "direct" },
6515
+ scope: {
6516
+ context: "agent",
6517
+ wire: "agentId"
6518
+ },
6519
+ parameters: [{
6520
+ name: "agent",
6521
+ wire: "agentId",
6522
+ source: "lookup",
6523
+ lookup: "agent",
6524
+ codec: {
6525
+ mode: "strict",
6526
+ typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
6527
+ create: _deepseek_ai_dsh_goal_goals_get_parameter_0$schema
6528
+ }
6529
+ }],
6530
+ result: {
6531
+ mode: "strict",
6532
+ typeSymbol: "@deepseek-ai/dsh-goal#goals/get:result",
6533
+ create: _deepseek_ai_dsh_goal_goals_get_result$schema
6534
+ },
6535
+ sourceLocation: {
6536
+ "file": "packages/goal/goal/src/index.ts",
6537
+ "line": 277,
6538
+ "column": 3
6539
+ }
6540
+ },
6541
+ {
6542
+ id: "@deepseek-ai/dsh-goal#goals/pause",
6543
+ service: "goals",
6544
+ namespace: "goals",
6545
+ method: "pause",
6546
+ invocation: { kind: "direct" },
6547
+ scope: {
6548
+ context: "agent",
6549
+ wire: "agentId"
6550
+ },
6551
+ parameters: [{
6552
+ name: "agent",
6553
+ wire: "agentId",
6554
+ source: "lookup",
6555
+ lookup: "agent",
6556
+ codec: {
6557
+ mode: "strict",
6558
+ typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
6559
+ create: _deepseek_ai_dsh_goal_goals_pause_parameter_0$schema
6560
+ }
6561
+ }, {
6562
+ name: "ref",
6563
+ wire: "ref",
6564
+ source: "json",
6565
+ codec: {
6566
+ mode: "strict",
6567
+ typeSymbol: "@deepseek-ai/dsh-goal/client#GoalRef",
6568
+ create: _deepseek_ai_dsh_goal_goals_pause_parameter_1$schema
6569
+ }
6570
+ }],
6571
+ result: {
6572
+ mode: "strict",
6573
+ typeSymbol: "@deepseek-ai/dsh-goal/client#GoalView",
6574
+ create: _deepseek_ai_dsh_goal_goals_pause_result$schema
6575
+ },
6576
+ sourceLocation: {
6577
+ "file": "packages/goal/goal/src/index.ts",
6578
+ "line": 352,
6579
+ "column": 3
6580
+ }
6581
+ },
6582
+ {
6583
+ id: "@deepseek-ai/dsh-goal#goals/resume",
6584
+ service: "goals",
6585
+ namespace: "goals",
6586
+ method: "resume",
6587
+ invocation: { kind: "direct" },
6588
+ scope: {
6589
+ context: "agent",
6590
+ wire: "agentId"
6591
+ },
6592
+ parameters: [{
6593
+ name: "agent",
6594
+ wire: "agentId",
6595
+ source: "lookup",
6596
+ lookup: "agent",
6597
+ codec: {
6598
+ mode: "strict",
6599
+ typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
6600
+ create: _deepseek_ai_dsh_goal_goals_resume_parameter_0$schema
6601
+ }
6602
+ }, {
6603
+ name: "ref",
6604
+ wire: "ref",
6605
+ source: "json",
6606
+ codec: {
6607
+ mode: "strict",
6608
+ typeSymbol: "@deepseek-ai/dsh-goal/client#GoalRef",
6609
+ create: _deepseek_ai_dsh_goal_goals_resume_parameter_1$schema
6610
+ }
6611
+ }],
6612
+ result: {
6613
+ mode: "strict",
6614
+ typeSymbol: "@deepseek-ai/dsh-goal/client#GoalView",
6615
+ create: _deepseek_ai_dsh_goal_goals_resume_result$schema
6616
+ },
6617
+ sourceLocation: {
6618
+ "file": "packages/goal/goal/src/index.ts",
6619
+ "line": 364,
6620
+ "column": 3
6621
+ }
6622
+ }
6623
+ ]
6624
+ };
6625
+ //#endregion
6626
+ //#region ../../schedule/schedule/lib/typert.remote-client.js
6627
+ let _deepseek_ai_dsh_schedule_schedule_catalog_result$schema$value;
6628
+ const _deepseek_ai_dsh_schedule_schedule_catalog_result$schema = () => _deepseek_ai_dsh_schedule_schedule_catalog_result$schema$value ??= array(union([
6629
+ intersection(object({
6630
+ "id": intersection(string(), unknown()).readonly(),
6631
+ "kind": literal("after").readonly(),
6632
+ "title": string().readonly(),
6633
+ "prompt": string().readonly(),
6634
+ "afterSeconds": number().readonly(),
6635
+ "scheduledAt": string().readonly()
6636
+ }), object({
6637
+ "sessionId": intersection(string(), unknown()).readonly(),
6638
+ "status": union([literal("active"), literal("inactive")]).readonly(),
6639
+ "lastDelivery": object({
6640
+ "scheduledAt": string().readonly(),
6641
+ "deliveredAt": string().readonly(),
6642
+ "messageId": intersection(string(), unknown()).readonly()
6643
+ }).readonly().optional()
6644
+ })),
6645
+ intersection(object({
6646
+ "id": intersection(string(), unknown()).readonly(),
6647
+ "kind": literal("at").readonly(),
6648
+ "title": string().readonly(),
6649
+ "prompt": string().readonly(),
6650
+ "scheduledAt": string().readonly()
6651
+ }), object({
6652
+ "sessionId": intersection(string(), unknown()).readonly(),
6653
+ "status": union([literal("active"), literal("inactive")]).readonly(),
6654
+ "lastDelivery": object({
6655
+ "scheduledAt": string().readonly(),
6656
+ "deliveredAt": string().readonly(),
6657
+ "messageId": intersection(string(), unknown()).readonly()
6658
+ }).readonly().optional()
6659
+ })),
6660
+ intersection(object({
6661
+ "id": intersection(string(), unknown()).readonly(),
6662
+ "kind": literal("every").readonly(),
6663
+ "title": string().readonly(),
6664
+ "prompt": string().readonly(),
6665
+ "everySeconds": number().readonly(),
6666
+ "scheduledAt": string().readonly()
6667
+ }), object({
6668
+ "sessionId": intersection(string(), unknown()).readonly(),
6669
+ "status": union([literal("active"), literal("inactive")]).readonly(),
6670
+ "lastDelivery": object({
6671
+ "scheduledAt": string().readonly(),
6672
+ "deliveredAt": string().readonly(),
6673
+ "messageId": intersection(string(), unknown()).readonly()
6674
+ }).readonly().optional()
6675
+ })),
6676
+ intersection(object({
6677
+ "id": intersection(string(), unknown()).readonly(),
6678
+ "kind": literal("daily").readonly(),
6679
+ "title": string().readonly(),
6680
+ "prompt": string().readonly(),
6681
+ "time": string().readonly(),
6682
+ "timeZone": string().readonly(),
6683
+ "scheduledAt": string().readonly()
6684
+ }), object({
6685
+ "sessionId": intersection(string(), unknown()).readonly(),
6686
+ "status": union([literal("active"), literal("inactive")]).readonly(),
6687
+ "lastDelivery": object({
6688
+ "scheduledAt": string().readonly(),
6689
+ "deliveredAt": string().readonly(),
6690
+ "messageId": intersection(string(), unknown()).readonly()
6691
+ }).readonly().optional()
6692
+ })),
6693
+ intersection(object({
6694
+ "id": intersection(string(), unknown()).readonly(),
6695
+ "kind": literal("weekly").readonly(),
6696
+ "title": string().readonly(),
6697
+ "prompt": string().readonly(),
6698
+ "time": string().readonly(),
6699
+ "timeZone": string().readonly(),
6700
+ "weekdays": array(number()).readonly(),
6701
+ "scheduledAt": string().readonly()
6702
+ }), object({
6703
+ "sessionId": intersection(string(), unknown()).readonly(),
6704
+ "status": union([literal("active"), literal("inactive")]).readonly(),
6705
+ "lastDelivery": object({
6706
+ "scheduledAt": string().readonly(),
6707
+ "deliveredAt": string().readonly(),
6708
+ "messageId": intersection(string(), unknown()).readonly()
6709
+ }).readonly().optional()
6710
+ })),
6711
+ intersection(object({
6712
+ "id": intersection(string(), unknown()).readonly(),
6713
+ "kind": literal("cron").readonly(),
6714
+ "title": string().readonly(),
6715
+ "prompt": string().readonly(),
6716
+ "expression": string().readonly(),
6717
+ "timeZone": string().readonly(),
6718
+ "scheduledAt": string().readonly()
6719
+ }), object({
6720
+ "sessionId": intersection(string(), unknown()).readonly(),
6721
+ "status": union([literal("active"), literal("inactive")]).readonly(),
6722
+ "lastDelivery": object({
6723
+ "scheduledAt": string().readonly(),
6724
+ "deliveredAt": string().readonly(),
6725
+ "messageId": intersection(string(), unknown()).readonly()
6726
+ }).readonly().optional()
6727
+ }))
6728
+ ]));
6729
+ let _deepseek_ai_dsh_schedule_schedule_delete_parameter_0$schema$value;
6730
+ const _deepseek_ai_dsh_schedule_schedule_delete_parameter_0$schema = () => _deepseek_ai_dsh_schedule_schedule_delete_parameter_0$schema$value ??= object({
6731
+ "id": intersection(string(), unknown()),
6732
+ "sessionId": intersection(string(), unknown())
6733
+ });
6734
+ let _deepseek_ai_dsh_schedule_schedule_delete_result$schema$value;
6735
+ const _deepseek_ai_dsh_schedule_schedule_delete_result$schema = () => _deepseek_ai_dsh_schedule_schedule_delete_result$schema$value ??= union([object({
6736
+ "id": intersection(string(), unknown()).readonly(),
6737
+ "deleted": literal(true).readonly()
6738
+ }), object({
6739
+ "id": intersection(string(), unknown()).readonly(),
6740
+ "deleted": literal(false).readonly(),
6741
+ "code": literal("schedule_not_found").readonly()
6742
+ })]);
6743
+ let _deepseek_ai_dsh_schedule_schedule_history_parameter_0$schema$value;
6744
+ const _deepseek_ai_dsh_schedule_schedule_history_parameter_0$schema = () => _deepseek_ai_dsh_schedule_schedule_history_parameter_0$schema$value ??= object({
6745
+ "limit": number(),
6746
+ "before": intersection(string(), unknown()).optional(),
6747
+ "id": intersection(string(), unknown()),
6748
+ "sessionId": intersection(string(), unknown())
6749
+ });
6750
+ let _deepseek_ai_dsh_schedule_schedule_history_result$schema$value;
6751
+ const _deepseek_ai_dsh_schedule_schedule_history_result$schema = () => _deepseek_ai_dsh_schedule_schedule_history_result$schema$value ??= union([object({
6752
+ "id": intersection(string(), unknown()).readonly(),
6753
+ "records": array(object({
6754
+ "prompt": string().readonly().optional(),
6755
+ "scheduledAt": string().readonly(),
6756
+ "deliveredAt": string().readonly(),
6757
+ "messageId": intersection(string(), unknown()).readonly()
6758
+ })).readonly(),
6759
+ "earlierRecordsUnavailable": boolean().readonly(),
6760
+ "earlierRecordsPruned": boolean().readonly(),
6761
+ "retention": object({
6762
+ "days": number().readonly(),
6763
+ "records": number().readonly()
6764
+ }).readonly(),
6765
+ "nextBefore": intersection(string(), unknown()).readonly().optional()
6766
+ }), object({
6767
+ "id": intersection(string(), unknown()).readonly(),
6768
+ "code": union([literal("schedule_not_found"), literal("delivery_cursor_not_found")]).readonly()
6769
+ })]);
6770
+ let _deepseek_ai_dsh_schedule_schedule_list_parameter_0$schema$value;
6771
+ const _deepseek_ai_dsh_schedule_schedule_list_parameter_0$schema = () => _deepseek_ai_dsh_schedule_schedule_list_parameter_0$schema$value ??= object({ "sessionId": intersection(string(), unknown()) });
6772
+ let _deepseek_ai_dsh_schedule_schedule_list_result$schema$value;
6773
+ const _deepseek_ai_dsh_schedule_schedule_list_result$schema = () => _deepseek_ai_dsh_schedule_schedule_list_result$schema$value ??= array(union([
6774
+ object({
6775
+ "id": intersection(string(), unknown()).readonly(),
6776
+ "kind": literal("after").readonly(),
6777
+ "title": string().readonly(),
6778
+ "prompt": string().readonly(),
6779
+ "afterSeconds": number().readonly(),
6780
+ "scheduledAt": string().readonly()
6781
+ }),
6782
+ object({
6783
+ "id": intersection(string(), unknown()).readonly(),
6784
+ "kind": literal("at").readonly(),
6785
+ "title": string().readonly(),
6786
+ "prompt": string().readonly(),
6787
+ "scheduledAt": string().readonly()
6788
+ }),
6789
+ object({
6790
+ "id": intersection(string(), unknown()).readonly(),
6791
+ "kind": literal("every").readonly(),
6792
+ "title": string().readonly(),
6793
+ "prompt": string().readonly(),
6794
+ "everySeconds": number().readonly(),
6795
+ "scheduledAt": string().readonly()
6796
+ }),
6797
+ object({
6798
+ "id": intersection(string(), unknown()).readonly(),
6799
+ "kind": literal("daily").readonly(),
6800
+ "title": string().readonly(),
6801
+ "prompt": string().readonly(),
6802
+ "time": string().readonly(),
6803
+ "timeZone": string().readonly(),
6804
+ "scheduledAt": string().readonly()
6805
+ }),
6806
+ object({
6807
+ "id": intersection(string(), unknown()).readonly(),
6808
+ "kind": literal("weekly").readonly(),
6809
+ "title": string().readonly(),
6810
+ "prompt": string().readonly(),
6811
+ "time": string().readonly(),
6812
+ "timeZone": string().readonly(),
6813
+ "weekdays": array(number()).readonly(),
6814
+ "scheduledAt": string().readonly()
6815
+ }),
6816
+ object({
6817
+ "id": intersection(string(), unknown()).readonly(),
6818
+ "kind": literal("cron").readonly(),
6819
+ "title": string().readonly(),
6820
+ "prompt": string().readonly(),
6821
+ "expression": string().readonly(),
6822
+ "timeZone": string().readonly(),
6823
+ "scheduledAt": string().readonly()
6824
+ })
6825
+ ]));
6826
+ let _deepseek_ai_dsh_schedule_schedule_update_parameter_0$schema$value;
6827
+ const _deepseek_ai_dsh_schedule_schedule_update_parameter_0$schema = () => _deepseek_ai_dsh_schedule_schedule_update_parameter_0$schema$value ??= object({
6828
+ "expected": union([
6829
+ object({
6830
+ "id": intersection(string(), unknown()).readonly(),
6831
+ "kind": literal("after").readonly(),
6832
+ "title": string().readonly(),
6833
+ "prompt": string().readonly(),
6834
+ "afterSeconds": number().readonly(),
6835
+ "scheduledAt": string().readonly()
6836
+ }),
6837
+ object({
6838
+ "id": intersection(string(), unknown()).readonly(),
6839
+ "kind": literal("at").readonly(),
6840
+ "title": string().readonly(),
6841
+ "prompt": string().readonly(),
6842
+ "scheduledAt": string().readonly()
6843
+ }),
6844
+ object({
6845
+ "id": intersection(string(), unknown()).readonly(),
6846
+ "kind": literal("every").readonly(),
6847
+ "title": string().readonly(),
6848
+ "prompt": string().readonly(),
6849
+ "everySeconds": number().readonly(),
6850
+ "scheduledAt": string().readonly()
6851
+ }),
6852
+ object({
6853
+ "id": intersection(string(), unknown()).readonly(),
6854
+ "kind": literal("daily").readonly(),
6855
+ "title": string().readonly(),
6856
+ "prompt": string().readonly(),
6857
+ "time": string().readonly(),
6858
+ "timeZone": string().readonly(),
6859
+ "scheduledAt": string().readonly()
6860
+ }),
6861
+ object({
6862
+ "id": intersection(string(), unknown()).readonly(),
6863
+ "kind": literal("weekly").readonly(),
6864
+ "title": string().readonly(),
6865
+ "prompt": string().readonly(),
6866
+ "time": string().readonly(),
6867
+ "timeZone": string().readonly(),
6868
+ "weekdays": array(number()).readonly(),
6869
+ "scheduledAt": string().readonly()
6870
+ }),
6871
+ object({
6872
+ "id": intersection(string(), unknown()).readonly(),
6873
+ "kind": literal("cron").readonly(),
6874
+ "title": string().readonly(),
6875
+ "prompt": string().readonly(),
6876
+ "expression": string().readonly(),
6877
+ "timeZone": string().readonly(),
6878
+ "scheduledAt": string().readonly()
6879
+ })
6880
+ ]).readonly(),
6881
+ "change": union([
6882
+ object({
6883
+ "kind": literal("at").readonly(),
6884
+ "at": union([string(), object({
6885
+ "date": string().readonly(),
6886
+ "time": string().readonly(),
6887
+ "time_zone": string().readonly()
6888
+ })]).readonly()
6889
+ }),
6890
+ object({
6891
+ "kind": literal("every").readonly(),
6892
+ "every_seconds": number().readonly()
6893
+ }),
6894
+ object({
6895
+ "kind": literal("daily").readonly(),
6896
+ "daily": object({
6897
+ "time": string().readonly(),
6898
+ "time_zone": string().readonly()
6899
+ }).readonly()
6900
+ }),
6901
+ object({
6902
+ "kind": literal("weekly").readonly(),
6903
+ "weekly": object({
6904
+ "time": string().readonly(),
6905
+ "time_zone": string().readonly(),
6906
+ "weekdays": array(number()).readonly()
6907
+ }).readonly()
6908
+ }),
6909
+ object({
6910
+ "kind": literal("cron").readonly(),
6911
+ "cron": object({
6912
+ "expression": string().readonly(),
6913
+ "time_zone": string().readonly()
6914
+ }).readonly()
6915
+ })
6916
+ ]).readonly().optional(),
6917
+ "id": intersection(string(), unknown()),
6918
+ "sessionId": intersection(string(), unknown()),
6919
+ "title": string().readonly().optional(),
6920
+ "prompt": string().readonly().optional()
6921
+ });
6922
+ let _deepseek_ai_dsh_schedule_schedule_update_result$schema$value;
6923
+ const _deepseek_ai_dsh_schedule_schedule_update_result$schema = () => _deepseek_ai_dsh_schedule_schedule_update_result$schema$value ??= union([
6924
+ object({
6925
+ "id": intersection(string(), unknown()).readonly(),
6926
+ "updated": boolean().readonly(),
6927
+ "record": union([
6928
+ object({
6929
+ "id": intersection(string(), unknown()).readonly(),
6930
+ "kind": literal("after").readonly(),
6931
+ "title": string().readonly(),
6932
+ "prompt": string().readonly(),
6933
+ "afterSeconds": number().readonly(),
6934
+ "scheduledAt": string().readonly()
6935
+ }),
6936
+ object({
6937
+ "id": intersection(string(), unknown()).readonly(),
6938
+ "kind": literal("at").readonly(),
6939
+ "title": string().readonly(),
6940
+ "prompt": string().readonly(),
6941
+ "scheduledAt": string().readonly()
6942
+ }),
6943
+ object({
6944
+ "id": intersection(string(), unknown()).readonly(),
6945
+ "kind": literal("every").readonly(),
6946
+ "title": string().readonly(),
6947
+ "prompt": string().readonly(),
6948
+ "everySeconds": number().readonly(),
6949
+ "scheduledAt": string().readonly()
6950
+ }),
6951
+ object({
6952
+ "id": intersection(string(), unknown()).readonly(),
6953
+ "kind": literal("daily").readonly(),
6954
+ "title": string().readonly(),
6955
+ "prompt": string().readonly(),
6956
+ "time": string().readonly(),
6957
+ "timeZone": string().readonly(),
6958
+ "scheduledAt": string().readonly()
6959
+ }),
6960
+ object({
6961
+ "id": intersection(string(), unknown()).readonly(),
6962
+ "kind": literal("weekly").readonly(),
6963
+ "title": string().readonly(),
6964
+ "prompt": string().readonly(),
6965
+ "time": string().readonly(),
6966
+ "timeZone": string().readonly(),
6967
+ "weekdays": array(number()).readonly(),
6968
+ "scheduledAt": string().readonly()
6969
+ }),
6970
+ object({
6971
+ "id": intersection(string(), unknown()).readonly(),
6972
+ "kind": literal("cron").readonly(),
6973
+ "title": string().readonly(),
6974
+ "prompt": string().readonly(),
6975
+ "expression": string().readonly(),
6976
+ "timeZone": string().readonly(),
6977
+ "scheduledAt": string().readonly()
6978
+ })
6979
+ ]).readonly()
6980
+ }),
6981
+ object({
6982
+ "id": intersection(string(), unknown()).readonly(),
6983
+ "updated": literal(false).readonly(),
6984
+ "code": union([
6985
+ literal("schedule_not_found"),
6986
+ literal("schedule_ended"),
6987
+ literal("schedule_conflict")
6988
+ ]).readonly()
6989
+ }),
6990
+ object({
6991
+ "code": literal("invalid_prompt").readonly(),
6992
+ "message": string().readonly()
6993
+ }),
6994
+ object({
6995
+ "code": literal("invalid_selector").readonly(),
6996
+ "message": string().readonly()
6997
+ }),
6998
+ object({
6999
+ "code": literal("invalid_rule").readonly(),
7000
+ "message": string().readonly()
7001
+ }),
7002
+ object({
7003
+ "code": literal("invalid_time_zone").readonly(),
7004
+ "message": string().readonly()
7005
+ }),
7006
+ object({
7007
+ "code": literal("not_future").readonly(),
7008
+ "message": string().readonly()
7009
+ }),
7010
+ object({
7011
+ "code": literal("time_out_of_range").readonly(),
7012
+ "message": string().readonly()
7013
+ }),
7014
+ object({
7015
+ "code": literal("frequency_too_high").readonly(),
7016
+ "message": string().readonly()
7017
+ }),
7018
+ object({
7019
+ "code": literal("internal_error").readonly(),
7020
+ "message": string().readonly()
7021
+ })
7022
+ ]);
7023
+ const TYPERT_REMOTE$16 = {
7024
+ package: "@deepseek-ai/dsh-schedule",
7025
+ descriptors: [
7026
+ {
7027
+ id: "@deepseek-ai/dsh-schedule#schedule/catalog",
7028
+ service: "schedule",
7029
+ namespace: "schedule",
7030
+ method: "catalog",
5909
7031
  invocation: { kind: "direct" },
5910
- scope: {
5911
- context: "agent",
5912
- wire: "agentId"
5913
- },
5914
- parameters: [{
5915
- name: "agent",
5916
- wire: "agentId",
5917
- source: "lookup",
5918
- lookup: "agent",
5919
- codec: {
5920
- mode: "strict",
5921
- typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
5922
- create: _deepseek_ai_dsh_goal_goals_complete_parameter_0$schema
5923
- }
5924
- }, {
5925
- name: "ref",
5926
- wire: "ref",
5927
- source: "json",
5928
- codec: {
5929
- mode: "strict",
5930
- typeSymbol: "@deepseek-ai/dsh-goal/client#GoalRef",
5931
- create: _deepseek_ai_dsh_goal_goals_complete_parameter_1$schema
5932
- }
5933
- }],
7032
+ parameters: [],
5934
7033
  result: {
5935
7034
  mode: "strict",
5936
- typeSymbol: "@deepseek-ai/dsh-goal/client#GoalView",
5937
- create: _deepseek_ai_dsh_goal_goals_complete_result$schema
7035
+ typeSymbol: "@deepseek-ai/dsh-schedule#schedule/catalog:result",
7036
+ create: _deepseek_ai_dsh_schedule_schedule_catalog_result$schema
5938
7037
  },
5939
7038
  sourceLocation: {
5940
- "file": "packages/goal/goal/src/index.ts",
5941
- "line": 391,
5942
- "column": 3
7039
+ "file": "packages/schedule/schedule/src/index.ts",
7040
+ "line": 304,
7041
+ "column": 9
5943
7042
  }
5944
7043
  },
5945
7044
  {
5946
- id: "@deepseek-ai/dsh-goal#goals/create",
5947
- service: "goals",
5948
- namespace: "goals",
5949
- method: "create",
5950
- implementation: "remoteExportCreate",
7045
+ id: "@deepseek-ai/dsh-schedule#schedule/delete",
7046
+ service: "schedule",
7047
+ namespace: "schedule",
7048
+ method: "delete",
5951
7049
  invocation: { kind: "direct" },
5952
- scope: {
5953
- context: "agent",
5954
- wire: "agentId"
5955
- },
5956
7050
  parameters: [{
5957
- name: "agent",
5958
- wire: "agentId",
5959
- source: "lookup",
5960
- lookup: "agent",
5961
- codec: {
5962
- mode: "strict",
5963
- typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
5964
- create: _deepseek_ai_dsh_goal_goals_create_parameter_0$schema
5965
- }
5966
- }, {
5967
7051
  name: "request",
5968
7052
  wire: "request",
5969
7053
  source: "json",
5970
7054
  codec: {
5971
7055
  mode: "strict",
5972
- typeSymbol: "@deepseek-ai/dsh-goal/client#CreateGoalRequest",
5973
- create: _deepseek_ai_dsh_goal_goals_create_parameter_1$schema
7056
+ typeSymbol: "@deepseek-ai/dsh-schedule/client#ScheduleDeleteRequest",
7057
+ create: _deepseek_ai_dsh_schedule_schedule_delete_parameter_0$schema
5974
7058
  }
5975
7059
  }],
7060
+ cancellation: { parameter: "signal" },
5976
7061
  result: {
5977
7062
  mode: "strict",
5978
- typeSymbol: "@deepseek-ai/dsh-goal/client#CreateGoalResult",
5979
- create: _deepseek_ai_dsh_goal_goals_create_result$schema
5980
- },
5981
- sourceLocation: {
5982
- "file": "packages/goal/goal/src/index.ts",
5983
- "line": 647,
5984
- "column": 3
5985
- }
5986
- },
5987
- {
5988
- id: "@deepseek-ai/dsh-goal#goals/edit",
5989
- service: "goals",
5990
- namespace: "goals",
5991
- method: "edit",
5992
- invocation: { kind: "direct" },
5993
- scope: {
5994
- context: "agent",
5995
- wire: "agentId"
5996
- },
5997
- parameters: [
5998
- {
5999
- name: "agent",
6000
- wire: "agentId",
6001
- source: "lookup",
6002
- lookup: "agent",
6003
- codec: {
6004
- mode: "strict",
6005
- typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
6006
- create: _deepseek_ai_dsh_goal_goals_edit_parameter_0$schema
6007
- }
6008
- },
6009
- {
6010
- name: "ref",
6011
- wire: "ref",
6012
- source: "json",
6013
- codec: {
6014
- mode: "strict",
6015
- typeSymbol: "@deepseek-ai/dsh-goal/client#GoalRef",
6016
- create: _deepseek_ai_dsh_goal_goals_edit_parameter_1$schema
6017
- }
6018
- },
6019
- {
6020
- name: "request",
6021
- wire: "request",
6022
- source: "json",
6023
- codec: {
6024
- mode: "strict",
6025
- typeSymbol: "@deepseek-ai/dsh-goal/client#EditGoalRequest",
6026
- create: _deepseek_ai_dsh_goal_goals_edit_parameter_2$schema
6027
- }
6028
- }
6029
- ],
6030
- result: {
6031
- mode: "strict",
6032
- typeSymbol: "@deepseek-ai/dsh-goal/client#GoalView",
6033
- create: _deepseek_ai_dsh_goal_goals_edit_result$schema
7063
+ typeSymbol: "@deepseek-ai/dsh-schedule/client#ScheduleDeleteResult",
7064
+ create: _deepseek_ai_dsh_schedule_schedule_delete_result$schema
6034
7065
  },
6035
7066
  sourceLocation: {
6036
- "file": "packages/goal/goal/src/index.ts",
6037
- "line": 329,
6038
- "column": 3
7067
+ "file": "packages/schedule/schedule/src/index.ts",
7068
+ "line": 343,
7069
+ "column": 9
6039
7070
  }
6040
7071
  },
6041
7072
  {
6042
- id: "@deepseek-ai/dsh-goal#goals/get",
6043
- service: "goals",
6044
- namespace: "goals",
6045
- method: "get",
7073
+ id: "@deepseek-ai/dsh-schedule#schedule/history",
7074
+ service: "schedule",
7075
+ namespace: "schedule",
7076
+ method: "history",
6046
7077
  invocation: { kind: "direct" },
6047
- scope: {
6048
- context: "agent",
6049
- wire: "agentId"
6050
- },
6051
7078
  parameters: [{
6052
- name: "agent",
6053
- wire: "agentId",
6054
- source: "lookup",
6055
- lookup: "agent",
7079
+ name: "request",
7080
+ wire: "request",
7081
+ source: "json",
6056
7082
  codec: {
6057
7083
  mode: "strict",
6058
- typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
6059
- create: _deepseek_ai_dsh_goal_goals_get_parameter_0$schema
7084
+ typeSymbol: "@deepseek-ai/dsh-schedule/client#ScheduleDeliveryHistoryRequest",
7085
+ create: _deepseek_ai_dsh_schedule_schedule_history_parameter_0$schema
6060
7086
  }
6061
7087
  }],
6062
7088
  result: {
6063
7089
  mode: "strict",
6064
- typeSymbol: "@deepseek-ai/dsh-goal#goals/get:result",
6065
- create: _deepseek_ai_dsh_goal_goals_get_result$schema
7090
+ typeSymbol: "@deepseek-ai/dsh-schedule/client#ScheduleDeliveryHistoryResult",
7091
+ create: _deepseek_ai_dsh_schedule_schedule_history_result$schema
6066
7092
  },
6067
7093
  sourceLocation: {
6068
- "file": "packages/goal/goal/src/index.ts",
6069
- "line": 277,
6070
- "column": 3
7094
+ "file": "packages/schedule/schedule/src/index.ts",
7095
+ "line": 322,
7096
+ "column": 9
6071
7097
  }
6072
7098
  },
6073
7099
  {
6074
- id: "@deepseek-ai/dsh-goal#goals/pause",
6075
- service: "goals",
6076
- namespace: "goals",
6077
- method: "pause",
7100
+ id: "@deepseek-ai/dsh-schedule#schedule/list",
7101
+ service: "schedule",
7102
+ namespace: "schedule",
7103
+ method: "list",
6078
7104
  invocation: { kind: "direct" },
6079
- scope: {
6080
- context: "agent",
6081
- wire: "agentId"
6082
- },
6083
7105
  parameters: [{
6084
- name: "agent",
6085
- wire: "agentId",
6086
- source: "lookup",
6087
- lookup: "agent",
6088
- codec: {
6089
- mode: "strict",
6090
- typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
6091
- create: _deepseek_ai_dsh_goal_goals_pause_parameter_0$schema
6092
- }
6093
- }, {
6094
- name: "ref",
6095
- wire: "ref",
7106
+ name: "request",
7107
+ wire: "request",
6096
7108
  source: "json",
6097
7109
  codec: {
6098
7110
  mode: "strict",
6099
- typeSymbol: "@deepseek-ai/dsh-goal/client#GoalRef",
6100
- create: _deepseek_ai_dsh_goal_goals_pause_parameter_1$schema
7111
+ typeSymbol: "@deepseek-ai/dsh-schedule/client#ScheduleListRequest",
7112
+ create: _deepseek_ai_dsh_schedule_schedule_list_parameter_0$schema
6101
7113
  }
6102
7114
  }],
6103
7115
  result: {
6104
7116
  mode: "strict",
6105
- typeSymbol: "@deepseek-ai/dsh-goal/client#GoalView",
6106
- create: _deepseek_ai_dsh_goal_goals_pause_result$schema
7117
+ typeSymbol: "@deepseek-ai/dsh-schedule#schedule/list:result",
7118
+ create: _deepseek_ai_dsh_schedule_schedule_list_result$schema
6107
7119
  },
6108
7120
  sourceLocation: {
6109
- "file": "packages/goal/goal/src/index.ts",
6110
- "line": 352,
6111
- "column": 3
7121
+ "file": "packages/schedule/schedule/src/index.ts",
7122
+ "line": 290,
7123
+ "column": 9
6112
7124
  }
6113
7125
  },
6114
7126
  {
6115
- id: "@deepseek-ai/dsh-goal#goals/resume",
6116
- service: "goals",
6117
- namespace: "goals",
6118
- method: "resume",
7127
+ id: "@deepseek-ai/dsh-schedule#schedule/update",
7128
+ service: "schedule",
7129
+ namespace: "schedule",
7130
+ method: "update",
6119
7131
  invocation: { kind: "direct" },
6120
- scope: {
6121
- context: "agent",
6122
- wire: "agentId"
6123
- },
6124
7132
  parameters: [{
6125
- name: "agent",
6126
- wire: "agentId",
6127
- source: "lookup",
6128
- lookup: "agent",
6129
- codec: {
6130
- mode: "strict",
6131
- typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
6132
- create: _deepseek_ai_dsh_goal_goals_resume_parameter_0$schema
6133
- }
6134
- }, {
6135
- name: "ref",
6136
- wire: "ref",
7133
+ name: "request",
7134
+ wire: "request",
6137
7135
  source: "json",
6138
7136
  codec: {
6139
7137
  mode: "strict",
6140
- typeSymbol: "@deepseek-ai/dsh-goal/client#GoalRef",
6141
- create: _deepseek_ai_dsh_goal_goals_resume_parameter_1$schema
7138
+ typeSymbol: "@deepseek-ai/dsh-schedule/client#ScheduleUpdateRequest",
7139
+ create: _deepseek_ai_dsh_schedule_schedule_update_parameter_0$schema
6142
7140
  }
6143
7141
  }],
7142
+ cancellation: { parameter: "signal" },
6144
7143
  result: {
6145
7144
  mode: "strict",
6146
- typeSymbol: "@deepseek-ai/dsh-goal/client#GoalView",
6147
- create: _deepseek_ai_dsh_goal_goals_resume_result$schema
7145
+ typeSymbol: "@deepseek-ai/dsh-schedule/client#ScheduleUpdateResult",
7146
+ create: _deepseek_ai_dsh_schedule_schedule_update_result$schema
6148
7147
  },
6149
7148
  sourceLocation: {
6150
- "file": "packages/goal/goal/src/index.ts",
6151
- "line": 364,
6152
- "column": 3
7149
+ "file": "packages/schedule/schedule/src/index.ts",
7150
+ "line": 370,
7151
+ "column": 9
6153
7152
  }
6154
7153
  }
6155
7154
  ]
@@ -6224,7 +7223,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6224
7223
  },
6225
7224
  sourceLocation: {
6226
7225
  "file": "packages/llm/llm/src/index.ts",
6227
- "line": 633,
7226
+ "line": 638,
6228
7227
  "column": 9
6229
7228
  }
6230
7229
  },
@@ -6242,7 +7241,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6242
7241
  },
6243
7242
  sourceLocation: {
6244
7243
  "file": "packages/llm/llm/src/index.ts",
6245
- "line": 545,
7244
+ "line": 550,
6246
7245
  "column": 3
6247
7246
  }
6248
7247
  },
@@ -6260,7 +7259,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6260
7259
  },
6261
7260
  sourceLocation: {
6262
7261
  "file": "packages/llm/llm/src/index.ts",
6263
- "line": 473,
7262
+ "line": 478,
6264
7263
  "column": 3
6265
7264
  }
6266
7265
  }
@@ -8592,7 +9591,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8592
9591
  },
8593
9592
  sourceLocation: {
8594
9593
  "file": "packages/interaction/permission-presets/src/index.ts",
8595
- "line": 289,
9594
+ "line": 293,
8596
9595
  "column": 3
8597
9596
  }
8598
9597
  }]
@@ -9470,6 +10469,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
9470
10469
  });
9471
10470
  let _deepseek_ai_dsh_api_session_controller_session_fork_result$schema$value;
9472
10471
  const _deepseek_ai_dsh_api_session_controller_session_fork_result$schema = () => _deepseek_ai_dsh_api_session_controller_session_fork_result$schema$value ??= object({ "sessionId": intersection(string(), unknown()).readonly() });
10472
+ let _deepseek_ai_dsh_api_session_controller_session_initializeDefaultModel_result$schema$value;
10473
+ const _deepseek_ai_dsh_api_session_controller_session_initializeDefaultModel_result$schema = () => _deepseek_ai_dsh_api_session_controller_session_initializeDefaultModel_result$schema$value ??= _void();
9473
10474
  let _deepseek_ai_dsh_api_session_controller_session_list_parameter_0$schema$value;
9474
10475
  const _deepseek_ai_dsh_api_session_controller_session_list_parameter_0$schema = () => _deepseek_ai_dsh_api_session_controller_session_list_parameter_0$schema$value ??= object({ "cursor": string().readonly().optional() });
9475
10476
  let _deepseek_ai_dsh_api_session_controller_session_list_result$schema$value;
@@ -10033,7 +11034,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10033
11034
  },
10034
11035
  sourceLocation: {
10035
11036
  "file": "packages/api/session-controller/src/index.ts",
10036
- "line": 419,
11037
+ "line": 437,
10037
11038
  "column": 3
10038
11039
  }
10039
11040
  },
@@ -10060,7 +11061,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10060
11061
  },
10061
11062
  sourceLocation: {
10062
11063
  "file": "packages/api/session-controller/src/index.ts",
10063
- "line": 439,
11064
+ "line": 457,
10064
11065
  "column": 3
10065
11066
  }
10066
11067
  },
@@ -10078,7 +11079,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10078
11079
  },
10079
11080
  sourceLocation: {
10080
11081
  "file": "packages/api/session-controller/src/index.ts",
10081
- "line": 301,
11082
+ "line": 319,
10082
11083
  "column": 3
10083
11084
  }
10084
11085
  },
@@ -10098,7 +11099,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10098
11099
  },
10099
11100
  sourceLocation: {
10100
11101
  "file": "packages/api/session-controller/src/index.ts",
10101
- "line": 502,
11102
+ "line": 520,
10102
11103
  "column": 3
10103
11104
  }
10104
11105
  },
@@ -10154,7 +11155,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10154
11155
  },
10155
11156
  sourceLocation: {
10156
11157
  "file": "packages/api/session-controller/src/index.ts",
10157
- "line": 462,
11158
+ "line": 480,
10158
11159
  "column": 3
10159
11160
  }
10160
11161
  },
@@ -10181,10 +11182,28 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10181
11182
  },
10182
11183
  sourceLocation: {
10183
11184
  "file": "packages/api/session-controller/src/index.ts",
10184
- "line": 397,
11185
+ "line": 415,
10185
11186
  "column": 3
10186
11187
  }
10187
11188
  },
11189
+ {
11190
+ id: "@deepseek-ai/dsh-api-session-controller#session/initializeDefaultModel",
11191
+ service: "sessionController",
11192
+ namespace: "session",
11193
+ method: "initializeDefaultModel",
11194
+ invocation: { kind: "direct" },
11195
+ parameters: [],
11196
+ result: {
11197
+ mode: "strict",
11198
+ typeSymbol: "@deepseek-ai/dsh-api-session-controller#session/initializeDefaultModel:result",
11199
+ create: _deepseek_ai_dsh_api_session_controller_session_initializeDefaultModel_result$schema
11200
+ },
11201
+ sourceLocation: {
11202
+ "file": "packages/api/session-controller/src/index.ts",
11203
+ "line": 292,
11204
+ "column": 9
11205
+ }
11206
+ },
10188
11207
  {
10189
11208
  id: "@deepseek-ai/dsh-api-session-controller#session/list",
10190
11209
  service: "sessionController",
@@ -10227,7 +11246,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10227
11246
  },
10228
11247
  sourceLocation: {
10229
11248
  "file": "packages/api/session-controller/src/index.ts",
10230
- "line": 292,
11249
+ "line": 310,
10231
11250
  "column": 3
10232
11251
  }
10233
11252
  },
@@ -10255,7 +11274,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10255
11274
  },
10256
11275
  sourceLocation: {
10257
11276
  "file": "packages/api/session-controller/src/index.ts",
10258
- "line": 322,
11277
+ "line": 340,
10259
11278
  "column": 9
10260
11279
  }
10261
11280
  },
@@ -10283,7 +11302,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10283
11302
  },
10284
11303
  sourceLocation: {
10285
11304
  "file": "packages/api/session-controller/src/index.ts",
10286
- "line": 450,
11305
+ "line": 468,
10287
11306
  "column": 3
10288
11307
  }
10289
11308
  },
@@ -10311,7 +11330,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10311
11330
  },
10312
11331
  sourceLocation: {
10313
11332
  "file": "packages/api/session-controller/src/index.ts",
10314
- "line": 473,
11333
+ "line": 491,
10315
11334
  "column": 9
10316
11335
  }
10317
11336
  },
@@ -10339,7 +11358,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10339
11358
  },
10340
11359
  sourceLocation: {
10341
11360
  "file": "packages/api/session-controller/src/index.ts",
10342
- "line": 408,
11361
+ "line": 426,
10343
11362
  "column": 3
10344
11363
  }
10345
11364
  },
@@ -10366,7 +11385,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10366
11385
  },
10367
11386
  sourceLocation: {
10368
11387
  "file": "packages/api/session-controller/src/index.ts",
10369
- "line": 385,
11388
+ "line": 403,
10370
11389
  "column": 3
10371
11390
  }
10372
11391
  },
@@ -10448,7 +11467,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10448
11467
  },
10449
11468
  sourceLocation: {
10450
11469
  "file": "packages/api/session-controller/src/index.ts",
10451
- "line": 429,
11470
+ "line": 447,
10452
11471
  "column": 3
10453
11472
  }
10454
11473
  },
@@ -10476,7 +11495,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10476
11495
  },
10477
11496
  sourceLocation: {
10478
11497
  "file": "packages/api/session-controller/src/index.ts",
10479
- "line": 352,
11498
+ "line": 370,
10480
11499
  "column": 9
10481
11500
  }
10482
11501
  },
@@ -10813,11 +11832,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10813
11832
  "pinnedSessionIds": array(intersection(string(), unknown())).readonly()
10814
11833
  })
10815
11834
  ]);
10816
- let _deepseek_ai_dsh_api_workspace_controller_workspace_initializeDefault_parameter_0$schema$value;
10817
- const _deepseek_ai_dsh_api_workspace_controller_workspace_initializeDefault_parameter_0$schema = () => _deepseek_ai_dsh_api_workspace_controller_workspace_initializeDefault_parameter_0$schema$value ??= object({
10818
- "directoryName": string().readonly(),
10819
- "title": string().readonly()
10820
- });
10821
11835
  let _deepseek_ai_dsh_api_workspace_controller_workspace_initializeDefault_result$schema$value;
10822
11836
  const _deepseek_ai_dsh_api_workspace_controller_workspace_initializeDefault_result$schema = () => _deepseek_ai_dsh_api_workspace_controller_workspace_initializeDefault_result$schema$value ??= union([_undefined(), object({ "workspace": object({
10823
11837
  "workspaceId": intersection(string(), unknown()).readonly(),
@@ -10985,7 +11999,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10985
11999
  },
10986
12000
  sourceLocation: {
10987
12001
  "file": "packages/api/workspace-controller/src/index.ts",
10988
- "line": 160,
12002
+ "line": 155,
10989
12003
  "column": 3
10990
12004
  }
10991
12005
  },
@@ -11012,7 +12026,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11012
12026
  },
11013
12027
  sourceLocation: {
11014
12028
  "file": "packages/api/workspace-controller/src/index.ts",
11015
- "line": 87,
12029
+ "line": 86,
11016
12030
  "column": 3
11017
12031
  }
11018
12032
  },
@@ -11039,7 +12053,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11039
12053
  },
11040
12054
  sourceLocation: {
11041
12055
  "file": "packages/api/workspace-controller/src/index.ts",
11042
- "line": 130,
12056
+ "line": 125,
11043
12057
  "column": 3
11044
12058
  }
11045
12059
  },
@@ -11059,7 +12073,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11059
12073
  },
11060
12074
  sourceLocation: {
11061
12075
  "file": "packages/api/workspace-controller/src/index.ts",
11062
- "line": 200,
12076
+ "line": 195,
11063
12077
  "column": 3
11064
12078
  }
11065
12079
  },
@@ -11069,16 +12083,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11069
12083
  namespace: "workspace",
11070
12084
  method: "initializeDefault",
11071
12085
  invocation: { kind: "direct" },
11072
- parameters: [{
11073
- name: "request",
11074
- wire: "request",
11075
- source: "json",
11076
- codec: {
11077
- mode: "strict",
11078
- typeSymbol: "@deepseek-ai/dsh-api-workspace-controller/types#WorkspaceInitializeDefaultRequest",
11079
- create: _deepseek_ai_dsh_api_workspace_controller_workspace_initializeDefault_parameter_0$schema
11080
- }
11081
- }],
12086
+ parameters: [],
11082
12087
  cancellation: { parameter: "signal" },
11083
12088
  result: {
11084
12089
  mode: "strict",
@@ -11087,7 +12092,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11087
12092
  },
11088
12093
  sourceLocation: {
11089
12094
  "file": "packages/api/workspace-controller/src/index.ts",
11090
- "line": 98,
12095
+ "line": 99,
11091
12096
  "column": 9
11092
12097
  }
11093
12098
  },
@@ -11114,7 +12119,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11114
12119
  },
11115
12120
  sourceLocation: {
11116
12121
  "file": "packages/api/workspace-controller/src/index.ts",
11117
- "line": 140,
12122
+ "line": 135,
11118
12123
  "column": 3
11119
12124
  }
11120
12125
  },
@@ -11141,7 +12146,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11141
12146
  },
11142
12147
  sourceLocation: {
11143
12148
  "file": "packages/api/workspace-controller/src/index.ts",
11144
- "line": 150,
12149
+ "line": 145,
11145
12150
  "column": 3
11146
12151
  }
11147
12152
  },
@@ -11168,7 +12173,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11168
12173
  },
11169
12174
  sourceLocation: {
11170
12175
  "file": "packages/api/workspace-controller/src/index.ts",
11171
- "line": 180,
12176
+ "line": 175,
11172
12177
  "column": 3
11173
12178
  }
11174
12179
  },
@@ -11195,7 +12200,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11195
12200
  },
11196
12201
  sourceLocation: {
11197
12202
  "file": "packages/api/workspace-controller/src/index.ts",
11198
- "line": 120,
12203
+ "line": 115,
11199
12204
  "column": 3
11200
12205
  }
11201
12206
  },
@@ -11222,7 +12227,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11222
12227
  },
11223
12228
  sourceLocation: {
11224
12229
  "file": "packages/api/workspace-controller/src/index.ts",
11225
- "line": 170,
12230
+ "line": 165,
11226
12231
  "column": 3
11227
12232
  }
11228
12233
  },
@@ -11249,7 +12254,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11249
12254
  },
11250
12255
  sourceLocation: {
11251
12256
  "file": "packages/api/workspace-controller/src/index.ts",
11252
- "line": 190,
12257
+ "line": 185,
11253
12258
  "column": 3
11254
12259
  }
11255
12260
  }
@@ -12066,7 +13071,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
12066
13071
  },
12067
13072
  sourceLocation: {
12068
13073
  "file": "packages/api/workspace-files/src/index.ts",
12069
- "line": 331,
13074
+ "line": 340,
12070
13075
  "column": 3
12071
13076
  }
12072
13077
  },
@@ -12266,13 +13271,15 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
12266
13271
  const disposers = [];
12267
13272
  try {
12268
13273
  for (const contribution of [
13274
+ TYPERT_REMOTE$23,
13275
+ TYPERT_REMOTE$22,
12269
13276
  TYPERT_REMOTE$21,
12270
- TYPERT_REMOTE$20,
12271
- TYPERT_REMOTE$18,
12272
13277
  TYPERT_REMOTE$19,
12273
- TYPERT_REMOTE$16,
13278
+ TYPERT_REMOTE$20,
13279
+ TYPERT_REMOTE$17,
12274
13280
  TYPERT_REMOTE$15,
12275
13281
  TYPERT_REMOTE$14,
13282
+ TYPERT_REMOTE$16,
12276
13283
  TYPERT_REMOTE$11,
12277
13284
  TYPERT_REMOTE$13,
12278
13285
  TYPERT_REMOTE$12,
@@ -12287,7 +13294,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
12287
13294
  TYPERT_REMOTE$2,
12288
13295
  TYPERT_REMOTE,
12289
13296
  TYPERT_REMOTE$1,
12290
- TYPERT_REMOTE$17
13297
+ TYPERT_REMOTE$18
12291
13298
  ]) disposers.push(await ctx.remote.$mount(contribution));
12292
13299
  } catch (error) {
12293
13300
  for (const dispose of disposers.reverse()) await dispose();