@wowyuarm/dsh-agent-team 0.1.15 → 0.2.0

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 (61) hide show
  1. package/README.md +7 -3
  2. package/README.zh.md +7 -3
  3. package/package.json +49 -47
  4. package/packages/agent-team/lib/context-source.js +11 -6
  5. package/packages/agent-team/lib/environment-check.js +102 -0
  6. package/packages/agent-team/lib/human-profile.js +23 -37
  7. package/packages/agent-team/lib/index.js +28 -2
  8. package/packages/agent-team/lib/installed-manifest.js +32 -0
  9. package/packages/agent-team/lib/ledger.js +35 -0
  10. package/packages/agent-team/lib/member-context.js +2 -4
  11. package/packages/agent-team/lib/member-time-context.js +2 -4
  12. package/packages/agent-team/lib/pressure-policy.js +13 -8
  13. package/packages/agent-team/lib/typert.host.js +121 -44
  14. package/packages/agent-team/lib/typert.remote-client.d.ts +3 -1
  15. package/packages/agent-team/lib/typert.remote-client.d.ts.map +1 -1
  16. package/packages/agent-team/lib/typert.remote-client.js +86 -38
  17. package/packages/agent-team/lib/types/context-source.d.ts +7 -4
  18. package/packages/agent-team/lib/types/context-source.d.ts.map +1 -1
  19. package/packages/agent-team/lib/types/environment-check.d.ts +66 -0
  20. package/packages/agent-team/lib/types/environment-check.d.ts.map +1 -0
  21. package/packages/agent-team/lib/types/human-profile.d.ts +21 -27
  22. package/packages/agent-team/lib/types/human-profile.d.ts.map +1 -1
  23. package/packages/agent-team/lib/types/index.d.ts +23 -2
  24. package/packages/agent-team/lib/types/index.d.ts.map +1 -1
  25. package/packages/agent-team/lib/types/installed-manifest.d.ts +16 -0
  26. package/packages/agent-team/lib/types/installed-manifest.d.ts.map +1 -0
  27. package/packages/agent-team/lib/types/ledger.d.ts +12 -0
  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-time-context.d.ts.map +1 -1
  31. package/packages/agent-team/lib/types/pressure-policy.d.ts +5 -1
  32. package/packages/agent-team/lib/types/pressure-policy.d.ts.map +1 -1
  33. package/packages/agent-team/lib/types/types/entities.d.ts +1 -8
  34. package/packages/agent-team/lib/types/types/entities.d.ts.map +1 -1
  35. package/packages/agent-team/lib/types/types/requests-results.d.ts +66 -0
  36. package/packages/agent-team/lib/types/types/requests-results.d.ts.map +1 -1
  37. package/packages/client-agent-team/lib/client.js +324 -75
  38. package/packages/client-agent-team/lib/client.js.map +1 -1
  39. package/packages/client-agent-team/lib/types/client/EnvironmentCheck.d.ts +18 -0
  40. package/packages/client-agent-team/lib/types/client/EnvironmentCheck.d.ts.map +1 -0
  41. package/packages/client-agent-team/lib/types/client/EnvironmentCheck.js +58 -0
  42. package/packages/client-agent-team/lib/types/client/HumanSettingsSection.d.ts +3 -0
  43. package/packages/client-agent-team/lib/types/client/HumanSettingsSection.d.ts.map +1 -1
  44. package/packages/client-agent-team/lib/types/client/HumanSettingsSection.js +7 -4
  45. package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.js +0 -5
  46. package/packages/client-agent-team/lib/types/client/TeamPresenceDot.d.ts +1 -1
  47. package/packages/client-agent-team/lib/types/client/TeamPresenceDot.d.ts.map +1 -1
  48. package/packages/client-agent-team/lib/types/client/TeamPresenceDot.js +2 -7
  49. package/packages/client-agent-team/lib/types/client/environment-check.d.ts +65 -0
  50. package/packages/client-agent-team/lib/types/client/environment-check.d.ts.map +1 -0
  51. package/packages/client-agent-team/lib/types/client/environment-check.js +78 -0
  52. package/packages/client-agent-team/lib/types/client/index.d.ts.map +1 -1
  53. package/packages/client-agent-team/lib/types/client/index.js +9 -0
  54. package/packages/client-agent-team/lib/types/client/locales.d.ts +18 -8
  55. package/packages/client-agent-team/lib/types/client/locales.d.ts.map +1 -1
  56. package/packages/client-agent-team/lib/types/client/locales.js +21 -8
  57. package/packages/tool-agent-team/lib/context-tools.js +106 -94
  58. package/packages/tool-agent-team/lib/index.js +17 -2
  59. package/packages/tool-agent-team/lib/types/context-tools.d.ts +16 -7
  60. package/packages/tool-agent-team/lib/types/context-tools.d.ts.map +1 -1
  61. package/packages/tool-agent-team/lib/types/index.d.ts.map +1 -1
@@ -4161,8 +4161,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4161
4161
  "kind": string().readonly(),
4162
4162
  "path": string().readonly()
4163
4163
  }).readonly().optional(),
4164
- "sessionId": intersection(string(), unknown()).readonly().optional(),
4165
- "remediable": boolean().readonly().optional()
4164
+ "sessionId": intersection(string(), unknown()).readonly().optional()
4166
4165
  }).readonly().optional(),
4167
4166
  "capabilityWarnings": union([_undefined(), array(object({
4168
4167
  "name": string().readonly(),
@@ -4483,8 +4482,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4483
4482
  "kind": string().readonly(),
4484
4483
  "path": string().readonly()
4485
4484
  }).readonly().optional(),
4486
- "sessionId": intersection(string(), unknown()).readonly().optional(),
4487
- "remediable": boolean().readonly().optional()
4485
+ "sessionId": intersection(string(), unknown()).readonly().optional()
4488
4486
  }).readonly().optional(),
4489
4487
  "capabilityWarnings": union([_undefined(), array(object({
4490
4488
  "name": string().readonly(),
@@ -4518,6 +4516,24 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4518
4516
  }).readonly(),
4519
4517
  "memberIds": array(intersection(string(), unknown())).readonly()
4520
4518
  });
4519
+ let _wowyuarm_dsh_agent_team_agentTeam_environment_parameter_0$schema$value;
4520
+ const _wowyuarm_dsh_agent_team_agentTeam_environment_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_environment_parameter_0$schema$value ??= object({});
4521
+ let _wowyuarm_dsh_agent_team_agentTeam_environment_result$schema$value;
4522
+ const _wowyuarm_dsh_agent_team_agentTeam_environment_result$schema = () => _wowyuarm_dsh_agent_team_agentTeam_environment_result$schema$value ??= object({
4523
+ "verdict": union([
4524
+ literal("ok"),
4525
+ literal("out-of-range"),
4526
+ literal("undetermined")
4527
+ ]).readonly(),
4528
+ "reason": union([_undefined(), string()]).readonly().optional(),
4529
+ "bundleVersion": union([_undefined(), string()]).readonly().optional(),
4530
+ "dshVersion": union([_undefined(), string()]).readonly().optional(),
4531
+ "certifiedDshVersion": union([_undefined(), string()]).readonly().optional(),
4532
+ "supportRange": union([_undefined(), object({
4533
+ "lower": string().readonly(),
4534
+ "upper": string().readonly()
4535
+ })]).readonly().optional()
4536
+ });
4521
4537
  let _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema$value;
4522
4538
  const _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema = () => _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema$value ??= object({ "attachmentId": intersection(string(), unknown()).readonly() });
4523
4539
  let _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema$value;
@@ -4776,8 +4792,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4776
4792
  "kind": string().readonly(),
4777
4793
  "path": string().readonly()
4778
4794
  }).readonly().optional(),
4779
- "sessionId": intersection(string(), unknown()).readonly().optional(),
4780
- "remediable": boolean().readonly().optional()
4795
+ "sessionId": intersection(string(), unknown()).readonly().optional()
4781
4796
  }).readonly().optional(),
4782
4797
  "capabilityWarnings": union([_undefined(), array(object({
4783
4798
  "name": string().readonly(),
@@ -5113,8 +5128,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5113
5128
  "kind": string().readonly(),
5114
5129
  "path": string().readonly()
5115
5130
  }).readonly().optional(),
5116
- "sessionId": intersection(string(), unknown()).readonly().optional(),
5117
- "remediable": boolean().readonly().optional()
5131
+ "sessionId": intersection(string(), unknown()).readonly().optional()
5118
5132
  }).readonly().optional(),
5119
5133
  "capabilityWarnings": union([_undefined(), array(object({
5120
5134
  "name": string().readonly(),
@@ -5656,8 +5670,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5656
5670
  "kind": string().readonly(),
5657
5671
  "path": string().readonly()
5658
5672
  }).readonly().optional(),
5659
- "sessionId": intersection(string(), unknown()).readonly().optional(),
5660
- "remediable": boolean().readonly().optional()
5673
+ "sessionId": intersection(string(), unknown()).readonly().optional()
5661
5674
  }).readonly().optional(),
5662
5675
  "capabilityWarnings": union([_undefined(), array(object({
5663
5676
  "name": string().readonly(),
@@ -5771,6 +5784,25 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5771
5784
  "messageCount": number().readonly(),
5772
5785
  "lastActivityAt": string().readonly()
5773
5786
  })).readonly(),
5787
+ "activeTaskThreads": array(object({
5788
+ "taskRef": intersection(string(), unknown()).readonly(),
5789
+ "threadRef": intersection(string(), unknown()).readonly(),
5790
+ "channelRef": intersection(string(), unknown()).readonly(),
5791
+ "taskNumber": number().readonly().optional(),
5792
+ "status": union([
5793
+ literal("done"),
5794
+ literal("todo"),
5795
+ literal("in_progress"),
5796
+ literal("in_review"),
5797
+ literal("closed")
5798
+ ]).readonly(),
5799
+ "subject": string().readonly(),
5800
+ "members": array(object({
5801
+ "memberId": intersection(string(), unknown()).readonly(),
5802
+ "name": string().readonly()
5803
+ })).readonly(),
5804
+ "lastActivityAt": string().readonly()
5805
+ })).readonly(),
5774
5806
  "claims": array(object({
5775
5807
  "claimRef": intersection(string(), unknown()).readonly(),
5776
5808
  "taskRef": intersection(string(), unknown()).readonly(),
@@ -5853,7 +5885,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5853
5885
  },
5854
5886
  sourceLocation: {
5855
5887
  "file": "packages/agent-team/src/index.ts",
5856
- "line": 891,
5888
+ "line": 896,
5857
5889
  "column": 9
5858
5890
  }
5859
5891
  },
@@ -5880,7 +5912,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5880
5912
  },
5881
5913
  sourceLocation: {
5882
5914
  "file": "packages/agent-team/src/index.ts",
5883
- "line": 881,
5915
+ "line": 886,
5884
5916
  "column": 9
5885
5917
  }
5886
5918
  },
@@ -5907,7 +5939,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5907
5939
  },
5908
5940
  sourceLocation: {
5909
5941
  "file": "packages/agent-team/src/index.ts",
5910
- "line": 1271,
5942
+ "line": 1276,
5911
5943
  "column": 9
5912
5944
  }
5913
5945
  },
@@ -5934,7 +5966,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5934
5966
  },
