@deepseek-ai/dsh-api-remotes 0.1.2-alpha.5 → 0.1.3-alpha.2
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 +335 -268
- package/lib/types/client/index.d.ts +1 -0
- package/lib/types/client/index.js +2 -1
- package/package.json +28 -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$12 = {
|
|
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$11 = {
|
|
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$10 = {
|
|
4940
4943
|
package: "@deepseek-ai/dsh-api-settings-controller",
|
|
4941
4944
|
descriptors: [
|
|
4942
4945
|
{
|
|
@@ -5388,7 +5391,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5388
5391
|
"id": intersection(string(), unknown()).readonly(),
|
|
5389
5392
|
"revision": number().readonly()
|
|
5390
5393
|
});
|
|
5391
|
-
const TYPERT_REMOTE$
|
|
5394
|
+
const TYPERT_REMOTE$9 = {
|
|
5392
5395
|
package: "@deepseek-ai/dsh-goal",
|
|
5393
5396
|
descriptors: [
|
|
5394
5397
|
{
|
|
@@ -5679,7 +5682,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5679
5682
|
"id": string(),
|
|
5680
5683
|
"name": string()
|
|
5681
5684
|
}));
|
|
5682
|
-
const TYPERT_REMOTE$
|
|
5685
|
+
const TYPERT_REMOTE$8 = {
|
|
5683
5686
|
package: "@deepseek-ai/dsh-llm",
|
|
5684
5687
|
descriptors: [
|
|
5685
5688
|
{
|
|
@@ -5716,7 +5719,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5716
5719
|
},
|
|
5717
5720
|
sourceLocation: {
|
|
5718
5721
|
"file": "packages/llm/llm/src/index.ts",
|
|
5719
|
-
"line":
|
|
5722
|
+
"line": 625,
|
|
5720
5723
|
"column": 9
|
|
5721
5724
|
}
|
|
5722
5725
|
},
|
|
@@ -5734,7 +5737,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5734
5737
|
},
|
|
5735
5738
|
sourceLocation: {
|
|
5736
5739
|
"file": "packages/llm/llm/src/index.ts",
|
|
5737
|
-
"line":
|
|
5740
|
+
"line": 538,
|
|
5738
5741
|
"column": 3
|
|
5739
5742
|
}
|
|
5740
5743
|
},
|
|
@@ -5752,7 +5755,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5752
5755
|
},
|
|
5753
5756
|
sourceLocation: {
|
|
5754
5757
|
"file": "packages/llm/llm/src/index.ts",
|
|
5755
|
-
"line":
|
|
5758
|
+
"line": 466,
|
|
5756
5759
|
"column": 3
|
|
5757
5760
|
}
|
|
5758
5761
|
}
|
|
@@ -6086,7 +6089,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6086
6089
|
"reason": literal("plugin-missing"),
|
|
6087
6090
|
"message": string()
|
|
6088
6091
|
})]);
|
|
6089
|
-
const TYPERT_REMOTE$
|
|
6092
|
+
const TYPERT_REMOTE$7 = {
|
|
6090
6093
|
package: "@deepseek-ai/dsh-cordis-host-runner",
|
|
6091
6094
|
descriptors: [
|
|
6092
6095
|
{
|
|
@@ -6687,7 +6690,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6687
6690
|
}
|
|
6688
6691
|
]
|
|
6689
6692
|
};
|
|
6690
|
-
const TYPERT_REMOTE$
|
|
6693
|
+
const TYPERT_REMOTE$6 = {
|
|
6691
6694
|
package: "@deepseek-ai/dsh-host-plugin-inventory",
|
|
6692
6695
|
descriptors: [{
|
|
6693
6696
|
id: "@deepseek-ai/dsh-host-plugin-inventory#pluginInventory/list",
|
|
@@ -6840,7 +6843,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6840
6843
|
})
|
|
6841
6844
|
]).readonly()
|
|
6842
6845
|
})]);
|
|
6843
|
-
const TYPERT_REMOTE$
|
|
6846
|
+
const TYPERT_REMOTE$5 = {
|
|
6844
6847
|
package: "@deepseek-ai/dsh-message-feedback",
|
|
6845
6848
|
descriptors: [
|
|
6846
6849
|
{
|
|
@@ -6866,7 +6869,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6866
6869
|
},
|
|
6867
6870
|
sourceLocation: {
|
|
6868
6871
|
"file": "packages/feedback/message-feedback/src/index.ts",
|
|
6869
|
-
"line":
|
|
6872
|
+
"line": 203,
|
|
6870
6873
|
"column": 3
|
|
6871
6874
|
}
|
|
6872
6875
|
},
|
|
@@ -6893,8 +6896,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6893
6896
|
},
|
|
6894
6897
|
sourceLocation: {
|
|
6895
6898
|
"file": "packages/feedback/message-feedback/src/index.ts",
|
|
6896
|
-
"line":
|
|
6897
|
-
"column":
|
|
6899
|
+
"line": 153,
|
|
6900
|
+
"column": 3
|
|
6898
6901
|
}
|
|
6899
6902
|
},
|
|
6900
6903
|
{
|
|
@@ -6920,13 +6923,73 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6920
6923
|
},
|
|
6921
6924
|
sourceLocation: {
|
|
6922
6925
|
"file": "packages/feedback/message-feedback/src/index.ts",
|
|
6923
|
-
"line":
|
|
6926
|
+
"line": 165,
|
|
6924
6927
|
"column": 3
|
|
6925
6928
|
}
|
|
6926
6929
|
}
|
|
6927
6930
|
]
|
|
6928
6931
|
};
|
|
6929
6932
|
//#endregion
|
|
6933
|
+
//#region ../../client/file-upload/lib/typert.remote-client.js
|
|
6934
|
+
const _deepseek_ai_dsh_client_file_upload_fileUploads_upload_parameter_0$schema = intersection(string(), unknown());
|
|
6935
|
+
const _deepseek_ai_dsh_client_file_upload_fileUploads_upload_parameter_1$schema = object({
|
|
6936
|
+
"data": string().readonly(),
|
|
6937
|
+
"name": string().readonly().optional()
|
|
6938
|
+
});
|
|
6939
|
+
const _deepseek_ai_dsh_client_file_upload_fileUploads_upload_result$schema = object({
|
|
6940
|
+
"receiptId": intersection(string(), unknown()).readonly(),
|
|
6941
|
+
"file": object({
|
|
6942
|
+
"attachmentId": intersection(string(), unknown()),
|
|
6943
|
+
"name": string(),
|
|
6944
|
+
"bytes": number()
|
|
6945
|
+
}).readonly()
|
|
6946
|
+
});
|
|
6947
|
+
const TYPERT_REMOTE$4 = {
|
|
6948
|
+
package: "@deepseek-ai/dsh-client-file-upload",
|
|
6949
|
+
descriptors: [{
|
|
6950
|
+
id: "@deepseek-ai/dsh-client-file-upload#fileUploads/upload",
|
|
6951
|
+
service: "fileUploads",
|
|
6952
|
+
namespace: "fileUploads",
|
|
6953
|
+
method: "upload",
|
|
6954
|
+
invocation: { kind: "direct" },
|
|
6955
|
+
scope: {
|
|
6956
|
+
context: "agent",
|
|
6957
|
+
wire: "agentId"
|
|
6958
|
+
},
|
|
6959
|
+
parameters: [{
|
|
6960
|
+
name: "agent",
|
|
6961
|
+
wire: "agentId",
|
|
6962
|
+
source: "lookup",
|
|
6963
|
+
lookup: "agent",
|
|
6964
|
+
codec: {
|
|
6965
|
+
mode: "strict",
|
|
6966
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
6967
|
+
schema: _deepseek_ai_dsh_client_file_upload_fileUploads_upload_parameter_0$schema
|
|
6968
|
+
}
|
|
6969
|
+
}, {
|
|
6970
|
+
name: "request",
|
|
6971
|
+
wire: "request",
|
|
6972
|
+
source: "json",
|
|
6973
|
+
codec: {
|
|
6974
|
+
mode: "strict",
|
|
6975
|
+
typeSymbol: "@deepseek-ai/dsh-client-file-upload/types#EncodedFileUploadRequest",
|
|
6976
|
+
schema: _deepseek_ai_dsh_client_file_upload_fileUploads_upload_parameter_1$schema
|
|
6977
|
+
}
|
|
6978
|
+
}],
|
|
6979
|
+
cancellation: { parameter: "signal" },
|
|
6980
|
+
result: {
|
|
6981
|
+
mode: "strict",
|
|
6982
|
+
typeSymbol: "@deepseek-ai/dsh-client-file-upload/types#FileUploadValue",
|
|
6983
|
+
schema: _deepseek_ai_dsh_client_file_upload_fileUploads_upload_result$schema
|
|
6984
|
+
},
|
|
6985
|
+
sourceLocation: {
|
|
6986
|
+
"file": "packages/client/file-upload/src/index.ts",
|
|
6987
|
+
"line": 106,
|
|
6988
|
+
"column": 3
|
|
6989
|
+
}
|
|
6990
|
+
}]
|
|
6991
|
+
};
|
|
6992
|
+
//#endregion
|
|
6930
6993
|
//#region ../../context/session-reference/lib/typert.remote-client.js
|
|
6931
6994
|
const _deepseek_ai_dsh_session_reference_sessionReferenceResolver_candidates_parameter_0$schema = intersection(string(), unknown());
|
|
6932
6995
|
const _deepseek_ai_dsh_session_reference_sessionReferenceResolver_candidates_parameter_1$schema = string();
|
|
@@ -6979,7 +7042,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6979
7042
|
},
|
|
6980
7043
|
sourceLocation: {
|
|
6981
7044
|
"file": "packages/context/session-reference/src/index.ts",
|
|
6982
|
-
"line":
|
|
7045
|
+
"line": 274,
|
|
6983
7046
|
"column": 9
|
|
6984
7047
|
}
|
|
6985
7048
|
}]
|
|
@@ -7028,6 +7091,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7028
7091
|
"parentSessionId": intersection(string(), unknown()).readonly(),
|
|
7029
7092
|
"childSessionId": intersection(string(), unknown()).readonly(),
|
|
7030
7093
|
"mode": literal("continuable").readonly(),
|
|
7094
|
+
"delivery": union([literal("queue"), literal("steer")]).readonly(),
|
|
7031
7095
|
"content": array(union([object({
|
|
7032
7096
|
"type": literal("text").readonly(),
|
|
7033
7097
|
"text": string().readonly()
|
|
@@ -7093,7 +7157,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7093
7157
|
},
|
|
7094
7158
|
sourceLocation: {
|
|
7095
7159
|
"file": "packages/subagent/subagent/src/index.ts",
|
|
7096
|
-
"line":
|
|
7160
|
+
"line": 477,
|
|
7097
7161
|
"column": 3
|
|
7098
7162
|
}
|
|
7099
7163
|
},
|
|
@@ -7122,7 +7186,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7122
7186
|
},
|
|
7123
7187
|
sourceLocation: {
|
|
7124
7188
|
"file": "packages/subagent/subagent/src/index.ts",
|
|
7125
|
-
"line":
|
|
7189
|
+
"line": 383,
|
|
7126
7190
|
"column": 9
|
|
7127
7191
|
}
|
|
7128
7192
|
},
|
|
@@ -7159,6 +7223,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7159
7223
|
//#endregion
|
|
7160
7224
|
//#region ../session-controller/lib/typert.remote-client.js
|
|
7161
7225
|
const ContentBlockRemoteCodec$schema = union([
|
|
7226
|
+
object({
|
|
7227
|
+
"type": literal("file"),
|
|
7228
|
+
"attachment": object({
|
|
7229
|
+
"attachmentId": intersection(string(), unknown()),
|
|
7230
|
+
"name": string(),
|
|
7231
|
+
"bytes": number()
|
|
7232
|
+
})
|
|
7233
|
+
}),
|
|
7162
7234
|
object({
|
|
7163
7235
|
"type": literal("text"),
|
|
7164
7236
|
"text": string()
|
|
@@ -7483,46 +7555,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7483
7555
|
"childSessionId": intersection(string(), unknown()).readonly(),
|
|
7484
7556
|
"mode": union([literal("one-shot"), literal("continuable")]).readonly()
|
|
7485
7557
|
})]).readonly(),
|
|
7486
|
-
"maxMessages": number().readonly().optional()
|
|
7558
|
+
"maxMessages": number().readonly().optional(),
|
|
7559
|
+
"assistantStream": literal(true).readonly().optional()
|
|
7487
7560
|
});
|
|
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({
|
|
7561
|
+
const _deepseek_ai_dsh_api_session_controller_session_follow_result$schema = union([
|
|
7562
|
+
object({
|
|
7526
7563
|
"type": literal("event").readonly(),
|
|
7527
7564
|
"event": object({
|
|
7528
7565
|
"type": string().readonly(),
|
|
@@ -7545,144 +7582,200 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7545
7582
|
"end": number().readonly()
|
|
7546
7583
|
})]).readonly().optional()
|
|
7547
7584
|
}).readonly()
|
|
7548
|
-
}),
|
|
7549
|
-
|
|
7550
|
-
"
|
|
7551
|
-
|
|
7552
|
-
|
|
7585
|
+
}),
|
|
7586
|
+
object({
|
|
7587
|
+
"type": literal("snapshot").readonly(),
|
|
7588
|
+
"header": object({
|
|
7589
|
+
"version": number().readonly(),
|
|
7590
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
7591
|
+
"createdAt": number().readonly(),
|
|
7592
|
+
"cwd": string().readonly().optional(),
|
|
7593
|
+
"parentSession": intersection(string(), unknown()).readonly().optional(),
|
|
7594
|
+
"isSeeded": boolean().readonly(),
|
|
7595
|
+
"origin": literal("subagent").readonly().optional(),
|
|
7596
|
+
"delegationDepth": number().readonly().optional(),
|
|
7597
|
+
"agentPreset": string().readonly().optional()
|
|
7598
|
+
}).readonly(),
|
|
7599
|
+
"cursor": number().readonly(),
|
|
7600
|
+
"records": array(object({
|
|
7601
|
+
"type": literal("event").readonly(),
|
|
7602
|
+
"event": object({
|
|
7603
|
+
"type": string().readonly(),
|
|
7553
7604
|
"seq": number().readonly(),
|
|
7554
7605
|
"time": number().readonly(),
|
|
7555
|
-
"data":
|
|
7556
|
-
|
|
7557
|
-
|
|
7558
|
-
|
|
7559
|
-
|
|
7560
|
-
|
|
7561
|
-
|
|
7606
|
+
"data": union([
|
|
7607
|
+
literal(null),
|
|
7608
|
+
string(),
|
|
7609
|
+
number(),
|
|
7610
|
+
literal(false),
|
|
7611
|
+
literal(true),
|
|
7612
|
+
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
7613
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
7614
|
+
]).readonly(),
|
|
7615
|
+
"ignorable": literal(true).readonly().optional(),
|
|
7616
|
+
"sourceEventSeqs": array(number()).readonly().optional(),
|
|
7617
|
+
"surfaceOp": union([literal("append"), object({
|
|
7618
|
+
"op": literal("replace").readonly(),
|
|
7619
|
+
"start": number().readonly(),
|
|
7620
|
+
"end": number().readonly()
|
|
7621
|
+
})]).readonly().optional()
|
|
7622
|
+
}).readonly()
|
|
7623
|
+
})).readonly(),
|
|
7624
|
+
"hasMore": boolean().readonly(),
|
|
7625
|
+
"projections": object({
|
|
7626
|
+
"asOfSeq": number().readonly(),
|
|
7627
|
+
"values": intersection(object({
|
|
7628
|
+
"agentPreset": union([literal(null), string()]).optional(),
|
|
7629
|
+
"title": union([literal(null), string()]).optional(),
|
|
7630
|
+
"todos": union([literal(null), array(object({
|
|
7631
|
+
"content": string(),
|
|
7632
|
+
"status": union([
|
|
7633
|
+
literal("pending"),
|
|
7634
|
+
literal("in_progress"),
|
|
7635
|
+
literal("completed")
|
|
7636
|
+
])
|
|
7637
|
+
}))]).optional(),
|
|
7638
|
+
"sessionListMetadata": object({
|
|
7639
|
+
"blank": boolean().readonly(),
|
|
7640
|
+
"lastPromptAt": union([literal(null), number()]).readonly()
|
|
7641
|
+
}).optional(),
|
|
7642
|
+
"imageLimits": object({
|
|
7643
|
+
"maxImageBytes": number(),
|
|
7644
|
+
"maxImagesPerMessage": number(),
|
|
7645
|
+
"maxMessageImageBytes": number(),
|
|
7646
|
+
"maxImagePixels": number(),
|
|
7647
|
+
"maxImageDimension": number(),
|
|
7648
|
+
"mediaTypes": array(union([
|
|
7649
|
+
literal("image/png"),
|
|
7650
|
+
literal("image/jpeg"),
|
|
7651
|
+
literal("image/webp"),
|
|
7652
|
+
literal("image/gif")
|
|
7653
|
+
]))
|
|
7654
|
+
}).optional(),
|
|
7655
|
+
"modelSelection": object({
|
|
7656
|
+
"lastUsed": union([literal(null), object({
|
|
7657
|
+
"provider": string().readonly(),
|
|
7658
|
+
"model": string().readonly(),
|
|
7659
|
+
"reasoningEffort": string().readonly().optional()
|
|
7660
|
+
})]).readonly(),
|
|
7661
|
+
"next": union([literal(null), object({
|
|
7662
|
+
"provider": string().readonly(),
|
|
7663
|
+
"model": string().readonly(),
|
|
7664
|
+
"reasoningEffort": string().readonly().optional()
|
|
7665
|
+
})]).readonly()
|
|
7666
|
+
}).optional(),
|
|
7667
|
+
"subagentTiming": object({
|
|
7668
|
+
"settledMs": number(),
|
|
7669
|
+
"active": object({
|
|
7670
|
+
"since": number(),
|
|
7671
|
+
"through": number()
|
|
7672
|
+
}).optional()
|
|
7673
|
+
}).optional(),
|
|
7674
|
+
"subagent": union([
|
|
7675
|
+
literal(null),
|
|
7676
|
+
object({
|
|
7677
|
+
"mode": literal("one-shot"),
|
|
7678
|
+
"label": string().optional(),
|
|
7679
|
+
"seq": intersection(number(), unknown())
|
|
7680
|
+
}),
|
|
7681
|
+
object({
|
|
7682
|
+
"mode": literal("continuable"),
|
|
7683
|
+
"label": string(),
|
|
7684
|
+
"seq": intersection(number(), unknown())
|
|
7685
|
+
})
|
|
7686
|
+
]).optional(),
|
|
7687
|
+
"goal": union([literal(null), object({
|
|
7688
|
+
"goal": object({
|
|
7689
|
+
"objective": string().readonly(),
|
|
7690
|
+
"phase": union([
|
|
7691
|
+
literal("active"),
|
|
7692
|
+
literal("paused"),
|
|
7693
|
+
literal("blocked"),
|
|
7694
|
+
literal("complete")
|
|
7695
|
+
]).readonly(),
|
|
7696
|
+
"blockedReason": object({
|
|
7697
|
+
"code": string().readonly(),
|
|
7698
|
+
"message": string().readonly()
|
|
7699
|
+
}).readonly().optional(),
|
|
7700
|
+
"maxGoalRounds": number().readonly(),
|
|
7701
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
7702
|
+
"revision": number().readonly()
|
|
7703
|
+
}).readonly(),
|
|
7704
|
+
"roundsStarted": number().readonly(),
|
|
7705
|
+
"createdAt": number().readonly(),
|
|
7706
|
+
"updatedAt": number().readonly()
|
|
7707
|
+
})]).optional()
|
|
7708
|
+
}), record(string(), union([
|
|
7709
|
+
literal(null),
|
|
7710
|
+
string(),
|
|
7711
|
+
number(),
|
|
7712
|
+
literal(false),
|
|
7713
|
+
literal(true),
|
|
7714
|
+
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
7715
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
7716
|
+
])).readonly()).readonly()
|
|
7717
|
+
}).readonly(),
|
|
7718
|
+
"assistantStream": object({
|
|
7719
|
+
"revision": number().readonly(),
|
|
7720
|
+
"activeAttempt": object({
|
|
7721
|
+
"attemptId": intersection(string(), unknown()).readonly(),
|
|
7722
|
+
"startedAfterSeq": union([intersection(number(), unknown()), literal(-1)]).readonly(),
|
|
7723
|
+
"turn": number().readonly(),
|
|
7724
|
+
"step": number().readonly(),
|
|
7725
|
+
"nextIndex": number().readonly(),
|
|
7726
|
+
"stream": 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
|
+
}).readonly().optional()
|
|
7736
|
+
}).readonly().optional()
|
|
7737
|
+
}),
|
|
7738
|
+
object({
|
|
7739
|
+
"type": literal("assistant-stream").readonly(),
|
|
7740
|
+
"frame": union([
|
|
7741
|
+
object({
|
|
7742
|
+
"type": literal("start").readonly(),
|
|
7743
|
+
"attemptId": intersection(string(), unknown()).readonly(),
|
|
7744
|
+
"revision": number().readonly(),
|
|
7745
|
+
"startedAfterSeq": union([intersection(number(), unknown()), literal(-1)]).readonly(),
|
|
7746
|
+
"turn": number().readonly(),
|
|
7747
|
+
"step": number().readonly()
|
|
7562
7748
|
}),
|
|
7563
7749
|
object({
|
|
7564
|
-
"type": literal("
|
|
7565
|
-
"
|
|
7750
|
+
"type": literal("chunk").readonly(),
|
|
7751
|
+
"attemptId": intersection(string(), unknown()).readonly(),
|
|
7752
|
+
"revision": number().readonly(),
|
|
7753
|
+
"index": number().readonly(),
|
|
7566
7754
|
"time": number().readonly(),
|
|
7567
|
-
"
|
|
7568
|
-
|
|
7569
|
-
|
|
7570
|
-
|
|
7571
|
-
|
|
7572
|
-
|
|
7573
|
-
|
|
7755
|
+
"chunk": union([
|
|
7756
|
+
literal(null),
|
|
7757
|
+
string(),
|
|
7758
|
+
number(),
|
|
7759
|
+
literal(false),
|
|
7760
|
+
literal(true),
|
|
7761
|
+
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
7762
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
7763
|
+
]).readonly()
|
|
7574
7764
|
}),
|
|
7575
7765
|
object({
|
|
7576
|
-
"type": literal("
|
|
7577
|
-
"
|
|
7578
|
-
"
|
|
7579
|
-
"
|
|
7580
|
-
|
|
7581
|
-
"
|
|
7582
|
-
"
|
|
7583
|
-
"
|
|
7584
|
-
|
|
7585
|
-
"index": number(),
|
|
7586
|
-
"dt": array(number())
|
|
7587
|
-
}).readonly()
|
|
7766
|
+
"type": literal("end").readonly(),
|
|
7767
|
+
"attemptId": intersection(string(), unknown()).readonly(),
|
|
7768
|
+
"revision": number().readonly(),
|
|
7769
|
+
"index": number().readonly(),
|
|
7770
|
+
"outcome": union([object({
|
|
7771
|
+
"kind": literal("committed").readonly(),
|
|
7772
|
+
"eventType": union([literal("assistant/message"), literal("assistant/attempt")]).readonly(),
|
|
7773
|
+
"seq": number().readonly()
|
|
7774
|
+
}), object({ "kind": literal("abandoned").readonly() })]).readonly()
|
|
7588
7775
|
})
|
|
7589
7776
|
]).readonly()
|
|
7590
|
-
})
|
|
7591
|
-
|
|
7592
|
-
"projections": object({
|
|
7593
|
-
"asOfSeq": number().readonly(),
|
|
7594
|
-
"values": intersection(object({
|
|
7595
|
-
"agentPreset": union([literal(null), string()]).optional(),
|
|
7596
|
-
"title": union([literal(null), string()]).optional(),
|
|
7597
|
-
"todos": union([literal(null), array(object({
|
|
7598
|
-
"content": string(),
|
|
7599
|
-
"status": union([
|
|
7600
|
-
literal("pending"),
|
|
7601
|
-
literal("in_progress"),
|
|
7602
|
-
literal("completed")
|
|
7603
|
-
])
|
|
7604
|
-
}))]).optional(),
|
|
7605
|
-
"sessionListMetadata": object({
|
|
7606
|
-
"blank": boolean().readonly(),
|
|
7607
|
-
"lastPromptAt": union([literal(null), number()]).readonly()
|
|
7608
|
-
}).optional(),
|
|
7609
|
-
"imageLimits": object({
|
|
7610
|
-
"maxImageBytes": number(),
|
|
7611
|
-
"maxImagesPerMessage": number(),
|
|
7612
|
-
"maxMessageImageBytes": number(),
|
|
7613
|
-
"maxImagePixels": number(),
|
|
7614
|
-
"maxImageDimension": number(),
|
|
7615
|
-
"mediaTypes": array(union([
|
|
7616
|
-
literal("image/png"),
|
|
7617
|
-
literal("image/jpeg"),
|
|
7618
|
-
literal("image/webp"),
|
|
7619
|
-
literal("image/gif")
|
|
7620
|
-
]))
|
|
7621
|
-
}).optional(),
|
|
7622
|
-
"modelSelection": object({
|
|
7623
|
-
"lastUsed": union([literal(null), object({
|
|
7624
|
-
"provider": string().readonly(),
|
|
7625
|
-
"model": string().readonly(),
|
|
7626
|
-
"reasoningEffort": string().readonly().optional()
|
|
7627
|
-
})]).readonly(),
|
|
7628
|
-
"next": union([literal(null), object({
|
|
7629
|
-
"provider": string().readonly(),
|
|
7630
|
-
"model": string().readonly(),
|
|
7631
|
-
"reasoningEffort": string().readonly().optional()
|
|
7632
|
-
})]).readonly()
|
|
7633
|
-
}).optional(),
|
|
7634
|
-
"subagentTiming": object({
|
|
7635
|
-
"settledMs": number(),
|
|
7636
|
-
"active": object({
|
|
7637
|
-
"since": number(),
|
|
7638
|
-
"through": number()
|
|
7639
|
-
}).optional()
|
|
7640
|
-
}).optional(),
|
|
7641
|
-
"subagent": union([
|
|
7642
|
-
literal(null),
|
|
7643
|
-
object({
|
|
7644
|
-
"mode": literal("one-shot"),
|
|
7645
|
-
"label": string().optional(),
|
|
7646
|
-
"seq": intersection(number(), unknown())
|
|
7647
|
-
}),
|
|
7648
|
-
object({
|
|
7649
|
-
"mode": literal("continuable"),
|
|
7650
|
-
"label": string(),
|
|
7651
|
-
"seq": intersection(number(), unknown())
|
|
7652
|
-
})
|
|
7653
|
-
]).optional(),
|
|
7654
|
-
"goal": union([literal(null), object({
|
|
7655
|
-
"goal": object({
|
|
7656
|
-
"objective": string().readonly(),
|
|
7657
|
-
"phase": union([
|
|
7658
|
-
literal("active"),
|
|
7659
|
-
literal("paused"),
|
|
7660
|
-
literal("blocked"),
|
|
7661
|
-
literal("complete")
|
|
7662
|
-
]).readonly(),
|
|
7663
|
-
"blockedReason": object({
|
|
7664
|
-
"code": string().readonly(),
|
|
7665
|
-
"message": string().readonly()
|
|
7666
|
-
}).readonly().optional(),
|
|
7667
|
-
"maxGoalRounds": number().readonly(),
|
|
7668
|
-
"id": intersection(string(), unknown()).readonly(),
|
|
7669
|
-
"revision": number().readonly()
|
|
7670
|
-
}).readonly(),
|
|
7671
|
-
"roundsStarted": number().readonly(),
|
|
7672
|
-
"createdAt": number().readonly(),
|
|
7673
|
-
"updatedAt": number().readonly()
|
|
7674
|
-
})]).optional()
|
|
7675
|
-
}), record(string(), union([
|
|
7676
|
-
literal(null),
|
|
7677
|
-
string(),
|
|
7678
|
-
number(),
|
|
7679
|
-
literal(false),
|
|
7680
|
-
literal(true),
|
|
7681
|
-
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
7682
|
-
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
7683
|
-
])).readonly()).readonly()
|
|
7684
|
-
}).readonly()
|
|
7685
|
-
})]);
|
|
7777
|
+
})
|
|
7778
|
+
]);
|
|
7686
7779
|
const _deepseek_ai_dsh_api_session_controller_session_fork_parameter_0$schema = object({
|
|
7687
7780
|
"sessionId": intersection(string(), unknown()).readonly(),
|
|
7688
7781
|
"atSeq": number().readonly().optional()
|
|
@@ -7838,7 +7931,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7838
7931
|
"maxMessages": number().readonly().optional()
|
|
7839
7932
|
});
|
|
7840
7933
|
const _deepseek_ai_dsh_api_session_controller_session_page_result$schema = object({
|
|
7841
|
-
"records": array(
|
|
7934
|
+
"records": array(object({
|
|
7842
7935
|
"type": literal("event").readonly(),
|
|
7843
7936
|
"event": object({
|
|
7844
7937
|
"type": string().readonly(),
|
|
@@ -7861,69 +7954,34 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7861
7954
|
"end": number().readonly()
|
|
7862
7955
|
})]).readonly().optional()
|
|
7863
7956
|
}).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(),
|
|
7957
|
+
})).readonly(),
|
|
7907
7958
|
"hasMore": boolean().readonly()
|
|
7908
7959
|
});
|
|
7909
7960
|
const _deepseek_ai_dsh_api_session_controller_session_prompt_parameter_0$schema = object({
|
|
7910
7961
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
7911
7962
|
"sessionId": intersection(string(), unknown()).readonly(),
|
|
7912
7963
|
"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
|
-
|
|
7964
|
+
"content": array(union([
|
|
7965
|
+
object({
|
|
7966
|
+
"type": literal("text").readonly(),
|
|
7967
|
+
"text": string().readonly()
|
|
7968
|
+
}),
|
|
7969
|
+
object({
|
|
7970
|
+
"type": literal("image").readonly(),
|
|
7971
|
+
"mediaType": union([
|
|
7972
|
+
literal("image/png"),
|
|
7973
|
+
literal("image/jpeg"),
|
|
7974
|
+
literal("image/webp"),
|
|
7975
|
+
literal("image/gif")
|
|
7976
|
+
]).readonly(),
|
|
7977
|
+
"data": string().readonly(),
|
|
7978
|
+
"name": string().readonly().optional()
|
|
7979
|
+
}),
|
|
7980
|
+
object({
|
|
7981
|
+
"type": literal("file").readonly(),
|
|
7982
|
+
"receiptId": intersection(string(), unknown()).readonly()
|
|
7983
|
+
})
|
|
7984
|
+
])).readonly(),
|
|
7927
7985
|
"clientTimeZone": string().readonly().optional()
|
|
7928
7986
|
});
|
|
7929
7987
|
const _deepseek_ai_dsh_api_session_controller_session_prompt_result$schema = object({ "accepted": literal(true).readonly() });
|
|
@@ -7961,6 +8019,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7961
8019
|
object({
|
|
7962
8020
|
"kind": literal("edit").readonly(),
|
|
7963
8021
|
"content": array(union([
|
|
8022
|
+
object({
|
|
8023
|
+
"type": literal("file"),
|
|
8024
|
+
"attachment": object({
|
|
8025
|
+
"attachmentId": intersection(string(), unknown()),
|
|
8026
|
+
"name": string(),
|
|
8027
|
+
"bytes": number()
|
|
8028
|
+
})
|
|
8029
|
+
}),
|
|
7964
8030
|
object({
|
|
7965
8031
|
"type": literal("text"),
|
|
7966
8032
|
"text": string()
|
|
@@ -8083,7 +8149,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8083
8149
|
},
|
|
8084
8150
|
sourceLocation: {
|
|
8085
8151
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8086
|
-
"line":
|
|
8152
|
+
"line": 340,
|
|
8087
8153
|
"column": 3
|
|
8088
8154
|
}
|
|
8089
8155
|
},
|
|
@@ -8110,7 +8176,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8110
8176
|
},
|
|
8111
8177
|
sourceLocation: {
|
|
8112
8178
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8113
|
-
"line":
|
|
8179
|
+
"line": 360,
|
|
8114
8180
|
"column": 3
|
|
8115
8181
|
}
|
|
8116
8182
|
},
|
|
@@ -8128,7 +8194,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8128
8194
|
},
|
|
8129
8195
|
sourceLocation: {
|
|
8130
8196
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8131
|
-
"line":
|
|
8197
|
+
"line": 265,
|
|
8132
8198
|
"column": 3
|
|
8133
8199
|
}
|
|
8134
8200
|
},
|
|
@@ -8148,7 +8214,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8148
8214
|
},
|
|
8149
8215
|
sourceLocation: {
|
|
8150
8216
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8151
|
-
"line":
|
|
8217
|
+
"line": 393,
|
|
8152
8218
|
"column": 3
|
|
8153
8219
|
}
|
|
8154
8220
|
},
|
|
@@ -8175,7 +8241,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8175
8241
|
},
|
|
8176
8242
|
sourceLocation: {
|
|
8177
8243
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8178
|
-
"line":
|
|
8244
|
+
"line": 237,
|
|
8179
8245
|
"column": 3
|
|
8180
8246
|
}
|
|
8181
8247
|
},
|
|
@@ -8204,7 +8270,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8204
8270
|
},
|
|
8205
8271
|
sourceLocation: {
|
|
8206
8272
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8207
|
-
"line":
|
|
8273
|
+
"line": 383,
|
|
8208
8274
|
"column": 3
|
|
8209
8275
|
}
|
|
8210
8276
|
},
|
|
@@ -8231,7 +8297,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8231
8297
|
},
|
|
8232
8298
|
sourceLocation: {
|
|
8233
8299
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8234
|
-
"line":
|
|
8300
|
+
"line": 318,
|
|
8235
8301
|
"column": 3
|
|
8236
8302
|
}
|
|
8237
8303
|
},
|
|
@@ -8259,7 +8325,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8259
8325
|
},
|
|
8260
8326
|
sourceLocation: {
|
|
8261
8327
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8262
|
-
"line":
|
|
8328
|
+
"line": 216,
|
|
8263
8329
|
"column": 9
|
|
8264
8330
|
}
|
|
8265
8331
|
},
|
|
@@ -8277,7 +8343,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8277
8343
|
},
|
|
8278
8344
|
sourceLocation: {
|
|
8279
8345
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8280
|
-
"line":
|
|
8346
|
+
"line": 256,
|
|
8281
8347
|
"column": 3
|
|
8282
8348
|
}
|
|
8283
8349
|
},
|
|
@@ -8305,7 +8371,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8305
8371
|
},
|
|
8306
8372
|
sourceLocation: {
|
|
8307
8373
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8308
|
-
"line":
|
|
8374
|
+
"line": 277,
|
|
8309
8375
|
"column": 9
|
|
8310
8376
|
}
|
|
8311
8377
|
},
|
|
@@ -8333,7 +8399,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8333
8399
|
},
|
|
8334
8400
|
sourceLocation: {
|
|
8335
8401
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8336
|
-
"line":
|
|
8402
|
+
"line": 371,
|
|
8337
8403
|
"column": 3
|
|
8338
8404
|
}
|
|
8339
8405
|
},
|
|
@@ -8361,7 +8427,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8361
8427
|
},
|
|
8362
8428
|
sourceLocation: {
|
|
8363
8429
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8364
|
-
"line":
|
|
8430
|
+
"line": 329,
|
|
8365
8431
|
"column": 3
|
|
8366
8432
|
}
|
|
8367
8433
|
},
|
|
@@ -8388,7 +8454,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8388
8454
|
},
|
|
8389
8455
|
sourceLocation: {
|
|
8390
8456
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8391
|
-
"line":
|
|
8457
|
+
"line": 308,
|
|
8392
8458
|
"column": 3
|
|
8393
8459
|
}
|
|
8394
8460
|
},
|
|
@@ -8416,7 +8482,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8416
8482
|
},
|
|
8417
8483
|
sourceLocation: {
|
|
8418
8484
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8419
|
-
"line":
|
|
8485
|
+
"line": 227,
|
|
8420
8486
|
"column": 3
|
|
8421
8487
|
}
|
|
8422
8488
|
},
|
|
@@ -8443,7 +8509,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8443
8509
|
},
|
|
8444
8510
|
sourceLocation: {
|
|
8445
8511
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8446
|
-
"line":
|
|
8512
|
+
"line": 247,
|
|
8447
8513
|
"column": 3
|
|
8448
8514
|
}
|
|
8449
8515
|
},
|
|
@@ -8470,7 +8536,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8470
8536
|
},
|
|
8471
8537
|
sourceLocation: {
|
|
8472
8538
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8473
|
-
"line":
|
|
8539
|
+
"line": 350,
|
|
8474
8540
|
"column": 3
|
|
8475
8541
|
}
|
|
8476
8542
|
},
|
|
@@ -8896,6 +8962,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8896
8962
|
const disposers = [];
|
|
8897
8963
|
try {
|
|
8898
8964
|
for (const contribution of [
|
|
8965
|
+
TYPERT_REMOTE$12,
|
|
8899
8966
|
TYPERT_REMOTE$11,
|
|
8900
8967
|
TYPERT_REMOTE$10,
|
|
8901
8968
|
TYPERT_REMOTE$9,
|
|
@@ -10,6 +10,7 @@ export type {} from '@deepseek-ai/dsh-goal/remote';
|
|
|
10
10
|
export type {} from '@deepseek-ai/dsh-llm/remote';
|
|
11
11
|
export type {} from '@deepseek-ai/dsh-host-plugin-inventory/remote';
|
|
12
12
|
export type {} from '@deepseek-ai/dsh-message-feedback/remote';
|
|
13
|
+
export type {} from '@deepseek-ai/dsh-client-file-upload/remote';
|
|
13
14
|
export type {} from '@deepseek-ai/dsh-session-reference/remote';
|
|
14
15
|
export type {} from '@deepseek-ai/dsh-subagent/remote';
|
|
15
16
|
export type * from '@deepseek-ai/dsh-subagent/client';
|
|
@@ -7,6 +7,7 @@ import llmRemote from '@deepseek-ai/dsh-llm/remote';
|
|
|
7
7
|
import dynamicRemote from '@deepseek-ai/dsh-cordis-host-runner/remote';
|
|
8
8
|
import pluginInventoryRemote from '@deepseek-ai/dsh-host-plugin-inventory/remote';
|
|
9
9
|
import messageFeedbackRemote from '@deepseek-ai/dsh-message-feedback/remote';
|
|
10
|
+
import fileUploadsRemote from '@deepseek-ai/dsh-client-file-upload/remote';
|
|
10
11
|
import sessionReferencesRemote from '@deepseek-ai/dsh-session-reference/remote';
|
|
11
12
|
import subagentsRemote from '@deepseek-ai/dsh-subagent/remote';
|
|
12
13
|
import sessionRemote from '@deepseek-ai/dsh-api-session-controller/remote';
|
|
@@ -23,7 +24,7 @@ export async function apply(ctx) {
|
|
|
23
24
|
try {
|
|
24
25
|
for (const contribution of [
|
|
25
26
|
agentPresetsRemote, commandsRemote, settingsControllerRemote, goalsRemote, llmRemote, dynamicRemote,
|
|
26
|
-
pluginInventoryRemote, messageFeedbackRemote, sessionReferencesRemote,
|
|
27
|
+
pluginInventoryRemote, messageFeedbackRemote, fileUploadsRemote, sessionReferencesRemote,
|
|
27
28
|
subagentsRemote, sessionRemote, workspaceRemote,
|
|
28
29
|
]) {
|
|
29
30
|
disposers.push(await ctx.remote.$mount(contribution));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-api-remotes",
|
|
3
3
|
"description": "Remote BFF assembly for application-selected Host capabilities",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.3-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -46,37 +46,39 @@
|
|
|
46
46
|
"lib/types/**/*.d.ts"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@deepseek-ai/dsh-
|
|
50
|
-
"@deepseek-ai/dsh-util-values": "^0.1.
|
|
51
|
-
"@deepseek-ai/dsh-
|
|
49
|
+
"@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
|
|
50
|
+
"@deepseek-ai/dsh-util-values": "^0.1.3-alpha.2",
|
|
51
|
+
"@deepseek-ai/dsh-deque": "^0.1.3-alpha.2"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
55
|
-
"@deepseek-ai/dsh-scope": "^0.1.
|
|
55
|
+
"@deepseek-ai/dsh-scope": "^0.1.3-alpha.2"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
+
"zod": "^4.4.3",
|
|
58
59
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
59
|
-
"@deepseek-ai/dsh-
|
|
60
|
-
"@deepseek-ai/dsh-
|
|
61
|
-
"@deepseek-ai/dsh-api-settings-controller": "^0.1.
|
|
62
|
-
"@deepseek-ai/dsh-api-workspace-controller": "^0.1.
|
|
63
|
-
"@deepseek-ai/dsh-
|
|
64
|
-
"@deepseek-ai/dsh-
|
|
65
|
-
"@deepseek-ai/dsh-
|
|
66
|
-
"@deepseek-ai/dsh-file-reference": "^0.1.
|
|
67
|
-
"@deepseek-ai/dsh-host-plugin-inventory": "^0.1.
|
|
68
|
-
"@deepseek-ai/dsh-
|
|
69
|
-
"@deepseek-ai/dsh-message-feedback": "^0.1.
|
|
70
|
-
"@deepseek-ai/dsh-
|
|
71
|
-
"@deepseek-ai/dsh-
|
|
72
|
-
"@deepseek-ai/dsh-
|
|
73
|
-
"@deepseek-ai/dsh-
|
|
74
|
-
"@deepseek-ai/dsh-user-questions": "^0.1.
|
|
75
|
-
"@deepseek-ai/dsh-client-connection": "^0.1.
|
|
76
|
-
"@deepseek-ai/dsh-
|
|
77
|
-
"@deepseek-ai/dsh-
|
|
78
|
-
"@deepseek-ai/dsh-scope": "^0.1.
|
|
79
|
-
"@deepseek-ai/dsh-api-session-controller": "^0.1.
|
|
60
|
+
"@deepseek-ai/dsh-api-gateway": "^0.1.3-alpha.2",
|
|
61
|
+
"@deepseek-ai/dsh-agent-presets": "^0.1.3-alpha.2",
|
|
62
|
+
"@deepseek-ai/dsh-api-settings-controller": "^0.1.3-alpha.2",
|
|
63
|
+
"@deepseek-ai/dsh-api-workspace-controller": "^0.1.3-alpha.2",
|
|
64
|
+
"@deepseek-ai/dsh-commands": "^0.1.3-alpha.2",
|
|
65
|
+
"@deepseek-ai/dsh-cordis-host-runner": "^0.1.3-alpha.2",
|
|
66
|
+
"@deepseek-ai/dsh-credentials": "^0.1.3-alpha.2",
|
|
67
|
+
"@deepseek-ai/dsh-file-reference": "^0.1.3-alpha.2",
|
|
68
|
+
"@deepseek-ai/dsh-host-plugin-inventory": "^0.1.3-alpha.2",
|
|
69
|
+
"@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
|
|
70
|
+
"@deepseek-ai/dsh-message-feedback": "^0.1.3-alpha.2",
|
|
71
|
+
"@deepseek-ai/dsh-session-reference": "^0.1.3-alpha.2",
|
|
72
|
+
"@deepseek-ai/dsh-settings": "^0.1.3-alpha.2",
|
|
73
|
+
"@deepseek-ai/dsh-subagent": "^0.1.3-alpha.2",
|
|
74
|
+
"@deepseek-ai/dsh-user-approval": "^0.1.3-alpha.2",
|
|
75
|
+
"@deepseek-ai/dsh-user-questions": "^0.1.3-alpha.2",
|
|
76
|
+
"@deepseek-ai/dsh-client-connection": "^0.1.3-alpha.2",
|
|
77
|
+
"@deepseek-ai/dsh-goal": "^0.1.3-alpha.2",
|
|
78
|
+
"@deepseek-ai/dsh-typert-protocol": "^0.1.3-alpha.2",
|
|
79
|
+
"@deepseek-ai/dsh-scope": "^0.1.3-alpha.2",
|
|
80
|
+
"@deepseek-ai/dsh-api-session-controller": "^0.1.3-alpha.2",
|
|
81
|
+
"@deepseek-ai/dsh-client-file-upload": "^0.1.3-alpha.2"
|
|
80
82
|
},
|
|
81
83
|
"scripts": {
|
|
82
84
|
"bundle": "tsdown",
|