@wowyuarm/dsh-agent-team 0.1.8 → 0.1.9

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.
Files changed (66) hide show
  1. package/package.json +2 -1
  2. package/packages/agent-team/README.md +5 -3
  3. package/packages/agent-team/README.zh.md +5 -3
  4. package/packages/agent-team/lib/attachments.js +14 -4
  5. package/packages/agent-team/lib/context-management.js +379 -0
  6. package/packages/agent-team/lib/context-projection.js +574 -0
  7. package/packages/agent-team/lib/context-source.js +72 -0
  8. package/packages/agent-team/lib/index.js +1208 -62
  9. package/packages/agent-team/lib/ledger.js +222 -14
  10. package/packages/agent-team/lib/member-context.js +6 -2
  11. package/packages/agent-team/lib/member-runtime.js +159 -4
  12. package/packages/agent-team/lib/pressure-policy.js +200 -0
  13. package/packages/agent-team/lib/spec.js +18 -0
  14. package/packages/agent-team/lib/typert.host.js +122 -41
  15. package/packages/agent-team/lib/typert.remote-client.d.ts.map +1 -1
  16. package/packages/agent-team/lib/typert.remote-client.js +38 -25
  17. package/packages/agent-team/lib/types/attachments.d.ts +1 -1
  18. package/packages/agent-team/lib/types/attachments.d.ts.map +1 -1
  19. package/packages/agent-team/lib/types/context-management.d.ts +142 -0
  20. package/packages/agent-team/lib/types/context-management.d.ts.map +1 -0
  21. package/packages/agent-team/lib/types/context-projection.d.ts +219 -0
  22. package/packages/agent-team/lib/types/context-projection.d.ts.map +1 -0
  23. package/packages/agent-team/lib/types/context-source.d.ts +83 -0
  24. package/packages/agent-team/lib/types/context-source.d.ts.map +1 -0
  25. package/packages/agent-team/lib/types/index.d.ts +275 -2
  26. package/packages/agent-team/lib/types/index.d.ts.map +1 -1
  27. package/packages/agent-team/lib/types/ledger.d.ts +94 -6
  28. package/packages/agent-team/lib/types/ledger.d.ts.map +1 -1
  29. package/packages/agent-team/lib/types/member-context.d.ts.map +1 -1
  30. package/packages/agent-team/lib/types/member-runtime.d.ts +30 -2
  31. package/packages/agent-team/lib/types/member-runtime.d.ts.map +1 -1
  32. package/packages/agent-team/lib/types/pressure-policy.d.ts +106 -0
  33. package/packages/agent-team/lib/types/pressure-policy.d.ts.map +1 -0
  34. package/packages/agent-team/lib/types/spec.d.ts.map +1 -1
  35. package/packages/agent-team/lib/types/types/entities.d.ts +14 -1
  36. package/packages/agent-team/lib/types/types/entities.d.ts.map +1 -1
  37. package/packages/agent-team/lib/types/types/operations.d.ts +38 -3
  38. package/packages/agent-team/lib/types/types/operations.d.ts.map +1 -1
  39. package/packages/agent-team/lib/types/types/requests-results.d.ts +52 -1
  40. package/packages/agent-team/lib/types/types/requests-results.d.ts.map +1 -1
  41. package/packages/agent-team/preset/team-member/agent.cordis.yml +9 -1
  42. package/packages/client-agent-team/lib/client.js +314 -323
  43. package/packages/client-agent-team/lib/client.js.map +1 -1
  44. package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.d.ts +1 -2
  45. package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.d.ts.map +1 -1
  46. package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.js +61 -41
  47. package/packages/client-agent-team/lib/types/client/TeamWorkspaceBrowser.d.ts +1 -1
  48. package/packages/client-agent-team/lib/types/client/TeamWorkspaceBrowser.d.ts.map +1 -1
  49. package/packages/client-agent-team/lib/types/client/TeamWorkspaceBrowser.js +2 -2
  50. package/packages/client-agent-team/lib/types/client/index.d.ts.map +1 -1
  51. package/packages/client-agent-team/lib/types/client/index.js +34 -11
  52. package/packages/client-agent-team/lib/types/client/locales.d.ts +0 -14
  53. package/packages/client-agent-team/lib/types/client/locales.d.ts.map +1 -1
  54. package/packages/client-agent-team/lib/types/client/locales.js +0 -14
  55. package/packages/client-agent-team/lib/types/client/slots.d.ts +5 -0
  56. package/packages/client-agent-team/lib/types/client/slots.d.ts.map +1 -1
  57. package/packages/tool-agent-team/README.md +8 -5
  58. package/packages/tool-agent-team/README.zh.md +8 -5
  59. package/packages/tool-agent-team/lib/context-tools.js +179 -0
  60. package/packages/tool-agent-team/lib/index.js +135 -16
  61. package/packages/tool-agent-team/lib/types/context-tools.d.ts +16 -0
  62. package/packages/tool-agent-team/lib/types/context-tools.d.ts.map +1 -0
  63. package/packages/tool-agent-team/lib/types/index.d.ts.map +1 -1
  64. package/packages/agent-team/lib/auto-compaction.js +0 -201
  65. package/packages/agent-team/lib/types/auto-compaction.d.ts +0 -47
  66. 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 ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.js
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 ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.js
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 ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/errors.js
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 ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/parse.js
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 ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/regexes.js
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 ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/checks.js
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 ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/doc.js
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 ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/versions.js
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 ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/schemas.js
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 ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/registries.js
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 ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.js
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 ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/to-json-schema.js
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 ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-processors.js
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 ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.js
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 ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/errors.js
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 ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/parse.js
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 ../../../dsh-agent-team/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.js
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);
@@ -4322,6 +4322,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4322
4322
  ]).readonly(),
4323
4323
  "releasedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
4324
4324
  "completedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
4325
+ "acceptedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
4325
4326
  "activityRef": intersection(string(), unknown()).readonly(),
4326
4327
  "taskRef": intersection(string(), unknown()).readonly(),
4327
4328
  "threadRef": intersection(string(), unknown()).readonly(),
@@ -4605,6 +4606,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4605
4606
  ]).readonly(),
4606
4607
  "releasedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
4607
4608
  "completedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
4609
+ "acceptedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
4608
4610
  "activityRef": intersection(string(), unknown()).readonly(),
4609
4611
  "taskRef": intersection(string(), unknown()).readonly(),
4610
4612
  "threadRef": intersection(string(), unknown()).readonly(),
@@ -4749,6 +4751,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4749
4751
  ]).readonly(),
4750
4752
  "releasedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
4751
4753
  "completedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
4754
+ "acceptedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
4752
4755
  "activityRef": intersection(string(), unknown()).readonly(),
4753
4756
  "taskRef": intersection(string(), unknown()).readonly(),
4754
4757
  "threadRef": intersection(string(), unknown()).readonly(),
@@ -4795,7 +4798,20 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4795
4798
  "threadRef": intersection(string(), unknown()).readonly(),
4796
4799
  "messageRef": intersection(string(), unknown()).readonly(),
4797
4800
  "sequence": number().readonly()
4798
- })).readonly()
4801
+ })).readonly(),
4802
+ "contextAdvice": object({
4803
+ "usageTokens": union([_undefined(), number()]).readonly().optional(),
4804
+ "taskBoundaryThreshold": union([_undefined(), number()]).readonly().optional(),
4805
+ "handoffAt": union([_undefined(), number()]).readonly().optional(),
4806
+ "hardLimit": union([_undefined(), number()]).readonly().optional(),
4807
+ "action": union([
4808
+ literal("unavailable"),
4809
+ literal("keep"),
4810
+ literal("rollover"),
4811
+ literal("handoff-now")
4812
+ ]).readonly(),
4813
+ "guidance": string().readonly()
4814
+ }).readonly().optional()
4799
4815
  });
4800
4816
  const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema = object({
4801
4817
  "requestId": intersection(string(), unknown()).readonly(),
@@ -5181,6 +5197,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5181
5197
  ]).readonly(),
5182
5198
  "releasedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
5183
5199
  "completedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
5200
+ "acceptedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
5184
5201
  "activityRef": intersection(string(), unknown()).readonly(),
5185
5202
  "taskRef": intersection(string(), unknown()).readonly(),
5186
5203
  "threadRef": intersection(string(), unknown()).readonly(),
@@ -5435,6 +5452,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5435
5452
  ]).readonly(),
5436
5453
  "releasedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
5437
5454
  "completedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
5455
+ "acceptedClaimRefs": union([_undefined(), array(intersection(string(), unknown()))]).readonly().optional(),
5438
5456
  "activityRef": intersection(string(), unknown()).readonly(),
5439
5457
  "taskRef": intersection(string(), unknown()).readonly(),
5440
5458
  "threadRef": intersection(string(), unknown()).readonly(),
@@ -5493,7 +5511,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5493
5511
  },
5494
5512
  sourceLocation: {
5495
5513
  "file": "packages/agent-team/src/index.ts",
5496
- "line": 475,
5514
+ "line": 616,
5497
5515
  "column": 9
5498
5516
  }
5499
5517
  },
@@ -5520,7 +5538,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5520
5538
  },
5521
5539
  sourceLocation: {
5522
5540
  "file": "packages/agent-team/src/index.ts",
5523
- "line": 465,
5541
+ "line": 606,
5524
5542
  "column": 9
5525
5543
  }
5526
5544
  },
@@ -5547,7 +5565,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5547
5565
  },
5548
5566
  sourceLocation: {
5549
5567
  "file": "packages/agent-team/src/index.ts",
5550
- "line": 745,
5568
+ "line": 987,
5551
5569
  "column": 9
5552
5570
  }
5553
5571
  },
@@ -5574,7 +5592,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5574
5592
  },
5575
5593
  sourceLocation: {
5576
5594
  "file": "packages/agent-team/src/index.ts",
5577
- "line": 867,
5595
+ "line": 1109,
5578
5596
  "column": 9
5579
5597
  }
5580
5598
  },
@@ -5602,7 +5620,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5602
5620
  },
5603
5621
  sourceLocation: {
5604
5622
  "file": "packages/agent-team/src/index.ts",
5605
- "line": 397,
5623
+ "line": 538,
5606
5624
  "column": 9
5607
5625
  }
5608
5626
  },
@@ -5629,7 +5647,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5629
5647
  },
5630
5648
  sourceLocation: {
5631
5649
  "file": "packages/agent-team/src/index.ts",
5632
- "line": 757,
5650
+ "line": 999,
5633
5651
  "column": 9
5634
5652
  }
5635
5653
  },
@@ -5656,7 +5674,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5656
5674
  },
5657
5675
  sourceLocation: {
5658
5676
  "file": "packages/agent-team/src/index.ts",
5659
- "line": 568,
5677
+ "line": 715,
5660
5678
  "column": 9
5661
5679
  }
5662
5680
  },
@@ -5683,7 +5701,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5683
5701
  },