5935
5967
  sourceLocation: {
5936
5968
  "file": "packages/agent-team/src/index.ts",
5937
- "line": 1500,
5969
+ "line": 1527,
5938
5970
  "column": 9
5939
5971
  }
5940
5972
  },
@@ -5963,7 +5995,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5963
5995
  },
5964
5996
  sourceLocation: {
5965
5997
  "file": "packages/agent-team/src/index.ts",
5966
- "line": 814,
5998
+ "line": 819,
5967
5999
  "column": 11
5968
6000
  }
5969
6001
  },
@@ -5990,7 +6022,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5990
6022
  },
5991
6023
  sourceLocation: {
5992
6024
  "file": "packages/agent-team/src/index.ts",
5993
- "line": 1283,
6025
+ "line": 1288,
5994
6026
  "column": 9
5995
6027
  }
5996
6028
  },
@@ -6017,7 +6049,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6017
6049
  },
6018
6050
  sourceLocation: {
6019
6051
  "file": "packages/agent-team/src/index.ts",
6020
- "line": 997,
6052
+ "line": 1002,
6021
6053
  "column": 9
6022
6054
  }
6023
6055
  },
@@ -6044,10 +6076,38 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6044
6076
  },
6045
6077
  sourceLocation: {
6046
6078
  "file": "packages/agent-team/src/index.ts",
6047
- "line": 854,
6079
+ "line": 859,
6048
6080
  "column": 9
6049
6081
  }
6050
6082
  },
6083
+ {
6084
+ id: "@wowyuarm/dsh-agent-team#agentTeam/environment",
6085
+ service: "agentTeam",
6086
+ namespace: "agentTeam",
6087
+ method: "environment",
6088
+ implementation: "environmentForClient",
6089
+ invocation: { kind: "direct" },
6090
+ parameters: [{
6091
+ name: "_request",
6092
+ wire: "_request",
6093
+ source: "json",
6094
+ codec: {
6095
+ mode: "strict",
6096
+ typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamEnvironmentRequest",
6097
+ create: _wowyuarm_dsh_agent_team_agentTeam_environment_parameter_0$schema
6098
+ }
6099
+ }],
6100
+ result: {
6101
+ mode: "strict",
6102
+ typeSymbol: "@wowyuarm/dsh-agent-team/types#AgentTeamEnvironmentResult",
6103
+ create: _wowyuarm_dsh_agent_team_agentTeam_environment_result$schema
6104
+ },
6105
+ sourceLocation: {
6106
+ "file": "packages/agent-team/src/index.ts",
6107
+ "line": 1434,
6108
+ "column": 3
6109
+ }
6110
+ },
6051
6111
  {
6052
6112
  id: "@wowyuarm/dsh-agent-team#agentTeam/getAttachment",
6053
6113
  service: "agentTeam",
@@ -6071,7 +6131,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6071
6131
  },
6072
6132
  sourceLocation: {
6073
6133
  "file": "packages/agent-team/src/index.ts",
6074
- "line": 1397,
6134
+ "line": 1402,
6075
6135
  "column": 9
6076
6136
  }
6077
6137
  },
@@ -6098,7 +6158,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6098
6158
  },
6099
6159
  sourceLocation: {
6100
6160
  "file": "packages/agent-team/src/index.ts",
6101
- "line": 1440,
6161
+ "line": 1467,
6102
6162
  "column": 9
6103
6163
  }
6104
6164
  },
@@ -6126,7 +6186,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6126
6186
  },
6127
6187
  sourceLocation: {
6128
6188
  "file": "packages/agent-team/src/index.ts",
6129
- "line": 1412,
6189
+ "line": 1439,
6130
6190
  "column": 3
6131
6191
  }
6132
6192
  },
@@ -6153,7 +6213,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6153
6213
  },
6154
6214
  sourceLocation: {
6155
6215
  "file": "packages/agent-team/src/index.ts",
6156
- "line": 1509,
6216
+ "line": 1536,
6157
6217
  "column": 3
6158
6218
  }
6159
6219
  },
@@ -6180,7 +6240,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6180
6240
  },
6181
6241
  sourceLocation: {
6182
6242
  "file": "packages/agent-team/src/index.ts",
6183
- "line": 1303,
6243
+ "line": 1308,
6184
6244
  "column": 9
6185
6245
  }
6186
6246
  },
@@ -6207,7 +6267,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6207
6267
  },
6208
6268
  sourceLocation: {
6209
6269
  "file": "packages/agent-team/src/index.ts",
6210
- "line": 1323,
6270
+ "line": 1328,
6211
6271
  "column": 9
6212
6272
  }
6213
6273
  },
@@ -6234,7 +6294,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6234
6294
  },
6235
6295
  sourceLocation: {
6236
6296
  "file": "packages/agent-team/src/index.ts",
6237
- "line": 1332,
6297
+ "line": 1337,
6238
6298
  "column": 9
6239
6299
  }
6240
6300
  },
@@ -6262,7 +6322,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6262
6322
  },
6263
6323
  sourceLocation: {
6264
6324
  "file": "packages/agent-team/src/index.ts",
6265
- "line": 804,
6325
+ "line": 809,
6266
6326
  "column": 3
6267
6327
  }
6268
6328
  },
@@ -6289,7 +6349,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6289
6349
  },
6290
6350
  sourceLocation: {
6291
6351
  "file": "packages/agent-team/src/index.ts",
6292
- "line": 1293,
6352
+ "line": 1298,
6293
6353
  "column": 9
6294
6354
  }
6295
6355
  },
@@ -6316,7 +6376,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6316
6376
  },
6317
6377
  sourceLocation: {
6318
6378
  "file": "packages/agent-team/src/index.ts",
6319
- "line": 1384,
6379
+ "line": 1389,
6320
6380
  "column": 9
6321
6381
  }
6322
6382
  },
@@ -6343,7 +6403,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6343
6403
  },
6344
6404
  sourceLocation: {
6345
6405
  "file": "packages/agent-team/src/index.ts",
6346
- "line": 1432,
6406
+ "line": 1459,
6347
6407
  "column": 9
6348
6408
  }
6349
6409
  },
@@ -6370,7 +6430,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6370
6430
  },
6371
6431
  sourceLocation: {
6372
6432
  "file": "packages/agent-team/src/index.ts",
6373
- "line": 1516,
6433
+ "line": 1543,
6374
6434
  "column": 9
6375
6435
  }
6376
6436
  },
@@ -6397,7 +6457,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6397
6457
  },
6398
6458
  sourceLocation: {
6399
6459
  "file": "packages/agent-team/src/index.ts",
6400
- "line": 954,
6460
+ "line": 959,
6401
6461
  "column": 9
6402
6462
  }
6403
6463
  },
@@ -6424,7 +6484,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6424
6484
  },
6425
6485
  sourceLocation: {
6426
6486
  "file": "packages/agent-team/src/index.ts",
6427
- "line": 1314,
6487
+ "line": 1319,
6428
6488
  "column": 9
6429
6489
  }
6430
6490
  },
@@ -6451,7 +6511,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6451
6511
  },
6452
6512
  sourceLocation: {
6453
6513
  "file": "packages/agent-team/src/index.ts",
6454
- "line": 1448,
6514
+ "line": 1475,
6455
6515
  "column": 9
6456
6516
  }
6457
6517
  },
@@ -6478,7 +6538,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6478
6538
  },
6479
6539
  sourceLocation: {
6480
6540
  "file": "packages/agent-team/src/index.ts",
6481
- "line": 1494,
6541
+ "line": 1521,
6482
6542
  "column": 9
6483
6543
  }
6484
6544
  },
@@ -6505,7 +6565,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6505
6565
  },
6506
6566
  sourceLocation: {
6507
6567
  "file": "packages/agent-team/src/index.ts",
6508
- "line": 778,
6568
+ "line": 783,
6509
6569
  "column": 3
6510
6570
  }
6511
6571
  },
@@ -6532,7 +6592,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6532
6592
  },
6533
6593
  sourceLocation: {
6534
6594
  "file": "packages/agent-team/src/index.ts",
6535
- "line": 791,
6595
+ "line": 796,
6536
6596
  "column": 3
6537
6597
  }
6538
6598
  },
@@ -6559,7 +6619,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6559
6619
  },
6560
6620
  sourceLocation: {
6561
6621
  "file": "packages/agent-team/src/index.ts",
6562
- "line": 1341,
6622
+ "line": 1346,
6563
6623
  "column": 9
6564
6624
  }
6565
6625
  },
@@ -6586,7 +6646,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6586
6646
  },
6587
6647
  sourceLocation: {
6588
6648
  "file": "packages/agent-team/src/index.ts",
6589
- "line": 1470,
6649
+ "line": 1497,
6590
6650
  "column": 9
6591
6651
  }
6592
6652
  },
@@ -6613,7 +6673,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6613
6673
  },
6614
6674
  sourceLocation: {
6615
6675
  "file": "packages/agent-team/src/index.ts",
6616
- "line": 1534,
6676
+ "line": 1561,
6617
6677
  "column": 3
6618
6678
  }
6619
6679
  },
@@ -6640,7 +6700,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6640
6700
  },
6641
6701
  sourceLocation: {
6642
6702
  "file": "packages/agent-team/src/index.ts",
6643
- "line": 1527,
6703
+ "line": 1554,
6644
6704
  "column": 3
6645
6705
  }
6646
6706
  },
@@ -6667,7 +6727,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6667
6727
  },
6668
6728
  sourceLocation: {
6669
6729
  "file": "packages/agent-team/src/index.ts",
6670
- "line": 866,
6730
+ "line": 871,
6671
6731
  "column": 9
6672
6732
  }
6673
6733
  },
@@ -6694,7 +6754,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6694
6754
  },
6695
6755
  sourceLocation: {
6696
6756
  "file": "packages/agent-team/src/index.ts",
6697
- "line": 1211,
6757
+ "line": 1216,
6698
6758
  "column": 9
6699
6759
  }
6700
6760
  },
@@ -6721,7 +6781,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6721
6781
  },
