@wowyuarm/dsh-agent-team 0.1.8 → 0.1.10
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.md +4 -11
- package/README.zh.md +4 -11
- package/package.json +54 -44
- package/packages/agent-team/README.md +7 -5
- package/packages/agent-team/README.zh.md +7 -4
- package/packages/agent-team/lib/attachments.js +14 -4
- package/packages/agent-team/lib/context-management.js +382 -0
- package/packages/agent-team/lib/context-projection.js +578 -0
- package/packages/agent-team/lib/context-source.js +212 -0
- package/packages/agent-team/lib/index.js +1272 -76
- package/packages/agent-team/lib/ledger.js +333 -44
- package/packages/agent-team/lib/member-context.js +6 -2
- package/packages/agent-team/lib/member-runtime.js +159 -4
- package/packages/agent-team/lib/member-time-context.js +126 -0
- package/packages/agent-team/lib/pressure-policy.js +199 -0
- package/packages/agent-team/lib/progress-nudge.js +12 -4
- package/packages/agent-team/lib/session-remediation.js +481 -0
- package/packages/agent-team/lib/spec.js +21 -2
- package/packages/agent-team/lib/time-format.js +56 -0
- package/packages/agent-team/lib/typert.host.js +168 -54
- package/packages/agent-team/lib/typert.remote-client.d.ts.map +1 -1
- package/packages/agent-team/lib/typert.remote-client.js +59 -25
- package/packages/agent-team/lib/types/attachments.d.ts +1 -1
- package/packages/agent-team/lib/types/attachments.d.ts.map +1 -1
- package/packages/agent-team/lib/types/context-management.d.ts +147 -0
- package/packages/agent-team/lib/types/context-management.d.ts.map +1 -0
- package/packages/agent-team/lib/types/context-projection.d.ts +219 -0
- package/packages/agent-team/lib/types/context-projection.d.ts.map +1 -0
- package/packages/agent-team/lib/types/context-source.d.ts +117 -0
- package/packages/agent-team/lib/types/context-source.d.ts.map +1 -0
- package/packages/agent-team/lib/types/index.d.ts +300 -2
- package/packages/agent-team/lib/types/index.d.ts.map +1 -1
- package/packages/agent-team/lib/types/ledger.d.ts +119 -6
- package/packages/agent-team/lib/types/ledger.d.ts.map +1 -1
- package/packages/agent-team/lib/types/member-context.d.ts.map +1 -1
- package/packages/agent-team/lib/types/member-runtime.d.ts +30 -2
- package/packages/agent-team/lib/types/member-runtime.d.ts.map +1 -1
- package/packages/agent-team/lib/types/member-time-context.d.ts +83 -0
- package/packages/agent-team/lib/types/member-time-context.d.ts.map +1 -0
- package/packages/agent-team/lib/types/pressure-policy.d.ts +106 -0
- package/packages/agent-team/lib/types/pressure-policy.d.ts.map +1 -0
- package/packages/agent-team/lib/types/progress-nudge.d.ts.map +1 -1
- package/packages/agent-team/lib/types/session-remediation.d.ts +149 -0
- package/packages/agent-team/lib/types/session-remediation.d.ts.map +1 -0
- package/packages/agent-team/lib/types/spec.d.ts.map +1 -1
- package/packages/agent-team/lib/types/time-format.d.ts +28 -0
- package/packages/agent-team/lib/types/time-format.d.ts.map +1 -0
- package/packages/agent-team/lib/types/types/entities.d.ts +22 -1
- package/packages/agent-team/lib/types/types/entities.d.ts.map +1 -1
- package/packages/agent-team/lib/types/types/operations.d.ts +38 -3
- package/packages/agent-team/lib/types/types/operations.d.ts.map +1 -1
- package/packages/agent-team/lib/types/types/requests-results.d.ts +58 -1
- package/packages/agent-team/lib/types/types/requests-results.d.ts.map +1 -1
- package/packages/agent-team/preset/team-member/agent.cordis.yml +27 -4
- package/packages/client-agent-team/lib/client.js +369 -352
- package/packages/client-agent-team/lib/client.js.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.d.ts +1 -2
- package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.js +61 -41
- package/packages/client-agent-team/lib/types/client/TeamMessage.js +2 -2
- package/packages/client-agent-team/lib/types/client/TeamThreadPage.js +4 -4
- package/packages/client-agent-team/lib/types/client/TeamWorkspaceBrowser.d.ts +1 -1
- package/packages/client-agent-team/lib/types/client/TeamWorkspaceBrowser.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamWorkspaceBrowser.js +2 -2
- package/packages/client-agent-team/lib/types/client/index.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/index.js +44 -16
- package/packages/client-agent-team/lib/types/client/locales.d.ts +0 -14
- package/packages/client-agent-team/lib/types/client/locales.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/locales.js +0 -14
- package/packages/client-agent-team/lib/types/client/slots.d.ts +6 -1
- package/packages/client-agent-team/lib/types/client/slots.d.ts.map +1 -1
- package/packages/tool-agent-team/README.md +11 -6
- package/packages/tool-agent-team/README.zh.md +11 -6
- package/packages/tool-agent-team/lib/context-tools.js +179 -0
- package/packages/tool-agent-team/lib/index.js +369 -58
- package/packages/tool-agent-team/lib/types/context-tools.d.ts +16 -0
- package/packages/tool-agent-team/lib/types/context-tools.d.ts.map +1 -0
- package/packages/tool-agent-team/lib/types/index.d.ts.map +1 -1
- package/packages/agent-team/lib/auto-compaction.js +0 -201
- package/packages/agent-team/lib/types/auto-compaction.d.ts +0 -47
- package/packages/agent-team/lib/types/auto-compaction.d.ts.map +0 -1
|
@@ -7,7 +7,7 @@ window.__ModuleLoader__.load({
|
|
|
7
7
|
let react = require("react");
|
|
8
8
|
let _deepseek_ai_dsh_client_ui_primitives = require("@deepseek-ai/dsh-client-ui-primitives");
|
|
9
9
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
|
-
//#region
|
|
10
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.js
|
|
11
11
|
var _a$1;
|
|
12
12
|
function $constructor(name, initializer, params) {
|
|
13
13
|
function init(inst, def) {
|
|
@@ -66,7 +66,7 @@ window.__ModuleLoader__.load({
|
|
|
66
66
|
return globalConfig;
|
|
67
67
|
}
|
|
68
68
|
//#endregion
|
|
69
|
-
//#region
|
|
69
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.js
|
|
70
70
|
function getEnumValues(entries) {
|
|
71
71
|
const numericValues = Object.values(entries).filter((v) => typeof v === "number");
|
|
72
72
|
return Object.entries(entries).filter(([k, _]) => numericValues.indexOf(+k) === -1).map(([_, v]) => v);
|
|
@@ -378,7 +378,7 @@ window.__ModuleLoader__.load({
|
|
|
378
378
|
return { ...iss };
|
|
379
379
|
}
|
|
380
380
|
//#endregion
|
|
381
|
-
//#region
|
|
381
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/errors.js
|
|
382
382
|
const initializer$1 = (inst, def) => {
|
|
383
383
|
inst.name = "$ZodError";
|
|
384
384
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -438,7 +438,7 @@ window.__ModuleLoader__.load({
|
|
|
438
438
|
return fieldErrors;
|
|
439
439
|
}
|
|
440
440
|
//#endregion
|
|
441
|
-
//#region
|
|
441
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/parse.js
|
|
442
442
|
const _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
443
443
|
const ctx = _ctx ? {
|
|
444
444
|
..._ctx,
|
|
@@ -552,7 +552,7 @@ window.__ModuleLoader__.load({
|
|
|
552
552
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
553
553
|
};
|
|
554
554
|
//#endregion
|
|
555
|
-
//#region
|
|
555
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/regexes.js
|
|
556
556
|
/**
|
|
557
557
|
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
558
558
|
* (timestamps embedded in the id). Use {@link cuid2} instead.
|
|
@@ -617,7 +617,7 @@ window.__ModuleLoader__.load({
|
|
|
617
617
|
const lowercase = /^[^A-Z]*$/;
|
|
618
618
|
const uppercase = /^[^a-z]*$/;
|
|
619
619
|
//#endregion
|
|
620
|
-
//#region
|
|
620
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/checks.js
|
|
621
621
|
const $ZodCheck = /*@__PURE__*/ $constructor("$ZodCheck", (inst, def) => {
|
|
622
622
|
var _a;
|
|
623
623
|
inst._zod ?? (inst._zod = {});
|
|
@@ -975,7 +975,7 @@ window.__ModuleLoader__.load({
|
|
|
975
975
|
};
|
|
976
976
|
});
|
|
977
977
|
//#endregion
|
|
978
|
-
//#region
|
|
978
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/doc.js
|
|
979
979
|
var Doc = class {
|
|
980
980
|
constructor(args = []) {
|
|
981
981
|
this.content = [];
|
|
@@ -1006,14 +1006,14 @@ window.__ModuleLoader__.load({
|
|
|
1006
1006
|
}
|
|
1007
1007
|
};
|
|
1008
1008
|
//#endregion
|
|
1009
|
-
//#region
|
|
1009
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/versions.js
|
|
1010
1010
|
const version$1 = {
|
|
1011
1011
|
major: 4,
|
|
1012
1012
|
minor: 4,
|
|
1013
1013
|
patch: 3
|
|
1014
1014
|
};
|
|
1015
1015
|
//#endregion
|
|
1016
|
-
//#region
|
|
1016
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/schemas.js
|
|
1017
1017
|
const $ZodType = /*@__PURE__*/ $constructor("$ZodType", (inst, def) => {
|
|
1018
1018
|
var _a;
|
|
1019
1019
|
inst ?? (inst = {});
|
|
@@ -2150,7 +2150,7 @@ window.__ModuleLoader__.load({
|
|
|
2150
2150
|
}
|
|
2151
2151
|
}
|
|
2152
2152
|
//#endregion
|
|
2153
|
-
//#region
|
|
2153
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/registries.js
|
|
2154
2154
|
var _a;
|
|
2155
2155
|
var $ZodRegistry = class {
|
|
2156
2156
|
constructor() {
|
|
@@ -2197,7 +2197,7 @@ window.__ModuleLoader__.load({
|
|
|
2197
2197
|
(_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
|
|
2198
2198
|
const globalRegistry = globalThis.__zod_globalRegistry;
|
|
2199
2199
|
//#endregion
|
|
2200
|
-
//#region
|
|
2200
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.js
|
|
2201
2201
|
// @__NO_SIDE_EFFECTS__
|
|
2202
2202
|
function _string(Class, params) {
|
|
2203
2203
|
return new Class({
|
|
@@ -2709,7 +2709,7 @@ window.__ModuleLoader__.load({
|
|
|
2709
2709
|
return ch;
|
|
2710
2710
|
}
|
|
2711
2711
|
//#endregion
|
|
2712
|
-
//#region
|
|
2712
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/to-json-schema.js
|
|
2713
2713
|
function initializeContext(params) {
|
|
2714
2714
|
let target = params?.target ?? "draft-2020-12";
|
|
2715
2715
|
if (target === "draft-4") target = "draft-04";
|
|
@@ -3002,7 +3002,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3002
3002
|
return finalize(ctx, schema);
|
|
3003
3003
|
};
|
|
3004
3004
|
//#endregion
|
|
3005
|
-
//#region
|
|
3005
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-processors.js
|
|
3006
3006
|
const formatMap = {
|
|
3007
3007
|
guid: "uuid",
|
|
3008
3008
|
url: "uri",
|
|
@@ -3234,7 +3234,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3234
3234
|
seen.ref = def.innerType;
|
|
3235
3235
|
};
|
|
3236
3236
|
//#endregion
|
|
3237
|
-
//#region
|
|
3237
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.js
|
|
3238
3238
|
const ZodISODateTime = /*@__PURE__*/ $constructor("ZodISODateTime", (inst, def) => {
|
|
3239
3239
|
$ZodISODateTime.init(inst, def);
|
|
3240
3240
|
ZodStringFormat.init(inst, def);
|
|
@@ -3264,7 +3264,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3264
3264
|
return /* @__PURE__ */ _isoDuration(ZodISODuration, params);
|
|
3265
3265
|
}
|
|
3266
3266
|
//#endregion
|
|
3267
|
-
//#region
|
|
3267
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/errors.js
|
|
3268
3268
|
const initializer = (inst, issues) => {
|
|
3269
3269
|
$ZodError.init(inst, issues);
|
|
3270
3270
|
inst.name = "ZodError";
|
|
@@ -3286,7 +3286,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3286
3286
|
};
|
|
3287
3287
|
const ZodRealError = /*@__PURE__*/ $constructor("ZodError", initializer, { Parent: Error });
|
|
3288
3288
|
//#endregion
|
|
3289
|
-
//#region
|
|
3289
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/parse.js
|
|
3290
3290
|
const parse = /* @__PURE__ */ _parse(ZodRealError);
|
|
3291
3291
|
const parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
3292
3292
|
const safeParse = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -3300,7 +3300,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
3300
3300
|
const safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
3301
3301
|
const safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
3302
3302
|
//#endregion
|
|
3303
|
-
//#region
|
|
3303
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.js
|
|
3304
3304
|
const _installedGroups = /* @__PURE__ */ new WeakMap();
|
|
3305
3305
|
function _installLazyMethods(inst, group, methods) {
|
|
3306
3306
|
const proto = Object.getPrototypeOf(inst);
|
|
@@ -4102,7 +4102,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4102
4102
|
"receipt": object({
|
|
4103
4103
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4104
4104
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4105
|
-
"sequence": number().readonly()
|
|
4105
|
+
"sequence": number().readonly(),
|
|
4106
|
+
"occurredAt": string().readonly()
|
|
4106
4107
|
}).readonly(),
|
|
4107
4108
|
"status": object({
|
|
4108
4109
|
"member": object({
|
|
@@ -4158,7 +4159,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4158
4159
|
"receipt": object({
|
|
4159
4160
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4160
4161
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4161
|
-
"sequence": number().readonly()
|
|
4162
|
+
"sequence": number().readonly(),
|
|
4163
|
+
"occurredAt": string().readonly()
|
|
4162
4164
|
}).readonly(),
|
|
4163
4165
|
"channel": object({
|
|
4164
4166
|
"channelRef": intersection(string(), unknown()).readonly(),
|
|
@@ -4190,7 +4192,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4190
4192
|
"receipt": object({
|
|
4191
4193
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4192
4194
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4193
|
-
"sequence": number().readonly()
|
|
4195
|
+
"sequence": number().readonly(),
|
|
4196
|
+
"occurredAt": string().readonly()
|
|
4194
4197
|
}).readonly(),
|
|
4195
4198
|
"member": object({
|
|
4196
4199
|
"memberId": intersection(string(), unknown()).readonly(),
|
|
@@ -4245,7 +4248,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4245
4248
|
"receipt": object({
|
|
4246
4249
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4247
4250
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4248
|
-
"sequence": number().readonly()
|
|
4251
|
+
"sequence": number().readonly(),
|
|
4252
|
+
"occurredAt": string().readonly()
|
|
4249
4253
|
}).readonly(),
|
|
4250
4254
|
"task": object({
|
|
4251
4255
|
"taskRef": intersection(string(), unknown()).readonly(),
|
|
@@ -4311,7 +4315,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4311
4315
|
"receipt": object({
|
|
4312
4316
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4313
4317
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4314
|
-
"sequence": number().readonly()
|
|
4318
|
+
"sequence": number().readonly(),
|
|
4319
|
+
"occurredAt": string().readonly()
|
|
4315
4320
|
}).readonly(),
|
|
4316
4321
|
"activity": object({
|
|
4317
4322
|
"kind": union([
|
|
@@ -4322,6 +4327,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4322
4327
|
]).readonly(),
|
|
4323
4328
|
"releasedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
|
|
4324
4329
|
"completedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
|
|
4330
|
+
"acceptedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
|
|
4325
4331
|
"activityRef": intersection(string(), unknown()).readonly(),
|
|
4326
4332
|
"taskRef": intersection(string(), unknown()).readonly(),
|
|
4327
4333
|
"threadRef": intersection(string(), unknown()).readonly(),
|
|
@@ -4389,7 +4395,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4389
4395
|
"receipt": object({
|
|
4390
4396
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4391
4397
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4392
|
-
"sequence": number().readonly()
|
|
4398
|
+
"sequence": number().readonly(),
|
|
4399
|
+
"occurredAt": string().readonly()
|
|
4393
4400
|
}).readonly(),
|
|
4394
4401
|
"status": object({
|
|
4395
4402
|
"member": object({
|
|
@@ -4447,7 +4454,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4447
4454
|
"receipt": object({
|
|
4448
4455
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4449
4456
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4450
|
-
"sequence": number().readonly()
|
|
4457
|
+
"sequence": number().readonly(),
|
|
4458
|
+
"occurredAt": string().readonly()
|
|
4451
4459
|
}).readonly(),
|
|
4452
4460
|
"channel": object({
|
|
4453
4461
|
"channelRef": intersection(string(), unknown()).readonly(),
|
|
@@ -4498,6 +4506,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4498
4506
|
"unreadCount": number().readonly(),
|
|
4499
4507
|
"directCount": number().readonly(),
|
|
4500
4508
|
"newestSequence": number().readonly(),
|
|
4509
|
+
"newestOccurredAt": string().readonly(),
|
|
4501
4510
|
"attention": object({
|
|
4502
4511
|
"memberId": intersection(string(), unknown()).readonly(),
|
|
4503
4512
|
"threadRef": intersection(string(), unknown()).readonly(),
|
|
@@ -4518,7 +4527,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4518
4527
|
"receipt": object({
|
|
4519
4528
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4520
4529
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4521
|
-
"sequence": number().readonly()
|
|
4530
|
+
"sequence": number().readonly(),
|
|
4531
|
+
"occurredAt": string().readonly()
|
|
4522
4532
|
}).readonly(),
|
|
4523
4533
|
"channelRef": intersection(string(), unknown()).readonly(),
|
|
4524
4534
|
"memberId": intersection(string(), unknown()).readonly()
|
|
@@ -4594,7 +4604,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4594
4604
|
"receipt": object({
|
|
4595
4605
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4596
4606
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4597
|
-
"sequence": number().readonly()
|
|
4607
|
+
"sequence": number().readonly(),
|
|
4608
|
+
"occurredAt": string().readonly()
|
|
4598
4609
|
}).readonly(),
|
|
4599
4610
|
"activity": object({
|
|
4600
4611
|
"kind": union([
|
|
@@ -4605,6 +4616,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4605
4616
|
]).readonly(),
|
|
4606
4617
|
"releasedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
|
|
4607
4618
|
"completedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
|
|
4619
|
+
"acceptedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
|
|
4608
4620
|
"activityRef": intersection(string(), unknown()).readonly(),
|
|
4609
4621
|
"taskRef": intersection(string(), unknown()).readonly(),
|
|
4610
4622
|
"threadRef": intersection(string(), unknown()).readonly(),
|
|
@@ -4659,7 +4671,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4659
4671
|
"receipt": object({
|
|
4660
4672
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4661
4673
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4662
|
-
"sequence": number().readonly()
|
|
4674
|
+
"sequence": number().readonly(),
|
|
4675
|
+
"occurredAt": string().readonly()
|
|
4663
4676
|
}).readonly(),
|
|
4664
4677
|
"task": object({
|
|
4665
4678
|
"taskRef": intersection(string(), unknown()).readonly(),
|
|
@@ -4735,7 +4748,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4735
4748
|
"sequence": number().readonly(),
|
|
4736
4749
|
"occurredAt": string().readonly()
|
|
4737
4750
|
}).readonly(),
|
|
4738
|
-
"mentions": array(intersection(string(), unknown())).readonly()
|
|
4751
|
+
"mentions": array(intersection(string(), unknown())).readonly(),
|
|
4752
|
+
"occurredAt": string().readonly()
|
|
4739
4753
|
}), object({
|
|
4740
4754
|
"kind": literal("activity").readonly(),
|
|
4741
4755
|
"sequence": number().readonly(),
|
|
@@ -4749,6 +4763,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4749
4763
|
]).readonly(),
|
|
4750
4764
|
"releasedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
|
|
4751
4765
|
"completedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
|
|
4766
|
+
"acceptedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
|
|
4752
4767
|
"activityRef": intersection(string(), unknown()).readonly(),
|
|
4753
4768
|
"taskRef": intersection(string(), unknown()).readonly(),
|
|
4754
4769
|
"threadRef": intersection(string(), unknown()).readonly(),
|
|
@@ -4777,7 +4792,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4777
4792
|
"actor": intersection(string(), unknown()).readonly(),
|
|
4778
4793
|
"sequence": number().readonly()
|
|
4779
4794
|
})
|
|
4780
|
-
]).readonly()
|
|
4795
|
+
]).readonly(),
|
|
4796
|
+
"occurredAt": string().readonly()
|
|
4781
4797
|
})]).readonly(),
|
|
4782
4798
|
"unread": boolean().readonly(),
|
|
4783
4799
|
"direct": boolean().readonly()
|
|
@@ -4795,7 +4811,20 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4795
4811
|
"threadRef": intersection(string(), unknown()).readonly(),
|
|
4796
4812
|
"messageRef": intersection(string(), unknown()).readonly(),
|
|
4797
4813
|
"sequence": number().readonly()
|
|
4798
|
-
})).readonly()
|
|
4814
|
+
})).readonly(),
|
|
4815
|
+
"contextAdvice": object({
|
|
4816
|
+
"usageTokens": union([_undefined(), number()]).readonly().optional(),
|
|
4817
|
+
"taskBoundaryThreshold": union([_undefined(), number()]).readonly().optional(),
|
|
4818
|
+
"handoffAt": union([_undefined(), number()]).readonly().optional(),
|
|
4819
|
+
"hardLimit": union([_undefined(), number()]).readonly().optional(),
|
|
4820
|
+
"action": union([
|
|
4821
|
+
literal("unavailable"),
|
|
4822
|
+
literal("keep"),
|
|
4823
|
+
literal("rollover"),
|
|
4824
|
+
literal("handoff-now")
|
|
4825
|
+
]).readonly(),
|
|
4826
|
+
"guidance": string().readonly()
|
|
4827
|
+
}).readonly().optional()
|
|
4799
4828
|
});
|
|
4800
4829
|
const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema = object({
|
|
4801
4830
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
@@ -4856,7 +4885,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4856
4885
|
"receipt": object({
|
|
4857
4886
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4858
4887
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4859
|
-
"sequence": number().readonly()
|
|
4888
|
+
"sequence": number().readonly(),
|
|
4889
|
+
"occurredAt": string().readonly()
|
|
4860
4890
|
}).readonly(),
|
|
4861
4891
|
"channelRef": intersection(string(), unknown()).readonly(),
|
|
4862
4892
|
"memberId": intersection(string(), unknown()).readonly(),
|
|
@@ -4930,7 +4960,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
4930
4960
|
"receipt": object({
|
|
4931
4961
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
4932
4962
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
4933
|
-
"sequence": number().readonly()
|
|
4963
|
+
"sequence": number().readonly(),
|
|
4964
|
+
"occurredAt": string().readonly()
|
|
4934
4965
|
}).readonly(),
|
|
4935
4966
|
"message": object({
|
|
4936
4967
|
"messageRef": intersection(string(), unknown()).readonly(),
|
|
@@ -5012,7 +5043,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5012
5043
|
"receipt": object({
|
|
5013
5044
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
5014
5045
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
5015
|
-
"sequence": number().readonly()
|
|
5046
|
+
"sequence": number().readonly(),
|
|
5047
|
+
"occurredAt": string().readonly()
|
|
5016
5048
|
}).readonly(),
|
|
5017
5049
|
"message": object({
|
|
5018
5050
|
"messageRef": intersection(string(), unknown()).readonly(),
|
|
@@ -5167,7 +5199,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5167
5199
|
"sequence": number().readonly(),
|
|
5168
5200
|
"occurredAt": string().readonly()
|
|
5169
5201
|
}).readonly(),
|
|
5170
|
-
"mentions": array(intersection(string(), unknown())).readonly()
|
|
5202
|
+
"mentions": array(intersection(string(), unknown())).readonly(),
|
|
5203
|
+
"occurredAt": string().readonly()
|
|
5171
5204
|
}), object({
|
|
5172
5205
|
"kind": literal("activity").readonly(),
|
|
5173
5206
|
"sequence": number().readonly(),
|
|
@@ -5181,6 +5214,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5181
5214
|
]).readonly(),
|
|
5182
5215
|
"releasedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
|
|
5183
5216
|
"completedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
|
|
5217
|
+
"acceptedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
|
|
5184
5218
|
"activityRef": intersection(string(), unknown()).readonly(),
|
|
5185
5219
|
"taskRef": intersection(string(), unknown()).readonly(),
|
|
5186
5220
|
"threadRef": intersection(string(), unknown()).readonly(),
|
|
@@ -5209,7 +5243,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5209
5243
|
"actor": intersection(string(), unknown()).readonly(),
|
|
5210
5244
|
"sequence": number().readonly()
|
|
5211
5245
|
})
|
|
5212
|
-
]).readonly()
|
|
5246
|
+
]).readonly(),
|
|
5247
|
+
"occurredAt": string().readonly()
|
|
5213
5248
|
})])).readonly(),
|
|
5214
5249
|
"cursor": number().readonly(),
|
|
5215
5250
|
"hasMore": boolean().readonly()
|
|
@@ -5241,7 +5276,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5241
5276
|
"receipt": object({
|
|
5242
5277
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
5243
5278
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
5244
|
-
"sequence": number().readonly()
|
|
5279
|
+
"sequence": number().readonly(),
|
|
5280
|
+
"occurredAt": string().readonly()
|
|
5245
5281
|
}).readonly(),
|
|
5246
5282
|
"channel": object({
|
|
5247
5283
|
"channelRef": intersection(string(), unknown()).readonly(),
|
|
@@ -5271,7 +5307,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5271
5307
|
"receipt": object({
|
|
5272
5308
|
"operationId": intersection(string(), unknown()).readonly(),
|
|
5273
5309
|
"requestId": intersection(string(), unknown()).readonly(),
|
|
5274
|
-
"sequence": number().readonly()
|
|
5310
|
+
"sequence": number().readonly(),
|
|
5311
|
+
"occurredAt": string().readonly()
|
|
5275
5312
|
}).readonly(),
|
|
5276
5313
|
"status": object({
|
|
5277
5314
|
"member": object({
|
|
@@ -5410,7 +5447,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5410
5447
|
"revision": number().readonly()
|
|
5411
5448
|
}).readonly(),
|
|
5412
5449
|
"taskNumber": number().readonly().optional(),
|
|
5413
|
-
"messageCount": number().readonly()
|
|
5450
|
+
"messageCount": number().readonly(),
|
|
5451
|
+
"lastActivityAt": string().readonly()
|
|
5414
5452
|
})).readonly(),
|
|
5415
5453
|
"claims": array(object({
|
|
5416
5454
|
"claimRef": intersection(string(), unknown()).readonly(),
|
|
@@ -5435,6 +5473,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5435
5473
|
]).readonly(),
|
|
5436
5474
|
"releasedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
|
|
5437
5475
|
"completedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
|
|
5476
|
+
"acceptedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
|
|
5438
5477
|
"activityRef": intersection(string(), unknown()).readonly(),
|
|
5439
5478
|
"taskRef": intersection(string(), unknown()).readonly(),
|
|
5440
5479
|
"threadRef": intersection(string(), unknown()).readonly(),
|
|
@@ -5493,7 +5532,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5493
5532
|
},
|
|
5494
5533
|
sourceLocation: {
|
|
5495
5534
|
"file": "packages/agent-team/src/index.ts",
|
|
5496
|
-
"line":
|
|
5535
|
+
"line": 653,
|
|
5497
5536
|
"column": 9
|
|
5498
5537
|
}
|
|
5499
5538
|
},
|
|
@@ -5520,7 +5559,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5520
5559
|
},
|
|
5521
5560
|
sourceLocation: {
|
|
5522
5561
|
"file": "packages/agent-team/src/index.ts",
|
|
5523
|
-
"line":
|
|
5562
|
+
"line": 643,
|
|
5524
5563
|
"column": 9
|
|
5525
5564
|
}
|
|
5526
5565
|
},
|
|
@@ -5547,7 +5586,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5547
5586
|
},
|
|
5548
5587
|
sourceLocation: {
|
|
5549
5588
|
"file": "packages/agent-team/src/index.ts",
|
|
5550
|
-
"line":
|
|
5589
|
+
"line": 1024,
|
|
5551
5590
|
"column": 9
|
|
5552
5591
|
}
|
|
5553
5592
|
},
|
|
@@ -5574,7 +5613,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5574
5613
|
},
|
|
5575
5614
|
sourceLocation: {
|
|
5576
5615
|
"file": "packages/agent-team/src/index.ts",
|
|
5577
|
-
"line":
|
|
5616
|
+
"line": 1146,
|
|
5578
5617
|
"column": 9
|
|
5579
5618
|
}
|
|
5580
5619
|
},
|
|
@@ -5602,7 +5641,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5602
5641
|
},
|
|
5603
5642
|
sourceLocation: {
|
|
5604
5643
|
"file": "packages/agent-team/src/index.ts",
|
|
5605
|
-
"line":
|
|
5644
|
+
"line": 575,
|
|
5606
5645
|
"column": 9
|
|
5607
5646
|
}
|
|
5608
5647
|
},
|
|
@@ -5629,7 +5668,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5629
5668
|
},
|
|
5630
5669
|
sourceLocation: {
|
|
5631
5670
|
"file": "packages/agent-team/src/index.ts",
|
|
5632
|
-
"line":
|
|
5671
|
+
"line": 1036,
|
|
5633
5672
|
"column": 9
|
|
5634
5673
|
}
|
|
5635
5674
|
},
|
|
@@ -5656,7 +5695,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5656
5695
|
},
|
|
5657
5696
|
sourceLocation: {
|
|
5658
5697
|
"file": "packages/agent-team/src/index.ts",
|
|
5659
|
-
"line":
|
|
5698
|
+
"line": 752,
|
|
5660
5699
|
"column": 9
|
|
5661
5700
|
}
|
|
5662
5701
|
},
|
|
@@ -5683,7 +5722,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5683
5722
|
},
|
|
5684
5723
|
sourceLocation: {
|
|
5685
5724
|
"file": "packages/agent-team/src/index.ts",
|
|
5686
|
-
"line":
|
|
5725
|
+
"line": 616,
|
|
5687
5726
|
"column": 9
|
|
5688
5727
|
}
|
|
5689
5728
|
},
|
|
@@ -5710,7 +5749,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5710
5749
|
},
|
|
5711
5750
|
sourceLocation: {
|
|
5712
5751
|
"file": "packages/agent-team/src/index.ts",
|
|
5713
|
-
"line":
|
|
5752
|
+
"line": 1132,
|
|
5714
5753
|
"column": 9
|
|
5715
5754
|
}
|
|
5716
5755
|
},
|
|
@@ -5737,7 +5776,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5737
5776
|
},
|
|
5738
5777
|
sourceLocation: {
|
|
5739
5778
|
"file": "packages/agent-team/src/index.ts",
|
|
5740
|
-
"line":
|
|
5779
|
+
"line": 1155,
|
|
5741
5780
|
"column": 3
|
|
5742
5781
|
}
|
|
5743
5782
|
},
|
|
@@ -5764,7 +5803,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5764
5803
|
},
|
|
5765
5804
|
sourceLocation: {
|
|
5766
5805
|
"file": "packages/agent-team/src/index.ts",
|
|
5767
|
-
"line":
|
|
5806
|
+
"line": 1056,
|
|
5768
5807
|
"column": 9
|
|
5769
5808
|
}
|
|
5770
5809
|
},
|
|
@@ -5792,7 +5831,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5792
5831
|
},
|
|
5793
5832
|
sourceLocation: {
|
|
5794
5833
|
"file": "packages/agent-team/src/index.ts",
|
|
5795
|
-
"line":
|
|
5834
|
+
"line": 566,
|
|
5796
5835
|
"column": 3
|
|
5797
5836
|
}
|
|
5798
5837
|
},
|
|
@@ -5819,7 +5858,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5819
5858
|
},
|
|
5820
5859
|
sourceLocation: {
|
|
5821
5860
|
"file": "packages/agent-team/src/index.ts",
|
|
5822
|
-
"line":
|
|
5861
|
+
"line": 1046,
|
|
5823
5862
|
"column": 9
|
|
5824
5863
|
}
|
|
5825
5864
|
},
|
|
@@ -5846,7 +5885,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5846
5885
|
},
|
|
5847
5886
|
sourceLocation: {
|
|
5848
5887
|
"file": "packages/agent-team/src/index.ts",
|
|
5849
|
-
"line":
|
|
5888
|
+
"line": 1119,
|
|
5850
5889
|
"column": 9
|
|
5851
5890
|
}
|
|
5852
5891
|
},
|
|
@@ -5873,7 +5912,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5873
5912
|
},
|
|
5874
5913
|
sourceLocation: {
|
|
5875
5914
|
"file": "packages/agent-team/src/index.ts",
|
|
5876
|
-
"line":
|
|
5915
|
+
"line": 1162,
|
|
5877
5916
|
"column": 9
|
|
5878
5917
|
}
|
|
5879
5918
|
},
|
|
@@ -5900,7 +5939,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5900
5939
|
},
|
|
5901
5940
|
sourceLocation: {
|
|
5902
5941
|
"file": "packages/agent-team/src/index.ts",
|
|
5903
|
-
"line":
|
|
5942
|
+
"line": 713,
|
|
5904
5943
|
"column": 9
|
|
5905
5944
|
}
|
|
5906
5945
|
},
|
|
@@ -5927,7 +5966,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5927
5966
|
},
|
|
5928
5967
|
sourceLocation: {
|
|
5929
5968
|
"file": "packages/agent-team/src/index.ts",
|
|
5930
|
-
"line":
|
|
5969
|
+
"line": 1067,
|
|
5931
5970
|
"column": 9
|
|
5932
5971
|
}
|
|
5933
5972
|
},
|
|
@@ -5954,7 +5993,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5954
5993
|
},
|
|
5955
5994
|
sourceLocation: {
|
|
5956
5995
|
"file": "packages/agent-team/src/index.ts",
|
|
5957
|
-
"line":
|
|
5996
|
+
"line": 1140,
|
|
5958
5997
|
"column": 9
|
|
5959
5998
|
}
|
|
5960
5999
|
},
|
|
@@ -5981,7 +6020,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5981
6020
|
},
|
|
5982
6021
|
sourceLocation: {
|
|
5983
6022
|
"file": "packages/agent-team/src/index.ts",
|
|
5984
|
-
"line":
|
|
6023
|
+
"line": 553,
|
|
5985
6024
|
"column": 3
|
|
5986
6025
|
}
|
|
5987
6026
|
},
|
|
@@ -6008,7 +6047,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6008
6047
|
},
|
|
6009
6048
|
sourceLocation: {
|
|
6010
6049
|
"file": "packages/agent-team/src/index.ts",
|
|
6011
|
-
"line":
|
|
6050
|
+
"line": 1076,
|
|
6012
6051
|
"column": 9
|
|
6013
6052
|
}
|
|
6014
6053
|
},
|
|
@@ -6035,7 +6074,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6035
6074
|
},
|
|
6036
6075
|
sourceLocation: {
|
|
6037
6076
|
"file": "packages/agent-team/src/index.ts",
|
|
6038
|
-
"line":
|
|
6077
|
+
"line": 1178,
|
|
6039
6078
|
"column": 3
|
|
6040
6079
|
}
|
|
6041
6080
|
},
|
|
@@ -6062,7 +6101,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6062
6101
|
},
|
|
6063
6102
|
sourceLocation: {
|
|
6064
6103
|
"file": "packages/agent-team/src/index.ts",
|
|
6065
|
-
"line":
|
|
6104
|
+
"line": 1171,
|
|
6066
6105
|
"column": 3
|
|
6067
6106
|
}
|
|
6068
6107
|
},
|
|
@@ -6089,7 +6128,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6089
6128
|
},
|
|
6090
6129
|
sourceLocation: {
|
|
6091
6130
|
"file": "packages/agent-team/src/index.ts",
|
|
6092
|
-
"line":
|
|
6131
|
+
"line": 628,
|
|
6093
6132
|
"column": 9
|
|
6094
6133
|
}
|
|
6095
6134
|
},
|
|
@@ -6116,7 +6155,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6116
6155
|
},
|
|
6117
6156
|
sourceLocation: {
|
|
6118
6157
|
"file": "packages/agent-team/src/index.ts",
|
|
6119
|
-
"line":
|
|
6158
|
+
"line": 964,
|
|
6120
6159
|
"column": 9
|
|
6121
6160
|
}
|
|
6122
6161
|
},
|
|
@@ -6143,7 +6182,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6143
6182
|
},
|
|
6144
6183
|
sourceLocation: {
|
|
6145
6184
|
"file": "packages/agent-team/src/index.ts",
|
|
6146
|
-
"line":
|
|
6185
|
+
"line": 1185,
|
|
6147
6186
|
"column": 3
|
|
6148
6187
|
}
|
|
6149
6188
|
}
|
|
@@ -6515,8 +6554,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6515
6554
|
}
|
|
6516
6555
|
};
|
|
6517
6556
|
//#endregion
|
|
6518
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
6519
|
-
const css$9 = ".
|
|
6557
|
+
//#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/team.module.css.mjs
|
|
6558
|
+
const css$9 = ".YvAbSa_footerStack{flex:none;width:100%;height:42px;margin:8px 0 0;display:flex}.YvAbSa_footerAction,.YvAbSa_settingsAction{box-sizing:border-box;color:var(--dsw-alias-label-primary);cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:8px;width:calc(100% + 4px);height:42px;padding:0 10px 0 8px;font-family:inherit;font-size:14px;line-height:22px;display:flex;overflow:hidden}.YvAbSa_footerAction{margin:0 -2px}.YvAbSa_settingsAction{margin:4px -2px}.YvAbSa_footerAction:hover,.YvAbSa_footerAction:focus-visible,.YvAbSa_settingsAction:hover,.YvAbSa_settingsAction:focus-visible{background:var(--dsw-alias-interactive-bg-hover);outline:none}.YvAbSa_footerAction.YvAbSa_rail,.YvAbSa_settingsAction.YvAbSa_rail{border-radius:50%;justify-content:center;width:36px;height:36px;padding:0}.YvAbSa_footerAction.YvAbSa_rail{margin:0}.YvAbSa_settingsAction.YvAbSa_rail{margin:8px 0 10px}.YvAbSa_railStack{align-items:center;width:36px;height:36px;margin:0}";
|
|
6520
6559
|
const tagId$9 = "@wowyuarm/dsh-agent-team/team.module.css";
|
|
6521
6560
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$9) + "]") === null) {
|
|
6522
6561
|
const tag = document.createElement("style");
|
|
@@ -6526,11 +6565,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6526
6565
|
document.head.appendChild(tag);
|
|
6527
6566
|
}
|
|
6528
6567
|
var team_module_css_default = {
|
|
6529
|
-
"footerAction": "
|
|
6530
|
-
"footerStack": "
|
|
6531
|
-
"rail": "
|
|
6532
|
-
"railStack": "
|
|
6533
|
-
"settingsAction": "
|
|
6568
|
+
"footerAction": "YvAbSa_footerAction",
|
|
6569
|
+
"footerStack": "YvAbSa_footerStack",
|
|
6570
|
+
"rail": "YvAbSa_rail",
|
|
6571
|
+
"railStack": "YvAbSa_railStack",
|
|
6572
|
+
"settingsAction": "YvAbSa_settingsAction"
|
|
6534
6573
|
};
|
|
6535
6574
|
//#endregion
|
|
6536
6575
|
//#region src/client/TeamFooterAction.tsx
|
|
@@ -6565,8 +6604,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6565
6604
|
}) });
|
|
6566
6605
|
}
|
|
6567
6606
|
//#endregion
|
|
6568
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
6569
|
-
const css$8 = ".
|
|
6607
|
+
//#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/state-dot.module.css.mjs
|
|
6608
|
+
const css$8 = ".DalNWW_quiet{border-radius:50%;flex:none;display:inline-block;position:relative}.DalNWW_quiet[data-variant=todo]{border:1px solid var(--dsw-alias-label-tertiary)}.DalNWW_quiet[data-variant=quiet]{color:var(--dsw-alias-label-tertiary)}.DalNWW_quiet[data-variant=quiet]:before{content:\"\";opacity:.1;background:currentColor;border-radius:50%;position:absolute;inset:0}.DalNWW_quiet[data-variant=quiet]:after{content:\"\";background:currentColor;border-radius:50%;position:absolute;inset:20%}";
|
|
6570
6609
|
const tagId$8 = "@wowyuarm/dsh-agent-team/state-dot.module.css";
|
|
6571
6610
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$8) + "]") === null) {
|
|
6572
6611
|
const tag = document.createElement("style");
|
|
@@ -6575,7 +6614,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6575
6614
|
tag.textContent = css$8;
|
|
6576
6615
|
document.head.appendChild(tag);
|
|
6577
6616
|
}
|
|
6578
|
-
var state_dot_module_css_default = { "quiet": "
|
|
6617
|
+
var state_dot_module_css_default = { "quiet": "DalNWW_quiet" };
|
|
6579
6618
|
//#endregion
|
|
6580
6619
|
//#region src/client/TeamStateDot.tsx
|
|
6581
6620
|
/**
|
|
@@ -6600,8 +6639,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6600
6639
|
});
|
|
6601
6640
|
}
|
|
6602
6641
|
//#endregion
|
|
6603
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
6604
|
-
const css$7 = "
|
|
6642
|
+
//#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/presence.module.css.mjs
|
|
6643
|
+
const css$7 = ".-\\36 lQ-q_target{flex:0 0 14px;justify-content:center;align-items:center;display:inline-flex}";
|
|
6605
6644
|
const tagId$7 = "@wowyuarm/dsh-agent-team/presence.module.css";
|
|
6606
6645
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$7) + "]") === null) {
|
|
6607
6646
|
const tag = document.createElement("style");
|
|
@@ -6610,7 +6649,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6610
6649
|
tag.textContent = css$7;
|
|
6611
6650
|
document.head.appendChild(tag);
|
|
6612
6651
|
}
|
|
6613
|
-
var presence_module_css_default = { "target": "
|
|
6652
|
+
var presence_module_css_default = { "target": "-6lQ-q_target" };
|
|
6614
6653
|
//#endregion
|
|
6615
6654
|
//#region src/client/TeamPresenceDot.tsx
|
|
6616
6655
|
function presenceLabel(status, t) {
|
|
@@ -6635,8 +6674,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6635
6674
|
});
|
|
6636
6675
|
}
|
|
6637
6676
|
//#endregion
|
|
6638
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
6639
|
-
const css$6 = ".
|
|
6677
|
+
//#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/members.module.css.mjs
|
|
6678
|
+
const css$6 = ".UkovOW_body{max-height:min(65vh,560px);overflow-y:auto}.UkovOW_content{outline:none;gap:12px;display:grid}.UkovOW_group{gap:3px;display:grid}.UkovOW_group+.UkovOW_group{border-top:1px solid var(--dsw-alias-border-l2);padding-top:10px}.UkovOW_group h3{color:var(--dsw-alias-label-secondary);margin:0 0 3px;font-size:12px;font-weight:600;line-height:18px}.UkovOW_member{border-radius:6px;grid-template-columns:14px minmax(0,1fr);align-items:center;gap:0 8px;min-height:36px;padding:4px 6px;display:grid}.UkovOW_member:hover{background:var(--dsw-alias-interactive-bg-hover)}.UkovOW_copy{min-width:0;display:grid}.UkovOW_copy strong{color:var(--dsw-alias-label-primary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500;line-height:18px;overflow:hidden}.UkovOW_copy small{color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:14px;overflow:hidden}.UkovOW_state,.UkovOW_error{margin:0;padding:6px 0;font-size:12px;line-height:18px}.UkovOW_state{color:var(--dsw-alias-label-tertiary)}.UkovOW_error{color:var(--dsw-alias-state-error-primary)}@media (width<=600px){.UkovOW_body{max-height:calc(100vh - 160px)}}";
|
|
6640
6679
|
const tagId$6 = "@wowyuarm/dsh-agent-team/members.module.css";
|
|
6641
6680
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$6) + "]") === null) {
|
|
6642
6681
|
const tag = document.createElement("style");
|
|
@@ -6646,13 +6685,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6646
6685
|
document.head.appendChild(tag);
|
|
6647
6686
|
}
|
|
6648
6687
|
var members_module_css_default = {
|
|
6649
|
-
"body": "
|
|
6650
|
-
"content": "
|
|
6651
|
-
"copy": "
|
|
6652
|
-
"error": "
|
|
6653
|
-
"group": "
|
|
6654
|
-
"member": "
|
|
6655
|
-
"state": "
|
|
6688
|
+
"body": "UkovOW_body",
|
|
6689
|
+
"content": "UkovOW_content",
|
|
6690
|
+
"copy": "UkovOW_copy",
|
|
6691
|
+
"error": "UkovOW_error",
|
|
6692
|
+
"group": "UkovOW_group",
|
|
6693
|
+
"member": "UkovOW_member",
|
|
6694
|
+
"state": "UkovOW_state"
|
|
6656
6695
|
};
|
|
6657
6696
|
//#endregion
|
|
6658
6697
|
//#region src/client/TeamMembersAction.tsx
|
|
@@ -6790,8 +6829,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6790
6829
|
/** Fresh idempotency identity for one Client-initiated durable request. */
|
|
6791
6830
|
const mintRequestId = () => crypto.randomUUID();
|
|
6792
6831
|
//#endregion
|
|
6793
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
6794
|
-
const css$5 = ".
|
|
6832
|
+
//#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/composer.module.css.mjs
|
|
6833
|
+
const css$5 = ".x9jGQq_root{padding:0 var(--dsh-composer-side-clearance,16px) 8px;flex-direction:column;align-items:center;display:flex}.x9jGQq_card{box-sizing:border-box;width:100%;max-width:var(--dsh-composer-card-max-width,780px);border:1px solid var(--dsw-alias-border-l2-darkmode-thin);background:var(--dsw-specific-input-major,var(--dsw-alias-bg-layer-1));box-shadow:var(--dsw-shadow-lv2);border-radius:22px;flex-direction:column;gap:6px;padding:10px 0 0;display:flex;position:relative}.x9jGQq_inputArea{min-height:28px;position:relative}.x9jGQq_inputArea textarea{box-sizing:border-box;resize:none;width:100%;min-height:28px;max-height:336px;color:var(--dsw-alias-label-primary,var(--dsw-alias-label-primary));font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;background:0 0;border:0;outline:0;padding:4px 12px 0 16px;font-size:15px;line-height:24px;display:block;overflow-y:auto}.x9jGQq_inputArea textarea::placeholder{color:var(--dsw-alias-label-caption,var(--dsw-alias-label-tertiary))}.x9jGQq_inputArea textarea:disabled{cursor:not-allowed;opacity:.55}.x9jGQq_mentionMenu{z-index:10;border:1px solid var(--dsw-alias-border-inverted);background:var(--dsw-specific-menu);max-height:min(320px,40vh);box-shadow:var(--dsw-shadow-lv3);border-radius:12px;padding:4px;position:absolute;bottom:calc(100% + 12px);left:0;right:0;overflow-y:auto}.x9jGQq_mentionOption{width:100%;min-height:40px;color:var(--dsw-alias-label-primary,var(--dsw-alias-label-primary));cursor:pointer;text-align:left;background:0 0;border:0;border-radius:10px;grid-template-columns:16px minmax(0,auto) minmax(0,1fr);align-items:center;gap:8px;padding:8px 10px;font-size:14px;line-height:22px;display:grid}.x9jGQq_mentionOption:hover,.x9jGQq_mentionOption[aria-selected=true]{background:var(--dsw-alias-interactive-bg-hover)}.x9jGQq_mentionName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.x9jGQq_mentionAllDot{background:var(--dsw-alias-label-primary);border-radius:50%;justify-self:center;width:8px;height:8px}.x9jGQq_mentionDescription{min-width:0;color:var(--dsw-alias-label-tertiary,var(--dsw-alias-label-tertiary));text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.x9jGQq_toolbar{justify-content:flex-end;align-items:center;gap:6px;min-height:34px;padding:2px 8px 6px;display:flex}.x9jGQq_asTaskOn[aria-pressed=true],.x9jGQq_asTaskOn[aria-pressed=true]:hover:not(:disabled){background:var(--dsw-alias-button-primary-fill);border-color:var(--dsw-alias-button-primary-fill);color:var(--dsw-alias-label-primary-foreground)}.x9jGQq_attachButton{background:var(--dsw-specific-selector);color:var(--dsw-alias-label-primary);cursor:pointer;border:0;border-radius:999px;flex:none;place-items:center;width:28px;height:28px;margin-right:auto;display:grid}.x9jGQq_attachButton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover-solid)}.x9jGQq_attachButton:disabled{cursor:default;opacity:.5}.x9jGQq_attachButton:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,var(--dsw-specific-selector));outline-offset:1px}.x9jGQq_fileInput{display:none}.x9jGQq_fileChips{flex-wrap:wrap;gap:4px;margin:0;padding:4px 8px 0;list-style:none;display:flex}.x9jGQq_fileChip{background:var(--dsw-alias-interactive-bg-hover);border-radius:6px;align-items:center;gap:4px;max-width:100%;padding:2px 4px 2px 8px;display:inline-flex}.x9jGQq_fileChipSize{color:var(--dsw-alias-label-tertiary);margin-left:6px}.x9jGQq_imageChip{align-items:center;display:flex}.x9jGQq_imageChipPreview{border:1px solid var(--dsw-alias-border-l2);object-fit:cover;border-radius:4px;width:56px;height:40px}.x9jGQq_fileChipName{text-overflow:ellipsis;white-space:nowrap;max-width:220px;font-size:11px;line-height:16px;overflow:hidden}.x9jGQq_fileChipRemove{color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;width:16px;height:16px;padding:0;font-size:12px;display:inline-flex}.x9jGQq_fileChipRemove:hover,.x9jGQq_fileChipRemove:focus-visible{color:var(--dsw-alias-label-primary);outline:none}.x9jGQq_sendButton{background:var(--dsw-alias-button-info-fill,var(--dsw-alias-button-primary-fill));color:#fff;cursor:pointer;border:0;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;padding:0;transition:background-color .1s,opacity .1s;display:inline-flex}.x9jGQq_sendButton:hover:not(:disabled){background:var(--dsw-alias-button-info-hover,var(--dsw-alias-button-primary-hover))}.x9jGQq_sendButton:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:2px}.x9jGQq_sendButton:disabled{cursor:not-allowed;opacity:.4}.x9jGQq_confirmation{color:var(--dsw-alias-label-tertiary);align-self:stretch;margin:0;padding:0 16px;font-size:12px;line-height:18px}.x9jGQq_notifyRow{color:var(--dsw-alias-label-tertiary,var(--dsw-alias-label-tertiary));overflow-wrap:anywhere;margin:0;padding:0 16px;font-size:12px;line-height:18px}.x9jGQq_error{color:var(--dsw-alias-state-error-primary);align-self:stretch;margin:0;padding:0 4px 2px;font-size:12px;line-height:18px}@media (width<=600px){.x9jGQq_mentionOption{grid-template-columns:16px minmax(0,1fr);min-height:36px;padding-block:6px}.x9jGQq_mentionDescription{display:none}}@media (prefers-reduced-motion:reduce){.x9jGQq_sendButton{transition:none}}";
|
|
6795
6834
|
const tagId$5 = "@wowyuarm/dsh-agent-team/composer.module.css";
|
|
6796
6835
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$5) + "]") === null) {
|
|
6797
6836
|
const tag = document.createElement("style");
|
|
@@ -6801,29 +6840,29 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6801
6840
|
document.head.appendChild(tag);
|
|
6802
6841
|
}
|
|
6803
6842
|
var composer_module_css_default = {
|
|
6804
|
-
"asTaskOn": "
|
|
6805
|
-
"attachButton": "
|
|
6806
|
-
"card": "
|
|
6807
|
-
"confirmation": "
|
|
6808
|
-
"error": "
|
|
6809
|
-
"fileChip": "
|
|
6810
|
-
"fileChipName": "
|
|
6811
|
-
"fileChipRemove": "
|
|
6812
|
-
"fileChipSize": "
|
|
6813
|
-
"fileChips": "
|
|
6814
|
-
"fileInput": "
|
|
6815
|
-
"imageChip": "
|
|
6816
|
-
"imageChipPreview": "
|
|
6817
|
-
"inputArea": "
|
|
6818
|
-
"mentionAllDot": "
|
|
6819
|
-
"mentionDescription": "
|
|
6820
|
-
"mentionMenu": "
|
|
6821
|
-
"mentionName": "
|
|
6822
|
-
"mentionOption": "
|
|
6823
|
-
"notifyRow": "
|
|
6824
|
-
"root": "
|
|
6825
|
-
"sendButton": "
|
|
6826
|
-
"toolbar": "
|
|
6843
|
+
"asTaskOn": "x9jGQq_asTaskOn",
|
|
6844
|
+
"attachButton": "x9jGQq_attachButton",
|
|
6845
|
+
"card": "x9jGQq_card",
|
|
6846
|
+
"confirmation": "x9jGQq_confirmation",
|
|
6847
|
+
"error": "x9jGQq_error",
|
|
6848
|
+
"fileChip": "x9jGQq_fileChip",
|
|
6849
|
+
"fileChipName": "x9jGQq_fileChipName",
|
|
6850
|
+
"fileChipRemove": "x9jGQq_fileChipRemove",
|
|
6851
|
+
"fileChipSize": "x9jGQq_fileChipSize",
|
|
6852
|
+
"fileChips": "x9jGQq_fileChips",
|
|
6853
|
+
"fileInput": "x9jGQq_fileInput",
|
|
6854
|
+
"imageChip": "x9jGQq_imageChip",
|
|
6855
|
+
"imageChipPreview": "x9jGQq_imageChipPreview",
|
|
6856
|
+
"inputArea": "x9jGQq_inputArea",
|
|
6857
|
+
"mentionAllDot": "x9jGQq_mentionAllDot",
|
|
6858
|
+
"mentionDescription": "x9jGQq_mentionDescription",
|
|
6859
|
+
"mentionMenu": "x9jGQq_mentionMenu",
|
|
6860
|
+
"mentionName": "x9jGQq_mentionName",
|
|
6861
|
+
"mentionOption": "x9jGQq_mentionOption",
|
|
6862
|
+
"notifyRow": "x9jGQq_notifyRow",
|
|
6863
|
+
"root": "x9jGQq_root",
|
|
6864
|
+
"sendButton": "x9jGQq_sendButton",
|
|
6865
|
+
"toolbar": "x9jGQq_toolbar"
|
|
6827
6866
|
};
|
|
6828
6867
|
//#endregion
|
|
6829
6868
|
//#region src/client/TeamComposer.tsx
|
|
@@ -7552,8 +7591,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7552
7591
|
};
|
|
7553
7592
|
}
|
|
7554
7593
|
//#endregion
|
|
7555
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
7556
|
-
const css$4 = ".
|
|
7594
|
+
//#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/conversation.module.css.mjs
|
|
7595
|
+
const css$4 = ".omcBaG_surface{grid-template-rows:auto minmax(0,1fr) auto;min-width:0;height:100%;min-height:0;display:grid;overflow:hidden}.omcBaG_surfaceHeader{border-bottom:1px solid var(--dsw-alias-border-l2);min-width:0;padding:14px clamp(18px,3vw,36px) 12px}.omcBaG_headerRow{justify-content:space-between;align-items:flex-start;gap:16px;min-width:0;max-width:880px;margin:0 auto;display:flex}.omcBaG_headerCopy{min-width:0}.omcBaG_headerCopy h1{color:var(--dsw-alias-label-primary);overflow-wrap:anywhere;margin:0;font-size:20px;font-weight:600;line-height:28px}.omcBaG_headerCopy p{color:var(--dsw-alias-label-secondary);margin:3px 0 0;font-size:13px;line-height:20px}.omcBaG_headerActions{flex:none;align-items:center;gap:6px;display:flex}.omcBaG_backRow{max-width:880px;margin:0 auto 8px}.omcBaG_timeline{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;padding:12px clamp(18px,3vw,36px) 24px;overflow:hidden auto}.omcBaG_timelineContent{flex-direction:column;min-width:0;max-width:880px;min-height:100%;margin:0 auto;display:flex}.omcBaG_emptySurface{margin:auto;padding:32px 0}.omcBaG_emptySurface .omcBaG_emptyState{text-align:center;justify-items:center}.omcBaG_timelineAction{justify-content:center;padding:2px 0 8px;display:flex}.omcBaG_messageRow{gap:10px;padding:10px 0;display:flex}.omcBaG_messageRow[data-grouped]{padding-top:2px}.omcBaG_messageRow[data-grouped] .omcBaG_messageBody>:first-child,.omcBaG_messageRow[data-grouped] .omcBaG_messageBody>:first-child>:first-child{margin-top:0}.omcBaG_messageIdentity{background:hsl(var(--team-avatar-hue,212) 42% 46%);color:#fff;border-radius:50%;flex:0 0 28px;justify-content:center;align-items:center;height:28px;font-size:12px;font-weight:600;display:flex}.omcBaG_messageRow[data-human] .omcBaG_messageIdentity{background:var(--dsw-alias-state-business-primary)}.omcBaG_messageRow[data-grouped] .omcBaG_messageIdentity{visibility:hidden}.omcBaG_messageBody{min-width:0}.omcBaG_nameRow{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.omcBaG_nameRow strong{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:600;line-height:20px}.omcBaG_messageTime{color:var(--dsw-alias-label-tertiary);font-size:11px;line-height:20px}.omcBaG_messageText{white-space:pre-wrap;word-break:break-word;margin:6px 0;font-size:14px;line-height:22px}.omcBaG_messageClamp{max-height:176px;overflow:hidden;-webkit-mask-image:linear-gradient(#000 72%,#0000 100%);mask-image:linear-gradient(#000 72%,#0000 100%)}.omcBaG_messageExpand{color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;width:fit-content;margin-top:4px;padding:0;font-size:12px;line-height:20px;display:block}.omcBaG_messageExpand:hover,.omcBaG_messageExpand:focus-visible{color:var(--dsw-alias-label-primary);text-underline-offset:2px;outline:none;text-decoration:underline}.omcBaG_messageBody .omcBaG_messageMarkdown{font-size:14px;line-height:22px}.omcBaG_messageBody .omcBaG_messageMarkdown>div:first-child{color:var(--dsw-alias-label-primary);font:inherit}.omcBaG_messageBody .omcBaG_messageMarkdown p{margin:6px 0}.omcBaG_messageBody .omcBaG_messageMarkdown :where(ul,ol){margin:6px 0;padding-left:22px}.omcBaG_messageBody .omcBaG_messageMarkdown li+li{margin-top:2px}.omcBaG_messageBody .omcBaG_messageMarkdown strong{font-weight:600}.omcBaG_messageBody .omcBaG_messageMarkdown :where(h1,h2,h3,h4,h5,h6){margin:12px 0 4px}.omcBaG_messageBody .omcBaG_messageMarkdown :where(h1){font-size:17px;line-height:26px}.omcBaG_messageBody .omcBaG_messageMarkdown :where(h2){font-size:16px;line-height:24px}.omcBaG_messageBody .omcBaG_messageMarkdown :where(h3,h4,h5,h6){font-size:15px;line-height:22px}.omcBaG_messageBody .omcBaG_messageMarkdown pre{margin:8px 0;padding:10px 12px;font-size:13px}.omcBaG_messageBody .omcBaG_messageMarkdown blockquote{margin:6px 0}.omcBaG_messageBody .omcBaG_messageMarkdown :where(th,td){padding-block:5px}.omcBaG_emptyState,.omcBaG_loadingState{color:var(--dsw-alias-label-tertiary);margin:0;padding:14px 0;font-size:13px;line-height:20px}.omcBaG_emptyState{gap:3px;display:grid}.omcBaG_emptyState strong{color:var(--dsw-alias-label-secondary);font-weight:500}.omcBaG_emptyState span{font-size:12px}.omcBaG_loadingState{align-items:center;gap:8px;display:flex}.omcBaG_loadingMark{background:var(--dsw-alias-bg-skeleton);border-radius:50%;width:8px;height:8px;animation:1.2s ease-in-out infinite omcBaG_pulse}.omcBaG_error,.omcBaG_errorState{color:var(--dsw-alias-state-error-primary);max-width:880px;margin:0 auto;padding-top:6px;font-size:12px;line-height:18px}.omcBaG_errorState{justify-content:space-between;align-items:center;gap:8px;display:flex}.omcBaG_welcomeSurface{justify-content:center;align-items:center;min-width:0;height:100%;padding:32px;display:flex}.omcBaG_welcome{text-align:center;max-width:420px}.omcBaG_welcomeEyebrow{color:var(--dsw-alias-label-tertiary);text-transform:uppercase;font-size:12px;line-height:18px}.omcBaG_welcome h1{color:var(--dsw-alias-label-primary);margin:8px 0;font-size:24px;font-weight:600;line-height:32px}.omcBaG_welcome p{color:var(--dsw-alias-label-secondary);margin:0;font-size:13px;line-height:20px}@keyframes omcBaG_pulse{0%,to{opacity:.35}50%{opacity:1}}@media (width<=600px){.omcBaG_surfaceHeader{padding:12px 12px 10px}.omcBaG_headerRow{flex-direction:column;align-items:stretch;gap:8px}.omcBaG_headerActions{flex-wrap:wrap}.omcBaG_backRow{margin-bottom:6px}.omcBaG_timeline{scrollbar-gutter:auto;padding:8px 12px 16px}.omcBaG_messageRow{padding:8px 0}}@media (prefers-reduced-motion:reduce){.omcBaG_loadingMark{animation:none}}.omcBaG_messageRun{margin:2px 0;padding:3px 0}.omcBaG_messageRow[data-grouped]:has(.omcBaG_messageBody>button:not([data-message-expand])){margin-top:3px;padding-top:7px;position:relative}.omcBaG_messageRow[data-grouped]:has(.omcBaG_messageBody>button:not([data-message-expand])):before{background:var(--dsw-alias-border-l2);content:\"\";height:1px;position:absolute;inset:0 0 auto 38px}.omcBaG_runDivider{border-top:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-tertiary);margin:2px 0 0 38px;padding:5px 0 0;font-size:11px;line-height:16px}.omcBaG_runDivider+.omcBaG_messageRow[data-grouped]:has(.omcBaG_messageBody>button:not([data-message-expand])){margin-top:0}.omcBaG_runDivider+.omcBaG_messageRow[data-grouped]:has(.omcBaG_messageBody>button:not([data-message-expand])):before{content:none}.omcBaG_mention{background:color-mix(in srgb, var(--dsw-alias-state-business-primary) 12%, transparent);color:var(--dsw-alias-state-business-primary);border-radius:5px;padding:0 4px;font-weight:500;box-shadow:0 1px 2px #00000014}.omcBaG_mentionsRow{gap:4px;width:fit-content;margin-top:3px;font-size:.85em;display:flex}.omcBaG_attachmentStrip{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.omcBaG_attachmentThumb{cursor:zoom-in;border:0;border-radius:8px;padding:0}.omcBaG_attachmentThumb img{object-fit:cover;border-radius:8px;width:128px;height:96px;display:block}.omcBaG_attachmentThumb:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,currentColor);outline-offset:1px}.omcBaG_confirmBody{margin:0 0 8px}.omcBaG_confirmList{gap:6px;margin:0;padding-left:18px;display:grid}.omcBaG_refLink{color:var(--dsw-alias-state-business-primary);cursor:pointer;font:inherit;text-align:left;text-underline-offset:3px;background:0 0;border:none;border-radius:4px;padding:0;text-decoration:underline}.omcBaG_refLink:hover{text-decoration-thickness:2px}.omcBaG_refLink:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:1px}.omcBaG_attachmentModal{width:min(1100px,92vw)}.omcBaG_attachmentZoom{object-fit:contain;border-radius:12px;max-width:100%;max-height:78vh;margin:0 auto;display:block}.omcBaG_attachmentChip{background:var(--dsw-alias-interactive-bg-hover);border-radius:6px;align-items:baseline;gap:6px;max-width:100%;padding:3px 8px;display:inline-flex}.omcBaG_attachmentChipName{text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:17px;overflow:hidden}.omcBaG_attachmentChipSize{color:var(--dsw-alias-label-tertiary);white-space:nowrap;font-size:11px;line-height:17px}";
|
|
7557
7596
|
const tagId$4 = "@wowyuarm/dsh-agent-team/conversation.module.css";
|
|
7558
7597
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$4) + "]") === null) {
|
|
7559
7598
|
const tag = document.createElement("style");
|
|
@@ -7563,48 +7602,48 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7563
7602
|
document.head.appendChild(tag);
|
|
7564
7603
|
}
|
|
7565
7604
|
var conversation_module_css_default = {
|
|
7566
|
-
"attachmentChip": "
|
|
7567
|
-
"attachmentChipName": "
|
|
7568
|
-
"attachmentChipSize": "
|
|
7569
|
-
"attachmentModal": "
|
|
7570
|
-
"attachmentStrip": "
|
|
7571
|
-
"attachmentThumb": "
|
|
7572
|
-
"attachmentZoom": "
|
|
7573
|
-
"backRow": "
|
|
7574
|
-
"confirmBody": "
|
|
7575
|
-
"confirmList": "
|
|
7576
|
-
"emptyState": "
|
|
7577
|
-
"emptySurface": "
|
|
7578
|
-
"error": "
|
|
7579
|
-
"errorState": "
|
|
7580
|
-
"headerActions": "
|
|
7581
|
-
"headerCopy": "
|
|
7582
|
-
"headerRow": "
|
|
7583
|
-
"loadingMark": "
|
|
7584
|
-
"loadingState": "
|
|
7585
|
-
"mention": "
|
|
7586
|
-
"mentionsRow": "
|
|
7587
|
-
"messageBody": "
|
|
7588
|
-
"messageClamp": "
|
|
7589
|
-
"messageExpand": "
|
|
7590
|
-
"messageIdentity": "
|
|
7591
|
-
"messageMarkdown": "
|
|
7592
|
-
"messageRow": "
|
|
7593
|
-
"messageRun": "
|
|
7594
|
-
"messageText": "
|
|
7595
|
-
"messageTime": "
|
|
7596
|
-
"nameRow": "
|
|
7597
|
-
"pulse": "
|
|
7598
|
-
"refLink": "
|
|
7599
|
-
"runDivider": "
|
|
7600
|
-
"surface": "
|
|
7601
|
-
"surfaceHeader": "
|
|
7602
|
-
"timeline": "
|
|
7603
|
-
"timelineAction": "
|
|
7604
|
-
"timelineContent": "
|
|
7605
|
-
"welcome": "
|
|
7606
|
-
"welcomeEyebrow": "
|
|
7607
|
-
"welcomeSurface": "
|
|
7605
|
+
"attachmentChip": "omcBaG_attachmentChip",
|
|
7606
|
+
"attachmentChipName": "omcBaG_attachmentChipName",
|
|
7607
|
+
"attachmentChipSize": "omcBaG_attachmentChipSize",
|
|
7608
|
+
"attachmentModal": "omcBaG_attachmentModal",
|
|
7609
|
+
"attachmentStrip": "omcBaG_attachmentStrip",
|
|
7610
|
+
"attachmentThumb": "omcBaG_attachmentThumb",
|
|
7611
|
+
"attachmentZoom": "omcBaG_attachmentZoom",
|
|
7612
|
+
"backRow": "omcBaG_backRow",
|
|
7613
|
+
"confirmBody": "omcBaG_confirmBody",
|
|
7614
|
+
"confirmList": "omcBaG_confirmList",
|
|
7615
|
+
"emptyState": "omcBaG_emptyState",
|
|
7616
|
+
"emptySurface": "omcBaG_emptySurface",
|
|
7617
|
+
"error": "omcBaG_error",
|
|
7618
|
+
"errorState": "omcBaG_errorState",
|
|
7619
|
+
"headerActions": "omcBaG_headerActions",
|
|
7620
|
+
"headerCopy": "omcBaG_headerCopy",
|
|
7621
|
+
"headerRow": "omcBaG_headerRow",
|
|
7622
|
+
"loadingMark": "omcBaG_loadingMark",
|
|
7623
|
+
"loadingState": "omcBaG_loadingState",
|
|
7624
|
+
"mention": "omcBaG_mention",
|
|
7625
|
+
"mentionsRow": "omcBaG_mentionsRow",
|
|
7626
|
+
"messageBody": "omcBaG_messageBody",
|
|
7627
|
+
"messageClamp": "omcBaG_messageClamp",
|
|
7628
|
+
"messageExpand": "omcBaG_messageExpand",
|
|
7629
|
+
"messageIdentity": "omcBaG_messageIdentity",
|
|
7630
|
+
"messageMarkdown": "omcBaG_messageMarkdown",
|
|
7631
|
+
"messageRow": "omcBaG_messageRow",
|
|
7632
|
+
"messageRun": "omcBaG_messageRun",
|
|
7633
|
+
"messageText": "omcBaG_messageText",
|
|
7634
|
+
"messageTime": "omcBaG_messageTime",
|
|
7635
|
+
"nameRow": "omcBaG_nameRow",
|
|
7636
|
+
"pulse": "omcBaG_pulse",
|
|
7637
|
+
"refLink": "omcBaG_refLink",
|
|
7638
|
+
"runDivider": "omcBaG_runDivider",
|
|
7639
|
+
"surface": "omcBaG_surface",
|
|
7640
|
+
"surfaceHeader": "omcBaG_surfaceHeader",
|
|
7641
|
+
"timeline": "omcBaG_timeline",
|
|
7642
|
+
"timelineAction": "omcBaG_timelineAction",
|
|
7643
|
+
"timelineContent": "omcBaG_timelineContent",
|
|
7644
|
+
"welcome": "omcBaG_welcome",
|
|
7645
|
+
"welcomeEyebrow": "omcBaG_welcomeEyebrow",
|
|
7646
|
+
"welcomeSurface": "omcBaG_welcomeSurface"
|
|
7608
7647
|
};
|
|
7609
7648
|
//#endregion
|
|
7610
7649
|
//#region src/client/TeamMessage.tsx
|
|
@@ -7689,7 +7728,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
7689
7728
|
}, index) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react.Fragment, { children: renderRefs(segment.text, onOpenRef, taskLabel, refLabel) }, index))
|
|
7690
7729
|
}) : plan.render === "literal" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
7691
7730
|
className: conversation_module_css_default.messageText,
|
|
7692
|
-
children: onOpenRef === void 0 ?
|
|
7731
|
+
children: onOpenRef === void 0 ? displayBody : renderRefs(displayBody, onOpenRef, taskLabel, refLabel)
|
|
7693
7732
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
7694
7733
|
ref: markdownRef,
|
|
7695
7734
|
className: conversation_module_css_default.messageMarkdown,
|
|
@@ -8123,8 +8162,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8123
8162
|
return blocks;
|
|
8124
8163
|
}
|
|
8125
8164
|
//#endregion
|
|
8126
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
8127
|
-
const css$3 = ".
|
|
8165
|
+
//#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/channel.module.css.mjs
|
|
8166
|
+
const css$3 = ".MYaRJa_headerMeta{color:var(--dsw-alias-label-tertiary);flex-wrap:wrap;align-items:center;gap:6px;margin-top:7px;font-size:12px;line-height:18px;display:flex}.MYaRJa_headerMeta span+span:before{content:\"·\";margin-right:6px}.MYaRJa_taskFooter{border:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-secondary);cursor:pointer;text-align:left;background:0 0;border-radius:999px;align-items:center;gap:6px;max-width:100%;margin:6px 0 0;padding:2px 10px;transition:background-color .12s,border-color .12s,color .12s;display:inline-flex}.MYaRJa_taskFooter:hover,.MYaRJa_taskFooter:focus-visible{background:var(--dsw-alias-interactive-bg-hover);border-color:var(--dsw-alias-border-l3);color:var(--dsw-alias-label-primary)}.MYaRJa_taskFooter:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:2px}.MYaRJa_taskNumber{color:var(--dsw-alias-label-primary);font-size:12px;font-weight:600;line-height:18px}.MYaRJa_taskStatus,.MYaRJa_taskCount{color:var(--dsw-alias-label-tertiary);font-size:11px;line-height:18px}.MYaRJa_taskDot{flex:none;align-items:center;width:8px;display:inline-flex}.MYaRJa_taskArrow{color:var(--dsw-alias-label-tertiary);align-items:center;transition:transform .12s;display:inline-flex}.MYaRJa_taskFooter:hover .MYaRJa_taskArrow,.MYaRJa_taskFooter:focus-visible .MYaRJa_taskArrow{transform:translate(2px)}.MYaRJa_memberList{gap:3px;display:grid}.MYaRJa_memberRow{border-radius:6px;grid-template-columns:14px minmax(0,1fr) auto;align-items:center;gap:0 8px;min-height:40px;padding:4px 6px;display:grid}.MYaRJa_memberRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.MYaRJa_memberCopy{min-width:0;display:grid}.MYaRJa_memberCopy strong{color:var(--dsw-alias-label-primary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500;line-height:18px;overflow:hidden}.MYaRJa_memberCopy small{color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:14px;overflow:hidden}.MYaRJa_memberAction{min-width:60px}.MYaRJa_memberError{color:var(--dsw-alias-state-error-primary);grid-column:2/-1;margin:2px 0;font-size:11px;line-height:16px}.MYaRJa_modalBody{max-height:min(65vh,520px);overflow-y:auto}@media (width<=600px){.MYaRJa_memberRow{grid-template-columns:14px minmax(0,1fr)}.MYaRJa_memberAction{grid-column:2;justify-self:start;margin-top:3px}}@media (prefers-reduced-motion:reduce){.MYaRJa_taskFooter,.MYaRJa_taskArrow{transition:none}.MYaRJa_taskFooter:hover .MYaRJa_taskArrow,.MYaRJa_taskFooter:focus-visible .MYaRJa_taskArrow{transform:none}}";
|
|
8128
8167
|
const tagId$3 = "@wowyuarm/dsh-agent-team/channel.module.css";
|
|
8129
8168
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$3) + "]") === null) {
|
|
8130
8169
|
const tag = document.createElement("style");
|
|
@@ -8134,23 +8173,23 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8134
8173
|
document.head.appendChild(tag);
|
|
8135
8174
|
}
|
|
8136
8175
|
var channel_module_css_default = {
|
|
8137
|
-
"headerMeta": "
|
|
8138
|
-
"memberAction": "
|
|
8139
|
-
"memberCopy": "
|
|
8140
|
-
"memberError": "
|
|
8141
|
-
"memberList": "
|
|
8142
|
-
"memberRow": "
|
|
8143
|
-
"modalBody": "
|
|
8144
|
-
"taskArrow": "
|
|
8145
|
-
"taskCount": "
|
|
8146
|
-
"taskDot": "
|
|
8147
|
-
"taskFooter": "
|
|
8148
|
-
"taskNumber": "
|
|
8149
|
-
"taskStatus": "
|
|
8176
|
+
"headerMeta": "MYaRJa_headerMeta",
|
|
8177
|
+
"memberAction": "MYaRJa_memberAction",
|
|
8178
|
+
"memberCopy": "MYaRJa_memberCopy",
|
|
8179
|
+
"memberError": "MYaRJa_memberError",
|
|
8180
|
+
"memberList": "MYaRJa_memberList",
|
|
8181
|
+
"memberRow": "MYaRJa_memberRow",
|
|
8182
|
+
"modalBody": "MYaRJa_modalBody",
|
|
8183
|
+
"taskArrow": "MYaRJa_taskArrow",
|
|
8184
|
+
"taskCount": "MYaRJa_taskCount",
|
|
8185
|
+
"taskDot": "MYaRJa_taskDot",
|
|
8186
|
+
"taskFooter": "MYaRJa_taskFooter",
|
|
8187
|
+
"taskNumber": "MYaRJa_taskNumber",
|
|
8188
|
+
"taskStatus": "MYaRJa_taskStatus"
|
|
8150
8189
|
};
|
|
8151
8190
|
//#endregion
|
|
8152
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
8153
|
-
const css$2 = "
|
|
8191
|
+
//#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/thread.module.css.mjs
|
|
8192
|
+
const css$2 = ".-Qiwua_titleLine{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.-Qiwua_titleLine h1{margin:0}.-Qiwua_workSection{border-top:1px solid var(--dsw-alias-border-l2);max-width:880px;margin:12px auto 0;padding-top:8px}.-Qiwua_riskSection{border-top:1px solid var(--dsw-alias-border-l2);max-width:880px;margin:12px auto 0;padding-top:10px}.-Qiwua_riskSection h2{color:var(--dsw-alias-state-error-primary);margin:0 0 5px;font-size:12px;font-weight:600;line-height:18px}.-Qiwua_riskRow{color:var(--dsw-alias-label-secondary);align-items:center;gap:8px;margin:3px 0;font-size:12px;line-height:18px;display:flex}.-Qiwua_claimList{gap:4px;padding:4px 0 2px 22px;display:grid}.-Qiwua_claimRow{border-radius:6px;grid-template-columns:14px minmax(96px,auto) minmax(0,1fr) auto auto;align-items:center;gap:4px 8px;min-height:36px;padding:4px 6px;display:grid}.-Qiwua_claimRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.-Qiwua_claimOwner{color:var(--dsw-alias-label-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:500;line-height:18px;overflow:hidden}.-Qiwua_claimDirection{color:var(--dsw-alias-label-primary);overflow-wrap:anywhere;min-width:0;font-size:12px;line-height:18px}.-Qiwua_claimState{color:var(--dsw-alias-label-tertiary);white-space:nowrap;font-size:11px;line-height:18px}.-Qiwua_emptyClaims{color:var(--dsw-alias-label-tertiary);margin:0;padding:5px 6px;font-size:11px;line-height:18px}.-Qiwua_activityRow{color:var(--dsw-alias-label-tertiary);text-align:center;justify-content:center;align-items:center;gap:8px;max-width:100%;margin:4px auto;padding:5px 12px;font-size:11px;line-height:18px;display:flex}.-Qiwua_activityText{overflow-wrap:anywhere;min-width:0}.-Qiwua_activityMark{background:var(--dsw-alias-border-l3);border-radius:50%;flex:0 0 5px;width:5px;height:5px}.-Qiwua_activityRow:has(+.-Qiwua_activityRow),.-Qiwua_activityRow+.-Qiwua_activityRow{text-align:left;justify-content:flex-start;padding-left:38px}.-Qiwua_historySection{border-bottom:1px solid var(--dsw-alias-border-l2);max-width:100%;margin:0 auto 12px;padding-bottom:10px}.-Qiwua_historySection h2{color:var(--dsw-alias-label-tertiary);letter-spacing:.02em;text-transform:uppercase;margin:0 0 4px;font-size:11px;font-weight:600;line-height:16px}.-Qiwua_publicSection{min-width:0}.-Qiwua_unreadBoundary{color:var(--dsw-alias-label-tertiary);align-items:center;gap:10px;margin:10px 0 6px;font-size:11px;line-height:16px;display:flex}.-Qiwua_unreadBoundary:before,.-Qiwua_unreadBoundary:after{background:var(--dsw-alias-border-l3);content:\"\";flex:1;height:1px}.-Qiwua_unreadBoundary span{flex:none}.-Qiwua_daySeparator{color:var(--dsw-alias-label-tertiary);letter-spacing:.02em;align-items:center;gap:10px;margin:12px 0 4px;font-size:11px;line-height:16px;display:flex}.-Qiwua_daySeparator:before,.-Qiwua_daySeparator:after{background:var(--dsw-alias-border-l2);content:\"\";flex:1;height:1px}.-Qiwua_daySeparator span{flex:none}.-Qiwua_newUpdates{background:var(--dsw-specific-input-major,var(--dsw-alias-bg-layer-1));border:1px solid var(--dsw-alias-border-l2-darkmode-thin);box-shadow:var(--dsw-shadow-lv2);z-index:2;border-radius:999px;justify-content:center;align-items:center;width:fit-content;margin:8px auto;padding:4px 12px;font-size:12px;line-height:18px;display:flex;position:sticky;bottom:8px}.-Qiwua_newUpdatesJump{color:var(--dsw-alias-label-secondary);cursor:pointer;font:inherit;line-height:inherit;background:0 0;border:0;padding:0}.-Qiwua_newUpdatesJump:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:2px;border-radius:6px}.-Qiwua_taskTitle{color:var(--dsw-alias-label-secondary);-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:2px 0 0;font-size:13px;line-height:20px;display:-webkit-box;overflow:hidden}.-Qiwua_closedBar{flex-direction:column;align-items:center;display:flex}.-Qiwua_closedNotice{color:var(--dsw-alias-label-tertiary);flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;padding:10px 16px 14px;font-size:13px;line-height:20px;display:flex}@media (width<=600px){.-Qiwua_claimRow{grid-template-columns:14px minmax(0,1fr) auto;align-items:start}.-Qiwua_claimState{grid-area:1/3;justify-self:end}.-Qiwua_claimDirection{grid-column:2/-1}.-Qiwua_activityRow{padding-inline:0}.-Qiwua_newUpdates{max-width:calc(100% - 16px)}}";
|
|
8154
8193
|
const tagId$2 = "@wowyuarm/dsh-agent-team/thread.module.css";
|
|
8155
8194
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$2) + "]") === null) {
|
|
8156
8195
|
const tag = document.createElement("style");
|
|
@@ -8160,28 +8199,28 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8160
8199
|
document.head.appendChild(tag);
|
|
8161
8200
|
}
|
|
8162
8201
|
var thread_module_css_default = {
|
|
8163
|
-
"activityMark": "
|
|
8164
|
-
"activityRow": "
|
|
8165
|
-
"activityText": "
|
|
8166
|
-
"claimDirection": "
|
|
8167
|
-
"claimList": "
|
|
8168
|
-
"claimOwner": "
|
|
8169
|
-
"claimRow": "
|
|
8170
|
-
"claimState": "
|
|
8171
|
-
"closedBar": "
|
|
8172
|
-
"closedNotice": "
|
|
8173
|
-
"daySeparator": "
|
|
8174
|
-
"emptyClaims": "
|
|
8175
|
-
"historySection": "
|
|
8176
|
-
"newUpdates": "
|
|
8177
|
-
"newUpdatesJump": "
|
|
8178
|
-
"publicSection": "
|
|
8179
|
-
"riskRow": "
|
|
8180
|
-
"riskSection": "
|
|
8181
|
-
"taskTitle": "
|
|
8182
|
-
"titleLine": "
|
|
8183
|
-
"unreadBoundary": "
|
|
8184
|
-
"workSection": "
|
|
8202
|
+
"activityMark": "-Qiwua_activityMark",
|
|
8203
|
+
"activityRow": "-Qiwua_activityRow",
|
|
8204
|
+
"activityText": "-Qiwua_activityText",
|
|
8205
|
+
"claimDirection": "-Qiwua_claimDirection",
|
|
8206
|
+
"claimList": "-Qiwua_claimList",
|
|
8207
|
+
"claimOwner": "-Qiwua_claimOwner",
|
|
8208
|
+
"claimRow": "-Qiwua_claimRow",
|
|
8209
|
+
"claimState": "-Qiwua_claimState",
|
|
8210
|
+
"closedBar": "-Qiwua_closedBar",
|
|
8211
|
+
"closedNotice": "-Qiwua_closedNotice",
|
|
8212
|
+
"daySeparator": "-Qiwua_daySeparator",
|
|
8213
|
+
"emptyClaims": "-Qiwua_emptyClaims",
|
|
8214
|
+
"historySection": "-Qiwua_historySection",
|
|
8215
|
+
"newUpdates": "-Qiwua_newUpdates",
|
|
8216
|
+
"newUpdatesJump": "-Qiwua_newUpdatesJump",
|
|
8217
|
+
"publicSection": "-Qiwua_publicSection",
|
|
8218
|
+
"riskRow": "-Qiwua_riskRow",
|
|
8219
|
+
"riskSection": "-Qiwua_riskSection",
|
|
8220
|
+
"taskTitle": "-Qiwua_taskTitle",
|
|
8221
|
+
"titleLine": "-Qiwua_titleLine",
|
|
8222
|
+
"unreadBoundary": "-Qiwua_unreadBoundary",
|
|
8223
|
+
"workSection": "-Qiwua_workSection"
|
|
8185
8224
|
};
|
|
8186
8225
|
//#endregion
|
|
8187
8226
|
//#region src/client/TeamChannelPage.tsx
|
|
@@ -8704,7 +8743,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8704
8743
|
kind: "message",
|
|
8705
8744
|
sequence: message.sequence,
|
|
8706
8745
|
message,
|
|
8707
|
-
mentions
|
|
8746
|
+
mentions,
|
|
8747
|
+
occurredAt: message.occurredAt
|
|
8708
8748
|
};
|
|
8709
8749
|
}
|
|
8710
8750
|
function mergeFacts(...groups) {
|
|
@@ -9166,7 +9206,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9166
9206
|
const merged = mergeFacts(current, [{
|
|
9167
9207
|
kind: "activity",
|
|
9168
9208
|
sequence: committed.activity.sequence,
|
|
9169
|
-
activity: committed.activity
|
|
9209
|
+
activity: committed.activity,
|
|
9210
|
+
occurredAt: committed.receipt.occurredAt
|
|
9170
9211
|
}]);
|
|
9171
9212
|
currentFactsRef.current = merged;
|
|
9172
9213
|
return merged;
|
|
@@ -9222,7 +9263,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9222
9263
|
const merged = mergeFacts(current, [{
|
|
9223
9264
|
kind: "activity",
|
|
9224
9265
|
sequence: committed.activity.sequence,
|
|
9225
|
-
activity: committed.activity
|
|
9266
|
+
activity: committed.activity,
|
|
9267
|
+
occurredAt: committed.receipt.occurredAt
|
|
9226
9268
|
}]);
|
|
9227
9269
|
currentFactsRef.current = merged;
|
|
9228
9270
|
return merged;
|
|
@@ -9289,7 +9331,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9289
9331
|
kind: "message",
|
|
9290
9332
|
sequence: committed.message.sequence,
|
|
9291
9333
|
message: committed.message,
|
|
9292
|
-
mentions: [...recipients].sort()
|
|
9334
|
+
mentions: [...recipients].sort(),
|
|
9335
|
+
occurredAt: committed.receipt.occurredAt
|
|
9293
9336
|
}]);
|
|
9294
9337
|
currentFactsRef.current = merged;
|
|
9295
9338
|
return merged;
|
|
@@ -9725,8 +9768,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9725
9768
|
});
|
|
9726
9769
|
}
|
|
9727
9770
|
//#endregion
|
|
9728
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
9729
|
-
const css$1 = "html[data-agent-team-mode=team] button[class*=newSession]{display:none}.
|
|
9771
|
+
//#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/sidebar.module.css.mjs
|
|
9772
|
+
const css$1 = "html[data-agent-team-mode=team] button[class*=newSession]{display:none}.d0xfxa_workspaceBrowser{flex-direction:column;height:100%;min-height:0;padding:0 8px 8px;display:flex}.d0xfxa_railButton{color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.d0xfxa_railButton:hover,.d0xfxa_railButton:focus-visible{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary);outline:none}.d0xfxa_workspaceList{flex-direction:column;gap:2px;padding-bottom:2px;display:flex}.d0xfxa_workspaceRow{color:var(--dsw-alias-label-primary);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;width:100%;height:34px;padding:0 8px;display:flex}.d0xfxa_workspaceRow:hover,.d0xfxa_workspaceRow:focus-visible,.d0xfxa_workspaceRow[aria-current=page]{background:var(--dsw-alias-interactive-bg-hover);outline:none}.d0xfxa_workspaceRow:focus-visible{box-shadow:inset 0 0 0 1px var(--dsw-alias-border-l3)}.d0xfxa_workspaceIcon{color:var(--dsw-alias-label-tertiary);flex:0 0 16px;justify-content:center;align-items:center;height:20px;display:inline-flex}.d0xfxa_workspaceRow[data-selected] .d0xfxa_workspaceIcon{color:var(--dsw-alias-state-business-primary)}.d0xfxa_workspaceCopy{min-width:0;display:flex}.d0xfxa_workspaceCopy strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:400;line-height:20px;overflow:hidden}.d0xfxa_emptyState{color:var(--dsw-alias-label-tertiary);margin:8px;font-size:12px;line-height:18px}.d0xfxa_railWorkspace{flex-direction:column;align-items:center;gap:8px;padding-top:8px;display:flex}.d0xfxa_railButton{border-radius:50%;width:36px;height:36px}.d0xfxa_railButton[data-active]{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.d0xfxa_workspaceSection{flex-direction:column;flex:1;gap:4px;min-height:0;margin-top:2px;display:flex;overflow-y:auto}.d0xfxa_section{flex-direction:column;display:flex}.d0xfxa_sectionHeader{align-items:center;min-height:26px;padding-right:2px;display:flex}.d0xfxa_sectionToggle{color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;min-width:0;min-height:24px;padding:0 6px;font-size:12px;line-height:18px;display:inline-flex}.d0xfxa_sectionToggle:focus-visible{outline:none}.d0xfxa_sectionToggle:hover .d0xfxa_sectionChevron,.d0xfxa_sectionToggle:focus-visible .d0xfxa_sectionChevron{color:var(--dsw-alias-label-primary)}.d0xfxa_sectionChevron{color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .12s,color .12s}.d0xfxa_sectionToggle[aria-expanded=false] .d0xfxa_sectionChevron{transform:rotate(-90deg)}.d0xfxa_sectionTitle{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.d0xfxa_sectionActions{align-items:center;margin-left:auto;display:inline-flex}.d0xfxa_panel{flex-direction:column;display:flex}.d0xfxa_iconButton{color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;padding:0;display:inline-flex}.d0xfxa_iconButton:hover,.d0xfxa_iconButton:focus-visible{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary);outline:none}.d0xfxa_textButton{color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;border-radius:5px;padding:2px 5px;font-size:11px;line-height:18px}.d0xfxa_textButton:hover,.d0xfxa_textButton:focus-visible{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary);outline:none}.d0xfxa_textButton:disabled{cursor:not-allowed;opacity:.4}.d0xfxa_channelList,.d0xfxa_agentList{flex-direction:column;gap:1px;padding:0 4px 4px;display:flex}.d0xfxa_sidebarRowDragging{opacity:.5}.d0xfxa_sidebarRowDropBefore,.d0xfxa_sidebarRowDropAfter{position:relative}.d0xfxa_sidebarRowDropBefore:before,.d0xfxa_sidebarRowDropAfter:after{content:\"\";z-index:1;background:linear-gradient(55deg, transparent calc(50% - 1px), var(--dsw-alias-state-business-primary) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) 0 0 / 5px 7px no-repeat, linear-gradient(125deg, transparent calc(50% - 1px), var(--dsw-alias-state-business-primary) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) 0 5px / 5px 7px no-repeat, linear-gradient(var(--dsw-alias-state-business-primary) 0 0) 4px 5px / calc(100% - 4px) 2px no-repeat;pointer-events:none;height:12px;position:absolute;left:0;right:4px}.d0xfxa_sidebarRowDropBefore:before{top:-7px}.d0xfxa_sidebarRowDropAfter:after{bottom:-7px}.d0xfxa_channelRow{color:var(--dsw-alias-label-primary);border-radius:8px;align-items:center;min-height:30px;display:flex;position:relative}.d0xfxa_channelSelect{box-sizing:border-box;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;flex:1;align-items:center;min-width:0;min-height:30px;padding:3px 4px 3px 8px;display:flex}.d0xfxa_channelSelect:focus-visible{outline:none}.d0xfxa_channelName{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:400;line-height:18px;overflow:hidden}.d0xfxa_agentRow{color:var(--dsw-alias-label-primary);border-radius:8px;align-items:center;min-height:38px;display:flex;position:relative}.d0xfxa_agentSelect{box-sizing:border-box;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;flex:1;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:0 8px;min-width:0;min-height:38px;padding:3px 4px 3px 8px;display:grid}.d0xfxa_agentSelect:focus-visible{outline:none}.d0xfxa_agentSelect[aria-current=page]{background:var(--dsw-alias-interactive-bg-hover);border-radius:8px}.d0xfxa_agentRow:hover .d0xfxa_agentSelect[aria-current=page],.d0xfxa_agentRow:focus-within .d0xfxa_agentSelect[aria-current=page],.d0xfxa_agentRow[data-menu-open] .d0xfxa_agentSelect[aria-current=page]{background:0 0}.d0xfxa_agentAvatar{background:hsl(var(--team-avatar-hue,212) 42% 46%);color:#fff;cursor:default;border-radius:50%;flex:0 0 24px;justify-content:center;align-items:center;width:24px;height:24px;font-size:11px;font-weight:600;display:inline-flex;position:relative}.d0xfxa_agentAvatarBadge{background:var(--dsw-specific-sidebar-fill);box-shadow:0 0 0 1px var(--dsw-specific-sidebar-fill);border-radius:50%;justify-content:center;align-items:center;width:12px;height:12px;padding:1px;line-height:0;display:inline-flex;position:absolute;bottom:-3px;right:-3px}.d0xfxa_agentCopy{flex-direction:column;min-width:0;display:flex}.d0xfxa_agentCopy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:400;line-height:17px;overflow:hidden}.d0xfxa_agentCopy small{color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:13px;overflow:hidden}.d0xfxa_unavailableDot{background:var(--dsw-alias-label-tertiary);border-radius:50%;width:7px;height:7px;display:inline-block}.d0xfxa_rowMenu{flex:none;align-items:center;padding-right:4px;display:none}.d0xfxa_channelRow:hover .d0xfxa_rowMenu,.d0xfxa_channelRow:focus-within .d0xfxa_rowMenu,.d0xfxa_channelRow[data-menu-open] .d0xfxa_rowMenu,.d0xfxa_agentRow:hover .d0xfxa_rowMenu,.d0xfxa_agentRow:focus-within .d0xfxa_rowMenu,.d0xfxa_agentRow[data-menu-open] .d0xfxa_rowMenu{display:inline-flex}.d0xfxa_channelRow[data-menu-open],.d0xfxa_agentRow[data-menu-open],.d0xfxa_channelRow:hover,.d0xfxa_agentRow:hover,.d0xfxa_channelRow:focus-within,.d0xfxa_agentRow:focus-within,.d0xfxa_channelRow[aria-current=page]{background:var(--dsw-alias-interactive-bg-hover)}.d0xfxa_rowMenuButton{color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;width:20px;height:20px;padding:0;display:inline-flex}.d0xfxa_rowMenuButton:hover,.d0xfxa_rowMenuButton:focus-visible{color:var(--dsw-alias-label-primary);outline:none}.d0xfxa_retryError{color:var(--dsw-alias-state-error-primary);justify-content:space-between;align-items:center;gap:8px;padding:8px;font-size:11px;display:flex}.d0xfxa_rowAlert{color:var(--dsw-alias-state-error-primary);overflow-wrap:anywhere;padding:2px 8px 6px;font-size:11px}.d0xfxa_editDescription{color:var(--dsw-alias-label-secondary);margin:0 0 10px;font-size:12px;line-height:18px}.d0xfxa_editMemberList{gap:3px;display:grid}.d0xfxa_editMemberRow{border-radius:6px;grid-template-columns:14px minmax(0,1fr) auto;align-items:center;gap:0 8px;min-height:40px;padding:3px 6px;display:grid}.d0xfxa_editMemberRowChannels{grid-template-columns:minmax(0,1fr) auto}.d0xfxa_editMemberRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.d0xfxa_editMemberCopy{min-width:0;display:grid}.d0xfxa_editMemberCopy strong{color:var(--dsw-alias-label-primary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500;line-height:18px;overflow:hidden}.d0xfxa_editMemberCopy small{color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:14px;overflow:hidden}.d0xfxa_editChannelName{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:400;line-height:18px;overflow:hidden}.d0xfxa_editMemberRow button{min-width:60px}.d0xfxa_editHint{color:var(--dsw-alias-label-tertiary);margin:0;font-size:11px;line-height:16px}.d0xfxa_menuHint{color:var(--dsw-alias-label-tertiary);margin-left:4px;font-size:10px;line-height:14px}.d0xfxa_rowError{color:var(--dsw-alias-state-error-primary);grid-column:1/-1;margin:2px 0;font-size:11px;line-height:16px}";
|
|
9730
9773
|
const tagId$1 = "@wowyuarm/dsh-agent-team/sidebar.module.css";
|
|
9731
9774
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
|
|
9732
9775
|
const tag = document.createElement("style");
|
|
@@ -9736,51 +9779,51 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
9736
9779
|
document.head.appendChild(tag);
|
|
9737
9780
|
}
|
|
9738
9781
|
var sidebar_module_css_default = {
|
|
9739
|
-
"agentAvatar": "
|
|
9740
|
-
"agentAvatarBadge": "
|
|
9741
|
-
"agentCopy": "
|
|
9742
|
-
"agentList": "
|
|
9743
|
-
"agentRow": "
|
|
9744
|
-
"agentSelect": "
|
|
9745
|
-
"channelList": "
|
|
9746
|
-
"channelName": "
|
|
9747
|
-
"channelRow": "
|
|
9748
|
-
"channelSelect": "
|
|
9749
|
-
"editChannelName": "
|
|
9750
|
-
"editDescription": "
|
|
9751
|
-
"editHint": "
|
|
9752
|
-
"editMemberCopy": "
|
|
9753
|
-
"editMemberList": "
|
|
9754
|
-
"editMemberRow": "
|
|
9755
|
-
"editMemberRowChannels": "
|
|
9756
|
-
"emptyState": "
|
|
9757
|
-
"iconButton": "
|
|
9758
|
-
"menuHint": "
|
|
9759
|
-
"panel": "
|
|
9760
|
-
"railButton": "
|
|
9761
|
-
"railWorkspace": "
|
|
9762
|
-
"retryError": "
|
|
9763
|
-
"rowAlert": "
|
|
9764
|
-
"rowError": "
|
|
9765
|
-
"rowMenu": "
|
|
9766
|
-
"rowMenuButton": "
|
|
9767
|
-
"section": "
|
|
9768
|
-
"sectionActions": "
|
|
9769
|
-
"sectionChevron": "
|
|
9770
|
-
"sectionHeader": "
|
|
9771
|
-
"sectionTitle": "
|
|
9772
|
-
"sectionToggle": "
|
|
9773
|
-
"sidebarRowDragging": "
|
|
9774
|
-
"sidebarRowDropAfter": "
|
|
9775
|
-
"sidebarRowDropBefore": "
|
|
9776
|
-
"textButton": "
|
|
9777
|
-
"unavailableDot": "
|
|
9778
|
-
"workspaceBrowser": "
|
|
9779
|
-
"workspaceCopy": "
|
|
9780
|
-
"workspaceIcon": "
|
|
9781
|
-
"workspaceList": "
|
|
9782
|
-
"workspaceRow": "
|
|
9783
|
-
"workspaceSection": "
|
|
9782
|
+
"agentAvatar": "d0xfxa_agentAvatar",
|
|
9783
|
+
"agentAvatarBadge": "d0xfxa_agentAvatarBadge",
|
|
9784
|
+
"agentCopy": "d0xfxa_agentCopy",
|
|
9785
|
+
"agentList": "d0xfxa_agentList",
|
|
9786
|
+
"agentRow": "d0xfxa_agentRow",
|
|
9787
|
+
"agentSelect": "d0xfxa_agentSelect",
|
|
9788
|
+
"channelList": "d0xfxa_channelList",
|
|
9789
|
+
"channelName": "d0xfxa_channelName",
|
|
9790
|
+
"channelRow": "d0xfxa_channelRow",
|
|
9791
|
+
"channelSelect": "d0xfxa_channelSelect",
|
|
9792
|
+
"editChannelName": "d0xfxa_editChannelName",
|
|
9793
|
+
"editDescription": "d0xfxa_editDescription",
|
|
9794
|
+
"editHint": "d0xfxa_editHint",
|
|
9795
|
+
"editMemberCopy": "d0xfxa_editMemberCopy",
|
|
9796
|
+
"editMemberList": "d0xfxa_editMemberList",
|
|
9797
|
+
"editMemberRow": "d0xfxa_editMemberRow",
|
|
9798
|
+
"editMemberRowChannels": "d0xfxa_editMemberRowChannels",
|
|
9799
|
+
"emptyState": "d0xfxa_emptyState",
|
|
9800
|
+
"iconButton": "d0xfxa_iconButton",
|
|
9801
|
+
"menuHint": "d0xfxa_menuHint",
|
|
9802
|
+
"panel": "d0xfxa_panel",
|
|
9803
|
+
"railButton": "d0xfxa_railButton",
|
|
9804
|
+
"railWorkspace": "d0xfxa_railWorkspace",
|
|
9805
|
+
"retryError": "d0xfxa_retryError",
|
|
9806
|
+
"rowAlert": "d0xfxa_rowAlert",
|
|
9807
|
+
"rowError": "d0xfxa_rowError",
|
|
9808
|
+
"rowMenu": "d0xfxa_rowMenu",
|
|
9809
|
+
"rowMenuButton": "d0xfxa_rowMenuButton",
|
|
9810
|
+
"section": "d0xfxa_section",
|
|
9811
|
+
"sectionActions": "d0xfxa_sectionActions",
|
|
9812
|
+
"sectionChevron": "d0xfxa_sectionChevron",
|
|
9813
|
+
"sectionHeader": "d0xfxa_sectionHeader",
|
|
9814
|
+
"sectionTitle": "d0xfxa_sectionTitle",
|
|
9815
|
+
"sectionToggle": "d0xfxa_sectionToggle",
|
|
9816
|
+
"sidebarRowDragging": "d0xfxa_sidebarRowDragging",
|
|
9817
|
+
"sidebarRowDropAfter": "d0xfxa_sidebarRowDropAfter",
|
|
9818
|
+
"sidebarRowDropBefore": "d0xfxa_sidebarRowDropBefore",
|
|
9819
|
+
"textButton": "d0xfxa_textButton",
|
|
9820
|
+
"unavailableDot": "d0xfxa_unavailableDot",
|
|
9821
|
+
"workspaceBrowser": "d0xfxa_workspaceBrowser",
|
|
9822
|
+
"workspaceCopy": "d0xfxa_workspaceCopy",
|
|
9823
|
+
"workspaceIcon": "d0xfxa_workspaceIcon",
|
|
9824
|
+
"workspaceList": "d0xfxa_workspaceList",
|
|
9825
|
+
"workspaceRow": "d0xfxa_workspaceRow",
|
|
9826
|
+
"workspaceSection": "d0xfxa_workspaceSection"
|
|
9784
9827
|
};
|
|
9785
9828
|
//#endregion
|
|
9786
9829
|
//#region src/client/TeamWorkspaceRow.tsx
|
|
@@ -10217,8 +10260,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10217
10260
|
});
|
|
10218
10261
|
}
|
|
10219
10262
|
//#endregion
|
|
10220
|
-
//#region \0dsh-css:/home/yu/projects/
|
|
10221
|
-
const css = ".
|
|
10263
|
+
//#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/create.module.css.mjs
|
|
10264
|
+
const css = "._1henIG_form{gap:16px;display:grid}._1henIG_field{color:var(--dsw-alias-label-secondary);gap:6px;font-size:12px;line-height:18px;display:grid}._1henIG_input{box-sizing:border-box;width:100%}._1henIG_menuCap{max-height:min(320px,56vh)}._1henIG_selectTrigger{background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);box-sizing:border-box;color:var(--dsw-alias-label-primary);cursor:pointer;text-align:left;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;min-height:32px;padding:4px 10px;font-size:14px;line-height:22px;display:flex}._1henIG_selectTrigger:disabled{cursor:default;opacity:.6}._1henIG_selectTrigger:focus-visible{border-color:var(--dsw-alias-brand-primary);outline:none}._1henIG_selectValue{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}._1henIG_chevron{color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .12s;display:inline-flex}._1henIG_chevronOpen{transform:rotate(180deg)}._1henIG_memberPicker{border:0;gap:4px;max-height:220px;margin:0;padding:0;display:grid;overflow-y:auto}._1henIG_memberPicker legend{color:var(--dsw-alias-label-secondary);padding:0 0 6px;font-size:12px;line-height:18px}._1henIG_memberOption{color:var(--dsw-alias-label-primary);border-radius:6px;grid-template-columns:auto 14px minmax(0,1fr);align-items:center;gap:0 7px;min-height:32px;padding:3px 6px;display:grid}._1henIG_memberOption:hover{background:var(--dsw-alias-interactive-bg-hover)}._1henIG_memberOption input{margin:0}._1henIG_memberOption small{color:var(--dsw-alias-label-tertiary);grid-column:3;font-size:10px;line-height:14px}._1henIG_unavailableDot{background:var(--dsw-alias-label-tertiary);border-radius:50%;justify-self:center;width:7px;height:7px;display:inline-block}._1henIG_error{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px;line-height:18px}._1henIG_dialogContent{max-height:min(70vh,560px);overflow-y:auto}@media (width<=600px){._1henIG_dialogContent{max-height:calc(100vh - 180px)}._1henIG_memberPicker{max-height:180px}}";
|
|
10222
10265
|
const tagId = "@wowyuarm/dsh-agent-team/create.module.css";
|
|
10223
10266
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
10224
10267
|
const tag = document.createElement("style");
|
|
@@ -10228,19 +10271,19 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10228
10271
|
document.head.appendChild(tag);
|
|
10229
10272
|
}
|
|
10230
10273
|
var create_module_css_default = {
|
|
10231
|
-
"chevron": "
|
|
10232
|
-
"chevronOpen": "
|
|
10233
|
-
"dialogContent": "
|
|
10234
|
-
"error": "
|
|
10235
|
-
"field": "
|
|
10236
|
-
"form": "
|
|
10237
|
-
"input": "
|
|
10238
|
-
"memberOption": "
|
|
10239
|
-
"memberPicker": "
|
|
10240
|
-
"menuCap": "
|
|
10241
|
-
"selectTrigger": "
|
|
10242
|
-
"selectValue": "
|
|
10243
|
-
"unavailableDot": "
|
|
10274
|
+
"chevron": "_1henIG_chevron",
|
|
10275
|
+
"chevronOpen": "_1henIG_chevronOpen",
|
|
10276
|
+
"dialogContent": "_1henIG_dialogContent",
|
|
10277
|
+
"error": "_1henIG_error",
|
|
10278
|
+
"field": "_1henIG_field",
|
|
10279
|
+
"form": "_1henIG_form",
|
|
10280
|
+
"input": "_1henIG_input",
|
|
10281
|
+
"memberOption": "_1henIG_memberOption",
|
|
10282
|
+
"memberPicker": "_1henIG_memberPicker",
|
|
10283
|
+
"menuCap": "_1henIG_menuCap",
|
|
10284
|
+
"selectTrigger": "_1henIG_selectTrigger",
|
|
10285
|
+
"selectValue": "_1henIG_selectValue",
|
|
10286
|
+
"unavailableDot": "_1henIG_unavailableDot"
|
|
10244
10287
|
};
|
|
10245
10288
|
//#endregion
|
|
10246
10289
|
//#region src/client/TeamMemberEditor.tsx
|
|
@@ -10525,7 +10568,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10525
10568
|
}
|
|
10526
10569
|
//#endregion
|
|
10527
10570
|
//#region src/client/TeamAgentsPanel.tsx
|
|
10528
|
-
function TeamAgentsPanel({ workspaceId, loadMembers, subscribeChanges, addMember, updateMember, recoverMember,
|
|
10571
|
+
function TeamAgentsPanel({ workspaceId, loadMembers, subscribeChanges, addMember, updateMember, recoverMember, archiveMember, loadModels, memberSessionId, openMemberSession, onCreatingChange, t }) {
|
|
10529
10572
|
const [members, setMembers] = (0, react.useState)([]);
|
|
10530
10573
|
const [loading, setLoading] = (0, react.useState)(true);
|
|
10531
10574
|
const [error, setError] = (0, react.useState)();
|
|
@@ -10549,15 +10592,52 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10549
10592
|
onCommit: applyMove
|
|
10550
10593
|
});
|
|
10551
10594
|
const sectionOpen = useSidebarSectionOpen(workspaceId, "agents");
|
|
10595
|
+
const observedSessionIds = (0, react.useRef)(/* @__PURE__ */ new Map());
|
|
10596
|
+
const pendingFollows = (0, react.useRef)(/* @__PURE__ */ new Map());
|
|
10597
|
+
const seatSessionIdRef = (0, react.useRef)(memberSessionId);
|
|
10598
|
+
seatSessionIdRef.current = memberSessionId;
|
|
10599
|
+
const openMemberSessionRef = (0, react.useRef)(openMemberSession);
|
|
10600
|
+
openMemberSessionRef.current = openMemberSession;
|
|
10601
|
+
const followRollover = (0, react.useCallback)((statuses) => {
|
|
10602
|
+
for (const status of statuses) {
|
|
10603
|
+
const memberId = status.member.memberId;
|
|
10604
|
+
const observed = observedSessionIds.current.get(memberId);
|
|
10605
|
+
if (observed === void 0) {
|
|
10606
|
+
observedSessionIds.current.set(memberId, status.member.sessionId);
|
|
10607
|
+
continue;
|
|
10608
|
+
}
|
|
10609
|
+
if (observed !== status.member.sessionId) {
|
|
10610
|
+
observedSessionIds.current.set(memberId, status.member.sessionId);
|
|
10611
|
+
const seatSessionId = seatSessionIdRef.current;
|
|
10612
|
+
if (seatSessionId !== void 0 && observed === seatSessionId) pendingFollows.current.set(memberId, {
|
|
10613
|
+
previousSessionId: observed,
|
|
10614
|
+
nextSessionId: status.member.sessionId
|
|
10615
|
+
});
|
|
10616
|
+
else pendingFollows.current.delete(memberId);
|
|
10617
|
+
}
|
|
10618
|
+
const pending = pendingFollows.current.get(memberId);
|
|
10619
|
+
if (pending !== void 0 && pending.nextSessionId === status.member.sessionId && status.availability === "active") {
|
|
10620
|
+
const seatSessionId = seatSessionIdRef.current;
|
|
10621
|
+
pendingFollows.current.delete(memberId);
|
|
10622
|
+
if (seatSessionId !== void 0 && seatSessionId === pending.previousSessionId) openMemberSessionRef.current(pending.nextSessionId);
|
|
10623
|
+
}
|
|
10624
|
+
}
|
|
10625
|
+
}, []);
|
|
10552
10626
|
const refresh = (0, react.useCallback)(async () => {
|
|
10553
10627
|
setLoading(true);
|
|
10554
10628
|
const result = await loadMembers({ workspaceId });
|
|
10555
10629
|
if (result.ok) {
|
|
10556
|
-
|
|
10630
|
+
const next = result.value.filter((status) => status.member.state !== "inactive" && status.member.state !== "archived");
|
|
10631
|
+
setMembers(next);
|
|
10632
|
+
followRollover(next);
|
|
10557
10633
|
setError(void 0);
|
|
10558
10634
|
} else setError(result.error.message);
|
|
10559
10635
|
setLoading(false);
|
|
10560
|
-
}, [
|
|
10636
|
+
}, [
|
|
10637
|
+
loadMembers,
|
|
10638
|
+
workspaceId,
|
|
10639
|
+
followRollover
|
|
10640
|
+
]);
|
|
10561
10641
|
(0, react.useEffect)(() => {
|
|
10562
10642
|
refresh();
|
|
10563
10643
|
}, [refresh]);
|
|
@@ -10739,7 +10819,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10739
10819
|
...memberSessionId === void 0 ? {} : { current: status.member.sessionId === memberSessionId },
|
|
10740
10820
|
updateMember,
|
|
10741
10821
|
recoverMember,
|
|
10742
|
-
clearMemberContext,
|
|
10743
10822
|
archiveMember,
|
|
10744
10823
|
loadModels,
|
|
10745
10824
|
openMemberSession,
|
|
@@ -10773,10 +10852,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10773
10852
|
* conversation page, the avatar carries identity plus the presence badge, and
|
|
10774
10853
|
* the row menu opens the editor.
|
|
10775
10854
|
*/
|
|
10776
|
-
function AgentRow({ status, current, updateMember, recoverMember,
|
|
10855
|
+
function AgentRow({ status, current, updateMember, recoverMember, archiveMember, loadModels, openMemberSession, onUpdated, t }) {
|
|
10777
10856
|
const [menuOpen, setMenuOpen] = (0, react.useState)(false);
|
|
10778
10857
|
const [editing, setEditing] = (0, react.useState)(false);
|
|
10779
|
-
const [clearing, setClearing] = (0, react.useState)(false);
|
|
10780
10858
|
const [archiving, setArchiving] = (0, react.useState)(false);
|
|
10781
10859
|
const [rowAlert, setRowAlert] = (0, react.useState)();
|
|
10782
10860
|
const recover = async () => {
|
|
@@ -10801,25 +10879,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10801
10879
|
setRowAlert(t("restartFailed", { message: cause instanceof Error ? cause.message : String(cause) }));
|
|
10802
10880
|
}
|
|
10803
10881
|
};
|
|
10804
|
-
const clearContext = async () => {
|
|
10805
|
-
try {
|
|
10806
|
-
const result = await clearMemberContext({
|
|
10807
|
-
requestId: mintRequestId(),
|
|
10808
|
-
workspaceId: status.member.workspaceId,
|
|
10809
|
-
memberId: status.member.memberId
|
|
10810
|
-
});
|
|
10811
|
-
await onUpdated();
|
|
10812
|
-
if (!result.ok) {
|
|
10813
|
-
setRowAlert(t("clearContextFailed", { message: result.error.message }));
|
|
10814
|
-
return;
|
|
10815
|
-
}
|
|
10816
|
-
setRowAlert(void 0);
|
|
10817
|
-
if (current === true) openMemberSession(result.value.status.member.sessionId);
|
|
10818
|
-
} catch (cause) {
|
|
10819
|
-
setRowAlert(t("clearContextFailed", { message: cause instanceof Error ? cause.message : String(cause) }));
|
|
10820
|
-
}
|
|
10821
|
-
};
|
|
10822
|
-
const contextClearable = status.presence === "available" || status.presence === "error";
|
|
10823
10882
|
const archive = async () => {
|
|
10824
10883
|
try {
|
|
10825
10884
|
const result = await archiveMember({
|
|
@@ -10872,18 +10931,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10872
10931
|
label: t("restartAgent"),
|
|
10873
10932
|
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconRefreshOutline16, {})
|
|
10874
10933
|
}] : [],
|
|
10875
|
-
{
|
|
10876
|
-
id: "clear-context",
|
|
10877
|
-
label: t("clearContextAgent"),
|
|
10878
|
-
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconNewChatOutline16, {}),
|
|
10879
|
-
danger: true,
|
|
10880
|
-
disabled: !contextClearable
|
|
10881
|
-
},
|
|
10882
|
-
...!contextClearable ? [{
|
|
10883
|
-
type: "label",
|
|
10884
|
-
id: "clear-context-reason",
|
|
10885
|
-
text: status.presence === "working" ? t("clearContextWorkingReason") : t("clearContextUnavailableReason")
|
|
10886
|
-
}] : [],
|
|
10887
10934
|
{
|
|
10888
10935
|
id: "archive",
|
|
10889
10936
|
label: t("archiveAgent"),
|
|
@@ -10893,7 +10940,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10893
10940
|
],
|
|
10894
10941
|
onSelect: (id) => {
|
|
10895
10942
|
if (id === "edit") setEditing(true);
|
|
10896
|
-
else if (id === "clear-context") setClearing(true);
|
|
10897
10943
|
else if (id === "archive") setArchiving(true);
|
|
10898
10944
|
else recover();
|
|
10899
10945
|
},
|
|
@@ -10906,33 +10952,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
10906
10952
|
role: "alert",
|
|
10907
10953
|
children: rowAlert
|
|
10908
10954
|
}),
|
|
10909
|
-
clearing && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
10910
|
-
open: true,
|
|
10911
|
-
onClose: () => {
|
|
10912
|
-
setClearing(false);
|
|
10913
|
-
},
|
|
10914
|
-
title: t("clearContextTitle", { name: status.member.handle }),
|
|
10915
|
-
closeLabel: t("close"),
|
|
10916
|
-
contentClassName: create_module_css_default.dialogContent,
|
|
10917
|
-
footer: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
10918
|
-
variant: "outline",
|
|
10919
|
-
onClick: () => {
|
|
10920
|
-
setClearing(false);
|
|
10921
|
-
},
|
|
10922
|
-
children: t("cancel")
|
|
10923
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
10924
|
-
variant: "primary",
|
|
10925
|
-
onClick: () => {
|
|
10926
|
-
setClearing(false);
|
|
10927
|
-
clearContext();
|
|
10928
|
-
},
|
|
10929
|
-
children: t("clearContextConfirm")
|
|
10930
|
-
})] }),
|
|
10931
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10932
|
-
className: create_module_css_default.error,
|
|
10933
|
-
children: t("clearContextNotice", { name: status.member.handle })
|
|
10934
|
-
})
|
|
10935
|
-
}),
|
|
10936
10955
|
archiving && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
10937
10956
|
open: true,
|
|
10938
10957
|
onClose: () => {
|
|
@@ -11576,7 +11595,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11576
11595
|
}
|
|
11577
11596
|
//#endregion
|
|
11578
11597
|
//#region src/client/TeamWorkspaceBrowser.tsx
|
|
11579
|
-
function TeamWorkspaceBrowser({ wide, expandSidebar, navigation, selectWorkspace, selectChannel, t, useWorkspaces, loadMembers, subscribeChanges, addMember, loadChannels, createChannel, updateChannel, archiveChannel, updateMember, recoverMember,
|
|
11598
|
+
function TeamWorkspaceBrowser({ wide, expandSidebar, navigation, selectWorkspace, selectChannel, t, useWorkspaces, loadMembers, subscribeChanges, addMember, loadChannels, createChannel, updateChannel, archiveChannel, updateMember, recoverMember, archiveMember, joinChannel, removeChannelMember, loadModels, openMemberSession }) {
|
|
11580
11599
|
const navigationState = (0, react.useSyncExternalStore)(navigation.subscribe, navigation.getSnapshot, navigation.getSnapshot);
|
|
11581
11600
|
const workspaces = useWorkspaces((state) => state.items);
|
|
11582
11601
|
const selected = navigationState.workspaceId;
|
|
@@ -11685,7 +11704,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11685
11704
|
addMember,
|
|
11686
11705
|
updateMember,
|
|
11687
11706
|
recoverMember,
|
|
11688
|
-
clearMemberContext,
|
|
11689
11707
|
archiveMember,
|
|
11690
11708
|
loadModels,
|
|
11691
11709
|
...navigationState.memberSessionId === void 0 ? {} : { memberSessionId: navigationState.memberSessionId },
|
|
@@ -11744,13 +11762,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11744
11762
|
restartAgent: "重启",
|
|
11745
11763
|
restartStillUnavailable: "重启已执行,成员仍不可用:{diagnostic}",
|
|
11746
11764
|
restartFailed: "重启执行失败:{message}",
|
|
11747
|
-
clearContextAgent: "从全新上下文开始",
|
|
11748
|
-
clearContextWorkingReason: "成员正在工作中,完成后才能清空上下文",
|
|
11749
|
-
clearContextUnavailableReason: "成员当前不可用,恢复在线且空闲后才能清空上下文",
|
|
11750
|
-
clearContextTitle: "从全新上下文开始:{name}",
|
|
11751
|
-
clearContextNotice: "将结束 {name} 当前的会话上下文并从空白开始:旧对话会归档保留在会话记录中。{name} 的身份、私有记忆与 notes、频道和会话绑定都保持不变,后续协作从新上下文继续累积。",
|
|
11752
|
-
clearContextConfirm: "开始全新上下文",
|
|
11753
|
-
clearContextFailed: "清空上下文失败:{message}",
|
|
11754
11765
|
archiveAgent: "归档",
|
|
11755
11766
|
archiveAgentTitle: "归档 Agent:{name}",
|
|
11756
11767
|
archiveAgentNotice: "将把 {name} 从所有列表收起:会话与私有记忆保留在磁盘上、活跃 Claim 会释放,但暂无恢复入口。",
|
|
@@ -11899,13 +11910,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11899
11910
|
restartAgent: "Restart",
|
|
11900
11911
|
restartStillUnavailable: "Restart ran, but the Member is still unavailable: {diagnostic}",
|
|
11901
11912
|
restartFailed: "Restart failed: {message}",
|
|
11902
|
-
clearContextAgent: "Start from new context",
|
|
11903
|
-
clearContextWorkingReason: "The Member is working; clear once the current turn ends",
|
|
11904
|
-
clearContextUnavailableReason: "The Member is unavailable; only an idle available Member can start from a new context",
|
|
11905
|
-
clearContextTitle: "Start from new context: {name}",
|
|
11906
|
-
clearContextNotice: "This ends {name}'s current session context and starts blank: the previous conversation is archived and stays in the session history. {name}'s identity, private memory and notes, channel and session bindings are untouched, and future collaboration accumulates from the new context.",
|
|
11907
|
-
clearContextConfirm: "Start from new context",
|
|
11908
|
-
clearContextFailed: "Failed to clear context: {message}",
|
|
11909
11913
|
archiveAgent: "Archive",
|
|
11910
11914
|
archiveAgentTitle: "Archive Agent: {name}",
|
|
11911
11915
|
archiveAgentNotice: "This hides {name} from every list: the session log and private memory stay on disk and active Claims release, but there is no restore entry point yet.",
|
|
@@ -12024,7 +12028,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12024
12028
|
"connection",
|
|
12025
12029
|
"conversation"
|
|
12026
12030
|
];
|
|
12027
|
-
function registerModeShadow(ctx, navigation, changes, drafts, name, component, extraInject) {
|
|
12031
|
+
function registerModeShadow(ctx, navigation, changes, drafts, name, component, extraInject, entryKey) {
|
|
12028
12032
|
const openMemberSessionImpl = (sessionId) => {
|
|
12029
12033
|
const sessions = ctx.sessions;
|
|
12030
12034
|
const snapshot = navigation.getSnapshot();
|
|
@@ -12053,9 +12057,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12053
12057
|
let dispose;
|
|
12054
12058
|
const reconcile = () => {
|
|
12055
12059
|
const snapshot = navigation.getSnapshot();
|
|
12056
|
-
const active = snapshot.mode === "team" && !(name === "
|
|
12060
|
+
const active = snapshot.mode === "team" && !(name === "main" && snapshot.memberSessionId !== void 0);
|
|
12057
12061
|
if (active && dispose === void 0) dispose = ctx.slots.register({
|
|
12058
12062
|
name,
|
|
12063
|
+
...entryKey === void 0 ? {} : { key: entryKey },
|
|
12059
12064
|
priority: -100,
|
|
12060
12065
|
locale: NS,
|
|
12061
12066
|
inject: () => ({
|
|
@@ -12063,7 +12068,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12063
12068
|
...extraInject?.(),
|
|
12064
12069
|
...navigation.actions(),
|
|
12065
12070
|
...sharedRemotes,
|
|
12066
|
-
...name === "
|
|
12071
|
+
...name === "main" ? {
|
|
12067
12072
|
readThread: (request) => ctx.remote.agentTeam.readThread(request),
|
|
12068
12073
|
loadThreadHistory: (request) => ctx.remote.agentTeam.threadHistory(request),
|
|
12069
12074
|
threadObservations: (request) => ctx.remote.agentTeam.threadObservations(request),
|
|
@@ -12110,6 +12115,25 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12110
12115
|
disposeNavigation();
|
|
12111
12116
|
disposeDrafts();
|
|
12112
12117
|
}, "agent-team: navigation service");
|
|
12118
|
+
ctx.effect(() => {
|
|
12119
|
+
let previous = navigation.getSnapshot();
|
|
12120
|
+
const restore = () => {
|
|
12121
|
+
const snapshot = navigation.getSnapshot();
|
|
12122
|
+
const departed = previous.memberSessionId;
|
|
12123
|
+
const returnTo = previous.returnToSessionId;
|
|
12124
|
+
previous = snapshot;
|
|
12125
|
+
if (departed === void 0 || snapshot.memberSessionId !== void 0) return;
|
|
12126
|
+
const sessions = ctx.sessions;
|
|
12127
|
+
if (sessions.list.getSnapshot().current !== departed) return;
|
|
12128
|
+
if (returnTo !== void 0 && sessions.list.getSnapshot().byId[returnTo] !== void 0) sessions.open(returnTo);
|
|
12129
|
+
else sessions.clear();
|
|
12130
|
+
};
|
|
12131
|
+
const unsubscribe = navigation.subscribe(restore);
|
|
12132
|
+
return () => {
|
|
12133
|
+
unsubscribe();
|
|
12134
|
+
restore();
|
|
12135
|
+
};
|
|
12136
|
+
}, "agent-team: member session restore");
|
|
12113
12137
|
const changes = new TeamChangeStream((request, signal) => ctx.remote.agentTeam.changes(request, signal));
|
|
12114
12138
|
const loadMemberGroups = async () => {
|
|
12115
12139
|
const workspaces = ctx.workspaces.list.getSnapshot().items;
|
|
@@ -12133,21 +12157,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
12133
12157
|
navigation,
|
|
12134
12158
|
...navigation.actions(),
|
|
12135
12159
|
leaveTeam: () => {
|
|
12136
|
-
const snapshot = navigation.getSnapshot();
|
|
12137
|
-
if (snapshot.memberSessionId === void 0) {
|
|
12138
|
-
navigation.actions().leaveTeam();
|
|
12139
|
-
return;
|
|
12140
|
-
}
|
|
12141
|
-
const returnTo = snapshot.returnToSessionId;
|
|
12142
12160
|
navigation.actions().exitMemberSession();
|
|
12143
|
-
if (returnTo !== void 0) ctx.sessions.open(returnTo);
|
|
12144
12161
|
navigation.actions().leaveTeam();
|
|
12145
12162
|
},
|
|
12146
12163
|
loadMemberGroups
|
|
12147
12164
|
})
|
|
12148
12165
|
}, TeamFooterAction));
|
|
12149
12166
|
registerModeShadow(ctx, navigation, changes, drafts, "sidebar.workspaces", TeamWorkspaceBrowser);
|
|
12150
|
-
registerModeShadow(ctx, navigation, changes, drafts, "
|
|
12167
|
+
registerModeShadow(ctx, navigation, changes, drafts, "main", TeamConversation, void 0, "conversation");
|
|
12151
12168
|
registerModeShadow(ctx, navigation, changes, drafts, "sidebar.settings", TeamSettings, () => ({ loadMemberGroups }));
|
|
12152
12169
|
}
|
|
12153
12170
|
async function apply(ctx) {
|