5684
5702
  sourceLocation: {
5685
5703
  "file": "packages/agent-team/src/index.ts",
5686
- "line": 438,
5704
+ "line": 579,
5687
5705
  "column": 9
5688
5706
  }
5689
5707
  },
@@ -5710,7 +5728,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5710
5728
  },
5711
5729
  sourceLocation: {
5712
5730
  "file": "packages/agent-team/src/index.ts",
5713
- "line": 853,
5731
+ "line": 1095,
5714
5732
  "column": 9
5715
5733
  }
5716
5734
  },
@@ -5737,7 +5755,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5737
5755
  },
5738
5756
  sourceLocation: {
5739
5757
  "file": "packages/agent-team/src/index.ts",
5740
- "line": 876,
5758
+ "line": 1118,
5741
5759
  "column": 3
5742
5760
  }
5743
5761
  },
@@ -5764,7 +5782,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5764
5782
  },
5765
5783
  sourceLocation: {
5766
5784
  "file": "packages/agent-team/src/index.ts",
5767
- "line": 777,
5785
+ "line": 1019,
5768
5786
  "column": 9
5769
5787
  }
5770
5788
  },
@@ -5792,7 +5810,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5792
5810
  },
5793
5811
  sourceLocation: {
5794
5812
  "file": "packages/agent-team/src/index.ts",
5795
- "line": 388,
5813
+ "line": 529,
5796
5814
  "column": 3
5797
5815
  }
5798
5816
  },
@@ -5819,7 +5837,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5819
5837
  },
5820
5838
  sourceLocation: {
5821
5839
  "file": "packages/agent-team/src/index.ts",
5822
- "line": 767,
5840
+ "line": 1009,
5823
5841
  "column": 9
5824
5842
  }
5825
5843
  },
@@ -5846,7 +5864,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5846
5864
  },
5847
5865
  sourceLocation: {
5848
5866
  "file": "packages/agent-team/src/index.ts",
5849
- "line": 840,
5867
+ "line": 1082,
5850
5868
  "column": 9
5851
5869
  }
5852
5870
  },
@@ -5873,7 +5891,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5873
5891
  },
5874
5892
  sourceLocation: {
5875
5893
  "file": "packages/agent-team/src/index.ts",
5876
- "line": 883,
5894
+ "line": 1125,
5877
5895
  "column": 9
5878
5896
  }
5879
5897
  },
@@ -5900,7 +5918,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5900
5918
  },
5901
5919
  sourceLocation: {
5902
5920
  "file": "packages/agent-team/src/index.ts",
5903
- "line": 529,
5921
+ "line": 676,
5904
5922
  "column": 9
5905
5923
  }
5906
5924
  },
@@ -5927,7 +5945,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5927
5945
  },
5928
5946
  sourceLocation: {
5929
5947
  "file": "packages/agent-team/src/index.ts",
5930
- "line": 788,
5948
+ "line": 1030,
5931
5949
  "column": 9
5932
5950
  }
5933
5951
  },
@@ -5954,7 +5972,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5954
5972
  },
5955
5973
  sourceLocation: {
5956
5974
  "file": "packages/agent-team/src/index.ts",
5957
- "line": 861,
5975
+ "line": 1103,
5958
5976
  "column": 9
5959
5977
  }
5960
5978
  },
@@ -5981,7 +5999,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5981
5999
  },
5982
6000
  sourceLocation: {
5983
6001
  "file": "packages/agent-team/src/index.ts",
5984
- "line": 375,
6002
+ "line": 516,
5985
6003
  "column": 3
5986
6004
  }
5987
6005
  },
@@ -6008,7 +6026,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6008
6026
  },
6009
6027
  sourceLocation: {
6010
6028
  "file": "packages/agent-team/src/index.ts",
6011
- "line": 797,
6029
+ "line": 1039,
6012
6030
  "column": 9
6013
6031
  }
6014
6032
  },
@@ -6035,7 +6053,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6035
6053
  },
6036
6054
  sourceLocation: {
6037
6055
  "file": "packages/agent-team/src/index.ts",
6038
- "line": 899,
6056
+ "line": 1141,
6039
6057
  "column": 3
6040
6058
  }
6041
6059
  },
@@ -6062,7 +6080,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6062
6080
  },
6063
6081
  sourceLocation: {
6064
6082
  "file": "packages/agent-team/src/index.ts",
6065
- "line": 892,
6083
+ "line": 1134,
6066
6084
  "column": 3
6067
6085
  }
6068
6086
  },
@@ -6089,7 +6107,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6089
6107
  },
6090
6108
  sourceLocation: {
6091
6109
  "file": "packages/agent-team/src/index.ts",
6092
- "line": 450,
6110
+ "line": 591,
6093
6111
  "column": 9
6094
6112
  }
6095
6113
  },
@@ -6116,7 +6134,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6116
6134
  },
6117
6135
  sourceLocation: {
6118
6136
  "file": "packages/agent-team/src/index.ts",
6119
- "line": 685,
6137
+ "line": 927,
6120
6138
  "column": 9
6121
6139
  }
6122
6140
  },
@@ -6143,7 +6161,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6143
6161
  },
6144
6162
  sourceLocation: {
6145
6163
  "file": "packages/agent-team/src/index.ts",
6146
- "line": 906,
6164
+ "line": 1148,
6147
6165
  "column": 3
6148
6166
  }
6149
6167
  }
@@ -6515,8 +6533,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6515
6533
  }
6516
6534
  };
6517
6535
  //#endregion
6518
- //#region \0dsh-css:/home/yu/projects/release-018/packages/client-agent-team/src/client/team.module.css.mjs
6519
- const css$9 = "._2DPuGW_footerStack{flex:none;width:100%;height:42px;margin:8px 0 0;display:flex}._2DPuGW_footerAction,._2DPuGW_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}._2DPuGW_footerAction{margin:0 -2px}._2DPuGW_settingsAction{margin:4px -2px}._2DPuGW_footerAction:hover,._2DPuGW_footerAction:focus-visible,._2DPuGW_settingsAction:hover,._2DPuGW_settingsAction:focus-visible{background:var(--dsw-alias-interactive-bg-hover);outline:none}._2DPuGW_footerAction._2DPuGW_rail,._2DPuGW_settingsAction._2DPuGW_rail{border-radius:50%;justify-content:center;width:36px;height:36px;padding:0}._2DPuGW_footerAction._2DPuGW_rail{margin:0}._2DPuGW_settingsAction._2DPuGW_rail{margin:8px 0 10px}._2DPuGW_railStack{align-items:center;width:36px;height:36px;margin:0}";
6536
+ //#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/team.module.css.mjs
6537
+ 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
6538
  const tagId$9 = "@wowyuarm/dsh-agent-team/team.module.css";
6521
6539
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$9) + "]") === null) {
6522
6540
  const tag = document.createElement("style");
@@ -6526,11 +6544,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6526
6544
  document.head.appendChild(tag);
6527
6545
  }
6528
6546
  var team_module_css_default = {
6529
- "footerAction": "_2DPuGW_footerAction",
6530
- "footerStack": "_2DPuGW_footerStack",
6531
- "rail": "_2DPuGW_rail",
6532
- "railStack": "_2DPuGW_railStack",
6533
- "settingsAction": "_2DPuGW_settingsAction"
6547
+ "footerAction": "YvAbSa_footerAction",
6548
+ "footerStack": "YvAbSa_footerStack",
6549
+ "rail": "YvAbSa_rail",
6550
+ "railStack": "YvAbSa_railStack",
6551
+ "settingsAction": "YvAbSa_settingsAction"
6534
6552
  };
6535
6553
  //#endregion
6536
6554
  //#region src/client/TeamFooterAction.tsx
@@ -6565,8 +6583,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6565
6583
  }) });
6566
6584
  }
6567
6585
  //#endregion
6568
- //#region \0dsh-css:/home/yu/projects/release-018/packages/client-agent-team/src/client/state-dot.module.css.mjs
6569
- const css$8 = "._0Md7GW_quiet{border-radius:50%;flex:none;display:inline-block;position:relative}._0Md7GW_quiet[data-variant=todo]{border:1px solid var(--dsw-alias-label-tertiary)}._0Md7GW_quiet[data-variant=quiet]{color:var(--dsw-alias-label-tertiary)}._0Md7GW_quiet[data-variant=quiet]:before{content:\"\";opacity:.1;background:currentColor;border-radius:50%;position:absolute;inset:0}._0Md7GW_quiet[data-variant=quiet]:after{content:\"\";background:currentColor;border-radius:50%;position:absolute;inset:20%}";
6586
+ //#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/state-dot.module.css.mjs
6587
+ 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
6588
  const tagId$8 = "@wowyuarm/dsh-agent-team/state-dot.module.css";
6571
6589
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$8) + "]") === null) {
6572
6590
  const tag = document.createElement("style");
@@ -6575,7 +6593,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6575
6593
  tag.textContent = css$8;
6576
6594
  document.head.appendChild(tag);
6577
6595
  }
6578
- var state_dot_module_css_default = { "quiet": "_0Md7GW_quiet" };
6596
+ var state_dot_module_css_default = { "quiet": "DalNWW_quiet" };
6579
6597
  //#endregion
6580
6598
  //#region src/client/TeamStateDot.tsx