6722
6782
  sourceLocation: {
6723
6783
  "file": "packages/agent-team/src/index.ts",
6724
- "line": 1541,
6784
+ "line": 1568,
6725
6785
  "column": 3
6726
6786
  }
6727
6787
  }
@@ -6729,12 +6789,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6729
6789
  };
6730
6790
  //#endregion
6731
6791
  //#region src/client/human-identity.ts
6732
- const INITIAL = {
6792
+ const INITIAL$1 = {
6733
6793
  status: "loading",
6734
6794
  updateAvailable: false
6735
6795
  };
6736
6796
  var TeamHumanIdentity = class {
6737
- snapshot = INITIAL;
6797
+ snapshot = INITIAL$1;
6738
6798
  listeners = /* @__PURE__ */ new Set();
6739
6799
  reading;
6740
6800
  loader;
@@ -6823,6 +6883,184 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6823
6883
  return (0, react.useSyncExternalStore)(identity.subscribe, identity.getSnapshot, identity.getSnapshot);
6824
6884
  }
6825
6885
  //#endregion
6886
+ //#region src/client/environment-check.ts
6887
+ const INITIAL = { status: "loading" };
6888
+ var TeamEnvironmentCheck = class {
6889
+ snapshot = INITIAL;
6890
+ listeners = /* @__PURE__ */ new Set();
6891
+ reading;
6892
+ loader;
6893
+ constructor(loader) {
6894
+ this.loader = loader;
6895
+ }
6896
+ getSnapshot = () => this.snapshot;
6897
+ /**
6898
+ * Observe the check, starting the first read when nobody has read yet.
6899
+ * @param listener - invoked after every snapshot replacement.
6900
+ * @returns the disposer removing this listener.
6901
+ */
6902
+ subscribe = (listener) => {
6903
+ this.listeners.add(listener);
6904
+ if (this.snapshot.status === "loading" && this.reading === void 0) this.refresh();
6905
+ return () => {
6906
+ this.listeners.delete(listener);
6907
+ };
6908
+ };
6909
+ /**
6910
+ * Read the Host projection. Concurrent callers share one round trip, and a
6911
+ * failed read keeps the last accepted report — the block never blanks out
6912
+ * over a background read.
6913
+ * @returns settlement of this read (or of the read already in flight).
6914
+ */
6915
+ refresh() {
6916
+ if (this.reading !== void 0) return this.reading;
6917
+ const reading = this.read().finally(() => {
6918
+ if (this.reading === reading) this.reading = void 0;
6919
+ });
6920
+ this.reading = reading;
6921
+ return reading;
6922
+ }
6923
+ dispose() {
6924
+ this.listeners.clear();
6925
+ }
6926
+ async read() {
6927
+ let report;
6928
+ try {
6929
+ const result = await this.loader.loadEnvironment();
6930
+ if (!result.ok) {
6931
+ this.fail();
6932
+ return;
6933
+ }
6934
+ report = result.value;
6935
+ } catch {
6936
+ this.fail();
6937
+ return;
6938
+ }
6939
+ this.commit({
6940
+ status: "ready",
6941
+ report
6942
+ });
6943
+ }
6944
+ /**
6945
+ * Settle a read that produced no report, so a reader stops waiting on a
6946
+ * `loading` that will never finish. A report that already stands is left
6947
+ * untouched: a failed background read never blanks the block.
6948
+ */
6949
+ fail() {
6950
+ if (this.snapshot.report === void 0) this.commit({ status: "ready" });
6951
+ }
6952
+ commit(snapshot) {
6953
+ this.snapshot = snapshot;
6954
+ for (const listener of this.listeners) listener();
6955
+ }
6956
+ };
6957
+ /** Subscribe one rendered block to the environment check. */
6958
+ function useEnvironmentCheck(environment) {
6959
+ return (0, react.useSyncExternalStore)(environment.subscribe, environment.getSnapshot, environment.getSnapshot);
6960
+ }
6961
+ //#endregion
6962
+ //#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/environment-check.module.css.mjs
6963
+ const css$15 = "._29JyaW_block{align-items:flex-start;gap:8px;display:flex}._29JyaW_icon{color:var(--dsw-alias-label-tertiary);flex:none;width:16px;height:16px;margin-top:2px}._29JyaW_body{flex-direction:column;gap:4px;min-width:0;display:flex}._29JyaW_title{color:var(--dsw-alias-label-secondary);margin:0;font-size:13px;line-height:20px}._29JyaW_detail{color:var(--dsw-alias-label-tertiary);margin:0;font-size:12px;line-height:18px}._29JyaW_action{margin:2px 0 0;font-size:12px;line-height:18px}._29JyaW_link{color:var(--dsw-alias-brand-primary);text-decoration:none}._29JyaW_link:hover{text-decoration:underline}._29JyaW_link:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}._29JyaW_block[data-environment=ok] ._29JyaW_icon{color:var(--dsw-alias-state-success-primary)}._29JyaW_block[data-environment=out-of-range]{background:var(--dsw-alias-state-warn-tertiary);border-radius:var(--dsw-radius-md,12px);gap:10px;padding:12px}._29JyaW_block[data-environment=out-of-range] ._29JyaW_icon,._29JyaW_block[data-environment=out-of-range] ._29JyaW_title{color:var(--dsw-alias-state-warn-label)}";
6964
+ const tagId$15 = "@wowyuarm/dsh-agent-team/environment-check.module.css";
6965
+ if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$15) + "]") === null) {
6966
+ const tag = document.createElement("style");
6967
+ tag.dataset.plugin = "@wowyuarm/dsh-agent-team";
6968
+ tag.dataset.pluginCss = tagId$15;
6969
+ tag.textContent = css$15;
6970
+ document.head.appendChild(tag);
6971
+ }
6972
+ var environment_check_module_css_default = {
6973
+ "action": "_29JyaW_action",
6974
+ "block": "_29JyaW_block",
6975
+ "body": "_29JyaW_body",
6976
+ "detail": "_29JyaW_detail",
6977
+ "icon": "_29JyaW_icon",
6978
+ "link": "_29JyaW_link",
6979
+ "title": "_29JyaW_title"
6980
+ };
6981
+ //#endregion
6982
+ //#region src/client/EnvironmentCheck.tsx
6983
+ /** The three glyphs, drawn at the 16px seat the settings page uses for state marks. */
6984
+ const ICONS = {
6985
+ ok: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M3 8.5 6.5 12 13 4.5" }),
6986
+ warn: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
6987
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M8 2.5 14.6 13.6H1.4z" }),
6988
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M8 6.6v3.2" }),
6989
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M8 11.9h.01" })
6990
+ ] }),
6991
+ unknown: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
6992
+ cx: "8",
6993
+ cy: "8",
6994
+ r: "6"
6995
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M5.6 8h4.8" })] })
6996
+ };
6997
+ function EnvironmentIcon({ glyph }) {
6998
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
6999
+ className: environment_check_module_css_default.icon,
7000
+ viewBox: "0 0 16 16",
7001
+ fill: "none",
7002
+ stroke: "currentColor",
7003
+ strokeWidth: "1.5",
7004
+ strokeLinecap: "round",
7005
+ strokeLinejoin: "round",
7006
+ "aria-hidden": "true",
7007
+ children: ICONS[glyph]
7008
+ });
7009
+ }
7010
+ /** The release notes this bundle's own repository keeps, one click from the version footnote. */
7011
+ const RELEASE_NOTES_URL = "https://github.com/wowyuarm/dsh-agent-team/releases";
7012
+ function EnvironmentCheck({ t, environment }) {
7013
+ const { report } = useEnvironmentCheck(environment);
7014
+ if (report === void 0) return null;
7015
+ const range = report.supportRange;
7016
+ const running = report.dshVersion;
7017
+ const certified = report.certifiedDshVersion;
7018
+ const bundleVersion = report.bundleVersion;
7019
+ const tested = certified !== void 0 && bundleVersion !== void 0 && bundleVersion !== "unknown";
7020
+ const title = report.verdict === "ok" ? t("environmentOkTitle") : report.verdict === "out-of-range" ? t("environmentOutOfRangeTitle") : t("environmentUndeterminedTitle");
7021
+ const lines = [];
7022
+ if (report.verdict === "ok") {
7023
+ if (running !== void 0) lines.push(t("environmentOkDetail", { version: running }));
7024
+ } else if (report.verdict === "out-of-range") {
7025
+ if (running !== void 0) lines.push(t("environmentOutOfRangeDetail", { version: running }));
7026
+ if (range !== void 0) lines.push(t("environmentRange", {
7027
+ lower: range.lower,
7028
+ upper: range.upper
7029
+ }));
7030
+ if (tested && certified !== void 0 && bundleVersion !== void 0) lines.push(t("environmentTested", {
7031
+ bundle: bundleVersion,
7032
+ dsh: certified
7033
+ }));
7034
+ } else lines.push(t("environmentUndeterminedDetail"));
7035
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
7036
+ className: environment_check_module_css_default.block,
7037
+ "data-environment": report.verdict,
7038
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(EnvironmentIcon, { glyph: report.verdict === "ok" ? "ok" : report.verdict === "out-of-range" ? "warn" : "unknown" }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
7039
+ className: environment_check_module_css_default.body,
7040
+ children: [
7041
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
7042
+ className: environment_check_module_css_default.title,
7043
+ children: title
7044
+ }),
7045
+ lines.map((line, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
7046
+ className: environment_check_module_css_default.detail,
7047
+ children: line
7048
+ }, index)),
7049
+ report.verdict !== "ok" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
7050
+ className: environment_check_module_css_default.action,
7051
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
7052
+ className: environment_check_module_css_default.link,
7053
+ href: RELEASE_NOTES_URL,
7054
+ target: "_blank",
7055
+ rel: "noreferrer",
7056
+ children: t("environmentReleaseNotes")
7057
+ })
7058
+ })
7059
+ ]
7060
+ })]
7061
+ });
7062
+ }
7063
+ //#endregion
6826
7064
  //#region src/client/avatar-image.ts
6827
7065
  function useAvatarImage(url) {
6828
7066
  const [broken, setBroken] = (0, react.useState)(void 0);
@@ -6835,7 +7073,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6835
7073
  }
6836
7074
  //#endregion
6837
7075
  //#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/human-settings.module.css.mjs
