@deepseek-ai/dsh-api-remotes 0.1.2-rc.1 → 0.1.5-alpha.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/README.i18n.yaml +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/lib/client.js +820 -306
- package/lib/index.js +11 -6
- package/lib/types/client/index.d.ts +3 -0
- package/lib/types/client/index.js +4 -2
- package/lib/types/index.js +6 -6
- package/lib/types/remote-events.d.ts +3 -0
- package/lib/types/remote-events.js +1 -0
- package/package.json +30 -26
package/lib/client.js
CHANGED
|
@@ -4334,7 +4334,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4334
4334
|
const _deepseek_ai_dsh_agent_presets_agentPresets_select_parameter_0$schema = intersection(string(), unknown());
|
|
4335
4335
|
const _deepseek_ai_dsh_agent_presets_agentPresets_select_parameter_1$schema = string();
|
|
4336
4336
|
const _deepseek_ai_dsh_agent_presets_agentPresets_select_result$schema = string();
|
|
4337
|
-
const TYPERT_REMOTE$
|
|
4337
|
+
const TYPERT_REMOTE$13 = {
|
|
4338
4338
|
package: "@deepseek-ai/dsh-agent-presets",
|
|
4339
4339
|
descriptors: [
|
|
4340
4340
|
{
|
|
@@ -4510,7 +4510,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4510
4510
|
//#region ../../interaction/commands/lib/typert.remote-client.js
|
|
4511
4511
|
const _deepseek_ai_dsh_commands_commands_execute_parameter_0$schema = intersection(string(), unknown());
|
|
4512
4512
|
const _deepseek_ai_dsh_commands_commands_execute_parameter_1$schema = string();
|
|
4513
|
-
const _deepseek_ai_dsh_commands_commands_execute_parameter_2$schema = array(object({
|
|
4513
|
+
const _deepseek_ai_dsh_commands_commands_execute_parameter_2$schema = array(union([intersection(object({ "type": literal("image").readonly() }), object({
|
|
4514
4514
|
"mediaType": union([
|
|
4515
4515
|
literal("image/png"),
|
|
4516
4516
|
literal("image/jpeg"),
|
|
@@ -4519,7 +4519,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4519
4519
|
]),
|
|
4520
4520
|
"data": string(),
|
|
4521
4521
|
"name": string().optional()
|
|
4522
|
-
}))
|
|
4522
|
+
})), object({
|
|
4523
|
+
"type": literal("file").readonly(),
|
|
4524
|
+
"receiptId": string().readonly()
|
|
4525
|
+
})]));
|
|
4523
4526
|
const _deepseek_ai_dsh_commands_commands_execute_result$schema = union([_undefined(), object({
|
|
4524
4527
|
"commandId": intersection(string(), unknown()).readonly(),
|
|
4525
4528
|
"result": union([object({
|
|
@@ -4537,10 +4540,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4537
4540
|
"description": string().readonly(),
|
|
4538
4541
|
"input": object({
|
|
4539
4542
|
"hint": string().readonly(),
|
|
4540
|
-
"
|
|
4543
|
+
"attachments": boolean().readonly().optional()
|
|
4541
4544
|
}).readonly().optional()
|
|
4542
4545
|
}));
|
|
4543
|
-
const TYPERT_REMOTE$
|
|
4546
|
+
const TYPERT_REMOTE$12 = {
|
|
4544
4547
|
package: "@deepseek-ai/dsh-commands",
|
|
4545
4548
|
descriptors: [{
|
|
4546
4549
|
id: "@deepseek-ai/dsh-commands#commands/execute",
|
|
@@ -4575,12 +4578,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4575
4578
|
}
|
|
4576
4579
|
},
|
|
4577
4580
|
{
|
|
4578
|
-
name: "
|
|
4579
|
-
wire: "
|
|
4581
|
+
name: "submittedAttachments",
|
|
4582
|
+
wire: "submittedAttachments",
|
|
4580
4583
|
source: "json",
|
|
4581
4584
|
codec: {
|
|
4582
4585
|
mode: "strict",
|
|
4583
|
-
typeSymbol: "@deepseek-ai/dsh-commands#commands/execute:
|
|
4586
|
+
typeSymbol: "@deepseek-ai/dsh-commands#commands/execute:submittedAttachments",
|
|
4584
4587
|
schema: _deepseek_ai_dsh_commands_commands_execute_parameter_2$schema
|
|
4585
4588
|
}
|
|
4586
4589
|
}
|
|
@@ -4593,7 +4596,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4593
4596
|
},
|
|
4594
4597
|
sourceLocation: {
|
|
4595
4598
|
"file": "packages/interaction/commands/src/index.ts",
|
|
4596
|
-
"line":
|
|
4599
|
+
"line": 356,
|
|
4597
4600
|
"column": 9
|
|
4598
4601
|
}
|
|
4599
4602
|
}, {
|
|
@@ -4624,7 +4627,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4624
4627
|
},
|
|
4625
4628
|
sourceLocation: {
|
|
4626
4629
|
"file": "packages/interaction/commands/src/index.ts",
|
|
4627
|
-
"line":
|
|
4630
|
+
"line": 310,
|
|
4628
4631
|
"column": 3
|
|
4629
4632
|
}
|
|
4630
4633
|
}]
|
|
@@ -4936,7 +4939,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4936
4939
|
})),
|
|
4937
4940
|
"revision": number()
|
|
4938
4941
|
});
|
|
4939
|
-
const TYPERT_REMOTE$
|
|
4942
|
+
const TYPERT_REMOTE$11 = {
|
|
4940
4943
|
package: "@deepseek-ai/dsh-api-settings-controller",
|
|
4941
4944
|
descriptors: [
|
|
4942
4945
|
{
|
|
@@ -5338,6 +5341,27 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5338
5341
|
"id": intersection(string(), unknown()).readonly(),
|
|
5339
5342
|
"revision": number().readonly()
|
|
5340
5343
|
});
|
|
5344
|
+
const _deepseek_ai_dsh_goal_goals_get_parameter_0$schema = intersection(string(), unknown());
|
|
5345
|
+
const _deepseek_ai_dsh_goal_goals_get_result$schema = union([_undefined(), object({
|
|
5346
|
+
"roundsStarted": number().readonly(),
|
|
5347
|
+
"createdAt": number().readonly(),
|
|
5348
|
+
"updatedAt": number().readonly(),
|
|
5349
|
+
"activation": union([literal("armed"), literal("disarmed")]).readonly(),
|
|
5350
|
+
"objective": string().readonly(),
|
|
5351
|
+
"phase": union([
|
|
5352
|
+
literal("active"),
|
|
5353
|
+
literal("paused"),
|
|
5354
|
+
literal("blocked"),
|
|
5355
|
+
literal("complete")
|
|
5356
|
+
]).readonly(),
|
|
5357
|
+
"blockedReason": object({
|
|
5358
|
+
"code": string().readonly(),
|
|
5359
|
+
"message": string().readonly()
|
|
5360
|
+
}).readonly().optional(),
|
|
5361
|
+
"maxGoalRounds": number().readonly(),
|
|
5362
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
5363
|
+
"revision": number().readonly()
|
|
5364
|
+
})]);
|
|
5341
5365
|
const _deepseek_ai_dsh_goal_goals_pause_parameter_0$schema = intersection(string(), unknown());
|
|
5342
5366
|
const _deepseek_ai_dsh_goal_goals_pause_parameter_1$schema = object({
|
|
5343
5367
|
"id": intersection(string(), unknown()).readonly(),
|
|
@@ -5388,7 +5412,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5388
5412
|
"id": intersection(string(), unknown()).readonly(),
|
|
5389
5413
|
"revision": number().readonly()
|
|
5390
5414
|
});
|
|
5391
|
-
const TYPERT_REMOTE$
|
|
5415
|
+
const TYPERT_REMOTE$10 = {
|
|
5392
5416
|
package: "@deepseek-ai/dsh-goal",
|
|
5393
5417
|
descriptors: [
|
|
5394
5418
|
{
|
|
@@ -5428,7 +5452,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5428
5452
|
},
|
|
5429
5453
|
sourceLocation: {
|
|
5430
5454
|
"file": "packages/goal/goal/src/index.ts",
|
|
5431
|
-
"line":
|
|
5455
|
+
"line": 433,
|
|
5432
5456
|
"column": 3
|
|
5433
5457
|
}
|
|
5434
5458
|
},
|
|
@@ -5469,7 +5493,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5469
5493
|
},
|
|
5470
5494
|
sourceLocation: {
|
|
5471
5495
|
"file": "packages/goal/goal/src/index.ts",
|
|
5472
|
-
"line":
|
|
5496
|
+
"line": 391,
|
|
5473
5497
|
"column": 3
|
|
5474
5498
|
}
|
|
5475
5499
|
},
|
|
@@ -5511,7 +5535,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5511
5535
|
},
|
|
5512
5536
|
sourceLocation: {
|
|
5513
5537
|
"file": "packages/goal/goal/src/index.ts",
|
|
5514
|
-
"line":
|
|
5538
|
+
"line": 647,
|
|
5515
5539
|
"column": 3
|
|
5516
5540
|
}
|
|
5517
5541
|
},
|
|
@@ -5565,7 +5589,39 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5565
5589
|
},
|
|
5566
5590
|
sourceLocation: {
|
|
5567
5591
|
"file": "packages/goal/goal/src/index.ts",
|
|
5568
|
-
"line":
|
|
5592
|
+
"line": 329,
|
|
5593
|
+
"column": 3
|
|
5594
|
+
}
|
|
5595
|
+
},
|
|
5596
|
+
{
|
|
5597
|
+
id: "@deepseek-ai/dsh-goal#goals/get",
|
|
5598
|
+
service: "goals",
|
|
5599
|
+
namespace: "goals",
|
|
5600
|
+
method: "get",
|
|
5601
|
+
invocation: { kind: "direct" },
|
|
5602
|
+
scope: {
|
|
5603
|
+
context: "agent",
|
|
5604
|
+
wire: "agentId"
|
|
5605
|
+
},
|
|
5606
|
+
parameters: [{
|
|
5607
|
+
name: "agent",
|
|
5608
|
+
wire: "agentId",
|
|
5609
|
+
source: "lookup",
|
|
5610
|
+
lookup: "agent",
|
|
5611
|
+
codec: {
|
|
5612
|
+
mode: "strict",
|
|
5613
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
5614
|
+
schema: _deepseek_ai_dsh_goal_goals_get_parameter_0$schema
|
|
5615
|
+
}
|
|
5616
|
+
}],
|
|
5617
|
+
result: {
|
|
5618
|
+
mode: "strict",
|
|
5619
|
+
typeSymbol: "@deepseek-ai/dsh-goal#goals/get:result",
|
|
5620
|
+
schema: _deepseek_ai_dsh_goal_goals_get_result$schema
|
|
5621
|
+
},
|
|
5622
|
+
sourceLocation: {
|
|
5623
|
+
"file": "packages/goal/goal/src/index.ts",
|
|
5624
|
+
"line": 277,
|
|
5569
5625
|
"column": 3
|
|
5570
5626
|
}
|
|
5571
5627
|
},
|
|
@@ -5606,7 +5662,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5606
5662
|
},
|
|
5607
5663
|
sourceLocation: {
|
|
5608
5664
|
"file": "packages/goal/goal/src/index.ts",
|
|
5609
|
-
"line":
|
|
5665
|
+
"line": 352,
|
|
5610
5666
|
"column": 3
|
|
5611
5667
|
}
|
|
5612
5668
|
},
|
|
@@ -5647,7 +5703,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5647
5703
|
},
|
|
5648
5704
|
sourceLocation: {
|
|
5649
5705
|
"file": "packages/goal/goal/src/index.ts",
|
|
5650
|
-
"line":
|
|
5706
|
+
"line": 364,
|
|
5651
5707
|
"column": 3
|
|
5652
5708
|
}
|
|
5653
5709
|
}
|
|
@@ -5679,7 +5735,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5679
5735
|
"id": string(),
|
|
5680
5736
|
"name": string()
|
|
5681
5737
|
}));
|
|
5682
|
-
const TYPERT_REMOTE$
|
|
5738
|
+
const TYPERT_REMOTE$9 = {
|
|
5683
5739
|
package: "@deepseek-ai/dsh-llm",
|
|
5684
5740
|
descriptors: [
|
|
5685
5741
|
{
|
|
@@ -5716,7 +5772,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5716
5772
|
},
|
|
5717
5773
|
sourceLocation: {
|
|
5718
5774
|
"file": "packages/llm/llm/src/index.ts",
|
|
5719
|
-
"line":
|
|
5775
|
+
"line": 628,
|
|
5720
5776
|
"column": 9
|
|
5721
5777
|
}
|
|
5722
5778
|
},
|
|
@@ -5734,7 +5790,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5734
5790
|
},
|
|
5735
5791
|
sourceLocation: {
|
|
5736
5792
|
"file": "packages/llm/llm/src/index.ts",
|
|
5737
|
-
"line":
|
|
5793
|
+
"line": 541,
|
|
5738
5794
|
"column": 3
|
|
5739
5795
|
}
|
|
5740
5796
|
},
|
|
@@ -5752,7 +5808,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5752
5808
|
},
|
|
5753
5809
|
sourceLocation: {
|
|
5754
5810
|
"file": "packages/llm/llm/src/index.ts",
|
|
5755
|
-
"line":
|
|
5811
|
+
"line": 469,
|
|
5756
5812
|
"column": 3
|
|
5757
5813
|
}
|
|
5758
5814
|
}
|
|
@@ -6086,7 +6142,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6086
6142
|
"reason": literal("plugin-missing"),
|
|
6087
6143
|
"message": string()
|
|
6088
6144
|
})]);
|
|
6089
|
-
const TYPERT_REMOTE$
|
|
6145
|
+
const TYPERT_REMOTE$8 = {
|
|
6090
6146
|
package: "@deepseek-ai/dsh-cordis-host-runner",
|
|
6091
6147
|
descriptors: [
|
|
6092
6148
|
{
|
|
@@ -6687,7 +6743,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6687
6743
|
}
|
|
6688
6744
|
]
|
|
6689
6745
|
};
|
|
6690
|
-
const TYPERT_REMOTE$
|
|
6746
|
+
const TYPERT_REMOTE$7 = {
|
|
6691
6747
|
package: "@deepseek-ai/dsh-host-plugin-inventory",
|
|
6692
6748
|
descriptors: [{
|
|
6693
6749
|
id: "@deepseek-ai/dsh-host-plugin-inventory#pluginInventory/list",
|
|
@@ -6840,7 +6896,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6840
6896
|
})
|
|
6841
6897
|
]).readonly()
|
|
6842
6898
|
})]);
|
|
6843
|
-
const TYPERT_REMOTE$
|
|
6899
|
+
const TYPERT_REMOTE$6 = {
|
|
6844
6900
|
package: "@deepseek-ai/dsh-message-feedback",
|
|
6845
6901
|
descriptors: [
|
|
6846
6902
|
{
|
|
@@ -6866,7 +6922,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6866
6922
|
},
|
|
6867
6923
|
sourceLocation: {
|
|
6868
6924
|
"file": "packages/feedback/message-feedback/src/index.ts",
|
|
6869
|
-
"line":
|
|
6925
|
+
"line": 203,
|
|
6870
6926
|
"column": 3
|
|
6871
6927
|
}
|
|
6872
6928
|
},
|
|
@@ -6893,8 +6949,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6893
6949
|
},
|
|
6894
6950
|
sourceLocation: {
|
|
6895
6951
|
"file": "packages/feedback/message-feedback/src/index.ts",
|
|
6896
|
-
"line":
|
|
6897
|
-
"column":
|
|
6952
|
+
"line": 153,
|
|
6953
|
+
"column": 3
|
|
6898
6954
|
}
|
|
6899
6955
|
},
|
|
6900
6956
|
{
|
|
@@ -6920,13 +6976,73 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6920
6976
|
},
|
|
6921
6977
|
sourceLocation: {
|
|
6922
6978
|
"file": "packages/feedback/message-feedback/src/index.ts",
|
|
6923
|
-
"line":
|
|
6979
|
+
"line": 165,
|
|
6924
6980
|
"column": 3
|
|
6925
6981
|
}
|
|
6926
6982
|
}
|
|
6927
6983
|
]
|
|
6928
6984
|
};
|
|
6929
6985
|
//#endregion
|
|
6986
|
+
//#region ../../client/file-upload/lib/typert.remote-client.js
|
|
6987
|
+
const _deepseek_ai_dsh_client_file_upload_fileUploads_upload_parameter_0$schema = intersection(string(), unknown());
|
|
6988
|
+
const _deepseek_ai_dsh_client_file_upload_fileUploads_upload_parameter_1$schema = object({
|
|
6989
|
+
"data": string().readonly(),
|
|
6990
|
+
"name": string().readonly().optional()
|
|
6991
|
+
});
|
|
6992
|
+
const _deepseek_ai_dsh_client_file_upload_fileUploads_upload_result$schema = object({
|
|
6993
|
+
"receiptId": intersection(string(), unknown()).readonly(),
|
|
6994
|
+
"file": object({
|
|
6995
|
+
"attachmentId": intersection(string(), unknown()),
|
|
6996
|
+
"name": string(),
|
|
6997
|
+
"bytes": number()
|
|
6998
|
+
}).readonly()
|
|
6999
|
+
});
|
|
7000
|
+
const TYPERT_REMOTE$5 = {
|
|
7001
|
+
package: "@deepseek-ai/dsh-client-file-upload",
|
|
7002
|
+
descriptors: [{
|
|
7003
|
+
id: "@deepseek-ai/dsh-client-file-upload#fileUploads/upload",
|
|
7004
|
+
service: "fileUploads",
|
|
7005
|
+
namespace: "fileUploads",
|
|
7006
|
+
method: "upload",
|
|
7007
|
+
invocation: { kind: "direct" },
|
|
7008
|
+
scope: {
|
|
7009
|
+
context: "agent",
|
|
7010
|
+
wire: "agentId"
|
|
7011
|
+
},
|
|
7012
|
+
parameters: [{
|
|
7013
|
+
name: "agent",
|
|
7014
|
+
wire: "agentId",
|
|
7015
|
+
source: "lookup",
|
|
7016
|
+
lookup: "agent",
|
|
7017
|
+
codec: {
|
|
7018
|
+
mode: "strict",
|
|
7019
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
7020
|
+
schema: _deepseek_ai_dsh_client_file_upload_fileUploads_upload_parameter_0$schema
|
|
7021
|
+
}
|
|
7022
|
+
}, {
|
|
7023
|
+
name: "request",
|
|
7024
|
+
wire: "request",
|
|
7025
|
+
source: "json",
|
|
7026
|
+
codec: {
|
|
7027
|
+
mode: "strict",
|
|
7028
|
+
typeSymbol: "@deepseek-ai/dsh-client-file-upload/types#EncodedFileUploadRequest",
|
|
7029
|
+
schema: _deepseek_ai_dsh_client_file_upload_fileUploads_upload_parameter_1$schema
|
|
7030
|
+
}
|
|
7031
|
+
}],
|
|
7032
|
+
cancellation: { parameter: "signal" },
|
|
7033
|
+
result: {
|
|
7034
|
+
mode: "strict",
|
|
7035
|
+
typeSymbol: "@deepseek-ai/dsh-client-file-upload/types#FileUploadValue",
|
|
7036
|
+
schema: _deepseek_ai_dsh_client_file_upload_fileUploads_upload_result$schema
|
|
7037
|
+
},
|
|
7038
|
+
sourceLocation: {
|
|
7039
|
+
"file": "packages/client/file-upload/src/index.ts",
|
|
7040
|
+
"line": 106,
|
|
7041
|
+
"column": 3
|
|
7042
|
+
}
|
|
7043
|
+
}]
|
|
7044
|
+
};
|
|
7045
|
+
//#endregion
|
|
6930
7046
|
//#region ../../context/session-reference/lib/typert.remote-client.js
|
|
6931
7047
|
const _deepseek_ai_dsh_session_reference_sessionReferenceResolver_candidates_parameter_0$schema = intersection(string(), unknown());
|
|
6932
7048
|
const _deepseek_ai_dsh_session_reference_sessionReferenceResolver_candidates_parameter_1$schema = string();
|
|
@@ -6938,7 +7054,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6938
7054
|
"sameWorkspace": boolean(),
|
|
6939
7055
|
"createdAt": number()
|
|
6940
7056
|
}));
|
|
6941
|
-
const TYPERT_REMOTE$
|
|
7057
|
+
const TYPERT_REMOTE$4 = {
|
|
6942
7058
|
package: "@deepseek-ai/dsh-session-reference",
|
|
6943
7059
|
descriptors: [{
|
|
6944
7060
|
id: "@deepseek-ai/dsh-session-reference#sessionReferenceResolver/candidates",
|
|
@@ -6979,7 +7095,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6979
7095
|
},
|
|
6980
7096
|
sourceLocation: {
|
|
6981
7097
|
"file": "packages/context/session-reference/src/index.ts",
|
|
6982
|
-
"line":
|
|
7098
|
+
"line": 274,
|
|
6983
7099
|
"column": 9
|
|
6984
7100
|
}
|
|
6985
7101
|
}]
|
|
@@ -7028,6 +7144,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7028
7144
|
"parentSessionId": intersection(string(), unknown()).readonly(),
|
|
7029
7145
|
"childSessionId": intersection(string(), unknown()).readonly(),
|
|
7030
7146
|
"mode": literal("continuable").readonly(),
|
|
7147
|
+
"delivery": union([literal("queue"), literal("steer")]).readonly(),
|
|
7031
7148
|
"content": array(union([object({
|
|
7032
7149
|
"type": literal("text").readonly(),
|
|
7033
7150
|
"text": string().readonly()
|
|
@@ -7045,7 +7162,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7045
7162
|
"clientTimeZone": string().readonly().optional()
|
|
7046
7163
|
});
|
|
7047
7164
|
const _deepseek_ai_dsh_subagent_subagents_prompt_result$schema = object({ "messageId": intersection(string(), unknown()).readonly() });
|
|
7048
|
-
const TYPERT_REMOTE$
|
|
7165
|
+
const TYPERT_REMOTE$3 = {
|
|
7049
7166
|
package: "@deepseek-ai/dsh-subagent",
|
|
7050
7167
|
descriptors: [
|
|
7051
7168
|
{
|
|
@@ -7093,7 +7210,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7093
7210
|
},
|
|
7094
7211
|
sourceLocation: {
|
|
7095
7212
|
"file": "packages/subagent/subagent/src/index.ts",
|
|
7096
|
-
"line":
|
|
7213
|
+
"line": 477,
|
|
7097
7214
|
"column": 3
|
|
7098
7215
|
}
|
|
7099
7216
|
},
|
|
@@ -7122,7 +7239,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7122
7239
|
},
|
|
7123
7240
|
sourceLocation: {
|
|
7124
7241
|
"file": "packages/subagent/subagent/src/index.ts",
|
|
7125
|
-
"line":
|
|
7242
|
+
"line": 383,
|
|
7126
7243
|
"column": 9
|
|
7127
7244
|
}
|
|
7128
7245
|
},
|
|
@@ -7159,6 +7276,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7159
7276
|
//#endregion
|
|
7160
7277
|
//#region ../session-controller/lib/typert.remote-client.js
|
|
7161
7278
|
const ContentBlockRemoteCodec$schema = union([
|
|
7279
|
+
object({
|
|
7280
|
+
"type": literal("file"),
|
|
7281
|
+
"attachment": object({
|
|
7282
|
+
"attachmentId": intersection(string(), unknown()),
|
|
7283
|
+
"name": string(),
|
|
7284
|
+
"bytes": number()
|
|
7285
|
+
})
|
|
7286
|
+
}),
|
|
7162
7287
|
object({
|
|
7163
7288
|
"type": literal("text"),
|
|
7164
7289
|
"text": string()
|
|
@@ -7312,6 +7437,26 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7312
7437
|
"projections": record(intersection(string(), unknown()), object({
|
|
7313
7438
|
"asOfSeq": number().readonly(),
|
|
7314
7439
|
"values": intersection(object({
|
|
7440
|
+
"inbox": object({
|
|
7441
|
+
"next-turn": array(union([
|
|
7442
|
+
literal(null),
|
|
7443
|
+
string(),
|
|
7444
|
+
number(),
|
|
7445
|
+
literal(false),
|
|
7446
|
+
literal(true),
|
|
7447
|
+
array(lazy(() => JsonValueRemoteCodec$schema4)),
|
|
7448
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema4))
|
|
7449
|
+
])).readonly(),
|
|
7450
|
+
"next-step": array(union([
|
|
7451
|
+
literal(null),
|
|
7452
|
+
string(),
|
|
7453
|
+
number(),
|
|
7454
|
+
literal(false),
|
|
7455
|
+
literal(true),
|
|
7456
|
+
array(lazy(() => JsonValueRemoteCodec$schema4)),
|
|
7457
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema4))
|
|
7458
|
+
])).readonly()
|
|
7459
|
+
}).optional(),
|
|
7315
7460
|
"agentPreset": union([literal(null), string()]).optional(),
|
|
7316
7461
|
"title": union([literal(null), string()]).optional(),
|
|
7317
7462
|
"todos": union([literal(null), array(object({
|
|
@@ -7483,46 +7628,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7483
7628
|
"childSessionId": intersection(string(), unknown()).readonly(),
|
|
7484
7629
|
"mode": union([literal("one-shot"), literal("continuable")]).readonly()
|
|
7485
7630
|
})]).readonly(),
|
|
7486
|
-
"maxMessages": number().readonly().optional()
|
|
7631
|
+
"maxMessages": number().readonly().optional(),
|
|
7632
|
+
"assistantStream": literal(true).readonly().optional()
|
|
7487
7633
|
});
|
|
7488
|
-
const _deepseek_ai_dsh_api_session_controller_session_follow_result$schema = union([
|
|
7489
|
-
|
|
7490
|
-
"event": object({
|
|
7491
|
-
"type": string().readonly(),
|
|
7492
|
-
"seq": number().readonly(),
|
|
7493
|
-
"time": number().readonly(),
|
|
7494
|
-
"data": union([
|
|
7495
|
-
literal(null),
|
|
7496
|
-
string(),
|
|
7497
|
-
number(),
|
|
7498
|
-
literal(false),
|
|
7499
|
-
literal(true),
|
|
7500
|
-
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
7501
|
-
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
7502
|
-
]).readonly(),
|
|
7503
|
-
"ignorable": literal(true).readonly().optional(),
|
|
7504
|
-
"sourceEventSeqs": array(number()).readonly().optional(),
|
|
7505
|
-
"surfaceOp": union([literal("append"), object({
|
|
7506
|
-
"op": literal("replace").readonly(),
|
|
7507
|
-
"start": number().readonly(),
|
|
7508
|
-
"end": number().readonly()
|
|
7509
|
-
})]).readonly().optional()
|
|
7510
|
-
}).readonly()
|
|
7511
|
-
}), object({
|
|
7512
|
-
"type": literal("snapshot").readonly(),
|
|
7513
|
-
"header": object({
|
|
7514
|
-
"version": number().readonly(),
|
|
7515
|
-
"id": intersection(string(), unknown()).readonly(),
|
|
7516
|
-
"createdAt": number().readonly(),
|
|
7517
|
-
"cwd": string().readonly().optional(),
|
|
7518
|
-
"parentSession": intersection(string(), unknown()).readonly().optional(),
|
|
7519
|
-
"seedLength": number().readonly().optional(),
|
|
7520
|
-
"origin": literal("subagent").readonly().optional(),
|
|
7521
|
-
"delegationDepth": number().readonly().optional(),
|
|
7522
|
-
"agentPreset": string().readonly().optional()
|
|
7523
|
-
}).readonly(),
|
|
7524
|
-
"cursor": number().readonly(),
|
|
7525
|
-
"records": array(union([object({
|
|
7634
|
+
const _deepseek_ai_dsh_api_session_controller_session_follow_result$schema = union([
|
|
7635
|
+
object({
|
|
7526
7636
|
"type": literal("event").readonly(),
|
|
7527
7637
|
"event": object({
|
|
7528
7638
|
"type": string().readonly(),
|
|
@@ -7538,60 +7648,288 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7538
7648
|
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
7539
7649
|
]).readonly(),
|
|
7540
7650
|
"ignorable": literal(true).readonly().optional(),
|
|
7541
|
-
"sourceEventSeqs":
|
|
7542
|
-
|
|
7543
|
-
|
|
7544
|
-
|
|
7545
|
-
|
|
7546
|
-
|
|
7651
|
+
"sourceEventSeqs": union([
|
|
7652
|
+
literal(null),
|
|
7653
|
+
string(),
|
|
7654
|
+
number(),
|
|
7655
|
+
literal(false),
|
|
7656
|
+
literal(true),
|
|
7657
|
+
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
7658
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
7659
|
+
]).readonly().optional(),
|
|
7660
|
+
"surfaceOp": union([
|
|
7661
|
+
literal(null),
|
|
7662
|
+
string(),
|
|
7663
|
+
number(),
|
|
7664
|
+
literal(false),
|
|
7665
|
+
literal(true),
|
|
7666
|
+
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
7667
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
7668
|
+
]).readonly().optional()
|
|
7547
7669
|
}).readonly()
|
|
7548
|
-
}),
|
|
7549
|
-
|
|
7550
|
-
"
|
|
7551
|
-
|
|
7552
|
-
|
|
7670
|
+
}),
|
|
7671
|
+
object({
|
|
7672
|
+
"type": literal("snapshot").readonly(),
|
|
7673
|
+
"header": object({
|
|
7674
|
+
"version": number().readonly(),
|
|
7675
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
7676
|
+
"createdAt": number().readonly(),
|
|
7677
|
+
"cwd": string().readonly().optional(),
|
|
7678
|
+
"parentSession": intersection(string(), unknown()).readonly().optional(),
|
|
7679
|
+
"isSeeded": boolean().readonly(),
|
|
7680
|
+
"origin": literal("subagent").readonly().optional(),
|
|
7681
|
+
"delegationDepth": number().readonly().optional(),
|
|
7682
|
+
"agentPreset": string().readonly().optional()
|
|
7683
|
+
}).readonly(),
|
|
7684
|
+
"cursor": number().readonly(),
|
|
7685
|
+
"records": array(object({
|
|
7686
|
+
"type": literal("event").readonly(),
|
|
7687
|
+
"event": object({
|
|
7688
|
+
"type": string().readonly(),
|
|
7553
7689
|
"seq": number().readonly(),
|
|
7554
7690
|
"time": number().readonly(),
|
|
7555
|
-
"data":
|
|
7556
|
-
|
|
7557
|
-
|
|
7558
|
-
|
|
7559
|
-
|
|
7560
|
-
|
|
7561
|
-
|
|
7691
|
+
"data": union([
|
|
7692
|
+
literal(null),
|
|
7693
|
+
string(),
|
|
7694
|
+
number(),
|
|
7695
|
+
literal(false),
|
|
7696
|
+
literal(true),
|
|
7697
|
+
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
7698
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
7699
|
+
]).readonly(),
|
|
7700
|
+
"ignorable": literal(true).readonly().optional(),
|
|
7701
|
+
"sourceEventSeqs": union([
|
|
7702
|
+
literal(null),
|
|
7703
|
+
string(),
|
|
7704
|
+
number(),
|
|
7705
|
+
literal(false),
|
|
7706
|
+
literal(true),
|
|
7707
|
+
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
7708
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
7709
|
+
]).readonly().optional(),
|
|
7710
|
+
"surfaceOp": union([
|
|
7711
|
+
literal(null),
|
|
7712
|
+
string(),
|
|
7713
|
+
number(),
|
|
7714
|
+
literal(false),
|
|
7715
|
+
literal(true),
|
|
7716
|
+
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
7717
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
7718
|
+
]).readonly().optional()
|
|
7719
|
+
}).readonly()
|
|
7720
|
+
})).readonly(),
|
|
7721
|
+
"hasMore": boolean().readonly(),
|
|
7722
|
+
"projections": object({
|
|
7723
|
+
"asOfSeq": number().readonly(),
|
|
7724
|
+
"values": intersection(object({
|
|
7725
|
+
"inbox": object({
|
|
7726
|
+
"next-turn": array(union([
|
|
7727
|
+
literal(null),
|
|
7728
|
+
string(),
|
|
7729
|
+
number(),
|
|
7730
|
+
literal(false),
|
|
7731
|
+
literal(true),
|
|
7732
|
+
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
7733
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
7734
|
+
])).readonly(),
|
|
7735
|
+
"next-step": array(union([
|
|
7736
|
+
literal(null),
|
|
7737
|
+
string(),
|
|
7738
|
+
number(),
|
|
7739
|
+
literal(false),
|
|
7740
|
+
literal(true),
|
|
7741
|
+
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
7742
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
7743
|
+
])).readonly()
|
|
7744
|
+
}).optional(),
|
|
7745
|
+
"agentPreset": union([literal(null), string()]).optional(),
|
|
7746
|
+
"title": union([literal(null), string()]).optional(),
|
|
7747
|
+
"todos": union([literal(null), array(object({
|
|
7748
|
+
"content": string(),
|
|
7749
|
+
"status": union([
|
|
7750
|
+
literal("pending"),
|
|
7751
|
+
literal("in_progress"),
|
|
7752
|
+
literal("completed")
|
|
7753
|
+
])
|
|
7754
|
+
}))]).optional(),
|
|
7755
|
+
"sessionListMetadata": object({
|
|
7756
|
+
"blank": boolean().readonly(),
|
|
7757
|
+
"lastPromptAt": union([literal(null), number()]).readonly()
|
|
7758
|
+
}).optional(),
|
|
7759
|
+
"imageLimits": object({
|
|
7760
|
+
"maxImageBytes": number(),
|
|
7761
|
+
"maxImagesPerMessage": number(),
|
|
7762
|
+
"maxMessageImageBytes": number(),
|
|
7763
|
+
"maxImagePixels": number(),
|
|
7764
|
+
"maxImageDimension": number(),
|
|
7765
|
+
"mediaTypes": array(union([
|
|
7766
|
+
literal("image/png"),
|
|
7767
|
+
literal("image/jpeg"),
|
|
7768
|
+
literal("image/webp"),
|
|
7769
|
+
literal("image/gif")
|
|
7770
|
+
]))
|
|
7771
|
+
}).optional(),
|
|
7772
|
+
"modelSelection": object({
|
|
7773
|
+
"lastUsed": union([literal(null), object({
|
|
7774
|
+
"provider": string().readonly(),
|
|
7775
|
+
"model": string().readonly(),
|
|
7776
|
+
"reasoningEffort": string().readonly().optional()
|
|
7777
|
+
})]).readonly(),
|
|
7778
|
+
"next": union([literal(null), object({
|
|
7779
|
+
"provider": string().readonly(),
|
|
7780
|
+
"model": string().readonly(),
|
|
7781
|
+
"reasoningEffort": string().readonly().optional()
|
|
7782
|
+
})]).readonly()
|
|
7783
|
+
}).optional(),
|
|
7784
|
+
"subagentTiming": object({
|
|
7785
|
+
"settledMs": number(),
|
|
7786
|
+
"active": object({
|
|
7787
|
+
"since": number(),
|
|
7788
|
+
"through": number()
|
|
7789
|
+
}).optional()
|
|
7790
|
+
}).optional(),
|
|
7791
|
+
"subagent": union([
|
|
7792
|
+
literal(null),
|
|
7793
|
+
object({
|
|
7794
|
+
"mode": literal("one-shot"),
|
|
7795
|
+
"label": string().optional(),
|
|
7796
|
+
"seq": intersection(number(), unknown())
|
|
7797
|
+
}),
|
|
7798
|
+
object({
|
|
7799
|
+
"mode": literal("continuable"),
|
|
7800
|
+
"label": string(),
|
|
7801
|
+
"seq": intersection(number(), unknown())
|
|
7802
|
+
})
|
|
7803
|
+
]).optional(),
|
|
7804
|
+
"goal": union([literal(null), object({
|
|
7805
|
+
"goal": object({
|
|
7806
|
+
"objective": string().readonly(),
|
|
7807
|
+
"phase": union([
|
|
7808
|
+
literal("active"),
|
|
7809
|
+
literal("paused"),
|
|
7810
|
+
literal("blocked"),
|
|
7811
|
+
literal("complete")
|
|
7812
|
+
]).readonly(),
|
|
7813
|
+
"blockedReason": object({
|
|
7814
|
+
"code": string().readonly(),
|
|
7815
|
+
"message": string().readonly()
|
|
7816
|
+
}).readonly().optional(),
|
|
7817
|
+
"maxGoalRounds": number().readonly(),
|
|
7818
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
7819
|
+
"revision": number().readonly()
|
|
7820
|
+
}).readonly(),
|
|
7821
|
+
"roundsStarted": number().readonly(),
|
|
7822
|
+
"createdAt": number().readonly(),
|
|
7823
|
+
"updatedAt": number().readonly()
|
|
7824
|
+
})]).optional()
|
|
7825
|
+
}), record(string(), union([
|
|
7826
|
+
literal(null),
|
|
7827
|
+
string(),
|
|
7828
|
+
number(),
|
|
7829
|
+
literal(false),
|
|
7830
|
+
literal(true),
|
|
7831
|
+
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
7832
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
7833
|
+
])).readonly()).readonly()
|
|
7834
|
+
}).readonly(),
|
|
7835
|
+
"assistantStream": object({
|
|
7836
|
+
"revision": number().readonly(),
|
|
7837
|
+
"activeAttempt": object({
|
|
7838
|
+
"attemptId": intersection(string(), unknown()).readonly(),
|
|
7839
|
+
"startedAfterSeq": union([intersection(number(), unknown()), literal(-1)]).readonly(),
|
|
7840
|
+
"turn": number().readonly(),
|
|
7841
|
+
"step": number().readonly(),
|
|
7842
|
+
"nextIndex": number().readonly(),
|
|
7843
|
+
"stream": array(union([
|
|
7844
|
+
literal(null),
|
|
7845
|
+
string(),
|
|
7846
|
+
number(),
|
|
7847
|
+
literal(false),
|
|
7848
|
+
literal(true),
|
|
7849
|
+
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
7850
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
7851
|
+
])).readonly()
|
|
7852
|
+
}).readonly().optional()
|
|
7853
|
+
}).readonly().optional()
|
|
7854
|
+
}),
|
|
7855
|
+
object({
|
|
7856
|
+
"type": literal("assistant-stream").readonly(),
|
|
7857
|
+
"frame": union([
|
|
7858
|
+
object({
|
|
7859
|
+
"type": literal("start").readonly(),
|
|
7860
|
+
"attemptId": intersection(string(), unknown()).readonly(),
|
|
7861
|
+
"revision": number().readonly(),
|
|
7862
|
+
"startedAfterSeq": union([intersection(number(), unknown()), literal(-1)]).readonly(),
|
|
7863
|
+
"turn": number().readonly(),
|
|
7864
|
+
"step": number().readonly()
|
|
7562
7865
|
}),
|
|
7563
7866
|
object({
|
|
7564
|
-
"type": literal("
|
|
7565
|
-
"
|
|
7867
|
+
"type": literal("chunk").readonly(),
|
|
7868
|
+
"attemptId": intersection(string(), unknown()).readonly(),
|
|
7869
|
+
"revision": number().readonly(),
|
|
7870
|
+
"index": number().readonly(),
|
|
7566
7871
|
"time": number().readonly(),
|
|
7567
|
-
"
|
|
7568
|
-
|
|
7569
|
-
|
|
7570
|
-
|
|
7571
|
-
|
|
7572
|
-
|
|
7573
|
-
|
|
7872
|
+
"chunk": union([
|
|
7873
|
+
literal(null),
|
|
7874
|
+
string(),
|
|
7875
|
+
number(),
|
|
7876
|
+
literal(false),
|
|
7877
|
+
literal(true),
|
|
7878
|
+
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
7879
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
7880
|
+
]).readonly()
|
|
7574
7881
|
}),
|
|
7575
7882
|
object({
|
|
7576
|
-
"type": literal("
|
|
7577
|
-
"
|
|
7578
|
-
"
|
|
7579
|
-
"
|
|
7580
|
-
|
|
7581
|
-
"
|
|
7582
|
-
"
|
|
7583
|
-
"
|
|
7584
|
-
|
|
7585
|
-
"index": number(),
|
|
7586
|
-
"dt": array(number())
|
|
7587
|
-
}).readonly()
|
|
7883
|
+
"type": literal("end").readonly(),
|
|
7884
|
+
"attemptId": intersection(string(), unknown()).readonly(),
|
|
7885
|
+
"revision": number().readonly(),
|
|
7886
|
+
"index": number().readonly(),
|
|
7887
|
+
"outcome": union([object({
|
|
7888
|
+
"kind": literal("committed").readonly(),
|
|
7889
|
+
"eventType": union([literal("assistant/message"), literal("assistant/attempt")]).readonly(),
|
|
7890
|
+
"seq": number().readonly()
|
|
7891
|
+
}), object({ "kind": literal("abandoned").readonly() })]).readonly()
|
|
7588
7892
|
})
|
|
7589
7893
|
]).readonly()
|
|
7590
|
-
})
|
|
7591
|
-
|
|
7894
|
+
})
|
|
7895
|
+
]);
|
|
7896
|
+
const _deepseek_ai_dsh_api_session_controller_session_fork_parameter_0$schema = object({
|
|
7897
|
+
"sessionId": intersection(string(), unknown()).readonly(),
|
|
7898
|
+
"atSeq": number().readonly().optional()
|
|
7899
|
+
});
|
|
7900
|
+
const _deepseek_ai_dsh_api_session_controller_session_fork_result$schema = object({ "sessionId": intersection(string(), unknown()).readonly() });
|
|
7901
|
+
const _deepseek_ai_dsh_api_session_controller_session_list_parameter_0$schema = object({ "cursor": string().readonly().optional() });
|
|
7902
|
+
const _deepseek_ai_dsh_api_session_controller_session_list_result$schema = object({ "items": array(object({
|
|
7903
|
+
"sessionId": intersection(string(), unknown()).readonly(),
|
|
7904
|
+
"updatedAt": number().readonly(),
|
|
7905
|
+
"running": boolean().readonly(),
|
|
7906
|
+
"blank": boolean().readonly(),
|
|
7907
|
+
"parentSessionId": intersection(string(), unknown()).readonly().optional(),
|
|
7908
|
+
"origin": literal("subagent").readonly().optional(),
|
|
7909
|
+
"cwd": string().readonly().optional(),
|
|
7592
7910
|
"projections": object({
|
|
7593
7911
|
"asOfSeq": number().readonly(),
|
|
7594
7912
|
"values": intersection(object({
|
|
7913
|
+
"inbox": object({
|
|
7914
|
+
"next-turn": array(union([
|
|
7915
|
+
literal(null),
|
|
7916
|
+
string(),
|
|
7917
|
+
number(),
|
|
7918
|
+
literal(false),
|
|
7919
|
+
literal(true),
|
|
7920
|
+
array(lazy(() => JsonValueRemoteCodec$schema)),
|
|
7921
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema))
|
|
7922
|
+
])).readonly(),
|
|
7923
|
+
"next-step": array(union([
|
|
7924
|
+
literal(null),
|
|
7925
|
+
string(),
|
|
7926
|
+
number(),
|
|
7927
|
+
literal(false),
|
|
7928
|
+
literal(true),
|
|
7929
|
+
array(lazy(() => JsonValueRemoteCodec$schema)),
|
|
7930
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema))
|
|
7931
|
+
])).readonly()
|
|
7932
|
+
}).optional(),
|
|
7595
7933
|
"agentPreset": union([literal(null), string()]).optional(),
|
|
7596
7934
|
"title": union([literal(null), string()]).optional(),
|
|
7597
7935
|
"todos": union([literal(null), array(object({
|
|
@@ -7678,116 +8016,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7678
8016
|
number(),
|
|
7679
8017
|
literal(false),
|
|
7680
8018
|
literal(true),
|
|
7681
|
-
array(lazy(() => JsonValueRemoteCodec$
|
|
7682
|
-
record(string(), lazy(() => JsonValueRemoteCodec$
|
|
7683
|
-
])).readonly()).readonly()
|
|
7684
|
-
}).readonly()
|
|
7685
|
-
})]);
|
|
7686
|
-
const _deepseek_ai_dsh_api_session_controller_session_fork_parameter_0$schema = object({
|
|
7687
|
-
"sessionId": intersection(string(), unknown()).readonly(),
|
|
7688
|
-
"atSeq": number().readonly().optional()
|
|
7689
|
-
});
|
|
7690
|
-
const _deepseek_ai_dsh_api_session_controller_session_fork_result$schema = object({ "sessionId": intersection(string(), unknown()).readonly() });
|
|
7691
|
-
const _deepseek_ai_dsh_api_session_controller_session_list_parameter_0$schema = object({ "cursor": string().readonly().optional() });
|
|
7692
|
-
const _deepseek_ai_dsh_api_session_controller_session_list_result$schema = object({ "items": array(object({
|
|
7693
|
-
"sessionId": intersection(string(), unknown()).readonly(),
|
|
7694
|
-
"updatedAt": number().readonly(),
|
|
7695
|
-
"running": boolean().readonly(),
|
|
7696
|
-
"blank": boolean().readonly(),
|
|
7697
|
-
"parentSessionId": intersection(string(), unknown()).readonly().optional(),
|
|
7698
|
-
"origin": literal("subagent").readonly().optional(),
|
|
7699
|
-
"cwd": string().readonly().optional(),
|
|
7700
|
-
"projections": object({
|
|
7701
|
-
"asOfSeq": number().readonly(),
|
|
7702
|
-
"values": intersection(object({
|
|
7703
|
-
"agentPreset": union([literal(null), string()]).optional(),
|
|
7704
|
-
"title": union([literal(null), string()]).optional(),
|
|
7705
|
-
"todos": union([literal(null), array(object({
|
|
7706
|
-
"content": string(),
|
|
7707
|
-
"status": union([
|
|
7708
|
-
literal("pending"),
|
|
7709
|
-
literal("in_progress"),
|
|
7710
|
-
literal("completed")
|
|
7711
|
-
])
|
|
7712
|
-
}))]).optional(),
|
|
7713
|
-
"sessionListMetadata": object({
|
|
7714
|
-
"blank": boolean().readonly(),
|
|
7715
|
-
"lastPromptAt": union([literal(null), number()]).readonly()
|
|
7716
|
-
}).optional(),
|
|
7717
|
-
"imageLimits": object({
|
|
7718
|
-
"maxImageBytes": number(),
|
|
7719
|
-
"maxImagesPerMessage": number(),
|
|
7720
|
-
"maxMessageImageBytes": number(),
|
|
7721
|
-
"maxImagePixels": number(),
|
|
7722
|
-
"maxImageDimension": number(),
|
|
7723
|
-
"mediaTypes": array(union([
|
|
7724
|
-
literal("image/png"),
|
|
7725
|
-
literal("image/jpeg"),
|
|
7726
|
-
literal("image/webp"),
|
|
7727
|
-
literal("image/gif")
|
|
7728
|
-
]))
|
|
7729
|
-
}).optional(),
|
|
7730
|
-
"modelSelection": object({
|
|
7731
|
-
"lastUsed": union([literal(null), object({
|
|
7732
|
-
"provider": string().readonly(),
|
|
7733
|
-
"model": string().readonly(),
|
|
7734
|
-
"reasoningEffort": string().readonly().optional()
|
|
7735
|
-
})]).readonly(),
|
|
7736
|
-
"next": union([literal(null), object({
|
|
7737
|
-
"provider": string().readonly(),
|
|
7738
|
-
"model": string().readonly(),
|
|
7739
|
-
"reasoningEffort": string().readonly().optional()
|
|
7740
|
-
})]).readonly()
|
|
7741
|
-
}).optional(),
|
|
7742
|
-
"subagentTiming": object({
|
|
7743
|
-
"settledMs": number(),
|
|
7744
|
-
"active": object({
|
|
7745
|
-
"since": number(),
|
|
7746
|
-
"through": number()
|
|
7747
|
-
}).optional()
|
|
7748
|
-
}).optional(),
|
|
7749
|
-
"subagent": union([
|
|
7750
|
-
literal(null),
|
|
7751
|
-
object({
|
|
7752
|
-
"mode": literal("one-shot"),
|
|
7753
|
-
"label": string().optional(),
|
|
7754
|
-
"seq": intersection(number(), unknown())
|
|
7755
|
-
}),
|
|
7756
|
-
object({
|
|
7757
|
-
"mode": literal("continuable"),
|
|
7758
|
-
"label": string(),
|
|
7759
|
-
"seq": intersection(number(), unknown())
|
|
7760
|
-
})
|
|
7761
|
-
]).optional(),
|
|
7762
|
-
"goal": union([literal(null), object({
|
|
7763
|
-
"goal": object({
|
|
7764
|
-
"objective": string().readonly(),
|
|
7765
|
-
"phase": union([
|
|
7766
|
-
literal("active"),
|
|
7767
|
-
literal("paused"),
|
|
7768
|
-
literal("blocked"),
|
|
7769
|
-
literal("complete")
|
|
7770
|
-
]).readonly(),
|
|
7771
|
-
"blockedReason": object({
|
|
7772
|
-
"code": string().readonly(),
|
|
7773
|
-
"message": string().readonly()
|
|
7774
|
-
}).readonly().optional(),
|
|
7775
|
-
"maxGoalRounds": number().readonly(),
|
|
7776
|
-
"id": intersection(string(), unknown()).readonly(),
|
|
7777
|
-
"revision": number().readonly()
|
|
7778
|
-
}).readonly(),
|
|
7779
|
-
"roundsStarted": number().readonly(),
|
|
7780
|
-
"createdAt": number().readonly(),
|
|
7781
|
-
"updatedAt": number().readonly()
|
|
7782
|
-
})]).optional()
|
|
7783
|
-
}), record(string(), union([
|
|
7784
|
-
literal(null),
|
|
7785
|
-
string(),
|
|
7786
|
-
number(),
|
|
7787
|
-
literal(false),
|
|
7788
|
-
literal(true),
|
|
7789
|
-
array(lazy(() => JsonValueRemoteCodec$schema)),
|
|
7790
|
-
record(string(), lazy(() => JsonValueRemoteCodec$schema))
|
|
8019
|
+
array(lazy(() => JsonValueRemoteCodec$schema)),
|
|
8020
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema))
|
|
7791
8021
|
])).readonly()).readonly()
|
|
7792
8022
|
}).readonly().optional()
|
|
7793
8023
|
})).readonly() });
|
|
@@ -7838,7 +8068,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7838
8068
|
"maxMessages": number().readonly().optional()
|
|
7839
8069
|
});
|
|
7840
8070
|
const _deepseek_ai_dsh_api_session_controller_session_page_result$schema = object({
|
|
7841
|
-
"records": array(
|
|
8071
|
+
"records": array(object({
|
|
7842
8072
|
"type": literal("event").readonly(),
|
|
7843
8073
|
"event": object({
|
|
7844
8074
|
"type": string().readonly(),
|
|
@@ -7854,76 +8084,53 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7854
8084
|
record(string(), lazy(() => JsonValueRemoteCodec$schema2))
|
|
7855
8085
|
]).readonly(),
|
|
7856
8086
|
"ignorable": literal(true).readonly().optional(),
|
|
7857
|
-
"sourceEventSeqs":
|
|
7858
|
-
|
|
7859
|
-
|
|
7860
|
-
|
|
7861
|
-
|
|
7862
|
-
|
|
8087
|
+
"sourceEventSeqs": union([
|
|
8088
|
+
literal(null),
|
|
8089
|
+
string(),
|
|
8090
|
+
number(),
|
|
8091
|
+
literal(false),
|
|
8092
|
+
literal(true),
|
|
8093
|
+
array(lazy(() => JsonValueRemoteCodec$schema2)),
|
|
8094
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema2))
|
|
8095
|
+
]).readonly().optional(),
|
|
8096
|
+
"surfaceOp": union([
|
|
8097
|
+
literal(null),
|
|
8098
|
+
string(),
|
|
8099
|
+
number(),
|
|
8100
|
+
literal(false),
|
|
8101
|
+
literal(true),
|
|
8102
|
+
array(lazy(() => JsonValueRemoteCodec$schema2)),
|
|
8103
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema2))
|
|
8104
|
+
]).readonly().optional()
|
|
7863
8105
|
}).readonly()
|
|
7864
|
-
}),
|
|
7865
|
-
"type": literal("chunks").readonly(),
|
|
7866
|
-
"event": union([
|
|
7867
|
-
object({
|
|
7868
|
-
"type": literal("chunkrow/text-chunks").readonly(),
|
|
7869
|
-
"seq": number().readonly(),
|
|
7870
|
-
"time": number().readonly(),
|
|
7871
|
-
"data": object({
|
|
7872
|
-
"texts": array(string()),
|
|
7873
|
-
"turn": number(),
|
|
7874
|
-
"step": number(),
|
|
7875
|
-
"index": number(),
|
|
7876
|
-
"dt": array(number())
|
|
7877
|
-
}).readonly()
|
|
7878
|
-
}),
|
|
7879
|
-
object({
|
|
7880
|
-
"type": literal("chunkrow/reasoning-chunks").readonly(),
|
|
7881
|
-
"seq": number().readonly(),
|
|
7882
|
-
"time": number().readonly(),
|
|
7883
|
-
"data": object({
|
|
7884
|
-
"texts": array(string()),
|
|
7885
|
-
"turn": number(),
|
|
7886
|
-
"step": number(),
|
|
7887
|
-
"index": number(),
|
|
7888
|
-
"dt": array(number())
|
|
7889
|
-
}).readonly()
|
|
7890
|
-
}),
|
|
7891
|
-
object({
|
|
7892
|
-
"type": literal("chunkrow/tool-call-chunks").readonly(),
|
|
7893
|
-
"seq": number().readonly(),
|
|
7894
|
-
"time": number().readonly(),
|
|
7895
|
-
"data": object({
|
|
7896
|
-
"id": intersection(string(), unknown()),
|
|
7897
|
-
"name": string().optional(),
|
|
7898
|
-
"args": array(string()),
|
|
7899
|
-
"turn": number(),
|
|
7900
|
-
"step": number(),
|
|
7901
|
-
"index": number(),
|
|
7902
|
-
"dt": array(number())
|
|
7903
|
-
}).readonly()
|
|
7904
|
-
})
|
|
7905
|
-
]).readonly()
|
|
7906
|
-
})])).readonly(),
|
|
8106
|
+
})).readonly(),
|
|
7907
8107
|
"hasMore": boolean().readonly()
|
|
7908
8108
|
});
|
|
7909
8109
|
const _deepseek_ai_dsh_api_session_controller_session_prompt_parameter_0$schema = object({
|
|
7910
8110
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
7911
8111
|
"sessionId": intersection(string(), unknown()).readonly(),
|
|
7912
8112
|
"mode": union([literal("queue"), literal("steer")]).readonly(),
|
|
7913
|
-
"content": array(union([
|
|
7914
|
-
|
|
7915
|
-
|
|
7916
|
-
|
|
7917
|
-
|
|
7918
|
-
|
|
7919
|
-
literal("image
|
|
7920
|
-
|
|
7921
|
-
|
|
7922
|
-
|
|
7923
|
-
|
|
7924
|
-
|
|
7925
|
-
|
|
7926
|
-
|
|
8113
|
+
"content": array(union([
|
|
8114
|
+
object({
|
|
8115
|
+
"type": literal("text").readonly(),
|
|
8116
|
+
"text": string().readonly()
|
|
8117
|
+
}),
|
|
8118
|
+
object({
|
|
8119
|
+
"type": literal("image").readonly(),
|
|
8120
|
+
"mediaType": union([
|
|
8121
|
+
literal("image/png"),
|
|
8122
|
+
literal("image/jpeg"),
|
|
8123
|
+
literal("image/webp"),
|
|
8124
|
+
literal("image/gif")
|
|
8125
|
+
]).readonly(),
|
|
8126
|
+
"data": string().readonly(),
|
|
8127
|
+
"name": string().readonly().optional()
|
|
8128
|
+
}),
|
|
8129
|
+
object({
|
|
8130
|
+
"type": literal("file").readonly(),
|
|
8131
|
+
"receiptId": intersection(string(), unknown()).readonly()
|
|
8132
|
+
})
|
|
8133
|
+
])).readonly(),
|
|
7927
8134
|
"clientTimeZone": string().readonly().optional()
|
|
7928
8135
|
});
|
|
7929
8136
|
const _deepseek_ai_dsh_api_session_controller_session_prompt_result$schema = object({ "accepted": literal(true).readonly() });
|
|
@@ -7961,6 +8168,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7961
8168
|
object({
|
|
7962
8169
|
"kind": literal("edit").readonly(),
|
|
7963
8170
|
"content": array(union([
|
|
8171
|
+
object({
|
|
8172
|
+
"type": literal("file"),
|
|
8173
|
+
"attachment": object({
|
|
8174
|
+
"attachmentId": intersection(string(), unknown()),
|
|
8175
|
+
"name": string(),
|
|
8176
|
+
"bytes": number()
|
|
8177
|
+
})
|
|
8178
|
+
}),
|
|
7964
8179
|
object({
|
|
7965
8180
|
"type": literal("text"),
|
|
7966
8181
|
"text": string()
|
|
@@ -8015,7 +8230,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8015
8230
|
"whenToUse": string().readonly().optional(),
|
|
8016
8231
|
"modelInvocable": boolean().readonly()
|
|
8017
8232
|
})).readonly() });
|
|
8018
|
-
const TYPERT_REMOTE$
|
|
8233
|
+
const TYPERT_REMOTE$2 = {
|
|
8019
8234
|
package: "@deepseek-ai/dsh-api-session-controller",
|
|
8020
8235
|
descriptors: [
|
|
8021
8236
|
{
|
|
@@ -8083,7 +8298,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8083
8298
|
},
|
|
8084
8299
|
sourceLocation: {
|
|
8085
8300
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8086
|
-
"line":
|
|
8301
|
+
"line": 342,
|
|
8087
8302
|
"column": 3
|
|
8088
8303
|
}
|
|
8089
8304
|
},
|
|
@@ -8110,7 +8325,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8110
8325
|
},
|
|
8111
8326
|
sourceLocation: {
|
|
8112
8327
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8113
|
-
"line":
|
|
8328
|
+
"line": 362,
|
|
8114
8329
|
"column": 3
|
|
8115
8330
|
}
|
|
8116
8331
|
},
|
|
@@ -8128,7 +8343,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8128
8343
|
},
|
|
8129
8344
|
sourceLocation: {
|
|
8130
8345
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8131
|
-
"line":
|
|
8346
|
+
"line": 267,
|
|
8132
8347
|
"column": 3
|
|
8133
8348
|
}
|
|
8134
8349
|
},
|
|
@@ -8148,7 +8363,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8148
8363
|
},
|
|
8149
8364
|
sourceLocation: {
|
|
8150
8365
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8151
|
-
"line":
|
|
8366
|
+
"line": 395,
|
|
8152
8367
|
"column": 3
|
|
8153
8368
|
}
|
|
8154
8369
|
},
|
|
@@ -8175,7 +8390,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8175
8390
|
},
|
|
8176
8391
|
sourceLocation: {
|
|
8177
8392
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8178
|
-
"line":
|
|
8393
|
+
"line": 239,
|
|
8179
8394
|
"column": 3
|
|
8180
8395
|
}
|
|
8181
8396
|
},
|
|
@@ -8204,7 +8419,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8204
8419
|
},
|
|
8205
8420
|
sourceLocation: {
|
|
8206
8421
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8207
|
-
"line":
|
|
8422
|
+
"line": 385,
|
|
8208
8423
|
"column": 3
|
|
8209
8424
|
}
|
|
8210
8425
|
},
|
|
@@ -8231,7 +8446,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8231
8446
|
},
|
|
8232
8447
|
sourceLocation: {
|
|
8233
8448
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8234
|
-
"line":
|
|
8449
|
+
"line": 320,
|
|
8235
8450
|
"column": 3
|
|
8236
8451
|
}
|
|
8237
8452
|
},
|
|
@@ -8259,7 +8474,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8259
8474
|
},
|
|
8260
8475
|
sourceLocation: {
|
|
8261
8476
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8262
|
-
"line":
|
|
8477
|
+
"line": 218,
|
|
8263
8478
|
"column": 9
|
|
8264
8479
|
}
|
|
8265
8480
|
},
|
|
@@ -8277,7 +8492,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8277
8492
|
},
|
|
8278
8493
|
sourceLocation: {
|
|
8279
8494
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8280
|
-
"line":
|
|
8495
|
+
"line": 258,
|
|
8281
8496
|
"column": 3
|
|
8282
8497
|
}
|
|
8283
8498
|
},
|
|
@@ -8305,7 +8520,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8305
8520
|
},
|
|
8306
8521
|
sourceLocation: {
|
|
8307
8522
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8308
|
-
"line":
|
|
8523
|
+
"line": 279,
|
|
8309
8524
|
"column": 9
|
|
8310
8525
|
}
|
|
8311
8526
|
},
|
|
@@ -8333,7 +8548,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8333
8548
|
},
|
|
8334
8549
|
sourceLocation: {
|
|
8335
8550
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8336
|
-
"line":
|
|
8551
|
+
"line": 373,
|
|
8337
8552
|
"column": 3
|
|
8338
8553
|
}
|
|
8339
8554
|
},
|
|
@@ -8361,7 +8576,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8361
8576
|
},
|
|
8362
8577
|
sourceLocation: {
|
|
8363
8578
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8364
|
-
"line":
|
|
8579
|
+
"line": 331,
|
|
8365
8580
|
"column": 3
|
|
8366
8581
|
}
|
|
8367
8582
|
},
|
|
@@ -8388,7 +8603,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8388
8603
|
},
|
|
8389
8604
|
sourceLocation: {
|
|
8390
8605
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8391
|
-
"line":
|
|
8606
|
+
"line": 310,
|
|
8392
8607
|
"column": 3
|
|
8393
8608
|
}
|
|
8394
8609
|
},
|
|
@@ -8416,7 +8631,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8416
8631
|
},
|
|
8417
8632
|
sourceLocation: {
|
|
8418
8633
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8419
|
-
"line":
|
|
8634
|
+
"line": 229,
|
|
8420
8635
|
"column": 3
|
|
8421
8636
|
}
|
|
8422
8637
|
},
|
|
@@ -8443,7 +8658,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8443
8658
|
},
|
|
8444
8659
|
sourceLocation: {
|
|
8445
8660
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8446
|
-
"line":
|
|
8661
|
+
"line": 249,
|
|
8447
8662
|
"column": 3
|
|
8448
8663
|
}
|
|
8449
8664
|
},
|
|
@@ -8470,7 +8685,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8470
8685
|
},
|
|
8471
8686
|
sourceLocation: {
|
|
8472
8687
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8473
|
-
"line":
|
|
8688
|
+
"line": 352,
|
|
8474
8689
|
"column": 3
|
|
8475
8690
|
}
|
|
8476
8691
|
},
|
|
@@ -8611,7 +8826,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8611
8826
|
"createdAt": string().readonly(),
|
|
8612
8827
|
"updatedAt": string().readonly()
|
|
8613
8828
|
}).readonly() });
|
|
8614
|
-
const TYPERT_REMOTE = {
|
|
8829
|
+
const TYPERT_REMOTE$1 = {
|
|
8615
8830
|
package: "@deepseek-ai/dsh-api-workspace-controller",
|
|
8616
8831
|
descriptors: [
|
|
8617
8832
|
{
|
|
@@ -8883,6 +9098,303 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8883
9098
|
]
|
|
8884
9099
|
};
|
|
8885
9100
|
//#endregion
|
|
9101
|
+
//#region ../workspace-files/lib/typert.remote-client.js
|
|
9102
|
+
const _deepseek_ai_dsh_api_workspace_files_workspaceFiles_changes_parameter_0$schema = intersection(string(), unknown());
|
|
9103
|
+
const _deepseek_ai_dsh_api_workspace_files_workspaceFiles_changes_result$schema = union([object({ "kind": literal("ready").readonly() }), object({
|
|
9104
|
+
"kind": literal("change").readonly(),
|
|
9105
|
+
"change": union([object({
|
|
9106
|
+
"absolutePath": string().readonly(),
|
|
9107
|
+
"version": string().readonly()
|
|
9108
|
+
}), object({
|
|
9109
|
+
"absolutePath": string().readonly(),
|
|
9110
|
+
"absent": literal(true).readonly()
|
|
9111
|
+
})]).readonly()
|
|
9112
|
+
})]);
|
|
9113
|
+
const _deepseek_ai_dsh_api_workspace_files_workspaceFiles_list_parameter_0$schema = intersection(string(), unknown());
|
|
9114
|
+
const _deepseek_ai_dsh_api_workspace_files_workspaceFiles_list_parameter_1$schema = string();
|
|
9115
|
+
const _deepseek_ai_dsh_api_workspace_files_workspaceFiles_list_result$schema = object({
|
|
9116
|
+
"path": string().readonly(),
|
|
9117
|
+
"entries": array(object({
|
|
9118
|
+
"name": string().readonly(),
|
|
9119
|
+
"type": union([
|
|
9120
|
+
literal("file"),
|
|
9121
|
+
literal("directory"),
|
|
9122
|
+
literal("other")
|
|
9123
|
+
]).readonly(),
|
|
9124
|
+
"size": number().readonly().optional()
|
|
9125
|
+
})).readonly(),
|
|
9126
|
+
"truncated": boolean().readonly()
|
|
9127
|
+
});
|
|
9128
|
+
const _deepseek_ai_dsh_api_workspace_files_workspaceFiles_read_parameter_0$schema = intersection(string(), unknown());
|
|
9129
|
+
const _deepseek_ai_dsh_api_workspace_files_workspaceFiles_read_parameter_1$schema = string();
|
|
9130
|
+
const _deepseek_ai_dsh_api_workspace_files_workspaceFiles_read_parameter_2$schema = object({
|
|
9131
|
+
"offset": number().readonly().optional(),
|
|
9132
|
+
"limit": number().readonly().optional()
|
|
9133
|
+
});
|
|
9134
|
+
const _deepseek_ai_dsh_api_workspace_files_workspaceFiles_read_result$schema = object({
|
|
9135
|
+
"offset": number().readonly(),
|
|
9136
|
+
"text": string().readonly(),
|
|
9137
|
+
"lines": number().readonly(),
|
|
9138
|
+
"eof": boolean().readonly(),
|
|
9139
|
+
"absolutePath": string().readonly(),
|
|
9140
|
+
"version": string().readonly(),
|
|
9141
|
+
"bytes": number().readonly().optional()
|
|
9142
|
+
});
|
|
9143
|
+
const _deepseek_ai_dsh_api_workspace_files_workspaceFiles_readBytes_parameter_0$schema = intersection(string(), unknown());
|
|
9144
|
+
const _deepseek_ai_dsh_api_workspace_files_workspaceFiles_readBytes_parameter_1$schema = string();
|
|
9145
|
+
const _deepseek_ai_dsh_api_workspace_files_workspaceFiles_readBytes_parameter_2$schema = object({
|
|
9146
|
+
"offset": number().readonly().optional(),
|
|
9147
|
+
"length": number().readonly().optional()
|
|
9148
|
+
});
|
|
9149
|
+
const _deepseek_ai_dsh_api_workspace_files_workspaceFiles_readBytes_result$schema = object({
|
|
9150
|
+
"offset": number().readonly(),
|
|
9151
|
+
"data": string().readonly(),
|
|
9152
|
+
"eof": boolean().readonly(),
|
|
9153
|
+
"absolutePath": string().readonly(),
|
|
9154
|
+
"version": string().readonly(),
|
|
9155
|
+
"bytes": number().readonly().optional()
|
|
9156
|
+
});
|
|
9157
|
+
const _deepseek_ai_dsh_api_workspace_files_workspaceFiles_stat_parameter_0$schema = intersection(string(), unknown());
|
|
9158
|
+
const _deepseek_ai_dsh_api_workspace_files_workspaceFiles_stat_parameter_1$schema = string();
|
|
9159
|
+
const _deepseek_ai_dsh_api_workspace_files_workspaceFiles_stat_result$schema = object({
|
|
9160
|
+
"absolutePath": string().readonly(),
|
|
9161
|
+
"version": string().readonly(),
|
|
9162
|
+
"bytes": number().readonly().optional()
|
|
9163
|
+
});
|
|
9164
|
+
const TYPERT_REMOTE = {
|
|
9165
|
+
package: "@deepseek-ai/dsh-api-workspace-files",
|
|
9166
|
+
descriptors: [
|
|
9167
|
+
{
|
|
9168
|
+
id: "@deepseek-ai/dsh-api-workspace-files#workspaceFiles/changes",
|
|
9169
|
+
service: "workspaceFiles",
|
|
9170
|
+
namespace: "workspaceFiles",
|
|
9171
|
+
method: "changes",
|
|
9172
|
+
mode: "stream",
|
|
9173
|
+
invocation: { kind: "direct" },
|
|
9174
|
+
scope: {
|
|
9175
|
+
context: "agent",
|
|
9176
|
+
wire: "agentId"
|
|
9177
|
+
},
|
|
9178
|
+
parameters: [{
|
|
9179
|
+
name: "agent",
|
|
9180
|
+
wire: "agentId",
|
|
9181
|
+
source: "lookup",
|
|
9182
|
+
lookup: "agent",
|
|
9183
|
+
codec: {
|
|
9184
|
+
mode: "strict",
|
|
9185
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
9186
|
+
schema: _deepseek_ai_dsh_api_workspace_files_workspaceFiles_changes_parameter_0$schema
|
|
9187
|
+
}
|
|
9188
|
+
}],
|
|
9189
|
+
cancellation: { parameter: "signal" },
|
|
9190
|
+
result: {
|
|
9191
|
+
mode: "strict",
|
|
9192
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-files/types#WorkspaceFileWatchFrame",
|
|
9193
|
+
schema: _deepseek_ai_dsh_api_workspace_files_workspaceFiles_changes_result$schema
|
|
9194
|
+
},
|
|
9195
|
+
sourceLocation: {
|
|
9196
|
+
"file": "packages/api/workspace-files/src/index.ts",
|
|
9197
|
+
"line": 274,
|
|
9198
|
+
"column": 3
|
|
9199
|
+
}
|
|
9200
|
+
},
|
|
9201
|
+
{
|
|
9202
|
+
id: "@deepseek-ai/dsh-api-workspace-files#workspaceFiles/list",
|
|
9203
|
+
service: "workspaceFiles",
|
|
9204
|
+
namespace: "workspaceFiles",
|
|
9205
|
+
method: "list",
|
|
9206
|
+
invocation: { kind: "direct" },
|
|
9207
|
+
scope: {
|
|
9208
|
+
context: "agent",
|
|
9209
|
+
wire: "agentId"
|
|
9210
|
+
},
|
|
9211
|
+
parameters: [{
|
|
9212
|
+
name: "agent",
|
|
9213
|
+
wire: "agentId",
|
|
9214
|
+
source: "lookup",
|
|
9215
|
+
lookup: "agent",
|
|
9216
|
+
codec: {
|
|
9217
|
+
mode: "strict",
|
|
9218
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
9219
|
+
schema: _deepseek_ai_dsh_api_workspace_files_workspaceFiles_list_parameter_0$schema
|
|
9220
|
+
}
|
|
9221
|
+
}, {
|
|
9222
|
+
name: "path",
|
|
9223
|
+
wire: "path",
|
|
9224
|
+
source: "json",
|
|
9225
|
+
codec: {
|
|
9226
|
+
mode: "strict",
|
|
9227
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-files#workspaceFiles/list:path",
|
|
9228
|
+
schema: _deepseek_ai_dsh_api_workspace_files_workspaceFiles_list_parameter_1$schema
|
|
9229
|
+
}
|
|
9230
|
+
}],
|
|
9231
|
+
cancellation: { parameter: "signal" },
|
|
9232
|
+
result: {
|
|
9233
|
+
mode: "strict",
|
|
9234
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-files/types#WorkspaceDirectoryListing",
|
|
9235
|
+
schema: _deepseek_ai_dsh_api_workspace_files_workspaceFiles_list_result$schema
|
|
9236
|
+
},
|
|
9237
|
+
sourceLocation: {
|
|
9238
|
+
"file": "packages/api/workspace-files/src/index.ts",
|
|
9239
|
+
"line": 246,
|
|
9240
|
+
"column": 9
|
|
9241
|
+
}
|
|
9242
|
+
},
|
|
9243
|
+
{
|
|
9244
|
+
id: "@deepseek-ai/dsh-api-workspace-files#workspaceFiles/read",
|
|
9245
|
+
service: "workspaceFiles",
|
|
9246
|
+
namespace: "workspaceFiles",
|
|
9247
|
+
method: "read",
|
|
9248
|
+
invocation: { kind: "direct" },
|
|
9249
|
+
scope: {
|
|
9250
|
+
context: "agent",
|
|
9251
|
+
wire: "agentId"
|
|
9252
|
+
},
|
|
9253
|
+
parameters: [
|
|
9254
|
+
{
|
|
9255
|
+
name: "agent",
|
|
9256
|
+
wire: "agentId",
|
|
9257
|
+
source: "lookup",
|
|
9258
|
+
lookup: "agent",
|
|
9259
|
+
codec: {
|
|
9260
|
+
mode: "strict",
|
|
9261
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
9262
|
+
schema: _deepseek_ai_dsh_api_workspace_files_workspaceFiles_read_parameter_0$schema
|
|
9263
|
+
}
|
|
9264
|
+
},
|
|
9265
|
+
{
|
|
9266
|
+
name: "path",
|
|
9267
|
+
wire: "path",
|
|
9268
|
+
source: "json",
|
|
9269
|
+
codec: {
|
|
9270
|
+
mode: "strict",
|
|
9271
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-files#workspaceFiles/read:path",
|
|
9272
|
+
schema: _deepseek_ai_dsh_api_workspace_files_workspaceFiles_read_parameter_1$schema
|
|
9273
|
+
}
|
|
9274
|
+
},
|
|
9275
|
+
{
|
|
9276
|
+
name: "range",
|
|
9277
|
+
wire: "range",
|
|
9278
|
+
source: "json",
|
|
9279
|
+
codec: {
|
|
9280
|
+
mode: "strict",
|
|
9281
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-files/types#WorkspaceFileRange",
|
|
9282
|
+
schema: _deepseek_ai_dsh_api_workspace_files_workspaceFiles_read_parameter_2$schema
|
|
9283
|
+
}
|
|
9284
|
+
}
|
|
9285
|
+
],
|
|
9286
|
+
cancellation: { parameter: "signal" },
|
|
9287
|
+
result: {
|
|
9288
|
+
mode: "strict",
|
|
9289
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-files/types#WorkspaceFileText",
|
|
9290
|
+
schema: _deepseek_ai_dsh_api_workspace_files_workspaceFiles_read_result$schema
|
|
9291
|
+
},
|
|
9292
|
+
sourceLocation: {
|
|
9293
|
+
"file": "packages/api/workspace-files/src/index.ts",
|
|
9294
|
+
"line": 197,
|
|
9295
|
+
"column": 9
|
|
9296
|
+
}
|
|
9297
|
+
},
|
|
9298
|
+
{
|
|
9299
|
+
id: "@deepseek-ai/dsh-api-workspace-files#workspaceFiles/readBytes",
|
|
9300
|
+
service: "workspaceFiles",
|
|
9301
|
+
namespace: "workspaceFiles",
|
|
9302
|
+
method: "readBytes",
|
|
9303
|
+
invocation: { kind: "direct" },
|
|
9304
|
+
scope: {
|
|
9305
|
+
context: "agent",
|
|
9306
|
+
wire: "agentId"
|
|
9307
|
+
},
|
|
9308
|
+
parameters: [
|
|
9309
|
+
{
|
|
9310
|
+
name: "agent",
|
|
9311
|
+
wire: "agentId",
|
|
9312
|
+
source: "lookup",
|
|
9313
|
+
lookup: "agent",
|
|
9314
|
+
codec: {
|
|
9315
|
+
mode: "strict",
|
|
9316
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
9317
|
+
schema: _deepseek_ai_dsh_api_workspace_files_workspaceFiles_readBytes_parameter_0$schema
|
|
9318
|
+
}
|
|
9319
|
+
},
|
|
9320
|
+
{
|
|
9321
|
+
name: "path",
|
|
9322
|
+
wire: "path",
|
|
9323
|
+
source: "json",
|
|
9324
|
+
codec: {
|
|
9325
|
+
mode: "strict",
|
|
9326
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-files#workspaceFiles/readBytes:path",
|
|
9327
|
+
schema: _deepseek_ai_dsh_api_workspace_files_workspaceFiles_readBytes_parameter_1$schema
|
|
9328
|
+
}
|
|
9329
|
+
},
|
|
9330
|
+
{
|
|
9331
|
+
name: "range",
|
|
9332
|
+
wire: "range",
|
|
9333
|
+
source: "json",
|
|
9334
|
+
codec: {
|
|
9335
|
+
mode: "strict",
|
|
9336
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-files/types#WorkspaceByteRange",
|
|
9337
|
+
schema: _deepseek_ai_dsh_api_workspace_files_workspaceFiles_readBytes_parameter_2$schema
|
|
9338
|
+
}
|
|
9339
|
+
}
|
|
9340
|
+
],
|
|
9341
|
+
cancellation: { parameter: "signal" },
|
|
9342
|
+
result: {
|
|
9343
|
+
mode: "strict",
|
|
9344
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-files/types#WorkspaceFileBytes",
|
|
9345
|
+
schema: _deepseek_ai_dsh_api_workspace_files_workspaceFiles_readBytes_result$schema
|
|
9346
|
+
},
|
|
9347
|
+
sourceLocation: {
|
|
9348
|
+
"file": "packages/api/workspace-files/src/index.ts",
|
|
9349
|
+
"line": 217,
|
|
9350
|
+
"column": 9
|
|
9351
|
+
}
|
|
9352
|
+
},
|
|
9353
|
+
{
|
|
9354
|
+
id: "@deepseek-ai/dsh-api-workspace-files#workspaceFiles/stat",
|
|
9355
|
+
service: "workspaceFiles",
|
|
9356
|
+
namespace: "workspaceFiles",
|
|
9357
|
+
method: "stat",
|
|
9358
|
+
invocation: { kind: "direct" },
|
|
9359
|
+
scope: {
|
|
9360
|
+
context: "agent",
|
|
9361
|
+
wire: "agentId"
|
|
9362
|
+
},
|
|
9363
|
+
parameters: [{
|
|
9364
|
+
name: "agent",
|
|
9365
|
+
wire: "agentId",
|
|
9366
|
+
source: "lookup",
|
|
9367
|
+
lookup: "agent",
|
|
9368
|
+
codec: {
|
|
9369
|
+
mode: "strict",
|
|
9370
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
9371
|
+
schema: _deepseek_ai_dsh_api_workspace_files_workspaceFiles_stat_parameter_0$schema
|
|
9372
|
+
}
|
|
9373
|
+
}, {
|
|
9374
|
+
name: "path",
|
|
9375
|
+
wire: "path",
|
|
9376
|
+
source: "json",
|
|
9377
|
+
codec: {
|
|
9378
|
+
mode: "strict",
|
|
9379
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-files#workspaceFiles/stat:path",
|
|
9380
|
+
schema: _deepseek_ai_dsh_api_workspace_files_workspaceFiles_stat_parameter_1$schema
|
|
9381
|
+
}
|
|
9382
|
+
}],
|
|
9383
|
+
cancellation: { parameter: "signal" },
|
|
9384
|
+
result: {
|
|
9385
|
+
mode: "strict",
|
|
9386
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-files/types#WorkspaceFileStat",
|
|
9387
|
+
schema: _deepseek_ai_dsh_api_workspace_files_workspaceFiles_stat_result$schema
|
|
9388
|
+
},
|
|
9389
|
+
sourceLocation: {
|
|
9390
|
+
"file": "packages/api/workspace-files/src/index.ts",
|
|
9391
|
+
"line": 233,
|
|
9392
|
+
"column": 9
|
|
9393
|
+
}
|
|
9394
|
+
}
|
|
9395
|
+
]
|
|
9396
|
+
};
|
|
9397
|
+
//#endregion
|
|
8886
9398
|
//#region lib/types/client/index.js
|
|
8887
9399
|
/** Platform-neutral assembly of generated Host Remote contributions. */
|
|
8888
9400
|
/** Required service: the typed Client Remote contribution mount. */
|
|
@@ -8896,6 +9408,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8896
9408
|
const disposers = [];
|
|
8897
9409
|
try {
|
|
8898
9410
|
for (const contribution of [
|
|
9411
|
+
TYPERT_REMOTE$13,
|
|
9412
|
+
TYPERT_REMOTE$12,
|
|
8899
9413
|
TYPERT_REMOTE$11,
|
|
8900
9414
|
TYPERT_REMOTE$10,
|
|
8901
9415
|
TYPERT_REMOTE$9,
|