6581
6599
  /**
@@ -6600,8 +6618,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6600
6618
  });
6601
6619
  }
6602
6620
  //#endregion
6603
- //#region \0dsh-css:/home/yu/projects/release-018/packages/client-agent-team/src/client/presence.module.css.mjs
6604
- const css$7 = "._3bLURW_target{flex:0 0 14px;justify-content:center;align-items:center;display:inline-flex}";
6621
+ //#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/presence.module.css.mjs
6622
+ const css$7 = ".-\\36 lQ-q_target{flex:0 0 14px;justify-content:center;align-items:center;display:inline-flex}";
6605
6623
  const tagId$7 = "@wowyuarm/dsh-agent-team/presence.module.css";
6606
6624
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$7) + "]") === null) {
6607
6625
  const tag = document.createElement("style");
@@ -6610,7 +6628,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6610
6628
  tag.textContent = css$7;
6611
6629
  document.head.appendChild(tag);
6612
6630
  }
6613
- var presence_module_css_default = { "target": "_3bLURW_target" };
6631
+ var presence_module_css_default = { "target": "-6lQ-q_target" };
6614
6632
  //#endregion
6615
6633
  //#region src/client/TeamPresenceDot.tsx
6616
6634
  function presenceLabel(status, t) {
@@ -6635,8 +6653,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6635
6653
  });
6636
6654
  }
6637
6655
  //#endregion
6638
- //#region \0dsh-css:/home/yu/projects/release-018/packages/client-agent-team/src/client/members.module.css.mjs
6639
- const css$6 = "._5nHZqG_body{max-height:min(65vh,560px);overflow-y:auto}._5nHZqG_content{outline:none;gap:12px;display:grid}._5nHZqG_group{gap:3px;display:grid}._5nHZqG_group+._5nHZqG_group{border-top:1px solid var(--dsw-alias-border-l2);padding-top:10px}._5nHZqG_group h3{color:var(--dsw-alias-label-secondary);margin:0 0 3px;font-size:12px;font-weight:600;line-height:18px}._5nHZqG_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}._5nHZqG_member:hover{background:var(--dsw-alias-interactive-bg-hover)}._5nHZqG_copy{min-width:0;display:grid}._5nHZqG_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}._5nHZqG_copy small{color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:14px;overflow:hidden}._5nHZqG_state,._5nHZqG_error{margin:0;padding:6px 0;font-size:12px;line-height:18px}._5nHZqG_state{color:var(--dsw-alias-label-tertiary)}._5nHZqG_error{color:var(--dsw-alias-state-error-primary)}@media (width<=600px){._5nHZqG_body{max-height:calc(100vh - 160px)}}";
6656
+ //#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/members.module.css.mjs
6657
+ 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
6658
  const tagId$6 = "@wowyuarm/dsh-agent-team/members.module.css";
6641
6659
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$6) + "]") === null) {
6642
6660
  const tag = document.createElement("style");
@@ -6646,13 +6664,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6646
6664
  document.head.appendChild(tag);
6647
6665
  }
6648
6666
  var members_module_css_default = {
6649
- "body": "_5nHZqG_body",
6650
- "content": "_5nHZqG_content",
6651
- "copy": "_5nHZqG_copy",
6652
- "error": "_5nHZqG_error",
6653
- "group": "_5nHZqG_group",
6654
- "member": "_5nHZqG_member",
6655
- "state": "_5nHZqG_state"
6667
+ "body": "UkovOW_body",
6668
+ "content": "UkovOW_content",
6669
+ "copy": "UkovOW_copy",
6670
+ "error": "UkovOW_error",
6671
+ "group": "UkovOW_group",
6672
+ "member": "UkovOW_member",
6673
+ "state": "UkovOW_state"
6656
6674
  };
6657
6675
  //#endregion
6658
6676
  //#region src/client/TeamMembersAction.tsx
@@ -6790,8 +6808,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6790
6808
  /** Fresh idempotency identity for one Client-initiated durable request. */
6791
6809
  const mintRequestId = () => crypto.randomUUID();
6792
6810
  //#endregion
6793
- //#region \0dsh-css:/home/yu/projects/release-018/packages/client-agent-team/src/client/composer.module.css.mjs
6794
- const css$5 = ".wh0I9G_root{padding:0 var(--dsh-composer-side-clearance,16px) 8px;flex-direction:column;align-items:center;display:flex}.wh0I9G_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}.wh0I9G_inputArea{min-height:28px;position:relative}.wh0I9G_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}.wh0I9G_inputArea textarea::placeholder{color:var(--dsw-alias-label-caption,var(--dsw-alias-label-tertiary))}.wh0I9G_inputArea textarea:disabled{cursor:not-allowed;opacity:.55}.wh0I9G_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}.wh0I9G_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}.wh0I9G_mentionOption:hover,.wh0I9G_mentionOption[aria-selected=true]{background:var(--dsw-alias-interactive-bg-hover)}.wh0I9G_mentionName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.wh0I9G_mentionAllDot{background:var(--dsw-alias-label-primary);border-radius:50%;justify-self:center;width:8px;height:8px}.wh0I9G_mentionDescription{min-width:0;color:var(--dsw-alias-label-tertiary,var(--dsw-alias-label-tertiary));text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.wh0I9G_toolbar{justify-content:flex-end;align-items:center;gap:6px;min-height:34px;padding:2px 8px 6px;display:flex}.wh0I9G_asTaskOn[aria-pressed=true],.wh0I9G_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)}.wh0I9G_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}.wh0I9G_attachButton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover-solid)}.wh0I9G_attachButton:disabled{cursor:default;opacity:.5}.wh0I9G_attachButton:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,var(--dsw-specific-selector));outline-offset:1px}.wh0I9G_fileInput{display:none}.wh0I9G_fileChips{flex-wrap:wrap;gap:4px;margin:0;padding:4px 8px 0;list-style:none;display:flex}.wh0I9G_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}.wh0I9G_fileChipSize{color:var(--dsw-alias-label-tertiary);margin-left:6px}.wh0I9G_imageChip{align-items:center;display:flex}.wh0I9G_imageChipPreview{border:1px solid var(--dsw-alias-border-l2);object-fit:cover;border-radius:4px;width:56px;height:40px}.wh0I9G_fileChipName{text-overflow:ellipsis;white-space:nowrap;max-width:220px;font-size:11px;line-height:16px;overflow:hidden}.wh0I9G_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}.wh0I9G_fileChipRemove:hover,.wh0I9G_fileChipRemove:focus-visible{color:var(--dsw-alias-label-primary);outline:none}.wh0I9G_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}.wh0I9G_sendButton:hover:not(:disabled){background:var(--dsw-alias-button-info-hover,var(--dsw-alias-button-primary-hover))}.wh0I9G_sendButton:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:2px}.wh0I9G_sendButton:disabled{cursor:not-allowed;opacity:.4}.wh0I9G_confirmation{color:var(--dsw-alias-label-tertiary);align-self:stretch;margin:0;padding:0 16px;font-size:12px;line-height:18px}.wh0I9G_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}.wh0I9G_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){.wh0I9G_mentionOption{grid-template-columns:16px minmax(0,1fr);min-height:36px;padding-block:6px}.wh0I9G_mentionDescription{display:none}}@media (prefers-reduced-motion:reduce){.wh0I9G_sendButton{transition:none}}";
6811
+ //#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/composer.module.css.mjs
6812
+ 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
6813
  const tagId$5 = "@wowyuarm/dsh-agent-team/composer.module.css";
6796
6814
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$5) + "]") === null) {
6797
6815
  const tag = document.createElement("style");
@@ -6801,29 +6819,29 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6801
6819
  document.head.appendChild(tag);
6802
6820
  }
6803
6821
  var composer_module_css_default = {
6804
- "asTaskOn": "wh0I9G_asTaskOn",
6805
- "attachButton": "wh0I9G_attachButton",
6806
- "card": "wh0I9G_card",
6807
- "confirmation": "wh0I9G_confirmation",
6808
- "error": "wh0I9G_error",
6809
- "fileChip": "wh0I9G_fileChip",
6810
- "fileChipName": "wh0I9G_fileChipName",
6811
- "fileChipRemove": "wh0I9G_fileChipRemove",
6812
- "fileChipSize": "wh0I9G_fileChipSize",
6813
- "fileChips": "wh0I9G_fileChips",
6814
- "fileInput": "wh0I9G_fileInput",
6815
- "imageChip": "wh0I9G_imageChip",
6816
- "imageChipPreview": "wh0I9G_imageChipPreview",
6817
- "inputArea": "wh0I9G_inputArea",
6818
- "mentionAllDot": "wh0I9G_mentionAllDot",
6819
- "mentionDescription": "wh0I9G_mentionDescription",
6820
- "mentionMenu": "wh0I9G_mentionMenu",
6821
- "mentionName": "wh0I9G_mentionName",
6822
- "mentionOption": "wh0I9G_mentionOption",
6823
- "notifyRow": "wh0I9G_notifyRow",
6824
- "root": "wh0I9G_root",
6825
- "sendButton": "wh0I9G_sendButton",
6826
- "toolbar": "wh0I9G_toolbar"
6822
+ "asTaskOn": "x9jGQq_asTaskOn",
6823
+ "attachButton": "x9jGQq_attachButton",
6824
+ "card": "x9jGQq_card",
6825
+ "confirmation": "x9jGQq_confirmation",
6826
+ "error": "x9jGQq_error",
6827
+ "fileChip": "x9jGQq_fileChip",
6828
+ "fileChipName": "x9jGQq_fileChipName",
6829
+ "fileChipRemove": "x9jGQq_fileChipRemove",
6830
+ "fileChipSize": "x9jGQq_fileChipSize",
6831
+ "fileChips": "x9jGQq_fileChips",
6832
+ "fileInput": "x9jGQq_fileInput",
6833
+ "imageChip": "x9jGQq_imageChip",
6834
+ "imageChipPreview": "x9jGQq_imageChipPreview",
6835
+ "inputArea": "x9jGQq_inputArea",
6836
+ "mentionAllDot": "x9jGQq_mentionAllDot",
6837
+ "mentionDescription": "x9jGQq_mentionDescription",
6838
+ "mentionMenu": "x9jGQq_mentionMenu",
6839
+ "mentionName": "x9jGQq_mentionName",
6840
+ "mentionOption": "x9jGQq_mentionOption",
6841
+ "notifyRow": "x9jGQq_notifyRow",
6842
+ "root": "x9jGQq_root",
6843
+ "sendButton": "x9jGQq_sendButton",
6844
+ "toolbar": "x9jGQq_toolbar"
6827
6845
  };
6828
6846
  //#endregion
6829
6847
  //#region src/client/TeamComposer.tsx
@@ -7552,8 +7570,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7552
7570
  };
7553
7571
  }
7554
7572
  //#endregion