6838
- const css$14 = ".HwTxra_section{max-width:760px;color:var(--dsw-alias-label-primary);flex-direction:column;gap:12px;display:flex;container-type:inline-size}.HwTxra_heading{margin:0;font-size:18px;font-weight:600}.HwTxra_intro{color:var(--dsw-alias-label-tertiary);margin:0;font-size:13px;line-height:20px}.HwTxra_rows{flex-direction:column;display:flex}.HwTxra_row{border-bottom:1px solid var(--dsw-alias-border-l2);align-items:center;gap:12px;padding:16px 0;display:flex}.HwTxra_row:last-child{border-bottom:none}.HwTxra_rowText{flex-direction:column;flex:1;gap:4px;min-width:0;padding-right:48px;display:flex}.HwTxra_title{font-size:14px;line-height:22px}.HwTxra_desc{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px}.HwTxra_controls{flex:none;align-items:center;gap:12px;display:inline-flex}.HwTxra_nameInput{width:200px;height:36px}.HwTxra_identity{corner-shape:round;border-radius:50%;flex:none;width:40px;height:40px}.HwTxra_identityImage{object-fit:cover;display:block}.HwTxra_identityFallback{background:var(--dsw-alias-state-business-primary);color:var(--dsw-static-neutral-bluish-00);justify-content:center;align-items:center;font-size:16px;font-weight:600;line-height:40px;display:inline-flex}.HwTxra_footnote{color:var(--dsw-alias-label-tertiary);flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;line-height:18px;display:flex}.HwTxra_link{color:var(--dsw-alias-brand-primary);cursor:pointer;text-decoration:none}.HwTxra_link:hover{text-decoration:underline}.HwTxra_link:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:2px}.HwTxra_notice{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px;line-height:18px}.HwTxra_state{color:var(--dsw-alias-label-tertiary);margin:0;font-size:13px;line-height:20px}.HwTxra_stateAction{align-items:center;gap:12px;display:flex}@container (width<=420px){.HwTxra_row{flex-direction:column;align-items:stretch;gap:12px}.HwTxra_rowText{padding-right:0}.HwTxra_nameInput{width:100%}.HwTxra_controls{flex-wrap:wrap}}";
7076
+ const css$14 = ".HwTxra_section{max-width:760px;color:var(--dsw-alias-label-primary);flex-direction:column;gap:12px;display:flex;container-type:inline-size}.HwTxra_heading{margin:0;font-size:18px;font-weight:600}.HwTxra_intro{color:var(--dsw-alias-label-tertiary);margin:0;font-size:13px;line-height:20px}.HwTxra_rows{flex-direction:column;display:flex}.HwTxra_row{border-bottom:1px solid var(--dsw-alias-border-l2);align-items:center;gap:12px;padding:16px 0;display:flex}.HwTxra_row:last-child{border-bottom:none}.HwTxra_rowText{flex-direction:column;flex:1;gap:4px;min-width:0;padding-right:48px;display:flex}.HwTxra_title{font-size:14px;line-height:22px}.HwTxra_desc{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px}.HwTxra_controls{flex:none;align-items:center;gap:12px;display:inline-flex}.HwTxra_nameInput{width:200px;height:36px}.HwTxra_identity{corner-shape:round;border-radius:50%;flex:none;width:40px;height:40px}.HwTxra_identityImage{object-fit:cover;display:block}.HwTxra_identityFallback{background:var(--dsw-alias-state-business-primary);color:var(--dsw-static-neutral-bluish-00);justify-content:center;align-items:center;font-size:16px;font-weight:600;line-height:40px;display:inline-flex}.HwTxra_footnote{color:var(--dsw-alias-label-tertiary);flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;line-height:18px;display:flex}.HwTxra_link{color:var(--dsw-alias-brand-primary);cursor:pointer;text-decoration:none}.HwTxra_link:hover{text-decoration:underline}.HwTxra_link:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}.HwTxra_notice{color:var(--dsw-alias-state-error-primary);margin:0;font-size:12px;line-height:18px}.HwTxra_state{color:var(--dsw-alias-label-tertiary);margin:0;font-size:13px;line-height:20px}.HwTxra_stateAction{align-items:center;gap:12px;display:flex}@container (width<=420px){.HwTxra_row{flex-direction:column;align-items:stretch;gap:12px}.HwTxra_rowText{padding-right:0}.HwTxra_nameInput{width:100%}.HwTxra_controls{flex-wrap:wrap}}";
6839
7077
  const tagId$14 = "@wowyuarm/dsh-agent-team/human-settings.module.css";
6840
7078
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$14) + "]") === null) {
6841
7079
  const tag = document.createElement("style");
@@ -6867,13 +7105,15 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6867
7105
  //#endregion
6868
7106
  //#region src/client/HumanSettingsSection.tsx
6869
7107
  /**
6870
- * The Human's own settings page: display name, avatar, and the version
6871
- * footnote.
7108
+ * The Human's own settings page: display name, avatar, the local environment
7109
+ * check, and the version footnote.
6872
7110
  *
6873
7111
  * The page owns no durable fact and no copy of one. Name, avatar, and version
6874
7112
  * all arrive from the shared identity projection, so a save here moves the
6875
7113
  * message rows and member refs at the same moment; a failed write keeps the
6876
- * typed name in the field and reports the Host's own reason.
7114
+ * typed name in the field and reports the Host's own reason. The environment
7115
+ * check is a separate projection, read only, and belongs to the installation
7116
+ * rather than to the Human.
6877
7117
  */
6878
7118
  /** Host-side avatar ceiling (`ATTACHMENT_MAX_BYTES`): the settings page refuses larger files before the round trip. */
6879
7119
  const AVATAR_MAX_BYTES = 10 * 1024 * 1024;
@@ -7073,6 +7313,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7073
7313
  })]
7074
7314
  })]
7075
7315
  }),
7316
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(EnvironmentCheck, {
7317
+ t,
7318
+ environment: props.environment
7319
+ }),
7076
7320
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
7077
7321
  className: human_settings_module_css_default.footnote,
7078
7322
  children: [
@@ -7561,7 +7805,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7561
7805
  };
7562
7806
  //#endregion
7563
7807
  //#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/team.module.css.mjs
7564
- const css$13 = ".YvAbSa_footerStack{flex:none;align-self:flex-end;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)}.YvAbSa_footerAction:focus-visible,.YvAbSa_settingsAction:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:-2px}.YvAbSa_footerAction.YvAbSa_rail,.YvAbSa_settingsAction.YvAbSa_rail{corner-shape:round;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}";
7808
+ const css$13 = ".YvAbSa_footerStack{flex:none;align-self:flex-end;width:100%;height:42px;margin:8px 0 0;display:flex}.YvAbSa_footerAction,.YvAbSa_settingsAction{border-radius:var(--dsw-radius-md,12px);box-sizing:border-box;color:var(--dsw-alias-label-primary);cursor:pointer;background:0 0;border:0;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)}.YvAbSa_footerAction:focus-visible,.YvAbSa_settingsAction:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.YvAbSa_footerAction.YvAbSa_rail,.YvAbSa_settingsAction.YvAbSa_rail{corner-shape:round;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}";
7565
7809
  const tagId$13 = "@wowyuarm/dsh-agent-team/team.module.css";
