@deepseek-ai/dsh-api-remotes 0.1.1-rc.2 → 0.1.2-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/README.i18n.yaml +2 -2
- package/README.md +53 -10
- package/README.zh.md +53 -11
- package/lib/client.js +3723 -755
- package/lib/index.js +180 -150
- package/lib/types/client/index.d.ts +22 -6
- package/lib/types/client/index.js +8 -2
- package/lib/types/index.d.ts +6 -4
- package/lib/types/index.js +119 -12
- package/lib/types/remote-events.d.ts +57 -7
- package/lib/types/remote-events.js +20 -17
- package/lib/types/types.d.ts +1 -1
- package/package.json +30 -39
- package/lib/types/agent-lookup.d.ts +0 -95
- package/lib/types/agent-lookup.js +0 -166
package/lib/client.js
CHANGED
|
@@ -1455,6 +1455,20 @@ window.__ModuleLoader__.load({
|
|
|
1455
1455
|
return payload;
|
|
1456
1456
|
};
|
|
1457
1457
|
});
|
|
1458
|
+
const $ZodVoid = /*@__PURE__*/ $constructor("$ZodVoid", (inst, def) => {
|
|
1459
|
+
$ZodType.init(inst, def);
|
|
1460
|
+
inst._zod.parse = (payload, _ctx) => {
|
|
1461
|
+
const input = payload.value;
|
|
1462
|
+
if (typeof input === "undefined") return payload;
|
|
1463
|
+
payload.issues.push({
|
|
1464
|
+
expected: "void",
|
|
1465
|
+
code: "invalid_type",
|
|
1466
|
+
input,
|
|
1467
|
+
inst
|
|
1468
|
+
});
|
|
1469
|
+
return payload;
|
|
1470
|
+
};
|
|
1471
|
+
});
|
|
1458
1472
|
function handleArrayResult(result, final, index) {
|
|
1459
1473
|
if (result.issues.length) final.issues.push(...prefixIssues(index, result.issues));
|
|
1460
1474
|
final.value[index] = result.value;
|
|
@@ -2638,6 +2652,13 @@ window.__ModuleLoader__.load({
|
|
|
2638
2652
|
});
|
|
2639
2653
|
}
|
|
2640
2654
|
// @__NO_SIDE_EFFECTS__
|
|
2655
|
+
function _void$1(Class, params) {
|
|
2656
|
+
return new Class({
|
|
2657
|
+
type: "void",
|
|
2658
|
+
...normalizeParams(params)
|
|
2659
|
+
});
|
|
2660
|
+
}
|
|
2661
|
+
// @__NO_SIDE_EFFECTS__
|
|
2641
2662
|
function _lt(value, params) {
|
|
2642
2663
|
return new $ZodCheckLessThan({
|
|
2643
2664
|
check: "less_than",
|
|
@@ -3178,6 +3199,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3178
3199
|
const undefinedProcessor = (_schema, ctx, _json, _params) => {
|
|
3179
3200
|
if (ctx.unrepresentable === "throw") throw new Error("Undefined cannot be represented in JSON Schema");
|
|
3180
3201
|
};
|
|
3202
|
+
const voidProcessor = (_schema, ctx, _json, _params) => {
|
|
3203
|
+
if (ctx.unrepresentable === "throw") throw new Error("Void cannot be represented in JSON Schema");
|
|
3204
|
+
};
|
|
3181
3205
|
const neverProcessor = (_schema, _ctx, json, _params) => {
|
|
3182
3206
|
json.not = {};
|
|
3183
3207
|
};
|
|
@@ -3898,6 +3922,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3898
3922
|
function never(params) {
|
|
3899
3923
|
return /* @__PURE__ */ _never(ZodNever, params);
|
|
3900
3924
|
}
|
|
3925
|
+
const ZodVoid = /*@__PURE__*/ $constructor("ZodVoid", (inst, def) => {
|
|
3926
|
+
$ZodVoid.init(inst, def);
|
|
3927
|
+
ZodType.init(inst, def);
|
|
3928
|
+
inst._zod.processJSONSchema = (ctx, json, params) => voidProcessor(inst, ctx, json, params);
|
|
3929
|
+
});
|
|
3930
|
+
function _void(params) {
|
|
3931
|
+
return /* @__PURE__ */ _void$1(ZodVoid, params);
|
|
3932
|
+
}
|
|
3901
3933
|
const ZodArray = /*@__PURE__*/ $constructor("ZodArray", (inst, def) => {
|
|
3902
3934
|
$ZodArray.init(inst, def);
|
|
3903
3935
|
ZodType.init(inst, def);
|
|
@@ -4273,6 +4305,208 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4273
4305
|
return /* @__PURE__ */ _superRefine(fn, params);
|
|
4274
4306
|
}
|
|
4275
4307
|
//#endregion
|
|
4308
|
+
//#region ../../preset/agent-presets/lib/typert.remote-client.js
|
|
4309
|
+
const _deepseek_ai_dsh_agent_presets_agentPresets_copy_parameter_0$schema = string();
|
|
4310
|
+
const _deepseek_ai_dsh_agent_presets_agentPresets_copy_parameter_1$schema = string();
|
|
4311
|
+
const _deepseek_ai_dsh_agent_presets_agentPresets_copy_parameter_2$schema = union([_undefined(), string()]);
|
|
4312
|
+
const _deepseek_ai_dsh_agent_presets_agentPresets_copy_result$schema = _void();
|
|
4313
|
+
const _deepseek_ai_dsh_agent_presets_agentPresets_deletePreset_parameter_0$schema = string();
|
|
4314
|
+
const _deepseek_ai_dsh_agent_presets_agentPresets_deletePreset_result$schema = _void();
|
|
4315
|
+
const _deepseek_ai_dsh_agent_presets_agentPresets_list_result$schema = object({
|
|
4316
|
+
"presets": array(object({
|
|
4317
|
+
"id": string().readonly(),
|
|
4318
|
+
"trust": union([literal("system"), literal("user")]).readonly(),
|
|
4319
|
+
"isDefault": boolean().readonly(),
|
|
4320
|
+
"name": string().readonly().optional(),
|
|
4321
|
+
"description": string().readonly().optional(),
|
|
4322
|
+
"broken": string().readonly().optional()
|
|
4323
|
+
})).readonly(),
|
|
4324
|
+
"authorable": boolean().readonly()
|
|
4325
|
+
});
|
|
4326
|
+
const _deepseek_ai_dsh_agent_presets_agentPresets_read_parameter_0$schema = string();
|
|
4327
|
+
const _deepseek_ai_dsh_agent_presets_agentPresets_read_result$schema = object({
|
|
4328
|
+
"agentPreset": string().readonly(),
|
|
4329
|
+
"trust": union([literal("system"), literal("user")]).readonly(),
|
|
4330
|
+
"content": string().readonly(),
|
|
4331
|
+
"name": string().readonly().optional(),
|
|
4332
|
+
"description": string().readonly().optional()
|
|
4333
|
+
});
|
|
4334
|
+
const _deepseek_ai_dsh_agent_presets_agentPresets_select_parameter_0$schema = intersection(string(), unknown());
|
|
4335
|
+
const _deepseek_ai_dsh_agent_presets_agentPresets_select_parameter_1$schema = string();
|
|
4336
|
+
const _deepseek_ai_dsh_agent_presets_agentPresets_select_result$schema = string();
|
|
4337
|
+
const TYPERT_REMOTE$11 = {
|
|
4338
|
+
package: "@deepseek-ai/dsh-agent-presets",
|
|
4339
|
+
descriptors: [
|
|
4340
|
+
{
|
|
4341
|
+
id: "@deepseek-ai/dsh-agent-presets#agentPresets/copy",
|
|
4342
|
+
service: "agentPresets",
|
|
4343
|
+
namespace: "agentPresets",
|
|
4344
|
+
method: "copy",
|
|
4345
|
+
implementation: "remoteExportCopy",
|
|
4346
|
+
invocation: { kind: "direct" },
|
|
4347
|
+
parameters: [
|
|
4348
|
+
{
|
|
4349
|
+
name: "from",
|
|
4350
|
+
wire: "from",
|
|
4351
|
+
source: "json",
|
|
4352
|
+
codec: {
|
|
4353
|
+
mode: "strict",
|
|
4354
|
+
typeSymbol: "@deepseek-ai/dsh-agent-presets#agentPresets/copy:from",
|
|
4355
|
+
schema: _deepseek_ai_dsh_agent_presets_agentPresets_copy_parameter_0$schema
|
|
4356
|
+
}
|
|
4357
|
+
},
|
|
4358
|
+
{
|
|
4359
|
+
name: "id",
|
|
4360
|
+
wire: "id",
|
|
4361
|
+
source: "json",
|
|
4362
|
+
codec: {
|
|
4363
|
+
mode: "strict",
|
|
4364
|
+
typeSymbol: "@deepseek-ai/dsh-agent-presets#agentPresets/copy:id",
|
|
4365
|
+
schema: _deepseek_ai_dsh_agent_presets_agentPresets_copy_parameter_1$schema
|
|
4366
|
+
}
|
|
4367
|
+
},
|
|
4368
|
+
{
|
|
4369
|
+
name: "name",
|
|
4370
|
+
wire: "name",
|
|
4371
|
+
source: "json",
|
|
4372
|
+
acceptsUndefined: true,
|
|
4373
|
+
codec: {
|
|
4374
|
+
mode: "strict",
|
|
4375
|
+
typeSymbol: "@deepseek-ai/dsh-agent-presets#agentPresets/copy:name",
|
|
4376
|
+
schema: _deepseek_ai_dsh_agent_presets_agentPresets_copy_parameter_2$schema
|
|
4377
|
+
}
|
|
4378
|
+
}
|
|
4379
|
+
],
|
|
4380
|
+
result: {
|
|
4381
|
+
mode: "strict",
|
|
4382
|
+
typeSymbol: "@deepseek-ai/dsh-agent-presets#agentPresets/copy:result",
|
|
4383
|
+
schema: _deepseek_ai_dsh_agent_presets_agentPresets_copy_result$schema
|
|
4384
|
+
},
|
|
4385
|
+
sourceLocation: {
|
|
4386
|
+
"file": "packages/preset/agent-presets/src/index.ts",
|
|
4387
|
+
"line": 565,
|
|
4388
|
+
"column": 9
|
|
4389
|
+
}
|
|
4390
|
+
},
|
|
4391
|
+
{
|
|
4392
|
+
id: "@deepseek-ai/dsh-agent-presets#agentPresets/deletePreset",
|
|
4393
|
+
service: "agentPresets",
|
|
4394
|
+
namespace: "agentPresets",
|
|
4395
|
+
method: "deletePreset",
|
|
4396
|
+
implementation: "remoteExportDelete",
|
|
4397
|
+
invocation: { kind: "direct" },
|
|
4398
|
+
parameters: [{
|
|
4399
|
+
name: "id",
|
|
4400
|
+
wire: "id",
|
|
4401
|
+
source: "json",
|
|
4402
|
+
codec: {
|
|
4403
|
+
mode: "strict",
|
|
4404
|
+
typeSymbol: "@deepseek-ai/dsh-agent-presets#agentPresets/deletePreset:id",
|
|
4405
|
+
schema: _deepseek_ai_dsh_agent_presets_agentPresets_deletePreset_parameter_0$schema
|
|
4406
|
+
}
|
|
4407
|
+
}],
|
|
4408
|
+
result: {
|
|
4409
|
+
mode: "strict",
|
|
4410
|
+
typeSymbol: "@deepseek-ai/dsh-agent-presets#agentPresets/deletePreset:result",
|
|
4411
|
+
schema: _deepseek_ai_dsh_agent_presets_agentPresets_deletePreset_result$schema
|
|
4412
|
+
},
|
|
4413
|
+
sourceLocation: {
|
|
4414
|
+
"file": "packages/preset/agent-presets/src/index.ts",
|
|
4415
|
+
"line": 603,
|
|
4416
|
+
"column": 9
|
|
4417
|
+
}
|
|
4418
|
+
},
|
|
4419
|
+
{
|
|
4420
|
+
id: "@deepseek-ai/dsh-agent-presets#agentPresets/list",
|
|
4421
|
+
service: "agentPresets",
|
|
4422
|
+
namespace: "agentPresets",
|
|
4423
|
+
method: "list",
|
|
4424
|
+
implementation: "remoteExportList",
|
|
4425
|
+
invocation: { kind: "direct" },
|
|
4426
|
+
parameters: [],
|
|
4427
|
+
result: {
|
|
4428
|
+
mode: "strict",
|
|
4429
|
+
typeSymbol: "@deepseek-ai/dsh-agent-presets/types#AgentPresetRoster",
|
|
4430
|
+
schema: _deepseek_ai_dsh_agent_presets_agentPresets_list_result$schema
|
|
4431
|
+
},
|
|
4432
|
+
sourceLocation: {
|
|
4433
|
+
"file": "packages/preset/agent-presets/src/index.ts",
|
|
4434
|
+
"line": 261,
|
|
4435
|
+
"column": 9
|
|
4436
|
+
}
|
|
4437
|
+
},
|
|
4438
|
+
{
|
|
4439
|
+
id: "@deepseek-ai/dsh-agent-presets#agentPresets/read",
|
|
4440
|
+
service: "agentPresets",
|
|
4441
|
+
namespace: "agentPresets",
|
|
4442
|
+
method: "read",
|
|
4443
|
+
implementation: "readDocument",
|
|
4444
|
+
invocation: { kind: "direct" },
|
|
4445
|
+
parameters: [{
|
|
4446
|
+
name: "agentPreset",
|
|
4447
|
+
wire: "agentPreset",
|
|
4448
|
+
source: "json",
|
|
4449
|
+
codec: {
|
|
4450
|
+
mode: "strict",
|
|
4451
|
+
typeSymbol: "@deepseek-ai/dsh-agent-presets#agentPresets/read:agentPreset",
|
|
4452
|
+
schema: _deepseek_ai_dsh_agent_presets_agentPresets_read_parameter_0$schema
|
|
4453
|
+
}
|
|
4454
|
+
}],
|
|
4455
|
+
result: {
|
|
4456
|
+
mode: "strict",
|
|
4457
|
+
typeSymbol: "@deepseek-ai/dsh-agent-presets/types#AgentPresetDocument",
|
|
4458
|
+
schema: _deepseek_ai_dsh_agent_presets_agentPresets_read_result$schema
|
|
4459
|
+
},
|
|
4460
|
+
sourceLocation: {
|
|
4461
|
+
"file": "packages/preset/agent-presets/src/index.ts",
|
|
4462
|
+
"line": 513,
|
|
4463
|
+
"column": 9
|
|
4464
|
+
}
|
|
4465
|
+
},
|
|
4466
|
+
{
|
|
4467
|
+
id: "@deepseek-ai/dsh-agent-presets#agentPresets/select",
|
|
4468
|
+
service: "agentPresets",
|
|
4469
|
+
namespace: "agentPresets",
|
|
4470
|
+
method: "select",
|
|
4471
|
+
invocation: { kind: "direct" },
|
|
4472
|
+
scope: {
|
|
4473
|
+
context: "agent",
|
|
4474
|
+
wire: "agentId"
|
|
4475
|
+
},
|
|
4476
|
+
parameters: [{
|
|
4477
|
+
name: "agent",
|
|
4478
|
+
wire: "agentId",
|
|
4479
|
+
source: "lookup",
|
|
4480
|
+
lookup: "agent",
|
|
4481
|
+
codec: {
|
|
4482
|
+
mode: "strict",
|
|
4483
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
4484
|
+
schema: _deepseek_ai_dsh_agent_presets_agentPresets_select_parameter_0$schema
|
|
4485
|
+
}
|
|
4486
|
+
}, {
|
|
4487
|
+
name: "agentPreset",
|
|
4488
|
+
wire: "agentPreset",
|
|
4489
|
+
source: "json",
|
|
4490
|
+
codec: {
|
|
4491
|
+
mode: "strict",
|
|
4492
|
+
typeSymbol: "@deepseek-ai/dsh-agent-presets#agentPresets/select:agentPreset",
|
|
4493
|
+
schema: _deepseek_ai_dsh_agent_presets_agentPresets_select_parameter_1$schema
|
|
4494
|
+
}
|
|
4495
|
+
}],
|
|
4496
|
+
result: {
|
|
4497
|
+
mode: "strict",
|
|
4498
|
+
typeSymbol: "@deepseek-ai/dsh-agent-presets#agentPresets/select:result",
|
|
4499
|
+
schema: _deepseek_ai_dsh_agent_presets_agentPresets_select_result$schema
|
|
4500
|
+
},
|
|
4501
|
+
sourceLocation: {
|
|
4502
|
+
"file": "packages/preset/agent-presets/src/index.ts",
|
|
4503
|
+
"line": 695,
|
|
4504
|
+
"column": 9
|
|
4505
|
+
}
|
|
4506
|
+
}
|
|
4507
|
+
]
|
|
4508
|
+
};
|
|
4509
|
+
//#endregion
|
|
4276
4510
|
//#region ../../interaction/commands/lib/typert.remote-client.js
|
|
4277
4511
|
const _deepseek_ai_dsh_commands_commands_execute_parameter_0$schema = intersection(string(), unknown());
|
|
4278
4512
|
const _deepseek_ai_dsh_commands_commands_execute_parameter_1$schema = string();
|
|
@@ -4306,7 +4540,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4306
4540
|
"images": boolean().readonly().optional()
|
|
4307
4541
|
}).readonly().optional()
|
|
4308
4542
|
}));
|
|
4309
|
-
const TYPERT_REMOTE$
|
|
4543
|
+
const TYPERT_REMOTE$10 = {
|
|
4310
4544
|
package: "@deepseek-ai/dsh-commands",
|
|
4311
4545
|
descriptors: [{
|
|
4312
4546
|
id: "@deepseek-ai/dsh-commands#commands/execute",
|
|
@@ -4359,7 +4593,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4359
4593
|
},
|
|
4360
4594
|
sourceLocation: {
|
|
4361
4595
|
"file": "packages/interaction/commands/src/index.ts",
|
|
4362
|
-
"line":
|
|
4596
|
+
"line": 330,
|
|
4363
4597
|
"column": 9
|
|
4364
4598
|
}
|
|
4365
4599
|
}, {
|
|
@@ -4390,321 +4624,778 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4390
4624
|
},
|
|
4391
4625
|
sourceLocation: {
|
|
4392
4626
|
"file": "packages/interaction/commands/src/index.ts",
|
|
4393
|
-
"line":
|
|
4627
|
+
"line": 286,
|
|
4394
4628
|
"column": 3
|
|
4395
4629
|
}
|
|
4396
4630
|
}]
|
|
4397
4631
|
};
|
|
4398
4632
|
//#endregion
|
|
4399
|
-
//#region
|
|
4400
|
-
const
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
const
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4633
|
+
//#region ../settings-controller/lib/typert.remote-client.js
|
|
4634
|
+
const JsonValueRemoteCodec$schema$2 = union([
|
|
4635
|
+
literal(null),
|
|
4636
|
+
string(),
|
|
4637
|
+
number(),
|
|
4638
|
+
literal(false),
|
|
4639
|
+
literal(true),
|
|
4640
|
+
array(lazy(() => JsonValueRemoteCodec$schema$2)),
|
|
4641
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema$2))
|
|
4642
|
+
]);
|
|
4643
|
+
const JsonValueRemoteCodec$schema2$2 = union([
|
|
4644
|
+
literal(null),
|
|
4645
|
+
string(),
|
|
4646
|
+
number(),
|
|
4647
|
+
literal(false),
|
|
4648
|
+
literal(true),
|
|
4649
|
+
array(lazy(() => JsonValueRemoteCodec$schema2$2)),
|
|
4650
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema2$2))
|
|
4651
|
+
]);
|
|
4652
|
+
const JsonValueRemoteCodec$schema3$2 = union([
|
|
4653
|
+
literal(null),
|
|
4654
|
+
string(),
|
|
4655
|
+
number(),
|
|
4656
|
+
literal(false),
|
|
4657
|
+
literal(true),
|
|
4658
|
+
array(lazy(() => JsonValueRemoteCodec$schema3$2)),
|
|
4659
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3$2))
|
|
4660
|
+
]);
|
|
4661
|
+
const JsonValueRemoteCodec$schema4$2 = union([
|
|
4662
|
+
literal(null),
|
|
4663
|
+
string(),
|
|
4664
|
+
number(),
|
|
4665
|
+
literal(false),
|
|
4666
|
+
literal(true),
|
|
4667
|
+
array(lazy(() => JsonValueRemoteCodec$schema4$2)),
|
|
4668
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema4$2))
|
|
4669
|
+
]);
|
|
4670
|
+
const JsonValueRemoteCodec$schema5 = union([
|
|
4671
|
+
literal(null),
|
|
4672
|
+
string(),
|
|
4673
|
+
number(),
|
|
4674
|
+
literal(false),
|
|
4675
|
+
literal(true),
|
|
4676
|
+
array(lazy(() => JsonValueRemoteCodec$schema5)),
|
|
4677
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema5))
|
|
4678
|
+
]);
|
|
4679
|
+
const JsonValueRemoteCodec$schema6 = union([
|
|
4680
|
+
literal(null),
|
|
4681
|
+
string(),
|
|
4682
|
+
number(),
|
|
4683
|
+
literal(false),
|
|
4684
|
+
literal(true),
|
|
4685
|
+
array(lazy(() => JsonValueRemoteCodec$schema6)),
|
|
4686
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema6))
|
|
4687
|
+
]);
|
|
4688
|
+
const JsonValueRemoteCodec$schema7 = union([
|
|
4689
|
+
literal(null),
|
|
4690
|
+
string(),
|
|
4691
|
+
number(),
|
|
4692
|
+
literal(false),
|
|
4693
|
+
literal(true),
|
|
4694
|
+
array(lazy(() => JsonValueRemoteCodec$schema7)),
|
|
4695
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema7))
|
|
4696
|
+
]);
|
|
4697
|
+
const _deepseek_ai_dsh_api_settings_controller_credentials_describe_parameter_0$schema = array(string());
|
|
4698
|
+
const _deepseek_ai_dsh_api_settings_controller_credentials_describe_result$schema = record(string(), object({
|
|
4699
|
+
"configured": boolean(),
|
|
4700
|
+
"source": string().optional(),
|
|
4701
|
+
"writable": boolean()
|
|
4702
|
+
}));
|
|
4703
|
+
const _deepseek_ai_dsh_api_settings_controller_credentials_set_parameter_0$schema = string();
|
|
4704
|
+
const _deepseek_ai_dsh_api_settings_controller_credentials_set_parameter_1$schema = string();
|
|
4705
|
+
const _deepseek_ai_dsh_api_settings_controller_credentials_set_result$schema = _void();
|
|
4706
|
+
const _deepseek_ai_dsh_api_settings_controller_credentials_unset_parameter_0$schema = string();
|
|
4707
|
+
const _deepseek_ai_dsh_api_settings_controller_credentials_unset_result$schema = _void();
|
|
4708
|
+
const _deepseek_ai_dsh_api_settings_controller_settings_canOpenAgentPresetDirectory_result$schema = boolean();
|
|
4709
|
+
const _deepseek_ai_dsh_api_settings_controller_settings_describe_result$schema = object({
|
|
4710
|
+
"writable": boolean(),
|
|
4711
|
+
"hasDocument": boolean(),
|
|
4712
|
+
"namespaces": array(object({
|
|
4713
|
+
"ns": string(),
|
|
4714
|
+
"schema": union([
|
|
4715
|
+
literal(null),
|
|
4716
|
+
string(),
|
|
4717
|
+
number(),
|
|
4718
|
+
literal(false),
|
|
4719
|
+
literal(true),
|
|
4720
|
+
array(lazy(() => JsonValueRemoteCodec$schema$2)),
|
|
4721
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema$2))
|
|
4722
|
+
]),
|
|
4723
|
+
"value": union([
|
|
4724
|
+
literal(null),
|
|
4725
|
+
string(),
|
|
4726
|
+
number(),
|
|
4727
|
+
literal(false),
|
|
4728
|
+
literal(true),
|
|
4729
|
+
array(lazy(() => JsonValueRemoteCodec$schema$2)),
|
|
4730
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema$2))
|
|
4731
|
+
]),
|
|
4732
|
+
"base": union([
|
|
4733
|
+
literal(null),
|
|
4734
|
+
string(),
|
|
4735
|
+
number(),
|
|
4736
|
+
literal(false),
|
|
4737
|
+
literal(true),
|
|
4738
|
+
array(lazy(() => JsonValueRemoteCodec$schema$2)),
|
|
4739
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema$2))
|
|
4740
|
+
]).optional(),
|
|
4741
|
+
"user": union([
|
|
4742
|
+
literal(null),
|
|
4743
|
+
string(),
|
|
4744
|
+
number(),
|
|
4745
|
+
literal(false),
|
|
4746
|
+
literal(true),
|
|
4747
|
+
array(lazy(() => JsonValueRemoteCodec$schema$2)),
|
|
4748
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema$2))
|
|
4749
|
+
]).optional(),
|
|
4750
|
+
"applies": union([literal("live"), literal("restart")]),
|
|
4751
|
+
"secrets": array(object({
|
|
4752
|
+
"path": array(string()),
|
|
4753
|
+
"set": boolean()
|
|
4754
|
+
})),
|
|
4755
|
+
"revision": number()
|
|
4756
|
+
}))
|
|
4413
4757
|
});
|
|
4414
|
-
const
|
|
4415
|
-
|
|
4416
|
-
"
|
|
4417
|
-
"
|
|
4418
|
-
"
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
literal(
|
|
4423
|
-
literal(
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4758
|
+
const _deepseek_ai_dsh_api_settings_controller_settings_mutate_parameter_0$schema = string();
|
|
4759
|
+
const _deepseek_ai_dsh_api_settings_controller_settings_mutate_parameter_1$schema = array(union([object({
|
|
4760
|
+
"op": literal("set"),
|
|
4761
|
+
"path": array(string()),
|
|
4762
|
+
"value": union([
|
|
4763
|
+
literal(null),
|
|
4764
|
+
string(),
|
|
4765
|
+
number(),
|
|
4766
|
+
literal(false),
|
|
4767
|
+
literal(true),
|
|
4768
|
+
array(lazy(() => JsonValueRemoteCodec$schema6)),
|
|
4769
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema6))
|
|
4770
|
+
])
|
|
4771
|
+
}), object({
|
|
4772
|
+
"op": literal("unset"),
|
|
4773
|
+
"path": array(string())
|
|
4774
|
+
})]));
|
|
4775
|
+
const _deepseek_ai_dsh_api_settings_controller_settings_mutate_parameter_2$schema = union([_undefined(), number()]);
|
|
4776
|
+
const _deepseek_ai_dsh_api_settings_controller_settings_mutate_result$schema = object({
|
|
4777
|
+
"ns": string(),
|
|
4778
|
+
"schema": union([
|
|
4779
|
+
literal(null),
|
|
4780
|
+
string(),
|
|
4781
|
+
number(),
|
|
4782
|
+
literal(false),
|
|
4783
|
+
literal(true),
|
|
4784
|
+
array(lazy(() => JsonValueRemoteCodec$schema7)),
|
|
4785
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema7))
|
|
4786
|
+
]),
|
|
4787
|
+
"value": union([
|
|
4788
|
+
literal(null),
|
|
4789
|
+
string(),
|
|
4790
|
+
number(),
|
|
4791
|
+
literal(false),
|
|
4792
|
+
literal(true),
|
|
4793
|
+
array(lazy(() => JsonValueRemoteCodec$schema7)),
|
|
4794
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema7))
|
|
4795
|
+
]),
|
|
4796
|
+
"base": union([
|
|
4797
|
+
literal(null),
|
|
4798
|
+
string(),
|
|
4799
|
+
number(),
|
|
4800
|
+
literal(false),
|
|
4801
|
+
literal(true),
|
|
4802
|
+
array(lazy(() => JsonValueRemoteCodec$schema7)),
|
|
4803
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema7))
|
|
4804
|
+
]).optional(),
|
|
4805
|
+
"user": union([
|
|
4806
|
+
literal(null),
|
|
4807
|
+
string(),
|
|
4808
|
+
number(),
|
|
4809
|
+
literal(false),
|
|
4810
|
+
literal(true),
|
|
4811
|
+
array(lazy(() => JsonValueRemoteCodec$schema7)),
|
|
4812
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema7))
|
|
4813
|
+
]).optional(),
|
|
4814
|
+
"applies": union([literal("live"), literal("restart")]),
|
|
4815
|
+
"secrets": array(object({
|
|
4816
|
+
"path": array(string()),
|
|
4817
|
+
"set": boolean()
|
|
4818
|
+
})),
|
|
4819
|
+
"revision": number()
|
|
4433
4820
|
});
|
|
4434
|
-
const
|
|
4435
|
-
const
|
|
4436
|
-
"
|
|
4437
|
-
"
|
|
4438
|
-
});
|
|
4439
|
-
const
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
"
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
"
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
literal(
|
|
4485
|
-
literal(
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
]).
|
|
4489
|
-
"
|
|
4490
|
-
|
|
4491
|
-
"
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
"
|
|
4495
|
-
"revision": number().readonly()
|
|
4496
|
-
});
|
|
4497
|
-
const _deepseek_ai_dsh_goal_goals_resume_parameter_0$schema = intersection(string(), unknown());
|
|
4498
|
-
const _deepseek_ai_dsh_goal_goals_resume_parameter_1$schema = object({
|
|
4499
|
-
"id": intersection(string(), unknown()).readonly(),
|
|
4500
|
-
"revision": number().readonly()
|
|
4821
|
+
const _deepseek_ai_dsh_api_settings_controller_settings_openAgentPresetDirectory_parameter_0$schema = string();
|
|
4822
|
+
const _deepseek_ai_dsh_api_settings_controller_settings_openAgentPresetDirectory_result$schema = union([object({ "opened": literal(true).readonly() }), object({
|
|
4823
|
+
"opened": literal(false).readonly(),
|
|
4824
|
+
"path": string().readonly()
|
|
4825
|
+
})]);
|
|
4826
|
+
const _deepseek_ai_dsh_api_settings_controller_settings_openSettingsDocument_result$schema = object({ "opened": literal(true).readonly() });
|
|
4827
|
+
const _deepseek_ai_dsh_api_settings_controller_settings_replace_parameter_0$schema = string();
|
|
4828
|
+
const _deepseek_ai_dsh_api_settings_controller_settings_replace_parameter_1$schema = record(string(), union([
|
|
4829
|
+
literal(null),
|
|
4830
|
+
string(),
|
|
4831
|
+
number(),
|
|
4832
|
+
literal(false),
|
|
4833
|
+
literal(true),
|
|
4834
|
+
array(lazy(() => JsonValueRemoteCodec$schema4$2)),
|
|
4835
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema4$2))
|
|
4836
|
+
]));
|
|
4837
|
+
const _deepseek_ai_dsh_api_settings_controller_settings_replace_parameter_2$schema = union([_undefined(), number()]);
|
|
4838
|
+
const _deepseek_ai_dsh_api_settings_controller_settings_replace_result$schema = object({
|
|
4839
|
+
"ns": string(),
|
|
4840
|
+
"schema": union([
|
|
4841
|
+
literal(null),
|
|
4842
|
+
string(),
|
|
4843
|
+
number(),
|
|
4844
|
+
literal(false),
|
|
4845
|
+
literal(true),
|
|
4846
|
+
array(lazy(() => JsonValueRemoteCodec$schema5)),
|
|
4847
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema5))
|
|
4848
|
+
]),
|
|
4849
|
+
"value": union([
|
|
4850
|
+
literal(null),
|
|
4851
|
+
string(),
|
|
4852
|
+
number(),
|
|
4853
|
+
literal(false),
|
|
4854
|
+
literal(true),
|
|
4855
|
+
array(lazy(() => JsonValueRemoteCodec$schema5)),
|
|
4856
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema5))
|
|
4857
|
+
]),
|
|
4858
|
+
"base": union([
|
|
4859
|
+
literal(null),
|
|
4860
|
+
string(),
|
|
4861
|
+
number(),
|
|
4862
|
+
literal(false),
|
|
4863
|
+
literal(true),
|
|
4864
|
+
array(lazy(() => JsonValueRemoteCodec$schema5)),
|
|
4865
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema5))
|
|
4866
|
+
]).optional(),
|
|
4867
|
+
"user": union([
|
|
4868
|
+
literal(null),
|
|
4869
|
+
string(),
|
|
4870
|
+
number(),
|
|
4871
|
+
literal(false),
|
|
4872
|
+
literal(true),
|
|
4873
|
+
array(lazy(() => JsonValueRemoteCodec$schema5)),
|
|
4874
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema5))
|
|
4875
|
+
]).optional(),
|
|
4876
|
+
"applies": union([literal("live"), literal("restart")]),
|
|
4877
|
+
"secrets": array(object({
|
|
4878
|
+
"path": array(string()),
|
|
4879
|
+
"set": boolean()
|
|
4880
|
+
})),
|
|
4881
|
+
"revision": number()
|
|
4501
4882
|
});
|
|
4502
|
-
const
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
"
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4883
|
+
const _deepseek_ai_dsh_api_settings_controller_settings_update_parameter_0$schema = string();
|
|
4884
|
+
const _deepseek_ai_dsh_api_settings_controller_settings_update_parameter_1$schema = record(string(), union([
|
|
4885
|
+
literal(null),
|
|
4886
|
+
string(),
|
|
4887
|
+
number(),
|
|
4888
|
+
literal(false),
|
|
4889
|
+
literal(true),
|
|
4890
|
+
array(lazy(() => JsonValueRemoteCodec$schema2$2)),
|
|
4891
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema2$2))
|
|
4892
|
+
]));
|
|
4893
|
+
const _deepseek_ai_dsh_api_settings_controller_settings_update_parameter_2$schema = union([_undefined(), number()]);
|
|
4894
|
+
const _deepseek_ai_dsh_api_settings_controller_settings_update_result$schema = object({
|
|
4895
|
+
"ns": string(),
|
|
4896
|
+
"schema": union([
|
|
4897
|
+
literal(null),
|
|
4898
|
+
string(),
|
|
4899
|
+
number(),
|
|
4900
|
+
literal(false),
|
|
4901
|
+
literal(true),
|
|
4902
|
+
array(lazy(() => JsonValueRemoteCodec$schema3$2)),
|
|
4903
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3$2))
|
|
4904
|
+
]),
|
|
4905
|
+
"value": union([
|
|
4906
|
+
literal(null),
|
|
4907
|
+
string(),
|
|
4908
|
+
number(),
|
|
4909
|
+
literal(false),
|
|
4910
|
+
literal(true),
|
|
4911
|
+
array(lazy(() => JsonValueRemoteCodec$schema3$2)),
|
|
4912
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3$2))
|
|
4913
|
+
]),
|
|
4914
|
+
"base": union([
|
|
4915
|
+
literal(null),
|
|
4916
|
+
string(),
|
|
4917
|
+
number(),
|
|
4918
|
+
literal(false),
|
|
4919
|
+
literal(true),
|
|
4920
|
+
array(lazy(() => JsonValueRemoteCodec$schema3$2)),
|
|
4921
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3$2))
|
|
4922
|
+
]).optional(),
|
|
4923
|
+
"user": union([
|
|
4924
|
+
literal(null),
|
|
4925
|
+
string(),
|
|
4926
|
+
number(),
|
|
4927
|
+
literal(false),
|
|
4928
|
+
literal(true),
|
|
4929
|
+
array(lazy(() => JsonValueRemoteCodec$schema3$2)),
|
|
4930
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3$2))
|
|
4931
|
+
]).optional(),
|
|
4932
|
+
"applies": union([literal("live"), literal("restart")]),
|
|
4933
|
+
"secrets": array(object({
|
|
4934
|
+
"path": array(string()),
|
|
4935
|
+
"set": boolean()
|
|
4936
|
+
})),
|
|
4937
|
+
"revision": number()
|
|
4521
4938
|
});
|
|
4522
|
-
const TYPERT_REMOTE$
|
|
4523
|
-
package: "@deepseek-ai/dsh-
|
|
4939
|
+
const TYPERT_REMOTE$9 = {
|
|
4940
|
+
package: "@deepseek-ai/dsh-api-settings-controller",
|
|
4524
4941
|
descriptors: [
|
|
4525
4942
|
{
|
|
4526
|
-
id: "@deepseek-ai/dsh-
|
|
4527
|
-
service: "
|
|
4528
|
-
namespace: "
|
|
4529
|
-
method: "
|
|
4943
|
+
id: "@deepseek-ai/dsh-api-settings-controller#credentials/describe",
|
|
4944
|
+
service: "credentialsController",
|
|
4945
|
+
namespace: "credentials",
|
|
4946
|
+
method: "describe",
|
|
4530
4947
|
invocation: { kind: "direct" },
|
|
4531
|
-
scope: {
|
|
4532
|
-
context: "agent",
|
|
4533
|
-
wire: "agentId"
|
|
4534
|
-
},
|
|
4535
4948
|
parameters: [{
|
|
4536
|
-
name: "
|
|
4537
|
-
wire: "
|
|
4538
|
-
source: "lookup",
|
|
4539
|
-
lookup: "agent",
|
|
4540
|
-
codec: {
|
|
4541
|
-
mode: "strict",
|
|
4542
|
-
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
4543
|
-
schema: _deepseek_ai_dsh_goal_goals_clear_parameter_0$schema
|
|
4544
|
-
}
|
|
4545
|
-
}, {
|
|
4546
|
-
name: "ref",
|
|
4547
|
-
wire: "ref",
|
|
4949
|
+
name: "refs",
|
|
4950
|
+
wire: "refs",
|
|
4548
4951
|
source: "json",
|
|
4549
4952
|
codec: {
|
|
4550
4953
|
mode: "strict",
|
|
4551
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
4552
|
-
schema:
|
|
4954
|
+
typeSymbol: "@deepseek-ai/dsh-api-settings-controller#credentials/describe:refs",
|
|
4955
|
+
schema: _deepseek_ai_dsh_api_settings_controller_credentials_describe_parameter_0$schema
|
|
4553
4956
|
}
|
|
4554
4957
|
}],
|
|
4555
4958
|
result: {
|
|
4556
4959
|
mode: "strict",
|
|
4557
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
4558
|
-
schema:
|
|
4960
|
+
typeSymbol: "@deepseek-ai/dsh-api-settings-controller#credentials/describe:result",
|
|
4961
|
+
schema: _deepseek_ai_dsh_api_settings_controller_credentials_describe_result$schema
|
|
4559
4962
|
},
|
|
4560
4963
|
sourceLocation: {
|
|
4561
|
-
"file": "packages/
|
|
4562
|
-
"line":
|
|
4563
|
-
"column":
|
|
4964
|
+
"file": "packages/api/settings-controller/src/credentials.ts",
|
|
4965
|
+
"line": 83,
|
|
4966
|
+
"column": 9
|
|
4564
4967
|
}
|
|
4565
4968
|
},
|
|
4566
4969
|
{
|
|
4567
|
-
id: "@deepseek-ai/dsh-
|
|
4568
|
-
service: "
|
|
4569
|
-
namespace: "
|
|
4570
|
-
method: "
|
|
4970
|
+
id: "@deepseek-ai/dsh-api-settings-controller#credentials/set",
|
|
4971
|
+
service: "credentialsController",
|
|
4972
|
+
namespace: "credentials",
|
|
4973
|
+
method: "set",
|
|
4571
4974
|
invocation: { kind: "direct" },
|
|
4572
|
-
scope: {
|
|
4573
|
-
context: "agent",
|
|
4574
|
-
wire: "agentId"
|
|
4575
|
-
},
|
|
4576
4975
|
parameters: [{
|
|
4577
|
-
name: "
|
|
4578
|
-
wire: "
|
|
4579
|
-
source: "
|
|
4580
|
-
lookup: "agent",
|
|
4976
|
+
name: "ref",
|
|
4977
|
+
wire: "ref",
|
|
4978
|
+
source: "json",
|
|
4581
4979
|
codec: {
|
|
4582
4980
|
mode: "strict",
|
|
4583
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
4584
|
-
schema:
|
|
4981
|
+
typeSymbol: "@deepseek-ai/dsh-api-settings-controller#credentials/set:ref",
|
|
4982
|
+
schema: _deepseek_ai_dsh_api_settings_controller_credentials_set_parameter_0$schema
|
|
4585
4983
|
}
|
|
4586
4984
|
}, {
|
|
4587
|
-
name: "
|
|
4588
|
-
wire: "
|
|
4985
|
+
name: "value",
|
|
4986
|
+
wire: "value",
|
|
4589
4987
|
source: "json",
|
|
4590
4988
|
codec: {
|
|
4591
4989
|
mode: "strict",
|
|
4592
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
4593
|
-
schema:
|
|
4990
|
+
typeSymbol: "@deepseek-ai/dsh-api-settings-controller#credentials/set:value",
|
|
4991
|
+
schema: _deepseek_ai_dsh_api_settings_controller_credentials_set_parameter_1$schema
|
|
4594
4992
|
}
|
|
4595
4993
|
}],
|
|
4596
4994
|
result: {
|
|
4597
4995
|
mode: "strict",
|
|
4598
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
4599
|
-
schema:
|
|
4996
|
+
typeSymbol: "@deepseek-ai/dsh-api-settings-controller#credentials/set:result",
|
|
4997
|
+
schema: _deepseek_ai_dsh_api_settings_controller_credentials_set_result$schema
|
|
4600
4998
|
},
|
|
4601
4999
|
sourceLocation: {
|
|
4602
|
-
"file": "packages/
|
|
4603
|
-
"line":
|
|
4604
|
-
"column":
|
|
5000
|
+
"file": "packages/api/settings-controller/src/credentials.ts",
|
|
5001
|
+
"line": 100,
|
|
5002
|
+
"column": 9
|
|
4605
5003
|
}
|
|
4606
5004
|
},
|
|
4607
5005
|
{
|
|
4608
|
-
id: "@deepseek-ai/dsh-
|
|
4609
|
-
service: "
|
|
4610
|
-
namespace: "
|
|
4611
|
-
method: "
|
|
4612
|
-
implementation: "remoteExportCreate",
|
|
5006
|
+
id: "@deepseek-ai/dsh-api-settings-controller#credentials/unset",
|
|
5007
|
+
service: "credentialsController",
|
|
5008
|
+
namespace: "credentials",
|
|
5009
|
+
method: "unset",
|
|
4613
5010
|
invocation: { kind: "direct" },
|
|
4614
|
-
scope: {
|
|
4615
|
-
context: "agent",
|
|
4616
|
-
wire: "agentId"
|
|
4617
|
-
},
|
|
4618
5011
|
parameters: [{
|
|
4619
|
-
name: "
|
|
4620
|
-
wire: "
|
|
4621
|
-
source: "lookup",
|
|
4622
|
-
lookup: "agent",
|
|
4623
|
-
codec: {
|
|
4624
|
-
mode: "strict",
|
|
4625
|
-
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
4626
|
-
schema: _deepseek_ai_dsh_goal_goals_create_parameter_0$schema
|
|
4627
|
-
}
|
|
4628
|
-
}, {
|
|
4629
|
-
name: "request",
|
|
4630
|
-
wire: "request",
|
|
5012
|
+
name: "ref",
|
|
5013
|
+
wire: "ref",
|
|
4631
5014
|
source: "json",
|
|
4632
5015
|
codec: {
|
|
4633
5016
|
mode: "strict",
|
|
4634
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
4635
|
-
schema:
|
|
5017
|
+
typeSymbol: "@deepseek-ai/dsh-api-settings-controller#credentials/unset:ref",
|
|
5018
|
+
schema: _deepseek_ai_dsh_api_settings_controller_credentials_unset_parameter_0$schema
|
|
4636
5019
|
}
|
|
4637
5020
|
}],
|
|
4638
5021
|
result: {
|
|
4639
5022
|
mode: "strict",
|
|
4640
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
4641
|
-
schema:
|
|
5023
|
+
typeSymbol: "@deepseek-ai/dsh-api-settings-controller#credentials/unset:result",
|
|
5024
|
+
schema: _deepseek_ai_dsh_api_settings_controller_credentials_unset_result$schema
|
|
4642
5025
|
},
|
|
4643
5026
|
sourceLocation: {
|
|
4644
|
-
"file": "packages/
|
|
4645
|
-
"line":
|
|
5027
|
+
"file": "packages/api/settings-controller/src/credentials.ts",
|
|
5028
|
+
"line": 113,
|
|
5029
|
+
"column": 9
|
|
5030
|
+
}
|
|
5031
|
+
},
|
|
5032
|
+
{
|
|
5033
|
+
id: "@deepseek-ai/dsh-api-settings-controller#settings/canOpenAgentPresetDirectory",
|
|
5034
|
+
service: "settingsController",
|
|
5035
|
+
namespace: "settings",
|
|
5036
|
+
method: "canOpenAgentPresetDirectory",
|
|
5037
|
+
invocation: { kind: "direct" },
|
|
5038
|
+
parameters: [],
|
|
5039
|
+
result: {
|
|
5040
|
+
mode: "strict",
|
|
5041
|
+
typeSymbol: "@deepseek-ai/dsh-api-settings-controller#settings/canOpenAgentPresetDirectory:result",
|
|
5042
|
+
schema: _deepseek_ai_dsh_api_settings_controller_settings_canOpenAgentPresetDirectory_result$schema
|
|
5043
|
+
},
|
|
5044
|
+
sourceLocation: {
|
|
5045
|
+
"file": "packages/api/settings-controller/src/index.ts",
|
|
5046
|
+
"line": 131,
|
|
4646
5047
|
"column": 3
|
|
4647
5048
|
}
|
|
4648
5049
|
},
|
|
4649
5050
|
{
|
|
4650
|
-
id: "@deepseek-ai/dsh-
|
|
4651
|
-
service: "
|
|
4652
|
-
namespace: "
|
|
4653
|
-
method: "
|
|
5051
|
+
id: "@deepseek-ai/dsh-api-settings-controller#settings/describe",
|
|
5052
|
+
service: "settingsController",
|
|
5053
|
+
namespace: "settings",
|
|
5054
|
+
method: "describe",
|
|
4654
5055
|
invocation: { kind: "direct" },
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
5056
|
+
parameters: [],
|
|
5057
|
+
result: {
|
|
5058
|
+
mode: "strict",
|
|
5059
|
+
typeSymbol: "@deepseek-ai/dsh-settings/types#SettingsDescribeValue",
|
|
5060
|
+
schema: _deepseek_ai_dsh_api_settings_controller_settings_describe_result$schema
|
|
4658
5061
|
},
|
|
5062
|
+
sourceLocation: {
|
|
5063
|
+
"file": "packages/api/settings-controller/src/index.ts",
|
|
5064
|
+
"line": 117,
|
|
5065
|
+
"column": 3
|
|
5066
|
+
}
|
|
5067
|
+
},
|
|
5068
|
+
{
|
|
5069
|
+
id: "@deepseek-ai/dsh-api-settings-controller#settings/mutate",
|
|
5070
|
+
service: "settingsController",
|
|
5071
|
+
namespace: "settings",
|
|
5072
|
+
method: "mutate",
|
|
5073
|
+
invocation: { kind: "direct" },
|
|
4659
5074
|
parameters: [
|
|
4660
5075
|
{
|
|
4661
|
-
name: "
|
|
4662
|
-
wire: "
|
|
4663
|
-
source: "
|
|
4664
|
-
lookup: "agent",
|
|
5076
|
+
name: "ns",
|
|
5077
|
+
wire: "ns",
|
|
5078
|
+
source: "json",
|
|
4665
5079
|
codec: {
|
|
4666
5080
|
mode: "strict",
|
|
4667
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
4668
|
-
schema:
|
|
5081
|
+
typeSymbol: "@deepseek-ai/dsh-api-settings-controller#settings/mutate:ns",
|
|
5082
|
+
schema: _deepseek_ai_dsh_api_settings_controller_settings_mutate_parameter_0$schema
|
|
4669
5083
|
}
|
|
4670
5084
|
},
|
|
4671
5085
|
{
|
|
4672
|
-
name: "
|
|
4673
|
-
wire: "
|
|
5086
|
+
name: "ops",
|
|
5087
|
+
wire: "ops",
|
|
4674
5088
|
source: "json",
|
|
4675
5089
|
codec: {
|
|
4676
5090
|
mode: "strict",
|
|
4677
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
4678
|
-
schema:
|
|
5091
|
+
typeSymbol: "@deepseek-ai/dsh-api-settings-controller#settings/mutate:ops",
|
|
5092
|
+
schema: _deepseek_ai_dsh_api_settings_controller_settings_mutate_parameter_1$schema
|
|
4679
5093
|
}
|
|
4680
5094
|
},
|
|
4681
5095
|
{
|
|
4682
|
-
name: "
|
|
4683
|
-
wire: "
|
|
5096
|
+
name: "expectedRevision",
|
|
5097
|
+
wire: "expectedRevision",
|
|
4684
5098
|
source: "json",
|
|
5099
|
+
acceptsUndefined: true,
|
|
4685
5100
|
codec: {
|
|
4686
5101
|
mode: "strict",
|
|
4687
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
4688
|
-
schema:
|
|
5102
|
+
typeSymbol: "@deepseek-ai/dsh-api-settings-controller#settings/mutate:expectedRevision",
|
|
5103
|
+
schema: _deepseek_ai_dsh_api_settings_controller_settings_mutate_parameter_2$schema
|
|
4689
5104
|
}
|
|
4690
5105
|
}
|
|
4691
5106
|
],
|
|
4692
5107
|
result: {
|
|
4693
5108
|
mode: "strict",
|
|
4694
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
4695
|
-
schema:
|
|
5109
|
+
typeSymbol: "@deepseek-ai/dsh-settings/types#SettingsNamespaceView",
|
|
5110
|
+
schema: _deepseek_ai_dsh_api_settings_controller_settings_mutate_result$schema
|
|
4696
5111
|
},
|
|
4697
5112
|
sourceLocation: {
|
|
4698
|
-
"file": "packages/
|
|
4699
|
-
"line":
|
|
5113
|
+
"file": "packages/api/settings-controller/src/index.ts",
|
|
5114
|
+
"line": 180,
|
|
5115
|
+
"column": 9
|
|
5116
|
+
}
|
|
5117
|
+
},
|
|
5118
|
+
{
|
|
5119
|
+
id: "@deepseek-ai/dsh-api-settings-controller#settings/openAgentPresetDirectory",
|
|
5120
|
+
service: "settingsController",
|
|
5121
|
+
namespace: "settings",
|
|
5122
|
+
method: "openAgentPresetDirectory",
|
|
5123
|
+
invocation: { kind: "direct" },
|
|
5124
|
+
parameters: [{
|
|
5125
|
+
name: "agentPreset",
|
|
5126
|
+
wire: "agentPreset",
|
|
5127
|
+
source: "json",
|
|
5128
|
+
codec: {
|
|
5129
|
+
mode: "strict",
|
|
5130
|
+
typeSymbol: "@deepseek-ai/dsh-api-settings-controller#settings/openAgentPresetDirectory:agentPreset",
|
|
5131
|
+
schema: _deepseek_ai_dsh_api_settings_controller_settings_openAgentPresetDirectory_parameter_0$schema
|
|
5132
|
+
}
|
|
5133
|
+
}],
|
|
5134
|
+
cancellation: { parameter: "signal" },
|
|
5135
|
+
result: {
|
|
5136
|
+
mode: "strict",
|
|
5137
|
+
typeSymbol: "@deepseek-ai/dsh-api-settings-controller/types#AgentPresetDirectoryOpenValue",
|
|
5138
|
+
schema: _deepseek_ai_dsh_api_settings_controller_settings_openAgentPresetDirectory_result$schema
|
|
5139
|
+
},
|
|
5140
|
+
sourceLocation: {
|
|
5141
|
+
"file": "packages/api/settings-controller/src/index.ts",
|
|
5142
|
+
"line": 226,
|
|
5143
|
+
"column": 9
|
|
5144
|
+
}
|
|
5145
|
+
},
|
|
5146
|
+
{
|
|
5147
|
+
id: "@deepseek-ai/dsh-api-settings-controller#settings/openSettingsDocument",
|
|
5148
|
+
service: "settingsController",
|
|
5149
|
+
namespace: "settings",
|
|
5150
|
+
method: "openSettingsDocument",
|
|
5151
|
+
invocation: { kind: "direct" },
|
|
5152
|
+
parameters: [],
|
|
5153
|
+
cancellation: { parameter: "signal" },
|
|
5154
|
+
result: {
|
|
5155
|
+
mode: "strict",
|
|
5156
|
+
typeSymbol: "@deepseek-ai/dsh-api-settings-controller/types#SettingsDocumentOpenValue",
|
|
5157
|
+
schema: _deepseek_ai_dsh_api_settings_controller_settings_openSettingsDocument_result$schema
|
|
5158
|
+
},
|
|
5159
|
+
sourceLocation: {
|
|
5160
|
+
"file": "packages/api/settings-controller/src/index.ts",
|
|
5161
|
+
"line": 195,
|
|
5162
|
+
"column": 9
|
|
5163
|
+
}
|
|
5164
|
+
},
|
|
5165
|
+
{
|
|
5166
|
+
id: "@deepseek-ai/dsh-api-settings-controller#settings/replace",
|
|
5167
|
+
service: "settingsController",
|
|
5168
|
+
namespace: "settings",
|
|
5169
|
+
method: "replace",
|
|
5170
|
+
invocation: { kind: "direct" },
|
|
5171
|
+
parameters: [
|
|
5172
|
+
{
|
|
5173
|
+
name: "ns",
|
|
5174
|
+
wire: "ns",
|
|
5175
|
+
source: "json",
|
|
5176
|
+
codec: {
|
|
5177
|
+
mode: "strict",
|
|
5178
|
+
typeSymbol: "@deepseek-ai/dsh-api-settings-controller#settings/replace:ns",
|
|
5179
|
+
schema: _deepseek_ai_dsh_api_settings_controller_settings_replace_parameter_0$schema
|
|
5180
|
+
}
|
|
5181
|
+
},
|
|
5182
|
+
{
|
|
5183
|
+
name: "section",
|
|
5184
|
+
wire: "section",
|
|
5185
|
+
source: "json",
|
|
5186
|
+
codec: {
|
|
5187
|
+
mode: "strict",
|
|
5188
|
+
typeSymbol: "@deepseek-ai/dsh-api-settings-controller#settings/replace:section",
|
|
5189
|
+
schema: _deepseek_ai_dsh_api_settings_controller_settings_replace_parameter_1$schema
|
|
5190
|
+
}
|
|
5191
|
+
},
|
|
5192
|
+
{
|
|
5193
|
+
name: "expectedRevision",
|
|
5194
|
+
wire: "expectedRevision",
|
|
5195
|
+
source: "json",
|
|
5196
|
+
acceptsUndefined: true,
|
|
5197
|
+
codec: {
|
|
5198
|
+
mode: "strict",
|
|
5199
|
+
typeSymbol: "@deepseek-ai/dsh-api-settings-controller#settings/replace:expectedRevision",
|
|
5200
|
+
schema: _deepseek_ai_dsh_api_settings_controller_settings_replace_parameter_2$schema
|
|
5201
|
+
}
|
|
5202
|
+
}
|
|
5203
|
+
],
|
|
5204
|
+
result: {
|
|
5205
|
+
mode: "strict",
|
|
5206
|
+
typeSymbol: "@deepseek-ai/dsh-settings/types#SettingsNamespaceView",
|
|
5207
|
+
schema: _deepseek_ai_dsh_api_settings_controller_settings_replace_result$schema
|
|
5208
|
+
},
|
|
5209
|
+
sourceLocation: {
|
|
5210
|
+
"file": "packages/api/settings-controller/src/index.ts",
|
|
5211
|
+
"line": 161,
|
|
4700
5212
|
"column": 3
|
|
4701
5213
|
}
|
|
4702
5214
|
},
|
|
4703
5215
|
{
|
|
4704
|
-
id: "@deepseek-ai/dsh-
|
|
5216
|
+
id: "@deepseek-ai/dsh-api-settings-controller#settings/update",
|
|
5217
|
+
service: "settingsController",
|
|
5218
|
+
namespace: "settings",
|
|
5219
|
+
method: "update",
|
|
5220
|
+
invocation: { kind: "direct" },
|
|
5221
|
+
parameters: [
|
|
5222
|
+
{
|
|
5223
|
+
name: "ns",
|
|
5224
|
+
wire: "ns",
|
|
5225
|
+
source: "json",
|
|
5226
|
+
codec: {
|
|
5227
|
+
mode: "strict",
|
|
5228
|
+
typeSymbol: "@deepseek-ai/dsh-api-settings-controller#settings/update:ns",
|
|
5229
|
+
schema: _deepseek_ai_dsh_api_settings_controller_settings_update_parameter_0$schema
|
|
5230
|
+
}
|
|
5231
|
+
},
|
|
5232
|
+
{
|
|
5233
|
+
name: "patch",
|
|
5234
|
+
wire: "patch",
|
|
5235
|
+
source: "json",
|
|
5236
|
+
codec: {
|
|
5237
|
+
mode: "strict",
|
|
5238
|
+
typeSymbol: "@deepseek-ai/dsh-api-settings-controller#settings/update:patch",
|
|
5239
|
+
schema: _deepseek_ai_dsh_api_settings_controller_settings_update_parameter_1$schema
|
|
5240
|
+
}
|
|
5241
|
+
},
|
|
5242
|
+
{
|
|
5243
|
+
name: "expectedRevision",
|
|
5244
|
+
wire: "expectedRevision",
|
|
5245
|
+
source: "json",
|
|
5246
|
+
acceptsUndefined: true,
|
|
5247
|
+
codec: {
|
|
5248
|
+
mode: "strict",
|
|
5249
|
+
typeSymbol: "@deepseek-ai/dsh-api-settings-controller#settings/update:expectedRevision",
|
|
5250
|
+
schema: _deepseek_ai_dsh_api_settings_controller_settings_update_parameter_2$schema
|
|
5251
|
+
}
|
|
5252
|
+
}
|
|
5253
|
+
],
|
|
5254
|
+
result: {
|
|
5255
|
+
mode: "strict",
|
|
5256
|
+
typeSymbol: "@deepseek-ai/dsh-settings/types#SettingsNamespaceView",
|
|
5257
|
+
schema: _deepseek_ai_dsh_api_settings_controller_settings_update_result$schema
|
|
5258
|
+
},
|
|
5259
|
+
sourceLocation: {
|
|
5260
|
+
"file": "packages/api/settings-controller/src/index.ts",
|
|
5261
|
+
"line": 144,
|
|
5262
|
+
"column": 3
|
|
5263
|
+
}
|
|
5264
|
+
}
|
|
5265
|
+
]
|
|
5266
|
+
};
|
|
5267
|
+
//#endregion
|
|
5268
|
+
//#region ../../goal/goal/lib/typert.remote-client.js
|
|
5269
|
+
const _deepseek_ai_dsh_goal_goals_clear_parameter_0$schema = intersection(string(), unknown());
|
|
5270
|
+
const _deepseek_ai_dsh_goal_goals_clear_parameter_1$schema = object({
|
|
5271
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
5272
|
+
"revision": number().readonly()
|
|
5273
|
+
});
|
|
5274
|
+
const _deepseek_ai_dsh_goal_goals_clear_result$schema = object({
|
|
5275
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
5276
|
+
"revision": number().readonly()
|
|
5277
|
+
});
|
|
5278
|
+
const _deepseek_ai_dsh_goal_goals_complete_parameter_0$schema = intersection(string(), unknown());
|
|
5279
|
+
const _deepseek_ai_dsh_goal_goals_complete_parameter_1$schema = object({
|
|
5280
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
5281
|
+
"revision": number().readonly()
|
|
5282
|
+
});
|
|
5283
|
+
const _deepseek_ai_dsh_goal_goals_complete_result$schema = object({
|
|
5284
|
+
"roundsStarted": number().readonly(),
|
|
5285
|
+
"createdAt": number().readonly(),
|
|
5286
|
+
"updatedAt": number().readonly(),
|
|
5287
|
+
"activation": union([literal("armed"), literal("disarmed")]).readonly(),
|
|
5288
|
+
"objective": string().readonly(),
|
|
5289
|
+
"phase": union([
|
|
5290
|
+
literal("active"),
|
|
5291
|
+
literal("paused"),
|
|
5292
|
+
literal("blocked"),
|
|
5293
|
+
literal("complete")
|
|
5294
|
+
]).readonly(),
|
|
5295
|
+
"blockedReason": object({
|
|
5296
|
+
"code": string().readonly(),
|
|
5297
|
+
"message": string().readonly()
|
|
5298
|
+
}).readonly().optional(),
|
|
5299
|
+
"maxGoalRounds": number().readonly(),
|
|
5300
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
5301
|
+
"revision": number().readonly()
|
|
5302
|
+
});
|
|
5303
|
+
const _deepseek_ai_dsh_goal_goals_create_parameter_0$schema = intersection(string(), unknown());
|
|
5304
|
+
const _deepseek_ai_dsh_goal_goals_create_parameter_1$schema = object({
|
|
5305
|
+
"objective": string().readonly(),
|
|
5306
|
+
"maxGoalRounds": number().readonly().optional()
|
|
5307
|
+
});
|
|
5308
|
+
const _deepseek_ai_dsh_goal_goals_create_result$schema = object({ "ref": object({
|
|
5309
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
5310
|
+
"revision": number().readonly()
|
|
5311
|
+
}).readonly() });
|
|
5312
|
+
const _deepseek_ai_dsh_goal_goals_edit_parameter_0$schema = intersection(string(), unknown());
|
|
5313
|
+
const _deepseek_ai_dsh_goal_goals_edit_parameter_1$schema = object({
|
|
5314
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
5315
|
+
"revision": number().readonly()
|
|
5316
|
+
});
|
|
5317
|
+
const _deepseek_ai_dsh_goal_goals_edit_parameter_2$schema = object({
|
|
5318
|
+
"objective": string().readonly().optional(),
|
|
5319
|
+
"maxGoalRounds": number().readonly().optional()
|
|
5320
|
+
});
|
|
5321
|
+
const _deepseek_ai_dsh_goal_goals_edit_result$schema = object({
|
|
5322
|
+
"roundsStarted": number().readonly(),
|
|
5323
|
+
"createdAt": number().readonly(),
|
|
5324
|
+
"updatedAt": number().readonly(),
|
|
5325
|
+
"activation": union([literal("armed"), literal("disarmed")]).readonly(),
|
|
5326
|
+
"objective": string().readonly(),
|
|
5327
|
+
"phase": union([
|
|
5328
|
+
literal("active"),
|
|
5329
|
+
literal("paused"),
|
|
5330
|
+
literal("blocked"),
|
|
5331
|
+
literal("complete")
|
|
5332
|
+
]).readonly(),
|
|
5333
|
+
"blockedReason": object({
|
|
5334
|
+
"code": string().readonly(),
|
|
5335
|
+
"message": string().readonly()
|
|
5336
|
+
}).readonly().optional(),
|
|
5337
|
+
"maxGoalRounds": number().readonly(),
|
|
5338
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
5339
|
+
"revision": number().readonly()
|
|
5340
|
+
});
|
|
5341
|
+
const _deepseek_ai_dsh_goal_goals_pause_parameter_0$schema = intersection(string(), unknown());
|
|
5342
|
+
const _deepseek_ai_dsh_goal_goals_pause_parameter_1$schema = object({
|
|
5343
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
5344
|
+
"revision": number().readonly()
|
|
5345
|
+
});
|
|
5346
|
+
const _deepseek_ai_dsh_goal_goals_pause_result$schema = object({
|
|
5347
|
+
"roundsStarted": number().readonly(),
|
|
5348
|
+
"createdAt": number().readonly(),
|
|
5349
|
+
"updatedAt": number().readonly(),
|
|
5350
|
+
"activation": union([literal("armed"), literal("disarmed")]).readonly(),
|
|
5351
|
+
"objective": string().readonly(),
|
|
5352
|
+
"phase": union([
|
|
5353
|
+
literal("active"),
|
|
5354
|
+
literal("paused"),
|
|
5355
|
+
literal("blocked"),
|
|
5356
|
+
literal("complete")
|
|
5357
|
+
]).readonly(),
|
|
5358
|
+
"blockedReason": object({
|
|
5359
|
+
"code": string().readonly(),
|
|
5360
|
+
"message": string().readonly()
|
|
5361
|
+
}).readonly().optional(),
|
|
5362
|
+
"maxGoalRounds": number().readonly(),
|
|
5363
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
5364
|
+
"revision": number().readonly()
|
|
5365
|
+
});
|
|
5366
|
+
const _deepseek_ai_dsh_goal_goals_resume_parameter_0$schema = intersection(string(), unknown());
|
|
5367
|
+
const _deepseek_ai_dsh_goal_goals_resume_parameter_1$schema = object({
|
|
5368
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
5369
|
+
"revision": number().readonly()
|
|
5370
|
+
});
|
|
5371
|
+
const _deepseek_ai_dsh_goal_goals_resume_result$schema = object({
|
|
5372
|
+
"roundsStarted": number().readonly(),
|
|
5373
|
+
"createdAt": number().readonly(),
|
|
5374
|
+
"updatedAt": number().readonly(),
|
|
5375
|
+
"activation": union([literal("armed"), literal("disarmed")]).readonly(),
|
|
5376
|
+
"objective": string().readonly(),
|
|
5377
|
+
"phase": union([
|
|
5378
|
+
literal("active"),
|
|
5379
|
+
literal("paused"),
|
|
5380
|
+
literal("blocked"),
|
|
5381
|
+
literal("complete")
|
|
5382
|
+
]).readonly(),
|
|
5383
|
+
"blockedReason": object({
|
|
5384
|
+
"code": string().readonly(),
|
|
5385
|
+
"message": string().readonly()
|
|
5386
|
+
}).readonly().optional(),
|
|
5387
|
+
"maxGoalRounds": number().readonly(),
|
|
5388
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
5389
|
+
"revision": number().readonly()
|
|
5390
|
+
});
|
|
5391
|
+
const TYPERT_REMOTE$8 = {
|
|
5392
|
+
package: "@deepseek-ai/dsh-goal",
|
|
5393
|
+
descriptors: [
|
|
5394
|
+
{
|
|
5395
|
+
id: "@deepseek-ai/dsh-goal#goals/clear",
|
|
4705
5396
|
service: "goals",
|
|
4706
5397
|
namespace: "goals",
|
|
4707
|
-
method: "
|
|
5398
|
+
method: "clear",
|
|
4708
5399
|
invocation: { kind: "direct" },
|
|
4709
5400
|
scope: {
|
|
4710
5401
|
context: "agent",
|
|
@@ -4718,7 +5409,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4718
5409
|
codec: {
|
|
4719
5410
|
mode: "strict",
|
|
4720
5411
|
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
4721
|
-
schema:
|
|
5412
|
+
schema: _deepseek_ai_dsh_goal_goals_clear_parameter_0$schema
|
|
4722
5413
|
}
|
|
4723
5414
|
}, {
|
|
4724
5415
|
name: "ref",
|
|
@@ -4727,25 +5418,25 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4727
5418
|
codec: {
|
|
4728
5419
|
mode: "strict",
|
|
4729
5420
|
typeSymbol: "@deepseek-ai/dsh-goal/client#GoalRef",
|
|
4730
|
-
schema:
|
|
5421
|
+
schema: _deepseek_ai_dsh_goal_goals_clear_parameter_1$schema
|
|
4731
5422
|
}
|
|
4732
5423
|
}],
|
|
4733
5424
|
result: {
|
|
4734
5425
|
mode: "strict",
|
|
4735
|
-
typeSymbol: "@deepseek-ai/dsh-goal/client#
|
|
4736
|
-
schema:
|
|
5426
|
+
typeSymbol: "@deepseek-ai/dsh-goal/client#GoalRef",
|
|
5427
|
+
schema: _deepseek_ai_dsh_goal_goals_clear_result$schema
|
|
4737
5428
|
},
|
|
4738
5429
|
sourceLocation: {
|
|
4739
5430
|
"file": "packages/goal/goal/src/index.ts",
|
|
4740
|
-
"line":
|
|
5431
|
+
"line": 426,
|
|
4741
5432
|
"column": 3
|
|
4742
5433
|
}
|
|
4743
5434
|
},
|
|
4744
5435
|
{
|
|
4745
|
-
id: "@deepseek-ai/dsh-goal#goals/
|
|
5436
|
+
id: "@deepseek-ai/dsh-goal#goals/complete",
|
|
4746
5437
|
service: "goals",
|
|
4747
5438
|
namespace: "goals",
|
|
4748
|
-
method: "
|
|
5439
|
+
method: "complete",
|
|
4749
5440
|
invocation: { kind: "direct" },
|
|
4750
5441
|
scope: {
|
|
4751
5442
|
context: "agent",
|
|
@@ -4759,7 +5450,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4759
5450
|
codec: {
|
|
4760
5451
|
mode: "strict",
|
|
4761
5452
|
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
4762
|
-
schema:
|
|
5453
|
+
schema: _deepseek_ai_dsh_goal_goals_complete_parameter_0$schema
|
|
4763
5454
|
}
|
|
4764
5455
|
}, {
|
|
4765
5456
|
name: "ref",
|
|
@@ -4768,59 +5459,342 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4768
5459
|
codec: {
|
|
4769
5460
|
mode: "strict",
|
|
4770
5461
|
typeSymbol: "@deepseek-ai/dsh-goal/client#GoalRef",
|
|
4771
|
-
schema:
|
|
5462
|
+
schema: _deepseek_ai_dsh_goal_goals_complete_parameter_1$schema
|
|
4772
5463
|
}
|
|
4773
5464
|
}],
|
|
4774
5465
|
result: {
|
|
4775
5466
|
mode: "strict",
|
|
4776
5467
|
typeSymbol: "@deepseek-ai/dsh-goal/client#GoalView",
|
|
4777
|
-
schema:
|
|
5468
|
+
schema: _deepseek_ai_dsh_goal_goals_complete_result$schema
|
|
4778
5469
|
},
|
|
4779
5470
|
sourceLocation: {
|
|
4780
5471
|
"file": "packages/goal/goal/src/index.ts",
|
|
4781
|
-
"line":
|
|
5472
|
+
"line": 384,
|
|
4782
5473
|
"column": 3
|
|
4783
5474
|
}
|
|
4784
|
-
}
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
5475
|
+
},
|
|
5476
|
+
{
|
|
5477
|
+
id: "@deepseek-ai/dsh-goal#goals/create",
|
|
5478
|
+
service: "goals",
|
|
5479
|
+
namespace: "goals",
|
|
5480
|
+
method: "create",
|
|
5481
|
+
implementation: "remoteExportCreate",
|
|
5482
|
+
invocation: { kind: "direct" },
|
|
5483
|
+
scope: {
|
|
5484
|
+
context: "agent",
|
|
5485
|
+
wire: "agentId"
|
|
5486
|
+
},
|
|
5487
|
+
parameters: [{
|
|
5488
|
+
name: "agent",
|
|
5489
|
+
wire: "agentId",
|
|
5490
|
+
source: "lookup",
|
|
5491
|
+
lookup: "agent",
|
|
5492
|
+
codec: {
|
|
5493
|
+
mode: "strict",
|
|
5494
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
5495
|
+
schema: _deepseek_ai_dsh_goal_goals_create_parameter_0$schema
|
|
5496
|
+
}
|
|
5497
|
+
}, {
|
|
5498
|
+
name: "request",
|
|
5499
|
+
wire: "request",
|
|
5500
|
+
source: "json",
|
|
5501
|
+
codec: {
|
|
5502
|
+
mode: "strict",
|
|
5503
|
+
typeSymbol: "@deepseek-ai/dsh-goal/client#CreateGoalRequest",
|
|
5504
|
+
schema: _deepseek_ai_dsh_goal_goals_create_parameter_1$schema
|
|
5505
|
+
}
|
|
5506
|
+
}],
|
|
5507
|
+
result: {
|
|
5508
|
+
mode: "strict",
|
|
5509
|
+
typeSymbol: "@deepseek-ai/dsh-goal/client#CreateGoalResult",
|
|
5510
|
+
schema: _deepseek_ai_dsh_goal_goals_create_result$schema
|
|
5511
|
+
},
|
|
5512
|
+
sourceLocation: {
|
|
5513
|
+
"file": "packages/goal/goal/src/index.ts",
|
|
5514
|
+
"line": 618,
|
|
5515
|
+
"column": 3
|
|
5516
|
+
}
|
|
5517
|
+
},
|
|
5518
|
+
{
|
|
5519
|
+
id: "@deepseek-ai/dsh-goal#goals/edit",
|
|
5520
|
+
service: "goals",
|
|
5521
|
+
namespace: "goals",
|
|
5522
|
+
method: "edit",
|
|
5523
|
+
invocation: { kind: "direct" },
|
|
5524
|
+
scope: {
|
|
5525
|
+
context: "agent",
|
|
5526
|
+
wire: "agentId"
|
|
5527
|
+
},
|
|
5528
|
+
parameters: [
|
|
5529
|
+
{
|
|
5530
|
+
name: "agent",
|
|
5531
|
+
wire: "agentId",
|
|
5532
|
+
source: "lookup",
|
|
5533
|
+
lookup: "agent",
|
|
5534
|
+
codec: {
|
|
5535
|
+
mode: "strict",
|
|
5536
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
5537
|
+
schema: _deepseek_ai_dsh_goal_goals_edit_parameter_0$schema
|
|
5538
|
+
}
|
|
5539
|
+
},
|
|
5540
|
+
{
|
|
5541
|
+
name: "ref",
|
|
5542
|
+
wire: "ref",
|
|
5543
|
+
source: "json",
|
|
5544
|
+
codec: {
|
|
5545
|
+
mode: "strict",
|
|
5546
|
+
typeSymbol: "@deepseek-ai/dsh-goal/client#GoalRef",
|
|
5547
|
+
schema: _deepseek_ai_dsh_goal_goals_edit_parameter_1$schema
|
|
5548
|
+
}
|
|
5549
|
+
},
|
|
5550
|
+
{
|
|
5551
|
+
name: "request",
|
|
5552
|
+
wire: "request",
|
|
5553
|
+
source: "json",
|
|
5554
|
+
codec: {
|
|
5555
|
+
mode: "strict",
|
|
5556
|
+
typeSymbol: "@deepseek-ai/dsh-goal/client#EditGoalRequest",
|
|
5557
|
+
schema: _deepseek_ai_dsh_goal_goals_edit_parameter_2$schema
|
|
5558
|
+
}
|
|
5559
|
+
}
|
|
5560
|
+
],
|
|
5561
|
+
result: {
|
|
5562
|
+
mode: "strict",
|
|
5563
|
+
typeSymbol: "@deepseek-ai/dsh-goal/client#GoalView",
|
|
5564
|
+
schema: _deepseek_ai_dsh_goal_goals_edit_result$schema
|
|
5565
|
+
},
|
|
5566
|
+
sourceLocation: {
|
|
5567
|
+
"file": "packages/goal/goal/src/index.ts",
|
|
5568
|
+
"line": 322,
|
|
5569
|
+
"column": 3
|
|
5570
|
+
}
|
|
5571
|
+
},
|
|
5572
|
+
{
|
|
5573
|
+
id: "@deepseek-ai/dsh-goal#goals/pause",
|
|
5574
|
+
service: "goals",
|
|
5575
|
+
namespace: "goals",
|
|
5576
|
+
method: "pause",
|
|
5577
|
+
invocation: { kind: "direct" },
|
|
5578
|
+
scope: {
|
|
5579
|
+
context: "agent",
|
|
5580
|
+
wire: "agentId"
|
|
5581
|
+
},
|
|
5582
|
+
parameters: [{
|
|
5583
|
+
name: "agent",
|
|
5584
|
+
wire: "agentId",
|
|
5585
|
+
source: "lookup",
|
|
5586
|
+
lookup: "agent",
|
|
5587
|
+
codec: {
|
|
5588
|
+
mode: "strict",
|
|
5589
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
5590
|
+
schema: _deepseek_ai_dsh_goal_goals_pause_parameter_0$schema
|
|
5591
|
+
}
|
|
5592
|
+
}, {
|
|
5593
|
+
name: "ref",
|
|
5594
|
+
wire: "ref",
|
|
5595
|
+
source: "json",
|
|
5596
|
+
codec: {
|
|
5597
|
+
mode: "strict",
|
|
5598
|
+
typeSymbol: "@deepseek-ai/dsh-goal/client#GoalRef",
|
|
5599
|
+
schema: _deepseek_ai_dsh_goal_goals_pause_parameter_1$schema
|
|
5600
|
+
}
|
|
5601
|
+
}],
|
|
5602
|
+
result: {
|
|
5603
|
+
mode: "strict",
|
|
5604
|
+
typeSymbol: "@deepseek-ai/dsh-goal/client#GoalView",
|
|
5605
|
+
schema: _deepseek_ai_dsh_goal_goals_pause_result$schema
|
|
5606
|
+
},
|
|
5607
|
+
sourceLocation: {
|
|
5608
|
+
"file": "packages/goal/goal/src/index.ts",
|
|
5609
|
+
"line": 345,
|
|
5610
|
+
"column": 3
|
|
5611
|
+
}
|
|
5612
|
+
},
|
|
5613
|
+
{
|
|
5614
|
+
id: "@deepseek-ai/dsh-goal#goals/resume",
|
|
5615
|
+
service: "goals",
|
|
5616
|
+
namespace: "goals",
|
|
5617
|
+
method: "resume",
|
|
5618
|
+
invocation: { kind: "direct" },
|
|
5619
|
+
scope: {
|
|
5620
|
+
context: "agent",
|
|
5621
|
+
wire: "agentId"
|
|
5622
|
+
},
|
|
5623
|
+
parameters: [{
|
|
5624
|
+
name: "agent",
|
|
5625
|
+
wire: "agentId",
|
|
5626
|
+
source: "lookup",
|
|
5627
|
+
lookup: "agent",
|
|
5628
|
+
codec: {
|
|
5629
|
+
mode: "strict",
|
|
5630
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
5631
|
+
schema: _deepseek_ai_dsh_goal_goals_resume_parameter_0$schema
|
|
5632
|
+
}
|
|
5633
|
+
}, {
|
|
5634
|
+
name: "ref",
|
|
5635
|
+
wire: "ref",
|
|
5636
|
+
source: "json",
|
|
5637
|
+
codec: {
|
|
5638
|
+
mode: "strict",
|
|
5639
|
+
typeSymbol: "@deepseek-ai/dsh-goal/client#GoalRef",
|
|
5640
|
+
schema: _deepseek_ai_dsh_goal_goals_resume_parameter_1$schema
|
|
5641
|
+
}
|
|
5642
|
+
}],
|
|
5643
|
+
result: {
|
|
5644
|
+
mode: "strict",
|
|
5645
|
+
typeSymbol: "@deepseek-ai/dsh-goal/client#GoalView",
|
|
5646
|
+
schema: _deepseek_ai_dsh_goal_goals_resume_result$schema
|
|
5647
|
+
},
|
|
5648
|
+
sourceLocation: {
|
|
5649
|
+
"file": "packages/goal/goal/src/index.ts",
|
|
5650
|
+
"line": 357,
|
|
5651
|
+
"column": 3
|
|
5652
|
+
}
|
|
5653
|
+
}
|
|
5654
|
+
]
|
|
5655
|
+
};
|
|
5656
|
+
//#endregion
|
|
5657
|
+
//#region ../../llm/llm/lib/typert.remote-client.js
|
|
5658
|
+
const _deepseek_ai_dsh_llm_llm_discoverModels_parameter_0$schema = string();
|
|
5659
|
+
const _deepseek_ai_dsh_llm_llm_discoverModels_parameter_1$schema = object({
|
|
5660
|
+
"provider": string().optional(),
|
|
5661
|
+
"baseURL": string().optional(),
|
|
5662
|
+
"api": string().optional(),
|
|
5663
|
+
"apiKey": string().optional()
|
|
5664
|
+
});
|
|
5665
|
+
const _deepseek_ai_dsh_llm_llm_discoverModels_result$schema = array(object({
|
|
5666
|
+
"id": string(),
|
|
5667
|
+
"name": string().optional(),
|
|
5668
|
+
"contextWindow": number().optional(),
|
|
5669
|
+
"maxTokens": number().optional()
|
|
5670
|
+
}));
|
|
5671
|
+
const _deepseek_ai_dsh_llm_llm_listConfigurableProviders_result$schema = array(object({
|
|
5672
|
+
"provider": string(),
|
|
5673
|
+
"displayName": string(),
|
|
5674
|
+
"settingsNs": string(),
|
|
5675
|
+
"settingsPath": array(string()),
|
|
5676
|
+
"declared": boolean().optional()
|
|
5677
|
+
}));
|
|
5678
|
+
const _deepseek_ai_dsh_llm_llm_listProviders_result$schema = array(object({
|
|
5679
|
+
"id": string(),
|
|
5680
|
+
"name": string()
|
|
5681
|
+
}));
|
|
5682
|
+
const TYPERT_REMOTE$7 = {
|
|
5683
|
+
package: "@deepseek-ai/dsh-llm",
|
|
5684
|
+
descriptors: [
|
|
5685
|
+
{
|
|
5686
|
+
id: "@deepseek-ai/dsh-llm#llm/discoverModels",
|
|
5687
|
+
service: "llm",
|
|
5688
|
+
namespace: "llm",
|
|
5689
|
+
method: "discoverModels",
|
|
5690
|
+
implementation: "remoteDiscoverModels",
|
|
5691
|
+
invocation: { kind: "direct" },
|
|
5692
|
+
parameters: [{
|
|
5693
|
+
name: "settingsNs",
|
|
5694
|
+
wire: "settingsNs",
|
|
5695
|
+
source: "json",
|
|
5696
|
+
codec: {
|
|
5697
|
+
mode: "strict",
|
|
5698
|
+
typeSymbol: "@deepseek-ai/dsh-llm#llm/discoverModels:settingsNs",
|
|
5699
|
+
schema: _deepseek_ai_dsh_llm_llm_discoverModels_parameter_0$schema
|
|
5700
|
+
}
|
|
5701
|
+
}, {
|
|
5702
|
+
name: "request",
|
|
5703
|
+
wire: "request",
|
|
5704
|
+
source: "json",
|
|
5705
|
+
codec: {
|
|
5706
|
+
mode: "strict",
|
|
5707
|
+
typeSymbol: "@deepseek-ai/dsh-llm/types#LlmModelDiscoveryRequest",
|
|
5708
|
+
schema: _deepseek_ai_dsh_llm_llm_discoverModels_parameter_1$schema
|
|
5709
|
+
}
|
|
5710
|
+
}],
|
|
5711
|
+
cancellation: { parameter: "signal" },
|
|
5712
|
+
result: {
|
|
5713
|
+
mode: "strict",
|
|
5714
|
+
typeSymbol: "@deepseek-ai/dsh-llm#llm/discoverModels:result",
|
|
5715
|
+
schema: _deepseek_ai_dsh_llm_llm_discoverModels_result$schema
|
|
5716
|
+
},
|
|
5717
|
+
sourceLocation: {
|
|
5718
|
+
"file": "packages/llm/llm/src/index.ts",
|
|
5719
|
+
"line": 621,
|
|
5720
|
+
"column": 9
|
|
5721
|
+
}
|
|
5722
|
+
},
|
|
5723
|
+
{
|
|
5724
|
+
id: "@deepseek-ai/dsh-llm#llm/listConfigurableProviders",
|
|
5725
|
+
service: "llm",
|
|
5726
|
+
namespace: "llm",
|
|
5727
|
+
method: "listConfigurableProviders",
|
|
5728
|
+
invocation: { kind: "direct" },
|
|
5729
|
+
parameters: [],
|
|
5730
|
+
result: {
|
|
5731
|
+
mode: "strict",
|
|
5732
|
+
typeSymbol: "@deepseek-ai/dsh-llm#llm/listConfigurableProviders:result",
|
|
5733
|
+
schema: _deepseek_ai_dsh_llm_llm_listConfigurableProviders_result$schema
|
|
5734
|
+
},
|
|
5735
|
+
sourceLocation: {
|
|
5736
|
+
"file": "packages/llm/llm/src/index.ts",
|
|
5737
|
+
"line": 534,
|
|
5738
|
+
"column": 3
|
|
5739
|
+
}
|
|
5740
|
+
},
|
|
5741
|
+
{
|
|
5742
|
+
id: "@deepseek-ai/dsh-llm#llm/listProviders",
|
|
5743
|
+
service: "llm",
|
|
5744
|
+
namespace: "llm",
|
|
5745
|
+
method: "listProviders",
|
|
5746
|
+
invocation: { kind: "direct" },
|
|
5747
|
+
parameters: [],
|
|
5748
|
+
result: {
|
|
5749
|
+
mode: "strict",
|
|
5750
|
+
typeSymbol: "@deepseek-ai/dsh-llm#llm/listProviders:result",
|
|
5751
|
+
schema: _deepseek_ai_dsh_llm_llm_listProviders_result$schema
|
|
5752
|
+
},
|
|
5753
|
+
sourceLocation: {
|
|
5754
|
+
"file": "packages/llm/llm/src/index.ts",
|
|
5755
|
+
"line": 462,
|
|
5756
|
+
"column": 3
|
|
5757
|
+
}
|
|
5758
|
+
}
|
|
5759
|
+
]
|
|
5760
|
+
};
|
|
5761
|
+
//#endregion
|
|
5762
|
+
//#region ../../extensions/cordis-host-runner/lib/typert.remote-client.js
|
|
5763
|
+
const JsonValueRemoteCodec$schema$1 = union([
|
|
4790
5764
|
literal(null),
|
|
4791
5765
|
string(),
|
|
4792
5766
|
number(),
|
|
4793
5767
|
literal(false),
|
|
4794
5768
|
literal(true),
|
|
4795
|
-
array(lazy(() => JsonValueRemoteCodec$schema)),
|
|
4796
|
-
record(string(), lazy(() => JsonValueRemoteCodec$schema))
|
|
5769
|
+
array(lazy(() => JsonValueRemoteCodec$schema$1)),
|
|
5770
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema$1))
|
|
4797
5771
|
]);
|
|
4798
|
-
const JsonValueRemoteCodec$schema2 = union([
|
|
5772
|
+
const JsonValueRemoteCodec$schema2$1 = union([
|
|
4799
5773
|
literal(null),
|
|
4800
5774
|
string(),
|
|
4801
5775
|
number(),
|
|
4802
5776
|
literal(false),
|
|
4803
5777
|
literal(true),
|
|
4804
|
-
array(lazy(() => JsonValueRemoteCodec$schema2)),
|
|
4805
|
-
record(string(), lazy(() => JsonValueRemoteCodec$schema2))
|
|
5778
|
+
array(lazy(() => JsonValueRemoteCodec$schema2$1)),
|
|
5779
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema2$1))
|
|
4806
5780
|
]);
|
|
4807
|
-
const JsonValueRemoteCodec$schema3 = union([
|
|
5781
|
+
const JsonValueRemoteCodec$schema3$1 = union([
|
|
4808
5782
|
literal(null),
|
|
4809
5783
|
string(),
|
|
4810
5784
|
number(),
|
|
4811
5785
|
literal(false),
|
|
4812
5786
|
literal(true),
|
|
4813
|
-
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
4814
|
-
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
5787
|
+
array(lazy(() => JsonValueRemoteCodec$schema3$1)),
|
|
5788
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3$1))
|
|
4815
5789
|
]);
|
|
4816
|
-
const JsonValueRemoteCodec$schema4 = union([
|
|
5790
|
+
const JsonValueRemoteCodec$schema4$1 = union([
|
|
4817
5791
|
literal(null),
|
|
4818
5792
|
string(),
|
|
4819
5793
|
number(),
|
|
4820
5794
|
literal(false),
|
|
4821
5795
|
literal(true),
|
|
4822
|
-
array(lazy(() => JsonValueRemoteCodec$schema4)),
|
|
4823
|
-
record(string(), lazy(() => JsonValueRemoteCodec$schema4))
|
|
5796
|
+
array(lazy(() => JsonValueRemoteCodec$schema4$1)),
|
|
5797
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema4$1))
|
|
4824
5798
|
]);
|
|
4825
5799
|
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_getClientCode_parameter_0$schema = intersection(string(), unknown());
|
|
4826
5800
|
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_getClientCode_parameter_1$schema = intersection(string(), unknown());
|
|
@@ -4853,38 +5827,38 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4853
5827
|
"packageId": intersection(string(), unknown()),
|
|
4854
5828
|
"mode": union([literal("run"), literal("update")]),
|
|
4855
5829
|
"status": union([
|
|
5830
|
+
literal("running"),
|
|
5831
|
+
literal("failed"),
|
|
4856
5832
|
literal("rejected"),
|
|
4857
5833
|
literal("awaiting-approval"),
|
|
4858
|
-
literal("running"),
|
|
4859
5834
|
literal("cancelled"),
|
|
4860
5835
|
literal("starting-host"),
|
|
4861
5836
|
literal("client-pending"),
|
|
4862
5837
|
literal("waiting"),
|
|
4863
|
-
literal("failed"),
|
|
4864
5838
|
literal("stopped")
|
|
4865
5839
|
]),
|
|
4866
5840
|
"approvalRequestId": intersection(string(), unknown()).optional(),
|
|
4867
5841
|
"requiresApproval": boolean().optional(),
|
|
4868
5842
|
"host": object({
|
|
4869
5843
|
"status": union([
|
|
5844
|
+
literal("pending"),
|
|
4870
5845
|
literal("running"),
|
|
4871
|
-
literal("waiting"),
|
|
4872
5846
|
literal("failed"),
|
|
5847
|
+
literal("waiting"),
|
|
4873
5848
|
literal("stopped"),
|
|
4874
|
-
literal("absent")
|
|
4875
|
-
literal("pending")
|
|
5849
|
+
literal("absent")
|
|
4876
5850
|
]),
|
|
4877
5851
|
"waitingFor": array(string()),
|
|
4878
5852
|
"error": string().optional()
|
|
4879
5853
|
}),
|
|
4880
5854
|
"client": object({
|
|
4881
5855
|
"status": union([
|
|
5856
|
+
literal("pending"),
|
|
4882
5857
|
literal("running"),
|
|
4883
|
-
literal("waiting"),
|
|
4884
5858
|
literal("failed"),
|
|
5859
|
+
literal("waiting"),
|
|
4885
5860
|
literal("stopped"),
|
|
4886
|
-
literal("absent")
|
|
4887
|
-
literal("pending")
|
|
5861
|
+
literal("absent")
|
|
4888
5862
|
]),
|
|
4889
5863
|
"waitingFor": array(string()),
|
|
4890
5864
|
"error": string().optional()
|
|
@@ -4915,8 +5889,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4915
5889
|
number(),
|
|
4916
5890
|
literal(false),
|
|
4917
5891
|
literal(true),
|
|
4918
|
-
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
4919
|
-
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
5892
|
+
array(lazy(() => JsonValueRemoteCodec$schema3$1)),
|
|
5893
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3$1))
|
|
4920
5894
|
]);
|
|
4921
5895
|
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_result$schema = union([object({
|
|
4922
5896
|
"ok": literal(true),
|
|
@@ -4926,8 +5900,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4926
5900
|
number(),
|
|
4927
5901
|
literal(false),
|
|
4928
5902
|
literal(true),
|
|
4929
|
-
array(lazy(() => JsonValueRemoteCodec$schema4)),
|
|
4930
|
-
record(string(), lazy(() => JsonValueRemoteCodec$schema4))
|
|
5903
|
+
array(lazy(() => JsonValueRemoteCodec$schema4$1)),
|
|
5904
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema4$1))
|
|
4931
5905
|
])
|
|
4932
5906
|
}), intersection(object({
|
|
4933
5907
|
"ok": literal(false),
|
|
@@ -4969,8 +5943,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4969
5943
|
number(),
|
|
4970
5944
|
literal(false),
|
|
4971
5945
|
literal(true),
|
|
4972
|
-
array(lazy(() => JsonValueRemoteCodec$schema2)),
|
|
4973
|
-
record(string(), lazy(() => JsonValueRemoteCodec$schema2))
|
|
5946
|
+
array(lazy(() => JsonValueRemoteCodec$schema2$1)),
|
|
5947
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema2$1))
|
|
4974
5948
|
])
|
|
4975
5949
|
}), object({
|
|
4976
5950
|
"ok": literal(false),
|
|
@@ -5040,9 +6014,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5040
6014
|
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_result$schema = union([object({
|
|
5041
6015
|
"ok": literal(true),
|
|
5042
6016
|
"status": union([
|
|
6017
|
+
literal("running"),
|
|
5043
6018
|
literal("awaiting-approval"),
|
|
5044
|
-
literal("starting")
|
|
5045
|
-
literal("running")
|
|
6019
|
+
literal("starting")
|
|
5046
6020
|
]),
|
|
5047
6021
|
"pluginId": intersection(string(), unknown()),
|
|
5048
6022
|
"packageId": intersection(string(), unknown()),
|
|
@@ -5087,8 +6061,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5087
6061
|
number(),
|
|
5088
6062
|
literal(false),
|
|
5089
6063
|
literal(true),
|
|
5090
|
-
array(lazy(() => JsonValueRemoteCodec$schema)),
|
|
5091
|
-
record(string(), lazy(() => JsonValueRemoteCodec$schema))
|
|
6064
|
+
array(lazy(() => JsonValueRemoteCodec$schema$1)),
|
|
6065
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema$1))
|
|
5092
6066
|
]),
|
|
5093
6067
|
"outputSchema": union([
|
|
5094
6068
|
literal(null),
|
|
@@ -5096,8 +6070,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5096
6070
|
number(),
|
|
5097
6071
|
literal(false),
|
|
5098
6072
|
literal(true),
|
|
5099
|
-
array(lazy(() => JsonValueRemoteCodec$schema)),
|
|
5100
|
-
record(string(), lazy(() => JsonValueRemoteCodec$schema))
|
|
6073
|
+
array(lazy(() => JsonValueRemoteCodec$schema$1)),
|
|
6074
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema$1))
|
|
5101
6075
|
])
|
|
5102
6076
|
}))
|
|
5103
6077
|
}));
|
|
@@ -5112,7 +6086,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5112
6086
|
"reason": literal("plugin-missing"),
|
|
5113
6087
|
"message": string()
|
|
5114
6088
|
})]);
|
|
5115
|
-
const TYPERT_REMOTE$
|
|
6089
|
+
const TYPERT_REMOTE$6 = {
|
|
5116
6090
|
package: "@deepseek-ai/dsh-cordis-host-runner",
|
|
5117
6091
|
descriptors: [
|
|
5118
6092
|
{
|
|
@@ -5230,7 +6204,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5230
6204
|
source: "json",
|
|
5231
6205
|
codec: {
|
|
5232
6206
|
mode: "strict",
|
|
5233
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
6207
|
+
typeSymbol: "@deepseek-ai/dsh-util-values#JsonValue",
|
|
5234
6208
|
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_parameter_3$schema
|
|
5235
6209
|
}
|
|
5236
6210
|
}
|
|
@@ -5416,491 +6390,2537 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5416
6390
|
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveInspectQuery_parameter_2$schema
|
|
5417
6391
|
}
|
|
5418
6392
|
}
|
|
5419
|
-
],
|
|
6393
|
+
],
|
|
6394
|
+
result: {
|
|
6395
|
+
mode: "strict",
|
|
6396
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisInspectResolveAck",
|
|
6397
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveInspectQuery_result$schema
|
|
6398
|
+
},
|
|
6399
|
+
sourceLocation: {
|
|
6400
|
+
"file": "packages/extensions/cordis-host-runner/src/index.ts",
|
|
6401
|
+
"line": 511,
|
|
6402
|
+
"column": 3
|
|
6403
|
+
}
|
|
6404
|
+
},
|
|
6405
|
+
{
|
|
6406
|
+
id: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/resolveRequestRun",
|
|
6407
|
+
service: "dynamicCordisRunner",
|
|
6408
|
+
namespace: "dynamicCordisRunner",
|
|
6409
|
+
method: "resolveRequestRun",
|
|
6410
|
+
invocation: { kind: "direct" },
|
|
6411
|
+
parameters: [{
|
|
6412
|
+
name: "requestId",
|
|
6413
|
+
wire: "requestId",
|
|
6414
|
+
source: "json",
|
|
6415
|
+
codec: {
|
|
6416
|
+
mode: "strict",
|
|
6417
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#ApprovalRequestId",
|
|
6418
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveRequestRun_parameter_0$schema
|
|
6419
|
+
}
|
|
6420
|
+
}, {
|
|
6421
|
+
name: "resolution",
|
|
6422
|
+
wire: "resolution",
|
|
6423
|
+
source: "json",
|
|
6424
|
+
codec: {
|
|
6425
|
+
mode: "strict",
|
|
6426
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisRunResolution",
|
|
6427
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveRequestRun_parameter_1$schema
|
|
6428
|
+
}
|
|
6429
|
+
}],
|
|
6430
|
+
result: {
|
|
6431
|
+
mode: "strict",
|
|
6432
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisResolveAck",
|
|
6433
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveRequestRun_result$schema
|
|
6434
|
+
},
|
|
6435
|
+
sourceLocation: {
|
|
6436
|
+
"file": "packages/extensions/cordis-host-runner/src/index.ts",
|
|
6437
|
+
"line": 413,
|
|
6438
|
+
"column": 9
|
|
6439
|
+
}
|
|
6440
|
+
},
|
|
6441
|
+
{
|
|
6442
|
+
id: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/runHostHalf",
|
|
6443
|
+
service: "dynamicCordisRunner",
|
|
6444
|
+
namespace: "dynamicCordisRunner",
|
|
6445
|
+
method: "runHostHalf",
|
|
6446
|
+
invocation: { kind: "direct" },
|
|
6447
|
+
scope: {
|
|
6448
|
+
context: "agent",
|
|
6449
|
+
wire: "agentId"
|
|
6450
|
+
},
|
|
6451
|
+
parameters: [
|
|
6452
|
+
{
|
|
6453
|
+
name: "agent",
|
|
6454
|
+
wire: "agentId",
|
|
6455
|
+
source: "lookup",
|
|
6456
|
+
lookup: "agent",
|
|
6457
|
+
codec: {
|
|
6458
|
+
mode: "strict",
|
|
6459
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
6460
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_0$schema
|
|
6461
|
+
}
|
|
6462
|
+
},
|
|
6463
|
+
{
|
|
6464
|
+
name: "pluginId",
|
|
6465
|
+
wire: "pluginId",
|
|
6466
|
+
source: "json",
|
|
6467
|
+
codec: {
|
|
6468
|
+
mode: "strict",
|
|
6469
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId",
|
|
6470
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_1$schema
|
|
6471
|
+
}
|
|
6472
|
+
},
|
|
6473
|
+
{
|
|
6474
|
+
name: "packageId",
|
|
6475
|
+
wire: "packageId",
|
|
6476
|
+
source: "json",
|
|
6477
|
+
codec: {
|
|
6478
|
+
mode: "strict",
|
|
6479
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPackageId",
|
|
6480
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_2$schema
|
|
6481
|
+
}
|
|
6482
|
+
},
|
|
6483
|
+
{
|
|
6484
|
+
name: "mode",
|
|
6485
|
+
wire: "mode",
|
|
6486
|
+
source: "json",
|
|
6487
|
+
codec: {
|
|
6488
|
+
mode: "strict",
|
|
6489
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicRunMode",
|
|
6490
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_3$schema
|
|
6491
|
+
}
|
|
6492
|
+
},
|
|
6493
|
+
{
|
|
6494
|
+
name: "requestId",
|
|
6495
|
+
wire: "requestId",
|
|
6496
|
+
source: "json",
|
|
6497
|
+
codec: {
|
|
6498
|
+
mode: "strict",
|
|
6499
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/runHostHalf:requestId",
|
|
6500
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_4$schema
|
|
6501
|
+
}
|
|
6502
|
+
},
|
|
6503
|
+
{
|
|
6504
|
+
name: "approveFutureVersions",
|
|
6505
|
+
wire: "approveFutureVersions",
|
|
6506
|
+
source: "json",
|
|
6507
|
+
codec: {
|
|
6508
|
+
mode: "strict",
|
|
6509
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/runHostHalf:approveFutureVersions",
|
|
6510
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_5$schema
|
|
6511
|
+
}
|
|
6512
|
+
}
|
|
6513
|
+
],
|
|
6514
|
+
result: {
|
|
6515
|
+
mode: "strict",
|
|
6516
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisHostHalfResult",
|
|
6517
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_result$schema
|
|
6518
|
+
},
|
|
6519
|
+
sourceLocation: {
|
|
6520
|
+
"file": "packages/extensions/cordis-host-runner/src/index.ts",
|
|
6521
|
+
"line": 325,
|
|
6522
|
+
"column": 9
|
|
6523
|
+
}
|
|
6524
|
+
},
|
|
6525
|
+
{
|
|
6526
|
+
id: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/settleUserRun",
|
|
6527
|
+
service: "dynamicCordisRunner",
|
|
6528
|
+
namespace: "dynamicCordisRunner",
|
|
6529
|
+
method: "settleUserRun",
|
|
6530
|
+
invocation: { kind: "direct" },
|
|
6531
|
+
scope: {
|
|
6532
|
+
context: "agent",
|
|
6533
|
+
wire: "agentId"
|
|
6534
|
+
},
|
|
6535
|
+
parameters: [
|
|
6536
|
+
{
|
|
6537
|
+
name: "agent",
|
|
6538
|
+
wire: "agentId",
|
|
6539
|
+
source: "lookup",
|
|
6540
|
+
lookup: "agent",
|
|
6541
|
+
codec: {
|
|
6542
|
+
mode: "strict",
|
|
6543
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
6544
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_parameter_0$schema
|
|
6545
|
+
}
|
|
6546
|
+
},
|
|
6547
|
+
{
|
|
6548
|
+
name: "pluginId",
|
|
6549
|
+
wire: "pluginId",
|
|
6550
|
+
source: "json",
|
|
6551
|
+
codec: {
|
|
6552
|
+
mode: "strict",
|
|
6553
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId",
|
|
6554
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_parameter_1$schema
|
|
6555
|
+
}
|
|
6556
|
+
},
|
|
6557
|
+
{
|
|
6558
|
+
name: "resolution",
|
|
6559
|
+
wire: "resolution",
|
|
6560
|
+
source: "json",
|
|
6561
|
+
codec: {
|
|
6562
|
+
mode: "strict",
|
|
6563
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisRunResolution",
|
|
6564
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_parameter_2$schema
|
|
6565
|
+
}
|
|
6566
|
+
}
|
|
6567
|
+
],
|
|
6568
|
+
result: {
|
|
6569
|
+
mode: "strict",
|
|
6570
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisRunResponse",
|
|
6571
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_result$schema
|
|
6572
|
+
},
|
|
6573
|
+
sourceLocation: {
|
|
6574
|
+
"file": "packages/extensions/cordis-host-runner/src/index.ts",
|
|
6575
|
+
"line": 438,
|
|
6576
|
+
"column": 9
|
|
6577
|
+
}
|
|
6578
|
+
},
|
|
6579
|
+
{
|
|
6580
|
+
id: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/stopFromPanel",
|
|
6581
|
+
service: "dynamicCordisRunner",
|
|
6582
|
+
namespace: "dynamicCordisRunner",
|
|
6583
|
+
method: "stopFromPanel",
|
|
6584
|
+
invocation: { kind: "direct" },
|
|
6585
|
+
scope: {
|
|
6586
|
+
context: "agent",
|
|
6587
|
+
wire: "agentId"
|
|
6588
|
+
},
|
|
6589
|
+
parameters: [{
|
|
6590
|
+
name: "agent",
|
|
6591
|
+
wire: "agentId",
|
|
6592
|
+
source: "lookup",
|
|
6593
|
+
lookup: "agent",
|
|
6594
|
+
codec: {
|
|
6595
|
+
mode: "strict",
|
|
6596
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
6597
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_stopFromPanel_parameter_0$schema
|
|
6598
|
+
}
|
|
6599
|
+
}, {
|
|
6600
|
+
name: "pluginId",
|
|
6601
|
+
wire: "pluginId",
|
|
6602
|
+
source: "json",
|
|
6603
|
+
codec: {
|
|
6604
|
+
mode: "strict",
|
|
6605
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId",
|
|
6606
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_stopFromPanel_parameter_1$schema
|
|
6607
|
+
}
|
|
6608
|
+
}],
|
|
6609
|
+
result: {
|
|
6610
|
+
mode: "strict",
|
|
6611
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisStopResponse",
|
|
6612
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_stopFromPanel_result$schema
|
|
6613
|
+
},
|
|
6614
|
+
sourceLocation: {
|
|
6615
|
+
"file": "packages/extensions/cordis-host-runner/src/index.ts",
|
|
6616
|
+
"line": 480,
|
|
6617
|
+
"column": 9
|
|
6618
|
+
}
|
|
6619
|
+
},
|
|
6620
|
+
{
|
|
6621
|
+
id: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/syncInspectManifest",
|
|
6622
|
+
service: "dynamicCordisRunner",
|
|
6623
|
+
namespace: "dynamicCordisRunner",
|
|
6624
|
+
method: "syncInspectManifest",
|
|
6625
|
+
invocation: { kind: "direct" },
|
|
6626
|
+
parameters: [{
|
|
6627
|
+
name: "providers",
|
|
6628
|
+
wire: "providers",
|
|
6629
|
+
source: "json",
|
|
6630
|
+
codec: {
|
|
6631
|
+
mode: "strict",
|
|
6632
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/syncInspectManifest:providers",
|
|
6633
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_syncInspectManifest_parameter_0$schema
|
|
6634
|
+
}
|
|
6635
|
+
}],
|
|
6636
|
+
result: {
|
|
6637
|
+
mode: "strict",
|
|
6638
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/syncInspectManifest:result",
|
|
6639
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_syncInspectManifest_result$schema
|
|
6640
|
+
},
|
|
6641
|
+
sourceLocation: {
|
|
6642
|
+
"file": "packages/extensions/cordis-host-runner/src/index.ts",
|
|
6643
|
+
"line": 498,
|
|
6644
|
+
"column": 3
|
|
6645
|
+
}
|
|
6646
|
+
},
|
|
6647
|
+
{
|
|
6648
|
+
id: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/undefineFromPanel",
|
|
6649
|
+
service: "dynamicCordisRunner",
|
|
6650
|
+
namespace: "dynamicCordisRunner",
|
|
6651
|
+
method: "undefineFromPanel",
|
|
6652
|
+
invocation: { kind: "direct" },
|
|
6653
|
+
scope: {
|
|
6654
|
+
context: "agent",
|
|
6655
|
+
wire: "agentId"
|
|
6656
|
+
},
|
|
6657
|
+
parameters: [{
|
|
6658
|
+
name: "agent",
|
|
6659
|
+
wire: "agentId",
|
|
6660
|
+
source: "lookup",
|
|
6661
|
+
lookup: "agent",
|
|
6662
|
+
codec: {
|
|
6663
|
+
mode: "strict",
|
|
6664
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
6665
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_undefineFromPanel_parameter_0$schema
|
|
6666
|
+
}
|
|
6667
|
+
}, {
|
|
6668
|
+
name: "pluginId",
|
|
6669
|
+
wire: "pluginId",
|
|
6670
|
+
source: "json",
|
|
6671
|
+
codec: {
|
|
6672
|
+
mode: "strict",
|
|
6673
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId",
|
|
6674
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_undefineFromPanel_parameter_1$schema
|
|
6675
|
+
}
|
|
6676
|
+
}],
|
|
6677
|
+
result: {
|
|
6678
|
+
mode: "strict",
|
|
6679
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisUndefineReceipt",
|
|
6680
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_undefineFromPanel_result$schema
|
|
6681
|
+
},
|
|
6682
|
+
sourceLocation: {
|
|
6683
|
+
"file": "packages/extensions/cordis-host-runner/src/index.ts",
|
|
6684
|
+
"line": 227,
|
|
6685
|
+
"column": 9
|
|
6686
|
+
}
|
|
6687
|
+
}
|
|
6688
|
+
]
|
|
6689
|
+
};
|
|
6690
|
+
const TYPERT_REMOTE$5 = {
|
|
6691
|
+
package: "@deepseek-ai/dsh-host-plugin-inventory",
|
|
6692
|
+
descriptors: [{
|
|
6693
|
+
id: "@deepseek-ai/dsh-host-plugin-inventory#pluginInventory/list",
|
|
6694
|
+
service: "pluginInventory",
|
|
6695
|
+
namespace: "pluginInventory",
|
|
6696
|
+
method: "list",
|
|
6697
|
+
invocation: { kind: "direct" },
|
|
6698
|
+
parameters: [],
|
|
6699
|
+
result: {
|
|
6700
|
+
mode: "strict",
|
|
6701
|
+
typeSymbol: "@deepseek-ai/dsh-host-plugin-inventory/types#PluginInventorySnapshot",
|
|
6702
|
+
schema: object({
|
|
6703
|
+
"entries": array(object({
|
|
6704
|
+
"entryId": intersection(string(), unknown()).readonly(),
|
|
6705
|
+
"moduleName": string().readonly(),
|
|
6706
|
+
"enabled": boolean().readonly(),
|
|
6707
|
+
"fiberPhase": union([
|
|
6708
|
+
literal(null),
|
|
6709
|
+
literal("pending"),
|
|
6710
|
+
literal("active"),
|
|
6711
|
+
literal("failed"),
|
|
6712
|
+
literal("loading"),
|
|
6713
|
+
literal("unloading")
|
|
6714
|
+
]).readonly()
|
|
6715
|
+
})).readonly(),
|
|
6716
|
+
"agentPresets": array(object({
|
|
6717
|
+
"id": string().readonly(),
|
|
6718
|
+
"trust": union([literal("system"), literal("user")]).readonly(),
|
|
6719
|
+
"name": string().readonly().optional(),
|
|
6720
|
+
"isDefault": boolean().readonly(),
|
|
6721
|
+
"broken": string().readonly().optional(),
|
|
6722
|
+
"rows": array(object({
|
|
6723
|
+
"entryId": union([literal(null), string()]).readonly(),
|
|
6724
|
+
"moduleName": string().readonly(),
|
|
6725
|
+
"enabled": union([
|
|
6726
|
+
literal(false),
|
|
6727
|
+
literal(true),
|
|
6728
|
+
literal("conditional")
|
|
6729
|
+
]).readonly(),
|
|
6730
|
+
"condition": string().readonly().optional(),
|
|
6731
|
+
"fiberPhase": union([
|
|
6732
|
+
literal(null),
|
|
6733
|
+
literal("pending"),
|
|
6734
|
+
literal("active"),
|
|
6735
|
+
literal("failed"),
|
|
6736
|
+
literal("loading"),
|
|
6737
|
+
literal("unloading")
|
|
6738
|
+
]).readonly()
|
|
6739
|
+
})).readonly()
|
|
6740
|
+
})).readonly().optional()
|
|
6741
|
+
})
|
|
6742
|
+
},
|
|
6743
|
+
sourceLocation: {
|
|
6744
|
+
"file": "packages/host/plugin-inventory/src/index.ts",
|
|
6745
|
+
"line": 66,
|
|
6746
|
+
"column": 9
|
|
6747
|
+
}
|
|
6748
|
+
}]
|
|
6749
|
+
};
|
|
6750
|
+
//#endregion
|
|
6751
|
+
//#region ../../feedback/message-feedback/lib/typert.remote-client.js
|
|
6752
|
+
const _deepseek_ai_dsh_message_feedback_messageFeedback_delete_parameter_0$schema = object({
|
|
6753
|
+
"sessionId": intersection(string(), unknown()).readonly(),
|
|
6754
|
+
"messageId": intersection(string(), unknown()).readonly(),
|
|
6755
|
+
"ifVersion": intersection(string(), unknown()).readonly()
|
|
6756
|
+
});
|
|
6757
|
+
const _deepseek_ai_dsh_message_feedback_messageFeedback_delete_result$schema = union([object({
|
|
6758
|
+
"ok": literal(true).readonly(),
|
|
6759
|
+
"value": object({ "absent": literal(true).readonly() }).readonly()
|
|
6760
|
+
}), object({
|
|
6761
|
+
"ok": literal(false).readonly(),
|
|
6762
|
+
"error": union([object({
|
|
6763
|
+
"code": literal("session-not-found").readonly(),
|
|
6764
|
+
"sessionId": intersection(string(), unknown()).readonly()
|
|
6765
|
+
}), object({
|
|
6766
|
+
"code": literal("version-conflict").readonly(),
|
|
6767
|
+
"current": union([literal(null), object({
|
|
6768
|
+
"messageId": intersection(string(), unknown()).readonly(),
|
|
6769
|
+
"rating": union([literal("positive"), literal("negative")]).readonly(),
|
|
6770
|
+
"note": string().readonly().optional(),
|
|
6771
|
+
"version": intersection(string(), unknown()).readonly(),
|
|
6772
|
+
"createdAt": number().readonly(),
|
|
6773
|
+
"updatedAt": number().readonly()
|
|
6774
|
+
})]).readonly()
|
|
6775
|
+
})]).readonly()
|
|
6776
|
+
})]);
|
|
6777
|
+
const _deepseek_ai_dsh_message_feedback_messageFeedback_list_parameter_0$schema = object({ "sessionId": intersection(string(), unknown()).readonly() });
|
|
6778
|
+
const _deepseek_ai_dsh_message_feedback_messageFeedback_list_result$schema = union([object({
|
|
6779
|
+
"ok": literal(true).readonly(),
|
|
6780
|
+
"value": object({ "items": array(object({
|
|
6781
|
+
"messageId": intersection(string(), unknown()).readonly(),
|
|
6782
|
+
"rating": union([literal("positive"), literal("negative")]).readonly(),
|
|
6783
|
+
"note": string().readonly().optional(),
|
|
6784
|
+
"version": intersection(string(), unknown()).readonly(),
|
|
6785
|
+
"createdAt": number().readonly(),
|
|
6786
|
+
"updatedAt": number().readonly()
|
|
6787
|
+
})).readonly() }).readonly()
|
|
6788
|
+
}), object({
|
|
6789
|
+
"ok": literal(false).readonly(),
|
|
6790
|
+
"error": object({
|
|
6791
|
+
"code": literal("session-not-found").readonly(),
|
|
6792
|
+
"sessionId": intersection(string(), unknown()).readonly()
|
|
6793
|
+
}).readonly()
|
|
6794
|
+
})]);
|
|
6795
|
+
const _deepseek_ai_dsh_message_feedback_messageFeedback_put_parameter_0$schema = object({
|
|
6796
|
+
"sessionId": intersection(string(), unknown()).readonly(),
|
|
6797
|
+
"messageId": intersection(string(), unknown()).readonly(),
|
|
6798
|
+
"rating": union([literal("positive"), literal("negative")]).readonly(),
|
|
6799
|
+
"note": string().readonly().optional(),
|
|
6800
|
+
"ifVersion": union([literal(null), intersection(string(), unknown())]).readonly()
|
|
6801
|
+
});
|
|
6802
|
+
const _deepseek_ai_dsh_message_feedback_messageFeedback_put_result$schema = union([object({
|
|
6803
|
+
"ok": literal(true).readonly(),
|
|
6804
|
+
"value": object({
|
|
6805
|
+
"messageId": intersection(string(), unknown()).readonly(),
|
|
6806
|
+
"rating": union([literal("positive"), literal("negative")]).readonly(),
|
|
6807
|
+
"note": string().readonly().optional(),
|
|
6808
|
+
"version": intersection(string(), unknown()).readonly(),
|
|
6809
|
+
"createdAt": number().readonly(),
|
|
6810
|
+
"updatedAt": number().readonly()
|
|
6811
|
+
}).readonly()
|
|
6812
|
+
}), object({
|
|
6813
|
+
"ok": literal(false).readonly(),
|
|
6814
|
+
"error": union([
|
|
6815
|
+
object({
|
|
6816
|
+
"code": literal("session-not-found").readonly(),
|
|
6817
|
+
"sessionId": intersection(string(), unknown()).readonly()
|
|
6818
|
+
}),
|
|
6819
|
+
object({
|
|
6820
|
+
"code": literal("target-not-found").readonly(),
|
|
6821
|
+
"sessionId": intersection(string(), unknown()).readonly(),
|
|
6822
|
+
"messageId": intersection(string(), unknown()).readonly()
|
|
6823
|
+
}),
|
|
6824
|
+
object({
|
|
6825
|
+
"code": literal("version-conflict").readonly(),
|
|
6826
|
+
"current": union([literal(null), object({
|
|
6827
|
+
"messageId": intersection(string(), unknown()).readonly(),
|
|
6828
|
+
"rating": union([literal("positive"), literal("negative")]).readonly(),
|
|
6829
|
+
"note": string().readonly().optional(),
|
|
6830
|
+
"version": intersection(string(), unknown()).readonly(),
|
|
6831
|
+
"createdAt": number().readonly(),
|
|
6832
|
+
"updatedAt": number().readonly()
|
|
6833
|
+
})]).readonly()
|
|
6834
|
+
}),
|
|
6835
|
+
object({ "code": literal("note-blank").readonly() }),
|
|
6836
|
+
object({
|
|
6837
|
+
"code": literal("note-too-large").readonly(),
|
|
6838
|
+
"maxBytes": number().readonly(),
|
|
6839
|
+
"actualBytes": number().readonly()
|
|
6840
|
+
})
|
|
6841
|
+
]).readonly()
|
|
6842
|
+
})]);
|
|
6843
|
+
const TYPERT_REMOTE$4 = {
|
|
6844
|
+
package: "@deepseek-ai/dsh-message-feedback",
|
|
6845
|
+
descriptors: [
|
|
6846
|
+
{
|
|
6847
|
+
id: "@deepseek-ai/dsh-message-feedback#messageFeedback/delete",
|
|
6848
|
+
service: "messageFeedback",
|
|
6849
|
+
namespace: "messageFeedback",
|
|
6850
|
+
method: "delete",
|
|
6851
|
+
invocation: { kind: "direct" },
|
|
6852
|
+
parameters: [{
|
|
6853
|
+
name: "request",
|
|
6854
|
+
wire: "request",
|
|
6855
|
+
source: "json",
|
|
6856
|
+
codec: {
|
|
6857
|
+
mode: "strict",
|
|
6858
|
+
typeSymbol: "@deepseek-ai/dsh-message-feedback/types#MessageFeedbackDeleteRequest",
|
|
6859
|
+
schema: _deepseek_ai_dsh_message_feedback_messageFeedback_delete_parameter_0$schema
|
|
6860
|
+
}
|
|
6861
|
+
}],
|
|
6862
|
+
result: {
|
|
6863
|
+
mode: "strict",
|
|
6864
|
+
typeSymbol: "@deepseek-ai/dsh-message-feedback/types#MessageFeedbackDeleteResult",
|
|
6865
|
+
schema: _deepseek_ai_dsh_message_feedback_messageFeedback_delete_result$schema
|
|
6866
|
+
},
|
|
6867
|
+
sourceLocation: {
|
|
6868
|
+
"file": "packages/feedback/message-feedback/src/index.ts",
|
|
6869
|
+
"line": 272,
|
|
6870
|
+
"column": 3
|
|
6871
|
+
}
|
|
6872
|
+
},
|
|
6873
|
+
{
|
|
6874
|
+
id: "@deepseek-ai/dsh-message-feedback#messageFeedback/list",
|
|
6875
|
+
service: "messageFeedback",
|
|
6876
|
+
namespace: "messageFeedback",
|
|
6877
|
+
method: "list",
|
|
6878
|
+
invocation: { kind: "direct" },
|
|
6879
|
+
parameters: [{
|
|
6880
|
+
name: "request",
|
|
6881
|
+
wire: "request",
|
|
6882
|
+
source: "json",
|
|
6883
|
+
codec: {
|
|
6884
|
+
mode: "strict",
|
|
6885
|
+
typeSymbol: "@deepseek-ai/dsh-message-feedback/types#MessageFeedbackListRequest",
|
|
6886
|
+
schema: _deepseek_ai_dsh_message_feedback_messageFeedback_list_parameter_0$schema
|
|
6887
|
+
}
|
|
6888
|
+
}],
|
|
6889
|
+
result: {
|
|
6890
|
+
mode: "strict",
|
|
6891
|
+
typeSymbol: "@deepseek-ai/dsh-message-feedback/types#MessageFeedbackListResult",
|
|
6892
|
+
schema: _deepseek_ai_dsh_message_feedback_messageFeedback_list_result$schema
|
|
6893
|
+
},
|
|
6894
|
+
sourceLocation: {
|
|
6895
|
+
"file": "packages/feedback/message-feedback/src/index.ts",
|
|
6896
|
+
"line": 190,
|
|
6897
|
+
"column": 9
|
|
6898
|
+
}
|
|
6899
|
+
},
|
|
6900
|
+
{
|
|
6901
|
+
id: "@deepseek-ai/dsh-message-feedback#messageFeedback/put",
|
|
6902
|
+
service: "messageFeedback",
|
|
6903
|
+
namespace: "messageFeedback",
|
|
6904
|
+
method: "put",
|
|
6905
|
+
invocation: { kind: "direct" },
|
|
6906
|
+
parameters: [{
|
|
6907
|
+
name: "request",
|
|
6908
|
+
wire: "request",
|
|
6909
|
+
source: "json",
|
|
6910
|
+
codec: {
|
|
6911
|
+
mode: "strict",
|
|
6912
|
+
typeSymbol: "@deepseek-ai/dsh-message-feedback/types#MessageFeedbackPutRequest",
|
|
6913
|
+
schema: _deepseek_ai_dsh_message_feedback_messageFeedback_put_parameter_0$schema
|
|
6914
|
+
}
|
|
6915
|
+
}],
|
|
6916
|
+
result: {
|
|
6917
|
+
mode: "strict",
|
|
6918
|
+
typeSymbol: "@deepseek-ai/dsh-message-feedback/types#MessageFeedbackPutResult",
|
|
6919
|
+
schema: _deepseek_ai_dsh_message_feedback_messageFeedback_put_result$schema
|
|
6920
|
+
},
|
|
6921
|
+
sourceLocation: {
|
|
6922
|
+
"file": "packages/feedback/message-feedback/src/index.ts",
|
|
6923
|
+
"line": 206,
|
|
6924
|
+
"column": 3
|
|
6925
|
+
}
|
|
6926
|
+
}
|
|
6927
|
+
]
|
|
6928
|
+
};
|
|
6929
|
+
//#endregion
|
|
6930
|
+
//#region ../../context/session-reference/lib/typert.remote-client.js
|
|
6931
|
+
const _deepseek_ai_dsh_session_reference_sessionReferenceResolver_candidates_parameter_0$schema = intersection(string(), unknown());
|
|
6932
|
+
const _deepseek_ai_dsh_session_reference_sessionReferenceResolver_candidates_parameter_1$schema = string();
|
|
6933
|
+
const _deepseek_ai_dsh_session_reference_sessionReferenceResolver_candidates_result$schema = array(object({
|
|
6934
|
+
"mention": string(),
|
|
6935
|
+
"sessionId": intersection(string(), unknown()),
|
|
6936
|
+
"label": string(),
|
|
6937
|
+
"cwd": string().optional(),
|
|
6938
|
+
"sameWorkspace": boolean(),
|
|
6939
|
+
"createdAt": number()
|
|
6940
|
+
}));
|
|
6941
|
+
const TYPERT_REMOTE$3 = {
|
|
6942
|
+
package: "@deepseek-ai/dsh-session-reference",
|
|
6943
|
+
descriptors: [{
|
|
6944
|
+
id: "@deepseek-ai/dsh-session-reference#sessionReferenceResolver/candidates",
|
|
6945
|
+
service: "sessionReferenceResolver",
|
|
6946
|
+
namespace: "sessionReferenceResolver",
|
|
6947
|
+
method: "candidates",
|
|
6948
|
+
implementation: "remoteExportCandidates",
|
|
6949
|
+
invocation: { kind: "direct" },
|
|
6950
|
+
scope: {
|
|
6951
|
+
context: "agent",
|
|
6952
|
+
wire: "agentId"
|
|
6953
|
+
},
|
|
6954
|
+
parameters: [{
|
|
6955
|
+
name: "agent",
|
|
6956
|
+
wire: "agentId",
|
|
6957
|
+
source: "lookup",
|
|
6958
|
+
lookup: "agent",
|
|
6959
|
+
codec: {
|
|
6960
|
+
mode: "strict",
|
|
6961
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
6962
|
+
schema: _deepseek_ai_dsh_session_reference_sessionReferenceResolver_candidates_parameter_0$schema
|
|
6963
|
+
}
|
|
6964
|
+
}, {
|
|
6965
|
+
name: "query",
|
|
6966
|
+
wire: "query",
|
|
6967
|
+
source: "json",
|
|
6968
|
+
codec: {
|
|
6969
|
+
mode: "strict",
|
|
6970
|
+
typeSymbol: "@deepseek-ai/dsh-session-reference#sessionReferenceResolver/candidates:query",
|
|
6971
|
+
schema: _deepseek_ai_dsh_session_reference_sessionReferenceResolver_candidates_parameter_1$schema
|
|
6972
|
+
}
|
|
6973
|
+
}],
|
|
6974
|
+
cancellation: { parameter: "signal" },
|
|
6975
|
+
result: {
|
|
6976
|
+
mode: "strict",
|
|
6977
|
+
typeSymbol: "@deepseek-ai/dsh-session-reference#sessionReferenceResolver/candidates:result",
|
|
6978
|
+
schema: _deepseek_ai_dsh_session_reference_sessionReferenceResolver_candidates_result$schema
|
|
6979
|
+
},
|
|
6980
|
+
sourceLocation: {
|
|
6981
|
+
"file": "packages/context/session-reference/src/index.ts",
|
|
6982
|
+
"line": 245,
|
|
6983
|
+
"column": 9
|
|
6984
|
+
}
|
|
6985
|
+
}]
|
|
6986
|
+
};
|
|
6987
|
+
//#endregion
|
|
6988
|
+
//#region ../../subagent/subagent/lib/typert.remote-client.js
|
|
6989
|
+
const ToolResultBlockRemoteCodec$schema = object({
|
|
6990
|
+
"type": literal("tool-result"),
|
|
6991
|
+
"toolCallId": intersection(string(), unknown()),
|
|
6992
|
+
"content": array(union([
|
|
6993
|
+
object({
|
|
6994
|
+
"type": literal("text"),
|
|
6995
|
+
"text": string()
|
|
6996
|
+
}),
|
|
6997
|
+
object({
|
|
6998
|
+
"type": literal("image"),
|
|
6999
|
+
"attachment": object({
|
|
7000
|
+
"attachmentId": intersection(string(), unknown()),
|
|
7001
|
+
"mediaType": union([
|
|
7002
|
+
literal("image/png"),
|
|
7003
|
+
literal("image/jpeg"),
|
|
7004
|
+
literal("image/webp"),
|
|
7005
|
+
literal("image/gif")
|
|
7006
|
+
]),
|
|
7007
|
+
"bytes": number(),
|
|
7008
|
+
"width": number(),
|
|
7009
|
+
"height": number(),
|
|
7010
|
+
"name": string().optional(),
|
|
7011
|
+
"originalDimensions": object({
|
|
7012
|
+
"width": number(),
|
|
7013
|
+
"height": number()
|
|
7014
|
+
}).optional()
|
|
7015
|
+
})
|
|
7016
|
+
}),
|
|
7017
|
+
object({
|
|
7018
|
+
"type": literal("reasoning"),
|
|
7019
|
+
"text": string()
|
|
7020
|
+
}),
|
|
7021
|
+
object({
|
|
7022
|
+
"type": literal("tool-call"),
|
|
7023
|
+
"id": intersection(string(), unknown()),
|
|
7024
|
+
"name": string(),
|
|
7025
|
+
"arguments": string()
|
|
7026
|
+
}),
|
|
7027
|
+
lazy(() => ToolResultBlockRemoteCodec$schema)
|
|
7028
|
+
])),
|
|
7029
|
+
"isError": boolean().optional()
|
|
7030
|
+
});
|
|
7031
|
+
const _deepseek_ai_dsh_subagent_subagents_interruptByParent_parameter_0$schema = intersection(string(), unknown());
|
|
7032
|
+
const _deepseek_ai_dsh_subagent_subagents_interruptByParent_parameter_1$schema = intersection(string(), unknown());
|
|
7033
|
+
const _deepseek_ai_dsh_subagent_subagents_interruptByParent_parameter_2$schema = literal("continuable");
|
|
7034
|
+
const _deepseek_ai_dsh_subagent_subagents_interruptByParent_result$schema = object({ "accepted": literal(true).readonly() });
|
|
7035
|
+
const _deepseek_ai_dsh_subagent_subagents_list_parameter_0$schema = intersection(string(), unknown());
|
|
7036
|
+
const _deepseek_ai_dsh_subagent_subagents_list_result$schema = object({
|
|
7037
|
+
"entries": array(union([
|
|
7038
|
+
intersection(object({
|
|
7039
|
+
"kind": literal("child").readonly(),
|
|
7040
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
7041
|
+
"activity": union([literal("running"), literal("inactive")]).readonly(),
|
|
7042
|
+
"hasChildren": boolean().readonly()
|
|
7043
|
+
}), object({
|
|
7044
|
+
"mode": literal("one-shot").readonly(),
|
|
7045
|
+
"label": string().readonly().optional()
|
|
7046
|
+
})),
|
|
7047
|
+
intersection(object({
|
|
7048
|
+
"kind": literal("child").readonly(),
|
|
7049
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
7050
|
+
"activity": union([literal("running"), literal("inactive")]).readonly(),
|
|
7051
|
+
"hasChildren": boolean().readonly()
|
|
7052
|
+
}), object({
|
|
7053
|
+
"mode": literal("continuable").readonly(),
|
|
7054
|
+
"label": string().readonly()
|
|
7055
|
+
})),
|
|
7056
|
+
object({
|
|
7057
|
+
"kind": literal("diagnostic").readonly(),
|
|
7058
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
7059
|
+
"reason": union([
|
|
7060
|
+
literal("corrupt"),
|
|
7061
|
+
literal("unsupported"),
|
|
7062
|
+
literal("unavailable")
|
|
7063
|
+
]).readonly()
|
|
7064
|
+
})
|
|
7065
|
+
])).readonly(),
|
|
7066
|
+
"parentAvailable": boolean().readonly()
|
|
7067
|
+
});
|
|
7068
|
+
const _deepseek_ai_dsh_subagent_subagents_prompt_parameter_0$schema = object({
|
|
7069
|
+
"requestId": intersection(string(), unknown()).readonly(),
|
|
7070
|
+
"parentSessionId": intersection(string(), unknown()).readonly(),
|
|
7071
|
+
"childSessionId": intersection(string(), unknown()).readonly(),
|
|
7072
|
+
"mode": literal("continuable").readonly(),
|
|
7073
|
+
"content": array(union([
|
|
7074
|
+
object({
|
|
7075
|
+
"type": literal("text"),
|
|
7076
|
+
"text": string()
|
|
7077
|
+
}),
|
|
7078
|
+
object({
|
|
7079
|
+
"type": literal("image"),
|
|
7080
|
+
"attachment": object({
|
|
7081
|
+
"attachmentId": intersection(string(), unknown()),
|
|
7082
|
+
"mediaType": union([
|
|
7083
|
+
literal("image/png"),
|
|
7084
|
+
literal("image/jpeg"),
|
|
7085
|
+
literal("image/webp"),
|
|
7086
|
+
literal("image/gif")
|
|
7087
|
+
]),
|
|
7088
|
+
"bytes": number(),
|
|
7089
|
+
"width": number(),
|
|
7090
|
+
"height": number(),
|
|
7091
|
+
"name": string().optional(),
|
|
7092
|
+
"originalDimensions": object({
|
|
7093
|
+
"width": number(),
|
|
7094
|
+
"height": number()
|
|
7095
|
+
}).optional()
|
|
7096
|
+
})
|
|
7097
|
+
}),
|
|
7098
|
+
object({
|
|
7099
|
+
"type": literal("reasoning"),
|
|
7100
|
+
"text": string()
|
|
7101
|
+
}),
|
|
7102
|
+
object({
|
|
7103
|
+
"type": literal("tool-call"),
|
|
7104
|
+
"id": intersection(string(), unknown()),
|
|
7105
|
+
"name": string(),
|
|
7106
|
+
"arguments": string()
|
|
7107
|
+
}),
|
|
7108
|
+
object({
|
|
7109
|
+
"type": literal("tool-result"),
|
|
7110
|
+
"toolCallId": intersection(string(), unknown()),
|
|
7111
|
+
"content": array(union([
|
|
7112
|
+
object({
|
|
7113
|
+
"type": literal("text"),
|
|
7114
|
+
"text": string()
|
|
7115
|
+
}),
|
|
7116
|
+
object({
|
|
7117
|
+
"type": literal("image"),
|
|
7118
|
+
"attachment": object({
|
|
7119
|
+
"attachmentId": intersection(string(), unknown()),
|
|
7120
|
+
"mediaType": union([
|
|
7121
|
+
literal("image/png"),
|
|
7122
|
+
literal("image/jpeg"),
|
|
7123
|
+
literal("image/webp"),
|
|
7124
|
+
literal("image/gif")
|
|
7125
|
+
]),
|
|
7126
|
+
"bytes": number(),
|
|
7127
|
+
"width": number(),
|
|
7128
|
+
"height": number(),
|
|
7129
|
+
"name": string().optional(),
|
|
7130
|
+
"originalDimensions": object({
|
|
7131
|
+
"width": number(),
|
|
7132
|
+
"height": number()
|
|
7133
|
+
}).optional()
|
|
7134
|
+
})
|
|
7135
|
+
}),
|
|
7136
|
+
object({
|
|
7137
|
+
"type": literal("reasoning"),
|
|
7138
|
+
"text": string()
|
|
7139
|
+
}),
|
|
7140
|
+
object({
|
|
7141
|
+
"type": literal("tool-call"),
|
|
7142
|
+
"id": intersection(string(), unknown()),
|
|
7143
|
+
"name": string(),
|
|
7144
|
+
"arguments": string()
|
|
7145
|
+
}),
|
|
7146
|
+
lazy(() => ToolResultBlockRemoteCodec$schema)
|
|
7147
|
+
])),
|
|
7148
|
+
"isError": boolean().optional()
|
|
7149
|
+
}),
|
|
7150
|
+
object({
|
|
7151
|
+
"type": literal("image").readonly(),
|
|
7152
|
+
"mediaType": union([
|
|
7153
|
+
literal("image/png"),
|
|
7154
|
+
literal("image/jpeg"),
|
|
7155
|
+
literal("image/webp"),
|
|
7156
|
+
literal("image/gif")
|
|
7157
|
+
]),
|
|
7158
|
+
"data": string(),
|
|
7159
|
+
"name": string().optional()
|
|
7160
|
+
})
|
|
7161
|
+
])).readonly(),
|
|
7162
|
+
"clientTimeZone": string().readonly().optional()
|
|
7163
|
+
});
|
|
7164
|
+
const _deepseek_ai_dsh_subagent_subagents_prompt_result$schema = object({ "messageId": intersection(string(), unknown()).readonly() });
|
|
7165
|
+
const TYPERT_REMOTE$2 = {
|
|
7166
|
+
package: "@deepseek-ai/dsh-subagent",
|
|
7167
|
+
descriptors: [
|
|
7168
|
+
{
|
|
7169
|
+
id: "@deepseek-ai/dsh-subagent#subagents/interruptByParent",
|
|
7170
|
+
service: "subagents",
|
|
7171
|
+
namespace: "subagents",
|
|
7172
|
+
method: "interruptByParent",
|
|
7173
|
+
invocation: { kind: "direct" },
|
|
7174
|
+
parameters: [
|
|
7175
|
+
{
|
|
7176
|
+
name: "childSessionId",
|
|
7177
|
+
wire: "childSessionId",
|
|
7178
|
+
source: "json",
|
|
7179
|
+
codec: {
|
|
7180
|
+
mode: "strict",
|
|
7181
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
7182
|
+
schema: _deepseek_ai_dsh_subagent_subagents_interruptByParent_parameter_0$schema
|
|
7183
|
+
}
|
|
7184
|
+
},
|
|
7185
|
+
{
|
|
7186
|
+
name: "parentSessionId",
|
|
7187
|
+
wire: "parentSessionId",
|
|
7188
|
+
source: "json",
|
|
7189
|
+
codec: {
|
|
7190
|
+
mode: "strict",
|
|
7191
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
7192
|
+
schema: _deepseek_ai_dsh_subagent_subagents_interruptByParent_parameter_1$schema
|
|
7193
|
+
}
|
|
7194
|
+
},
|
|
7195
|
+
{
|
|
7196
|
+
name: "mode",
|
|
7197
|
+
wire: "mode",
|
|
7198
|
+
source: "json",
|
|
7199
|
+
codec: {
|
|
7200
|
+
mode: "strict",
|
|
7201
|
+
typeSymbol: "@deepseek-ai/dsh-subagent#subagents/interruptByParent:mode",
|
|
7202
|
+
schema: _deepseek_ai_dsh_subagent_subagents_interruptByParent_parameter_2$schema
|
|
7203
|
+
}
|
|
7204
|
+
}
|
|
7205
|
+
],
|
|
7206
|
+
result: {
|
|
7207
|
+
mode: "strict",
|
|
7208
|
+
typeSymbol: "@deepseek-ai/dsh-subagent/client#SubagentInterruptReceipt",
|
|
7209
|
+
schema: _deepseek_ai_dsh_subagent_subagents_interruptByParent_result$schema
|
|
7210
|
+
},
|
|
7211
|
+
sourceLocation: {
|
|
7212
|
+
"file": "packages/subagent/subagent/src/index.ts",
|
|
7213
|
+
"line": 479,
|
|
7214
|
+
"column": 3
|
|
7215
|
+
}
|
|
7216
|
+
},
|
|
7217
|
+
{
|
|
7218
|
+
id: "@deepseek-ai/dsh-subagent#subagents/list",
|
|
7219
|
+
service: "subagents",
|
|
7220
|
+
namespace: "subagents",
|
|
7221
|
+
method: "list",
|
|
7222
|
+
implementation: "remoteExportList",
|
|
7223
|
+
invocation: { kind: "direct" },
|
|
7224
|
+
parameters: [{
|
|
7225
|
+
name: "parentSessionId",
|
|
7226
|
+
wire: "parentSessionId",
|
|
7227
|
+
source: "json",
|
|
7228
|
+
codec: {
|
|
7229
|
+
mode: "strict",
|
|
7230
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
7231
|
+
schema: _deepseek_ai_dsh_subagent_subagents_list_parameter_0$schema
|
|
7232
|
+
}
|
|
7233
|
+
}],
|
|
7234
|
+
cancellation: { parameter: "signal" },
|
|
7235
|
+
result: {
|
|
7236
|
+
mode: "strict",
|
|
7237
|
+
typeSymbol: "@deepseek-ai/dsh-subagent/client#SubagentCatalog",
|
|
7238
|
+
schema: _deepseek_ai_dsh_subagent_subagents_list_result$schema
|
|
7239
|
+
},
|
|
7240
|
+
sourceLocation: {
|
|
7241
|
+
"file": "packages/subagent/subagent/src/index.ts",
|
|
7242
|
+
"line": 406,
|
|
7243
|
+
"column": 9
|
|
7244
|
+
}
|
|
7245
|
+
},
|
|
7246
|
+
{
|
|
7247
|
+
id: "@deepseek-ai/dsh-subagent#subagents/prompt",
|
|
7248
|
+
service: "subagents",
|
|
7249
|
+
namespace: "subagents",
|
|
7250
|
+
method: "prompt",
|
|
7251
|
+
invocation: { kind: "direct" },
|
|
7252
|
+
parameters: [{
|
|
7253
|
+
name: "request",
|
|
7254
|
+
wire: "request",
|
|
7255
|
+
source: "json",
|
|
7256
|
+
codec: {
|
|
7257
|
+
mode: "strict",
|
|
7258
|
+
typeSymbol: "@deepseek-ai/dsh-subagent/client#SubagentPromptRequest",
|
|
7259
|
+
schema: _deepseek_ai_dsh_subagent_subagents_prompt_parameter_0$schema
|
|
7260
|
+
}
|
|
7261
|
+
}],
|
|
7262
|
+
cancellation: { parameter: "signal" },
|
|
7263
|
+
result: {
|
|
7264
|
+
mode: "strict",
|
|
7265
|
+
typeSymbol: "@deepseek-ai/dsh-subagent/client#SubagentPromptReceipt",
|
|
7266
|
+
schema: _deepseek_ai_dsh_subagent_subagents_prompt_result$schema
|
|
7267
|
+
},
|
|
7268
|
+
sourceLocation: {
|
|
7269
|
+
"file": "packages/subagent/subagent/src/index.ts",
|
|
7270
|
+
"line": 430,
|
|
7271
|
+
"column": 9
|
|
7272
|
+
}
|
|
7273
|
+
}
|
|
7274
|
+
]
|
|
7275
|
+
};
|
|
7276
|
+
//#endregion
|
|
7277
|
+
//#region ../session-controller/lib/typert.remote-client.js
|
|
7278
|
+
const ContentBlockRemoteCodec$schema = union([
|
|
7279
|
+
object({
|
|
7280
|
+
"type": literal("text"),
|
|
7281
|
+
"text": string()
|
|
7282
|
+
}),
|
|
7283
|
+
object({
|
|
7284
|
+
"type": literal("image"),
|
|
7285
|
+
"attachment": object({
|
|
7286
|
+
"attachmentId": intersection(string(), unknown()),
|
|
7287
|
+
"mediaType": union([
|
|
7288
|
+
literal("image/png"),
|
|
7289
|
+
literal("image/jpeg"),
|
|
7290
|
+
literal("image/webp"),
|
|
7291
|
+
literal("image/gif")
|
|
7292
|
+
]),
|
|
7293
|
+
"bytes": number(),
|
|
7294
|
+
"width": number(),
|
|
7295
|
+
"height": number(),
|
|
7296
|
+
"name": string().optional(),
|
|
7297
|
+
"originalDimensions": object({
|
|
7298
|
+
"width": number(),
|
|
7299
|
+
"height": number()
|
|
7300
|
+
}).optional()
|
|
7301
|
+
})
|
|
7302
|
+
}),
|
|
7303
|
+
object({
|
|
7304
|
+
"type": literal("reasoning"),
|
|
7305
|
+
"text": string()
|
|
7306
|
+
}),
|
|
7307
|
+
object({
|
|
7308
|
+
"type": literal("tool-call"),
|
|
7309
|
+
"id": intersection(string(), unknown()),
|
|
7310
|
+
"name": string(),
|
|
7311
|
+
"arguments": string()
|
|
7312
|
+
}),
|
|
7313
|
+
object({
|
|
7314
|
+
"type": literal("tool-result"),
|
|
7315
|
+
"toolCallId": intersection(string(), unknown()),
|
|
7316
|
+
"content": array(lazy(() => ContentBlockRemoteCodec$schema)),
|
|
7317
|
+
"isError": boolean().optional()
|
|
7318
|
+
})
|
|
7319
|
+
]);
|
|
7320
|
+
const JsonValueRemoteCodec$schema = union([
|
|
7321
|
+
literal(null),
|
|
7322
|
+
string(),
|
|
7323
|
+
number(),
|
|
7324
|
+
literal(false),
|
|
7325
|
+
literal(true),
|
|
7326
|
+
array(lazy(() => JsonValueRemoteCodec$schema)),
|
|
7327
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema))
|
|
7328
|
+
]);
|
|
7329
|
+
const JsonValueRemoteCodec$schema2 = union([
|
|
7330
|
+
literal(null),
|
|
7331
|
+
string(),
|
|
7332
|
+
number(),
|
|
7333
|
+
literal(false),
|
|
7334
|
+
literal(true),
|
|
7335
|
+
array(lazy(() => JsonValueRemoteCodec$schema2)),
|
|
7336
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema2))
|
|
7337
|
+
]);
|
|
7338
|
+
const JsonValueRemoteCodec$schema3 = union([
|
|
7339
|
+
literal(null),
|
|
7340
|
+
string(),
|
|
7341
|
+
number(),
|
|
7342
|
+
literal(false),
|
|
7343
|
+
literal(true),
|
|
7344
|
+
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
7345
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
7346
|
+
]);
|
|
7347
|
+
const JsonValueRemoteCodec$schema4 = union([
|
|
7348
|
+
literal(null),
|
|
7349
|
+
string(),
|
|
7350
|
+
number(),
|
|
7351
|
+
literal(false),
|
|
7352
|
+
literal(true),
|
|
7353
|
+
array(lazy(() => JsonValueRemoteCodec$schema4)),
|
|
7354
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema4))
|
|
7355
|
+
]);
|
|
7356
|
+
const _deepseek_ai_dsh_api_session_controller_fileReferences_list_parameter_0$schema = intersection(string(), unknown());
|
|
7357
|
+
const _deepseek_ai_dsh_api_session_controller_fileReferences_list_parameter_1$schema = string();
|
|
7358
|
+
const _deepseek_ai_dsh_api_session_controller_fileReferences_list_result$schema = array(object({
|
|
7359
|
+
"path": string(),
|
|
7360
|
+
"kind": union([literal("file"), literal("directory")])
|
|
7361
|
+
}));
|
|
7362
|
+
const _deepseek_ai_dsh_api_session_controller_session_attachment_parameter_0$schema = object({
|
|
7363
|
+
"sessionId": intersection(string(), unknown()).readonly(),
|
|
7364
|
+
"attachmentId": intersection(string(), unknown()).readonly()
|
|
7365
|
+
});
|
|
7366
|
+
const _deepseek_ai_dsh_api_session_controller_session_attachment_result$schema = object({
|
|
7367
|
+
"attachment": object({
|
|
7368
|
+
"attachmentId": intersection(string(), unknown()),
|
|
7369
|
+
"mediaType": union([
|
|
7370
|
+
literal("image/png"),
|
|
7371
|
+
literal("image/jpeg"),
|
|
7372
|
+
literal("image/webp"),
|
|
7373
|
+
literal("image/gif")
|
|
7374
|
+
]),
|
|
7375
|
+
"bytes": number(),
|
|
7376
|
+
"width": number(),
|
|
7377
|
+
"height": number(),
|
|
7378
|
+
"name": string().optional(),
|
|
7379
|
+
"originalDimensions": object({
|
|
7380
|
+
"width": number(),
|
|
7381
|
+
"height": number()
|
|
7382
|
+
}).optional()
|
|
7383
|
+
}).readonly(),
|
|
7384
|
+
"data": string().readonly()
|
|
7385
|
+
});
|
|
7386
|
+
const _deepseek_ai_dsh_api_session_controller_session_cancel_parameter_0$schema = object({ "sessionId": intersection(string(), unknown()).readonly() });
|
|
7387
|
+
const _deepseek_ai_dsh_api_session_controller_session_cancel_result$schema = object({ "accepted": literal(true).readonly() });
|
|
7388
|
+
const _deepseek_ai_dsh_api_session_controller_session_canOpenWorkspacePath_result$schema = boolean();
|
|
7389
|
+
const _deepseek_ai_dsh_api_session_controller_session_control_result$schema = union([
|
|
7390
|
+
object({
|
|
7391
|
+
"type": literal("baseline").readonly(),
|
|
7392
|
+
"value": object({
|
|
7393
|
+
"queues": record(intersection(string(), unknown()), array(object({
|
|
7394
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
7395
|
+
"placement": union([
|
|
7396
|
+
literal("queued"),
|
|
7397
|
+
literal("steering"),
|
|
7398
|
+
literal("context")
|
|
7399
|
+
]).readonly(),
|
|
7400
|
+
"rpcId": intersection(string(), unknown()).readonly().optional(),
|
|
7401
|
+
"message": object({
|
|
7402
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
7403
|
+
"content": array(union([
|
|
7404
|
+
literal(null),
|
|
7405
|
+
string(),
|
|
7406
|
+
number(),
|
|
7407
|
+
literal(false),
|
|
7408
|
+
literal(true),
|
|
7409
|
+
array(lazy(() => JsonValueRemoteCodec$schema4)),
|
|
7410
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema4))
|
|
7411
|
+
])).readonly()
|
|
7412
|
+
}).readonly()
|
|
7413
|
+
}))).readonly().readonly(),
|
|
7414
|
+
"jobs": record(intersection(string(), unknown()), array(object({
|
|
7415
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
7416
|
+
"kind": string().readonly(),
|
|
7417
|
+
"label": string().readonly(),
|
|
7418
|
+
"status": union([
|
|
7419
|
+
literal("completed"),
|
|
7420
|
+
literal("running"),
|
|
7421
|
+
literal("stopping"),
|
|
7422
|
+
literal("killed"),
|
|
7423
|
+
literal("failed")
|
|
7424
|
+
]).readonly(),
|
|
7425
|
+
"detail": string().readonly().optional(),
|
|
7426
|
+
"startedAt": number().readonly(),
|
|
7427
|
+
"finishedAt": number().readonly().optional()
|
|
7428
|
+
}))).readonly().readonly(),
|
|
7429
|
+
"projections": record(intersection(string(), unknown()), object({
|
|
7430
|
+
"asOfSeq": number().readonly(),
|
|
7431
|
+
"values": intersection(object({
|
|
7432
|
+
"agentPreset": union([literal(null), string()]).optional(),
|
|
7433
|
+
"title": union([literal(null), string()]).optional(),
|
|
7434
|
+
"todos": union([literal(null), array(object({
|
|
7435
|
+
"content": string(),
|
|
7436
|
+
"status": union([
|
|
7437
|
+
literal("pending"),
|
|
7438
|
+
literal("in_progress"),
|
|
7439
|
+
literal("completed")
|
|
7440
|
+
])
|
|
7441
|
+
}))]).optional(),
|
|
7442
|
+
"sessionListMetadata": object({
|
|
7443
|
+
"blank": boolean().readonly(),
|
|
7444
|
+
"lastPromptAt": union([literal(null), number()]).readonly()
|
|
7445
|
+
}).optional(),
|
|
7446
|
+
"imageLimits": object({
|
|
7447
|
+
"maxImageBytes": number(),
|
|
7448
|
+
"maxImagesPerMessage": number(),
|
|
7449
|
+
"maxMessageImageBytes": number(),
|
|
7450
|
+
"maxImagePixels": number(),
|
|
7451
|
+
"maxImageDimension": number(),
|
|
7452
|
+
"mediaTypes": array(union([
|
|
7453
|
+
literal("image/png"),
|
|
7454
|
+
literal("image/jpeg"),
|
|
7455
|
+
literal("image/webp"),
|
|
7456
|
+
literal("image/gif")
|
|
7457
|
+
]))
|
|
7458
|
+
}).optional(),
|
|
7459
|
+
"modelSelection": object({
|
|
7460
|
+
"lastUsed": union([literal(null), object({
|
|
7461
|
+
"provider": string().readonly(),
|
|
7462
|
+
"model": string().readonly(),
|
|
7463
|
+
"reasoningEffort": string().readonly().optional()
|
|
7464
|
+
})]).readonly(),
|
|
7465
|
+
"next": union([literal(null), object({
|
|
7466
|
+
"provider": string().readonly(),
|
|
7467
|
+
"model": string().readonly(),
|
|
7468
|
+
"reasoningEffort": string().readonly().optional()
|
|
7469
|
+
})]).readonly()
|
|
7470
|
+
}).optional(),
|
|
7471
|
+
"subagentTiming": object({
|
|
7472
|
+
"settledMs": number(),
|
|
7473
|
+
"active": object({
|
|
7474
|
+
"since": number(),
|
|
7475
|
+
"through": number()
|
|
7476
|
+
}).optional()
|
|
7477
|
+
}).optional(),
|
|
7478
|
+
"subagent": union([
|
|
7479
|
+
literal(null),
|
|
7480
|
+
object({
|
|
7481
|
+
"mode": literal("one-shot"),
|
|
7482
|
+
"label": string().optional(),
|
|
7483
|
+
"seq": number()
|
|
7484
|
+
}),
|
|
7485
|
+
object({
|
|
7486
|
+
"mode": literal("continuable"),
|
|
7487
|
+
"label": string(),
|
|
7488
|
+
"seq": number()
|
|
7489
|
+
})
|
|
7490
|
+
]).optional(),
|
|
7491
|
+
"goal": union([literal(null), object({
|
|
7492
|
+
"goal": object({
|
|
7493
|
+
"objective": string().readonly(),
|
|
7494
|
+
"phase": union([
|
|
7495
|
+
literal("active"),
|
|
7496
|
+
literal("paused"),
|
|
7497
|
+
literal("blocked"),
|
|
7498
|
+
literal("complete")
|
|
7499
|
+
]).readonly(),
|
|
7500
|
+
"blockedReason": object({
|
|
7501
|
+
"code": string().readonly(),
|
|
7502
|
+
"message": string().readonly()
|
|
7503
|
+
}).readonly().optional(),
|
|
7504
|
+
"maxGoalRounds": number().readonly(),
|
|
7505
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
7506
|
+
"revision": number().readonly()
|
|
7507
|
+
}).readonly(),
|
|
7508
|
+
"roundsStarted": number().readonly(),
|
|
7509
|
+
"createdAt": number().readonly(),
|
|
7510
|
+
"updatedAt": number().readonly()
|
|
7511
|
+
})]).optional()
|
|
7512
|
+
}), record(string(), union([
|
|
7513
|
+
literal(null),
|
|
7514
|
+
string(),
|
|
7515
|
+
number(),
|
|
7516
|
+
literal(false),
|
|
7517
|
+
literal(true),
|
|
7518
|
+
array(lazy(() => JsonValueRemoteCodec$schema4)),
|
|
7519
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema4))
|
|
7520
|
+
])).readonly()).readonly()
|
|
7521
|
+
})).readonly().readonly()
|
|
7522
|
+
}).readonly()
|
|
7523
|
+
}),
|
|
7524
|
+
object({
|
|
7525
|
+
"type": literal("queue").readonly(),
|
|
7526
|
+
"sessionId": intersection(string(), unknown()).readonly(),
|
|
7527
|
+
"items": array(object({
|
|
7528
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
7529
|
+
"placement": union([
|
|
7530
|
+
literal("queued"),
|
|
7531
|
+
literal("steering"),
|
|
7532
|
+
literal("context")
|
|
7533
|
+
]).readonly(),
|
|
7534
|
+
"rpcId": intersection(string(), unknown()).readonly().optional(),
|
|
7535
|
+
"message": object({
|
|
7536
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
7537
|
+
"content": array(union([
|
|
7538
|
+
literal(null),
|
|
7539
|
+
string(),
|
|
7540
|
+
number(),
|
|
7541
|
+
literal(false),
|
|
7542
|
+
literal(true),
|
|
7543
|
+
array(lazy(() => JsonValueRemoteCodec$schema4)),
|
|
7544
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema4))
|
|
7545
|
+
])).readonly()
|
|
7546
|
+
}).readonly()
|
|
7547
|
+
})).readonly()
|
|
7548
|
+
}),
|
|
7549
|
+
object({
|
|
7550
|
+
"type": literal("jobs").readonly(),
|
|
7551
|
+
"sessionId": intersection(string(), unknown()).readonly(),
|
|
7552
|
+
"jobs": array(object({
|
|
7553
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
7554
|
+
"kind": string().readonly(),
|
|
7555
|
+
"label": string().readonly(),
|
|
7556
|
+
"status": union([
|
|
7557
|
+
literal("completed"),
|
|
7558
|
+
literal("running"),
|
|
7559
|
+
literal("stopping"),
|
|
7560
|
+
literal("killed"),
|
|
7561
|
+
literal("failed")
|
|
7562
|
+
]).readonly(),
|
|
7563
|
+
"detail": string().readonly().optional(),
|
|
7564
|
+
"startedAt": number().readonly(),
|
|
7565
|
+
"finishedAt": number().readonly().optional()
|
|
7566
|
+
})).readonly()
|
|
7567
|
+
}),
|
|
7568
|
+
intersection(object({ "type": literal("projection").readonly() }), object({
|
|
7569
|
+
"sessionId": intersection(string(), unknown()).readonly(),
|
|
7570
|
+
"key": string().readonly(),
|
|
7571
|
+
"value": union([
|
|
7572
|
+
literal(null),
|
|
7573
|
+
string(),
|
|
7574
|
+
number(),
|
|
7575
|
+
literal(false),
|
|
7576
|
+
literal(true),
|
|
7577
|
+
array(lazy(() => JsonValueRemoteCodec$schema4)),
|
|
7578
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema4))
|
|
7579
|
+
]).readonly(),
|
|
7580
|
+
"seq": number().readonly()
|
|
7581
|
+
}))
|
|
7582
|
+
]);
|
|
7583
|
+
const _deepseek_ai_dsh_api_session_controller_session_create_parameter_0$schema = object({
|
|
7584
|
+
"workspaceId": intersection(string(), unknown()).readonly().optional(),
|
|
7585
|
+
"cwd": string().readonly().optional(),
|
|
7586
|
+
"sessionId": intersection(string(), unknown()).readonly().optional(),
|
|
7587
|
+
"agentPreset": string().readonly().optional()
|
|
7588
|
+
});
|
|
7589
|
+
const _deepseek_ai_dsh_api_session_controller_session_create_result$schema = object({
|
|
7590
|
+
"sessionId": intersection(string(), unknown()).readonly(),
|
|
7591
|
+
"agentPreset": string().readonly().optional()
|
|
7592
|
+
});
|
|
7593
|
+
const _deepseek_ai_dsh_api_session_controller_session_follow_parameter_0$schema = object({
|
|
7594
|
+
"address": union([object({
|
|
7595
|
+
"kind": literal("session").readonly(),
|
|
7596
|
+
"sessionId": intersection(string(), unknown()).readonly()
|
|
7597
|
+
}), object({
|
|
7598
|
+
"kind": literal("subagent").readonly(),
|
|
7599
|
+
"parentSessionId": intersection(string(), unknown()).readonly(),
|
|
7600
|
+
"childSessionId": intersection(string(), unknown()).readonly(),
|
|
7601
|
+
"mode": union([literal("one-shot"), literal("continuable")]).readonly()
|
|
7602
|
+
})]).readonly(),
|
|
7603
|
+
"maxMessages": number().readonly().optional()
|
|
7604
|
+
});
|
|
7605
|
+
const _deepseek_ai_dsh_api_session_controller_session_follow_result$schema = union([object({
|
|
7606
|
+
"type": literal("event").readonly(),
|
|
7607
|
+
"event": object({
|
|
7608
|
+
"type": string().readonly(),
|
|
7609
|
+
"seq": number().readonly(),
|
|
7610
|
+
"time": number().readonly(),
|
|
7611
|
+
"data": union([
|
|
7612
|
+
literal(null),
|
|
7613
|
+
string(),
|
|
7614
|
+
number(),
|
|
7615
|
+
literal(false),
|
|
7616
|
+
literal(true),
|
|
7617
|
+
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
7618
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
7619
|
+
]).readonly(),
|
|
7620
|
+
"ignorable": literal(true).readonly().optional(),
|
|
7621
|
+
"sourceEventSeqs": array(number()).readonly().optional(),
|
|
7622
|
+
"surfaceOp": union([literal("append"), object({
|
|
7623
|
+
"op": literal("replace"),
|
|
7624
|
+
"start": number(),
|
|
7625
|
+
"end": number()
|
|
7626
|
+
})]).readonly().optional()
|
|
7627
|
+
}).readonly()
|
|
7628
|
+
}), object({
|
|
7629
|
+
"type": literal("snapshot").readonly(),
|
|
7630
|
+
"header": object({
|
|
7631
|
+
"version": number().readonly(),
|
|
7632
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
7633
|
+
"createdAt": number().readonly(),
|
|
7634
|
+
"cwd": string().readonly().optional(),
|
|
7635
|
+
"parentSession": intersection(string(), unknown()).readonly().optional(),
|
|
7636
|
+
"seedLength": number().readonly().optional(),
|
|
7637
|
+
"origin": literal("subagent").readonly().optional(),
|
|
7638
|
+
"delegationDepth": number().readonly().optional(),
|
|
7639
|
+
"agentPreset": string().readonly().optional()
|
|
7640
|
+
}).readonly(),
|
|
7641
|
+
"cursor": number().readonly(),
|
|
7642
|
+
"records": array(union([object({
|
|
7643
|
+
"type": literal("event").readonly(),
|
|
7644
|
+
"event": object({
|
|
7645
|
+
"type": string().readonly(),
|
|
7646
|
+
"seq": number().readonly(),
|
|
7647
|
+
"time": number().readonly(),
|
|
7648
|
+
"data": union([
|
|
7649
|
+
literal(null),
|
|
7650
|
+
string(),
|
|
7651
|
+
number(),
|
|
7652
|
+
literal(false),
|
|
7653
|
+
literal(true),
|
|
7654
|
+
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
7655
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
7656
|
+
]).readonly(),
|
|
7657
|
+
"ignorable": literal(true).readonly().optional(),
|
|
7658
|
+
"sourceEventSeqs": array(number()).readonly().optional(),
|
|
7659
|
+
"surfaceOp": union([literal("append"), object({
|
|
7660
|
+
"op": literal("replace"),
|
|
7661
|
+
"start": number(),
|
|
7662
|
+
"end": number()
|
|
7663
|
+
})]).readonly().optional()
|
|
7664
|
+
}).readonly()
|
|
7665
|
+
}), object({
|
|
7666
|
+
"type": literal("chunks").readonly(),
|
|
7667
|
+
"event": union([
|
|
7668
|
+
object({
|
|
7669
|
+
"type": literal("chunkrow/text-chunks").readonly(),
|
|
7670
|
+
"seq": number().readonly(),
|
|
7671
|
+
"time": number().readonly(),
|
|
7672
|
+
"data": object({
|
|
7673
|
+
"texts": array(string()),
|
|
7674
|
+
"turn": number(),
|
|
7675
|
+
"step": number(),
|
|
7676
|
+
"index": number(),
|
|
7677
|
+
"dt": array(number())
|
|
7678
|
+
}).readonly()
|
|
7679
|
+
}),
|
|
7680
|
+
object({
|
|
7681
|
+
"type": literal("chunkrow/reasoning-chunks").readonly(),
|
|
7682
|
+
"seq": number().readonly(),
|
|
7683
|
+
"time": number().readonly(),
|
|
7684
|
+
"data": object({
|
|
7685
|
+
"texts": array(string()),
|
|
7686
|
+
"turn": number(),
|
|
7687
|
+
"step": number(),
|
|
7688
|
+
"index": number(),
|
|
7689
|
+
"dt": array(number())
|
|
7690
|
+
}).readonly()
|
|
7691
|
+
}),
|
|
7692
|
+
object({
|
|
7693
|
+
"type": literal("chunkrow/tool-call-chunks").readonly(),
|
|
7694
|
+
"seq": number().readonly(),
|
|
7695
|
+
"time": number().readonly(),
|
|
7696
|
+
"data": object({
|
|
7697
|
+
"id": intersection(string(), unknown()),
|
|
7698
|
+
"name": string().optional(),
|
|
7699
|
+
"args": array(string()),
|
|
7700
|
+
"turn": number(),
|
|
7701
|
+
"step": number(),
|
|
7702
|
+
"index": number(),
|
|
7703
|
+
"dt": array(number())
|
|
7704
|
+
}).readonly()
|
|
7705
|
+
})
|
|
7706
|
+
]).readonly()
|
|
7707
|
+
})])).readonly(),
|
|
7708
|
+
"hasMore": boolean().readonly(),
|
|
7709
|
+
"projections": object({
|
|
7710
|
+
"asOfSeq": number().readonly(),
|
|
7711
|
+
"values": intersection(object({
|
|
7712
|
+
"agentPreset": union([literal(null), string()]).optional(),
|
|
7713
|
+
"title": union([literal(null), string()]).optional(),
|
|
7714
|
+
"todos": union([literal(null), array(object({
|
|
7715
|
+
"content": string(),
|
|
7716
|
+
"status": union([
|
|
7717
|
+
literal("pending"),
|
|
7718
|
+
literal("in_progress"),
|
|
7719
|
+
literal("completed")
|
|
7720
|
+
])
|
|
7721
|
+
}))]).optional(),
|
|
7722
|
+
"sessionListMetadata": object({
|
|
7723
|
+
"blank": boolean().readonly(),
|
|
7724
|
+
"lastPromptAt": union([literal(null), number()]).readonly()
|
|
7725
|
+
}).optional(),
|
|
7726
|
+
"imageLimits": object({
|
|
7727
|
+
"maxImageBytes": number(),
|
|
7728
|
+
"maxImagesPerMessage": number(),
|
|
7729
|
+
"maxMessageImageBytes": number(),
|
|
7730
|
+
"maxImagePixels": number(),
|
|
7731
|
+
"maxImageDimension": number(),
|
|
7732
|
+
"mediaTypes": array(union([
|
|
7733
|
+
literal("image/png"),
|
|
7734
|
+
literal("image/jpeg"),
|
|
7735
|
+
literal("image/webp"),
|
|
7736
|
+
literal("image/gif")
|
|
7737
|
+
]))
|
|
7738
|
+
}).optional(),
|
|
7739
|
+
"modelSelection": object({
|
|
7740
|
+
"lastUsed": union([literal(null), object({
|
|
7741
|
+
"provider": string().readonly(),
|
|
7742
|
+
"model": string().readonly(),
|
|
7743
|
+
"reasoningEffort": string().readonly().optional()
|
|
7744
|
+
})]).readonly(),
|
|
7745
|
+
"next": union([literal(null), object({
|
|
7746
|
+
"provider": string().readonly(),
|
|
7747
|
+
"model": string().readonly(),
|
|
7748
|
+
"reasoningEffort": string().readonly().optional()
|
|
7749
|
+
})]).readonly()
|
|
7750
|
+
}).optional(),
|
|
7751
|
+
"subagentTiming": object({
|
|
7752
|
+
"settledMs": number(),
|
|
7753
|
+
"active": object({
|
|
7754
|
+
"since": number(),
|
|
7755
|
+
"through": number()
|
|
7756
|
+
}).optional()
|
|
7757
|
+
}).optional(),
|
|
7758
|
+
"subagent": union([
|
|
7759
|
+
literal(null),
|
|
7760
|
+
object({
|
|
7761
|
+
"mode": literal("one-shot"),
|
|
7762
|
+
"label": string().optional(),
|
|
7763
|
+
"seq": number()
|
|
7764
|
+
}),
|
|
7765
|
+
object({
|
|
7766
|
+
"mode": literal("continuable"),
|
|
7767
|
+
"label": string(),
|
|
7768
|
+
"seq": number()
|
|
7769
|
+
})
|
|
7770
|
+
]).optional(),
|
|
7771
|
+
"goal": union([literal(null), object({
|
|
7772
|
+
"goal": object({
|
|
7773
|
+
"objective": string().readonly(),
|
|
7774
|
+
"phase": union([
|
|
7775
|
+
literal("active"),
|
|
7776
|
+
literal("paused"),
|
|
7777
|
+
literal("blocked"),
|
|
7778
|
+
literal("complete")
|
|
7779
|
+
]).readonly(),
|
|
7780
|
+
"blockedReason": object({
|
|
7781
|
+
"code": string().readonly(),
|
|
7782
|
+
"message": string().readonly()
|
|
7783
|
+
}).readonly().optional(),
|
|
7784
|
+
"maxGoalRounds": number().readonly(),
|
|
7785
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
7786
|
+
"revision": number().readonly()
|
|
7787
|
+
}).readonly(),
|
|
7788
|
+
"roundsStarted": number().readonly(),
|
|
7789
|
+
"createdAt": number().readonly(),
|
|
7790
|
+
"updatedAt": number().readonly()
|
|
7791
|
+
})]).optional()
|
|
7792
|
+
}), record(string(), union([
|
|
7793
|
+
literal(null),
|
|
7794
|
+
string(),
|
|
7795
|
+
number(),
|
|
7796
|
+
literal(false),
|
|
7797
|
+
literal(true),
|
|
7798
|
+
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
7799
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
7800
|
+
])).readonly()).readonly()
|
|
7801
|
+
}).readonly()
|
|
7802
|
+
})]);
|
|
7803
|
+
const _deepseek_ai_dsh_api_session_controller_session_fork_parameter_0$schema = object({
|
|
7804
|
+
"sessionId": intersection(string(), unknown()).readonly(),
|
|
7805
|
+
"atSeq": number().readonly().optional()
|
|
7806
|
+
});
|
|
7807
|
+
const _deepseek_ai_dsh_api_session_controller_session_fork_result$schema = object({ "sessionId": intersection(string(), unknown()).readonly() });
|
|
7808
|
+
const _deepseek_ai_dsh_api_session_controller_session_list_parameter_0$schema = object({ "cursor": string().readonly().optional() });
|
|
7809
|
+
const _deepseek_ai_dsh_api_session_controller_session_list_result$schema = object({ "items": array(object({
|
|
7810
|
+
"sessionId": intersection(string(), unknown()).readonly(),
|
|
7811
|
+
"updatedAt": number().readonly(),
|
|
7812
|
+
"running": boolean().readonly(),
|
|
7813
|
+
"blank": boolean().readonly(),
|
|
7814
|
+
"parentSessionId": intersection(string(), unknown()).readonly().optional(),
|
|
7815
|
+
"origin": literal("subagent").readonly().optional(),
|
|
7816
|
+
"cwd": string().readonly().optional(),
|
|
7817
|
+
"projections": object({
|
|
7818
|
+
"asOfSeq": number().readonly(),
|
|
7819
|
+
"values": intersection(object({
|
|
7820
|
+
"agentPreset": union([literal(null), string()]).optional(),
|
|
7821
|
+
"title": union([literal(null), string()]).optional(),
|
|
7822
|
+
"todos": union([literal(null), array(object({
|
|
7823
|
+
"content": string(),
|
|
7824
|
+
"status": union([
|
|
7825
|
+
literal("pending"),
|
|
7826
|
+
literal("in_progress"),
|
|
7827
|
+
literal("completed")
|
|
7828
|
+
])
|
|
7829
|
+
}))]).optional(),
|
|
7830
|
+
"sessionListMetadata": object({
|
|
7831
|
+
"blank": boolean().readonly(),
|
|
7832
|
+
"lastPromptAt": union([literal(null), number()]).readonly()
|
|
7833
|
+
}).optional(),
|
|
7834
|
+
"imageLimits": object({
|
|
7835
|
+
"maxImageBytes": number(),
|
|
7836
|
+
"maxImagesPerMessage": number(),
|
|
7837
|
+
"maxMessageImageBytes": number(),
|
|
7838
|
+
"maxImagePixels": number(),
|
|
7839
|
+
"maxImageDimension": number(),
|
|
7840
|
+
"mediaTypes": array(union([
|
|
7841
|
+
literal("image/png"),
|
|
7842
|
+
literal("image/jpeg"),
|
|
7843
|
+
literal("image/webp"),
|
|
7844
|
+
literal("image/gif")
|
|
7845
|
+
]))
|
|
7846
|
+
}).optional(),
|
|
7847
|
+
"modelSelection": object({
|
|
7848
|
+
"lastUsed": union([literal(null), object({
|
|
7849
|
+
"provider": string().readonly(),
|
|
7850
|
+
"model": string().readonly(),
|
|
7851
|
+
"reasoningEffort": string().readonly().optional()
|
|
7852
|
+
})]).readonly(),
|
|
7853
|
+
"next": union([literal(null), object({
|
|
7854
|
+
"provider": string().readonly(),
|
|
7855
|
+
"model": string().readonly(),
|
|
7856
|
+
"reasoningEffort": string().readonly().optional()
|
|
7857
|
+
})]).readonly()
|
|
7858
|
+
}).optional(),
|
|
7859
|
+
"subagentTiming": object({
|
|
7860
|
+
"settledMs": number(),
|
|
7861
|
+
"active": object({
|
|
7862
|
+
"since": number(),
|
|
7863
|
+
"through": number()
|
|
7864
|
+
}).optional()
|
|
7865
|
+
}).optional(),
|
|
7866
|
+
"subagent": union([
|
|
7867
|
+
literal(null),
|
|
7868
|
+
object({
|
|
7869
|
+
"mode": literal("one-shot"),
|
|
7870
|
+
"label": string().optional(),
|
|
7871
|
+
"seq": number()
|
|
7872
|
+
}),
|
|
7873
|
+
object({
|
|
7874
|
+
"mode": literal("continuable"),
|
|
7875
|
+
"label": string(),
|
|
7876
|
+
"seq": number()
|
|
7877
|
+
})
|
|
7878
|
+
]).optional(),
|
|
7879
|
+
"goal": union([literal(null), object({
|
|
7880
|
+
"goal": object({
|
|
7881
|
+
"objective": string().readonly(),
|
|
7882
|
+
"phase": union([
|
|
7883
|
+
literal("active"),
|
|
7884
|
+
literal("paused"),
|
|
7885
|
+
literal("blocked"),
|
|
7886
|
+
literal("complete")
|
|
7887
|
+
]).readonly(),
|
|
7888
|
+
"blockedReason": object({
|
|
7889
|
+
"code": string().readonly(),
|
|
7890
|
+
"message": string().readonly()
|
|
7891
|
+
}).readonly().optional(),
|
|
7892
|
+
"maxGoalRounds": number().readonly(),
|
|
7893
|
+
"id": intersection(string(), unknown()).readonly(),
|
|
7894
|
+
"revision": number().readonly()
|
|
7895
|
+
}).readonly(),
|
|
7896
|
+
"roundsStarted": number().readonly(),
|
|
7897
|
+
"createdAt": number().readonly(),
|
|
7898
|
+
"updatedAt": number().readonly()
|
|
7899
|
+
})]).optional()
|
|
7900
|
+
}), record(string(), union([
|
|
7901
|
+
literal(null),
|
|
7902
|
+
string(),
|
|
7903
|
+
number(),
|
|
7904
|
+
literal(false),
|
|
7905
|
+
literal(true),
|
|
7906
|
+
array(lazy(() => JsonValueRemoteCodec$schema)),
|
|
7907
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema))
|
|
7908
|
+
])).readonly()).readonly()
|
|
7909
|
+
}).readonly().optional()
|
|
7910
|
+
})).readonly() });
|
|
7911
|
+
const _deepseek_ai_dsh_api_session_controller_session_modelCatalog_result$schema = object({
|
|
7912
|
+
"default": object({
|
|
7913
|
+
"provider": string().readonly(),
|
|
7914
|
+
"model": string().readonly(),
|
|
7915
|
+
"reasoningEffort": string().readonly().optional()
|
|
7916
|
+
}).readonly(),
|
|
7917
|
+
"routableProviders": array(string()).readonly(),
|
|
7918
|
+
"groups": array(object({
|
|
7919
|
+
"id": string().readonly(),
|
|
7920
|
+
"name": string().readonly(),
|
|
7921
|
+
"models": array(object({
|
|
7922
|
+
"id": string().readonly(),
|
|
7923
|
+
"name": string().readonly(),
|
|
7924
|
+
"description": string().readonly().optional(),
|
|
7925
|
+
"reasoning": object({
|
|
7926
|
+
"efforts": array(object({
|
|
7927
|
+
"id": string().readonly(),
|
|
7928
|
+
"name": string().readonly(),
|
|
7929
|
+
"description": string().readonly().optional()
|
|
7930
|
+
})).readonly(),
|
|
7931
|
+
"defaultEffort": string().readonly().optional()
|
|
7932
|
+
}).readonly().optional()
|
|
7933
|
+
})).readonly()
|
|
7934
|
+
})).readonly(),
|
|
7935
|
+
"failures": array(object({
|
|
7936
|
+
"id": string().readonly(),
|
|
7937
|
+
"name": string().readonly(),
|
|
7938
|
+
"message": string().readonly()
|
|
7939
|
+
})).readonly()
|
|
7940
|
+
});
|
|
7941
|
+
const _deepseek_ai_dsh_api_session_controller_session_openWorkspacePath_parameter_0$schema = object({ "path": string().readonly() });
|
|
7942
|
+
const _deepseek_ai_dsh_api_session_controller_session_openWorkspacePath_result$schema = object({ "opened": literal(true).readonly() });
|
|
7943
|
+
const _deepseek_ai_dsh_api_session_controller_session_page_parameter_0$schema = object({
|
|
7944
|
+
"address": union([object({
|
|
7945
|
+
"kind": literal("session").readonly(),
|
|
7946
|
+
"sessionId": intersection(string(), unknown()).readonly()
|
|
7947
|
+
}), object({
|
|
7948
|
+
"kind": literal("subagent").readonly(),
|
|
7949
|
+
"parentSessionId": intersection(string(), unknown()).readonly(),
|
|
7950
|
+
"childSessionId": intersection(string(), unknown()).readonly(),
|
|
7951
|
+
"mode": union([literal("one-shot"), literal("continuable")]).readonly()
|
|
7952
|
+
})]).readonly(),
|
|
7953
|
+
"throughSeq": number().readonly(),
|
|
7954
|
+
"beforeSeq": number().readonly().optional(),
|
|
7955
|
+
"maxMessages": number().readonly().optional()
|
|
7956
|
+
});
|
|
7957
|
+
const _deepseek_ai_dsh_api_session_controller_session_page_result$schema = object({
|
|
7958
|
+
"records": array(union([object({
|
|
7959
|
+
"type": literal("event").readonly(),
|
|
7960
|
+
"event": object({
|
|
7961
|
+
"type": string().readonly(),
|
|
7962
|
+
"seq": number().readonly(),
|
|
7963
|
+
"time": number().readonly(),
|
|
7964
|
+
"data": union([
|
|
7965
|
+
literal(null),
|
|
7966
|
+
string(),
|
|
7967
|
+
number(),
|
|
7968
|
+
literal(false),
|
|
7969
|
+
literal(true),
|
|
7970
|
+
array(lazy(() => JsonValueRemoteCodec$schema2)),
|
|
7971
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema2))
|
|
7972
|
+
]).readonly(),
|
|
7973
|
+
"ignorable": literal(true).readonly().optional(),
|
|
7974
|
+
"sourceEventSeqs": array(number()).readonly().optional(),
|
|
7975
|
+
"surfaceOp": union([literal("append"), object({
|
|
7976
|
+
"op": literal("replace"),
|
|
7977
|
+
"start": number(),
|
|
7978
|
+
"end": number()
|
|
7979
|
+
})]).readonly().optional()
|
|
7980
|
+
}).readonly()
|
|
7981
|
+
}), object({
|
|
7982
|
+
"type": literal("chunks").readonly(),
|
|
7983
|
+
"event": union([
|
|
7984
|
+
object({
|
|
7985
|
+
"type": literal("chunkrow/text-chunks").readonly(),
|
|
7986
|
+
"seq": number().readonly(),
|
|
7987
|
+
"time": number().readonly(),
|
|
7988
|
+
"data": object({
|
|
7989
|
+
"texts": array(string()),
|
|
7990
|
+
"turn": number(),
|
|
7991
|
+
"step": number(),
|
|
7992
|
+
"index": number(),
|
|
7993
|
+
"dt": array(number())
|
|
7994
|
+
}).readonly()
|
|
7995
|
+
}),
|
|
7996
|
+
object({
|
|
7997
|
+
"type": literal("chunkrow/reasoning-chunks").readonly(),
|
|
7998
|
+
"seq": number().readonly(),
|
|
7999
|
+
"time": number().readonly(),
|
|
8000
|
+
"data": object({
|
|
8001
|
+
"texts": array(string()),
|
|
8002
|
+
"turn": number(),
|
|
8003
|
+
"step": number(),
|
|
8004
|
+
"index": number(),
|
|
8005
|
+
"dt": array(number())
|
|
8006
|
+
}).readonly()
|
|
8007
|
+
}),
|
|
8008
|
+
object({
|
|
8009
|
+
"type": literal("chunkrow/tool-call-chunks").readonly(),
|
|
8010
|
+
"seq": number().readonly(),
|
|
8011
|
+
"time": number().readonly(),
|
|
8012
|
+
"data": object({
|
|
8013
|
+
"id": intersection(string(), unknown()),
|
|
8014
|
+
"name": string().optional(),
|
|
8015
|
+
"args": array(string()),
|
|
8016
|
+
"turn": number(),
|
|
8017
|
+
"step": number(),
|
|
8018
|
+
"index": number(),
|
|
8019
|
+
"dt": array(number())
|
|
8020
|
+
}).readonly()
|
|
8021
|
+
})
|
|
8022
|
+
]).readonly()
|
|
8023
|
+
})])).readonly(),
|
|
8024
|
+
"hasMore": boolean().readonly()
|
|
8025
|
+
});
|
|
8026
|
+
const _deepseek_ai_dsh_api_session_controller_session_prompt_parameter_0$schema = object({
|
|
8027
|
+
"requestId": intersection(string(), unknown()).readonly(),
|
|
8028
|
+
"sessionId": intersection(string(), unknown()).readonly(),
|
|
8029
|
+
"mode": union([literal("queue"), literal("steer")]).readonly(),
|
|
8030
|
+
"content": array(union([object({
|
|
8031
|
+
"type": literal("text").readonly(),
|
|
8032
|
+
"text": string().readonly()
|
|
8033
|
+
}), object({
|
|
8034
|
+
"type": literal("image").readonly(),
|
|
8035
|
+
"mediaType": union([
|
|
8036
|
+
literal("image/png"),
|
|
8037
|
+
literal("image/jpeg"),
|
|
8038
|
+
literal("image/webp"),
|
|
8039
|
+
literal("image/gif")
|
|
8040
|
+
]).readonly(),
|
|
8041
|
+
"data": string().readonly(),
|
|
8042
|
+
"name": string().readonly().optional()
|
|
8043
|
+
})])).readonly(),
|
|
8044
|
+
"clientTimeZone": string().readonly().optional()
|
|
8045
|
+
});
|
|
8046
|
+
const _deepseek_ai_dsh_api_session_controller_session_prompt_result$schema = object({ "accepted": literal(true).readonly() });
|
|
8047
|
+
const _deepseek_ai_dsh_api_session_controller_session_rename_parameter_0$schema = object({
|
|
8048
|
+
"sessionId": intersection(string(), unknown()).readonly(),
|
|
8049
|
+
"title": string().readonly()
|
|
8050
|
+
});
|
|
8051
|
+
const _deepseek_ai_dsh_api_session_controller_session_rename_result$schema = object({
|
|
8052
|
+
"title": string().readonly(),
|
|
8053
|
+
"seq": number().readonly()
|
|
8054
|
+
});
|
|
8055
|
+
const _deepseek_ai_dsh_api_session_controller_session_search_parameter_0$schema = object({ "query": string().readonly() });
|
|
8056
|
+
const _deepseek_ai_dsh_api_session_controller_session_search_result$schema = object({
|
|
8057
|
+
"items": array(object({
|
|
8058
|
+
"sessionId": intersection(string(), unknown()).readonly(),
|
|
8059
|
+
"snippet": string().readonly()
|
|
8060
|
+
})).readonly(),
|
|
8061
|
+
"hasMore": boolean().readonly()
|
|
8062
|
+
});
|
|
8063
|
+
const _deepseek_ai_dsh_api_session_controller_session_selectModel_parameter_0$schema = object({
|
|
8064
|
+
"sessionId": intersection(string(), unknown()).readonly(),
|
|
8065
|
+
"provider": string().readonly(),
|
|
8066
|
+
"model": string().readonly(),
|
|
8067
|
+
"reasoningEffort": string().readonly().optional()
|
|
8068
|
+
});
|
|
8069
|
+
const _deepseek_ai_dsh_api_session_controller_session_selectModel_result$schema = object({ "selected": object({
|
|
8070
|
+
"provider": string().readonly(),
|
|
8071
|
+
"model": string().readonly(),
|
|
8072
|
+
"reasoningEffort": string().readonly().optional()
|
|
8073
|
+
}).readonly() });
|
|
8074
|
+
const _deepseek_ai_dsh_api_session_controller_session_updateQueue_parameter_0$schema = object({
|
|
8075
|
+
"sessionId": intersection(string(), unknown()).readonly(),
|
|
8076
|
+
"itemId": intersection(string(), unknown()).readonly(),
|
|
8077
|
+
"action": union([
|
|
8078
|
+
object({
|
|
8079
|
+
"kind": literal("edit").readonly(),
|
|
8080
|
+
"content": array(union([
|
|
8081
|
+
object({
|
|
8082
|
+
"type": literal("text"),
|
|
8083
|
+
"text": string()
|
|
8084
|
+
}),
|
|
8085
|
+
object({
|
|
8086
|
+
"type": literal("image"),
|
|
8087
|
+
"attachment": object({
|
|
8088
|
+
"attachmentId": intersection(string(), unknown()),
|
|
8089
|
+
"mediaType": union([
|
|
8090
|
+
literal("image/png"),
|
|
8091
|
+
literal("image/jpeg"),
|
|
8092
|
+
literal("image/webp"),
|
|
8093
|
+
literal("image/gif")
|
|
8094
|
+
]),
|
|
8095
|
+
"bytes": number(),
|
|
8096
|
+
"width": number(),
|
|
8097
|
+
"height": number(),
|
|
8098
|
+
"name": string().optional(),
|
|
8099
|
+
"originalDimensions": object({
|
|
8100
|
+
"width": number(),
|
|
8101
|
+
"height": number()
|
|
8102
|
+
}).optional()
|
|
8103
|
+
})
|
|
8104
|
+
}),
|
|
8105
|
+
object({
|
|
8106
|
+
"type": literal("reasoning"),
|
|
8107
|
+
"text": string()
|
|
8108
|
+
}),
|
|
8109
|
+
object({
|
|
8110
|
+
"type": literal("tool-call"),
|
|
8111
|
+
"id": intersection(string(), unknown()),
|
|
8112
|
+
"name": string(),
|
|
8113
|
+
"arguments": string()
|
|
8114
|
+
}),
|
|
8115
|
+
object({
|
|
8116
|
+
"type": literal("tool-result"),
|
|
8117
|
+
"toolCallId": intersection(string(), unknown()),
|
|
8118
|
+
"content": array(lazy(() => ContentBlockRemoteCodec$schema)),
|
|
8119
|
+
"isError": boolean().optional()
|
|
8120
|
+
})
|
|
8121
|
+
])).readonly()
|
|
8122
|
+
}),
|
|
8123
|
+
object({ "kind": literal("remove").readonly() }),
|
|
8124
|
+
object({ "kind": literal("steer").readonly() })
|
|
8125
|
+
]).readonly()
|
|
8126
|
+
});
|
|
8127
|
+
const _deepseek_ai_dsh_api_session_controller_session_updateQueue_result$schema = object({ "accepted": literal(true).readonly() });
|
|
8128
|
+
const _deepseek_ai_dsh_api_session_controller_skills_list_parameter_0$schema = object({ "sessionId": intersection(string(), unknown()).readonly() });
|
|
8129
|
+
const _deepseek_ai_dsh_api_session_controller_skills_list_result$schema = object({ "skills": array(object({
|
|
8130
|
+
"name": string().readonly(),
|
|
8131
|
+
"description": string().readonly(),
|
|
8132
|
+
"whenToUse": string().readonly().optional(),
|
|
8133
|
+
"modelInvocable": boolean().readonly()
|
|
8134
|
+
})).readonly() });
|
|
8135
|
+
const TYPERT_REMOTE$1 = {
|
|
8136
|
+
package: "@deepseek-ai/dsh-api-session-controller",
|
|
8137
|
+
descriptors: [
|
|
8138
|
+
{
|
|
8139
|
+
id: "@deepseek-ai/dsh-api-session-controller#fileReferences/list",
|
|
8140
|
+
service: "sessionFileReferences",
|
|
8141
|
+
namespace: "fileReferences",
|
|
8142
|
+
method: "list",
|
|
8143
|
+
invocation: { kind: "direct" },
|
|
8144
|
+
scope: {
|
|
8145
|
+
context: "agent",
|
|
8146
|
+
wire: "agentId"
|
|
8147
|
+
},
|
|
8148
|
+
parameters: [{
|
|
8149
|
+
name: "agent",
|
|
8150
|
+
wire: "agentId",
|
|
8151
|
+
source: "lookup",
|
|
8152
|
+
lookup: "agent",
|
|
8153
|
+
codec: {
|
|
8154
|
+
mode: "strict",
|
|
8155
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
8156
|
+
schema: _deepseek_ai_dsh_api_session_controller_fileReferences_list_parameter_0$schema
|
|
8157
|
+
}
|
|
8158
|
+
}, {
|
|
8159
|
+
name: "query",
|
|
8160
|
+
wire: "query",
|
|
8161
|
+
source: "json",
|
|
8162
|
+
codec: {
|
|
8163
|
+
mode: "strict",
|
|
8164
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller#fileReferences/list:query",
|
|
8165
|
+
schema: _deepseek_ai_dsh_api_session_controller_fileReferences_list_parameter_1$schema
|
|
8166
|
+
}
|
|
8167
|
+
}],
|
|
8168
|
+
cancellation: { parameter: "signal" },
|
|
8169
|
+
result: {
|
|
8170
|
+
mode: "strict",
|
|
8171
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller#fileReferences/list:result",
|
|
8172
|
+
schema: _deepseek_ai_dsh_api_session_controller_fileReferences_list_result$schema
|
|
8173
|
+
},
|
|
8174
|
+
sourceLocation: {
|
|
8175
|
+
"file": "packages/api/session-controller/src/file-references.ts",
|
|
8176
|
+
"line": 33,
|
|
8177
|
+
"column": 3
|
|
8178
|
+
}
|
|
8179
|
+
},
|
|
8180
|
+
{
|
|
8181
|
+
id: "@deepseek-ai/dsh-api-session-controller#session/attachment",
|
|
8182
|
+
service: "sessionController",
|
|
8183
|
+
namespace: "session",
|
|
8184
|
+
method: "attachment",
|
|
8185
|
+
invocation: { kind: "direct" },
|
|
8186
|
+
parameters: [{
|
|
8187
|
+
name: "request",
|
|
8188
|
+
wire: "request",
|
|
8189
|
+
source: "json",
|
|
8190
|
+
codec: {
|
|
8191
|
+
mode: "strict",
|
|
8192
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionAttachmentRequest",
|
|
8193
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_attachment_parameter_0$schema
|
|
8194
|
+
}
|
|
8195
|
+
}],
|
|
8196
|
+
result: {
|
|
8197
|
+
mode: "strict",
|
|
8198
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionAttachmentValue",
|
|
8199
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_attachment_result$schema
|
|
8200
|
+
},
|
|
8201
|
+
sourceLocation: {
|
|
8202
|
+
"file": "packages/api/session-controller/src/index.ts",
|
|
8203
|
+
"line": 333,
|
|
8204
|
+
"column": 3
|
|
8205
|
+
}
|
|
8206
|
+
},
|
|
8207
|
+
{
|
|
8208
|
+
id: "@deepseek-ai/dsh-api-session-controller#session/cancel",
|
|
8209
|
+
service: "sessionController",
|
|
8210
|
+
namespace: "session",
|
|
8211
|
+
method: "cancel",
|
|
8212
|
+
invocation: { kind: "direct" },
|
|
8213
|
+
parameters: [{
|
|
8214
|
+
name: "request",
|
|
8215
|
+
wire: "request",
|
|
8216
|
+
source: "json",
|
|
8217
|
+
codec: {
|
|
8218
|
+
mode: "strict",
|
|
8219
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionCancelRequest",
|
|
8220
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_cancel_parameter_0$schema
|
|
8221
|
+
}
|
|
8222
|
+
}],
|
|
8223
|
+
result: {
|
|
8224
|
+
mode: "strict",
|
|
8225
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionCancelValue",
|
|
8226
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_cancel_result$schema
|
|
8227
|
+
},
|
|
8228
|
+
sourceLocation: {
|
|
8229
|
+
"file": "packages/api/session-controller/src/index.ts",
|
|
8230
|
+
"line": 353,
|
|
8231
|
+
"column": 3
|
|
8232
|
+
}
|
|
8233
|
+
},
|
|
8234
|
+
{
|
|
8235
|
+
id: "@deepseek-ai/dsh-api-session-controller#session/canOpenWorkspacePath",
|
|
8236
|
+
service: "sessionController",
|
|
8237
|
+
namespace: "session",
|
|
8238
|
+
method: "canOpenWorkspacePath",
|
|
8239
|
+
invocation: { kind: "direct" },
|
|
8240
|
+
parameters: [],
|
|
8241
|
+
result: {
|
|
8242
|
+
mode: "strict",
|
|
8243
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller#session/canOpenWorkspacePath:result",
|
|
8244
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_canOpenWorkspacePath_result$schema
|
|
8245
|
+
},
|
|
8246
|
+
sourceLocation: {
|
|
8247
|
+
"file": "packages/api/session-controller/src/index.ts",
|
|
8248
|
+
"line": 258,
|
|
8249
|
+
"column": 3
|
|
8250
|
+
}
|
|
8251
|
+
},
|
|
8252
|
+
{
|
|
8253
|
+
id: "@deepseek-ai/dsh-api-session-controller#session/control",
|
|
8254
|
+
service: "sessionController",
|
|
8255
|
+
namespace: "session",
|
|
8256
|
+
method: "control",
|
|
8257
|
+
mode: "stream",
|
|
8258
|
+
invocation: { kind: "direct" },
|
|
8259
|
+
parameters: [],
|
|
8260
|
+
cancellation: { parameter: "signal" },
|
|
8261
|
+
result: {
|
|
8262
|
+
mode: "strict",
|
|
8263
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionControlFrame",
|
|
8264
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_control_result$schema
|
|
8265
|
+
},
|
|
8266
|
+
sourceLocation: {
|
|
8267
|
+
"file": "packages/api/session-controller/src/index.ts",
|
|
8268
|
+
"line": 385,
|
|
8269
|
+
"column": 3
|
|
8270
|
+
}
|
|
8271
|
+
},
|
|
8272
|
+
{
|
|
8273
|
+
id: "@deepseek-ai/dsh-api-session-controller#session/create",
|
|
8274
|
+
service: "sessionController",
|
|
8275
|
+
namespace: "session",
|
|
8276
|
+
method: "create",
|
|
8277
|
+
invocation: { kind: "direct" },
|
|
8278
|
+
parameters: [{
|
|
8279
|
+
name: "request",
|
|
8280
|
+
wire: "request",
|
|
8281
|
+
source: "json",
|
|
8282
|
+
codec: {
|
|
8283
|
+
mode: "strict",
|
|
8284
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionCreateRequest",
|
|
8285
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_create_parameter_0$schema
|
|
8286
|
+
}
|
|
8287
|
+
}],
|
|
8288
|
+
result: {
|
|
8289
|
+
mode: "strict",
|
|
8290
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionCreateValue",
|
|
8291
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_create_result$schema
|
|
8292
|
+
},
|
|
8293
|
+
sourceLocation: {
|
|
8294
|
+
"file": "packages/api/session-controller/src/index.ts",
|
|
8295
|
+
"line": 230,
|
|
8296
|
+
"column": 3
|
|
8297
|
+
}
|
|
8298
|
+
},
|
|
8299
|
+
{
|
|
8300
|
+
id: "@deepseek-ai/dsh-api-session-controller#session/follow",
|
|
8301
|
+
service: "sessionController",
|
|
8302
|
+
namespace: "session",
|
|
8303
|
+
method: "follow",
|
|
8304
|
+
mode: "stream",
|
|
8305
|
+
invocation: { kind: "direct" },
|
|
8306
|
+
parameters: [{
|
|
8307
|
+
name: "request",
|
|
8308
|
+
wire: "request",
|
|
8309
|
+
source: "json",
|
|
8310
|
+
codec: {
|
|
8311
|
+
mode: "strict",
|
|
8312
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionFollowRequest",
|
|
8313
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_follow_parameter_0$schema
|
|
8314
|
+
}
|
|
8315
|
+
}],
|
|
8316
|
+
cancellation: { parameter: "signal" },
|
|
8317
|
+
result: {
|
|
8318
|
+
mode: "strict",
|
|
8319
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionFollowFrame",
|
|
8320
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_follow_result$schema
|
|
8321
|
+
},
|
|
8322
|
+
sourceLocation: {
|
|
8323
|
+
"file": "packages/api/session-controller/src/index.ts",
|
|
8324
|
+
"line": 375,
|
|
8325
|
+
"column": 3
|
|
8326
|
+
}
|
|
8327
|
+
},
|
|
8328
|
+
{
|
|
8329
|
+
id: "@deepseek-ai/dsh-api-session-controller#session/fork",
|
|
8330
|
+
service: "sessionController",
|
|
8331
|
+
namespace: "session",
|
|
8332
|
+
method: "fork",
|
|
8333
|
+
invocation: { kind: "direct" },
|
|
8334
|
+
parameters: [{
|
|
8335
|
+
name: "request",
|
|
8336
|
+
wire: "request",
|
|
8337
|
+
source: "json",
|
|
8338
|
+
codec: {
|
|
8339
|
+
mode: "strict",
|
|
8340
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionForkRequest",
|
|
8341
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_fork_parameter_0$schema
|
|
8342
|
+
}
|
|
8343
|
+
}],
|
|
8344
|
+
result: {
|
|
8345
|
+
mode: "strict",
|
|
8346
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionForkValue",
|
|
8347
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_fork_result$schema
|
|
8348
|
+
},
|
|
8349
|
+
sourceLocation: {
|
|
8350
|
+
"file": "packages/api/session-controller/src/index.ts",
|
|
8351
|
+
"line": 311,
|
|
8352
|
+
"column": 3
|
|
8353
|
+
}
|
|
8354
|
+
},
|
|
8355
|
+
{
|
|
8356
|
+
id: "@deepseek-ai/dsh-api-session-controller#session/list",
|
|
8357
|
+
service: "sessionController",
|
|
8358
|
+
namespace: "session",
|
|
8359
|
+
method: "list",
|
|
8360
|
+
invocation: { kind: "direct" },
|
|
8361
|
+
parameters: [{
|
|
8362
|
+
name: "_request",
|
|
8363
|
+
wire: "_request",
|
|
8364
|
+
source: "json",
|
|
8365
|
+
codec: {
|
|
8366
|
+
mode: "strict",
|
|
8367
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionListRequest",
|
|
8368
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_list_parameter_0$schema
|
|
8369
|
+
}
|
|
8370
|
+
}],
|
|
8371
|
+
cancellation: { parameter: "signal" },
|
|
8372
|
+
result: {
|
|
8373
|
+
mode: "strict",
|
|
8374
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionListValue",
|
|
8375
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_list_result$schema
|
|
8376
|
+
},
|
|
8377
|
+
sourceLocation: {
|
|
8378
|
+
"file": "packages/api/session-controller/src/index.ts",
|
|
8379
|
+
"line": 209,
|
|
8380
|
+
"column": 9
|
|
8381
|
+
}
|
|
8382
|
+
},
|
|
8383
|
+
{
|
|
8384
|
+
id: "@deepseek-ai/dsh-api-session-controller#session/modelCatalog",
|
|
8385
|
+
service: "sessionController",
|
|
8386
|
+
namespace: "session",
|
|
8387
|
+
method: "modelCatalog",
|
|
8388
|
+
invocation: { kind: "direct" },
|
|
8389
|
+
parameters: [],
|
|
8390
|
+
result: {
|
|
8391
|
+
mode: "strict",
|
|
8392
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#ModelCatalog",
|
|
8393
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_modelCatalog_result$schema
|
|
8394
|
+
},
|
|
8395
|
+
sourceLocation: {
|
|
8396
|
+
"file": "packages/api/session-controller/src/index.ts",
|
|
8397
|
+
"line": 249,
|
|
8398
|
+
"column": 3
|
|
8399
|
+
}
|
|
8400
|
+
},
|
|
8401
|
+
{
|
|
8402
|
+
id: "@deepseek-ai/dsh-api-session-controller#session/openWorkspacePath",
|
|
8403
|
+
service: "sessionController",
|
|
8404
|
+
namespace: "session",
|
|
8405
|
+
method: "openWorkspacePath",
|
|
8406
|
+
invocation: { kind: "direct" },
|
|
8407
|
+
parameters: [{
|
|
8408
|
+
name: "request",
|
|
8409
|
+
wire: "request",
|
|
8410
|
+
source: "json",
|
|
8411
|
+
codec: {
|
|
8412
|
+
mode: "strict",
|
|
8413
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionOpenWorkspacePathRequest",
|
|
8414
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_openWorkspacePath_parameter_0$schema
|
|
8415
|
+
}
|
|
8416
|
+
}],
|
|
8417
|
+
cancellation: { parameter: "signal" },
|
|
8418
|
+
result: {
|
|
8419
|
+
mode: "strict",
|
|
8420
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionOpenWorkspacePathValue",
|
|
8421
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_openWorkspacePath_result$schema
|
|
8422
|
+
},
|
|
8423
|
+
sourceLocation: {
|
|
8424
|
+
"file": "packages/api/session-controller/src/index.ts",
|
|
8425
|
+
"line": 270,
|
|
8426
|
+
"column": 9
|
|
8427
|
+
}
|
|
8428
|
+
},
|
|
8429
|
+
{
|
|
8430
|
+
id: "@deepseek-ai/dsh-api-session-controller#session/page",
|
|
8431
|
+
service: "sessionController",
|
|
8432
|
+
namespace: "session",
|
|
8433
|
+
method: "page",
|
|
8434
|
+
invocation: { kind: "direct" },
|
|
8435
|
+
parameters: [{
|
|
8436
|
+
name: "request",
|
|
8437
|
+
wire: "request",
|
|
8438
|
+
source: "json",
|
|
8439
|
+
codec: {
|
|
8440
|
+
mode: "strict",
|
|
8441
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionPageRequest",
|
|
8442
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_page_parameter_0$schema
|
|
8443
|
+
}
|
|
8444
|
+
}],
|
|
8445
|
+
cancellation: { parameter: "signal" },
|
|
8446
|
+
result: {
|
|
8447
|
+
mode: "strict",
|
|
8448
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionPage",
|
|
8449
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_page_result$schema
|
|
8450
|
+
},
|
|
8451
|
+
sourceLocation: {
|
|
8452
|
+
"file": "packages/api/session-controller/src/index.ts",
|
|
8453
|
+
"line": 364,
|
|
8454
|
+
"column": 3
|
|
8455
|
+
}
|
|
8456
|
+
},
|
|
8457
|
+
{
|
|
8458
|
+
id: "@deepseek-ai/dsh-api-session-controller#session/prompt",
|
|
8459
|
+
service: "sessionController",
|
|
8460
|
+
namespace: "session",
|
|
8461
|
+
method: "prompt",
|
|
8462
|
+
invocation: { kind: "direct" },
|
|
8463
|
+
parameters: [{
|
|
8464
|
+
name: "request",
|
|
8465
|
+
wire: "request",
|
|
8466
|
+
source: "json",
|
|
8467
|
+
codec: {
|
|
8468
|
+
mode: "strict",
|
|
8469
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionPromptRequest",
|
|
8470
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_prompt_parameter_0$schema
|
|
8471
|
+
}
|
|
8472
|
+
}],
|
|
8473
|
+
cancellation: { parameter: "signal" },
|
|
8474
|
+
result: {
|
|
8475
|
+
mode: "strict",
|
|
8476
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionPromptValue",
|
|
8477
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_prompt_result$schema
|
|
8478
|
+
},
|
|
8479
|
+
sourceLocation: {
|
|
8480
|
+
"file": "packages/api/session-controller/src/index.ts",
|
|
8481
|
+
"line": 322,
|
|
8482
|
+
"column": 3
|
|
8483
|
+
}
|
|
8484
|
+
},
|
|
8485
|
+
{
|
|
8486
|
+
id: "@deepseek-ai/dsh-api-session-controller#session/rename",
|
|
8487
|
+
service: "sessionController",
|
|
8488
|
+
namespace: "session",
|
|
8489
|
+
method: "rename",
|
|
8490
|
+
invocation: { kind: "direct" },
|
|
8491
|
+
parameters: [{
|
|
8492
|
+
name: "request",
|
|
8493
|
+
wire: "request",
|
|
8494
|
+
source: "json",
|
|
8495
|
+
codec: {
|
|
8496
|
+
mode: "strict",
|
|
8497
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionRenameRequest",
|
|
8498
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_rename_parameter_0$schema
|
|
8499
|
+
}
|
|
8500
|
+
}],
|
|
8501
|
+
result: {
|
|
8502
|
+
mode: "strict",
|
|
8503
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionRenameValue",
|
|
8504
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_rename_result$schema
|
|
8505
|
+
},
|
|
8506
|
+
sourceLocation: {
|
|
8507
|
+
"file": "packages/api/session-controller/src/index.ts",
|
|
8508
|
+
"line": 301,
|
|
8509
|
+
"column": 3
|
|
8510
|
+
}
|
|
8511
|
+
},
|
|
8512
|
+
{
|
|
8513
|
+
id: "@deepseek-ai/dsh-api-session-controller#session/search",
|
|
8514
|
+
service: "sessionController",
|
|
8515
|
+
namespace: "session",
|
|
8516
|
+
method: "search",
|
|
8517
|
+
invocation: { kind: "direct" },
|
|
8518
|
+
parameters: [{
|
|
8519
|
+
name: "request",
|
|
8520
|
+
wire: "request",
|
|
8521
|
+
source: "json",
|
|
8522
|
+
codec: {
|
|
8523
|
+
mode: "strict",
|
|
8524
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionSearchRequest",
|
|
8525
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_search_parameter_0$schema
|
|
8526
|
+
}
|
|
8527
|
+
}],
|
|
8528
|
+
cancellation: { parameter: "signal" },
|
|
8529
|
+
result: {
|
|
8530
|
+
mode: "strict",
|
|
8531
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionSearchValue",
|
|
8532
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_search_result$schema
|
|
8533
|
+
},
|
|
8534
|
+
sourceLocation: {
|
|
8535
|
+
"file": "packages/api/session-controller/src/index.ts",
|
|
8536
|
+
"line": 220,
|
|
8537
|
+
"column": 3
|
|
8538
|
+
}
|
|
8539
|
+
},
|
|
8540
|
+
{
|
|
8541
|
+
id: "@deepseek-ai/dsh-api-session-controller#session/selectModel",
|
|
8542
|
+
service: "sessionController",
|
|
8543
|
+
namespace: "session",
|
|
8544
|
+
method: "selectModel",
|
|
8545
|
+
invocation: { kind: "direct" },
|
|
8546
|
+
parameters: [{
|
|
8547
|
+
name: "request",
|
|
8548
|
+
wire: "request",
|
|
8549
|
+
source: "json",
|
|
8550
|
+
codec: {
|
|
8551
|
+
mode: "strict",
|
|
8552
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionSelectModelRequest",
|
|
8553
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_selectModel_parameter_0$schema
|
|
8554
|
+
}
|
|
8555
|
+
}],
|
|
8556
|
+
result: {
|
|
8557
|
+
mode: "strict",
|
|
8558
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionSelectModelValue",
|
|
8559
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_selectModel_result$schema
|
|
8560
|
+
},
|
|
8561
|
+
sourceLocation: {
|
|
8562
|
+
"file": "packages/api/session-controller/src/index.ts",
|
|
8563
|
+
"line": 240,
|
|
8564
|
+
"column": 3
|
|
8565
|
+
}
|
|
8566
|
+
},
|
|
8567
|
+
{
|
|
8568
|
+
id: "@deepseek-ai/dsh-api-session-controller#session/updateQueue",
|
|
8569
|
+
service: "sessionController",
|
|
8570
|
+
namespace: "session",
|
|
8571
|
+
method: "updateQueue",
|
|
8572
|
+
invocation: { kind: "direct" },
|
|
8573
|
+
parameters: [{
|
|
8574
|
+
name: "request",
|
|
8575
|
+
wire: "request",
|
|
8576
|
+
source: "json",
|
|
8577
|
+
codec: {
|
|
8578
|
+
mode: "strict",
|
|
8579
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionUpdateQueueRequest",
|
|
8580
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_updateQueue_parameter_0$schema
|
|
8581
|
+
}
|
|
8582
|
+
}],
|
|
5420
8583
|
result: {
|
|
5421
8584
|
mode: "strict",
|
|
5422
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
5423
|
-
schema:
|
|
8585
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SessionUpdateQueueValue",
|
|
8586
|
+
schema: _deepseek_ai_dsh_api_session_controller_session_updateQueue_result$schema
|
|
5424
8587
|
},
|
|
5425
8588
|
sourceLocation: {
|
|
5426
|
-
"file": "packages/
|
|
5427
|
-
"line":
|
|
8589
|
+
"file": "packages/api/session-controller/src/index.ts",
|
|
8590
|
+
"line": 343,
|
|
5428
8591
|
"column": 3
|
|
5429
8592
|
}
|
|
5430
8593
|
},
|
|
5431
8594
|
{
|
|
5432
|
-
id: "@deepseek-ai/dsh-
|
|
5433
|
-
service: "
|
|
5434
|
-
namespace: "
|
|
5435
|
-
method: "
|
|
8595
|
+
id: "@deepseek-ai/dsh-api-session-controller#skills/list",
|
|
8596
|
+
service: "sessionSkillCatalog",
|
|
8597
|
+
namespace: "skills",
|
|
8598
|
+
method: "list",
|
|
5436
8599
|
invocation: { kind: "direct" },
|
|
5437
8600
|
parameters: [{
|
|
5438
|
-
name: "
|
|
5439
|
-
wire: "
|
|
8601
|
+
name: "request",
|
|
8602
|
+
wire: "request",
|
|
5440
8603
|
source: "json",
|
|
5441
8604
|
codec: {
|
|
5442
8605
|
mode: "strict",
|
|
5443
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
5444
|
-
schema:
|
|
8606
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SkillListRequest",
|
|
8607
|
+
schema: _deepseek_ai_dsh_api_session_controller_skills_list_parameter_0$schema
|
|
8608
|
+
}
|
|
8609
|
+
}],
|
|
8610
|
+
cancellation: { parameter: "signal" },
|
|
8611
|
+
result: {
|
|
8612
|
+
mode: "strict",
|
|
8613
|
+
typeSymbol: "@deepseek-ai/dsh-api-session-controller/types#SkillListValue",
|
|
8614
|
+
schema: _deepseek_ai_dsh_api_session_controller_skills_list_result$schema
|
|
8615
|
+
},
|
|
8616
|
+
sourceLocation: {
|
|
8617
|
+
"file": "packages/api/session-controller/src/skill-catalog.ts",
|
|
8618
|
+
"line": 36,
|
|
8619
|
+
"column": 9
|
|
8620
|
+
}
|
|
8621
|
+
}
|
|
8622
|
+
]
|
|
8623
|
+
};
|
|
8624
|
+
//#endregion
|
|
8625
|
+
//#region ../workspace-controller/lib/typert.remote-client.js
|
|
8626
|
+
const _deepseek_ai_dsh_api_workspace_controller_directoryPicker_createDirectory_parameter_0$schema = string();
|
|
8627
|
+
const _deepseek_ai_dsh_api_workspace_controller_directoryPicker_createDirectory_parameter_1$schema = string();
|
|
8628
|
+
const _deepseek_ai_dsh_api_workspace_controller_directoryPicker_createDirectory_result$schema = string();
|
|
8629
|
+
const _deepseek_ai_dsh_api_workspace_controller_directoryPicker_list_parameter_0$schema = union([_undefined(), string()]);
|
|
8630
|
+
const _deepseek_ai_dsh_api_workspace_controller_directoryPicker_list_result$schema = object({
|
|
8631
|
+
"path": string(),
|
|
8632
|
+
"home": string(),
|
|
8633
|
+
"crumbs": array(object({
|
|
8634
|
+
"name": string(),
|
|
8635
|
+
"path": string(),
|
|
8636
|
+
"hidden": boolean()
|
|
8637
|
+
})),
|
|
8638
|
+
"entries": array(object({
|
|
8639
|
+
"name": string(),
|
|
8640
|
+
"path": string(),
|
|
8641
|
+
"hidden": boolean()
|
|
8642
|
+
})),
|
|
8643
|
+
"truncated": boolean()
|
|
8644
|
+
});
|
|
8645
|
+
const _deepseek_ai_dsh_api_workspace_controller_directoryPicker_pick_result$schema = union([literal(null), string()]);
|
|
8646
|
+
const _deepseek_ai_dsh_api_workspace_controller_workspace_archiveSession_parameter_0$schema = object({ "sessionId": intersection(string(), unknown()).readonly() });
|
|
8647
|
+
const _deepseek_ai_dsh_api_workspace_controller_workspace_archiveSession_result$schema = object({ "archivedSessionIds": array(intersection(string(), unknown())).readonly() });
|
|
8648
|
+
const _deepseek_ai_dsh_api_workspace_controller_workspace_create_parameter_0$schema = object({ "path": string().readonly() });
|
|
8649
|
+
const _deepseek_ai_dsh_api_workspace_controller_workspace_create_result$schema = object({
|
|
8650
|
+
"workspace": object({
|
|
8651
|
+
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
8652
|
+
"path": string().readonly(),
|
|
8653
|
+
"title": string().readonly(),
|
|
8654
|
+
"sessionIds": array(intersection(string(), unknown())).readonly(),
|
|
8655
|
+
"createdAt": string().readonly(),
|
|
8656
|
+
"updatedAt": string().readonly()
|
|
8657
|
+
}).readonly(),
|
|
8658
|
+
"created": boolean().readonly()
|
|
8659
|
+
});
|
|
8660
|
+
const _deepseek_ai_dsh_api_workspace_controller_workspace_delete_parameter_0$schema = object({ "workspaceId": intersection(string(), unknown()).readonly() });
|
|
8661
|
+
const _deepseek_ai_dsh_api_workspace_controller_workspace_delete_result$schema = object({ "deleted": literal(true).readonly() });
|
|
8662
|
+
const _deepseek_ai_dsh_api_workspace_controller_workspace_follow_result$schema = union([
|
|
8663
|
+
object({
|
|
8664
|
+
"type": literal("baseline").readonly(),
|
|
8665
|
+
"value": object({
|
|
8666
|
+
"items": array(object({
|
|
8667
|
+
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
8668
|
+
"path": string().readonly(),
|
|
8669
|
+
"title": string().readonly(),
|
|
8670
|
+
"sessionIds": array(intersection(string(), unknown())).readonly(),
|
|
8671
|
+
"createdAt": string().readonly(),
|
|
8672
|
+
"updatedAt": string().readonly()
|
|
8673
|
+
})).readonly(),
|
|
8674
|
+
"archivedSessionIds": array(intersection(string(), unknown())).readonly()
|
|
8675
|
+
}).readonly()
|
|
8676
|
+
}),
|
|
8677
|
+
object({
|
|
8678
|
+
"type": literal("upsert").readonly(),
|
|
8679
|
+
"workspace": object({
|
|
8680
|
+
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
8681
|
+
"path": string().readonly(),
|
|
8682
|
+
"title": string().readonly(),
|
|
8683
|
+
"sessionIds": array(intersection(string(), unknown())).readonly(),
|
|
8684
|
+
"createdAt": string().readonly(),
|
|
8685
|
+
"updatedAt": string().readonly()
|
|
8686
|
+
}).readonly()
|
|
8687
|
+
}),
|
|
8688
|
+
object({
|
|
8689
|
+
"type": literal("remove").readonly(),
|
|
8690
|
+
"workspaceId": intersection(string(), unknown()).readonly()
|
|
8691
|
+
}),
|
|
8692
|
+
object({
|
|
8693
|
+
"type": literal("order").readonly(),
|
|
8694
|
+
"workspaceIds": array(intersection(string(), unknown())).readonly()
|
|
8695
|
+
}),
|
|
8696
|
+
object({
|
|
8697
|
+
"type": literal("archived").readonly(),
|
|
8698
|
+
"archivedSessionIds": array(intersection(string(), unknown())).readonly()
|
|
8699
|
+
})
|
|
8700
|
+
]);
|
|
8701
|
+
const _deepseek_ai_dsh_api_workspace_controller_workspace_insertBefore_parameter_0$schema = object({
|
|
8702
|
+
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
8703
|
+
"beforeWorkspaceId": intersection(string(), unknown()).readonly().optional()
|
|
8704
|
+
});
|
|
8705
|
+
const _deepseek_ai_dsh_api_workspace_controller_workspace_insertBefore_result$schema = object({ "workspaceIds": array(intersection(string(), unknown())).readonly() });
|
|
8706
|
+
const _deepseek_ai_dsh_api_workspace_controller_workspace_insertSessionBefore_parameter_0$schema = object({
|
|
8707
|
+
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
8708
|
+
"sessionId": intersection(string(), unknown()).readonly(),
|
|
8709
|
+
"beforeSessionId": intersection(string(), unknown()).readonly().optional()
|
|
8710
|
+
});
|
|
8711
|
+
const _deepseek_ai_dsh_api_workspace_controller_workspace_insertSessionBefore_result$schema = object({ "workspace": object({
|
|
8712
|
+
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
8713
|
+
"path": string().readonly(),
|
|
8714
|
+
"title": string().readonly(),
|
|
8715
|
+
"sessionIds": array(intersection(string(), unknown())).readonly(),
|
|
8716
|
+
"createdAt": string().readonly(),
|
|
8717
|
+
"updatedAt": string().readonly()
|
|
8718
|
+
}).readonly() });
|
|
8719
|
+
const _deepseek_ai_dsh_api_workspace_controller_workspace_rename_parameter_0$schema = object({
|
|
8720
|
+
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
8721
|
+
"title": string().readonly()
|
|
8722
|
+
});
|
|
8723
|
+
const _deepseek_ai_dsh_api_workspace_controller_workspace_rename_result$schema = object({ "workspace": object({
|
|
8724
|
+
"workspaceId": intersection(string(), unknown()).readonly(),
|
|
8725
|
+
"path": string().readonly(),
|
|
8726
|
+
"title": string().readonly(),
|
|
8727
|
+
"sessionIds": array(intersection(string(), unknown())).readonly(),
|
|
8728
|
+
"createdAt": string().readonly(),
|
|
8729
|
+
"updatedAt": string().readonly()
|
|
8730
|
+
}).readonly() });
|
|
8731
|
+
const TYPERT_REMOTE = {
|
|
8732
|
+
package: "@deepseek-ai/dsh-api-workspace-controller",
|
|
8733
|
+
descriptors: [
|
|
8734
|
+
{
|
|
8735
|
+
id: "@deepseek-ai/dsh-api-workspace-controller#directoryPicker/createDirectory",
|
|
8736
|
+
service: "directoryPickerController",
|
|
8737
|
+
namespace: "directoryPicker",
|
|
8738
|
+
method: "createDirectory",
|
|
8739
|
+
invocation: { kind: "direct" },
|
|
8740
|
+
parameters: [{
|
|
8741
|
+
name: "path",
|
|
8742
|
+
wire: "path",
|
|
8743
|
+
source: "json",
|
|
8744
|
+
codec: {
|
|
8745
|
+
mode: "strict",
|
|
8746
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-controller#directoryPicker/createDirectory:path",
|
|
8747
|
+
schema: _deepseek_ai_dsh_api_workspace_controller_directoryPicker_createDirectory_parameter_0$schema
|
|
5445
8748
|
}
|
|
5446
8749
|
}, {
|
|
5447
|
-
name: "
|
|
5448
|
-
wire: "
|
|
8750
|
+
name: "name",
|
|
8751
|
+
wire: "name",
|
|
5449
8752
|
source: "json",
|
|
5450
8753
|
codec: {
|
|
5451
8754
|
mode: "strict",
|
|
5452
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
5453
|
-
schema:
|
|
8755
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-controller#directoryPicker/createDirectory:name",
|
|
8756
|
+
schema: _deepseek_ai_dsh_api_workspace_controller_directoryPicker_createDirectory_parameter_1$schema
|
|
5454
8757
|
}
|
|
5455
8758
|
}],
|
|
5456
8759
|
result: {
|
|
5457
8760
|
mode: "strict",
|
|
5458
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
5459
|
-
schema:
|
|
8761
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-controller#directoryPicker/createDirectory:result",
|
|
8762
|
+
schema: _deepseek_ai_dsh_api_workspace_controller_directoryPicker_createDirectory_result$schema
|
|
5460
8763
|
},
|
|
5461
8764
|
sourceLocation: {
|
|
5462
|
-
"file": "packages/
|
|
5463
|
-
"line":
|
|
8765
|
+
"file": "packages/api/workspace-controller/src/directory-picker.ts",
|
|
8766
|
+
"line": 88,
|
|
5464
8767
|
"column": 9
|
|
5465
8768
|
}
|
|
5466
8769
|
},
|
|
5467
8770
|
{
|
|
5468
|
-
id: "@deepseek-ai/dsh-
|
|
5469
|
-
service: "
|
|
5470
|
-
namespace: "
|
|
5471
|
-
method: "
|
|
8771
|
+
id: "@deepseek-ai/dsh-api-workspace-controller#directoryPicker/list",
|
|
8772
|
+
service: "directoryPickerController",
|
|
8773
|
+
namespace: "directoryPicker",
|
|
8774
|
+
method: "list",
|
|
5472
8775
|
invocation: { kind: "direct" },
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
wire: "
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
{
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
lookup: "agent",
|
|
5483
|
-
codec: {
|
|
5484
|
-
mode: "strict",
|
|
5485
|
-
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
5486
|
-
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_0$schema
|
|
5487
|
-
}
|
|
5488
|
-
},
|
|
5489
|
-
{
|
|
5490
|
-
name: "pluginId",
|
|
5491
|
-
wire: "pluginId",
|
|
5492
|
-
source: "json",
|
|
5493
|
-
codec: {
|
|
5494
|
-
mode: "strict",
|
|
5495
|
-
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId",
|
|
5496
|
-
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_1$schema
|
|
5497
|
-
}
|
|
5498
|
-
},
|
|
5499
|
-
{
|
|
5500
|
-
name: "packageId",
|
|
5501
|
-
wire: "packageId",
|
|
5502
|
-
source: "json",
|
|
5503
|
-
codec: {
|
|
5504
|
-
mode: "strict",
|
|
5505
|
-
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPackageId",
|
|
5506
|
-
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_2$schema
|
|
5507
|
-
}
|
|
5508
|
-
},
|
|
5509
|
-
{
|
|
5510
|
-
name: "mode",
|
|
5511
|
-
wire: "mode",
|
|
5512
|
-
source: "json",
|
|
5513
|
-
codec: {
|
|
5514
|
-
mode: "strict",
|
|
5515
|
-
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicRunMode",
|
|
5516
|
-
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_3$schema
|
|
5517
|
-
}
|
|
5518
|
-
},
|
|
5519
|
-
{
|
|
5520
|
-
name: "requestId",
|
|
5521
|
-
wire: "requestId",
|
|
5522
|
-
source: "json",
|
|
5523
|
-
codec: {
|
|
5524
|
-
mode: "strict",
|
|
5525
|
-
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/runHostHalf:requestId",
|
|
5526
|
-
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_4$schema
|
|
5527
|
-
}
|
|
5528
|
-
},
|
|
5529
|
-
{
|
|
5530
|
-
name: "approveFutureVersions",
|
|
5531
|
-
wire: "approveFutureVersions",
|
|
5532
|
-
source: "json",
|
|
5533
|
-
codec: {
|
|
5534
|
-
mode: "strict",
|
|
5535
|
-
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/runHostHalf:approveFutureVersions",
|
|
5536
|
-
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_5$schema
|
|
5537
|
-
}
|
|
8776
|
+
parameters: [{
|
|
8777
|
+
name: "path",
|
|
8778
|
+
wire: "path",
|
|
8779
|
+
source: "json",
|
|
8780
|
+
acceptsUndefined: true,
|
|
8781
|
+
codec: {
|
|
8782
|
+
mode: "strict",
|
|
8783
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-controller#directoryPicker/list:path",
|
|
8784
|
+
schema: _deepseek_ai_dsh_api_workspace_controller_directoryPicker_list_parameter_0$schema
|
|
5538
8785
|
}
|
|
5539
|
-
],
|
|
8786
|
+
}],
|
|
8787
|
+
cancellation: { parameter: "signal" },
|
|
5540
8788
|
result: {
|
|
5541
8789
|
mode: "strict",
|
|
5542
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
5543
|
-
schema:
|
|
8790
|
+
typeSymbol: "@deepseek-ai/dsh-host-directory-picker/types#DirectoryListing",
|
|
8791
|
+
schema: _deepseek_ai_dsh_api_workspace_controller_directoryPicker_list_result$schema
|
|
5544
8792
|
},
|
|
5545
8793
|
sourceLocation: {
|
|
5546
|
-
"file": "packages/
|
|
5547
|
-
"line":
|
|
8794
|
+
"file": "packages/api/workspace-controller/src/directory-picker.ts",
|
|
8795
|
+
"line": 72,
|
|
5548
8796
|
"column": 9
|
|
5549
8797
|
}
|
|
5550
8798
|
},
|
|
5551
8799
|
{
|
|
5552
|
-
id: "@deepseek-ai/dsh-
|
|
5553
|
-
service: "
|
|
5554
|
-
namespace: "
|
|
5555
|
-
method: "
|
|
8800
|
+
id: "@deepseek-ai/dsh-api-workspace-controller#directoryPicker/pick",
|
|
8801
|
+
service: "directoryPickerController",
|
|
8802
|
+
namespace: "directoryPicker",
|
|
8803
|
+
method: "pick",
|
|
5556
8804
|
invocation: { kind: "direct" },
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
wire: "agentId"
|
|
5560
|
-
},
|
|
5561
|
-
parameters: [
|
|
5562
|
-
{
|
|
5563
|
-
name: "agent",
|
|
5564
|
-
wire: "agentId",
|
|
5565
|
-
source: "lookup",
|
|
5566
|
-
lookup: "agent",
|
|
5567
|
-
codec: {
|
|
5568
|
-
mode: "strict",
|
|
5569
|
-
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
5570
|
-
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_parameter_0$schema
|
|
5571
|
-
}
|
|
5572
|
-
},
|
|
5573
|
-
{
|
|
5574
|
-
name: "pluginId",
|
|
5575
|
-
wire: "pluginId",
|
|
5576
|
-
source: "json",
|
|
5577
|
-
codec: {
|
|
5578
|
-
mode: "strict",
|
|
5579
|
-
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId",
|
|
5580
|
-
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_parameter_1$schema
|
|
5581
|
-
}
|
|
5582
|
-
},
|
|
5583
|
-
{
|
|
5584
|
-
name: "resolution",
|
|
5585
|
-
wire: "resolution",
|
|
5586
|
-
source: "json",
|
|
5587
|
-
codec: {
|
|
5588
|
-
mode: "strict",
|
|
5589
|
-
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisRunResolution",
|
|
5590
|
-
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_parameter_2$schema
|
|
5591
|
-
}
|
|
5592
|
-
}
|
|
5593
|
-
],
|
|
8805
|
+
parameters: [],
|
|
8806
|
+
cancellation: { parameter: "signal" },
|
|
5594
8807
|
result: {
|
|
5595
8808
|
mode: "strict",
|
|
5596
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
5597
|
-
schema:
|
|
8809
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-controller#directoryPicker/pick:result",
|
|
8810
|
+
schema: _deepseek_ai_dsh_api_workspace_controller_directoryPicker_pick_result$schema
|
|
5598
8811
|
},
|
|
5599
8812
|
sourceLocation: {
|
|
5600
|
-
"file": "packages/
|
|
5601
|
-
"line":
|
|
8813
|
+
"file": "packages/api/workspace-controller/src/directory-picker.ts",
|
|
8814
|
+
"line": 55,
|
|
5602
8815
|
"column": 9
|
|
5603
8816
|
}
|
|
5604
8817
|
},
|
|
5605
8818
|
{
|
|
5606
|
-
id: "@deepseek-ai/dsh-
|
|
5607
|
-
service: "
|
|
5608
|
-
namespace: "
|
|
5609
|
-
method: "
|
|
8819
|
+
id: "@deepseek-ai/dsh-api-workspace-controller#workspace/archiveSession",
|
|
8820
|
+
service: "workspaceController",
|
|
8821
|
+
namespace: "workspace",
|
|
8822
|
+
method: "archiveSession",
|
|
5610
8823
|
invocation: { kind: "direct" },
|
|
5611
|
-
scope: {
|
|
5612
|
-
context: "agent",
|
|
5613
|
-
wire: "agentId"
|
|
5614
|
-
},
|
|
5615
8824
|
parameters: [{
|
|
5616
|
-
name: "
|
|
5617
|
-
wire: "
|
|
5618
|
-
source: "lookup",
|
|
5619
|
-
lookup: "agent",
|
|
5620
|
-
codec: {
|
|
5621
|
-
mode: "strict",
|
|
5622
|
-
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
5623
|
-
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_stopFromPanel_parameter_0$schema
|
|
5624
|
-
}
|
|
5625
|
-
}, {
|
|
5626
|
-
name: "pluginId",
|
|
5627
|
-
wire: "pluginId",
|
|
8825
|
+
name: "request",
|
|
8826
|
+
wire: "request",
|
|
5628
8827
|
source: "json",
|
|
5629
8828
|
codec: {
|
|
5630
8829
|
mode: "strict",
|
|
5631
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
5632
|
-
schema:
|
|
8830
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-controller/types#WorkspaceArchiveSessionRequest",
|
|
8831
|
+
schema: _deepseek_ai_dsh_api_workspace_controller_workspace_archiveSession_parameter_0$schema
|
|
5633
8832
|
}
|
|
5634
8833
|
}],
|
|
5635
8834
|
result: {
|
|
5636
8835
|
mode: "strict",
|
|
5637
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
5638
|
-
schema:
|
|
8836
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-controller/types#WorkspaceArchiveValue",
|
|
8837
|
+
schema: _deepseek_ai_dsh_api_workspace_controller_workspace_archiveSession_result$schema
|
|
5639
8838
|
},
|
|
5640
8839
|
sourceLocation: {
|
|
5641
|
-
"file": "packages/
|
|
5642
|
-
"line":
|
|
5643
|
-
"column":
|
|
8840
|
+
"file": "packages/api/workspace-controller/src/index.ts",
|
|
8841
|
+
"line": 108,
|
|
8842
|
+
"column": 3
|
|
5644
8843
|
}
|
|
5645
8844
|
},
|
|
5646
8845
|
{
|
|
5647
|
-
id: "@deepseek-ai/dsh-
|
|
5648
|
-
service: "
|
|
5649
|
-
namespace: "
|
|
5650
|
-
method: "
|
|
8846
|
+
id: "@deepseek-ai/dsh-api-workspace-controller#workspace/create",
|
|
8847
|
+
service: "workspaceController",
|
|
8848
|
+
namespace: "workspace",
|
|
8849
|
+
method: "create",
|
|
5651
8850
|
invocation: { kind: "direct" },
|
|
5652
8851
|
parameters: [{
|
|
5653
|
-
name: "
|
|
5654
|
-
wire: "
|
|
8852
|
+
name: "request",
|
|
8853
|
+
wire: "request",
|
|
5655
8854
|
source: "json",
|
|
5656
8855
|
codec: {
|
|
5657
8856
|
mode: "strict",
|
|
5658
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
5659
|
-
schema:
|
|
8857
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-controller/types#WorkspaceCreateRequest",
|
|
8858
|
+
schema: _deepseek_ai_dsh_api_workspace_controller_workspace_create_parameter_0$schema
|
|
5660
8859
|
}
|
|
5661
8860
|
}],
|
|
5662
8861
|
result: {
|
|
5663
8862
|
mode: "strict",
|
|
5664
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
5665
|
-
schema:
|
|
8863
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-controller/types#WorkspaceCreateValue",
|
|
8864
|
+
schema: _deepseek_ai_dsh_api_workspace_controller_workspace_create_result$schema
|
|
5666
8865
|
},
|
|
5667
8866
|
sourceLocation: {
|
|
5668
|
-
"file": "packages/
|
|
5669
|
-
"line":
|
|
8867
|
+
"file": "packages/api/workspace-controller/src/index.ts",
|
|
8868
|
+
"line": 58,
|
|
5670
8869
|
"column": 3
|
|
5671
8870
|
}
|
|
5672
8871
|
},
|
|
5673
8872
|
{
|
|
5674
|
-
id: "@deepseek-ai/dsh-
|
|
5675
|
-
service: "
|
|
5676
|
-
namespace: "
|
|
5677
|
-
method: "
|
|
8873
|
+
id: "@deepseek-ai/dsh-api-workspace-controller#workspace/delete",
|
|
8874
|
+
service: "workspaceController",
|
|
8875
|
+
namespace: "workspace",
|
|
8876
|
+
method: "delete",
|
|
5678
8877
|
invocation: { kind: "direct" },
|
|
5679
|
-
scope: {
|
|
5680
|
-
context: "agent",
|
|
5681
|
-
wire: "agentId"
|
|
5682
|
-
},
|
|
5683
8878
|
parameters: [{
|
|
5684
|
-
name: "
|
|
5685
|
-
wire: "
|
|
5686
|
-
source: "lookup",
|
|
5687
|
-
lookup: "agent",
|
|
5688
|
-
codec: {
|
|
5689
|
-
mode: "strict",
|
|
5690
|
-
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
5691
|
-
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_undefineFromPanel_parameter_0$schema
|
|
5692
|
-
}
|
|
5693
|
-
}, {
|
|
5694
|
-
name: "pluginId",
|
|
5695
|
-
wire: "pluginId",
|
|
8879
|
+
name: "request",
|
|
8880
|
+
wire: "request",
|
|
5696
8881
|
source: "json",
|
|
5697
8882
|
codec: {
|
|
5698
|
-
mode: "strict",
|
|
5699
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
5700
|
-
schema:
|
|
8883
|
+
mode: "strict",
|
|
8884
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-controller/types#WorkspaceDeleteRequest",
|
|
8885
|
+
schema: _deepseek_ai_dsh_api_workspace_controller_workspace_delete_parameter_0$schema
|
|
5701
8886
|
}
|
|
5702
8887
|
}],
|
|
5703
8888
|
result: {
|
|
5704
8889
|
mode: "strict",
|
|
5705
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
5706
|
-
schema:
|
|
8890
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-controller/types#WorkspaceDeleteValue",
|
|
8891
|
+
schema: _deepseek_ai_dsh_api_workspace_controller_workspace_delete_result$schema
|
|
5707
8892
|
},
|
|
5708
8893
|
sourceLocation: {
|
|
5709
|
-
"file": "packages/
|
|
5710
|
-
"line":
|
|
5711
|
-
"column":
|
|
8894
|
+
"file": "packages/api/workspace-controller/src/index.ts",
|
|
8895
|
+
"line": 78,
|
|
8896
|
+
"column": 3
|
|
5712
8897
|
}
|
|
5713
|
-
}
|
|
5714
|
-
]
|
|
5715
|
-
};
|
|
5716
|
-
//#endregion
|
|
5717
|
-
//#region ../../context/file-reference/lib/typert.remote-client.js
|
|
5718
|
-
const _deepseek_ai_dsh_file_reference_fileReferences_list_parameter_0$schema = intersection(string(), unknown());
|
|
5719
|
-
const _deepseek_ai_dsh_file_reference_fileReferences_list_parameter_1$schema = string();
|
|
5720
|
-
const _deepseek_ai_dsh_file_reference_fileReferences_list_result$schema = array(object({
|
|
5721
|
-
"path": string(),
|
|
5722
|
-
"kind": union([literal("file"), literal("directory")])
|
|
5723
|
-
}));
|
|
5724
|
-
const TYPERT_REMOTE$3 = {
|
|
5725
|
-
package: "@deepseek-ai/dsh-file-reference",
|
|
5726
|
-
descriptors: [{
|
|
5727
|
-
id: "@deepseek-ai/dsh-file-reference#fileReferences/list",
|
|
5728
|
-
service: "fileReferences",
|
|
5729
|
-
namespace: "fileReferences",
|
|
5730
|
-
method: "list",
|
|
5731
|
-
implementation: "remoteExportList",
|
|
5732
|
-
invocation: { kind: "direct" },
|
|
5733
|
-
scope: {
|
|
5734
|
-
context: "agent",
|
|
5735
|
-
wire: "agentId"
|
|
5736
8898
|
},
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
}, {
|
|
5748
|
-
name: "query",
|
|
5749
|
-
wire: "query",
|
|
5750
|
-
source: "json",
|
|
5751
|
-
codec: {
|
|
8899
|
+
{
|
|
8900
|
+
id: "@deepseek-ai/dsh-api-workspace-controller#workspace/follow",
|
|
8901
|
+
service: "workspaceController",
|
|
8902
|
+
namespace: "workspace",
|
|
8903
|
+
method: "follow",
|
|
8904
|
+
mode: "stream",
|
|
8905
|
+
invocation: { kind: "direct" },
|
|
8906
|
+
parameters: [],
|
|
8907
|
+
cancellation: { parameter: "signal" },
|
|
8908
|
+
result: {
|
|
5752
8909
|
mode: "strict",
|
|
5753
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
5754
|
-
schema:
|
|
8910
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-controller/types#WorkspaceFollowFrame",
|
|
8911
|
+
schema: _deepseek_ai_dsh_api_workspace_controller_workspace_follow_result$schema
|
|
8912
|
+
},
|
|
8913
|
+
sourceLocation: {
|
|
8914
|
+
"file": "packages/api/workspace-controller/src/index.ts",
|
|
8915
|
+
"line": 118,
|
|
8916
|
+
"column": 3
|
|
5755
8917
|
}
|
|
5756
|
-
}],
|
|
5757
|
-
cancellation: { parameter: "signal" },
|
|
5758
|
-
result: {
|
|
5759
|
-
mode: "strict",
|
|
5760
|
-
typeSymbol: "@deepseek-ai/dsh-file-reference#fileReferences/list:result",
|
|
5761
|
-
schema: _deepseek_ai_dsh_file_reference_fileReferences_list_result$schema
|
|
5762
|
-
},
|
|
5763
|
-
sourceLocation: {
|
|
5764
|
-
"file": "packages/context/file-reference/src/index.ts",
|
|
5765
|
-
"line": 54,
|
|
5766
|
-
"column": 3
|
|
5767
|
-
}
|
|
5768
|
-
}]
|
|
5769
|
-
};
|
|
5770
|
-
const TYPERT_REMOTE$2 = {
|
|
5771
|
-
package: "@deepseek-ai/dsh-host-plugin-inventory",
|
|
5772
|
-
descriptors: [{
|
|
5773
|
-
id: "@deepseek-ai/dsh-host-plugin-inventory#pluginInventory/list",
|
|
5774
|
-
service: "pluginInventory",
|
|
5775
|
-
namespace: "pluginInventory",
|
|
5776
|
-
method: "list",
|
|
5777
|
-
invocation: { kind: "direct" },
|
|
5778
|
-
parameters: [],
|
|
5779
|
-
result: {
|
|
5780
|
-
mode: "strict",
|
|
5781
|
-
typeSymbol: "@deepseek-ai/dsh-host-plugin-inventory/types#PluginInventorySnapshot",
|
|
5782
|
-
schema: object({ "entries": array(object({
|
|
5783
|
-
"entryId": intersection(string(), unknown()).readonly(),
|
|
5784
|
-
"moduleName": string().readonly(),
|
|
5785
|
-
"enabled": boolean().readonly(),
|
|
5786
|
-
"fiberPhase": union([
|
|
5787
|
-
literal(null),
|
|
5788
|
-
literal("failed"),
|
|
5789
|
-
literal("pending"),
|
|
5790
|
-
literal("active"),
|
|
5791
|
-
literal("loading"),
|
|
5792
|
-
literal("unloading")
|
|
5793
|
-
]).readonly()
|
|
5794
|
-
})).readonly() })
|
|
5795
8918
|
},
|
|
5796
|
-
sourceLocation: {
|
|
5797
|
-
"file": "packages/host/plugin-inventory/src/index.ts",
|
|
5798
|
-
"line": 57,
|
|
5799
|
-
"column": 3
|
|
5800
|
-
}
|
|
5801
|
-
}]
|
|
5802
|
-
};
|
|
5803
|
-
//#endregion
|
|
5804
|
-
//#region ../../feedback/message-feedback/lib/typert.remote-client.js
|
|
5805
|
-
const _deepseek_ai_dsh_message_feedback_messageFeedback_delete_parameter_0$schema = object({
|
|
5806
|
-
"sessionId": intersection(string(), unknown()).readonly(),
|
|
5807
|
-
"messageId": intersection(string(), unknown()).readonly(),
|
|
5808
|
-
"ifVersion": intersection(string(), unknown()).readonly()
|
|
5809
|
-
});
|
|
5810
|
-
const _deepseek_ai_dsh_message_feedback_messageFeedback_delete_result$schema = union([object({
|
|
5811
|
-
"ok": literal(true).readonly(),
|
|
5812
|
-
"value": object({ "absent": literal(true).readonly() }).readonly()
|
|
5813
|
-
}), object({
|
|
5814
|
-
"ok": literal(false).readonly(),
|
|
5815
|
-
"error": union([object({
|
|
5816
|
-
"code": literal("session-not-found").readonly(),
|
|
5817
|
-
"sessionId": intersection(string(), unknown()).readonly()
|
|
5818
|
-
}), object({
|
|
5819
|
-
"code": literal("version-conflict").readonly(),
|
|
5820
|
-
"current": union([literal(null), object({
|
|
5821
|
-
"messageId": intersection(string(), unknown()).readonly(),
|
|
5822
|
-
"rating": union([literal("positive"), literal("negative")]).readonly(),
|
|
5823
|
-
"note": string().readonly().optional(),
|
|
5824
|
-
"version": intersection(string(), unknown()).readonly(),
|
|
5825
|
-
"createdAt": number().readonly(),
|
|
5826
|
-
"updatedAt": number().readonly()
|
|
5827
|
-
})]).readonly()
|
|
5828
|
-
})]).readonly()
|
|
5829
|
-
})]);
|
|
5830
|
-
const _deepseek_ai_dsh_message_feedback_messageFeedback_list_parameter_0$schema = object({ "sessionId": intersection(string(), unknown()).readonly() });
|
|
5831
|
-
const _deepseek_ai_dsh_message_feedback_messageFeedback_list_result$schema = union([object({
|
|
5832
|
-
"ok": literal(true).readonly(),
|
|
5833
|
-
"value": object({ "items": array(object({
|
|
5834
|
-
"messageId": intersection(string(), unknown()).readonly(),
|
|
5835
|
-
"rating": union([literal("positive"), literal("negative")]).readonly(),
|
|
5836
|
-
"note": string().readonly().optional(),
|
|
5837
|
-
"version": intersection(string(), unknown()).readonly(),
|
|
5838
|
-
"createdAt": number().readonly(),
|
|
5839
|
-
"updatedAt": number().readonly()
|
|
5840
|
-
})).readonly() }).readonly()
|
|
5841
|
-
}), object({
|
|
5842
|
-
"ok": literal(false).readonly(),
|
|
5843
|
-
"error": object({
|
|
5844
|
-
"code": literal("session-not-found").readonly(),
|
|
5845
|
-
"sessionId": intersection(string(), unknown()).readonly()
|
|
5846
|
-
}).readonly()
|
|
5847
|
-
})]);
|
|
5848
|
-
const _deepseek_ai_dsh_message_feedback_messageFeedback_put_parameter_0$schema = object({
|
|
5849
|
-
"sessionId": intersection(string(), unknown()).readonly(),
|
|
5850
|
-
"messageId": intersection(string(), unknown()).readonly(),
|
|
5851
|
-
"rating": union([literal("positive"), literal("negative")]).readonly(),
|
|
5852
|
-
"note": string().readonly().optional(),
|
|
5853
|
-
"ifVersion": union([literal(null), intersection(string(), unknown())]).readonly()
|
|
5854
|
-
});
|
|
5855
|
-
const _deepseek_ai_dsh_message_feedback_messageFeedback_put_result$schema = union([object({
|
|
5856
|
-
"ok": literal(true).readonly(),
|
|
5857
|
-
"value": object({
|
|
5858
|
-
"messageId": intersection(string(), unknown()).readonly(),
|
|
5859
|
-
"rating": union([literal("positive"), literal("negative")]).readonly(),
|
|
5860
|
-
"note": string().readonly().optional(),
|
|
5861
|
-
"version": intersection(string(), unknown()).readonly(),
|
|
5862
|
-
"createdAt": number().readonly(),
|
|
5863
|
-
"updatedAt": number().readonly()
|
|
5864
|
-
}).readonly()
|
|
5865
|
-
}), object({
|
|
5866
|
-
"ok": literal(false).readonly(),
|
|
5867
|
-
"error": union([
|
|
5868
|
-
object({
|
|
5869
|
-
"code": literal("session-not-found").readonly(),
|
|
5870
|
-
"sessionId": intersection(string(), unknown()).readonly()
|
|
5871
|
-
}),
|
|
5872
|
-
object({
|
|
5873
|
-
"code": literal("target-not-found").readonly(),
|
|
5874
|
-
"sessionId": intersection(string(), unknown()).readonly(),
|
|
5875
|
-
"messageId": intersection(string(), unknown()).readonly()
|
|
5876
|
-
}),
|
|
5877
|
-
object({
|
|
5878
|
-
"code": literal("version-conflict").readonly(),
|
|
5879
|
-
"current": union([literal(null), object({
|
|
5880
|
-
"messageId": intersection(string(), unknown()).readonly(),
|
|
5881
|
-
"rating": union([literal("positive"), literal("negative")]).readonly(),
|
|
5882
|
-
"note": string().readonly().optional(),
|
|
5883
|
-
"version": intersection(string(), unknown()).readonly(),
|
|
5884
|
-
"createdAt": number().readonly(),
|
|
5885
|
-
"updatedAt": number().readonly()
|
|
5886
|
-
})]).readonly()
|
|
5887
|
-
}),
|
|
5888
|
-
object({ "code": literal("note-blank").readonly() }),
|
|
5889
|
-
object({
|
|
5890
|
-
"code": literal("note-too-large").readonly(),
|
|
5891
|
-
"maxBytes": number().readonly(),
|
|
5892
|
-
"actualBytes": number().readonly()
|
|
5893
|
-
})
|
|
5894
|
-
]).readonly()
|
|
5895
|
-
})]);
|
|
5896
|
-
const TYPERT_REMOTE$1 = {
|
|
5897
|
-
package: "@deepseek-ai/dsh-message-feedback",
|
|
5898
|
-
descriptors: [
|
|
5899
8919
|
{
|
|
5900
|
-
id: "@deepseek-ai/dsh-
|
|
5901
|
-
service: "
|
|
5902
|
-
namespace: "
|
|
5903
|
-
method: "
|
|
8920
|
+
id: "@deepseek-ai/dsh-api-workspace-controller#workspace/insertBefore",
|
|
8921
|
+
service: "workspaceController",
|
|
8922
|
+
namespace: "workspace",
|
|
8923
|
+
method: "insertBefore",
|
|
5904
8924
|
invocation: { kind: "direct" },
|
|
5905
8925
|
parameters: [{
|
|
5906
8926
|
name: "request",
|
|
@@ -5908,26 +8928,26 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5908
8928
|
source: "json",
|
|
5909
8929
|
codec: {
|
|
5910
8930
|
mode: "strict",
|
|
5911
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
5912
|
-
schema:
|
|
8931
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-controller/types#WorkspaceInsertBeforeRequest",
|
|
8932
|
+
schema: _deepseek_ai_dsh_api_workspace_controller_workspace_insertBefore_parameter_0$schema
|
|
5913
8933
|
}
|
|
5914
8934
|
}],
|
|
5915
8935
|
result: {
|
|
5916
8936
|
mode: "strict",
|
|
5917
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
5918
|
-
schema:
|
|
8937
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-controller/types#WorkspaceOrderValue",
|
|
8938
|
+
schema: _deepseek_ai_dsh_api_workspace_controller_workspace_insertBefore_result$schema
|
|
5919
8939
|
},
|
|
5920
8940
|
sourceLocation: {
|
|
5921
|
-
"file": "packages/
|
|
5922
|
-
"line":
|
|
8941
|
+
"file": "packages/api/workspace-controller/src/index.ts",
|
|
8942
|
+
"line": 88,
|
|
5923
8943
|
"column": 3
|
|
5924
8944
|
}
|
|
5925
8945
|
},
|
|
5926
8946
|
{
|
|
5927
|
-
id: "@deepseek-ai/dsh-
|
|
5928
|
-
service: "
|
|
5929
|
-
namespace: "
|
|
5930
|
-
method: "
|
|
8947
|
+
id: "@deepseek-ai/dsh-api-workspace-controller#workspace/insertSessionBefore",
|
|
8948
|
+
service: "workspaceController",
|
|
8949
|
+
namespace: "workspace",
|
|
8950
|
+
method: "insertSessionBefore",
|
|
5931
8951
|
invocation: { kind: "direct" },
|
|
5932
8952
|
parameters: [{
|
|
5933
8953
|
name: "request",
|
|
@@ -5935,26 +8955,26 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5935
8955
|
source: "json",
|
|
5936
8956
|
codec: {
|
|
5937
8957
|
mode: "strict",
|
|
5938
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
5939
|
-
schema:
|
|
8958
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-controller/types#WorkspaceInsertSessionBeforeRequest",
|
|
8959
|
+
schema: _deepseek_ai_dsh_api_workspace_controller_workspace_insertSessionBefore_parameter_0$schema
|
|
5940
8960
|
}
|
|
5941
8961
|
}],
|
|
5942
8962
|
result: {
|
|
5943
8963
|
mode: "strict",
|
|
5944
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
5945
|
-
schema:
|
|
8964
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-controller/types#WorkspaceValue",
|
|
8965
|
+
schema: _deepseek_ai_dsh_api_workspace_controller_workspace_insertSessionBefore_result$schema
|
|
5946
8966
|
},
|
|
5947
8967
|
sourceLocation: {
|
|
5948
|
-
"file": "packages/
|
|
5949
|
-
"line":
|
|
5950
|
-
"column":
|
|
8968
|
+
"file": "packages/api/workspace-controller/src/index.ts",
|
|
8969
|
+
"line": 98,
|
|
8970
|
+
"column": 3
|
|
5951
8971
|
}
|
|
5952
8972
|
},
|
|
5953
8973
|
{
|
|
5954
|
-
id: "@deepseek-ai/dsh-
|
|
5955
|
-
service: "
|
|
5956
|
-
namespace: "
|
|
5957
|
-
method: "
|
|
8974
|
+
id: "@deepseek-ai/dsh-api-workspace-controller#workspace/rename",
|
|
8975
|
+
service: "workspaceController",
|
|
8976
|
+
namespace: "workspace",
|
|
8977
|
+
method: "rename",
|
|
5958
8978
|
invocation: { kind: "direct" },
|
|
5959
8979
|
parameters: [{
|
|
5960
8980
|
name: "request",
|
|
@@ -5962,81 +8982,24 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5962
8982
|
source: "json",
|
|
5963
8983
|
codec: {
|
|
5964
8984
|
mode: "strict",
|
|
5965
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
5966
|
-
schema:
|
|
8985
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-controller/types#WorkspaceRenameRequest",
|
|
8986
|
+
schema: _deepseek_ai_dsh_api_workspace_controller_workspace_rename_parameter_0$schema
|
|
5967
8987
|
}
|
|
5968
8988
|
}],
|
|
5969
8989
|
result: {
|
|
5970
8990
|
mode: "strict",
|
|
5971
|
-
typeSymbol: "@deepseek-ai/dsh-
|
|
5972
|
-
schema:
|
|
8991
|
+
typeSymbol: "@deepseek-ai/dsh-api-workspace-controller/types#WorkspaceValue",
|
|
8992
|
+
schema: _deepseek_ai_dsh_api_workspace_controller_workspace_rename_result$schema
|
|
5973
8993
|
},
|
|
5974
8994
|
sourceLocation: {
|
|
5975
|
-
"file": "packages/
|
|
5976
|
-
"line":
|
|
8995
|
+
"file": "packages/api/workspace-controller/src/index.ts",
|
|
8996
|
+
"line": 68,
|
|
5977
8997
|
"column": 3
|
|
5978
8998
|
}
|
|
5979
8999
|
}
|
|
5980
9000
|
]
|
|
5981
9001
|
};
|
|
5982
9002
|
//#endregion
|
|
5983
|
-
//#region ../../context/session-reference/lib/typert.remote-client.js
|
|
5984
|
-
const _deepseek_ai_dsh_session_reference_sessionReferenceResolver_candidates_parameter_0$schema = intersection(string(), unknown());
|
|
5985
|
-
const _deepseek_ai_dsh_session_reference_sessionReferenceResolver_candidates_parameter_1$schema = string();
|
|
5986
|
-
const _deepseek_ai_dsh_session_reference_sessionReferenceResolver_candidates_result$schema = array(object({
|
|
5987
|
-
"mention": string(),
|
|
5988
|
-
"sessionId": intersection(string(), unknown()),
|
|
5989
|
-
"label": string(),
|
|
5990
|
-
"cwd": string().optional(),
|
|
5991
|
-
"createdAt": number()
|
|
5992
|
-
}));
|
|
5993
|
-
const TYPERT_REMOTE = {
|
|
5994
|
-
package: "@deepseek-ai/dsh-session-reference",
|
|
5995
|
-
descriptors: [{
|
|
5996
|
-
id: "@deepseek-ai/dsh-session-reference#sessionReferenceResolver/candidates",
|
|
5997
|
-
service: "sessionReferenceResolver",
|
|
5998
|
-
namespace: "sessionReferenceResolver",
|
|
5999
|
-
method: "candidates",
|
|
6000
|
-
implementation: "remoteExportCandidates",
|
|
6001
|
-
invocation: { kind: "direct" },
|
|
6002
|
-
scope: {
|
|
6003
|
-
context: "agent",
|
|
6004
|
-
wire: "agentId"
|
|
6005
|
-
},
|
|
6006
|
-
parameters: [{
|
|
6007
|
-
name: "agent",
|
|
6008
|
-
wire: "agentId",
|
|
6009
|
-
source: "lookup",
|
|
6010
|
-
lookup: "agent",
|
|
6011
|
-
codec: {
|
|
6012
|
-
mode: "strict",
|
|
6013
|
-
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
6014
|
-
schema: _deepseek_ai_dsh_session_reference_sessionReferenceResolver_candidates_parameter_0$schema
|
|
6015
|
-
}
|
|
6016
|
-
}, {
|
|
6017
|
-
name: "query",
|
|
6018
|
-
wire: "query",
|
|
6019
|
-
source: "json",
|
|
6020
|
-
codec: {
|
|
6021
|
-
mode: "strict",
|
|
6022
|
-
typeSymbol: "@deepseek-ai/dsh-session-reference#sessionReferenceResolver/candidates:query",
|
|
6023
|
-
schema: _deepseek_ai_dsh_session_reference_sessionReferenceResolver_candidates_parameter_1$schema
|
|
6024
|
-
}
|
|
6025
|
-
}],
|
|
6026
|
-
cancellation: { parameter: "signal" },
|
|
6027
|
-
result: {
|
|
6028
|
-
mode: "strict",
|
|
6029
|
-
typeSymbol: "@deepseek-ai/dsh-session-reference#sessionReferenceResolver/candidates:result",
|
|
6030
|
-
schema: _deepseek_ai_dsh_session_reference_sessionReferenceResolver_candidates_result$schema
|
|
6031
|
-
},
|
|
6032
|
-
sourceLocation: {
|
|
6033
|
-
"file": "packages/context/session-reference/src/index.ts",
|
|
6034
|
-
"line": 218,
|
|
6035
|
-
"column": 9
|
|
6036
|
-
}
|
|
6037
|
-
}]
|
|
6038
|
-
};
|
|
6039
|
-
//#endregion
|
|
6040
9003
|
//#region lib/types/client/index.js
|
|
6041
9004
|
/** Platform-neutral assembly of generated Host Remote contributions. */
|
|
6042
9005
|
/** Required service: the typed Client Remote contribution mount. */
|
|
@@ -6050,6 +9013,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6050
9013
|
const disposers = [];
|
|
6051
9014
|
try {
|
|
6052
9015
|
for (const contribution of [
|
|
9016
|
+
TYPERT_REMOTE$11,
|
|
9017
|
+
TYPERT_REMOTE$10,
|
|
9018
|
+
TYPERT_REMOTE$9,
|
|
9019
|
+
TYPERT_REMOTE$8,
|
|
9020
|
+
TYPERT_REMOTE$7,
|
|
6053
9021
|
TYPERT_REMOTE$6,
|
|
6054
9022
|
TYPERT_REMOTE$5,
|
|
6055
9023
|
TYPERT_REMOTE$4,
|