7555
- //#region \0dsh-css:/home/yu/projects/release-018/packages/client-agent-team/src/client/conversation.module.css.mjs
7556
- const css$4 = ".pVzKIW_surface{grid-template-rows:auto minmax(0,1fr) auto;min-width:0;height:100%;min-height:0;display:grid;overflow:hidden}.pVzKIW_surfaceHeader{border-bottom:1px solid var(--dsw-alias-border-l2);min-width:0;padding:14px clamp(18px,3vw,36px) 12px}.pVzKIW_headerRow{justify-content:space-between;align-items:flex-start;gap:16px;min-width:0;max-width:880px;margin:0 auto;display:flex}.pVzKIW_headerCopy{min-width:0}.pVzKIW_headerCopy h1{color:var(--dsw-alias-label-primary);overflow-wrap:anywhere;margin:0;font-size:20px;font-weight:600;line-height:28px}.pVzKIW_headerCopy p{color:var(--dsw-alias-label-secondary);margin:3px 0 0;font-size:13px;line-height:20px}.pVzKIW_headerActions{flex:none;align-items:center;gap:6px;display:flex}.pVzKIW_backRow{max-width:880px;margin:0 auto 8px}.pVzKIW_timeline{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;padding:12px clamp(18px,3vw,36px) 24px;overflow:hidden auto}.pVzKIW_timelineContent{flex-direction:column;min-width:0;max-width:880px;min-height:100%;margin:0 auto;display:flex}.pVzKIW_emptySurface{margin:auto;padding:32px 0}.pVzKIW_emptySurface .pVzKIW_emptyState{text-align:center;justify-items:center}.pVzKIW_timelineAction{justify-content:center;padding:2px 0 8px;display:flex}.pVzKIW_messageRow{gap:10px;padding:10px 0;display:flex}.pVzKIW_messageRow[data-grouped]{padding-top:2px}.pVzKIW_messageRow[data-grouped] .pVzKIW_messageBody>:first-child,.pVzKIW_messageRow[data-grouped] .pVzKIW_messageBody>:first-child>:first-child{margin-top:0}.pVzKIW_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}.pVzKIW_messageRow[data-human] .pVzKIW_messageIdentity{background:var(--dsw-alias-state-business-primary)}.pVzKIW_messageRow[data-grouped] .pVzKIW_messageIdentity{visibility:hidden}.pVzKIW_messageBody{min-width:0}.pVzKIW_nameRow{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.pVzKIW_nameRow strong{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:600;line-height:20px}.pVzKIW_messageTime{color:var(--dsw-alias-label-tertiary);font-size:11px;line-height:20px}.pVzKIW_messageText{white-space:pre-wrap;word-break:break-word;margin:6px 0;font-size:14px;line-height:22px}.pVzKIW_messageClamp{max-height:176px;overflow:hidden;-webkit-mask-image:linear-gradient(#000 72%,#0000 100%);mask-image:linear-gradient(#000 72%,#0000 100%)}.pVzKIW_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}.pVzKIW_messageExpand:hover,.pVzKIW_messageExpand:focus-visible{color:var(--dsw-alias-label-primary);text-underline-offset:2px;outline:none;text-decoration:underline}.pVzKIW_messageBody .pVzKIW_messageMarkdown{font-size:14px;line-height:22px}.pVzKIW_messageBody .pVzKIW_messageMarkdown>div:first-child{color:var(--dsw-alias-label-primary);font:inherit}.pVzKIW_messageBody .pVzKIW_messageMarkdown p{margin:6px 0}.pVzKIW_messageBody .pVzKIW_messageMarkdown :where(ul,ol){margin:6px 0;padding-left:22px}.pVzKIW_messageBody .pVzKIW_messageMarkdown li+li{margin-top:2px}.pVzKIW_messageBody .pVzKIW_messageMarkdown strong{font-weight:600}.pVzKIW_messageBody .pVzKIW_messageMarkdown :where(h1,h2,h3,h4,h5,h6){margin:12px 0 4px}.pVzKIW_messageBody .pVzKIW_messageMarkdown :where(h1){font-size:17px;line-height:26px}.pVzKIW_messageBody .pVzKIW_messageMarkdown :where(h2){font-size:16px;line-height:24px}.pVzKIW_messageBody .pVzKIW_messageMarkdown :where(h3,h4,h5,h6){font-size:15px;line-height:22px}.pVzKIW_messageBody .pVzKIW_messageMarkdown pre{margin:8px 0;padding:10px 12px;font-size:13px}.pVzKIW_messageBody .pVzKIW_messageMarkdown blockquote{margin:6px 0}.pVzKIW_messageBody .pVzKIW_messageMarkdown :where(th,td){padding-block:5px}.pVzKIW_emptyState,.pVzKIW_loadingState{color:var(--dsw-alias-label-tertiary);margin:0;padding:14px 0;font-size:13px;line-height:20px}.pVzKIW_emptyState{gap:3px;display:grid}.pVzKIW_emptyState strong{color:var(--dsw-alias-label-secondary);font-weight:500}.pVzKIW_emptyState span{font-size:12px}.pVzKIW_loadingState{align-items:center;gap:8px;display:flex}.pVzKIW_loadingMark{background:var(--dsw-alias-bg-skeleton);border-radius:50%;width:8px;height:8px;animation:1.2s ease-in-out infinite pVzKIW_pulse}.pVzKIW_error,.pVzKIW_errorState{color:var(--dsw-alias-state-error-primary);max-width:880px;margin:0 auto;padding-top:6px;font-size:12px;line-height:18px}.pVzKIW_errorState{justify-content:space-between;align-items:center;gap:8px;display:flex}.pVzKIW_welcomeSurface{justify-content:center;align-items:center;min-width:0;height:100%;padding:32px;display:flex}.pVzKIW_welcome{text-align:center;max-width:420px}.pVzKIW_welcomeEyebrow{color:var(--dsw-alias-label-tertiary);text-transform:uppercase;font-size:12px;line-height:18px}.pVzKIW_welcome h1{color:var(--dsw-alias-label-primary);margin:8px 0;font-size:24px;font-weight:600;line-height:32px}.pVzKIW_welcome p{color:var(--dsw-alias-label-secondary);margin:0;font-size:13px;line-height:20px}@keyframes pVzKIW_pulse{0%,to{opacity:.35}50%{opacity:1}}@media (width<=600px){.pVzKIW_surfaceHeader{padding:12px 12px 10px}.pVzKIW_headerRow{flex-direction:column;align-items:stretch;gap:8px}.pVzKIW_headerActions{flex-wrap:wrap}.pVzKIW_backRow{margin-bottom:6px}.pVzKIW_timeline{scrollbar-gutter:auto;padding:8px 12px 16px}.pVzKIW_messageRow{padding:8px 0}}@media (prefers-reduced-motion:reduce){.pVzKIW_loadingMark{animation:none}}.pVzKIW_messageRun{margin:2px 0;padding:3px 0}.pVzKIW_messageRow[data-grouped]:has(.pVzKIW_messageBody>button:not([data-message-expand])){margin-top:3px;padding-top:7px;position:relative}.pVzKIW_messageRow[data-grouped]:has(.pVzKIW_messageBody>button:not([data-message-expand])):before{background:var(--dsw-alias-border-l2);content:\"\";height:1px;position:absolute;inset:0 0 auto 38px}.pVzKIW_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}.pVzKIW_runDivider+.pVzKIW_messageRow[data-grouped]:has(.pVzKIW_messageBody>button:not([data-message-expand])){margin-top:0}.pVzKIW_runDivider+.pVzKIW_messageRow[data-grouped]:has(.pVzKIW_messageBody>button:not([data-message-expand])):before{content:none}.pVzKIW_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}.pVzKIW_mentionsRow{gap:4px;width:fit-content;margin-top:3px;font-size:.85em;display:flex}.pVzKIW_attachmentStrip{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.pVzKIW_attachmentThumb{cursor:zoom-in;border:0;border-radius:8px;padding:0}.pVzKIW_attachmentThumb img{object-fit:cover;border-radius:8px;width:128px;height:96px;display:block}.pVzKIW_attachmentThumb:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,currentColor);outline-offset:1px}.pVzKIW_confirmBody{margin:0 0 8px}.pVzKIW_confirmList{gap:6px;margin:0;padding-left:18px;display:grid}.pVzKIW_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}.pVzKIW_refLink:hover{text-decoration-thickness:2px}.pVzKIW_refLink:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:1px}.pVzKIW_attachmentModal{width:min(1100px,92vw)}.pVzKIW_attachmentZoom{object-fit:contain;border-radius:12px;max-width:100%;max-height:78vh;margin:0 auto;display:block}.pVzKIW_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}.pVzKIW_attachmentChipName{text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:17px;overflow:hidden}.pVzKIW_attachmentChipSize{color:var(--dsw-alias-label-tertiary);white-space:nowrap;font-size:11px;line-height:17px}";
7573
+ //#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/conversation.module.css.mjs
7574
+ 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
7575
  const tagId$4 = "@wowyuarm/dsh-agent-team/conversation.module.css";
7558
7576
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$4) + "]") === null) {
7559
7577
  const tag = document.createElement("style");
@@ -7563,48 +7581,48 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7563
7581
  document.head.appendChild(tag);
7564
7582
  }
7565
7583
  var conversation_module_css_default = {
7566
- "attachmentChip": "pVzKIW_attachmentChip",
7567
- "attachmentChipName": "pVzKIW_attachmentChipName",
7568
- "attachmentChipSize": "pVzKIW_attachmentChipSize",
7569
- "attachmentModal": "pVzKIW_attachmentModal",
7570
- "attachmentStrip": "pVzKIW_attachmentStrip",
7571
- "attachmentThumb": "pVzKIW_attachmentThumb",
7572
- "attachmentZoom": "pVzKIW_attachmentZoom",
7573
- "backRow": "pVzKIW_backRow",
7574
- "confirmBody": "pVzKIW_confirmBody",
7575
- "confirmList": "pVzKIW_confirmList",
7576
- "emptyState": "pVzKIW_emptyState",
7577
- "emptySurface": "pVzKIW_emptySurface",
7578
- "error": "pVzKIW_error",
7579
- "errorState": "pVzKIW_errorState",
7580
- "headerActions": "pVzKIW_headerActions",
7581
- "headerCopy": "pVzKIW_headerCopy",
7582
- "headerRow": "pVzKIW_headerRow",
7583
- "loadingMark": "pVzKIW_loadingMark",
7584
- "loadingState": "pVzKIW_loadingState",
7585
- "mention": "pVzKIW_mention",
7586
- "mentionsRow": "pVzKIW_mentionsRow",
7587
- "messageBody": "pVzKIW_messageBody",
7588
- "messageClamp": "pVzKIW_messageClamp",
7589
- "messageExpand": "pVzKIW_messageExpand",
7590
- "messageIdentity": "pVzKIW_messageIdentity",
7591
- "messageMarkdown": "pVzKIW_messageMarkdown",
7592
- "messageRow": "pVzKIW_messageRow",
7593
- "messageRun": "pVzKIW_messageRun",
7594
- "messageText": "pVzKIW_messageText",
7595
- "messageTime": "pVzKIW_messageTime",
7596
- "nameRow": "pVzKIW_nameRow",
7597
- "pulse": "pVzKIW_pulse",
7598
- "refLink": "pVzKIW_refLink",
7599
- "runDivider": "pVzKIW_runDivider",
7600
- "surface": "pVzKIW_surface",
7601
- "surfaceHeader": "pVzKIW_surfaceHeader",
7602
- "timeline": "pVzKIW_timeline",
7603
- "timelineAction": "pVzKIW_timelineAction",
7604
- "timelineContent": "pVzKIW_timelineContent",
7605
- "welcome": "pVzKIW_welcome",
7606
- "welcomeEyebrow": "pVzKIW_welcomeEyebrow",
7607
- "welcomeSurface": "pVzKIW_welcomeSurface"
7584
+ "attachmentChip": "omcBaG_attachmentChip",
7585
+ "attachmentChipName": "omcBaG_attachmentChipName",
7586
+ "attachmentChipSize": "omcBaG_attachmentChipSize",
7587
+ "attachmentModal": "omcBaG_attachmentModal",
7588
+ "attachmentStrip": "omcBaG_attachmentStrip",
7589
+ "attachmentThumb": "omcBaG_attachmentThumb",
7590
+ "attachmentZoom": "omcBaG_attachmentZoom",
7591
+ "backRow": "omcBaG_backRow",
7592
+ "confirmBody": "omcBaG_confirmBody",
7593
+ "confirmList": "omcBaG_confirmList",
7594
+ "emptyState": "omcBaG_emptyState",
7595
+ "emptySurface": "omcBaG_emptySurface",
7596
+ "error": "omcBaG_error",
7597
+ "errorState": "omcBaG_errorState",
7598
+ "headerActions": "omcBaG_headerActions",
7599
+ "headerCopy": "omcBaG_headerCopy",
7600
+ "headerRow": "omcBaG_headerRow",
7601
+ "loadingMark": "omcBaG_loadingMark",
7602
+ "loadingState": "omcBaG_loadingState",
7603
+ "mention": "omcBaG_mention",
7604
+ "mentionsRow": "omcBaG_mentionsRow",
7605
+ "messageBody": "omcBaG_messageBody",
7606
+ "messageClamp": "omcBaG_messageClamp",
7607
+ "messageExpand": "omcBaG_messageExpand",
7608
+ "messageIdentity": "omcBaG_messageIdentity",
7609
+ "messageMarkdown": "omcBaG_messageMarkdown",
7610
+ "messageRow": "omcBaG_messageRow",
7611
+ "messageRun": "omcBaG_messageRun",
7612
+ "messageText": "omcBaG_messageText",
7613
+ "messageTime": "omcBaG_messageTime",
7614
+ "nameRow": "omcBaG_nameRow",
7615
+ "pulse": "omcBaG_pulse",
7616
+ "refLink": "omcBaG_refLink",
7617
+ "runDivider": "omcBaG_runDivider",
7618
+ "surface": "omcBaG_surface",
7619
+ "surfaceHeader": "omcBaG_surfaceHeader",
7620
+ "timeline": "omcBaG_timeline",
7621
+ "timelineAction": "omcBaG_timelineAction",
7622
+ "timelineContent": "omcBaG_timelineContent",
7623
+ "welcome": "omcBaG_welcome",
7624
+ "welcomeEyebrow": "omcBaG_welcomeEyebrow",
7625
+ "welcomeSurface": "omcBaG_welcomeSurface"
7608
7626
  };