7566
7810
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$13) + "]") === null) {
7567
7811
  const tag = document.createElement("style");
@@ -8119,13 +8363,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8119
8363
  /**
8120
8364
  * Whether the restart action can help an unavailable Member: it heals
8121
8365
  * transient and repairable failures, but not a transient rollover window
8122
- * (which resolves on its own) or a refusal already proven non-remediable.
8366
+ * (which resolves on its own).
8123
8367
  */
8124
8368
  function restartOffered(status) {
8125
- const diagnostic = status.diagnostic;
8126
- if (diagnostic === void 0) return true;
8127
- if (diagnostic.class === "rollover") return false;
8128
- return !(diagnostic.class === "session-refused" && diagnostic.remediable === false);
8369
+ return status.diagnostic?.class !== "rollover";
8129
8370
  }
8130
8371
  /** Shared presence → indicator mapping for dots and avatar badges. */
8131
8372
  function presenceDotState(presence) {
@@ -8146,7 +8387,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8146
8387
  }
8147
8388
  //#endregion
8148
8389
  //#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/sidebar.module.css.mjs
8149
- const css$10 = "html[data-agent-team-mode=team] button[class*=newSession]{display:none}html[data-agent-team-mode=team] nav[class*=panelList]{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{--team-mark-ring:var(--dsw-alias-interactive-bg-hover);background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.d0xfxa_railButton:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:1px}.d0xfxa_workspaceTrigger{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:12px;align-items:center;gap:6px;width:100%;min-height:34px;margin:0 0 2px;padding:4px 8px;font-size:14px;line-height:22px;display:flex}.d0xfxa_workspaceTrigger:hover,.d0xfxa_workspaceTrigger[aria-current=page]{background:var(--dsw-alias-interactive-bg-hover)}.d0xfxa_workspaceTrigger:focus-visible{border-color:var(--dsw-alias-brand-primary);outline:2px solid var(--dsw-alias-label-primary);outline-offset:-2px}.d0xfxa_workspaceIcon{color:var(--dsw-alias-state-business-primary);flex:0 0 16px;justify-content:center;align-items:center;height:20px;display:inline-flex}.d0xfxa_workspaceValue{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.d0xfxa_workspaceChevron{color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .12s;display:inline-flex}.d0xfxa_workspaceChevronOpen{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.d0xfxa_workspaceChevron{transition:none}}.d0xfxa_emptyState{color:var(--dsw-alias-label-tertiary);margin:8px;font-size:12px;line-height:18px}.d0xfxa_inboxCard{color:var(--dsw-alias-label-primary);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:12px;flex:none;align-items:center;gap:6px;width:100%;height:34px;margin:4px 0 2px;padding:0 8px;display:flex}.d0xfxa_inboxCard:hover,.d0xfxa_inboxCard:focus-visible,.d0xfxa_inboxCard[aria-current=page]{--team-mark-ring:var(--dsw-alias-interactive-bg-hover);background:var(--dsw-alias-interactive-bg-hover)}.d0xfxa_inboxCard:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:-2px}.d0xfxa_inboxCard .d0xfxa_inboxMark{color:var(--dsw-alias-label-tertiary)}.d0xfxa_inboxCardLabel{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;line-height:20px;overflow:hidden}.d0xfxa_inboxMark{flex:0 0 16px;display:inline-flex;position:relative}.d0xfxa_inboxDot{background:var(--dsw-alias-state-business-primary);box-shadow:0 0 0 2px var(--team-mark-ring,var(--dsw-specific-sidebar-fill)), 0 0 0 2px var(--dsw-specific-sidebar-fill);corner-shape:round;border-radius:50%;width:8px;height:8px;position:absolute;top:-2px;left:-2px}.d0xfxa_railWorkspace{flex-direction:column;align-items:center;gap:8px;padding-top:8px;display:flex}.d0xfxa_railButton{corner-shape:round;border-radius:50%;width:36px;height:36px;position:relative}.d0xfxa_railButton[aria-current=page]{--team-mark-ring:var(--dsw-alias-interactive-bg-hover);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;border-radius:4px;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:2px solid var(--dsw-alias-label-primary);outline-offset:1px}.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{corner-shape:round;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)}.d0xfxa_iconButton:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:1px}.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)}.d0xfxa_textButton:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:1px}.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:12px;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;border-radius:12px;flex:1;align-items:center;min-width:0;min-height:30px;padding:3px 4px 3px 8px;display:flex}.d0xfxa_channelSelect:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:-2px}.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:12px;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;border-radius:12px;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:2px solid var(--dsw-alias-label-primary);outline-offset:-2px}.d0xfxa_agentSelect[aria-current=page]{background:var(--dsw-alias-interactive-bg-hover);border-radius:12px}.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%);corner-shape:round;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);corner-shape:round;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;justify-content:flex-start;min-width:0;display:flex}.d0xfxa_agentCopy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;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);corner-shape:round;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)}.d0xfxa_rowMenuButton:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:1px}.d0xfxa_retryError{color:var(--dsw-alias-state-error-primary);justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;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_error{color:var(--dsw-alias-state-error-primary);overflow-wrap:anywhere;margin:0;padding:4px 12px 6px;font-size:11px;line-height:16px}.d0xfxa_editDescription{color:var(--dsw-alias-label-secondary);margin:0 0 10px;font-size:12px;line-height:18px}.d0xfxa_editMemberList{gap:2px;display:grid}.d0xfxa_editChannelName{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:400;line-height:18px;overflow:hidden}.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}";
8390
+ const css$10 = "html[data-agent-team-mode=team] button[class*=newSession]{display:none}html[data-agent-team-mode=team] nav[class*=panelList]{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{--team-mark-ring:var(--dsw-alias-interactive-bg-hover);background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.d0xfxa_railButton:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.d0xfxa_workspaceTrigger{background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-md,12px);box-sizing:border-box;color:var(--dsw-alias-label-primary);cursor:pointer;text-align:left;align-items:center;gap:6px;width:100%;min-height:34px;margin:0 0 2px;padding:4px 8px;font-size:14px;line-height:22px;display:flex}.d0xfxa_workspaceTrigger:hover,.d0xfxa_workspaceTrigger[aria-current=page]{background:var(--dsw-alias-interactive-bg-hover)}.d0xfxa_workspaceTrigger:focus-visible{border-color:var(--dsw-alias-brand-primary);outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.d0xfxa_workspaceIcon{color:var(--dsw-alias-state-business-primary);flex:0 0 16px;justify-content:center;align-items:center;height:20px;display:inline-flex}.d0xfxa_workspaceValue{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.d0xfxa_workspaceChevron{color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .12s;display:inline-flex}.d0xfxa_workspaceChevronOpen{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.d0xfxa_workspaceChevron{transition:none}}.d0xfxa_emptyState{color:var(--dsw-alias-label-tertiary);margin:8px;font-size:12px;line-height:18px}.d0xfxa_inboxCard{border-radius:var(--dsw-radius-md,12px);color:var(--dsw-alias-label-primary);cursor:pointer;text-align:left;background:0 0;border:0;flex:none;align-items:center;gap:6px;width:100%;height:34px;margin:4px 0 2px;padding:0 8px;display:flex}.d0xfxa_inboxCard:hover,.d0xfxa_inboxCard:focus-visible,.d0xfxa_inboxCard[aria-current=page]{--team-mark-ring:var(--dsw-alias-interactive-bg-hover);background:var(--dsw-alias-interactive-bg-hover)}.d0xfxa_inboxCard:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.d0xfxa_inboxCard .d0xfxa_inboxMark{color:var(--dsw-alias-label-tertiary)}.d0xfxa_inboxCardLabel{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;line-height:20px;overflow:hidden}.d0xfxa_inboxMark{flex:0 0 16px;display:inline-flex;position:relative}.d0xfxa_inboxDot{background:var(--dsw-alias-state-business-primary);box-shadow:0 0 0 2px var(--team-mark-ring,var(--dsw-specific-sidebar-fill)), 0 0 0 2px var(--dsw-specific-sidebar-fill);corner-shape:round;border-radius:50%;width:8px;height:8px;position:absolute;top:-2px;left:-2px}.d0xfxa_railWorkspace{flex-direction:column;align-items:center;gap:8px;padding-top:8px;display:flex}.d0xfxa_railButton{corner-shape:round;border-radius:50%;width:36px;height:36px;position:relative}.d0xfxa_railButton[aria-current=page]{--team-mark-ring:var(--dsw-alias-interactive-bg-hover);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{border-radius:var(--dsw-radius-xs,4px);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:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.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{corner-shape:round;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)}.d0xfxa_iconButton:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.d0xfxa_textButton{border-radius:var(--dsw-radius-sm,5px);color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;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)}.d0xfxa_textButton:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.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{border-radius:var(--dsw-radius-md,12px);color:var(--dsw-alias-label-primary);align-items:center;min-height:30px;display:flex;position:relative}.d0xfxa_channelSelect{border-radius:var(--dsw-radius-md,12px);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:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.d0xfxa_channelName{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:400;line-height:18px;overflow:hidden}.d0xfxa_agentRow{border-radius:var(--dsw-radius-md,12px);color:var(--dsw-alias-label-primary);align-items:center;min-height:38px;display:flex;position:relative}.d0xfxa_agentSelect{border-radius:var(--dsw-radius-md,12px);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:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.d0xfxa_agentSelect[aria-current=page]{background:var(--dsw-alias-interactive-bg-hover);border-radius:var(--dsw-radius-md,12px)}.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%);corner-shape:round;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);corner-shape:round;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;justify-content:flex-start;min-width:0;display:flex}.d0xfxa_agentCopy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;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);corner-shape:round;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{border-radius:var(--dsw-radius-xs,4px);color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;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)}.d0xfxa_rowMenuButton:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.d0xfxa_retryError{color:var(--dsw-alias-state-error-primary);justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;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_error{color:var(--dsw-alias-state-error-primary);overflow-wrap:anywhere;margin:0;padding:4px 12px 6px;font-size:11px;line-height:16px}.d0xfxa_editDescription{color:var(--dsw-alias-label-secondary);margin:0 0 10px;font-size:12px;line-height:18px}.d0xfxa_editMemberList{gap:2px;display:grid}.d0xfxa_editChannelName{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:400;line-height:18px;overflow:hidden}.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}";
8150
8391
  const tagId$10 = "@wowyuarm/dsh-agent-team/sidebar.module.css";
8151
8392
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$10) + "]") === null) {
8152
8393
  const tag = document.createElement("style");
@@ -8233,7 +8474,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8233
8474
  }
8234
8475
  //#endregion
8235
8476
  //#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/member-row.module.css.mjs
8236
- const css$9 = ".xnbzeW_row{border-radius:12px;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:0 10px;min-height:40px;padding:8px 10px;display:grid}.xnbzeW_row:has(button){grid-template-columns:24px minmax(0,1fr) auto}.xnbzeW_row:hover{background:var(--dsw-alias-interactive-bg-hover)}.xnbzeW_copy{min-width:0;display:grid}.xnbzeW_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}.xnbzeW_copy small{color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:16px;overflow:hidden}.xnbzeW_action{justify-self:end;min-width:64px}.xnbzeW_error{color:var(--dsw-alias-state-error-primary);grid-column:2/-1;margin:2px 0 0;font-size:11px;line-height:16px}@media (width<=600px){.xnbzeW_row,.xnbzeW_row:has(button){grid-template-columns:24px minmax(0,1fr);align-items:start}.xnbzeW_action{grid-column:2;justify-self:start;margin-top:6px}}";
8477
+ const css$9 = ".xnbzeW_row{border-radius:var(--dsw-radius-md,12px);grid-template-columns:24px minmax(0,1fr);align-items:center;gap:0 10px;min-height:40px;padding:8px 10px;display:grid}.xnbzeW_row:has(button){grid-template-columns:24px minmax(0,1fr) auto}.xnbzeW_row:hover{background:var(--dsw-alias-interactive-bg-hover)}.xnbzeW_copy{min-width:0;display:grid}.xnbzeW_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}.xnbzeW_copy small{color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:16px;overflow:hidden}.xnbzeW_action{justify-self:end;min-width:64px}.xnbzeW_error{color:var(--dsw-alias-state-error-primary);grid-column:2/-1;margin:2px 0 0;font-size:11px;line-height:16px}@media (width<=600px){.xnbzeW_row,.xnbzeW_row:has(button){grid-template-columns:24px minmax(0,1fr);align-items:start}.xnbzeW_action{grid-column:2;justify-self:start;margin-top:6px}}";
8237
8478
  const tagId$9 = "@wowyuarm/dsh-agent-team/member-row.module.css";
8238
8479
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$9) + "]") === null) {
8239
8480
  const tag = document.createElement("style");
@@ -8436,7 +8677,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8436
8677
  };
8437
8678
  //#endregion
8438
8679
  //#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/composer.module.css.mjs
