@deepseek-ai/dsh-api-remotes 0.0.1-rc.2 → 0.0.1-rc.3
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 +4 -4
- package/README.zh.md +4 -5
- package/lib/client.js +1533 -12
- package/lib/index.js +10 -4
- package/lib/invariant.js +1 -1
- package/lib/types/agent-lookup.d.ts +2 -2
- package/lib/types/agent-lookup.js +4 -4
- package/lib/types/client/index.d.ts +15 -6
- package/lib/types/client/index.js +23 -1
- package/lib/types/invariant.js +1 -1
- package/lib/types/remote-events.d.ts +1 -1
- package/lib/types/remote-events.js +6 -0
- package/lib/types/types.d.ts +2 -2
- package/package.json +32 -26
package/lib/client.js
CHANGED
|
@@ -609,6 +609,8 @@ window.__ModuleLoader__.load({
|
|
|
609
609
|
};
|
|
610
610
|
const integer = /^-?\d+$/;
|
|
611
611
|
const number$1 = /^-?\d+(?:\.\d+)?$/;
|
|
612
|
+
const boolean$1 = /^(?:true|false)$/i;
|
|
613
|
+
const _undefined$2 = /^undefined$/i;
|
|
612
614
|
const lowercase = /^[^A-Z]*$/;
|
|
613
615
|
const uppercase = /^[^a-z]*$/;
|
|
614
616
|
//#endregion
|
|
@@ -1403,6 +1405,40 @@ window.__ModuleLoader__.load({
|
|
|
1403
1405
|
$ZodCheckNumberFormat.init(inst, def);
|
|
1404
1406
|
$ZodNumber.init(inst, def);
|
|
1405
1407
|
});
|
|
1408
|
+
const $ZodBoolean = /*@__PURE__*/ $constructor("$ZodBoolean", (inst, def) => {
|
|
1409
|
+
$ZodType.init(inst, def);
|
|
1410
|
+
inst._zod.pattern = boolean$1;
|
|
1411
|
+
inst._zod.parse = (payload, _ctx) => {
|
|
1412
|
+
if (def.coerce) try {
|
|
1413
|
+
payload.value = Boolean(payload.value);
|
|
1414
|
+
} catch (_) {}
|
|
1415
|
+
const input = payload.value;
|
|
1416
|
+
if (typeof input === "boolean") return payload;
|
|
1417
|
+
payload.issues.push({
|
|
1418
|
+
expected: "boolean",
|
|
1419
|
+
code: "invalid_type",
|
|
1420
|
+
input,
|
|
1421
|
+
inst
|
|
1422
|
+
});
|
|
1423
|
+
return payload;
|
|
1424
|
+
};
|
|
1425
|
+
});
|
|
1426
|
+
const $ZodUndefined = /*@__PURE__*/ $constructor("$ZodUndefined", (inst, def) => {
|
|
1427
|
+
$ZodType.init(inst, def);
|
|
1428
|
+
inst._zod.pattern = _undefined$2;
|
|
1429
|
+
inst._zod.values = new Set([void 0]);
|
|
1430
|
+
inst._zod.parse = (payload, _ctx) => {
|
|
1431
|
+
const input = payload.value;
|
|
1432
|
+
if (typeof input === "undefined") return payload;
|
|
1433
|
+
payload.issues.push({
|
|
1434
|
+
expected: "undefined",
|
|
1435
|
+
code: "invalid_type",
|
|
1436
|
+
input,
|
|
1437
|
+
inst
|
|
1438
|
+
});
|
|
1439
|
+
return payload;
|
|
1440
|
+
};
|
|
1441
|
+
});
|
|
1406
1442
|
const $ZodUnknown = /*@__PURE__*/ $constructor("$ZodUnknown", (inst, def) => {
|
|
1407
1443
|
$ZodType.init(inst, def);
|
|
1408
1444
|
inst._zod.parse = (payload) => payload;
|
|
@@ -1846,6 +1882,115 @@ window.__ModuleLoader__.load({
|
|
|
1846
1882
|
result.value = merged.data;
|
|
1847
1883
|
return result;
|
|
1848
1884
|
}
|
|
1885
|
+
const $ZodRecord = /*@__PURE__*/ $constructor("$ZodRecord", (inst, def) => {
|
|
1886
|
+
$ZodType.init(inst, def);
|
|
1887
|
+
inst._zod.parse = (payload, ctx) => {
|
|
1888
|
+
const input = payload.value;
|
|
1889
|
+
if (!isPlainObject(input)) {
|
|
1890
|
+
payload.issues.push({
|
|
1891
|
+
expected: "record",
|
|
1892
|
+
code: "invalid_type",
|
|
1893
|
+
input,
|
|
1894
|
+
inst
|
|
1895
|
+
});
|
|
1896
|
+
return payload;
|
|
1897
|
+
}
|
|
1898
|
+
const proms = [];
|
|
1899
|
+
const values = def.keyType._zod.values;
|
|
1900
|
+
if (values) {
|
|
1901
|
+
payload.value = {};
|
|
1902
|
+
const recordKeys = /* @__PURE__ */ new Set();
|
|
1903
|
+
for (const key of values) if (typeof key === "string" || typeof key === "number" || typeof key === "symbol") {
|
|
1904
|
+
recordKeys.add(typeof key === "number" ? key.toString() : key);
|
|
1905
|
+
const keyResult = def.keyType._zod.run({
|
|
1906
|
+
value: key,
|
|
1907
|
+
issues: []
|
|
1908
|
+
}, ctx);
|
|
1909
|
+
if (keyResult instanceof Promise) throw new Error("Async schemas not supported in object keys currently");
|
|
1910
|
+
if (keyResult.issues.length) {
|
|
1911
|
+
payload.issues.push({
|
|
1912
|
+
code: "invalid_key",
|
|
1913
|
+
origin: "record",
|
|
1914
|
+
issues: keyResult.issues.map((iss) => finalizeIssue(iss, ctx, config())),
|
|
1915
|
+
input: key,
|
|
1916
|
+
path: [key],
|
|
1917
|
+
inst
|
|
1918
|
+
});
|
|
1919
|
+
continue;
|
|
1920
|
+
}
|
|
1921
|
+
const outKey = keyResult.value;
|
|
1922
|
+
const result = def.valueType._zod.run({
|
|
1923
|
+
value: input[key],
|
|
1924
|
+
issues: []
|
|
1925
|
+
}, ctx);
|
|
1926
|
+
if (result instanceof Promise) proms.push(result.then((result) => {
|
|
1927
|
+
if (result.issues.length) payload.issues.push(...prefixIssues(key, result.issues));
|
|
1928
|
+
payload.value[outKey] = result.value;
|
|
1929
|
+
}));
|
|
1930
|
+
else {
|
|
1931
|
+
if (result.issues.length) payload.issues.push(...prefixIssues(key, result.issues));
|
|
1932
|
+
payload.value[outKey] = result.value;
|
|
1933
|
+
}
|
|
1934
|
+
}
|
|
1935
|
+
let unrecognized;
|
|
1936
|
+
for (const key in input) if (!recordKeys.has(key)) {
|
|
1937
|
+
unrecognized = unrecognized ?? [];
|
|
1938
|
+
unrecognized.push(key);
|
|
1939
|
+
}
|
|
1940
|
+
if (unrecognized && unrecognized.length > 0) payload.issues.push({
|
|
1941
|
+
code: "unrecognized_keys",
|
|
1942
|
+
input,
|
|
1943
|
+
inst,
|
|
1944
|
+
keys: unrecognized
|
|
1945
|
+
});
|
|
1946
|
+
} else {
|
|
1947
|
+
payload.value = {};
|
|
1948
|
+
for (const key of Reflect.ownKeys(input)) {
|
|
1949
|
+
if (key === "__proto__") continue;
|
|
1950
|
+
if (!Object.prototype.propertyIsEnumerable.call(input, key)) continue;
|
|
1951
|
+
let keyResult = def.keyType._zod.run({
|
|
1952
|
+
value: key,
|
|
1953
|
+
issues: []
|
|
1954
|
+
}, ctx);
|
|
1955
|
+
if (keyResult instanceof Promise) throw new Error("Async schemas not supported in object keys currently");
|
|
1956
|
+
if (typeof key === "string" && number$1.test(key) && keyResult.issues.length) {
|
|
1957
|
+
const retryResult = def.keyType._zod.run({
|
|
1958
|
+
value: Number(key),
|
|
1959
|
+
issues: []
|
|
1960
|
+
}, ctx);
|
|
1961
|
+
if (retryResult instanceof Promise) throw new Error("Async schemas not supported in object keys currently");
|
|
1962
|
+
if (retryResult.issues.length === 0) keyResult = retryResult;
|
|
1963
|
+
}
|
|
1964
|
+
if (keyResult.issues.length) {
|
|
1965
|
+
if (def.mode === "loose") payload.value[key] = input[key];
|
|
1966
|
+
else payload.issues.push({
|
|
1967
|
+
code: "invalid_key",
|
|
1968
|
+
origin: "record",
|
|
1969
|
+
issues: keyResult.issues.map((iss) => finalizeIssue(iss, ctx, config())),
|
|
1970
|
+
input: key,
|
|
1971
|
+
path: [key],
|
|
1972
|
+
inst
|
|
1973
|
+
});
|
|
1974
|
+
continue;
|
|
1975
|
+
}
|
|
1976
|
+
const result = def.valueType._zod.run({
|
|
1977
|
+
value: input[key],
|
|
1978
|
+
issues: []
|
|
1979
|
+
}, ctx);
|
|
1980
|
+
if (result instanceof Promise) proms.push(result.then((result) => {
|
|
1981
|
+
if (result.issues.length) payload.issues.push(...prefixIssues(key, result.issues));
|
|
1982
|
+
payload.value[keyResult.value] = result.value;
|
|
1983
|
+
}));
|
|
1984
|
+
else {
|
|
1985
|
+
if (result.issues.length) payload.issues.push(...prefixIssues(key, result.issues));
|
|
1986
|
+
payload.value[keyResult.value] = result.value;
|
|
1987
|
+
}
|
|
1988
|
+
}
|
|
1989
|
+
}
|
|
1990
|
+
if (proms.length) return Promise.all(proms).then(() => payload);
|
|
1991
|
+
return payload;
|
|
1992
|
+
};
|
|
1993
|
+
});
|
|
1849
1994
|
const $ZodEnum = /*@__PURE__*/ $constructor("$ZodEnum", (inst, def) => {
|
|
1850
1995
|
$ZodType.init(inst, def);
|
|
1851
1996
|
const values = getEnumValues(def.entries);
|
|
@@ -2084,6 +2229,21 @@ window.__ModuleLoader__.load({
|
|
|
2084
2229
|
payload.value = Object.freeze(payload.value);
|
|
2085
2230
|
return payload;
|
|
2086
2231
|
}
|
|
2232
|
+
const $ZodLazy = /*@__PURE__*/ $constructor("$ZodLazy", (inst, def) => {
|
|
2233
|
+
$ZodType.init(inst, def);
|
|
2234
|
+
defineLazy(inst._zod, "innerType", () => {
|
|
2235
|
+
const d = def;
|
|
2236
|
+
if (!d._cachedInner) d._cachedInner = def.getter();
|
|
2237
|
+
return d._cachedInner;
|
|
2238
|
+
});
|
|
2239
|
+
defineLazy(inst._zod, "pattern", () => inst._zod.innerType?._zod?.pattern);
|
|
2240
|
+
defineLazy(inst._zod, "propValues", () => inst._zod.innerType?._zod?.propValues);
|
|
2241
|
+
defineLazy(inst._zod, "optin", () => inst._zod.innerType?._zod?.optin ?? void 0);
|
|
2242
|
+
defineLazy(inst._zod, "optout", () => inst._zod.innerType?._zod?.optout ?? void 0);
|
|
2243
|
+
inst._zod.parse = (payload, ctx) => {
|
|
2244
|
+
return inst._zod.innerType._zod.run(payload, ctx);
|
|
2245
|
+
};
|
|
2246
|
+
});
|
|
2087
2247
|
const $ZodCustom = /*@__PURE__*/ $constructor("$ZodCustom", (inst, def) => {
|
|
2088
2248
|
$ZodCheck.init(inst, def);
|
|
2089
2249
|
$ZodType.init(inst, def);
|
|
@@ -2453,6 +2613,20 @@ window.__ModuleLoader__.load({
|
|
|
2453
2613
|
});
|
|
2454
2614
|
}
|
|
2455
2615
|
// @__NO_SIDE_EFFECTS__
|
|
2616
|
+
function _boolean(Class, params) {
|
|
2617
|
+
return new Class({
|
|
2618
|
+
type: "boolean",
|
|
2619
|
+
...normalizeParams(params)
|
|
2620
|
+
});
|
|
2621
|
+
}
|
|
2622
|
+
// @__NO_SIDE_EFFECTS__
|
|
2623
|
+
function _undefined$1(Class, params) {
|
|
2624
|
+
return new Class({
|
|
2625
|
+
type: "undefined",
|
|
2626
|
+
...normalizeParams(params)
|
|
2627
|
+
});
|
|
2628
|
+
}
|
|
2629
|
+
// @__NO_SIDE_EFFECTS__
|
|
2456
2630
|
function _unknown(Class) {
|
|
2457
2631
|
return new Class({ type: "unknown" });
|
|
2458
2632
|
}
|
|
@@ -2998,6 +3172,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
2998
3172
|
else if (typeof maximum === "number") json.maximum = maximum;
|
|
2999
3173
|
if (typeof multipleOf === "number") json.multipleOf = multipleOf;
|
|
3000
3174
|
};
|
|
3175
|
+
const booleanProcessor = (_schema, _ctx, json, _params) => {
|
|
3176
|
+
json.type = "boolean";
|
|
3177
|
+
};
|
|
3178
|
+
const undefinedProcessor = (_schema, ctx, _json, _params) => {
|
|
3179
|
+
if (ctx.unrepresentable === "throw") throw new Error("Undefined cannot be represented in JSON Schema");
|
|
3180
|
+
};
|
|
3001
3181
|
const neverProcessor = (_schema, _ctx, json, _params) => {
|
|
3002
3182
|
json.not = {};
|
|
3003
3183
|
};
|
|
@@ -3111,6 +3291,39 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3111
3291
|
const isSimpleIntersection = (val) => "allOf" in val && Object.keys(val).length === 1;
|
|
3112
3292
|
json.allOf = [...isSimpleIntersection(a) ? a.allOf : [a], ...isSimpleIntersection(b) ? b.allOf : [b]];
|
|
3113
3293
|
};
|
|
3294
|
+
const recordProcessor = (schema, ctx, _json, params) => {
|
|
3295
|
+
const json = _json;
|
|
3296
|
+
const def = schema._zod.def;
|
|
3297
|
+
json.type = "object";
|
|
3298
|
+
const keyType = def.keyType;
|
|
3299
|
+
const patterns = keyType._zod.bag?.patterns;
|
|
3300
|
+
if (def.mode === "loose" && patterns && patterns.size > 0) {
|
|
3301
|
+
const valueSchema = process(def.valueType, ctx, {
|
|
3302
|
+
...params,
|
|
3303
|
+
path: [
|
|
3304
|
+
...params.path,
|
|
3305
|
+
"patternProperties",
|
|
3306
|
+
"*"
|
|
3307
|
+
]
|
|
3308
|
+
});
|
|
3309
|
+
json.patternProperties = {};
|
|
3310
|
+
for (const pattern of patterns) json.patternProperties[pattern.source] = valueSchema;
|
|
3311
|
+
} else {
|
|
3312
|
+
if (ctx.target === "draft-07" || ctx.target === "draft-2020-12") json.propertyNames = process(def.keyType, ctx, {
|
|
3313
|
+
...params,
|
|
3314
|
+
path: [...params.path, "propertyNames"]
|
|
3315
|
+
});
|
|
3316
|
+
json.additionalProperties = process(def.valueType, ctx, {
|
|
3317
|
+
...params,
|
|
3318
|
+
path: [...params.path, "additionalProperties"]
|
|
3319
|
+
});
|
|
3320
|
+
}
|
|
3321
|
+
const keyValues = keyType._zod.values;
|
|
3322
|
+
if (keyValues) {
|
|
3323
|
+
const validKeyValues = [...keyValues].filter((v) => typeof v === "string" || typeof v === "number");
|
|
3324
|
+
if (validKeyValues.length > 0) json.required = validKeyValues;
|
|
3325
|
+
}
|
|
3326
|
+
};
|
|
3114
3327
|
const nullableProcessor = (schema, ctx, json, params) => {
|
|
3115
3328
|
const def = schema._zod.def;
|
|
3116
3329
|
const inner = process(def.innerType, ctx, params);
|
|
@@ -3174,6 +3387,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3174
3387
|
const seen = ctx.seen.get(schema);
|
|
3175
3388
|
seen.ref = def.innerType;
|
|
3176
3389
|
};
|
|
3390
|
+
const lazyProcessor = (schema, ctx, _json, params) => {
|
|
3391
|
+
const innerType = schema._zod.innerType;
|
|
3392
|
+
process(innerType, ctx, params);
|
|
3393
|
+
const seen = ctx.seen.get(schema);
|
|
3394
|
+
seen.ref = innerType;
|
|
3395
|
+
};
|
|
3177
3396
|
//#endregion
|
|
3178
3397
|
//#region ../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.js
|
|
3179
3398
|
const ZodISODateTime = /*@__PURE__*/ $constructor("ZodISODateTime", (inst, def) => {
|
|
@@ -3647,6 +3866,22 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3647
3866
|
function int(params) {
|
|
3648
3867
|
return /* @__PURE__ */ _int(ZodNumberFormat, params);
|
|
3649
3868
|
}
|
|
3869
|
+
const ZodBoolean = /*@__PURE__*/ $constructor("ZodBoolean", (inst, def) => {
|
|
3870
|
+
$ZodBoolean.init(inst, def);
|
|
3871
|
+
ZodType.init(inst, def);
|
|
3872
|
+
inst._zod.processJSONSchema = (ctx, json, params) => booleanProcessor(inst, ctx, json, params);
|
|
3873
|
+
});
|
|
3874
|
+
function boolean(params) {
|
|
3875
|
+
return /* @__PURE__ */ _boolean(ZodBoolean, params);
|
|
3876
|
+
}
|
|
3877
|
+
const ZodUndefined = /*@__PURE__*/ $constructor("ZodUndefined", (inst, def) => {
|
|
3878
|
+
$ZodUndefined.init(inst, def);
|
|
3879
|
+
ZodType.init(inst, def);
|
|
3880
|
+
inst._zod.processJSONSchema = (ctx, json, params) => undefinedProcessor(inst, ctx, json, params);
|
|
3881
|
+
});
|
|
3882
|
+
function _undefined(params) {
|
|
3883
|
+
return /* @__PURE__ */ _undefined$1(ZodUndefined, params);
|
|
3884
|
+
}
|
|
3650
3885
|
const ZodUnknown = /*@__PURE__*/ $constructor("ZodUnknown", (inst, def) => {
|
|
3651
3886
|
$ZodUnknown.init(inst, def);
|
|
3652
3887
|
ZodType.init(inst, def);
|
|
@@ -3785,6 +4020,27 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3785
4020
|
right
|
|
3786
4021
|
});
|
|
3787
4022
|
}
|
|
4023
|
+
const ZodRecord = /*@__PURE__*/ $constructor("ZodRecord", (inst, def) => {
|
|
4024
|
+
$ZodRecord.init(inst, def);
|
|
4025
|
+
ZodType.init(inst, def);
|
|
4026
|
+
inst._zod.processJSONSchema = (ctx, json, params) => recordProcessor(inst, ctx, json, params);
|
|
4027
|
+
inst.keyType = def.keyType;
|
|
4028
|
+
inst.valueType = def.valueType;
|
|
4029
|
+
});
|
|
4030
|
+
function record(keyType, valueType, params) {
|
|
4031
|
+
if (!valueType || !valueType._zod) return new ZodRecord({
|
|
4032
|
+
type: "record",
|
|
4033
|
+
keyType: string(),
|
|
4034
|
+
valueType: keyType,
|
|
4035
|
+
...normalizeParams(valueType)
|
|
4036
|
+
});
|
|
4037
|
+
return new ZodRecord({
|
|
4038
|
+
type: "record",
|
|
4039
|
+
keyType,
|
|
4040
|
+
valueType,
|
|
4041
|
+
...normalizeParams(params)
|
|
4042
|
+
});
|
|
4043
|
+
}
|
|
3788
4044
|
const ZodEnum = /*@__PURE__*/ $constructor("ZodEnum", (inst, def) => {
|
|
3789
4045
|
$ZodEnum.init(inst, def);
|
|
3790
4046
|
ZodType.init(inst, def);
|
|
@@ -3993,6 +4249,18 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3993
4249
|
innerType
|
|
3994
4250
|
});
|
|
3995
4251
|
}
|
|
4252
|
+
const ZodLazy = /*@__PURE__*/ $constructor("ZodLazy", (inst, def) => {
|
|
4253
|
+
$ZodLazy.init(inst, def);
|
|
4254
|
+
ZodType.init(inst, def);
|
|
4255
|
+
inst._zod.processJSONSchema = (ctx, json, params) => lazyProcessor(inst, ctx, json, params);
|
|
4256
|
+
inst.unwrap = () => inst._zod.def.getter();
|
|
4257
|
+
});
|
|
4258
|
+
function lazy(getter) {
|
|
4259
|
+
return new ZodLazy({
|
|
4260
|
+
type: "lazy",
|
|
4261
|
+
getter
|
|
4262
|
+
});
|
|
4263
|
+
}
|
|
3996
4264
|
const ZodCustom = /*@__PURE__*/ $constructor("ZodCustom", (inst, def) => {
|
|
3997
4265
|
$ZodCustom.init(inst, def);
|
|
3998
4266
|
ZodType.init(inst, def);
|
|
@@ -4005,6 +4273,103 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4005
4273
|
return /* @__PURE__ */ _superRefine(fn, params);
|
|
4006
4274
|
}
|
|
4007
4275
|
//#endregion
|
|
4276
|
+
//#region ../../interaction/commands/lib/typert.remote-client.js
|
|
4277
|
+
const _deepseek_ai_dsh_commands_commands_execute_parameter_0$schema = intersection(string(), unknown());
|
|
4278
|
+
const _deepseek_ai_dsh_commands_commands_execute_parameter_1$schema = string();
|
|
4279
|
+
const _deepseek_ai_dsh_commands_commands_execute_result$schema = union([_undefined(), object({
|
|
4280
|
+
"commandId": intersection(string(), unknown()).readonly(),
|
|
4281
|
+
"result": union([object({
|
|
4282
|
+
"kind": literal("success").readonly(),
|
|
4283
|
+
"text": string().readonly().optional(),
|
|
4284
|
+
"sourceEventSeq": number().readonly().optional()
|
|
4285
|
+
}), object({
|
|
4286
|
+
"kind": literal("error").readonly(),
|
|
4287
|
+
"text": string().readonly()
|
|
4288
|
+
})]).readonly()
|
|
4289
|
+
})]);
|
|
4290
|
+
const _deepseek_ai_dsh_commands_commands_list_parameter_0$schema = intersection(string(), unknown());
|
|
4291
|
+
const _deepseek_ai_dsh_commands_commands_list_result$schema = array(object({
|
|
4292
|
+
"name": string().readonly(),
|
|
4293
|
+
"description": string().readonly(),
|
|
4294
|
+
"input": object({ "hint": string().readonly() }).readonly().optional()
|
|
4295
|
+
}));
|
|
4296
|
+
const TYPERT_REMOTE$4 = {
|
|
4297
|
+
package: "@deepseek-ai/dsh-commands",
|
|
4298
|
+
descriptors: [{
|
|
4299
|
+
id: "@deepseek-ai/dsh-commands#commands/execute",
|
|
4300
|
+
service: "commands",
|
|
4301
|
+
namespace: "commands",
|
|
4302
|
+
method: "execute",
|
|
4303
|
+
invocation: { kind: "direct" },
|
|
4304
|
+
scope: {
|
|
4305
|
+
context: "agent",
|
|
4306
|
+
wire: "agentId"
|
|
4307
|
+
},
|
|
4308
|
+
parameters: [{
|
|
4309
|
+
name: "agent",
|
|
4310
|
+
wire: "agentId",
|
|
4311
|
+
source: "lookup",
|
|
4312
|
+
lookup: "agent",
|
|
4313
|
+
codec: {
|
|
4314
|
+
mode: "strict",
|
|
4315
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
4316
|
+
schema: _deepseek_ai_dsh_commands_commands_execute_parameter_0$schema
|
|
4317
|
+
}
|
|
4318
|
+
}, {
|
|
4319
|
+
name: "line",
|
|
4320
|
+
wire: "line",
|
|
4321
|
+
source: "json",
|
|
4322
|
+
codec: {
|
|
4323
|
+
mode: "strict",
|
|
4324
|
+
typeSymbol: "@deepseek-ai/dsh-commands#commands/execute:line",
|
|
4325
|
+
schema: _deepseek_ai_dsh_commands_commands_execute_parameter_1$schema
|
|
4326
|
+
}
|
|
4327
|
+
}],
|
|
4328
|
+
cancellation: { parameter: "signal" },
|
|
4329
|
+
result: {
|
|
4330
|
+
mode: "strict",
|
|
4331
|
+
typeSymbol: "@deepseek-ai/dsh-commands#commands/execute:result",
|
|
4332
|
+
schema: _deepseek_ai_dsh_commands_commands_execute_result$schema
|
|
4333
|
+
},
|
|
4334
|
+
sourceLocation: {
|
|
4335
|
+
"file": "packages/interaction/commands/src/index.ts",
|
|
4336
|
+
"line": 297,
|
|
4337
|
+
"column": 9
|
|
4338
|
+
}
|
|
4339
|
+
}, {
|
|
4340
|
+
id: "@deepseek-ai/dsh-commands#commands/list",
|
|
4341
|
+
service: "commands",
|
|
4342
|
+
namespace: "commands",
|
|
4343
|
+
method: "list",
|
|
4344
|
+
invocation: { kind: "direct" },
|
|
4345
|
+
scope: {
|
|
4346
|
+
context: "agent",
|
|
4347
|
+
wire: "agentId"
|
|
4348
|
+
},
|
|
4349
|
+
parameters: [{
|
|
4350
|
+
name: "agent",
|
|
4351
|
+
wire: "agentId",
|
|
4352
|
+
source: "lookup",
|
|
4353
|
+
lookup: "agent",
|
|
4354
|
+
codec: {
|
|
4355
|
+
mode: "strict",
|
|
4356
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
4357
|
+
schema: _deepseek_ai_dsh_commands_commands_list_parameter_0$schema
|
|
4358
|
+
}
|
|
4359
|
+
}],
|
|
4360
|
+
result: {
|
|
4361
|
+
mode: "strict",
|
|
4362
|
+
typeSymbol: "@deepseek-ai/dsh-commands#commands/list:result",
|
|
4363
|
+
schema: _deepseek_ai_dsh_commands_commands_list_result$schema
|
|
4364
|
+
},
|
|
4365
|
+
sourceLocation: {
|
|
4366
|
+
"file": "packages/interaction/commands/src/index.ts",
|
|
4367
|
+
"line": 260,
|
|
4368
|
+
"column": 3
|
|
4369
|
+
}
|
|
4370
|
+
}]
|
|
4371
|
+
};
|
|
4372
|
+
//#endregion
|
|
4008
4373
|
//#region ../../goal/goal/lib/typert.remote-client.js
|
|
4009
4374
|
const _deepseek_ai_dsh_goal_goals_clear_parameter_0$schema = intersection(string(), unknown());
|
|
4010
4375
|
const _deepseek_ai_dsh_goal_goals_clear_parameter_1$schema = object({
|
|
@@ -4128,7 +4493,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4128
4493
|
"id": intersection(string(), unknown()).readonly(),
|
|
4129
4494
|
"revision": number().readonly()
|
|
4130
4495
|
});
|
|
4131
|
-
const TYPERT_REMOTE = {
|
|
4496
|
+
const TYPERT_REMOTE$3 = {
|
|
4132
4497
|
package: "@deepseek-ai/dsh-goal",
|
|
4133
4498
|
descriptors: [
|
|
4134
4499
|
{
|
|
@@ -4394,17 +4759,1173 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4394
4759
|
]
|
|
4395
4760
|
};
|
|
4396
4761
|
//#endregion
|
|
4397
|
-
//#region
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4762
|
+
//#region ../../extensions/cordis-host-runner/lib/typert.remote-client.js
|
|
4763
|
+
const JsonValueRemoteCodec$schema = union([
|
|
4764
|
+
literal(null),
|
|
4765
|
+
string(),
|
|
4766
|
+
number(),
|
|
4767
|
+
literal(false),
|
|
4768
|
+
literal(true),
|
|
4769
|
+
array(lazy(() => JsonValueRemoteCodec$schema)),
|
|
4770
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema))
|
|
4771
|
+
]);
|
|
4772
|
+
const JsonValueRemoteCodec$schema2 = union([
|
|
4773
|
+
literal(null),
|
|
4774
|
+
string(),
|
|
4775
|
+
number(),
|
|
4776
|
+
literal(false),
|
|
4777
|
+
literal(true),
|
|
4778
|
+
array(lazy(() => JsonValueRemoteCodec$schema2)),
|
|
4779
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema2))
|
|
4780
|
+
]);
|
|
4781
|
+
const JsonValueRemoteCodec$schema3 = union([
|
|
4782
|
+
literal(null),
|
|
4783
|
+
string(),
|
|
4784
|
+
number(),
|
|
4785
|
+
literal(false),
|
|
4786
|
+
literal(true),
|
|
4787
|
+
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
4788
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
4789
|
+
]);
|
|
4790
|
+
const JsonValueRemoteCodec$schema4 = union([
|
|
4791
|
+
literal(null),
|
|
4792
|
+
string(),
|
|
4793
|
+
number(),
|
|
4794
|
+
literal(false),
|
|
4795
|
+
literal(true),
|
|
4796
|
+
array(lazy(() => JsonValueRemoteCodec$schema4)),
|
|
4797
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema4))
|
|
4798
|
+
]);
|
|
4799
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_getClientCode_parameter_0$schema = intersection(string(), unknown());
|
|
4800
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_getClientCode_parameter_1$schema = intersection(string(), unknown());
|
|
4801
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_getClientCode_parameter_2$schema = intersection(string(), unknown());
|
|
4802
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_getClientCode_result$schema = object({
|
|
4803
|
+
"code": string(),
|
|
4804
|
+
"name": string(),
|
|
4805
|
+
"pluginId": intersection(string(), unknown()),
|
|
4806
|
+
"packageId": intersection(string(), unknown()),
|
|
4807
|
+
"pluginRunId": intersection(string(), unknown())
|
|
4808
|
+
});
|
|
4809
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_inventory_result$schema = array(object({
|
|
4810
|
+
"pluginId": intersection(string(), unknown()),
|
|
4811
|
+
"agentId": intersection(string(), unknown()),
|
|
4812
|
+
"packages": array(object({
|
|
4813
|
+
"packageId": intersection(string(), unknown()),
|
|
4814
|
+
"name": string(),
|
|
4815
|
+
"purpose": string(),
|
|
4816
|
+
"hasHostHalf": boolean(),
|
|
4817
|
+
"hasClientHalf": boolean()
|
|
4818
|
+
})),
|
|
4819
|
+
"currentPackageId": intersection(string(), unknown()).optional(),
|
|
4820
|
+
"nextPackageId": intersection(string(), unknown()).optional(),
|
|
4821
|
+
"activeRun": object({
|
|
4822
|
+
"pluginRunId": intersection(string(), unknown()),
|
|
4823
|
+
"packageId": intersection(string(), unknown())
|
|
4824
|
+
}).optional(),
|
|
4825
|
+
"latestRun": object({
|
|
4826
|
+
"pluginRunId": intersection(string(), unknown()),
|
|
4827
|
+
"packageId": intersection(string(), unknown()),
|
|
4828
|
+
"mode": union([literal("run"), literal("update")]),
|
|
4829
|
+
"status": union([
|
|
4830
|
+
literal("rejected"),
|
|
4831
|
+
literal("awaiting-approval"),
|
|
4832
|
+
literal("running"),
|
|
4833
|
+
literal("cancelled"),
|
|
4834
|
+
literal("starting-host"),
|
|
4835
|
+
literal("client-pending"),
|
|
4836
|
+
literal("waiting"),
|
|
4837
|
+
literal("failed"),
|
|
4838
|
+
literal("stopped")
|
|
4839
|
+
]),
|
|
4840
|
+
"approvalRequestId": intersection(string(), unknown()).optional(),
|
|
4841
|
+
"requiresApproval": boolean().optional(),
|
|
4842
|
+
"host": object({
|
|
4843
|
+
"status": union([
|
|
4844
|
+
literal("running"),
|
|
4845
|
+
literal("waiting"),
|
|
4846
|
+
literal("failed"),
|
|
4847
|
+
literal("stopped"),
|
|
4848
|
+
literal("absent"),
|
|
4849
|
+
literal("pending")
|
|
4850
|
+
]),
|
|
4851
|
+
"waitingFor": array(string()),
|
|
4852
|
+
"error": string().optional()
|
|
4853
|
+
}),
|
|
4854
|
+
"client": object({
|
|
4855
|
+
"status": union([
|
|
4856
|
+
literal("running"),
|
|
4857
|
+
literal("waiting"),
|
|
4858
|
+
literal("failed"),
|
|
4859
|
+
literal("stopped"),
|
|
4860
|
+
literal("absent"),
|
|
4861
|
+
literal("pending")
|
|
4862
|
+
]),
|
|
4863
|
+
"waitingFor": array(string()),
|
|
4864
|
+
"error": string().optional()
|
|
4865
|
+
}),
|
|
4866
|
+
"error": object({
|
|
4867
|
+
"phase": union([
|
|
4868
|
+
literal("approval"),
|
|
4869
|
+
literal("host-load"),
|
|
4870
|
+
literal("host-apply"),
|
|
4871
|
+
literal("client-load"),
|
|
4872
|
+
literal("client-apply"),
|
|
4873
|
+
literal("client-render")
|
|
4874
|
+
]),
|
|
4875
|
+
"message": string(),
|
|
4876
|
+
"stack": string().optional(),
|
|
4877
|
+
"pluginId": intersection(string(), unknown()),
|
|
4878
|
+
"packageId": intersection(string(), unknown()),
|
|
4879
|
+
"pluginRunId": intersection(string(), unknown())
|
|
4880
|
+
}).optional()
|
|
4881
|
+
}).optional()
|
|
4882
|
+
}));
|
|
4883
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_parameter_0$schema = intersection(string(), unknown());
|
|
4884
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_parameter_1$schema = intersection(string(), unknown());
|
|
4885
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_parameter_2$schema = string();
|
|
4886
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_parameter_3$schema = union([
|
|
4887
|
+
literal(null),
|
|
4888
|
+
string(),
|
|
4889
|
+
number(),
|
|
4890
|
+
literal(false),
|
|
4891
|
+
literal(true),
|
|
4892
|
+
array(lazy(() => JsonValueRemoteCodec$schema3)),
|
|
4893
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema3))
|
|
4894
|
+
]);
|
|
4895
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_result$schema = union([object({
|
|
4896
|
+
"ok": literal(true),
|
|
4897
|
+
"value": union([
|
|
4898
|
+
literal(null),
|
|
4899
|
+
string(),
|
|
4900
|
+
number(),
|
|
4901
|
+
literal(false),
|
|
4902
|
+
literal(true),
|
|
4903
|
+
array(lazy(() => JsonValueRemoteCodec$schema4)),
|
|
4904
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema4))
|
|
4905
|
+
])
|
|
4906
|
+
}), intersection(object({
|
|
4907
|
+
"ok": literal(false),
|
|
4908
|
+
"code": union([
|
|
4909
|
+
literal("plugin-not-running"),
|
|
4910
|
+
literal("stale-run"),
|
|
4911
|
+
literal("method-not-found"),
|
|
4912
|
+
literal("handler-error")
|
|
4913
|
+
])
|
|
4914
|
+
}), object({
|
|
4915
|
+
"message": string(),
|
|
4916
|
+
"stack": string().optional()
|
|
4917
|
+
}))]);
|
|
4918
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportClientGuardFailure_parameter_0$schema = intersection(string(), unknown());
|
|
4919
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportClientGuardFailure_parameter_1$schema = intersection(string(), unknown());
|
|
4920
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportClientGuardFailure_parameter_2$schema = intersection(string(), unknown());
|
|
4921
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportClientGuardFailure_parameter_3$schema = object({
|
|
4922
|
+
"message": string(),
|
|
4923
|
+
"stack": string().optional()
|
|
4924
|
+
});
|
|
4925
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportClientGuardFailure_result$schema = literal(null);
|
|
4926
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportRenderFailure_parameter_0$schema = intersection(string(), unknown());
|
|
4927
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportRenderFailure_parameter_1$schema = intersection(string(), unknown());
|
|
4928
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportRenderFailure_parameter_2$schema = intersection(string(), unknown());
|
|
4929
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportRenderFailure_parameter_3$schema = object({
|
|
4930
|
+
"slot": string(),
|
|
4931
|
+
"message": string(),
|
|
4932
|
+
"stack": string().optional(),
|
|
4933
|
+
"abdicated": boolean()
|
|
4934
|
+
});
|
|
4935
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportRenderFailure_result$schema = literal(null);
|
|
4936
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveInspectQuery_parameter_0$schema = intersection(string(), unknown());
|
|
4937
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveInspectQuery_parameter_1$schema = intersection(string(), unknown());
|
|
4938
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveInspectQuery_parameter_2$schema = union([object({
|
|
4939
|
+
"ok": literal(true),
|
|
4940
|
+
"data": union([
|
|
4941
|
+
literal(null),
|
|
4942
|
+
string(),
|
|
4943
|
+
number(),
|
|
4944
|
+
literal(false),
|
|
4945
|
+
literal(true),
|
|
4946
|
+
array(lazy(() => JsonValueRemoteCodec$schema2)),
|
|
4947
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema2))
|
|
4948
|
+
])
|
|
4949
|
+
}), object({
|
|
4950
|
+
"ok": literal(false),
|
|
4951
|
+
"reason": union([
|
|
4952
|
+
literal("cancelled"),
|
|
4953
|
+
literal("provider-missing"),
|
|
4954
|
+
literal("method-missing"),
|
|
4955
|
+
literal("invalid-input"),
|
|
4956
|
+
literal("provider-error")
|
|
4957
|
+
]),
|
|
4958
|
+
"message": string()
|
|
4959
|
+
})]);
|
|
4960
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveInspectQuery_result$schema = object({ "accepted": boolean() });
|
|
4961
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveRequestRun_parameter_0$schema = intersection(string(), unknown());
|
|
4962
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveRequestRun_parameter_1$schema = union([object({
|
|
4963
|
+
"ok": literal(true),
|
|
4964
|
+
"pluginRunId": intersection(string(), unknown()),
|
|
4965
|
+
"waitingFor": array(string()).optional()
|
|
4966
|
+
}), object({
|
|
4967
|
+
"ok": literal(false),
|
|
4968
|
+
"reason": union([
|
|
4969
|
+
literal("rejected"),
|
|
4970
|
+
literal("host-half-failed"),
|
|
4971
|
+
literal("client-half-failed")
|
|
4972
|
+
]),
|
|
4973
|
+
"pluginRunId": intersection(string(), unknown()).optional(),
|
|
4974
|
+
"startedHere": boolean().optional(),
|
|
4975
|
+
"message": string().optional(),
|
|
4976
|
+
"stack": string().optional()
|
|
4977
|
+
})]);
|
|
4978
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveRequestRun_result$schema = object({ "accepted": boolean() });
|
|
4979
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_0$schema = intersection(string(), unknown());
|
|
4980
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_1$schema = intersection(string(), unknown());
|
|
4981
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_2$schema = intersection(string(), unknown());
|
|
4982
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_3$schema = union([literal("run"), literal("update")]);
|
|
4983
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_4$schema = union([literal(null), intersection(string(), unknown())]);
|
|
4984
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_5$schema = boolean();
|
|
4985
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_result$schema = union([object({
|
|
4986
|
+
"ok": literal(true),
|
|
4987
|
+
"pluginId": intersection(string(), unknown()),
|
|
4988
|
+
"packageId": intersection(string(), unknown()),
|
|
4989
|
+
"pluginRunId": intersection(string(), unknown()),
|
|
4990
|
+
"waitingFor": array(string()),
|
|
4991
|
+
"startedHere": boolean()
|
|
4992
|
+
}), intersection(object({ "ok": literal(false) }), object({
|
|
4993
|
+
"message": string(),
|
|
4994
|
+
"stack": string().optional()
|
|
4995
|
+
}))]);
|
|
4996
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_parameter_0$schema = intersection(string(), unknown());
|
|
4997
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_parameter_1$schema = intersection(string(), unknown());
|
|
4998
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_parameter_2$schema = union([object({
|
|
4999
|
+
"ok": literal(true),
|
|
5000
|
+
"pluginRunId": intersection(string(), unknown()),
|
|
5001
|
+
"waitingFor": array(string()).optional()
|
|
5002
|
+
}), object({
|
|
5003
|
+
"ok": literal(false),
|
|
5004
|
+
"reason": union([
|
|
5005
|
+
literal("rejected"),
|
|
5006
|
+
literal("host-half-failed"),
|
|
5007
|
+
literal("client-half-failed")
|
|
5008
|
+
]),
|
|
5009
|
+
"pluginRunId": intersection(string(), unknown()).optional(),
|
|
5010
|
+
"startedHere": boolean().optional(),
|
|
5011
|
+
"message": string().optional(),
|
|
5012
|
+
"stack": string().optional()
|
|
5013
|
+
})]);
|
|
5014
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_result$schema = union([object({
|
|
5015
|
+
"ok": literal(true),
|
|
5016
|
+
"status": union([
|
|
5017
|
+
literal("awaiting-approval"),
|
|
5018
|
+
literal("starting"),
|
|
5019
|
+
literal("running")
|
|
5020
|
+
]),
|
|
5021
|
+
"pluginId": intersection(string(), unknown()),
|
|
5022
|
+
"packageId": intersection(string(), unknown()),
|
|
5023
|
+
"pluginRunId": intersection(string(), unknown()),
|
|
5024
|
+
"waitingFor": array(string()),
|
|
5025
|
+
"clientWaitingFor": array(string()).optional(),
|
|
5026
|
+
"currentPackageId": intersection(string(), unknown()).optional(),
|
|
5027
|
+
"nextPackageId": intersection(string(), unknown()).optional(),
|
|
5028
|
+
"mode": union([literal("run"), literal("update")])
|
|
5029
|
+
}), object({
|
|
5030
|
+
"ok": literal(false),
|
|
5031
|
+
"reason": union([
|
|
5032
|
+
literal("plugin-missing"),
|
|
5033
|
+
literal("rejected"),
|
|
5034
|
+
literal("host-half-failed"),
|
|
5035
|
+
literal("client-half-failed"),
|
|
5036
|
+
literal("package-missing"),
|
|
5037
|
+
literal("invalid-mode"),
|
|
5038
|
+
literal("transition-in-flight"),
|
|
5039
|
+
literal("cancelled"),
|
|
5040
|
+
literal("not-running")
|
|
5041
|
+
]),
|
|
5042
|
+
"message": string(),
|
|
5043
|
+
"stack": string().optional()
|
|
5044
|
+
})]);
|
|
5045
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_stopFromPanel_parameter_0$schema = intersection(string(), unknown());
|
|
5046
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_stopFromPanel_parameter_1$schema = intersection(string(), unknown());
|
|
5047
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_stopFromPanel_result$schema = union([object({ "ok": literal(true) }), object({
|
|
5048
|
+
"ok": literal(false),
|
|
5049
|
+
"reason": union([literal("plugin-missing"), literal("not-running")]),
|
|
5050
|
+
"message": string()
|
|
5051
|
+
})]);
|
|
5052
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_syncInspectManifest_parameter_0$schema = array(object({
|
|
5053
|
+
"id": string(),
|
|
5054
|
+
"description": string(),
|
|
5055
|
+
"methods": array(object({
|
|
5056
|
+
"name": string(),
|
|
5057
|
+
"description": string(),
|
|
5058
|
+
"inputSchema": union([
|
|
5059
|
+
literal(null),
|
|
5060
|
+
string(),
|
|
5061
|
+
number(),
|
|
5062
|
+
literal(false),
|
|
5063
|
+
literal(true),
|
|
5064
|
+
array(lazy(() => JsonValueRemoteCodec$schema)),
|
|
5065
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema))
|
|
5066
|
+
]),
|
|
5067
|
+
"outputSchema": union([
|
|
5068
|
+
literal(null),
|
|
5069
|
+
string(),
|
|
5070
|
+
number(),
|
|
5071
|
+
literal(false),
|
|
5072
|
+
literal(true),
|
|
5073
|
+
array(lazy(() => JsonValueRemoteCodec$schema)),
|
|
5074
|
+
record(string(), lazy(() => JsonValueRemoteCodec$schema))
|
|
5075
|
+
])
|
|
5076
|
+
}))
|
|
5077
|
+
}));
|
|
5078
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_syncInspectManifest_result$schema = literal(null);
|
|
5079
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_undefineFromPanel_parameter_0$schema = intersection(string(), unknown());
|
|
5080
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_undefineFromPanel_parameter_1$schema = intersection(string(), unknown());
|
|
5081
|
+
const _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_undefineFromPanel_result$schema = union([object({
|
|
5082
|
+
"ok": literal(true),
|
|
5083
|
+
"wasRunning": boolean()
|
|
5084
|
+
}), object({
|
|
5085
|
+
"ok": literal(false),
|
|
5086
|
+
"reason": literal("plugin-missing"),
|
|
5087
|
+
"message": string()
|
|
5088
|
+
})]);
|
|
5089
|
+
const TYPERT_REMOTE$2 = {
|
|
5090
|
+
package: "@deepseek-ai/dsh-cordis-host-runner",
|
|
5091
|
+
descriptors: [
|
|
5092
|
+
{
|
|
5093
|
+
id: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/getClientCode",
|
|
5094
|
+
service: "dynamicCordisRunner",
|
|
5095
|
+
namespace: "dynamicCordisRunner",
|
|
5096
|
+
method: "getClientCode",
|
|
5097
|
+
invocation: { kind: "direct" },
|
|
5098
|
+
scope: {
|
|
5099
|
+
context: "agent",
|
|
5100
|
+
wire: "agentId"
|
|
5101
|
+
},
|
|
5102
|
+
parameters: [
|
|
5103
|
+
{
|
|
5104
|
+
name: "agent",
|
|
5105
|
+
wire: "agentId",
|
|
5106
|
+
source: "lookup",
|
|
5107
|
+
lookup: "agent",
|
|
5108
|
+
codec: {
|
|
5109
|
+
mode: "strict",
|
|
5110
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
5111
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_getClientCode_parameter_0$schema
|
|
5112
|
+
}
|
|
5113
|
+
},
|
|
5114
|
+
{
|
|
5115
|
+
name: "pluginId",
|
|
5116
|
+
wire: "pluginId",
|
|
5117
|
+
source: "json",
|
|
5118
|
+
codec: {
|
|
5119
|
+
mode: "strict",
|
|
5120
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId",
|
|
5121
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_getClientCode_parameter_1$schema
|
|
5122
|
+
}
|
|
5123
|
+
},
|
|
5124
|
+
{
|
|
5125
|
+
name: "pluginRunId",
|
|
5126
|
+
wire: "pluginRunId",
|
|
5127
|
+
source: "json",
|
|
5128
|
+
codec: {
|
|
5129
|
+
mode: "strict",
|
|
5130
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginRunId",
|
|
5131
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_getClientCode_parameter_2$schema
|
|
5132
|
+
}
|
|
5133
|
+
}
|
|
5134
|
+
],
|
|
5135
|
+
result: {
|
|
5136
|
+
mode: "strict",
|
|
5137
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisClientSource",
|
|
5138
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_getClientCode_result$schema
|
|
5139
|
+
},
|
|
5140
|
+
sourceLocation: {
|
|
5141
|
+
"file": "packages/extensions/cordis-host-runner/src/index.ts",
|
|
5142
|
+
"line": 384,
|
|
5143
|
+
"column": 3
|
|
5144
|
+
}
|
|
5145
|
+
},
|
|
5146
|
+
{
|
|
5147
|
+
id: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/inventory",
|
|
5148
|
+
service: "dynamicCordisRunner",
|
|
5149
|
+
namespace: "dynamicCordisRunner",
|
|
5150
|
+
method: "inventory",
|
|
5151
|
+
invocation: { kind: "direct" },
|
|
5152
|
+
parameters: [],
|
|
5153
|
+
result: {
|
|
5154
|
+
mode: "strict",
|
|
5155
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/inventory:result",
|
|
5156
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_inventory_result$schema
|
|
5157
|
+
},
|
|
5158
|
+
sourceLocation: {
|
|
5159
|
+
"file": "packages/extensions/cordis-host-runner/src/index.ts",
|
|
5160
|
+
"line": 525,
|
|
5161
|
+
"column": 3
|
|
5162
|
+
}
|
|
5163
|
+
},
|
|
5164
|
+
{
|
|
5165
|
+
id: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/invoke",
|
|
5166
|
+
service: "dynamicCordisRunner",
|
|
5167
|
+
namespace: "dynamicCordisRunner",
|
|
5168
|
+
method: "invoke",
|
|
5169
|
+
invocation: { kind: "direct" },
|
|
5170
|
+
parameters: [
|
|
5171
|
+
{
|
|
5172
|
+
name: "pluginId",
|
|
5173
|
+
wire: "pluginId",
|
|
5174
|
+
source: "json",
|
|
5175
|
+
codec: {
|
|
5176
|
+
mode: "strict",
|
|
5177
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId",
|
|
5178
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_parameter_0$schema
|
|
5179
|
+
}
|
|
5180
|
+
},
|
|
5181
|
+
{
|
|
5182
|
+
name: "pluginRunId",
|
|
5183
|
+
wire: "pluginRunId",
|
|
5184
|
+
source: "json",
|
|
5185
|
+
codec: {
|
|
5186
|
+
mode: "strict",
|
|
5187
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginRunId",
|
|
5188
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_parameter_1$schema
|
|
5189
|
+
}
|
|
5190
|
+
},
|
|
5191
|
+
{
|
|
5192
|
+
name: "method",
|
|
5193
|
+
wire: "method",
|
|
5194
|
+
source: "json",
|
|
5195
|
+
codec: {
|
|
5196
|
+
mode: "strict",
|
|
5197
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/invoke:method",
|
|
5198
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_parameter_2$schema
|
|
5199
|
+
}
|
|
5200
|
+
},
|
|
5201
|
+
{
|
|
5202
|
+
name: "args",
|
|
5203
|
+
wire: "args",
|
|
5204
|
+
source: "json",
|
|
5205
|
+
codec: {
|
|
5206
|
+
mode: "strict",
|
|
5207
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#JsonValue",
|
|
5208
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_parameter_3$schema
|
|
5209
|
+
}
|
|
5210
|
+
}
|
|
5211
|
+
],
|
|
5212
|
+
result: {
|
|
5213
|
+
mode: "strict",
|
|
5214
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisInvokeResult",
|
|
5215
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_invoke_result$schema
|
|
5216
|
+
},
|
|
5217
|
+
sourceLocation: {
|
|
5218
|
+
"file": "packages/extensions/cordis-host-runner/src/index.ts",
|
|
5219
|
+
"line": 741,
|
|
5220
|
+
"column": 9
|
|
5221
|
+
}
|
|
5222
|
+
},
|
|
5223
|
+
{
|
|
5224
|
+
id: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/reportClientGuardFailure",
|
|
5225
|
+
service: "dynamicCordisRunner",
|
|
5226
|
+
namespace: "dynamicCordisRunner",
|
|
5227
|
+
method: "reportClientGuardFailure",
|
|
5228
|
+
invocation: { kind: "direct" },
|
|
5229
|
+
scope: {
|
|
5230
|
+
context: "agent",
|
|
5231
|
+
wire: "agentId"
|
|
5232
|
+
},
|
|
5233
|
+
parameters: [
|
|
5234
|
+
{
|
|
5235
|
+
name: "agent",
|
|
5236
|
+
wire: "agentId",
|
|
5237
|
+
source: "lookup",
|
|
5238
|
+
lookup: "agent",
|
|
5239
|
+
codec: {
|
|
5240
|
+
mode: "strict",
|
|
5241
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
5242
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportClientGuardFailure_parameter_0$schema
|
|
5243
|
+
}
|
|
5244
|
+
},
|
|
5245
|
+
{
|
|
5246
|
+
name: "pluginId",
|
|
5247
|
+
wire: "pluginId",
|
|
5248
|
+
source: "json",
|
|
5249
|
+
codec: {
|
|
5250
|
+
mode: "strict",
|
|
5251
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId",
|
|
5252
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportClientGuardFailure_parameter_1$schema
|
|
5253
|
+
}
|
|
5254
|
+
},
|
|
5255
|
+
{
|
|
5256
|
+
name: "pluginRunId",
|
|
5257
|
+
wire: "pluginRunId",
|
|
5258
|
+
source: "json",
|
|
5259
|
+
codec: {
|
|
5260
|
+
mode: "strict",
|
|
5261
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginRunId",
|
|
5262
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportClientGuardFailure_parameter_2$schema
|
|
5263
|
+
}
|
|
5264
|
+
},
|
|
5265
|
+
{
|
|
5266
|
+
name: "failure",
|
|
5267
|
+
wire: "failure",
|
|
5268
|
+
source: "json",
|
|
5269
|
+
codec: {
|
|
5270
|
+
mode: "strict",
|
|
5271
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisErrorDetails",
|
|
5272
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportClientGuardFailure_parameter_3$schema
|
|
5273
|
+
}
|
|
5274
|
+
}
|
|
5275
|
+
],
|
|
5276
|
+
result: {
|
|
5277
|
+
mode: "strict",
|
|
5278
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/reportClientGuardFailure:result",
|
|
5279
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportClientGuardFailure_result$schema
|
|
5280
|
+
},
|
|
5281
|
+
sourceLocation: {
|
|
5282
|
+
"file": "packages/extensions/cordis-host-runner/src/index.ts",
|
|
5283
|
+
"line": 718,
|
|
5284
|
+
"column": 9
|
|
5285
|
+
}
|
|
5286
|
+
},
|
|
5287
|
+
{
|
|
5288
|
+
id: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/reportRenderFailure",
|
|
5289
|
+
service: "dynamicCordisRunner",
|
|
5290
|
+
namespace: "dynamicCordisRunner",
|
|
5291
|
+
method: "reportRenderFailure",
|
|
5292
|
+
invocation: { kind: "direct" },
|
|
5293
|
+
scope: {
|
|
5294
|
+
context: "agent",
|
|
5295
|
+
wire: "agentId"
|
|
5296
|
+
},
|
|
5297
|
+
parameters: [
|
|
5298
|
+
{
|
|
5299
|
+
name: "agent",
|
|
5300
|
+
wire: "agentId",
|
|
5301
|
+
source: "lookup",
|
|
5302
|
+
lookup: "agent",
|
|
5303
|
+
codec: {
|
|
5304
|
+
mode: "strict",
|
|
5305
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
5306
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportRenderFailure_parameter_0$schema
|
|
5307
|
+
}
|
|
5308
|
+
},
|
|
5309
|
+
{
|
|
5310
|
+
name: "pluginId",
|
|
5311
|
+
wire: "pluginId",
|
|
5312
|
+
source: "json",
|
|
5313
|
+
codec: {
|
|
5314
|
+
mode: "strict",
|
|
5315
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId",
|
|
5316
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportRenderFailure_parameter_1$schema
|
|
5317
|
+
}
|
|
5318
|
+
},
|
|
5319
|
+
{
|
|
5320
|
+
name: "pluginRunId",
|
|
5321
|
+
wire: "pluginRunId",
|
|
5322
|
+
source: "json",
|
|
5323
|
+
codec: {
|
|
5324
|
+
mode: "strict",
|
|
5325
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginRunId",
|
|
5326
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportRenderFailure_parameter_2$schema
|
|
5327
|
+
}
|
|
5328
|
+
},
|
|
5329
|
+
{
|
|
5330
|
+
name: "failure",
|
|
5331
|
+
wire: "failure",
|
|
5332
|
+
source: "json",
|
|
5333
|
+
codec: {
|
|
5334
|
+
mode: "strict",
|
|
5335
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisRenderFailure",
|
|
5336
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportRenderFailure_parameter_3$schema
|
|
5337
|
+
}
|
|
5338
|
+
}
|
|
5339
|
+
],
|
|
5340
|
+
result: {
|
|
5341
|
+
mode: "strict",
|
|
5342
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/reportRenderFailure:result",
|
|
5343
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_reportRenderFailure_result$schema
|
|
5344
|
+
},
|
|
5345
|
+
sourceLocation: {
|
|
5346
|
+
"file": "packages/extensions/cordis-host-runner/src/index.ts",
|
|
5347
|
+
"line": 684,
|
|
5348
|
+
"column": 9
|
|
5349
|
+
}
|
|
5350
|
+
},
|
|
5351
|
+
{
|
|
5352
|
+
id: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/resolveInspectQuery",
|
|
5353
|
+
service: "dynamicCordisRunner",
|
|
5354
|
+
namespace: "dynamicCordisRunner",
|
|
5355
|
+
method: "resolveInspectQuery",
|
|
5356
|
+
invocation: { kind: "direct" },
|
|
5357
|
+
scope: {
|
|
5358
|
+
context: "agent",
|
|
5359
|
+
wire: "agentId"
|
|
5360
|
+
},
|
|
5361
|
+
parameters: [
|
|
5362
|
+
{
|
|
5363
|
+
name: "agent",
|
|
5364
|
+
wire: "agentId",
|
|
5365
|
+
source: "lookup",
|
|
5366
|
+
lookup: "agent",
|
|
5367
|
+
codec: {
|
|
5368
|
+
mode: "strict",
|
|
5369
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
5370
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveInspectQuery_parameter_0$schema
|
|
5371
|
+
}
|
|
5372
|
+
},
|
|
5373
|
+
{
|
|
5374
|
+
name: "requestId",
|
|
5375
|
+
wire: "requestId",
|
|
5376
|
+
source: "json",
|
|
5377
|
+
codec: {
|
|
5378
|
+
mode: "strict",
|
|
5379
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisInspectRequestId",
|
|
5380
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveInspectQuery_parameter_1$schema
|
|
5381
|
+
}
|
|
5382
|
+
},
|
|
5383
|
+
{
|
|
5384
|
+
name: "resolution",
|
|
5385
|
+
wire: "resolution",
|
|
5386
|
+
source: "json",
|
|
5387
|
+
codec: {
|
|
5388
|
+
mode: "strict",
|
|
5389
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisInspectQueryResolution",
|
|
5390
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveInspectQuery_parameter_2$schema
|
|
5391
|
+
}
|
|
5392
|
+
}
|
|
5393
|
+
],
|
|
5394
|
+
result: {
|
|
5395
|
+
mode: "strict",
|
|
5396
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisInspectResolveAck",
|
|
5397
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveInspectQuery_result$schema
|
|
5398
|
+
},
|
|
5399
|
+
sourceLocation: {
|
|
5400
|
+
"file": "packages/extensions/cordis-host-runner/src/index.ts",
|
|
5401
|
+
"line": 511,
|
|
5402
|
+
"column": 3
|
|
5403
|
+
}
|
|
5404
|
+
},
|
|
5405
|
+
{
|
|
5406
|
+
id: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/resolveRequestRun",
|
|
5407
|
+
service: "dynamicCordisRunner",
|
|
5408
|
+
namespace: "dynamicCordisRunner",
|
|
5409
|
+
method: "resolveRequestRun",
|
|
5410
|
+
invocation: { kind: "direct" },
|
|
5411
|
+
parameters: [{
|
|
5412
|
+
name: "requestId",
|
|
5413
|
+
wire: "requestId",
|
|
5414
|
+
source: "json",
|
|
5415
|
+
codec: {
|
|
5416
|
+
mode: "strict",
|
|
5417
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#ApprovalRequestId",
|
|
5418
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveRequestRun_parameter_0$schema
|
|
5419
|
+
}
|
|
5420
|
+
}, {
|
|
5421
|
+
name: "resolution",
|
|
5422
|
+
wire: "resolution",
|
|
5423
|
+
source: "json",
|
|
5424
|
+
codec: {
|
|
5425
|
+
mode: "strict",
|
|
5426
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisRunResolution",
|
|
5427
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveRequestRun_parameter_1$schema
|
|
5428
|
+
}
|
|
5429
|
+
}],
|
|
5430
|
+
result: {
|
|
5431
|
+
mode: "strict",
|
|
5432
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisResolveAck",
|
|
5433
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_resolveRequestRun_result$schema
|
|
5434
|
+
},
|
|
5435
|
+
sourceLocation: {
|
|
5436
|
+
"file": "packages/extensions/cordis-host-runner/src/index.ts",
|
|
5437
|
+
"line": 413,
|
|
5438
|
+
"column": 9
|
|
5439
|
+
}
|
|
5440
|
+
},
|
|
5441
|
+
{
|
|
5442
|
+
id: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/runHostHalf",
|
|
5443
|
+
service: "dynamicCordisRunner",
|
|
5444
|
+
namespace: "dynamicCordisRunner",
|
|
5445
|
+
method: "runHostHalf",
|
|
5446
|
+
invocation: { kind: "direct" },
|
|
5447
|
+
scope: {
|
|
5448
|
+
context: "agent",
|
|
5449
|
+
wire: "agentId"
|
|
5450
|
+
},
|
|
5451
|
+
parameters: [
|
|
5452
|
+
{
|
|
5453
|
+
name: "agent",
|
|
5454
|
+
wire: "agentId",
|
|
5455
|
+
source: "lookup",
|
|
5456
|
+
lookup: "agent",
|
|
5457
|
+
codec: {
|
|
5458
|
+
mode: "strict",
|
|
5459
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
5460
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_0$schema
|
|
5461
|
+
}
|
|
5462
|
+
},
|
|
5463
|
+
{
|
|
5464
|
+
name: "pluginId",
|
|
5465
|
+
wire: "pluginId",
|
|
5466
|
+
source: "json",
|
|
5467
|
+
codec: {
|
|
5468
|
+
mode: "strict",
|
|
5469
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId",
|
|
5470
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_1$schema
|
|
5471
|
+
}
|
|
5472
|
+
},
|
|
5473
|
+
{
|
|
5474
|
+
name: "packageId",
|
|
5475
|
+
wire: "packageId",
|
|
5476
|
+
source: "json",
|
|
5477
|
+
codec: {
|
|
5478
|
+
mode: "strict",
|
|
5479
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPackageId",
|
|
5480
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_2$schema
|
|
5481
|
+
}
|
|
5482
|
+
},
|
|
5483
|
+
{
|
|
5484
|
+
name: "mode",
|
|
5485
|
+
wire: "mode",
|
|
5486
|
+
source: "json",
|
|
5487
|
+
codec: {
|
|
5488
|
+
mode: "strict",
|
|
5489
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicRunMode",
|
|
5490
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_3$schema
|
|
5491
|
+
}
|
|
5492
|
+
},
|
|
5493
|
+
{
|
|
5494
|
+
name: "requestId",
|
|
5495
|
+
wire: "requestId",
|
|
5496
|
+
source: "json",
|
|
5497
|
+
codec: {
|
|
5498
|
+
mode: "strict",
|
|
5499
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/runHostHalf:requestId",
|
|
5500
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_4$schema
|
|
5501
|
+
}
|
|
5502
|
+
},
|
|
5503
|
+
{
|
|
5504
|
+
name: "approveFutureVersions",
|
|
5505
|
+
wire: "approveFutureVersions",
|
|
5506
|
+
source: "json",
|
|
5507
|
+
codec: {
|
|
5508
|
+
mode: "strict",
|
|
5509
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/runHostHalf:approveFutureVersions",
|
|
5510
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_parameter_5$schema
|
|
5511
|
+
}
|
|
5512
|
+
}
|
|
5513
|
+
],
|
|
5514
|
+
result: {
|
|
5515
|
+
mode: "strict",
|
|
5516
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisHostHalfResult",
|
|
5517
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_runHostHalf_result$schema
|
|
5518
|
+
},
|
|
5519
|
+
sourceLocation: {
|
|
5520
|
+
"file": "packages/extensions/cordis-host-runner/src/index.ts",
|
|
5521
|
+
"line": 325,
|
|
5522
|
+
"column": 9
|
|
5523
|
+
}
|
|
5524
|
+
},
|
|
5525
|
+
{
|
|
5526
|
+
id: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/settleUserRun",
|
|
5527
|
+
service: "dynamicCordisRunner",
|
|
5528
|
+
namespace: "dynamicCordisRunner",
|
|
5529
|
+
method: "settleUserRun",
|
|
5530
|
+
invocation: { kind: "direct" },
|
|
5531
|
+
scope: {
|
|
5532
|
+
context: "agent",
|
|
5533
|
+
wire: "agentId"
|
|
5534
|
+
},
|
|
5535
|
+
parameters: [
|
|
5536
|
+
{
|
|
5537
|
+
name: "agent",
|
|
5538
|
+
wire: "agentId",
|
|
5539
|
+
source: "lookup",
|
|
5540
|
+
lookup: "agent",
|
|
5541
|
+
codec: {
|
|
5542
|
+
mode: "strict",
|
|
5543
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
5544
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_parameter_0$schema
|
|
5545
|
+
}
|
|
5546
|
+
},
|
|
5547
|
+
{
|
|
5548
|
+
name: "pluginId",
|
|
5549
|
+
wire: "pluginId",
|
|
5550
|
+
source: "json",
|
|
5551
|
+
codec: {
|
|
5552
|
+
mode: "strict",
|
|
5553
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId",
|
|
5554
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_parameter_1$schema
|
|
5555
|
+
}
|
|
5556
|
+
},
|
|
5557
|
+
{
|
|
5558
|
+
name: "resolution",
|
|
5559
|
+
wire: "resolution",
|
|
5560
|
+
source: "json",
|
|
5561
|
+
codec: {
|
|
5562
|
+
mode: "strict",
|
|
5563
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisRunResolution",
|
|
5564
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_parameter_2$schema
|
|
5565
|
+
}
|
|
5566
|
+
}
|
|
5567
|
+
],
|
|
5568
|
+
result: {
|
|
5569
|
+
mode: "strict",
|
|
5570
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisRunResponse",
|
|
5571
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_settleUserRun_result$schema
|
|
5572
|
+
},
|
|
5573
|
+
sourceLocation: {
|
|
5574
|
+
"file": "packages/extensions/cordis-host-runner/src/index.ts",
|
|
5575
|
+
"line": 438,
|
|
5576
|
+
"column": 9
|
|
5577
|
+
}
|
|
5578
|
+
},
|
|
5579
|
+
{
|
|
5580
|
+
id: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/stopFromPanel",
|
|
5581
|
+
service: "dynamicCordisRunner",
|
|
5582
|
+
namespace: "dynamicCordisRunner",
|
|
5583
|
+
method: "stopFromPanel",
|
|
5584
|
+
invocation: { kind: "direct" },
|
|
5585
|
+
scope: {
|
|
5586
|
+
context: "agent",
|
|
5587
|
+
wire: "agentId"
|
|
5588
|
+
},
|
|
5589
|
+
parameters: [{
|
|
5590
|
+
name: "agent",
|
|
5591
|
+
wire: "agentId",
|
|
5592
|
+
source: "lookup",
|
|
5593
|
+
lookup: "agent",
|
|
5594
|
+
codec: {
|
|
5595
|
+
mode: "strict",
|
|
5596
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
5597
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_stopFromPanel_parameter_0$schema
|
|
5598
|
+
}
|
|
5599
|
+
}, {
|
|
5600
|
+
name: "pluginId",
|
|
5601
|
+
wire: "pluginId",
|
|
5602
|
+
source: "json",
|
|
5603
|
+
codec: {
|
|
5604
|
+
mode: "strict",
|
|
5605
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId",
|
|
5606
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_stopFromPanel_parameter_1$schema
|
|
5607
|
+
}
|
|
5608
|
+
}],
|
|
5609
|
+
result: {
|
|
5610
|
+
mode: "strict",
|
|
5611
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisStopResponse",
|
|
5612
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_stopFromPanel_result$schema
|
|
5613
|
+
},
|
|
5614
|
+
sourceLocation: {
|
|
5615
|
+
"file": "packages/extensions/cordis-host-runner/src/index.ts",
|
|
5616
|
+
"line": 480,
|
|
5617
|
+
"column": 9
|
|
5618
|
+
}
|
|
5619
|
+
},
|
|
5620
|
+
{
|
|
5621
|
+
id: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/syncInspectManifest",
|
|
5622
|
+
service: "dynamicCordisRunner",
|
|
5623
|
+
namespace: "dynamicCordisRunner",
|
|
5624
|
+
method: "syncInspectManifest",
|
|
5625
|
+
invocation: { kind: "direct" },
|
|
5626
|
+
parameters: [{
|
|
5627
|
+
name: "providers",
|
|
5628
|
+
wire: "providers",
|
|
5629
|
+
source: "json",
|
|
5630
|
+
codec: {
|
|
5631
|
+
mode: "strict",
|
|
5632
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/syncInspectManifest:providers",
|
|
5633
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_syncInspectManifest_parameter_0$schema
|
|
5634
|
+
}
|
|
5635
|
+
}],
|
|
5636
|
+
result: {
|
|
5637
|
+
mode: "strict",
|
|
5638
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/syncInspectManifest:result",
|
|
5639
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_syncInspectManifest_result$schema
|
|
5640
|
+
},
|
|
5641
|
+
sourceLocation: {
|
|
5642
|
+
"file": "packages/extensions/cordis-host-runner/src/index.ts",
|
|
5643
|
+
"line": 498,
|
|
5644
|
+
"column": 3
|
|
5645
|
+
}
|
|
5646
|
+
},
|
|
5647
|
+
{
|
|
5648
|
+
id: "@deepseek-ai/dsh-cordis-host-runner#dynamicCordisRunner/undefineFromPanel",
|
|
5649
|
+
service: "dynamicCordisRunner",
|
|
5650
|
+
namespace: "dynamicCordisRunner",
|
|
5651
|
+
method: "undefineFromPanel",
|
|
5652
|
+
invocation: { kind: "direct" },
|
|
5653
|
+
scope: {
|
|
5654
|
+
context: "agent",
|
|
5655
|
+
wire: "agentId"
|
|
5656
|
+
},
|
|
5657
|
+
parameters: [{
|
|
5658
|
+
name: "agent",
|
|
5659
|
+
wire: "agentId",
|
|
5660
|
+
source: "lookup",
|
|
5661
|
+
lookup: "agent",
|
|
5662
|
+
codec: {
|
|
5663
|
+
mode: "strict",
|
|
5664
|
+
typeSymbol: "@deepseek-ai/dsh-session/types#SessionId",
|
|
5665
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_undefineFromPanel_parameter_0$schema
|
|
5666
|
+
}
|
|
5667
|
+
}, {
|
|
5668
|
+
name: "pluginId",
|
|
5669
|
+
wire: "pluginId",
|
|
5670
|
+
source: "json",
|
|
5671
|
+
codec: {
|
|
5672
|
+
mode: "strict",
|
|
5673
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#CordisDynamicPluginId",
|
|
5674
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_undefineFromPanel_parameter_1$schema
|
|
5675
|
+
}
|
|
5676
|
+
}],
|
|
5677
|
+
result: {
|
|
5678
|
+
mode: "strict",
|
|
5679
|
+
typeSymbol: "@deepseek-ai/dsh-cordis-host-runner/types#DynamicCordisUndefineReceipt",
|
|
5680
|
+
schema: _deepseek_ai_dsh_cordis_host_runner_dynamicCordisRunner_undefineFromPanel_result$schema
|
|
5681
|
+
},
|
|
5682
|
+
sourceLocation: {
|
|
5683
|
+
"file": "packages/extensions/cordis-host-runner/src/index.ts",
|
|
5684
|
+
"line": 227,
|
|
5685
|
+
"column": 9
|
|
5686
|
+
}
|
|
5687
|
+
}
|
|
5688
|
+
]
|
|
5689
|
+
};
|
|
5690
|
+
const TYPERT_REMOTE$1 = {
|
|
5691
|
+
package: "@deepseek-ai/dsh-host-plugin-inventory",
|
|
5692
|
+
descriptors: [{
|
|
5693
|
+
id: "@deepseek-ai/dsh-host-plugin-inventory#pluginInventory/list",
|
|
5694
|
+
service: "pluginInventory",
|
|
5695
|
+
namespace: "pluginInventory",
|
|
5696
|
+
method: "list",
|
|
5697
|
+
invocation: { kind: "direct" },
|
|
5698
|
+
parameters: [],
|
|
5699
|
+
result: {
|
|
5700
|
+
mode: "strict",
|
|
5701
|
+
typeSymbol: "@deepseek-ai/dsh-host-plugin-inventory/types#PluginInventorySnapshot",
|
|
5702
|
+
schema: object({ "entries": array(object({
|
|
5703
|
+
"entryId": intersection(string(), unknown()).readonly(),
|
|
5704
|
+
"moduleName": string().readonly(),
|
|
5705
|
+
"enabled": boolean().readonly(),
|
|
5706
|
+
"fiberPhase": union([
|
|
5707
|
+
literal(null),
|
|
5708
|
+
literal("failed"),
|
|
5709
|
+
literal("pending"),
|
|
5710
|
+
literal("active"),
|
|
5711
|
+
literal("loading"),
|
|
5712
|
+
literal("unloading")
|
|
5713
|
+
]).readonly()
|
|
5714
|
+
})).readonly() })
|
|
5715
|
+
},
|
|
5716
|
+
sourceLocation: {
|
|
5717
|
+
"file": "packages/host/plugin-inventory/src/index.ts",
|
|
5718
|
+
"line": 57,
|
|
5719
|
+
"column": 3
|
|
5720
|
+
}
|
|
5721
|
+
}]
|
|
5722
|
+
};
|
|
5723
|
+
//#endregion
|
|
5724
|
+
//#region ../../feedback/message-feedback/lib/typert.remote-client.js
|
|
5725
|
+
const _deepseek_ai_dsh_message_feedback_messageFeedback_delete_parameter_0$schema = object({
|
|
5726
|
+
"sessionId": intersection(string(), unknown()).readonly(),
|
|
5727
|
+
"messageId": intersection(string(), unknown()).readonly(),
|
|
5728
|
+
"ifVersion": intersection(string(), unknown()).readonly()
|
|
5729
|
+
});
|
|
5730
|
+
const _deepseek_ai_dsh_message_feedback_messageFeedback_delete_result$schema = union([object({
|
|
5731
|
+
"ok": literal(true).readonly(),
|
|
5732
|
+
"value": object({ "absent": literal(true).readonly() }).readonly()
|
|
5733
|
+
}), object({
|
|
5734
|
+
"ok": literal(false).readonly(),
|
|
5735
|
+
"error": union([object({
|
|
5736
|
+
"code": literal("session-not-found").readonly(),
|
|
5737
|
+
"sessionId": intersection(string(), unknown()).readonly()
|
|
5738
|
+
}), object({
|
|
5739
|
+
"code": literal("version-conflict").readonly(),
|
|
5740
|
+
"current": union([literal(null), object({
|
|
5741
|
+
"messageId": intersection(string(), unknown()).readonly(),
|
|
5742
|
+
"rating": union([literal("positive"), literal("negative")]).readonly(),
|
|
5743
|
+
"note": string().readonly().optional(),
|
|
5744
|
+
"version": intersection(string(), unknown()).readonly(),
|
|
5745
|
+
"createdAt": number().readonly(),
|
|
5746
|
+
"updatedAt": number().readonly()
|
|
5747
|
+
})]).readonly()
|
|
5748
|
+
})]).readonly()
|
|
5749
|
+
})]);
|
|
5750
|
+
const _deepseek_ai_dsh_message_feedback_messageFeedback_list_parameter_0$schema = object({ "sessionId": intersection(string(), unknown()).readonly() });
|
|
5751
|
+
const _deepseek_ai_dsh_message_feedback_messageFeedback_list_result$schema = union([object({
|
|
5752
|
+
"ok": literal(true).readonly(),
|
|
5753
|
+
"value": object({ "items": array(object({
|
|
5754
|
+
"messageId": intersection(string(), unknown()).readonly(),
|
|
5755
|
+
"rating": union([literal("positive"), literal("negative")]).readonly(),
|
|
5756
|
+
"note": string().readonly().optional(),
|
|
5757
|
+
"version": intersection(string(), unknown()).readonly(),
|
|
5758
|
+
"createdAt": number().readonly(),
|
|
5759
|
+
"updatedAt": number().readonly()
|
|
5760
|
+
})).readonly() }).readonly()
|
|
5761
|
+
}), object({
|
|
5762
|
+
"ok": literal(false).readonly(),
|
|
5763
|
+
"error": object({
|
|
5764
|
+
"code": literal("session-not-found").readonly(),
|
|
5765
|
+
"sessionId": intersection(string(), unknown()).readonly()
|
|
5766
|
+
}).readonly()
|
|
5767
|
+
})]);
|
|
5768
|
+
const _deepseek_ai_dsh_message_feedback_messageFeedback_put_parameter_0$schema = object({
|
|
5769
|
+
"sessionId": intersection(string(), unknown()).readonly(),
|
|
5770
|
+
"messageId": intersection(string(), unknown()).readonly(),
|
|
5771
|
+
"rating": union([literal("positive"), literal("negative")]).readonly(),
|
|
5772
|
+
"note": string().readonly().optional(),
|
|
5773
|
+
"ifVersion": union([literal(null), intersection(string(), unknown())]).readonly()
|
|
5774
|
+
});
|
|
5775
|
+
const _deepseek_ai_dsh_message_feedback_messageFeedback_put_result$schema = union([object({
|
|
5776
|
+
"ok": literal(true).readonly(),
|
|
5777
|
+
"value": object({
|
|
5778
|
+
"messageId": intersection(string(), unknown()).readonly(),
|
|
5779
|
+
"rating": union([literal("positive"), literal("negative")]).readonly(),
|
|
5780
|
+
"note": string().readonly().optional(),
|
|
5781
|
+
"version": intersection(string(), unknown()).readonly(),
|
|
5782
|
+
"createdAt": number().readonly(),
|
|
5783
|
+
"updatedAt": number().readonly()
|
|
5784
|
+
}).readonly()
|
|
5785
|
+
}), object({
|
|
5786
|
+
"ok": literal(false).readonly(),
|
|
5787
|
+
"error": union([
|
|
5788
|
+
object({
|
|
5789
|
+
"code": literal("session-not-found").readonly(),
|
|
5790
|
+
"sessionId": intersection(string(), unknown()).readonly()
|
|
5791
|
+
}),
|
|
5792
|
+
object({
|
|
5793
|
+
"code": literal("target-not-found").readonly(),
|
|
5794
|
+
"sessionId": intersection(string(), unknown()).readonly(),
|
|
5795
|
+
"messageId": intersection(string(), unknown()).readonly()
|
|
5796
|
+
}),
|
|
5797
|
+
object({
|
|
5798
|
+
"code": literal("version-conflict").readonly(),
|
|
5799
|
+
"current": union([literal(null), object({
|
|
5800
|
+
"messageId": intersection(string(), unknown()).readonly(),
|
|
5801
|
+
"rating": union([literal("positive"), literal("negative")]).readonly(),
|
|
5802
|
+
"note": string().readonly().optional(),
|
|
5803
|
+
"version": intersection(string(), unknown()).readonly(),
|
|
5804
|
+
"createdAt": number().readonly(),
|
|
5805
|
+
"updatedAt": number().readonly()
|
|
5806
|
+
})]).readonly()
|
|
5807
|
+
}),
|
|
5808
|
+
object({ "code": literal("note-blank").readonly() }),
|
|
5809
|
+
object({
|
|
5810
|
+
"code": literal("note-too-large").readonly(),
|
|
5811
|
+
"maxBytes": number().readonly(),
|
|
5812
|
+
"actualBytes": number().readonly()
|
|
5813
|
+
})
|
|
5814
|
+
]).readonly()
|
|
5815
|
+
})]);
|
|
5816
|
+
const TYPERT_REMOTE = {
|
|
5817
|
+
package: "@deepseek-ai/dsh-message-feedback",
|
|
5818
|
+
descriptors: [
|
|
5819
|
+
{
|
|
5820
|
+
id: "@deepseek-ai/dsh-message-feedback#messageFeedback/delete",
|
|
5821
|
+
service: "messageFeedback",
|
|
5822
|
+
namespace: "messageFeedback",
|
|
5823
|
+
method: "delete",
|
|
5824
|
+
invocation: { kind: "direct" },
|
|
5825
|
+
parameters: [{
|
|
5826
|
+
name: "request",
|
|
5827
|
+
wire: "request",
|
|
5828
|
+
source: "json",
|
|
5829
|
+
codec: {
|
|
5830
|
+
mode: "strict",
|
|
5831
|
+
typeSymbol: "@deepseek-ai/dsh-message-feedback/types#MessageFeedbackDeleteRequest",
|
|
5832
|
+
schema: _deepseek_ai_dsh_message_feedback_messageFeedback_delete_parameter_0$schema
|
|
5833
|
+
}
|
|
5834
|
+
}],
|
|
5835
|
+
result: {
|
|
5836
|
+
mode: "strict",
|
|
5837
|
+
typeSymbol: "@deepseek-ai/dsh-message-feedback/types#MessageFeedbackDeleteResult",
|
|
5838
|
+
schema: _deepseek_ai_dsh_message_feedback_messageFeedback_delete_result$schema
|
|
5839
|
+
},
|
|
5840
|
+
sourceLocation: {
|
|
5841
|
+
"file": "packages/feedback/message-feedback/src/index.ts",
|
|
5842
|
+
"line": 272,
|
|
5843
|
+
"column": 3
|
|
5844
|
+
}
|
|
5845
|
+
},
|
|
5846
|
+
{
|
|
5847
|
+
id: "@deepseek-ai/dsh-message-feedback#messageFeedback/list",
|
|
5848
|
+
service: "messageFeedback",
|
|
5849
|
+
namespace: "messageFeedback",
|
|
5850
|
+
method: "list",
|
|
5851
|
+
invocation: { kind: "direct" },
|
|
5852
|
+
parameters: [{
|
|
5853
|
+
name: "request",
|
|
5854
|
+
wire: "request",
|
|
5855
|
+
source: "json",
|
|
5856
|
+
codec: {
|
|
5857
|
+
mode: "strict",
|
|
5858
|
+
typeSymbol: "@deepseek-ai/dsh-message-feedback/types#MessageFeedbackListRequest",
|
|
5859
|
+
schema: _deepseek_ai_dsh_message_feedback_messageFeedback_list_parameter_0$schema
|
|
5860
|
+
}
|
|
5861
|
+
}],
|
|
5862
|
+
result: {
|
|
5863
|
+
mode: "strict",
|
|
5864
|
+
typeSymbol: "@deepseek-ai/dsh-message-feedback/types#MessageFeedbackListResult",
|
|
5865
|
+
schema: _deepseek_ai_dsh_message_feedback_messageFeedback_list_result$schema
|
|
5866
|
+
},
|
|
5867
|
+
sourceLocation: {
|
|
5868
|
+
"file": "packages/feedback/message-feedback/src/index.ts",
|
|
5869
|
+
"line": 190,
|
|
5870
|
+
"column": 9
|
|
5871
|
+
}
|
|
5872
|
+
},
|
|
5873
|
+
{
|
|
5874
|
+
id: "@deepseek-ai/dsh-message-feedback#messageFeedback/put",
|
|
5875
|
+
service: "messageFeedback",
|
|
5876
|
+
namespace: "messageFeedback",
|
|
5877
|
+
method: "put",
|
|
5878
|
+
invocation: { kind: "direct" },
|
|
5879
|
+
parameters: [{
|
|
5880
|
+
name: "request",
|
|
5881
|
+
wire: "request",
|
|
5882
|
+
source: "json",
|
|
5883
|
+
codec: {
|
|
5884
|
+
mode: "strict",
|
|
5885
|
+
typeSymbol: "@deepseek-ai/dsh-message-feedback/types#MessageFeedbackPutRequest",
|
|
5886
|
+
schema: _deepseek_ai_dsh_message_feedback_messageFeedback_put_parameter_0$schema
|
|
5887
|
+
}
|
|
5888
|
+
}],
|
|
5889
|
+
result: {
|
|
5890
|
+
mode: "strict",
|
|
5891
|
+
typeSymbol: "@deepseek-ai/dsh-message-feedback/types#MessageFeedbackPutResult",
|
|
5892
|
+
schema: _deepseek_ai_dsh_message_feedback_messageFeedback_put_result$schema
|
|
5893
|
+
},
|
|
5894
|
+
sourceLocation: {
|
|
5895
|
+
"file": "packages/feedback/message-feedback/src/index.ts",
|
|
5896
|
+
"line": 206,
|
|
5897
|
+
"column": 3
|
|
5898
|
+
}
|
|
5899
|
+
}
|
|
5900
|
+
]
|
|
5901
|
+
};
|
|
5902
|
+
//#endregion
|
|
5903
|
+
//#region lib/types/client/index.js
|
|
5904
|
+
/** Platform-neutral assembly of generated Host Remote contributions. */
|
|
5905
|
+
/** Required service: the typed Client Remote contribution mount. */
|
|
5906
|
+
const inject = ["remote"];
|
|
5907
|
+
/**
|
|
5908
|
+
* Mount the Host capabilities explicitly selected for this Client assembly.
|
|
5909
|
+
* @param ctx - Client Cordis root carrying the typed API service.
|
|
5910
|
+
* @returns disposer after every selected Remote namespace is ready.
|
|
5911
|
+
*/
|
|
5912
|
+
async function apply(ctx) {
|
|
5913
|
+
const disposers = [];
|
|
5914
|
+
try {
|
|
5915
|
+
for (const contribution of [
|
|
5916
|
+
TYPERT_REMOTE$4,
|
|
5917
|
+
TYPERT_REMOTE$3,
|
|
5918
|
+
TYPERT_REMOTE$2,
|
|
5919
|
+
TYPERT_REMOTE$1,
|
|
5920
|
+
TYPERT_REMOTE
|
|
5921
|
+
]) disposers.push(await ctx.remote.$mount(contribution));
|
|
5922
|
+
} catch (error) {
|
|
5923
|
+
for (const dispose of disposers.reverse()) await dispose();
|
|
5924
|
+
throw error;
|
|
5925
|
+
}
|
|
5926
|
+
return async () => {
|
|
5927
|
+
for (const dispose of disposers.reverse()) await dispose();
|
|
5928
|
+
};
|
|
4408
5929
|
}
|
|
4409
5930
|
//#endregion
|
|
4410
5931
|
exports.apply = apply;
|