7609
7627
  //#endregion
7610
7628
  //#region src/client/TeamMessage.tsx
@@ -8123,8 +8141,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8123
8141
  return blocks;
8124
8142
  }
8125
8143
  //#endregion
8126
- //#region \0dsh-css:/home/yu/projects/release-018/packages/client-agent-team/src/client/channel.module.css.mjs
8127
- const css$3 = ".rVidsG_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}.rVidsG_headerMeta span+span:before{content:\"·\";margin-right:6px}.rVidsG_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}.rVidsG_taskFooter:hover,.rVidsG_taskFooter:focus-visible{background:var(--dsw-alias-interactive-bg-hover);border-color:var(--dsw-alias-border-l3);color:var(--dsw-alias-label-primary)}.rVidsG_taskFooter:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:2px}.rVidsG_taskNumber{color:var(--dsw-alias-label-primary);font-size:12px;font-weight:600;line-height:18px}.rVidsG_taskStatus,.rVidsG_taskCount{color:var(--dsw-alias-label-tertiary);font-size:11px;line-height:18px}.rVidsG_taskDot{flex:none;align-items:center;width:8px;display:inline-flex}.rVidsG_taskArrow{color:var(--dsw-alias-label-tertiary);align-items:center;transition:transform .12s;display:inline-flex}.rVidsG_taskFooter:hover .rVidsG_taskArrow,.rVidsG_taskFooter:focus-visible .rVidsG_taskArrow{transform:translate(2px)}.rVidsG_memberList{gap:3px;display:grid}.rVidsG_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}.rVidsG_memberRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.rVidsG_memberCopy{min-width:0;display:grid}.rVidsG_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}.rVidsG_memberCopy small{color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:14px;overflow:hidden}.rVidsG_memberAction{min-width:60px}.rVidsG_memberError{color:var(--dsw-alias-state-error-primary);grid-column:2/-1;margin:2px 0;font-size:11px;line-height:16px}.rVidsG_modalBody{max-height:min(65vh,520px);overflow-y:auto}@media (width<=600px){.rVidsG_memberRow{grid-template-columns:14px minmax(0,1fr)}.rVidsG_memberAction{grid-column:2;justify-self:start;margin-top:3px}}@media (prefers-reduced-motion:reduce){.rVidsG_taskFooter,.rVidsG_taskArrow{transition:none}.rVidsG_taskFooter:hover .rVidsG_taskArrow,.rVidsG_taskFooter:focus-visible .rVidsG_taskArrow{transform:none}}";
8144
+ //#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/channel.module.css.mjs
8145
+ 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
8146
  const tagId$3 = "@wowyuarm/dsh-agent-team/channel.module.css";
8129
8147
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$3) + "]") === null) {
8130
8148
  const tag = document.createElement("style");
@@ -8134,23 +8152,23 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8134
8152
  document.head.appendChild(tag);
8135
8153
  }
8136
8154
  var channel_module_css_default = {
8137
- "headerMeta": "rVidsG_headerMeta",
8138
- "memberAction": "rVidsG_memberAction",
8139
- "memberCopy": "rVidsG_memberCopy",
8140
- "memberError": "rVidsG_memberError",
8141
- "memberList": "rVidsG_memberList",
8142
- "memberRow": "rVidsG_memberRow",
8143
- "modalBody": "rVidsG_modalBody",
8144
- "taskArrow": "rVidsG_taskArrow",
8145
- "taskCount": "rVidsG_taskCount",
8146
- "taskDot": "rVidsG_taskDot",
8147
- "taskFooter": "rVidsG_taskFooter",
8148
- "taskNumber": "rVidsG_taskNumber",
8149
- "taskStatus": "rVidsG_taskStatus"
8155
+ "headerMeta": "MYaRJa_headerMeta",
8156
+ "memberAction": "MYaRJa_memberAction",
8157
+ "memberCopy": "MYaRJa_memberCopy",
8158
+ "memberError": "MYaRJa_memberError",
8159
+ "memberList": "MYaRJa_memberList",
8160
+ "memberRow": "MYaRJa_memberRow",
8161
+ "modalBody": "MYaRJa_modalBody",
8162
+ "taskArrow": "MYaRJa_taskArrow",
8163
+ "taskCount": "MYaRJa_taskCount",
8164
+ "taskDot": "MYaRJa_taskDot",
8165
+ "taskFooter": "MYaRJa_taskFooter",
8166
+ "taskNumber": "MYaRJa_taskNumber",
8167
+ "taskStatus": "MYaRJa_taskStatus"
8150
8168
  };
8151
8169
  //#endregion
8152
- //#region \0dsh-css:/home/yu/projects/release-018/packages/client-agent-team/src/client/thread.module.css.mjs
8153
- const css$2 = ".QyE3bW_titleLine{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.QyE3bW_titleLine h1{margin:0}.QyE3bW_workSection{border-top:1px solid var(--dsw-alias-border-l2);max-width:880px;margin:12px auto 0;padding-top:8px}.QyE3bW_riskSection{border-top:1px solid var(--dsw-alias-border-l2);max-width:880px;margin:12px auto 0;padding-top:10px}.QyE3bW_riskSection h2{color:var(--dsw-alias-state-error-primary);margin:0 0 5px;font-size:12px;font-weight:600;line-height:18px}.QyE3bW_riskRow{color:var(--dsw-alias-label-secondary);align-items:center;gap:8px;margin:3px 0;font-size:12px;line-height:18px;display:flex}.QyE3bW_claimList{gap:4px;padding:4px 0 2px 22px;display:grid}.QyE3bW_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}.QyE3bW_claimRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.QyE3bW_claimOwner{color:var(--dsw-alias-label-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:500;line-height:18px;overflow:hidden}.QyE3bW_claimDirection{color:var(--dsw-alias-label-primary);overflow-wrap:anywhere;min-width:0;font-size:12px;line-height:18px}.QyE3bW_claimState{color:var(--dsw-alias-label-tertiary);white-space:nowrap;font-size:11px;line-height:18px}.QyE3bW_emptyClaims{color:var(--dsw-alias-label-tertiary);margin:0;padding:5px 6px;font-size:11px;line-height:18px}.QyE3bW_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}.QyE3bW_activityText{overflow-wrap:anywhere;min-width:0}.QyE3bW_activityMark{background:var(--dsw-alias-border-l3);border-radius:50%;flex:0 0 5px;width:5px;height:5px}.QyE3bW_activityRow:has(+.QyE3bW_activityRow),.QyE3bW_activityRow+.QyE3bW_activityRow{text-align:left;justify-content:flex-start;padding-left:38px}.QyE3bW_historySection{border-bottom:1px solid var(--dsw-alias-border-l2);max-width:100%;margin:0 auto 12px;padding-bottom:10px}.QyE3bW_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}.QyE3bW_publicSection{min-width:0}.QyE3bW_unreadBoundary{color:var(--dsw-alias-label-tertiary);align-items:center;gap:10px;margin:10px 0 6px;font-size:11px;line-height:16px;display:flex}.QyE3bW_unreadBoundary:before,.QyE3bW_unreadBoundary:after{background:var(--dsw-alias-border-l3);content:\"\";flex:1;height:1px}.QyE3bW_unreadBoundary span{flex:none}.QyE3bW_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}.QyE3bW_daySeparator:before,.QyE3bW_daySeparator:after{background:var(--dsw-alias-border-l2);content:\"\";flex:1;height:1px}.QyE3bW_daySeparator span{flex:none}.QyE3bW_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}.QyE3bW_newUpdatesJump{color:var(--dsw-alias-label-secondary);cursor:pointer;font:inherit;line-height:inherit;background:0 0;border:0;padding:0}.QyE3bW_newUpdatesJump:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:2px;border-radius:6px}.QyE3bW_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}.QyE3bW_closedBar{flex-direction:column;align-items:center;display:flex}.QyE3bW_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){.QyE3bW_claimRow{grid-template-columns:14px minmax(0,1fr) auto;align-items:start}.QyE3bW_claimState{grid-area:1/3;justify-self:end}.QyE3bW_claimDirection{grid-column:2/-1}.QyE3bW_activityRow{padding-inline:0}.QyE3bW_newUpdates{max-width:calc(100% - 16px)}}";
8170
+ //#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/thread.module.css.mjs
8171
+ 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
8172
  const tagId$2 = "@wowyuarm/dsh-agent-team/thread.module.css";
8155
8173
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$2) + "]") === null) {
8156
8174
  const tag = document.createElement("style");
@@ -8160,28 +8178,28 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8160
8178
  document.head.appendChild(tag);
8161
8179
  }