8439
- const css$7 = ".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);--dsw-elevation-stroke-color:var(--dsw-alias-border-l2);background:var(--dsw-specific-input-major,var(--dsw-alias-bg-layer-1));box-shadow:var(--dsw-elevation-soft);border:0;border-radius:22px;flex-direction:column;gap:6px;padding:10px 0 0;display:flex;position:relative;container-type:inline-size}.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;background:var(--dsw-specific-menu);max-height:min(320px,40vh);backdrop-filter:var(--dsw-menu-backdrop-filter);--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);box-shadow:var(--dsw-elevation-prominent);border:0;border-radius:16px;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:8px;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{corner-shape:round;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:12px;min-height:34px;padding:2px 8px 6px;display:flex}.x9jGQq_asTaskPill{color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;align-items:center;gap:4px;height:28px;padding:0 10px 0 8px;font-size:13px;font-weight:500;line-height:20px;display:inline-flex}.x9jGQq_asTaskPill:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}.x9jGQq_asTaskPill:focus-visible{box-shadow:0 0 0 2px var(--dsw-alias-border-l3)}.x9jGQq_asTaskPill:disabled{color:var(--dsw-alias-label-dimmed);cursor:default}.x9jGQq_asTaskPillOn,.x9jGQq_asTaskPillOn:hover:not(:disabled){background:var(--dsw-alias-button-primary-fill);color:var(--dsw-alias-label-primary-foreground)}.x9jGQq_asTaskLabel{white-space:nowrap}@container (width<=560px){.x9jGQq_toolbar{gap:8px}}.x9jGQq_attachButton{background:var(--dsw-specific-selector);corner-shape:round;color:var(--dsw-alias-label-primary);cursor:pointer;border:0;border-radius:999px;flex:none;place-items:center;width:28px;height:28px;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)}.x9jGQq_fileChipRemove:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:1px}.x9jGQq_sendButton{background:var(--dsw-alias-button-info-fill,var(--dsw-alias-button-primary-fill));corner-shape:round;color:#fff;cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;width:34px;height:34px;margin-left:auto;padding:0;transition:background-color .1s,opacity .1s;display:inline-flex;transform:translateY(-2px)}.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:default;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}}";
8680
+ const css$7 = ".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);--dsw-elevation-stroke-color:var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-panel,22px);background:var(--dsw-specific-input-major,var(--dsw-alias-bg-layer-1));box-shadow:var(--dsw-elevation-soft);border:0;flex-direction:column;gap:6px;padding:10px 0 0;display:flex;position:relative;container-type:inline-size}.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-radius:var(--dsw-radius-lg,16px);background:var(--dsw-specific-menu);max-height:min(320px,40vh);backdrop-filter:var(--dsw-menu-backdrop-filter);--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);box-shadow:var(--dsw-elevation-prominent);border:0;padding:4px;position:absolute;bottom:calc(100% + 12px);left:0;right:0;overflow-y:auto}.x9jGQq_mentionOption{border-radius:var(--dsw-radius-md,8px);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;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{corner-shape:round;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:12px;min-height:34px;padding:2px 8px 6px;display:flex}.x9jGQq_asTaskPill{border-radius:var(--dsw-radius-sm,8px);color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:4px;height:28px;padding:0 10px 0 8px;font-size:13px;font-weight:500;line-height:20px;display:inline-flex}.x9jGQq_asTaskPill:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}.x9jGQq_asTaskPill:focus-visible{box-shadow:0 0 0 2px var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary))}.x9jGQq_asTaskPill:disabled{color:var(--dsw-alias-label-dimmed);cursor:default}.x9jGQq_asTaskPillOn,.x9jGQq_asTaskPillOn:hover:not(:disabled){background:var(--dsw-alias-button-primary-fill);color:var(--dsw-alias-label-primary-foreground)}.x9jGQq_asTaskLabel{white-space:nowrap}@container (width<=560px){.x9jGQq_toolbar{gap:8px}}.x9jGQq_attachButton{background:var(--dsw-specific-selector);corner-shape:round;color:var(--dsw-alias-label-primary);cursor:pointer;border:0;border-radius:999px;flex:none;place-items:center;width:28px;height:28px;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:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));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:var(--dsw-radius-sm,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);border-radius:var(--dsw-radius-xs,4px);object-fit:cover;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{border-radius:var(--dsw-radius-xs,4px);color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;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)}.x9jGQq_fileChipRemove:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.x9jGQq_sendButton{background:var(--dsw-alias-button-info-fill,var(--dsw-alias-button-primary-fill));corner-shape:round;color:#fff;cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;width:34px;height:34px;margin-left:auto;padding:0;transition:background-color .1s,opacity .1s;display:inline-flex;transform:translateY(-2px)}.x9jGQq_sendButton:hover:not(:disabled){background:var(--dsw-alias-button-info-hover,var(--dsw-alias-button-primary-hover))}.x9jGQq_sendButton:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}.x9jGQq_sendButton:disabled{cursor:default;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}}";
8440
8681
  const tagId$7 = "@wowyuarm/dsh-agent-team/composer.module.css";
8441
8682
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$7) + "]") === null) {
8442
8683
  const tag = document.createElement("style");
@@ -9077,7 +9318,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
9077
9318
  };
9078
9319
  //#endregion
9079
9320
  //#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/conversation.module.css.mjs
9080
- const css$6 = ".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%);corner-shape:round;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_messageIdentityImage{corner-shape:round;object-fit:cover;border-radius:50%;flex:0 0 28px;height:28px}.omcBaG_messageRow[data-grouped] .omcBaG_messageIdentity,.omcBaG_messageRow[data-grouped] .omcBaG_messageIdentityImage{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_stateCluster{flex:none;align-items:center;gap:6px;display:inline-flex}.omcBaG_statusWord{color:var(--dsw-alias-label-secondary);font-size:11px;line-height:18px}.omcBaG_entryLine{flex-wrap:wrap;align-items:center;gap:8px;max-width:100%;margin:4px 0 0;display:flex}.omcBaG_entryRow{color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:2px 0;font-size:12px;line-height:18px;display:inline-flex}.omcBaG_entryRow:hover,.omcBaG_entryRow:focus-visible{color:var(--dsw-alias-label-primary)}.omcBaG_entryRow:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:2px}.omcBaG_entryArrow{align-items:center;transition:transform .12s;display:inline-flex}.omcBaG_entryRow:hover .omcBaG_entryArrow,.omcBaG_entryRow:focus-visible .omcBaG_entryArrow{transform:translate(2px)}.omcBaG_messageText{font-size:var(--dsh-content-font-size,14px);line-height:calc(22px + var(--dsh-content-font-delta,0px));white-space:pre-wrap;word-break:break-word;margin:6px 0}.omcBaG_messageClamp{max-height:calc(176px + 8 * var(--dsh-content-font-delta,0px));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:var(--dsh-content-font-size,14px);line-height:calc(22px + var(--dsh-content-font-delta,0px))}.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:calc(17px + var(--dsh-content-font-delta,0px));line-height:calc(26px + var(--dsh-content-font-delta,0px))}.omcBaG_messageBody .omcBaG_messageMarkdown :where(h2){font-size:calc(16px + var(--dsh-content-font-delta,0px));line-height:calc(24px + var(--dsh-content-font-delta,0px))}.omcBaG_messageBody .omcBaG_messageMarkdown :where(h3,h4,h5,h6){font-size:calc(15px + var(--dsh-content-font-delta,0px));line-height:calc(22px + var(--dsh-content-font-delta,0px))}.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_messageBody [data-document] .omcBaG_messageMarkdown{line-height:calc(24px + var(--dsh-content-font-delta,0px))}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown p,.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown :where(ul,ol){margin:16px 0}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown li+li{margin-top:6px}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown li>p{margin:8px 0}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown :where(h1,h2,h3,h4,h5,h6){margin:24px 0 8px}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown :where(h2){font-size:calc(18px + var(--dsh-content-font-delta,0px));line-height:calc(26px + var(--dsh-content-font-delta,0px))}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown :where(h3){font-size:calc(17px + var(--dsh-content-font-delta,0px));line-height:calc(24px + var(--dsh-content-font-delta,0px))}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown pre,.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown blockquote{margin:16px 0}.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);corner-shape:round;border-radius:50%;width:8px;height:8px;animation:1.2s ease-in-out infinite omcBaG_pulse}.omcBaG_error{color:var(--dsw-alias-state-error-primary);max-width:880px;margin:0;padding-top:6px;font-size:12px;line-height:18px}.omcBaG_errorState{color:var(--dsw-alias-state-error-primary);justify-content:space-between;align-items:center;gap:8px;max-width:880px;margin:auto;padding:32px 0;font-size:12px;line-height:18px;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_entryArrow{transition:none}.omcBaG_entryRow:hover .omcBaG_entryArrow,.omcBaG_entryRow:focus-visible .omcBaG_entryArrow{transform:none}}.omcBaG_messageRun{margin:2px 0;padding:3px 0}.omcBaG_messageRow[data-grouped]:has([data-thread-entry]){margin-top:3px;padding-top:7px;position:relative}.omcBaG_messageRow[data-grouped]:has([data-thread-entry]):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([data-thread-entry]){margin-top:0}.omcBaG_runDivider+.omcBaG_messageRow[data-grouped]:has([data-thread-entry]):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:6px;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}";
9321
+ const css$6 = ".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%);corner-shape:round;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_messageIdentityImage{corner-shape:round;object-fit:cover;border-radius:50%;flex:0 0 28px;height:28px}.omcBaG_messageRow[data-grouped] .omcBaG_messageIdentity,.omcBaG_messageRow[data-grouped] .omcBaG_messageIdentityImage{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_stateCluster{flex:none;align-items:center;gap:6px;display:inline-flex}.omcBaG_statusWord{color:var(--dsw-alias-label-secondary);font-size:11px;line-height:18px}.omcBaG_entryLine{flex-wrap:wrap;align-items:center;gap:8px;max-width:100%;margin:4px 0 0;display:flex}.omcBaG_entryRow{color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:2px 0;font-size:12px;line-height:18px;display:inline-flex}.omcBaG_entryRow:hover,.omcBaG_entryRow:focus-visible{color:var(--dsw-alias-label-primary)}.omcBaG_entryRow:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}.omcBaG_entryArrow{align-items:center;transition:transform .12s;display:inline-flex}.omcBaG_entryRow:hover .omcBaG_entryArrow,.omcBaG_entryRow:focus-visible .omcBaG_entryArrow{transform:translate(2px)}.omcBaG_messageText{font-size:var(--dsh-content-font-size,14px);line-height:calc(22px + var(--dsh-content-font-delta,0px));white-space:pre-wrap;word-break:break-word;margin:6px 0}.omcBaG_messageClamp{max-height:calc(176px + 8 * var(--dsh-content-font-delta,0px));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:var(--dsh-content-font-size,14px);line-height:calc(22px + var(--dsh-content-font-delta,0px))}.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:calc(17px + var(--dsh-content-font-delta,0px));line-height:calc(26px + var(--dsh-content-font-delta,0px))}.omcBaG_messageBody .omcBaG_messageMarkdown :where(h2){font-size:calc(16px + var(--dsh-content-font-delta,0px));line-height:calc(24px + var(--dsh-content-font-delta,0px))}.omcBaG_messageBody .omcBaG_messageMarkdown :where(h3,h4,h5,h6){font-size:calc(15px + var(--dsh-content-font-delta,0px));line-height:calc(22px + var(--dsh-content-font-delta,0px))}.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_messageBody [data-document] .omcBaG_messageMarkdown{line-height:calc(24px + var(--dsh-content-font-delta,0px))}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown p,.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown :where(ul,ol){margin:16px 0}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown li+li{margin-top:6px}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown li>p{margin:8px 0}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown :where(h1,h2,h3,h4,h5,h6){margin:24px 0 8px}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown :where(h2){font-size:calc(18px + var(--dsh-content-font-delta,0px));line-height:calc(26px + var(--dsh-content-font-delta,0px))}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown :where(h3){font-size:calc(17px + var(--dsh-content-font-delta,0px));line-height:calc(24px + var(--dsh-content-font-delta,0px))}.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown pre,.omcBaG_messageBody [data-document] .omcBaG_messageMarkdown blockquote{margin:16px 0}.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);corner-shape:round;border-radius:50%;width:8px;height:8px;animation:1.2s ease-in-out infinite omcBaG_pulse}.omcBaG_error{color:var(--dsw-alias-state-error-primary);max-width:880px;margin:0;padding-top:6px;font-size:12px;line-height:18px}.omcBaG_errorState{color:var(--dsw-alias-state-error-primary);justify-content:space-between;align-items:center;gap:8px;max-width:880px;margin:auto;padding:32px 0;font-size:12px;line-height:18px;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_entryArrow{transition:none}.omcBaG_entryRow:hover .omcBaG_entryArrow,.omcBaG_entryRow:focus-visible .omcBaG_entryArrow{transform:none}}.omcBaG_messageRun{margin:2px 0;padding:3px 0}.omcBaG_messageRow[data-grouped]:has([data-thread-entry]){margin-top:3px;padding-top:7px;position:relative}.omcBaG_messageRow[data-grouped]:has([data-thread-entry]):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([data-thread-entry]){margin-top:0}.omcBaG_runDivider+.omcBaG_messageRow[data-grouped]:has([data-thread-entry]):before{content:none}.omcBaG_mention{background:color-mix(in srgb, var(--dsw-alias-state-business-primary) 12%, transparent);border-radius:var(--dsw-radius-sm,6px);color:var(--dsw-alias-state-business-primary);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{border-radius:var(--dsw-radius-sm,8px);cursor:zoom-in;border:0;padding:0}.omcBaG_attachmentThumb img{border-radius:var(--dsw-radius-sm,8px);object-fit:cover;width:128px;height:96px;display:block}.omcBaG_attachmentThumb:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.omcBaG_confirmBody{margin:0 0 8px}.omcBaG_confirmList{gap:6px;margin:0;padding-left:18px;display:grid}.omcBaG_refLink{border-radius:var(--dsw-radius-xs,4px);color:var(--dsw-alias-state-business-primary);cursor:pointer;font:inherit;text-align:left;text-underline-offset:3px;background:0 0;border:none;padding:0;text-decoration:underline}.omcBaG_refLink:hover{text-decoration-thickness:2px}.omcBaG_refLink:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.omcBaG_attachmentModal{width:min(1100px,92vw)}.omcBaG_attachmentZoom{object-fit:contain;border-radius:var(--dsw-radius-md,12px);max-width:100%;max-height:78vh;margin:0 auto;display:block}.omcBaG_attachmentChip{background:var(--dsw-alias-interactive-bg-hover);border-radius:var(--dsw-radius-sm,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}";
9081
9322
  const tagId$6 = "@wowyuarm/dsh-agent-team/conversation.module.css";
