@deepseek-ai/dsh-api-remotes 0.1.5-rc.2 → 0.1.6-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 +5 -3
- package/README.zh.md +11 -9
- package/lib/client.js +687 -54
- package/lib/index.js +4 -0
- package/lib/types/client/index.d.ts +4 -0
- package/lib/types/client/index.js +3 -1
- package/lib/types/remote-events.d.ts +3 -0
- package/lib/types/remote-events.js +1 -0
- package/package.json +32 -30
package/lib/client.js
CHANGED
|
@@ -4321,7 +4321,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4321
4321
|
"description": string().readonly().optional(),
|
|
4322
4322
|
"broken": string().readonly().optional()
|
|
4323
4323
|
})).readonly(),
|
|
4324
|
-
"authorable": boolean().readonly()
|
|
4324
|
+
"authorable": boolean().readonly(),
|
|
4325
|
+
"modeSelectionEnabled": boolean().readonly()
|
|
4325
4326
|
});
|
|
4326
4327
|
const _deepseek_ai_dsh_agent_presets_agentPresets_read_parameter_0$schema = string();
|
|
4327
4328
|
const _deepseek_ai_dsh_agent_presets_agentPresets_read_result$schema = object({
|
|
@@ -4334,7 +4335,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4334
4335
|
const _deepseek_ai_dsh_agent_presets_agentPresets_select_parameter_0$schema = intersection(string(), unknown());
|
|
4335
4336
|
const _deepseek_ai_dsh_agent_presets_agentPresets_select_parameter_1$schema = string();
|
|
4336
4337
|
const _deepseek_ai_dsh_agent_presets_agentPresets_select_result$schema = string();
|
|
4337
|
-
const TYPERT_REMOTE$
|
|
4338
|
+
const TYPERT_REMOTE$16 = {
|
|
4338
4339
|
package: "@deepseek-ai/dsh-agent-presets",
|
|
4339
4340
|
descriptors: [
|
|
4340
4341
|
{
|
|
@@ -4384,7 +4385,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4384
4385
|
},
|
|
4385
4386
|
sourceLocation: {
|
|
4386
4387
|
"file": "packages/preset/agent-presets/src/index.ts",
|
|
4387
|
-
"line":
|
|
4388
|
+
"line": 594,
|
|
4388
4389
|
"column": 9
|
|
4389
4390
|
}
|
|
4390
4391
|
},
|
|
@@ -4412,7 +4413,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4412
4413
|
},
|
|
4413
4414
|
sourceLocation: {
|
|
4414
4415
|
"file": "packages/preset/agent-presets/src/index.ts",
|
|
4415
|
-
"line":
|
|
4416
|
+
"line": 632,
|
|
4416
4417
|
"column": 9
|
|
4417
4418
|
}
|
|
4418
4419
|
},
|
|
@@ -4431,7 +4432,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4431
4432
|
},
|
|
4432
4433
|
sourceLocation: {
|
|
4433
4434
|
"file": "packages/preset/agent-presets/src/index.ts",
|
|
4434
|
-
"line":
|
|
4435
|
+
"line": 286,
|
|
4435
4436
|
"column": 9
|
|
4436
4437
|
}
|
|
4437
4438
|
},
|
|
@@ -4459,7 +4460,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4459
4460
|
},
|
|
4460
4461
|
sourceLocation: {
|
|
4461
4462
|
"file": "packages/preset/agent-presets/src/index.ts",
|
|
4462
|
-
"line":
|
|
4463
|
+
"line": 542,
|
|
4463
4464
|
"column": 9
|
|
4464
4465
|
}
|
|
4465
4466
|
},
|
|
@@ -4500,7 +4501,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4500
4501
|
},
|
|
4501
4502
|
sourceLocation: {
|
|
4502
4503
|
"file": "packages/preset/agent-presets/src/index.ts",
|
|
4503
|
-
"line":
|
|
4504
|
+
"line": 724,
|
|
4504
4505
|
"column": 9
|
|
4505
4506
|
}
|
|
4506
4507
|
}
|
|
@@ -4536,6 +4537,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4536
4537
|
})]);
|
|
4537
4538
|
const _deepseek_ai_dsh_commands_commands_list_parameter_0$schema = intersection(string(), unknown());
|
|
4538
4539
|
const _deepseek_ai_dsh_commands_commands_list_result$schema = array(object({
|
|
4540
|
+
"definitionId": intersection(string(), unknown()).readonly().optional(),
|
|
4539
4541
|
"name": string().readonly(),
|
|
4540
4542
|
"description": string().readonly(),
|
|
4541
4543
|
"input": object({
|
|
@@ -4543,7 +4545,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4543
4545
|
"attachments": boolean().readonly().optional()
|
|
4544
4546
|
}).readonly().optional()
|
|
4545
4547
|
}));
|
|
4546
|
-
const TYPERT_REMOTE$
|
|
4548
|
+
const TYPERT_REMOTE$15 = {
|
|
4547
4549
|
package: "@deepseek-ai/dsh-commands",
|
|
4548
4550
|
descriptors: [{
|
|
4549
4551
|
id: "@deepseek-ai/dsh-commands#commands/execute",
|
|
@@ -4596,7 +4598,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4596
4598
|
},
|
|
4597
4599
|
sourceLocation: {
|
|
4598
4600
|
"file": "packages/interaction/commands/src/index.ts",
|
|
4599
|
-
"line":
|
|
4601
|
+
"line": 361,
|
|
4600
4602
|
"column": 9
|
|
4601
4603
|
}
|
|
4602
4604
|
}, {
|
|
@@ -4627,7 +4629,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4627
4629
|
},
|
|
4628
4630
|
sourceLocation: {
|
|
4629
4631
|
"file": "packages/interaction/commands/src/index.ts",
|
|
4630
|
-
"line":
|
|
4632
|
+
"line": 315,
|
|
4631
4633
|
"column": 3
|
|
4632
4634
|
}
|
|
4633
4635
|
}]
|
|
@@ -4939,7 +4941,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4939
4941
|
})),
|
|
4940
4942
|
"revision": number()
|
|
4941
4943
|
});
|
|
4942
|
-
const TYPERT_REMOTE$
|
|
4944
|
+
const TYPERT_REMOTE$14 = {
|
|
4943
4945
|
package: "@deepseek-ai/dsh-api-settings-controller",
|
|
4944
4946
|
descriptors: [
|
|
4945
4947
|
{
|
|
@@ -5412,7 +5414,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5412
5414
|
"id": intersection(string(), unknown()).readonly(),
|
|
5413
5415
|
"revision": number().readonly()
|
|
5414
5416
|
});
|
|
5415
|
-
const TYPERT_REMOTE$
|
|
5417
|
+
const TYPERT_REMOTE$13 = {
|
|
5416
5418
|
package: "@deepseek-ai/dsh-goal",
|
|
5417
5419
|
descriptors: [
|
|
5418
5420
|
{
|
|
@@ -5736,7 +5738,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5736
5738
|
"id": string(),
|
|
5737
5739
|
"name": string()
|
|
5738
5740
|
}));
|
|
5739
|
-
const TYPERT_REMOTE$
|
|
5741
|
+
const TYPERT_REMOTE$12 = {
|
|
5740
5742
|
package: "@deepseek-ai/dsh-llm",
|
|
5741
5743
|
descriptors: [
|
|
5742
5744
|
{
|
|
@@ -5773,7 +5775,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5773
5775
|
},
|
|
5774
5776
|
sourceLocation: {
|
|
5775
5777
|
"file": "packages/llm/llm/src/index.ts",
|
|
5776
|
-
"line":
|
|
5778
|
+
"line": 631,
|
|
5777
5779
|
"column": 9
|
|
5778
5780
|
}
|
|
5779
5781
|
},
|
|
@@ -5791,7 +5793,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5791
5793
|
},
|
|
5792
5794
|
sourceLocation: {
|
|
5793
5795
|
"file": "packages/llm/llm/src/index.ts",
|
|
5794
|
-
"line":
|
|
5796
|
+
"line": 544,
|
|
5795
5797
|
"column": 3
|
|
5796
5798
|
}
|
|
5797
5799
|
},
|
|
@@ -5809,7 +5811,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5809
5811
|
},
|
|
5810
5812
|
sourceLocation: {
|
|
5811
5813
|
"file": "packages/llm/llm/src/index.ts",
|
|
5812
|
-
"line":
|
|
5814
|
+
"line": 472,
|
|
5813
5815
|
"column": 3
|
|
5814
5816
|
}
|
|
5815
5817
|
}
|
|
@@ -6143,7 +6145,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6143
6145
|
"reason": literal("plugin-missing"),
|
|
6144
6146
|
"message": string()
|
|
6145
6147
|
})]);
|
|
6146
|
-
const TYPERT_REMOTE$
|
|
6148
|
+
const TYPERT_REMOTE$11 = {
|
|
6147
6149
|
package: "@deepseek-ai/dsh-cordis-host-runner",
|
|
6148
6150
|
descriptors: [
|
|
6149
6151
|
{
|
|
@@ -6744,7 +6746,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6744
6746
|
}
|
|
6745
6747
|
]
|
|
6746
6748
|
};
|
|
6747
|
-
const TYPERT_REMOTE$
|
|
6749
|
+
const TYPERT_REMOTE$10 = {
|
|
6748
6750
|
package: "@deepseek-ai/dsh-host-plugin-inventory",
|
|
6749
6751
|
descriptors: [{
|
|
6750
6752
|
id: "@deepseek-ai/dsh-host-plugin-inventory#pluginInventory/list",
|
|
@@ -6942,7 +6944,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6942
6944
|
})
|
|
6943
6945
|
]).readonly()
|
|
6944
6946
|
})]);
|
|
6945
|
-
const TYPERT_REMOTE$
|
|
6947
|
+
const TYPERT_REMOTE$9 = {
|
|
6946
6948
|
package: "@deepseek-ai/dsh-message-feedback",
|
|
6947
6949
|
descriptors: [
|
|
6948
6950
|
{
|
|
@@ -7028,6 +7030,31 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7028
7030
|
}
|
|
7029
7031
|
]
|
|
7030
7032
|
};
|
|
7033
|
+
const TYPERT_REMOTE$8 = {
|
|
7034
|
+
package: "@deepseek-ai/dsh-permission-presets",
|
|
7035
|
+
descriptors: [{
|
|
7036
|
+
id: "@deepseek-ai/dsh-permission-presets#permissionPresets/catalog",
|
|
7037
|
+
service: "permissionPresets",
|
|
7038
|
+
namespace: "permissionPresets",
|
|
7039
|
+
method: "catalog",
|
|
7040
|
+
invocation: { kind: "direct" },
|
|
7041
|
+
parameters: [],
|
|
7042
|
+
result: {
|
|
7043
|
+
mode: "strict",
|
|
7044
|
+
typeSymbol: "@deepseek-ai/dsh-permission-presets/client#PermissionCatalog",
|
|
7045
|
+
schema: object({ "options": array(object({
|
|
7046
|
+
"value": string(),
|
|
7047
|
+
"name": string(),
|
|
7048
|
+
"description": string().optional()
|
|
7049
|
+
})) })
|
|
7050
|
+
},
|
|
7051
|
+
sourceLocation: {
|
|
7052
|
+
"file": "packages/interaction/permission-presets/src/index.ts",
|
|
7053
|
+
"line": 303,
|
|
7054
|
+
"column": 3
|
|
7055
|
+
}
|
|
7056
|
+
}]
|
|
7057
|
+
};
|
|
7031
7058
|
//#endregion
|
|
7032
7059
|
//#region ../../feedback/command-feedback/lib/typert.remote-client.js
|
|
7033
7060
|
const _deepseek_ai_dsh_command_feedback_sessionFeedback_record_parameter_0$schema = object({
|
|
@@ -7053,7 +7080,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7053
7080
|
"sessionId": intersection(string(), unknown()).readonly()
|
|
7054
7081
|
}).readonly()
|
|
7055
7082
|
})]);
|
|
7056
|
-
const TYPERT_REMOTE$
|
|
7083
|
+
const TYPERT_REMOTE$7 = {
|
|
7057
7084
|
package: "@deepseek-ai/dsh-command-feedback",
|
|
7058
7085
|
descriptors: [{
|
|
7059
7086
|
id: "@deepseek-ai/dsh-command-feedback#sessionFeedback/record",
|
|
@@ -7078,7 +7105,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7078
7105
|
},
|
|
7079
7106
|
sourceLocation: {
|
|
7080
7107
|
"file": "packages/feedback/command-feedback/src/index.ts",
|
|
7081
|
-
"line":
|
|
7108
|
+
"line": 102,
|
|
7082
7109
|
"column": 3
|
|
7083
7110
|
}
|
|
7084
7111
|
}]
|
|
@@ -7098,7 +7125,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7098
7125
|
"bytes": number()
|
|
7099
7126
|
}).readonly()
|
|
7100
7127
|
});
|
|
7101
|
-
const TYPERT_REMOTE$
|
|
7128
|
+
const TYPERT_REMOTE$6 = {
|
|
7102
7129
|
package: "@deepseek-ai/dsh-client-file-upload",
|
|
7103
7130
|
descriptors: [{
|
|
7104
7131
|
id: "@deepseek-ai/dsh-client-file-upload#fileUploads/upload",
|
|
@@ -7155,7 +7182,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7155
7182
|
"sameWorkspace": boolean(),
|
|
7156
7183
|
"createdAt": number()
|
|
7157
7184
|
}));
|
|
7158
|
-
const TYPERT_REMOTE$
|
|
7185
|
+
const TYPERT_REMOTE$5 = {
|
|
7159
7186
|
package: "@deepseek-ai/dsh-session-reference",
|
|
7160
7187
|
descriptors: [{
|
|
7161
7188
|
id: "@deepseek-ai/dsh-session-reference#sessionReferenceResolver/candidates",
|
|
@@ -7263,7 +7290,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7263
7290
|
"clientTimeZone": string().readonly().optional()
|
|
7264
7291
|
});
|
|
7265
7292
|
const _deepseek_ai_dsh_subagent_subagents_prompt_result$schema = object({ "messageId": intersection(string(), unknown()).readonly() });
|
|
7266
|
-
const TYPERT_REMOTE$
|
|
7293
|
+
const TYPERT_REMOTE$4 = {
|
|
7267
7294
|
package: "@deepseek-ai/dsh-subagent",
|
|
7268
7295
|
descriptors: [
|
|
7269
7296
|
{
|
|
@@ -7407,7 +7434,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7407
7434
|
"width": number(),
|
|
7408
7435
|
"height": number()
|
|
7409
7436
|
}).optional()
|
|
7410
|
-
})
|
|
7437
|
+
}),
|
|
7438
|
+
"offloaded": literal(true).optional()
|
|
7411
7439
|
}),
|
|
7412
7440
|
object({
|
|
7413
7441
|
"type": literal("reasoning"),
|
|
@@ -7597,6 +7625,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7597
7625
|
"reasoningEffort": string().readonly().optional()
|
|
7598
7626
|
})]).readonly()
|
|
7599
7627
|
}).optional(),
|
|
7628
|
+
"permissions": object({ "currentValue": string() }).optional(),
|
|
7600
7629
|
"subagentCatalog": array(union([intersection(object({
|
|
7601
7630
|
"id": intersection(string(), unknown()).readonly(),
|
|
7602
7631
|
"createdAt": number().readonly()
|
|
@@ -7895,6 +7924,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7895
7924
|
"reasoningEffort": string().readonly().optional()
|
|
7896
7925
|
})]).readonly()
|
|
7897
7926
|
}).optional(),
|
|
7927
|
+
"permissions": object({ "currentValue": string() }).optional(),
|
|
7898
7928
|
"subagentCatalog": array(union([intersection(object({
|
|
7899
7929
|
"id": intersection(string(), unknown()).readonly(),
|
|
7900
7930
|
"createdAt": number().readonly()
|
|
@@ -8096,6 +8126,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8096
8126
|
"reasoningEffort": string().readonly().optional()
|
|
8097
8127
|
})]).readonly()
|
|
8098
8128
|
}).optional(),
|
|
8129
|
+
"permissions": object({ "currentValue": string() }).optional(),
|
|
8099
8130
|
"subagentCatalog": array(union([intersection(object({
|
|
8100
8131
|
"id": intersection(string(), unknown()).readonly(),
|
|
8101
8132
|
"createdAt": number().readonly()
|
|
@@ -8341,7 +8372,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8341
8372
|
"width": number(),
|
|
8342
8373
|
"height": number()
|
|
8343
8374
|
}).optional()
|
|
8344
|
-
})
|
|
8375
|
+
}),
|
|
8376
|
+
"offloaded": literal(true).optional()
|
|
8345
8377
|
}),
|
|
8346
8378
|
object({
|
|
8347
8379
|
"type": literal("reasoning"),
|
|
@@ -8368,12 +8400,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8368
8400
|
const _deepseek_ai_dsh_api_session_controller_session_updateQueue_result$schema = object({ "accepted": literal(true).readonly() });
|
|
8369
8401
|
const _deepseek_ai_dsh_api_session_controller_skills_list_parameter_0$schema = object({ "sessionId": intersection(string(), unknown()).readonly() });
|
|
8370
8402
|
const _deepseek_ai_dsh_api_session_controller_skills_list_result$schema = object({ "skills": array(object({
|
|
8403
|
+
"path": string().readonly().optional(),
|
|
8371
8404
|
"name": string().readonly(),
|
|
8372
8405
|
"description": string().readonly(),
|
|
8373
8406
|
"whenToUse": string().readonly().optional(),
|
|
8374
8407
|
"modelInvocable": boolean().readonly()
|
|
8375
8408
|
})).readonly() });
|
|
8376
|
-
const TYPERT_REMOTE$
|
|
8409
|
+
const TYPERT_REMOTE$3 = {
|
|
8377
8410
|
package: "@deepseek-ai/dsh-api-session-controller",
|
|
8378
8411
|
descriptors: [
|
|
8379
8412
|
{
|
|
@@ -8441,7 +8474,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8441
8474
|
},
|
|
8442
8475
|
sourceLocation: {
|
|
8443
8476
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8444
|
-
"line":
|
|
8477
|
+
"line": 358,
|
|
8445
8478
|
"column": 3
|
|
8446
8479
|
}
|
|
8447
8480
|
},
|
|
@@ -8468,7 +8501,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8468
8501
|
},
|
|
8469
8502
|
sourceLocation: {
|
|
8470
8503
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8471
|
-
"line":
|
|
8504
|
+
"line": 378,
|
|
8472
8505
|
"column": 3
|
|
8473
8506
|
}
|
|
8474
8507
|
},
|
|
@@ -8486,7 +8519,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8486
8519
|
},
|
|
8487
8520
|
sourceLocation: {
|
|
8488
8521
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8489
|
-
"line":
|
|
8522
|
+
"line": 273,
|
|
8490
8523
|
"column": 3
|
|
8491
8524
|
}
|
|
8492
8525
|
},
|
|
@@ -8506,7 +8539,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8506
8539
|
},
|
|
8507
8540
|
sourceLocation: {
|
|
8508
8541
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8509
|
-
"line":
|
|
8542
|
+
"line": 411,
|
|
8510
8543
|
"column": 3
|
|
8511
8544
|
}
|
|
8512
8545
|
},
|
|
@@ -8533,7 +8566,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8533
8566
|
},
|
|
8534
8567
|
sourceLocation: {
|
|
8535
8568
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8536
|
-
"line":
|
|
8569
|
+
"line": 245,
|
|
8537
8570
|
"column": 3
|
|
8538
8571
|
}
|
|
8539
8572
|
},
|
|
@@ -8562,7 +8595,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8562
8595
|
},
|
|
8563
8596
|
sourceLocation: {
|
|
8564
8597
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8565
|
-
"line":
|
|
8598
|
+
"line": 401,
|
|
8566
8599
|
"column": 3
|
|
8567
8600
|
}
|
|
8568
8601
|
},
|
|
@@ -8589,7 +8622,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8589
8622
|
},
|
|
8590
8623
|
sourceLocation: {
|
|
8591
8624
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8592
|
-
"line":
|
|
8625
|
+
"line": 336,
|
|
8593
8626
|
"column": 3
|
|
8594
8627
|
}
|
|
8595
8628
|
},
|
|
@@ -8617,7 +8650,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8617
8650
|
},
|
|
8618
8651
|
sourceLocation: {
|
|
8619
8652
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8620
|
-
"line":
|
|
8653
|
+
"line": 224,
|
|
8621
8654
|
"column": 9
|
|
8622
8655
|
}
|
|
8623
8656
|
},
|
|
@@ -8635,7 +8668,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8635
8668
|
},
|
|
8636
8669
|
sourceLocation: {
|
|
8637
8670
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8638
|
-
"line":
|
|
8671
|
+
"line": 264,
|
|
8639
8672
|
"column": 3
|
|
8640
8673
|
}
|
|
8641
8674
|
},
|
|
@@ -8663,7 +8696,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8663
8696
|
},
|
|
8664
8697
|
sourceLocation: {
|
|
8665
8698
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8666
|
-
"line":
|
|
8699
|
+
"line": 294,
|
|
8667
8700
|
"column": 9
|
|
8668
8701
|
}
|
|
8669
8702
|
},
|
|
@@ -8691,7 +8724,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8691
8724
|
},
|
|
8692
8725
|
sourceLocation: {
|
|
8693
8726
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8694
|
-
"line":
|
|
8727
|
+
"line": 389,
|
|
8695
8728
|
"column": 3
|
|
8696
8729
|
}
|
|
8697
8730
|
},
|
|
@@ -8719,7 +8752,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8719
8752
|
},
|
|
8720
8753
|
sourceLocation: {
|
|
8721
8754
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8722
|
-
"line":
|
|
8755
|
+
"line": 347,
|
|
8723
8756
|
"column": 3
|
|
8724
8757
|
}
|
|
8725
8758
|
},
|
|
@@ -8746,7 +8779,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8746
8779
|
},
|
|
8747
8780
|
sourceLocation: {
|
|
8748
8781
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8749
|
-
"line":
|
|
8782
|
+
"line": 326,
|
|
8750
8783
|
"column": 3
|
|
8751
8784
|
}
|
|
8752
8785
|
},
|
|
@@ -8774,7 +8807,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8774
8807
|
},
|
|
8775
8808
|
sourceLocation: {
|
|
8776
8809
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8777
|
-
"line":
|
|
8810
|
+
"line": 235,
|
|
8778
8811
|
"column": 3
|
|
8779
8812
|
}
|
|
8780
8813
|
},
|
|
@@ -8801,7 +8834,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8801
8834
|
},
|
|
8802
8835
|
sourceLocation: {
|
|
8803
8836
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8804
|
-
"line":
|
|
8837
|
+
"line": 255,
|
|
8805
8838
|
"column": 3
|
|
8806
8839
|
}
|
|
8807
8840
|
},
|
|
@@ -8828,7 +8861,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8828
8861
|
},
|
|
8829
8862
|
sourceLocation: {
|
|
8830
8863
|
"file": "packages/api/session-controller/src/index.ts",
|
|
8831
|
-
"line":
|
|
8864
|
+
"line": 368,
|
|
8832
8865
|
"column": 3
|
|
8833
8866
|
}
|
|
8834
8867
|
},
|
|
@@ -8969,7 +9002,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8969
9002
|
"createdAt": string().readonly(),
|
|
8970
9003
|
"updatedAt": string().readonly()
|
|
8971
9004
|
}).readonly() });
|
|
8972
|
-
const
|
|
9005
|
+
const _deepseek_ai_dsh_api_workspace_controller_workspace_unarchiveSession_parameter_0$schema = object({ "sessionId": intersection(string(), unknown()).readonly() });
|
|
9006
|
+
const _deepseek_ai_dsh_api_workspace_controller_workspace_unarchiveSession_result$schema = object({ "archivedSessionIds": array(intersection(string(), unknown())).readonly() });
|
|
9007
|
+
const TYPERT_REMOTE$2 = {
|
|
8973
9008
|
package: "@deepseek-ai/dsh-api-workspace-controller",
|
|
8974
9009
|
descriptors: [
|
|
8975
9010
|
{
|
|
@@ -9079,7 +9114,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9079
9114
|
},
|
|
9080
9115
|
sourceLocation: {
|
|
9081
9116
|
"file": "packages/api/workspace-controller/src/index.ts",
|
|
9082
|
-
"line":
|
|
9117
|
+
"line": 109,
|
|
9083
9118
|
"column": 3
|
|
9084
9119
|
}
|
|
9085
9120
|
},
|
|
@@ -9106,7 +9141,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9106
9141
|
},
|
|
9107
9142
|
sourceLocation: {
|
|
9108
9143
|
"file": "packages/api/workspace-controller/src/index.ts",
|
|
9109
|
-
"line":
|
|
9144
|
+
"line": 59,
|
|
9110
9145
|
"column": 3
|
|
9111
9146
|
}
|
|
9112
9147
|
},
|
|
@@ -9133,7 +9168,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9133
9168
|
},
|
|
9134
9169
|
sourceLocation: {
|
|
9135
9170
|
"file": "packages/api/workspace-controller/src/index.ts",
|
|
9136
|
-
"line":
|
|
9171
|
+
"line": 79,
|
|
9137
9172
|
"column": 3
|
|
9138
9173
|
}
|
|
9139
9174
|
},
|
|
@@ -9153,7 +9188,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9153
9188
|
},
|
|
9154
9189
|
sourceLocation: {
|
|
9155
9190
|
"file": "packages/api/workspace-controller/src/index.ts",
|
|
9156
|
-
"line":
|
|
9191
|
+
"line": 129,
|
|
9157
9192
|
"column": 3
|
|
9158
9193
|
}
|
|
9159
9194
|
},
|
|
@@ -9180,7 +9215,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9180
9215
|
},
|
|
9181
9216
|
sourceLocation: {
|
|
9182
9217
|
"file": "packages/api/workspace-controller/src/index.ts",
|
|
9183
|
-
"line":
|
|
9218
|
+
"line": 89,
|
|
9184
9219
|
"column": 3
|
|
9185
9220
|
}
|
|
9186
9221
|
},
|
|
@@ -9207,7 +9242,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9207
9242
|
},
|
|
9208
9243
|
sourceLocation: {
|
|
9209
9244
|
"file": "packages/api/workspace-controller/src/index.ts",
|
|
9210
|
-
"line":
|
|
9245
|
+
"line": 99,
|
|
9211
9246
|
"column": 3
|
|
9212
9247
|
}
|
|
9213
9248
|
},
|
|
@@ -9234,13 +9269,609 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9234
9269
|
},
|
|
9235
9270
|
sourceLocation: {
|
|
9236
9271
|
"file": "packages/api/workspace-controller/src/index.ts",
|
|
9237
|
-
"line":
|
|
9272
|
+
"line": 69,
|
|
9273
|
+
"column": 3
|
|
9274
|
+
}
|
|
9275
|
+
},
|
|
9276
|
+
{
|
|
9277
|
+
id: "@deepseek-ai/dsh-api-workspace-controller#workspace/unarchiveSession",
|
|
9278
|
+
service: "workspaceController",
|
|
9279
|
+
namespace: "workspace",
|
|
9280
|
+
method: "unarchiveSession",
|
|
9281
|
+
invocation: { kind: "direct" },
|
|
9282
|
+
parameters: [{
|
|
9283
|
+
name: "request",
|
|
9284
|
+
wire: "request",
|
|
9285
|
+
source: "json",
|
|
9286
|
+
codec: {
|
|
9287
|
+
mode: "strict",
|
|
9288
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-controller/types#WorkspaceUnarchiveSessionRequest",
|
|
9289
|
+
schema: _deepseek_ai_dsh_api_workspace_controller_workspace_unarchiveSession_parameter_0$schema
|
|
9290
|
+
}
|
|
9291
|
+
}],
|
|
9292
|
+
result: {
|
|
9293
|
+
mode: "strict",
|
|
9294
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-controller/types#WorkspaceArchiveValue",
|
|
9295
|
+
schema: _deepseek_ai_dsh_api_workspace_controller_workspace_unarchiveSession_result$schema
|
|
9296
|
+
},
|
|
9297
|
+
sourceLocation: {
|
|
9298
|
+
"file": "packages/api/workspace-controller/src/index.ts",
|
|
9299
|
+
"line": 119,
|
|
9238
9300
|
"column": 3
|
|
9239
9301
|
}
|
|
9240
9302
|
}
|
|
9241
9303
|
]
|
|
9242
9304
|
};
|
|
9243
9305
|
//#endregion
|
|
9306
|
+
//#region ../terminal-controller/lib/typert.remote-client.js
|
|
9307
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_close_parameter_0$schema = intersection(string(), unknown());
|
|
9308
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_close_parameter_1$schema = intersection(string(), unknown());
|
|
9309
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_close_result$schema = _void();
|
|
9310
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_create_parameter_0$schema = intersection(string(), unknown());
|
|
9311
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_create_parameter_1$schema = object({
|
|
9312
|
+
"shellPath": string().readonly().optional(),
|
|
9313
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
9314
|
+
"cols": number().readonly(),
|
|
9315
|
+
"rows": number().readonly()
|
|
9316
|
+
});
|
|
9317
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_create_result$schema = object({
|
|
9318
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
9319
|
+
"title": string().readonly(),
|
|
9320
|
+
"shell": object({
|
|
9321
|
+
"path": string().readonly(),
|
|
9322
|
+
"args": array(string()).readonly(),
|
|
9323
|
+
"name": string().readonly()
|
|
9324
|
+
}).readonly(),
|
|
9325
|
+
"cwd": string().readonly(),
|
|
9326
|
+
"cols": number().readonly(),
|
|
9327
|
+
"rows": number().readonly(),
|
|
9328
|
+
"state": union([
|
|
9329
|
+
literal("running"),
|
|
9330
|
+
literal("failed"),
|
|
9331
|
+
literal("exited")
|
|
9332
|
+
]).readonly(),
|
|
9333
|
+
"exitCode": union([literal(null), number()]).readonly(),
|
|
9334
|
+
"error": string().readonly().optional(),
|
|
9335
|
+
"controllerId": intersection(string(), unknown()).readonly().optional()
|
|
9336
|
+
});
|
|
9337
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_environment_parameter_0$schema = intersection(string(), unknown());
|
|
9338
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_environment_result$schema = object({
|
|
9339
|
+
"cwd": string().readonly(),
|
|
9340
|
+
"maxInputBytes": number().readonly(),
|
|
9341
|
+
"maxCols": number().readonly(),
|
|
9342
|
+
"maxRows": number().readonly(),
|
|
9343
|
+
"scrollback": number().readonly()
|
|
9344
|
+
});
|
|
9345
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_follow_parameter_0$schema = intersection(string(), unknown());
|
|
9346
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_follow_parameter_1$schema = intersection(string(), unknown());
|
|
9347
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_follow_parameter_2$schema = intersection(string(), unknown());
|
|
9348
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_follow_result$schema = union([
|
|
9349
|
+
object({
|
|
9350
|
+
"type": literal("snapshot").readonly(),
|
|
9351
|
+
"sequence": number().readonly(),
|
|
9352
|
+
"screen": string().readonly(),
|
|
9353
|
+
"info": object({
|
|
9354
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
9355
|
+
"title": string().readonly(),
|
|
9356
|
+
"shell": object({
|
|
9357
|
+
"path": string().readonly(),
|
|
9358
|
+
"args": array(string()).readonly(),
|
|
9359
|
+
"name": string().readonly()
|
|
9360
|
+
}).readonly(),
|
|
9361
|
+
"cwd": string().readonly(),
|
|
9362
|
+
"cols": number().readonly(),
|
|
9363
|
+
"rows": number().readonly(),
|
|
9364
|
+
"state": union([
|
|
9365
|
+
literal("running"),
|
|
9366
|
+
literal("failed"),
|
|
9367
|
+
literal("exited")
|
|
9368
|
+
]).readonly(),
|
|
9369
|
+
"exitCode": union([literal(null), number()]).readonly(),
|
|
9370
|
+
"error": string().readonly().optional(),
|
|
9371
|
+
"controllerId": intersection(string(), unknown()).readonly().optional()
|
|
9372
|
+
}).readonly()
|
|
9373
|
+
}),
|
|
9374
|
+
object({
|
|
9375
|
+
"type": literal("output").readonly(),
|
|
9376
|
+
"sequence": number().readonly(),
|
|
9377
|
+
"data": string().readonly()
|
|
9378
|
+
}),
|
|
9379
|
+
object({
|
|
9380
|
+
"type": literal("state").readonly(),
|
|
9381
|
+
"info": object({
|
|
9382
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
9383
|
+
"title": string().readonly(),
|
|
9384
|
+
"shell": object({
|
|
9385
|
+
"path": string().readonly(),
|
|
9386
|
+
"args": array(string()).readonly(),
|
|
9387
|
+
"name": string().readonly()
|
|
9388
|
+
}).readonly(),
|
|
9389
|
+
"cwd": string().readonly(),
|
|
9390
|
+
"cols": number().readonly(),
|
|
9391
|
+
"rows": number().readonly(),
|
|
9392
|
+
"state": union([
|
|
9393
|
+
literal("running"),
|
|
9394
|
+
literal("failed"),
|
|
9395
|
+
literal("exited")
|
|
9396
|
+
]).readonly(),
|
|
9397
|
+
"exitCode": union([literal(null), number()]).readonly(),
|
|
9398
|
+
"error": string().readonly().optional(),
|
|
9399
|
+
"controllerId": intersection(string(), unknown()).readonly().optional()
|
|
9400
|
+
}).readonly()
|
|
9401
|
+
})
|
|
9402
|
+
]);
|
|
9403
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_list_parameter_0$schema = intersection(string(), unknown());
|
|
9404
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_list_result$schema = array(object({
|
|
9405
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
9406
|
+
"title": string().readonly(),
|
|
9407
|
+
"shell": object({
|
|
9408
|
+
"path": string().readonly(),
|
|
9409
|
+
"args": array(string()).readonly(),
|
|
9410
|
+
"name": string().readonly()
|
|
9411
|
+
}).readonly(),
|
|
9412
|
+
"cwd": string().readonly(),
|
|
9413
|
+
"cols": number().readonly(),
|
|
9414
|
+
"rows": number().readonly(),
|
|
9415
|
+
"state": union([
|
|
9416
|
+
literal("running"),
|
|
9417
|
+
literal("failed"),
|
|
9418
|
+
literal("exited")
|
|
9419
|
+
]).readonly(),
|
|
9420
|
+
"exitCode": union([literal(null), number()]).readonly(),
|
|
9421
|
+
"error": string().readonly().optional(),
|
|
9422
|
+
"controllerId": intersection(string(), unknown()).readonly().optional()
|
|
9423
|
+
}));
|
|
9424
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_rename_parameter_0$schema = intersection(string(), unknown());
|
|
9425
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_rename_parameter_1$schema = intersection(string(), unknown());
|
|
9426
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_rename_parameter_2$schema = string();
|
|
9427
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_rename_result$schema = _void();
|
|
9428
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_resize_parameter_0$schema = intersection(string(), unknown());
|
|
9429
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_resize_parameter_1$schema = intersection(string(), unknown());
|
|
9430
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_resize_parameter_2$schema = intersection(string(), unknown());
|
|
9431
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_resize_parameter_3$schema = number();
|
|
9432
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_resize_parameter_4$schema = number();
|
|
9433
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_resize_result$schema = _void();
|
|
9434
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_shells_parameter_0$schema = intersection(string(), unknown());
|
|
9435
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_shells_result$schema = array(object({
|
|
9436
|
+
"path": string().readonly(),
|
|
9437
|
+
"args": array(string()).readonly(),
|
|
9438
|
+
"name": string().readonly()
|
|
9439
|
+
}));
|
|
9440
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_write_parameter_0$schema = intersection(string(), unknown());
|
|
9441
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_write_parameter_1$schema = intersection(string(), unknown());
|
|
9442
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_write_parameter_2$schema = intersection(string(), unknown());
|
|
9443
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_write_parameter_3$schema = string();
|
|
9444
|
+
const _deepseek_ai_dsh_api_terminal_controller_terminal_write_result$schema = _void();
|
|
9445
|
+
const TYPERT_REMOTE$1 = {
|
|
9446
|
+
package: "@deepseek-ai/dsh-api-terminal-controller",
|
|
9447
|
+
descriptors: [
|
|
9448
|
+
{
|
|
9449
|
+
id: "@deepseek-ai/dsh-api-terminal-controller#terminal/close",
|
|
9450
|
+
service: "terminalController",
|
|
9451
|
+
namespace: "terminal",
|
|
9452
|
+
method: "close",
|
|
9453
|
+
invocation: { kind: "direct" },
|
|
9454
|
+
scope: {
|
|
9455
|
+
context: "agent",
|
|
9456
|
+
wire: "agentId"
|
|
9457
|
+
},
|
|
9458
|
+
parameters: [{
|
|
9459
|
+
name: "agent",
|
|
9460
|
+
wire: "agentId",
|
|
9461
|
+
source: "lookup",
|
|
9462
|
+
lookup: "agent",
|
|
9463
|
+
codec: {
|
|
9464
|
+
mode: "strict",
|
|
9465
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
9466
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_close_parameter_0$schema
|
|
9467
|
+
}
|
|
9468
|
+
}, {
|
|
9469
|
+
name: "id",
|
|
9470
|
+
wire: "id",
|
|
9471
|
+
source: "json",
|
|
9472
|
+
codec: {
|
|
9473
|
+
mode: "strict",
|
|
9474
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller/types#WebTerminalId",
|
|
9475
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_close_parameter_1$schema
|
|
9476
|
+
}
|
|
9477
|
+
}],
|
|
9478
|
+
result: {
|
|
9479
|
+
mode: "strict",
|
|
9480
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller#terminal/close:result",
|
|
9481
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_close_result$schema
|
|
9482
|
+
},
|
|
9483
|
+
sourceLocation: {
|
|
9484
|
+
"file": "packages/api/terminal-controller/src/index.ts",
|
|
9485
|
+
"line": 247,
|
|
9486
|
+
"column": 9
|
|
9487
|
+
}
|
|
9488
|
+
},
|
|
9489
|
+
{
|
|
9490
|
+
id: "@deepseek-ai/dsh-api-terminal-controller#terminal/create",
|
|
9491
|
+
service: "terminalController",
|
|
9492
|
+
namespace: "terminal",
|
|
9493
|
+
method: "create",
|
|
9494
|
+
invocation: { kind: "direct" },
|
|
9495
|
+
scope: {
|
|
9496
|
+
context: "agent",
|
|
9497
|
+
wire: "agentId"
|
|
9498
|
+
},
|
|
9499
|
+
parameters: [{
|
|
9500
|
+
name: "agent",
|
|
9501
|
+
wire: "agentId",
|
|
9502
|
+
source: "lookup",
|
|
9503
|
+
lookup: "agent",
|
|
9504
|
+
codec: {
|
|
9505
|
+
mode: "strict",
|
|
9506
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
9507
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_create_parameter_0$schema
|
|
9508
|
+
}
|
|
9509
|
+
}, {
|
|
9510
|
+
name: "request",
|
|
9511
|
+
wire: "request",
|
|
9512
|
+
source: "json",
|
|
9513
|
+
codec: {
|
|
9514
|
+
mode: "strict",
|
|
9515
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller/types#TerminalCreateRequest",
|
|
9516
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_create_parameter_1$schema
|
|
9517
|
+
}
|
|
9518
|
+
}],
|
|
9519
|
+
cancellation: { parameter: "signal" },
|
|
9520
|
+
result: {
|
|
9521
|
+
mode: "strict",
|
|
9522
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller/types#WebTerminalInfo",
|
|
9523
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_create_result$schema
|
|
9524
|
+
},
|
|
9525
|
+
sourceLocation: {
|
|
9526
|
+
"file": "packages/api/terminal-controller/src/index.ts",
|
|
9527
|
+
"line": 155,
|
|
9528
|
+
"column": 9
|
|
9529
|
+
}
|
|
9530
|
+
},
|
|
9531
|
+
{
|
|
9532
|
+
id: "@deepseek-ai/dsh-api-terminal-controller#terminal/environment",
|
|
9533
|
+
service: "terminalController",
|
|
9534
|
+
namespace: "terminal",
|
|
9535
|
+
method: "environment",
|
|
9536
|
+
invocation: { kind: "direct" },
|
|
9537
|
+
scope: {
|
|
9538
|
+
context: "agent",
|
|
9539
|
+
wire: "agentId"
|
|
9540
|
+
},
|
|
9541
|
+
parameters: [{
|
|
9542
|
+
name: "agent",
|
|
9543
|
+
wire: "agentId",
|
|
9544
|
+
source: "lookup",
|
|
9545
|
+
lookup: "agent",
|
|
9546
|
+
codec: {
|
|
9547
|
+
mode: "strict",
|
|
9548
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
9549
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_environment_parameter_0$schema
|
|
9550
|
+
}
|
|
9551
|
+
}],
|
|
9552
|
+
cancellation: { parameter: "signal" },
|
|
9553
|
+
result: {
|
|
9554
|
+
mode: "strict",
|
|
9555
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller/types#TerminalEnvironment",
|
|
9556
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_environment_result$schema
|
|
9557
|
+
},
|
|
9558
|
+
sourceLocation: {
|
|
9559
|
+
"file": "packages/api/terminal-controller/src/index.ts",
|
|
9560
|
+
"line": 115,
|
|
9561
|
+
"column": 3
|
|
9562
|
+
}
|
|
9563
|
+
},
|
|
9564
|
+
{
|
|
9565
|
+
id: "@deepseek-ai/dsh-api-terminal-controller#terminal/follow",
|
|
9566
|
+
service: "terminalController",
|
|
9567
|
+
namespace: "terminal",
|
|
9568
|
+
method: "follow",
|
|
9569
|
+
mode: "stream",
|
|
9570
|
+
invocation: { kind: "direct" },
|
|
9571
|
+
scope: {
|
|
9572
|
+
context: "agent",
|
|
9573
|
+
wire: "agentId"
|
|
9574
|
+
},
|
|
9575
|
+
parameters: [
|
|
9576
|
+
{
|
|
9577
|
+
name: "agent",
|
|
9578
|
+
wire: "agentId",
|
|
9579
|
+
source: "lookup",
|
|
9580
|
+
lookup: "agent",
|
|
9581
|
+
codec: {
|
|
9582
|
+
mode: "strict",
|
|
9583
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
9584
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_follow_parameter_0$schema
|
|
9585
|
+
}
|
|
9586
|
+
},
|
|
9587
|
+
{
|
|
9588
|
+
name: "id",
|
|
9589
|
+
wire: "id",
|
|
9590
|
+
source: "json",
|
|
9591
|
+
codec: {
|
|
9592
|
+
mode: "strict",
|
|
9593
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller/types#WebTerminalId",
|
|
9594
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_follow_parameter_1$schema
|
|
9595
|
+
}
|
|
9596
|
+
},
|
|
9597
|
+
{
|
|
9598
|
+
name: "attachmentId",
|
|
9599
|
+
wire: "attachmentId",
|
|
9600
|
+
source: "json",
|
|
9601
|
+
codec: {
|
|
9602
|
+
mode: "strict",
|
|
9603
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller/types#TerminalAttachmentId",
|
|
9604
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_follow_parameter_2$schema
|
|
9605
|
+
}
|
|
9606
|
+
}
|
|
9607
|
+
],
|
|
9608
|
+
cancellation: { parameter: "signal" },
|
|
9609
|
+
result: {
|
|
9610
|
+
mode: "strict",
|
|
9611
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller/types#TerminalFrame",
|
|
9612
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_follow_result$schema
|
|
9613
|
+
},
|
|
9614
|
+
sourceLocation: {
|
|
9615
|
+
"file": "packages/api/terminal-controller/src/index.ts",
|
|
9616
|
+
"line": 194,
|
|
9617
|
+
"column": 3
|
|
9618
|
+
}
|
|
9619
|
+
},
|
|
9620
|
+
{
|
|
9621
|
+
id: "@deepseek-ai/dsh-api-terminal-controller#terminal/list",
|
|
9622
|
+
service: "terminalController",
|
|
9623
|
+
namespace: "terminal",
|
|
9624
|
+
method: "list",
|
|
9625
|
+
invocation: { kind: "direct" },
|
|
9626
|
+
parameters: [{
|
|
9627
|
+
name: "sessionId",
|
|
9628
|
+
wire: "sessionId",
|
|
9629
|
+
source: "json",
|
|
9630
|
+
codec: {
|
|
9631
|
+
mode: "strict",
|
|
9632
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
9633
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_list_parameter_0$schema
|
|
9634
|
+
}
|
|
9635
|
+
}],
|
|
9636
|
+
result: {
|
|
9637
|
+
mode: "strict",
|
|
9638
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller#terminal/list:result",
|
|
9639
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_list_result$schema
|
|
9640
|
+
},
|
|
9641
|
+
sourceLocation: {
|
|
9642
|
+
"file": "packages/api/terminal-controller/src/index.ts",
|
|
9643
|
+
"line": 141,
|
|
9644
|
+
"column": 3
|
|
9645
|
+
}
|
|
9646
|
+
},
|
|
9647
|
+
{
|
|
9648
|
+
id: "@deepseek-ai/dsh-api-terminal-controller#terminal/rename",
|
|
9649
|
+
service: "terminalController",
|
|
9650
|
+
namespace: "terminal",
|
|
9651
|
+
method: "rename",
|
|
9652
|
+
invocation: { kind: "direct" },
|
|
9653
|
+
scope: {
|
|
9654
|
+
context: "agent",
|
|
9655
|
+
wire: "agentId"
|
|
9656
|
+
},
|
|
9657
|
+
parameters: [
|
|
9658
|
+
{
|
|
9659
|
+
name: "agent",
|
|
9660
|
+
wire: "agentId",
|
|
9661
|
+
source: "lookup",
|
|
9662
|
+
lookup: "agent",
|
|
9663
|
+
codec: {
|
|
9664
|
+
mode: "strict",
|
|
9665
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
9666
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_rename_parameter_0$schema
|
|
9667
|
+
}
|
|
9668
|
+
},
|
|
9669
|
+
{
|
|
9670
|
+
name: "id",
|
|
9671
|
+
wire: "id",
|
|
9672
|
+
source: "json",
|
|
9673
|
+
codec: {
|
|
9674
|
+
mode: "strict",
|
|
9675
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller/types#WebTerminalId",
|
|
9676
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_rename_parameter_1$schema
|
|
9677
|
+
}
|
|
9678
|
+
},
|
|
9679
|
+
{
|
|
9680
|
+
name: "title",
|
|
9681
|
+
wire: "title",
|
|
9682
|
+
source: "json",
|
|
9683
|
+
codec: {
|
|
9684
|
+
mode: "strict",
|
|
9685
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller#terminal/rename:title",
|
|
9686
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_rename_parameter_2$schema
|
|
9687
|
+
}
|
|
9688
|
+
}
|
|
9689
|
+
],
|
|
9690
|
+
result: {
|
|
9691
|
+
mode: "strict",
|
|
9692
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller#terminal/rename:result",
|
|
9693
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_rename_result$schema
|
|
9694
|
+
},
|
|
9695
|
+
sourceLocation: {
|
|
9696
|
+
"file": "packages/api/terminal-controller/src/index.ts",
|
|
9697
|
+
"line": 235,
|
|
9698
|
+
"column": 3
|
|
9699
|
+
}
|
|
9700
|
+
},
|
|
9701
|
+
{
|
|
9702
|
+
id: "@deepseek-ai/dsh-api-terminal-controller#terminal/resize",
|
|
9703
|
+
service: "terminalController",
|
|
9704
|
+
namespace: "terminal",
|
|
9705
|
+
method: "resize",
|
|
9706
|
+
invocation: { kind: "direct" },
|
|
9707
|
+
scope: {
|
|
9708
|
+
context: "agent",
|
|
9709
|
+
wire: "agentId"
|
|
9710
|
+
},
|
|
9711
|
+
parameters: [
|
|
9712
|
+
{
|
|
9713
|
+
name: "agent",
|
|
9714
|
+
wire: "agentId",
|
|
9715
|
+
source: "lookup",
|
|
9716
|
+
lookup: "agent",
|
|
9717
|
+
codec: {
|
|
9718
|
+
mode: "strict",
|
|
9719
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
9720
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_resize_parameter_0$schema
|
|
9721
|
+
}
|
|
9722
|
+
},
|
|
9723
|
+
{
|
|
9724
|
+
name: "id",
|
|
9725
|
+
wire: "id",
|
|
9726
|
+
source: "json",
|
|
9727
|
+
codec: {
|
|
9728
|
+
mode: "strict",
|
|
9729
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller/types#WebTerminalId",
|
|
9730
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_resize_parameter_1$schema
|
|
9731
|
+
}
|
|
9732
|
+
},
|
|
9733
|
+
{
|
|
9734
|
+
name: "attachmentId",
|
|
9735
|
+
wire: "attachmentId",
|
|
9736
|
+
source: "json",
|
|
9737
|
+
codec: {
|
|
9738
|
+
mode: "strict",
|
|
9739
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller/types#TerminalAttachmentId",
|
|
9740
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_resize_parameter_2$schema
|
|
9741
|
+
}
|
|
9742
|
+
},
|
|
9743
|
+
{
|
|
9744
|
+
name: "cols",
|
|
9745
|
+
wire: "cols",
|
|
9746
|
+
source: "json",
|
|
9747
|
+
codec: {
|
|
9748
|
+
mode: "strict",
|
|
9749
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller#terminal/resize:cols",
|
|
9750
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_resize_parameter_3$schema
|
|
9751
|
+
}
|
|
9752
|
+
},
|
|
9753
|
+
{
|
|
9754
|
+
name: "rows",
|
|
9755
|
+
wire: "rows",
|
|
9756
|
+
source: "json",
|
|
9757
|
+
codec: {
|
|
9758
|
+
mode: "strict",
|
|
9759
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller#terminal/resize:rows",
|
|
9760
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_resize_parameter_4$schema
|
|
9761
|
+
}
|
|
9762
|
+
}
|
|
9763
|
+
],
|
|
9764
|
+
result: {
|
|
9765
|
+
mode: "strict",
|
|
9766
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller#terminal/resize:result",
|
|
9767
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_resize_result$schema
|
|
9768
|
+
},
|
|
9769
|
+
sourceLocation: {
|
|
9770
|
+
"file": "packages/api/terminal-controller/src/index.ts",
|
|
9771
|
+
"line": 223,
|
|
9772
|
+
"column": 9
|
|
9773
|
+
}
|
|
9774
|
+
},
|
|
9775
|
+
{
|
|
9776
|
+
id: "@deepseek-ai/dsh-api-terminal-controller#terminal/shells",
|
|
9777
|
+
service: "terminalController",
|
|
9778
|
+
namespace: "terminal",
|
|
9779
|
+
method: "shells",
|
|
9780
|
+
invocation: { kind: "direct" },
|
|
9781
|
+
scope: {
|
|
9782
|
+
context: "agent",
|
|
9783
|
+
wire: "agentId"
|
|
9784
|
+
},
|
|
9785
|
+
parameters: [{
|
|
9786
|
+
name: "agent",
|
|
9787
|
+
wire: "agentId",
|
|
9788
|
+
source: "lookup",
|
|
9789
|
+
lookup: "agent",
|
|
9790
|
+
codec: {
|
|
9791
|
+
mode: "strict",
|
|
9792
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
9793
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_shells_parameter_0$schema
|
|
9794
|
+
}
|
|
9795
|
+
}],
|
|
9796
|
+
cancellation: { parameter: "signal" },
|
|
9797
|
+
result: {
|
|
9798
|
+
mode: "strict",
|
|
9799
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller#terminal/shells:result",
|
|
9800
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_shells_result$schema
|
|
9801
|
+
},
|
|
9802
|
+
sourceLocation: {
|
|
9803
|
+
"file": "packages/api/terminal-controller/src/index.ts",
|
|
9804
|
+
"line": 130,
|
|
9805
|
+
"column": 3
|
|
9806
|
+
}
|
|
9807
|
+
},
|
|
9808
|
+
{
|
|
9809
|
+
id: "@deepseek-ai/dsh-api-terminal-controller#terminal/write",
|
|
9810
|
+
service: "terminalController",
|
|
9811
|
+
namespace: "terminal",
|
|
9812
|
+
method: "write",
|
|
9813
|
+
invocation: { kind: "direct" },
|
|
9814
|
+
scope: {
|
|
9815
|
+
context: "agent",
|
|
9816
|
+
wire: "agentId"
|
|
9817
|
+
},
|
|
9818
|
+
parameters: [
|
|
9819
|
+
{
|
|
9820
|
+
name: "agent",
|
|
9821
|
+
wire: "agentId",
|
|
9822
|
+
source: "lookup",
|
|
9823
|
+
lookup: "agent",
|
|
9824
|
+
codec: {
|
|
9825
|
+
mode: "strict",
|
|
9826
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
9827
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_write_parameter_0$schema
|
|
9828
|
+
}
|
|
9829
|
+
},
|
|
9830
|
+
{
|
|
9831
|
+
name: "id",
|
|
9832
|
+
wire: "id",
|
|
9833
|
+
source: "json",
|
|
9834
|
+
codec: {
|
|
9835
|
+
mode: "strict",
|
|
9836
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller/types#WebTerminalId",
|
|
9837
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_write_parameter_1$schema
|
|
9838
|
+
}
|
|
9839
|
+
},
|
|
9840
|
+
{
|
|
9841
|
+
name: "attachmentId",
|
|
9842
|
+
wire: "attachmentId",
|
|
9843
|
+
source: "json",
|
|
9844
|
+
codec: {
|
|
9845
|
+
mode: "strict",
|
|
9846
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller/types#TerminalAttachmentId",
|
|
9847
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_write_parameter_2$schema
|
|
9848
|
+
}
|
|
9849
|
+
},
|
|
9850
|
+
{
|
|
9851
|
+
name: "data",
|
|
9852
|
+
wire: "data",
|
|
9853
|
+
source: "json",
|
|
9854
|
+
codec: {
|
|
9855
|
+
mode: "strict",
|
|
9856
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller#terminal/write:data",
|
|
9857
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_write_parameter_3$schema
|
|
9858
|
+
}
|
|
9859
|
+
}
|
|
9860
|
+
],
|
|
9861
|
+
result: {
|
|
9862
|
+
mode: "strict",
|
|
9863
|
+
typeSymbol: "@deepseek-ai/dsh-api-terminal-controller#terminal/write:result",
|
|
9864
|
+
schema: _deepseek_ai_dsh_api_terminal_controller_terminal_write_result$schema
|
|
9865
|
+
},
|
|
9866
|
+
sourceLocation: {
|
|
9867
|
+
"file": "packages/api/terminal-controller/src/index.ts",
|
|
9868
|
+
"line": 208,
|
|
9869
|
+
"column": 9
|
|
9870
|
+
}
|
|
9871
|
+
}
|
|
9872
|
+
]
|
|
9873
|
+
};
|
|
9874
|
+
//#endregion
|
|
9244
9875
|
//#region ../workspace-files/lib/typert.remote-client.js
|
|
9245
9876
|
const _deepseek_ai_dsh_api_workspace_files_workspaceFiles_changes_parameter_0$schema = intersection(string(), unknown());
|
|
9246
9877
|
const _deepseek_ai_dsh_api_workspace_files_workspaceFiles_changes_result$schema = union([object({ "kind": literal("ready").readonly() }), object({
|
|
@@ -9641,21 +10272,23 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9641
10272
|
const disposers = [];
|
|
9642
10273
|
try {
|
|
9643
10274
|
for (const contribution of [
|
|
10275
|
+
TYPERT_REMOTE$16,
|
|
10276
|
+
TYPERT_REMOTE$15,
|
|
9644
10277
|
TYPERT_REMOTE$14,
|
|
9645
10278
|
TYPERT_REMOTE$13,
|
|
9646
10279
|
TYPERT_REMOTE$12,
|
|
9647
10280
|
TYPERT_REMOTE$11,
|
|
9648
10281
|
TYPERT_REMOTE$10,
|
|
9649
10282
|
TYPERT_REMOTE$9,
|
|
9650
|
-
TYPERT_REMOTE$8,
|
|
9651
10283
|
TYPERT_REMOTE$7,
|
|
9652
10284
|
TYPERT_REMOTE$6,
|
|
9653
10285
|
TYPERT_REMOTE$5,
|
|
10286
|
+
TYPERT_REMOTE$8,
|
|
9654
10287
|
TYPERT_REMOTE$4,
|
|
9655
10288
|
TYPERT_REMOTE$3,
|
|
9656
10289
|
TYPERT_REMOTE$2,
|
|
9657
|
-
TYPERT_REMOTE
|
|
9658
|
-
TYPERT_REMOTE
|
|
10290
|
+
TYPERT_REMOTE,
|
|
10291
|
+
TYPERT_REMOTE$1
|
|
9659
10292
|
]) disposers.push(await ctx.remote.$mount(contribution));
|
|
9660
10293
|
} catch (error) {
|
|
9661
10294
|
for (const dispose of disposers.reverse()) await dispose();
|