8162
8180
  var thread_module_css_default = {
8163
- "activityMark": "QyE3bW_activityMark",
8164
- "activityRow": "QyE3bW_activityRow",
8165
- "activityText": "QyE3bW_activityText",
8166
- "claimDirection": "QyE3bW_claimDirection",
8167
- "claimList": "QyE3bW_claimList",
8168
- "claimOwner": "QyE3bW_claimOwner",
8169
- "claimRow": "QyE3bW_claimRow",
8170
- "claimState": "QyE3bW_claimState",
8171
- "closedBar": "QyE3bW_closedBar",
8172
- "closedNotice": "QyE3bW_closedNotice",
8173
- "daySeparator": "QyE3bW_daySeparator",
8174
- "emptyClaims": "QyE3bW_emptyClaims",
8175
- "historySection": "QyE3bW_historySection",
8176
- "newUpdates": "QyE3bW_newUpdates",
8177
- "newUpdatesJump": "QyE3bW_newUpdatesJump",
8178
- "publicSection": "QyE3bW_publicSection",
8179
- "riskRow": "QyE3bW_riskRow",
8180
- "riskSection": "QyE3bW_riskSection",
8181
- "taskTitle": "QyE3bW_taskTitle",
8182
- "titleLine": "QyE3bW_titleLine",
8183
- "unreadBoundary": "QyE3bW_unreadBoundary",
8184
- "workSection": "QyE3bW_workSection"
8181
+ "activityMark": "-Qiwua_activityMark",
8182
+ "activityRow": "-Qiwua_activityRow",
8183
+ "activityText": "-Qiwua_activityText",
8184
+ "claimDirection": "-Qiwua_claimDirection",
8185
+ "claimList": "-Qiwua_claimList",
8186
+ "claimOwner": "-Qiwua_claimOwner",
8187
+ "claimRow": "-Qiwua_claimRow",
8188
+ "claimState": "-Qiwua_claimState",
8189
+ "closedBar": "-Qiwua_closedBar",
8190
+ "closedNotice": "-Qiwua_closedNotice",
8191
+ "daySeparator": "-Qiwua_daySeparator",
8192
+ "emptyClaims": "-Qiwua_emptyClaims",
8193
+ "historySection": "-Qiwua_historySection",
8194
+ "newUpdates": "-Qiwua_newUpdates",
8195
+ "newUpdatesJump": "-Qiwua_newUpdatesJump",
8196
+ "publicSection": "-Qiwua_publicSection",
8197
+ "riskRow": "-Qiwua_riskRow",
8198
+ "riskSection": "-Qiwua_riskSection",
8199
+ "taskTitle": "-Qiwua_taskTitle",
8200
+ "titleLine": "-Qiwua_titleLine",
8201
+ "unreadBoundary": "-Qiwua_unreadBoundary",
8202
+ "workSection": "-Qiwua_workSection"
8185
8203
  };
8186
8204
  //#endregion
8187
8205
  //#region src/client/TeamChannelPage.tsx
@@ -9725,8 +9743,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
9725
9743
  });
9726
9744
  }
9727
9745
  //#endregion
9728
- //#region \0dsh-css:/home/yu/projects/release-018/packages/client-agent-team/src/client/sidebar.module.css.mjs
9729
- const css$1 = "html[data-agent-team-mode=team] button[class*=newSession]{display:none}.Xvc-qG_workspaceBrowser{flex-direction:column;height:100%;min-height:0;padding:0 8px 8px;display:flex}.Xvc-qG_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}.Xvc-qG_railButton:hover,.Xvc-qG_railButton:focus-visible{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary);outline:none}.Xvc-qG_workspaceList{flex-direction:column;gap:2px;padding-bottom:2px;display:flex}.Xvc-qG_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}.Xvc-qG_workspaceRow:hover,.Xvc-qG_workspaceRow:focus-visible,.Xvc-qG_workspaceRow[aria-current=page]{background:var(--dsw-alias-interactive-bg-hover);outline:none}.Xvc-qG_workspaceRow:focus-visible{box-shadow:inset 0 0 0 1px var(--dsw-alias-border-l3)}.Xvc-qG_workspaceIcon{color:var(--dsw-alias-label-tertiary);flex:0 0 16px;justify-content:center;align-items:center;height:20px;display:inline-flex}.Xvc-qG_workspaceRow[data-selected] .Xvc-qG_workspaceIcon{color:var(--dsw-alias-state-business-primary)}.Xvc-qG_workspaceCopy{min-width:0;display:flex}.Xvc-qG_workspaceCopy strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:400;line-height:20px;overflow:hidden}.Xvc-qG_emptyState{color:var(--dsw-alias-label-tertiary);margin:8px;font-size:12px;line-height:18px}.Xvc-qG_railWorkspace{flex-direction:column;align-items:center;gap:8px;padding-top:8px;display:flex}.Xvc-qG_railButton{border-radius:50%;width:36px;height:36px}.Xvc-qG_railButton[data-active]{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.Xvc-qG_workspaceSection{flex-direction:column;flex:1;gap:4px;min-height:0;margin-top:2px;display:flex;overflow-y:auto}.Xvc-qG_section{flex-direction:column;display:flex}.Xvc-qG_sectionHeader{align-items:center;min-height:26px;padding-right:2px;display:flex}.Xvc-qG_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}.Xvc-qG_sectionToggle:focus-visible{outline:none}.Xvc-qG_sectionToggle:hover .Xvc-qG_sectionChevron,.Xvc-qG_sectionToggle:focus-visible .Xvc-qG_sectionChevron{color:var(--dsw-alias-label-primary)}.Xvc-qG_sectionChevron{color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .12s,color .12s}.Xvc-qG_sectionToggle[aria-expanded=false] .Xvc-qG_sectionChevron{transform:rotate(-90deg)}.Xvc-qG_sectionTitle{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.Xvc-qG_sectionActions{align-items:center;margin-left:auto;display:inline-flex}.Xvc-qG_panel{flex-direction:column;display:flex}.Xvc-qG_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}.Xvc-qG_iconButton:hover,.Xvc-qG_iconButton:focus-visible{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary);outline:none}.Xvc-qG_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}.Xvc-qG_textButton:hover,.Xvc-qG_textButton:focus-visible{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary);outline:none}.Xvc-qG_textButton:disabled{cursor:not-allowed;opacity:.4}.Xvc-qG_channelList,.Xvc-qG_agentList{flex-direction:column;gap:1px;padding:0 4px 4px;display:flex}.Xvc-qG_sidebarRowDragging{opacity:.5}.Xvc-qG_sidebarRowDropBefore,.Xvc-qG_sidebarRowDropAfter{position:relative}.Xvc-qG_sidebarRowDropBefore:before,.Xvc-qG_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}.Xvc-qG_sidebarRowDropBefore:before{top:-7px}.Xvc-qG_sidebarRowDropAfter:after{bottom:-7px}.Xvc-qG_channelRow{color:var(--dsw-alias-label-primary);border-radius:8px;align-items:center;min-height:30px;display:flex;position:relative}.Xvc-qG_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}.Xvc-qG_channelSelect:focus-visible{outline:none}.Xvc-qG_channelName{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:400;line-height:18px;overflow:hidden}.Xvc-qG_agentRow{color:var(--dsw-alias-label-primary);border-radius:8px;align-items:center;min-height:38px;display:flex;position:relative}.Xvc-qG_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}.Xvc-qG_agentSelect:focus-visible{outline:none}.Xvc-qG_agentSelect[aria-current=page]{background:var(--dsw-alias-interactive-bg-hover);border-radius:8px}.Xvc-qG_agentRow:hover .Xvc-qG_agentSelect[aria-current=page],.Xvc-qG_agentRow:focus-within .Xvc-qG_agentSelect[aria-current=page],.Xvc-qG_agentRow[data-menu-open] .Xvc-qG_agentSelect[aria-current=page]{background:0 0}.Xvc-qG_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}.Xvc-qG_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}.Xvc-qG_agentCopy{flex-direction:column;min-width:0;display:flex}.Xvc-qG_agentCopy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:400;line-height:17px;overflow:hidden}.Xvc-qG_agentCopy small{color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:13px;overflow:hidden}.Xvc-qG_unavailableDot{background:var(--dsw-alias-label-tertiary);border-radius:50%;width:7px;height:7px;display:inline-block}.Xvc-qG_rowMenu{flex:none;align-items:center;padding-right:4px;display:none}.Xvc-qG_channelRow:hover .Xvc-qG_rowMenu,.Xvc-qG_channelRow:focus-within .Xvc-qG_rowMenu,.Xvc-qG_channelRow[data-menu-open] .Xvc-qG_rowMenu,.Xvc-qG_agentRow:hover .Xvc-qG_rowMenu,.Xvc-qG_agentRow:focus-within .Xvc-qG_rowMenu,.Xvc-qG_agentRow[data-menu-open] .Xvc-qG_rowMenu{display:inline-flex}.Xvc-qG_channelRow[data-menu-open],.Xvc-qG_agentRow[data-menu-open],.Xvc-qG_channelRow:hover,.Xvc-qG_agentRow:hover,.Xvc-qG_channelRow:focus-within,.Xvc-qG_agentRow:focus-within,.Xvc-qG_channelRow[aria-current=page]{background:var(--dsw-alias-interactive-bg-hover)}.Xvc-qG_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}.Xvc-qG_rowMenuButton:hover,.Xvc-qG_rowMenuButton:focus-visible{color:var(--dsw-alias-label-primary);outline:none}.Xvc-qG_retryError{color:var(--dsw-alias-state-error-primary);justify-content:space-between;align-items:center;gap:8px;padding:8px;font-size:11px;display:flex}.Xvc-qG_rowAlert{color:var(--dsw-alias-state-error-primary);overflow-wrap:anywhere;padding:2px 8px 6px;font-size:11px}.Xvc-qG_editDescription{color:var(--dsw-alias-label-secondary);margin:0 0 10px;font-size:12px;line-height:18px}.Xvc-qG_editMemberList{gap:3px;display:grid}.Xvc-qG_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}.Xvc-qG_editMemberRowChannels{grid-template-columns:minmax(0,1fr) auto}.Xvc-qG_editMemberRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.Xvc-qG_editMemberCopy{min-width:0;display:grid}.Xvc-qG_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}.Xvc-qG_editMemberCopy small{color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:14px;overflow:hidden}.Xvc-qG_editChannelName{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:400;line-height:18px;overflow:hidden}.Xvc-qG_editMemberRow button{min-width:60px}.Xvc-qG_editHint{color:var(--dsw-alias-label-tertiary);margin:0;font-size:11px;line-height:16px}.Xvc-qG_menuHint{color:var(--dsw-alias-label-tertiary);margin-left:4px;font-size:10px;line-height:14px}.Xvc-qG_rowError{color:var(--dsw-alias-state-error-primary);grid-column:1/-1;margin:2px 0;font-size:11px;line-height:16px}";
9746
+ //#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/sidebar.module.css.mjs
9747
+ 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
9748
  const tagId$1 = "@wowyuarm/dsh-agent-team/sidebar.module.css";