9082
9323
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$6) + "]") === null) {
9083
9324
  const tag = document.createElement("style");
@@ -9962,7 +10203,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
9962
10203
  };
9963
10204
  //#endregion
9964
10205
  //#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/thread.module.css.mjs
9965
- const css$2 = ".-Qiwua_titleLine{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.-Qiwua_titleLine h1{margin:0}.-Qiwua_workSection,.-Qiwua_riskSection{max-width:880px;margin:14px auto 0}.-Qiwua_riskSection h2{color:var(--dsw-alias-state-error-primary);margin:0 0 6px;font-size:12px;font-weight:600;line-height:18px}.-Qiwua_riskRow{color:var(--dsw-alias-label-secondary);flex-wrap:nowrap;align-items:center;gap:6px;min-width:0;margin:0 0 2px;font-size:11px;line-height:16px;display:flex;overflow:hidden}.-Qiwua_riskRow>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.-Qiwua_riskClass{color:var(--dsw-alias-state-error-primary);font-weight:600}.-Qiwua_claimList{gap:0;padding:4px 0 0 22px;display:grid}.-Qiwua_claimRow{border-radius:6px;grid-template-columns:14px minmax(0,1fr) auto;align-items:center;column-gap:8px;min-height:30px;padding:3px 6px 5px;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;grid-area:1/2;align-items:center;gap:4px;min-width:0;font-size:11px;font-weight:500;line-height:16px;display:inline-flex;overflow:hidden}.-Qiwua_claimDirection{color:var(--dsw-alias-label-primary);overflow-wrap:anywhere;grid-area:2/2;min-width:0;font-size:12px;line-height:18px}.-Qiwua_claimRowDone .-Qiwua_claimDirection{color:var(--dsw-alias-label-secondary)}.-Qiwua_claimState{color:var(--dsw-alias-label-tertiary);white-space:nowrap;grid-area:1/3;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);corner-shape:round;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);corner-shape:round;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:1;line-clamp:1;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{align-items:start}.-Qiwua_activityRow{padding-inline:0}.-Qiwua_newUpdates{max-width:calc(100% - 16px)}}";
10206
+ const css$2 = ".-Qiwua_titleLine{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.-Qiwua_titleLine h1{margin:0}.-Qiwua_workSection,.-Qiwua_riskSection{max-width:880px;margin:14px auto 0}.-Qiwua_riskSection h2{color:var(--dsw-alias-state-error-primary);margin:0 0 6px;font-size:12px;font-weight:600;line-height:18px}.-Qiwua_riskRow{color:var(--dsw-alias-label-secondary);flex-wrap:nowrap;align-items:center;gap:6px;min-width:0;margin:0 0 2px;font-size:11px;line-height:16px;display:flex;overflow:hidden}.-Qiwua_riskRow>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.-Qiwua_riskClass{color:var(--dsw-alias-state-error-primary);font-weight:600}.-Qiwua_claimList{gap:0;padding:4px 0 0 22px;display:grid}.-Qiwua_claimRow{border-radius:var(--dsw-radius-sm,6px);grid-template-columns:14px minmax(0,1fr) auto;align-items:center;column-gap:8px;min-height:30px;padding:3px 6px 5px;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;grid-area:1/2;align-items:center;gap:4px;min-width:0;font-size:11px;font-weight:500;line-height:16px;display:inline-flex;overflow:hidden}.-Qiwua_claimDirection{color:var(--dsw-alias-label-primary);overflow-wrap:anywhere;grid-area:2/2;min-width:0;font-size:12px;line-height:18px}.-Qiwua_claimRowDone .-Qiwua_claimDirection{color:var(--dsw-alias-label-secondary)}.-Qiwua_claimState{color:var(--dsw-alias-label-tertiary);white-space:nowrap;grid-area:1/3;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);corner-shape:round;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);corner-shape:round;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{border-radius:var(--dsw-radius-sm,6px);outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}.-Qiwua_taskTitle{color:var(--dsw-alias-label-secondary);-webkit-line-clamp:1;line-clamp:1;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{align-items:start}.-Qiwua_activityRow{padding-inline:0}.-Qiwua_newUpdates{max-width:calc(100% - 16px)}}";
9966
10207
  const tagId$2 = "@wowyuarm/dsh-agent-team/thread.module.css";
9967
10208
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$2) + "]") === null) {
9968
10209
  const tag = document.createElement("style");
@@ -10588,7 +10829,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10588
10829
  }
10589
10830
  //#endregion
10590
10831
  //#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/inbox.module.css.mjs
10591
- const css$1 = ".s2ibaa_list{flex-direction:column;gap:2px;display:flex}.s2ibaa_headerMeta{font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:baseline;gap:0 10px;display:flex;overflow:hidden}.s2ibaa_headerUnread{color:var(--dsw-alias-label-primary);font-weight:600}.s2ibaa_row{color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:8px;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:1px 8px;width:100%;padding:8px;display:grid}.s2ibaa_row:hover,.s2ibaa_row:focus-visible{--team-mark-ring:var(--dsw-alias-interactive-bg-hover);background:var(--dsw-alias-interactive-bg-hover)}.s2ibaa_row:focus-visible{outline:2px solid var(--dsw-alias-label-primary);outline-offset:-2px}.s2ibaa_rowActor{grid-area:1/1;display:flex}.s2ibaa_rowLine{grid-area:1/2;align-items:baseline;gap:2px 8px;min-width:0;display:flex;container-type:inline-size}.s2ibaa_rowCrumb{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;font-size:13px;line-height:20px;overflow:hidden}.s2ibaa_rowWorkspace{color:var(--dsw-alias-label-tertiary);font-size:12px}.s2ibaa_rowChannel{color:var(--dsw-alias-label-primary);font-weight:600}.s2ibaa_rowTask{border:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-secondary);white-space:nowrap;border-radius:6px;flex:none;margin-left:3px;padding:0 5px;font-size:11px;font-weight:600;line-height:15px}.s2ibaa_rowTime{color:var(--dsw-alias-label-tertiary);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;font-size:11px;line-height:18px}@container (width<=70px){.s2ibaa_rowTime{display:none}}.s2ibaa_rowPreview{color:var(--dsw-alias-label-secondary);text-overflow:ellipsis;white-space:nowrap;grid-area:2/2;min-width:0;font-size:13px;line-height:20px;overflow:hidden}.s2ibaa_section{flex-direction:column;display:flex}.s2ibaa_section+.s2ibaa_section{margin-top:20px}.s2ibaa_sectionTitle{color:var(--dsw-alias-label-tertiary);margin:0 0 4px;padding:0 8px 0 34px;font-size:12px;font-weight:600;line-height:18px}.s2ibaa_sectionCount{font-variant-numeric:tabular-nums;margin-left:6px}";
10832
+ const css$1 = ".s2ibaa_list{flex-direction:column;gap:2px;display:flex}.s2ibaa_headerMeta{font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:baseline;gap:0 10px;display:flex;overflow:hidden}.s2ibaa_headerUnread{color:var(--dsw-alias-label-primary);font-weight:600}.s2ibaa_row{border-radius:var(--dsw-radius-lg,8px);color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:1px 8px;width:100%;padding:8px;display:grid}.s2ibaa_row:hover,.s2ibaa_row:focus-visible{--team-mark-ring:var(--dsw-alias-interactive-bg-hover);background:var(--dsw-alias-interactive-bg-hover)}.s2ibaa_row:focus-visible{outline:var(--dsw-focus-ring-width,2px) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.s2ibaa_rowActor{grid-area:1/1;display:flex}.s2ibaa_rowLine{grid-area:1/2;align-items:baseline;gap:2px 8px;min-width:0;display:flex;container-type:inline-size}.s2ibaa_rowCrumb{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;font-size:13px;line-height:20px;overflow:hidden}.s2ibaa_rowWorkspace{color:var(--dsw-alias-label-tertiary);font-size:12px}.s2ibaa_rowChannel{color:var(--dsw-alias-label-primary);font-weight:600}.s2ibaa_rowTask{border:1px solid var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-sm,6px);color:var(--dsw-alias-label-secondary);white-space:nowrap;flex:none;margin-left:3px;padding:0 5px;font-size:11px;font-weight:600;line-height:15px}.s2ibaa_rowTime{color:var(--dsw-alias-label-tertiary);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;font-size:11px;line-height:18px}@container (width<=70px){.s2ibaa_rowTime{display:none}}.s2ibaa_rowPreview{color:var(--dsw-alias-label-secondary);text-overflow:ellipsis;white-space:nowrap;grid-area:2/2;min-width:0;font-size:13px;line-height:20px;overflow:hidden}.s2ibaa_section{flex-direction:column;display:flex}.s2ibaa_section+.s2ibaa_section{margin-top:20px}.s2ibaa_sectionTitle{color:var(--dsw-alias-label-tertiary);margin:0 0 4px;padding:0 8px 0 34px;font-size:12px;font-weight:600;line-height:18px}.s2ibaa_sectionCount{font-variant-numeric:tabular-nums;margin-left:6px}";
10592
10833
  const tagId$1 = "@wowyuarm/dsh-agent-team/inbox.module.css";
10593
10834
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
10594
10835
  const tag = document.createElement("style");
@@ -12546,7 +12787,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
12546
12787
  }
12547
12788
  //#endregion
12548
12789
  //#region \0dsh-css:/home/yu/projects/dsh-agent-team/packages/client-agent-team/src/client/create.module.css.mjs
12549
- const css = "._1henIG_form{gap:16px;display:grid}._1henIG_modeSwitch{margin-bottom:16px}._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);corner-shape:round;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_notice{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px;line-height:18px}._1henIG_state{color:var(--dsw-alias-label-tertiary);margin:0;font-size:12px;line-height:18px}._1henIG_roster{gap:2px;display:grid}._1henIG_failure{justify-items:start;gap:8px;display:grid}._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}}";
12790
+ const css = "._1henIG_form{gap:16px;display:grid}._1henIG_modeSwitch{margin-bottom:16px}._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);border-radius:var(--dsw-radius-sm,8px);box-sizing:border-box;color:var(--dsw-alias-label-primary);cursor:pointer;text-align:left;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{border-radius:var(--dsw-radius-sm,6px);color:var(--dsw-alias-label-primary);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);corner-shape:round;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_notice{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px;line-height:18px}._1henIG_state{color:var(--dsw-alias-label-tertiary);margin:0;font-size:12px;line-height:18px}._1henIG_roster{gap:2px;display:grid}._1henIG_failure{justify-items:start;gap:8px;display:grid}._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}}";
12550
12791
  const tagId = "@wowyuarm/dsh-agent-team/create.module.css";
12551
12792
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
12552
12793
  const tag = document.createElement("style");
@@ -13367,11 +13608,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
13367
13608
  return;
13368
13609
  }
13369
13610
  if (result.value.status.availability === "unavailable") {
13370
- const diagnostic = result.value.status.diagnostic;
13371
- if (diagnostic?.class === "session-refused" && diagnostic.remediable === false) {
13372
- setRowAlert(t("restartRefusedNoRestart", { detail: diagnosticText(result.value.status) }));
13373
- return;
13374
- }
13375
13611
  setRowAlert(t("restartStillUnavailable", { diagnostic: diagnosticText(result.value.status) || t("statusUnavailable") }));
13376
13612
  return;
13377
13613
  }
@@ -14359,13 +14595,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14359
14595
  resumeAgent: "恢复",
14360
14596
  restartAgent: "重启",
14361
14597
  restartStillUnavailable: "重启已执行,成员仍不可用:{diagnostic}",
14362
- restartRefusedNoRestart: "会话日志被确定拒绝,修复无可用项,重启无法解决:{detail}",
14363
14598
  restartFailed: "重启执行失败:{message}",
14364
14599
  archiveAgent: "归档",
14365
14600
  archiveAgentTitle: "归档 Agent:{name}",
14366
14601
  archiveAgentNotice: "将把 {name} 从所有列表收起:会话与私有记忆保留在磁盘上、活跃 Claim 会释放,但暂无恢复入口。",
14367
14602
  archiveAgentConfirm: "归档",
14368
- archiveAgentFailed: "归档失败:{message}",
14369
14603
  archiveChannel: "归档频道",
14370
14604
  archiveChannelTitle: "归档频道:{name}",
14371
14605
  archiveChannelNotice: "将把 {name} 及其全部讨论从所有列表收起:数据保留、所有成员在此频道的活跃 Claim 会释放,但暂无恢复入口。",
@@ -14428,13 +14662,21 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14428
14662
  humanSettingsUnavailable: "资料读不出来:{message}",
14429
14663
  humanSettingsVersion: "版本 {version}",
14430
14664
  humanSettingsUpdateAvailable: "有新版本 {version},去查看发布说明",
14665
+ environmentOkTitle: "在支持范围内",
14666
+ environmentOkDetail: "正在运行的 DSH {version} 在我们声明的支持范围内。",
14667
+ environmentOutOfRangeTitle: "不在支持范围内",
14668
+ environmentOutOfRangeDetail: "正在运行的 DSH {version} 不在我们声明的支持范围内——这套组合未经我们认证,可能出问题。",
14669
+ environmentRange: "支持范围:{lower} 起、{upper} 之前。",
14670
+ environmentTested: "我们实测认证的组合:Agent Team {bundle} × DSH {dsh}。",
14671
+ environmentUndeterminedTitle: "无法判定运行环境",
14672
+ environmentUndeterminedDetail: "读不到正在运行的 DSH 版本,或无法确定我们的支持范围,因此不做判断。",
14673
+ environmentReleaseNotes: "查看发布说明",
14431
14674
  taskStatusTodo: "待处理",
14432
14675
  taskStatusInProgress: "进行中",
14433
14676
  taskStatusInReview: "待验收",
14434
14677
  taskStatusDone: "已完成",
14435
14678
  taskStatusClosed: "已关闭",
14436
14679
  taskLabel: "Task #{number}",
14437
- taskPending: "Task …",
14438
14680
  openTask: "打开 Task #{number}",
14439
14681
  openThread: "打开讨论",
14440
14682
  openTaskUnread: "打开 Task #{number}({count} 条新动态)",
@@ -14501,7 +14743,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14501
14743
  activityReopened: "{actor} 重新打开了此 Task",
14502
14744
  mentionConfirmation: "提及未关注成员需要确认,再次发送以继续",
14503
14745
  memberNotFollowing: "这些成员还未关注此 Thread:{ids}",
14504
- sendFailedKind: "无法发送消息({kind})",
14505
14746
  unreadRequired: "请先读取 {count} 条未读更新,再继续修改。",
14506
14747
  staleRevision: "Thread 已发生变化,请按最新状态重试。"
14507
14748
  };
@@ -14571,13 +14812,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14571
14812
  resumeAgent: "Resume",
14572
14813
  restartAgent: "Restart",
14573
14814
  restartStillUnavailable: "Restart ran, but the Member is still unavailable: {diagnostic}",
14574
- restartRefusedNoRestart: "The session log is deterministically refused with nothing repairable; restarting cannot fix it: {detail}",
14575
14815
  restartFailed: "Restart failed: {message}",
14576
14816
  archiveAgent: "Archive",
14577
14817
  archiveAgentTitle: "Archive Agent: {name}",
14578
14818
  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.",
14579
14819
  archiveAgentConfirm: "Archive",
14580
- archiveAgentFailed: "Failed to archive: {message}",
14581
14820
  archiveChannel: "Archive Channel",
14582
14821
  archiveChannelTitle: "Archive Channel: {name}",
14583
14822
  archiveChannelNotice: "This hides {name} and all of its discussions from every list: the data stays, every Member's active Claims in this Channel release, but there is no restore entry point yet.",
@@ -14640,13 +14879,21 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14640
14879
  humanSettingsUnavailable: "The profile could not be read: {message}",
14641
14880
  humanSettingsVersion: "Version {version}",
14642
14881
  humanSettingsUpdateAvailable: "New version {version} available — see the release notes",
14882
+ environmentOkTitle: "Within the supported range",
14883
+ environmentOkDetail: "The running DSH {version} is within the range we declare support for.",
14884
+ environmentOutOfRangeTitle: "Outside the supported range",
14885
+ environmentOutOfRangeDetail: "The running DSH {version} is outside the range we declare support for — we have not certified this combination and it may misbehave.",
14886
+ environmentRange: "Support range: from {lower} up to, but not including, {upper}.",
14887
+ environmentTested: "Certified combination: Agent Team {bundle} × DSH {dsh}.",
14888
+ environmentUndeterminedTitle: "Environment cannot be determined",
14889
+ environmentUndeterminedDetail: "The running DSH version could not be read, or our support range could not be established, so no judgement is made.",
14890
+ environmentReleaseNotes: "See the release notes",
14643
14891
  taskStatusTodo: "To do",
14644
14892
  taskStatusInProgress: "In progress",
14645
14893
  taskStatusInReview: "In review",
14646
14894
  taskStatusDone: "Done",
14647
14895
  taskStatusClosed: "Closed",
14648
14896
  taskLabel: "Task #{number}",
14649
- taskPending: "Task …",
14650
14897
  openTask: "Open Task #{number}",
14651
14898
  openThread: "Open thread",
14652
14899
  openTaskUnread: "Open Task #{number} ({count} new updates)",
@@ -14713,7 +14960,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14713
14960
  activityReopened: "{actor} reopened this Task",
14714
14961
  mentionConfirmation: "Mentioning an unfollowed member requires confirmation; send again to continue",
14715
14962
  memberNotFollowing: "These Members do not follow this Thread yet: {ids}",
14716
- sendFailedKind: "Unable to send message ({kind})",
14717
14963
  unreadRequired: "Read {count} unread update(s) before changing this Thread.",
14718
14964
  staleRevision: "This Thread changed; retry using the current state."
14719
14965
  };
@@ -14850,10 +15096,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14850
15096
  return `data:${result.value.mediaType};base64,${result.value.bytesBase64}`;
14851
15097
  }
14852
15098
  });
15099
+ const environment = new TeamEnvironmentCheck({ loadEnvironment: () => ctx.remote.agentTeam.environment({}) });
14853
15100
  ctx.effect(() => () => {
14854
15101
  navigation.dispose();
14855
15102
  drafts.dispose();
14856
15103
  humanIdentity.dispose();
15104
+ environment.dispose();
14857
15105
  disposeNavigation();
14858
15106
  disposeDrafts();
14859
15107
  }, "agent-team: navigation service");
@@ -14918,6 +15166,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
14918
15166
  locale: NS,
14919
15167
  inject: () => ({
14920
15168
  identity: humanIdentity,
15169
+ environment,
14921
15170
  saveName: async (name) => {
14922
15171
  const saved = await ctx.remote.agentTeam.setHumanProfile({ name });
14923
15172
  if (!saved.ok) return saved.error.message;