9731
9749
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
9732
9750
  const tag = document.createElement("style");
@@ -9736,51 +9754,51 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
9736
9754
  document.head.appendChild(tag);
9737
9755
  }
9738
9756
  var sidebar_module_css_default = {
9739
- "agentAvatar": "Xvc-qG_agentAvatar",
9740
- "agentAvatarBadge": "Xvc-qG_agentAvatarBadge",
9741
- "agentCopy": "Xvc-qG_agentCopy",
9742
- "agentList": "Xvc-qG_agentList",
9743
- "agentRow": "Xvc-qG_agentRow",
9744
- "agentSelect": "Xvc-qG_agentSelect",
9745
- "channelList": "Xvc-qG_channelList",
9746
- "channelName": "Xvc-qG_channelName",
9747
- "channelRow": "Xvc-qG_channelRow",
9748
- "channelSelect": "Xvc-qG_channelSelect",
9749
- "editChannelName": "Xvc-qG_editChannelName",
9750
- "editDescription": "Xvc-qG_editDescription",
9751
- "editHint": "Xvc-qG_editHint",
9752
- "editMemberCopy": "Xvc-qG_editMemberCopy",
9753
- "editMemberList": "Xvc-qG_editMemberList",
9754
- "editMemberRow": "Xvc-qG_editMemberRow",
9755
- "editMemberRowChannels": "Xvc-qG_editMemberRowChannels",
9756
- "emptyState": "Xvc-qG_emptyState",
9757
- "iconButton": "Xvc-qG_iconButton",
9758
- "menuHint": "Xvc-qG_menuHint",
9759
- "panel": "Xvc-qG_panel",
9760
- "railButton": "Xvc-qG_railButton",
9761
- "railWorkspace": "Xvc-qG_railWorkspace",
9762
- "retryError": "Xvc-qG_retryError",
9763
- "rowAlert": "Xvc-qG_rowAlert",
9764
- "rowError": "Xvc-qG_rowError",
9765
- "rowMenu": "Xvc-qG_rowMenu",
9766
- "rowMenuButton": "Xvc-qG_rowMenuButton",
9767
- "section": "Xvc-qG_section",
9768
- "sectionActions": "Xvc-qG_sectionActions",
9769
- "sectionChevron": "Xvc-qG_sectionChevron",
9770
- "sectionHeader": "Xvc-qG_sectionHeader",
9771
- "sectionTitle": "Xvc-qG_sectionTitle",
9772
- "sectionToggle": "Xvc-qG_sectionToggle",
9773
- "sidebarRowDragging": "Xvc-qG_sidebarRowDragging",
9774
- "sidebarRowDropAfter": "Xvc-qG_sidebarRowDropAfter",
9775
- "sidebarRowDropBefore": "Xvc-qG_sidebarRowDropBefore",
9776
- "textButton": "Xvc-qG_textButton",
9777
- "unavailableDot": "Xvc-qG_unavailableDot",
9778
- "workspaceBrowser": "Xvc-qG_workspaceBrowser",
9779
- "workspaceCopy": "Xvc-qG_workspaceCopy",
9780
- "workspaceIcon": "Xvc-qG_workspaceIcon",
9781
- "workspaceList": "Xvc-qG_workspaceList",
9782
- "workspaceRow": "Xvc-qG_workspaceRow",
9783
- "workspaceSection": "Xvc-qG_workspaceSection"
9757
+ "agentAvatar": "d0xfxa_agentAvatar",
9758
+ "agentAvatarBadge": "d0xfxa_agentAvatarBadge",
9759
+ "agentCopy": "d0xfxa_agentCopy",
9760
+ "agentList": "d0xfxa_agentList",
9761
+ "agentRow": "d0xfxa_agentRow",
9762
+ "agentSelect": "d0xfxa_agentSelect",
9763
+ "channelList": "d0xfxa_channelList",
9764
+ "channelName": "d0xfxa_channelName",
9765
+ "channelRow": "d0xfxa_channelRow",
9766
+ "channelSelect": "d0xfxa_channelSelect",
9767
+ "editChannelName": "d0xfxa_editChannelName",
9768
+ "editDescription": "d0xfxa_editDescription",
9769
+ "editHint": "d0xfxa_editHint",
9770
+ "editMemberCopy": "d0xfxa_editMemberCopy",
9771
+ "editMemberList": "d0xfxa_editMemberList",
9772
+ "editMemberRow": "d0xfxa_editMemberRow",
9773
+ "editMemberRowChannels": "d0xfxa_editMemberRowChannels",
9774
+ "emptyState": "d0xfxa_emptyState",
9775
+ "iconButton": "d0xfxa_iconButton",
9776
+ "menuHint": "d0xfxa_menuHint",
9777
+ "panel": "d0xfxa_panel",
9778
+ "railButton": "d0xfxa_railButton",
9779
+ "railWorkspace": "d0xfxa_railWorkspace",
9780
+ "retryError": "d0xfxa_retryError",
9781
+ "rowAlert": "d0xfxa_rowAlert",
9782
+ "rowError": "d0xfxa_rowError",
9783
+ "rowMenu": "d0xfxa_rowMenu",
9784
+ "rowMenuButton": "d0xfxa_rowMenuButton",
9785
+ "section": "d0xfxa_section",
9786
+ "sectionActions": "d0xfxa_sectionActions",
9787
+ "sectionChevron": "d0xfxa_sectionChevron",
9788
+ "sectionHeader": "d0xfxa_sectionHeader",
9789
+ "sectionTitle": "d0xfxa_sectionTitle",
9790
+ "sectionToggle": "d0xfxa_sectionToggle",
9791
+ "sidebarRowDragging": "d0xfxa_sidebarRowDragging",
9792
+ "sidebarRowDropAfter": "d0xfxa_sidebarRowDropAfter",
9793
+ "sidebarRowDropBefore": "d0xfxa_sidebarRowDropBefore",
9794
+ "textButton": "d0xfxa_textButton",
9795
+ "unavailableDot": "d0xfxa_unavailableDot",
9796
+ "workspaceBrowser": "d0xfxa_workspaceBrowser",
9797
+ "workspaceCopy": "d0xfxa_workspaceCopy",
9798
+ "workspaceIcon": "d0xfxa_workspaceIcon",
9799
+ "workspaceList": "d0xfxa_workspaceList",
9800
+ "workspaceRow": "d0xfxa_workspaceRow",
9801
+ "workspaceSection": "d0xfxa_workspaceSection"
9784
9802
  };
9785
9803
  //#endregion
9786
9804
  //#region src/client/TeamWorkspaceRow.tsx
@@ -10217,8 +10235,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10217
10235
  });
10218
10236
  }
10219
10237
  //#endregion
10220
- //#region \0dsh-css:/home/yu/projects/release-018/packages/client-agent-team/src/client/create.module.css.mjs
10221
- const css = ".vkPzUW_form{gap:16px;display:grid}.vkPzUW_field{color:var(--dsw-alias-label-secondary);gap:6px;font-size:12px;line-height:18px;display:grid}.vkPzUW_input{box-sizing:border-box;width:100%}.vkPzUW_menuCap{max-height:min(320px,56vh)}.vkPzUW_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}.vkPzUW_selectTrigger:disabled{cursor:default;opacity:.6}.vkPzUW_selectTrigger:focus-visible{border-color:var(--dsw-alias-brand-primary);outline:none}.vkPzUW_selectValue{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.vkPzUW_chevron{color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .12s;display:inline-flex}.vkPzUW_chevronOpen{transform:rotate(180deg)}.vkPzUW_memberPicker{border:0;gap:4px;max-height:220px;margin:0;padding:0;display:grid;overflow-y:auto}.vkPzUW_memberPicker legend{color:var(--dsw-alias-label-secondary);padding:0 0 6px;font-size:12px;line-height:18px}.vkPzUW_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}.vkPzUW_memberOption:hover{background:var(--dsw-alias-interactive-bg-hover)}.vkPzUW_memberOption input{margin:0}.vkPzUW_memberOption small{color:var(--dsw-alias-label-tertiary);grid-column:3;font-size:10px;line-height:14px}.vkPzUW_unavailableDot{background:var(--dsw-alias-label-tertiary);border-radius:50%;justify-self:center;width:7px;height:7px;display:inline-block}.vkPzUW_error{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px;line-height:18px}.vkPzUW_dialogContent{max-height:min(70vh,560px);overflow-y:auto}@media (width<=600px){.vkPzUW_dialogContent{max-height:calc(100vh - 180px)}.vkPzUW_memberPicker{max-height:180px}}";
10238
+ //#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/create.module.css.mjs
10239
+ 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
10240
  const tagId = "@wowyuarm/dsh-agent-team/create.module.css";
10223
10241
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
10224
10242
  const tag = document.createElement("style");
@@ -10228,19 +10246,19 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10228
10246
  document.head.appendChild(tag);
10229
10247
  }
10230
10248
  var create_module_css_default = {
10231
- "chevron": "vkPzUW_chevron",
10232
- "chevronOpen": "vkPzUW_chevronOpen",
10233
- "dialogContent": "vkPzUW_dialogContent",
10234
- "error": "vkPzUW_error",
10235
- "field": "vkPzUW_field",
10236
- "form": "vkPzUW_form",
10237
- "input": "vkPzUW_input",
10238
- "memberOption": "vkPzUW_memberOption",
10239
- "memberPicker": "vkPzUW_memberPicker",
10240
- "menuCap": "vkPzUW_menuCap",
10241
- "selectTrigger": "vkPzUW_selectTrigger",
10242
- "selectValue": "vkPzUW_selectValue",
10243
- "unavailableDot": "vkPzUW_unavailableDot"
10249
+ "chevron": "_1henIG_chevron",
10250
+ "chevronOpen": "_1henIG_chevronOpen",
10251
+ "dialogContent": "_1henIG_dialogContent",
10252
+ "error": "_1henIG_error",
10253
+ "field": "_1henIG_field",
10254
+ "form": "_1henIG_form",
10255
+ "input": "_1henIG_input",
10256
+ "memberOption": "_1henIG_memberOption",
10257
+ "memberPicker": "_1henIG_memberPicker",
10258
+ "menuCap": "_1henIG_menuCap",
10259
+ "selectTrigger": "_1henIG_selectTrigger",
10260
+ "selectValue": "_1henIG_selectValue",
10261
+ "unavailableDot": "_1henIG_unavailableDot"
10244
10262
  };
10245
10263
  //#endregion
10246
10264
  //#region src/client/TeamMemberEditor.tsx
@@ -10525,7 +10543,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10525
10543
  }
10526
10544
  //#endregion
10527
10545
  //#region src/client/TeamAgentsPanel.tsx
10528
- function TeamAgentsPanel({ workspaceId, loadMembers, subscribeChanges, addMember, updateMember, recoverMember, clearMemberContext, archiveMember, loadModels, memberSessionId, openMemberSession, onCreatingChange, t }) {
10546
+ function TeamAgentsPanel({ workspaceId, loadMembers, subscribeChanges, addMember, updateMember, recoverMember, archiveMember, loadModels, memberSessionId, openMemberSession, onCreatingChange, t }) {
10529
10547
  const [members, setMembers] = (0, react.useState)([]);
10530
10548
  const [loading, setLoading] = (0, react.useState)(true);
10531
10549
  const [error, setError] = (0, react.useState)();
@@ -10549,15 +10567,52 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10549
10567
  onCommit: applyMove
10550
10568
  });
10551
10569
  const sectionOpen = useSidebarSectionOpen(workspaceId, "agents");
10570
+ const observedSessionIds = (0, react.useRef)(/* @__PURE__ */ new Map());
10571
+ const pendingFollows = (0, react.useRef)(/* @__PURE__ */ new Map());
10572
+ const seatSessionIdRef = (0, react.useRef)(memberSessionId);
10573
+ seatSessionIdRef.current = memberSessionId;
10574
+ const openMemberSessionRef = (0, react.useRef)(openMemberSession);
10575
+ openMemberSessionRef.current = openMemberSession;
10576
+ const followRollover = (0, react.useCallback)((statuses) => {
10577
+ for (const status of statuses) {
10578
+ const memberId = status.member.memberId;
10579
+ const observed = observedSessionIds.current.get(memberId);
10580
+ if (observed === void 0) {
10581
+ observedSessionIds.current.set(memberId, status.member.sessionId);
10582
+ continue;
10583
+ }
10584
+ if (observed !== status.member.sessionId) {
10585
+ observedSessionIds.current.set(memberId, status.member.sessionId);
10586
+ const seatSessionId = seatSessionIdRef.current;
10587
+ if (seatSessionId !== void 0 && observed === seatSessionId) pendingFollows.current.set(memberId, {
10588
+ previousSessionId: observed,
10589
+ nextSessionId: status.member.sessionId
10590
+ });
10591
+ else pendingFollows.current.delete(memberId);
10592
+ }
10593
+ const pending = pendingFollows.current.get(memberId);
10594
+ if (pending !== void 0 && pending.nextSessionId === status.member.sessionId && status.availability === "active") {
10595
+ const seatSessionId = seatSessionIdRef.current;
10596
+ pendingFollows.current.delete(memberId);
10597
+ if (seatSessionId !== void 0 && seatSessionId === pending.previousSessionId) openMemberSessionRef.current(pending.nextSessionId);
10598
+ }
10599
+ }
10600
+ }, []);
10552
10601
  const refresh = (0, react.useCallback)(async () => {
10553
10602
  setLoading(true);
10554
10603
  const result = await loadMembers({ workspaceId });
10555
10604
  if (result.ok) {
10556
- setMembers(result.value.filter((status) => status.member.state !== "inactive" && status.member.state !== "archived"));
10605
+ const next = result.value.filter((status) => status.member.state !== "inactive" && status.member.state !== "archived");
10606
+ setMembers(next);
10607
+ followRollover(next);
10557
10608
  setError(void 0);
10558
10609
  } else setError(result.error.message);
10559
10610
  setLoading(false);
10560
- }, [loadMembers, workspaceId]);
10611
+ }, [
10612
+ loadMembers,
10613
+ workspaceId,
10614
+ followRollover
10615
+ ]);
10561
10616
  (0, react.useEffect)(() => {
10562
10617
  refresh();
10563
10618
  }, [refresh]);
@@ -10739,7 +10794,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10739
10794
  ...memberSessionId === void 0 ? {} : { current: status.member.sessionId === memberSessionId },
10740
10795
  updateMember,
10741
10796
  recoverMember,
10742
- clearMemberContext,
10743
10797
  archiveMember,
10744
10798
  loadModels,
10745
10799
  openMemberSession,
@@ -10773,10 +10827,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10773
10827
  * conversation page, the avatar carries identity plus the presence badge, and
10774
10828
  * the row menu opens the editor.
10775
10829
  */
10776
- function AgentRow({ status, current, updateMember, recoverMember, clearMemberContext, archiveMember, loadModels, openMemberSession, onUpdated, t }) {
10830
+ function AgentRow({ status, current, updateMember, recoverMember, archiveMember, loadModels, openMemberSession, onUpdated, t }) {
10777
10831
  const [menuOpen, setMenuOpen] = (0, react.useState)(false);
10778
10832
  const [editing, setEditing] = (0, react.useState)(false);
10779
- const [clearing, setClearing] = (0, react.useState)(false);
10780
10833
  const [archiving, setArchiving] = (0, react.useState)(false);
10781
10834
  const [rowAlert, setRowAlert] = (0, react.useState)();
10782
10835
  const recover = async () => {
@@ -10801,25 +10854,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10801
10854
  setRowAlert(t("restartFailed", { message: cause instanceof Error ? cause.message : String(cause) }));
10802
10855
  }
10803
10856
  };
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
10857
  const archive = async () => {
10824
10858
  try {
10825
10859
  const result = await archiveMember({
@@ -10872,18 +10906,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10872
10906
  label: t("restartAgent"),
10873
10907
  icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconRefreshOutline16, {})
10874
10908
  }] : [],
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
10909
  {
10888
10910
  id: "archive",
10889
10911
  label: t("archiveAgent"),
@@ -10893,7 +10915,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10893
10915
  ],
10894
10916
  onSelect: (id) => {
10895
10917
  if (id === "edit") setEditing(true);
10896
- else if (id === "clear-context") setClearing(true);
10897
10918
  else if (id === "archive") setArchiving(true);
10898
10919
  else recover();
10899
10920
  },
@@ -10906,33 +10927,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10906
10927
  role: "alert",
10907
10928
  children: rowAlert
10908
10929
  }),
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
10930
  archiving && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
10937
10931
  open: true,
10938
10932
  onClose: () => {
@@ -11576,7 +11570,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11576
11570
  }
11577
11571
  //#endregion
11578
11572
  //#region src/client/TeamWorkspaceBrowser.tsx
11579
- function TeamWorkspaceBrowser({ wide, expandSidebar, navigation, selectWorkspace, selectChannel, t, useWorkspaces, loadMembers, subscribeChanges, addMember, loadChannels, createChannel, updateChannel, archiveChannel, updateMember, recoverMember, clearMemberContext, archiveMember, joinChannel, removeChannelMember, loadModels, openMemberSession }) {
11573
+ function TeamWorkspaceBrowser({ wide, expandSidebar, navigation, selectWorkspace, selectChannel, t, useWorkspaces, loadMembers, subscribeChanges, addMember, loadChannels, createChannel, updateChannel, archiveChannel, updateMember, recoverMember, archiveMember, joinChannel, removeChannelMember, loadModels, openMemberSession }) {
11580
11574
  const navigationState = (0, react.useSyncExternalStore)(navigation.subscribe, navigation.getSnapshot, navigation.getSnapshot);
11581
11575
  const workspaces = useWorkspaces((state) => state.items);
11582
11576
  const selected = navigationState.workspaceId;
@@ -11685,7 +11679,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11685
11679
  addMember,
11686
11680
  updateMember,
11687
11681
  recoverMember,
11688
- clearMemberContext,
11689
11682
  archiveMember,
11690
11683
  loadModels,
11691
11684
  ...navigationState.memberSessionId === void 0 ? {} : { memberSessionId: navigationState.memberSessionId },
@@ -11744,13 +11737,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11744
11737
  restartAgent: "重启",
11745
11738
  restartStillUnavailable: "重启已执行,成员仍不可用:{diagnostic}",
11746
11739
  restartFailed: "重启执行失败:{message}",
11747
- clearContextAgent: "从全新上下文开始",
11748
- clearContextWorkingReason: "成员正在工作中,完成后才能清空上下文",
11749
- clearContextUnavailableReason: "成员当前不可用,恢复在线且空闲后才能清空上下文",
11750
- clearContextTitle: "从全新上下文开始:{name}",
11751
- clearContextNotice: "将结束 {name} 当前的会话上下文并从空白开始:旧对话会归档保留在会话记录中。{name} 的身份、私有记忆与 notes、频道和会话绑定都保持不变,后续协作从新上下文继续累积。",
11752
- clearContextConfirm: "开始全新上下文",
11753
- clearContextFailed: "清空上下文失败:{message}",
11754
11740
  archiveAgent: "归档",
11755
11741
  archiveAgentTitle: "归档 Agent:{name}",
11756
11742
  archiveAgentNotice: "将把 {name} 从所有列表收起:会话与私有记忆保留在磁盘上、活跃 Claim 会释放,但暂无恢复入口。",
@@ -11899,13 +11885,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11899
11885
  restartAgent: "Restart",
11900
11886
  restartStillUnavailable: "Restart ran, but the Member is still unavailable: {diagnostic}",
11901
11887
  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
11888
  archiveAgent: "Archive",
11910
11889
  archiveAgentTitle: "Archive Agent: {name}",
11911
11890
  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.",
@@ -12110,6 +12089,25 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
12110
12089
  disposeNavigation();
12111
12090
  disposeDrafts();
12112
12091
  }, "agent-team: navigation service");
12092
+ ctx.effect(() => {
12093
+ let previous = navigation.getSnapshot();
12094
+ const restore = () => {
12095
+ const snapshot = navigation.getSnapshot();
12096
+ const departed = previous.memberSessionId;
12097
+ const returnTo = previous.returnToSessionId;
12098
+ previous = snapshot;
12099
+ if (departed === void 0 || snapshot.memberSessionId !== void 0) return;
12100
+ const sessions = ctx.sessions;
12101
+ if (sessions.list.getSnapshot().current !== departed) return;
12102
+ if (returnTo !== void 0 && sessions.list.getSnapshot().byId[returnTo] !== void 0) sessions.open(returnTo);
12103
+ else sessions.clear();
12104
+ };
12105
+ const unsubscribe = navigation.subscribe(restore);
12106
+ return () => {
12107
+ unsubscribe();
12108
+ restore();
12109
+ };
12110
+ }, "agent-team: member session restore");
12113
12111
  const changes = new TeamChangeStream((request, signal) => ctx.remote.agentTeam.changes(request, signal));
12114
12112
  const loadMemberGroups = async () => {
12115
12113
  const workspaces = ctx.workspaces.list.getSnapshot().items;
@@ -12133,14 +12131,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
12133
12131
  navigation,
12134
12132
  ...navigation.actions(),
12135
12133
  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
12134
  navigation.actions().exitMemberSession();
12143
- if (returnTo !== void 0) ctx.sessions.open(returnTo);
12144
12135
  navigation.actions().leaveTeam();
12145
12136
  },
12146
12137
  loadMemberGroups