@wowyuarm/dsh-agent-team 0.1.9 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/README.md +4 -11
  2. package/README.zh.md +4 -11
  3. package/package.json +53 -44
  4. package/packages/agent-team/README.md +2 -2
  5. package/packages/agent-team/README.zh.md +2 -1
  6. package/packages/agent-team/lib/context-management.js +8 -5
  7. package/packages/agent-team/lib/context-projection.js +12 -8
  8. package/packages/agent-team/lib/context-source.js +163 -23
  9. package/packages/agent-team/lib/index.js +174 -124
  10. package/packages/agent-team/lib/ledger.js +111 -30
  11. package/packages/agent-team/lib/member-time-context.js +126 -0
  12. package/packages/agent-team/lib/pressure-policy.js +1 -2
  13. package/packages/agent-team/lib/progress-nudge.js +12 -4
  14. package/packages/agent-team/lib/session-remediation.js +481 -0
  15. package/packages/agent-team/lib/spec.js +3 -2
  16. package/packages/agent-team/lib/time-format.js +56 -0
  17. package/packages/agent-team/lib/typert.host.js +82 -49
  18. package/packages/agent-team/lib/typert.remote-client.d.ts.map +1 -1
  19. package/packages/agent-team/lib/typert.remote-client.js +46 -25
  20. package/packages/agent-team/lib/types/context-management.d.ts +6 -1
  21. package/packages/agent-team/lib/types/context-management.d.ts.map +1 -1
  22. package/packages/agent-team/lib/types/context-projection.d.ts.map +1 -1
  23. package/packages/agent-team/lib/types/context-source.d.ts +70 -36
  24. package/packages/agent-team/lib/types/context-source.d.ts.map +1 -1
  25. package/packages/agent-team/lib/types/index.d.ts +32 -7
  26. package/packages/agent-team/lib/types/index.d.ts.map +1 -1
  27. package/packages/agent-team/lib/types/ledger.d.ts +25 -0
  28. package/packages/agent-team/lib/types/ledger.d.ts.map +1 -1
  29. package/packages/agent-team/lib/types/member-time-context.d.ts +83 -0
  30. package/packages/agent-team/lib/types/member-time-context.d.ts.map +1 -0
  31. package/packages/agent-team/lib/types/pressure-policy.d.ts.map +1 -1
  32. package/packages/agent-team/lib/types/progress-nudge.d.ts.map +1 -1
  33. package/packages/agent-team/lib/types/session-remediation.d.ts +149 -0
  34. package/packages/agent-team/lib/types/session-remediation.d.ts.map +1 -0
  35. package/packages/agent-team/lib/types/spec.d.ts.map +1 -1
  36. package/packages/agent-team/lib/types/time-format.d.ts +28 -0
  37. package/packages/agent-team/lib/types/time-format.d.ts.map +1 -0
  38. package/packages/agent-team/lib/types/types/entities.d.ts +8 -0
  39. package/packages/agent-team/lib/types/types/entities.d.ts.map +1 -1
  40. package/packages/agent-team/lib/types/types/requests-results.d.ts +6 -0
  41. package/packages/agent-team/lib/types/types/requests-results.d.ts.map +1 -1
  42. package/packages/agent-team/preset/team-member/agent.cordis.yml +19 -4
  43. package/packages/client-agent-team/lib/client.js +80 -54
  44. package/packages/client-agent-team/lib/client.js.map +1 -1
  45. package/packages/client-agent-team/lib/types/client/TeamMessage.js +2 -2
  46. package/packages/client-agent-team/lib/types/client/TeamThreadPage.js +4 -4
  47. package/packages/client-agent-team/lib/types/client/index.d.ts.map +1 -1
  48. package/packages/client-agent-team/lib/types/client/index.js +10 -5
  49. package/packages/client-agent-team/lib/types/client/slots.d.ts +1 -1
  50. package/packages/client-agent-team/lib/types/client/slots.d.ts.map +1 -1
  51. package/packages/tool-agent-team/README.md +8 -6
  52. package/packages/tool-agent-team/README.zh.md +8 -6
  53. package/packages/tool-agent-team/lib/index.js +302 -110
  54. package/packages/tool-agent-team/lib/types/index.d.ts.map +1 -1
@@ -4102,7 +4102,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4102
4102
  "receipt": object({
4103
4103
  "operationId": intersection(string(), unknown()).readonly(),
4104
4104
  "requestId": intersection(string(), unknown()).readonly(),
4105
- "sequence": number().readonly()
4105
+ "sequence": number().readonly(),
4106
+ "occurredAt": string().readonly()
4106
4107
  }).readonly(),
4107
4108
  "status": object({
4108
4109
  "member": object({
@@ -4158,7 +4159,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4158
4159
  "receipt": object({
4159
4160
  "operationId": intersection(string(), unknown()).readonly(),
4160
4161
  "requestId": intersection(string(), unknown()).readonly(),
4161
- "sequence": number().readonly()
4162
+ "sequence": number().readonly(),
4163
+ "occurredAt": string().readonly()
4162
4164
  }).readonly(),
4163
4165
  "channel": object({
4164
4166
  "channelRef": intersection(string(), unknown()).readonly(),
@@ -4190,7 +4192,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4190
4192
  "receipt": object({
4191
4193
  "operationId": intersection(string(), unknown()).readonly(),
4192
4194
  "requestId": intersection(string(), unknown()).readonly(),
4193
- "sequence": number().readonly()
4195
+ "sequence": number().readonly(),
4196
+ "occurredAt": string().readonly()
4194
4197
  }).readonly(),
4195
4198
  "member": object({
4196
4199
  "memberId": intersection(string(), unknown()).readonly(),
@@ -4245,7 +4248,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4245
4248
  "receipt": object({
4246
4249
  "operationId": intersection(string(), unknown()).readonly(),
4247
4250
  "requestId": intersection(string(), unknown()).readonly(),
4248
- "sequence": number().readonly()
4251
+ "sequence": number().readonly(),
4252
+ "occurredAt": string().readonly()
4249
4253
  }).readonly(),
4250
4254
  "task": object({
4251
4255
  "taskRef": intersection(string(), unknown()).readonly(),
@@ -4311,7 +4315,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4311
4315
  "receipt": object({
4312
4316
  "operationId": intersection(string(), unknown()).readonly(),
4313
4317
  "requestId": intersection(string(), unknown()).readonly(),
4314
- "sequence": number().readonly()
4318
+ "sequence": number().readonly(),
4319
+ "occurredAt": string().readonly()
4315
4320
  }).readonly(),
4316
4321
  "activity": object({
4317
4322
  "kind": union([
@@ -4390,7 +4395,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4390
4395
  "receipt": object({
4391
4396
  "operationId": intersection(string(), unknown()).readonly(),
4392
4397
  "requestId": intersection(string(), unknown()).readonly(),
4393
- "sequence": number().readonly()
4398
+ "sequence": number().readonly(),
4399
+ "occurredAt": string().readonly()
4394
4400
  }).readonly(),
4395
4401
  "status": object({
4396
4402
  "member": object({
@@ -4448,7 +4454,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4448
4454
  "receipt": object({
4449
4455
  "operationId": intersection(string(), unknown()).readonly(),
4450
4456
  "requestId": intersection(string(), unknown()).readonly(),
4451
- "sequence": number().readonly()
4457
+ "sequence": number().readonly(),
4458
+ "occurredAt": string().readonly()
4452
4459
  }).readonly(),
4453
4460
  "channel": object({
4454
4461
  "channelRef": intersection(string(), unknown()).readonly(),
@@ -4499,6 +4506,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4499
4506
  "unreadCount": number().readonly(),
4500
4507
  "directCount": number().readonly(),
4501
4508
  "newestSequence": number().readonly(),
4509
+ "newestOccurredAt": string().readonly(),
4502
4510
  "attention": object({
4503
4511
  "memberId": intersection(string(), unknown()).readonly(),
4504
4512
  "threadRef": intersection(string(), unknown()).readonly(),
@@ -4519,7 +4527,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4519
4527
  "receipt": object({
4520
4528
  "operationId": intersection(string(), unknown()).readonly(),
4521
4529
  "requestId": intersection(string(), unknown()).readonly(),
4522
- "sequence": number().readonly()
4530
+ "sequence": number().readonly(),
4531
+ "occurredAt": string().readonly()
4523
4532
  }).readonly(),
4524
4533
  "channelRef": intersection(string(), unknown()).readonly(),
4525
4534
  "memberId": intersection(string(), unknown()).readonly()
@@ -4595,7 +4604,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4595
4604
  "receipt": object({
4596
4605
  "operationId": intersection(string(), unknown()).readonly(),
4597
4606
  "requestId": intersection(string(), unknown()).readonly(),
4598
- "sequence": number().readonly()
4607
+ "sequence": number().readonly(),
4608
+ "occurredAt": string().readonly()
4599
4609
  }).readonly(),
4600
4610
  "activity": object({
4601
4611
  "kind": union([
@@ -4661,7 +4671,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4661
4671
  "receipt": object({
4662
4672
  "operationId": intersection(string(), unknown()).readonly(),
4663
4673
  "requestId": intersection(string(), unknown()).readonly(),
4664
- "sequence": number().readonly()
4674
+ "sequence": number().readonly(),
4675
+ "occurredAt": string().readonly()
4665
4676
  }).readonly(),
4666
4677
  "task": object({
4667
4678
  "taskRef": intersection(string(), unknown()).readonly(),
@@ -4737,7 +4748,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4737
4748
  "sequence": number().readonly(),
4738
4749
  "occurredAt": string().readonly()
4739
4750
  }).readonly(),
4740
- "mentions": array(intersection(string(), unknown())).readonly()
4751
+ "mentions": array(intersection(string(), unknown())).readonly(),
4752
+ "occurredAt": string().readonly()
4741
4753
  }), object({
4742
4754
  "kind": literal("activity").readonly(),
4743
4755
  "sequence": number().readonly(),
@@ -4780,7 +4792,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4780
4792
  "actor": intersection(string(), unknown()).readonly(),
4781
4793
  "sequence": number().readonly()
4782
4794
  })
4783
- ]).readonly()
4795
+ ]).readonly(),
4796
+ "occurredAt": string().readonly()
4784
4797
  })]).readonly(),
4785
4798
  "unread": boolean().readonly(),
4786
4799
  "direct": boolean().readonly()
@@ -4872,7 +4885,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4872
4885
  "receipt": object({
4873
4886
  "operationId": intersection(string(), unknown()).readonly(),
4874
4887
  "requestId": intersection(string(), unknown()).readonly(),
4875
- "sequence": number().readonly()
4888
+ "sequence": number().readonly(),
4889
+ "occurredAt": string().readonly()
4876
4890
  }).readonly(),
4877
4891
  "channelRef": intersection(string(), unknown()).readonly(),
4878
4892
  "memberId": intersection(string(), unknown()).readonly(),
@@ -4946,7 +4960,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4946
4960
  "receipt": object({
4947
4961
  "operationId": intersection(string(), unknown()).readonly(),
4948
4962
  "requestId": intersection(string(), unknown()).readonly(),
4949
- "sequence": number().readonly()
4963
+ "sequence": number().readonly(),
4964
+ "occurredAt": string().readonly()
4950
4965
  }).readonly(),
4951
4966
  "message": object({
4952
4967
  "messageRef": intersection(string(), unknown()).readonly(),
@@ -5028,7 +5043,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5028
5043
  "receipt": object({
5029
5044
  "operationId": intersection(string(), unknown()).readonly(),
5030
5045
  "requestId": intersection(string(), unknown()).readonly(),
5031
- "sequence": number().readonly()
5046
+ "sequence": number().readonly(),
5047
+ "occurredAt": string().readonly()
5032
5048
  }).readonly(),
5033
5049
  "message": object({
5034
5050
  "messageRef": intersection(string(), unknown()).readonly(),
@@ -5183,7 +5199,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5183
5199
  "sequence": number().readonly(),
5184
5200
  "occurredAt": string().readonly()
5185
5201
  }).readonly(),
5186
- "mentions": array(intersection(string(), unknown())).readonly()
5202
+ "mentions": array(intersection(string(), unknown())).readonly(),
5203
+ "occurredAt": string().readonly()
5187
5204
  }), object({
5188
5205
  "kind": literal("activity").readonly(),
5189
5206
  "sequence": number().readonly(),
@@ -5226,7 +5243,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5226
5243
  "actor": intersection(string(), unknown()).readonly(),
5227
5244
  "sequence": number().readonly()
5228
5245
  })
5229
- ]).readonly()
5246
+ ]).readonly(),
5247
+ "occurredAt": string().readonly()
5230
5248
  })])).readonly(),
5231
5249
  "cursor": number().readonly(),
5232
5250
  "hasMore": boolean().readonly()
@@ -5258,7 +5276,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5258
5276
  "receipt": object({
5259
5277
  "operationId": intersection(string(), unknown()).readonly(),
5260
5278
  "requestId": intersection(string(), unknown()).readonly(),
5261
- "sequence": number().readonly()
5279
+ "sequence": number().readonly(),
5280
+ "occurredAt": string().readonly()
5262
5281
  }).readonly(),
5263
5282
  "channel": object({
5264
5283
  "channelRef": intersection(string(), unknown()).readonly(),
@@ -5288,7 +5307,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5288
5307
  "receipt": object({
5289
5308
  "operationId": intersection(string(), unknown()).readonly(),
5290
5309
  "requestId": intersection(string(), unknown()).readonly(),
5291
- "sequence": number().readonly()
5310
+ "sequence": number().readonly(),
5311
+ "occurredAt": string().readonly()
5292
5312
  }).readonly(),
5293
5313
  "status": object({
5294
5314
  "member": object({
@@ -5427,7 +5447,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5427
5447
  "revision": number().readonly()
5428
5448
  }).readonly(),
5429
5449
  "taskNumber": number().readonly().optional(),
5430
- "messageCount": number().readonly()
5450
+ "messageCount": number().readonly(),
5451
+ "lastActivityAt": string().readonly()
5431
5452
  })).readonly(),
5432
5453
  "claims": array(object({
5433
5454
  "claimRef": intersection(string(), unknown()).readonly(),
@@ -5511,7 +5532,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5511
5532
  },
5512
5533
  sourceLocation: {
5513
5534
  "file": "packages/agent-team/src/index.ts",
5514
- "line": 616,
5535
+ "line": 653,
5515
5536
  "column": 9
5516
5537
  }
5517
5538
  },
@@ -5538,7 +5559,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5538
5559
  },
5539
5560
  sourceLocation: {
5540
5561
  "file": "packages/agent-team/src/index.ts",
5541
- "line": 606,
5562
+ "line": 643,
5542
5563
  "column": 9
5543
5564
  }
5544
5565
  },
@@ -5565,7 +5586,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5565
5586
  },
5566
5587
  sourceLocation: {
5567
5588
  "file": "packages/agent-team/src/index.ts",
5568
- "line": 987,
5589
+ "line": 1024,
5569
5590
  "column": 9
5570
5591
  }
5571
5592
  },
@@ -5592,7 +5613,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5592
5613
  },
5593
5614
  sourceLocation: {
5594
5615
  "file": "packages/agent-team/src/index.ts",
5595
- "line": 1109,
5616
+ "line": 1146,
5596
5617
  "column": 9
5597
5618
  }
5598
5619
  },
@@ -5620,7 +5641,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5620
5641
  },
5621
5642
  sourceLocation: {
5622
5643
  "file": "packages/agent-team/src/index.ts",
5623
- "line": 538,
5644
+ "line": 575,
5624
5645
  "column": 9
5625
5646
  }
5626
5647
  },
@@ -5647,7 +5668,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5647
5668
  },
5648
5669
  sourceLocation: {
5649
5670
  "file": "packages/agent-team/src/index.ts",
5650
- "line": 999,
5671
+ "line": 1036,
5651
5672
  "column": 9
5652
5673
  }
5653
5674
  },
@@ -5674,7 +5695,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5674
5695
  },
5675
5696
  sourceLocation: {
5676
5697
  "file": "packages/agent-team/src/index.ts",
5677
- "line": 715,
5698
+ "line": 752,
5678
5699
  "column": 9
5679
5700
  }
5680
5701
  },
@@ -5701,7 +5722,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5701
5722
  },
5702
5723
  sourceLocation: {
5703
5724
  "file": "packages/agent-team/src/index.ts",
5704
- "line": 579,
5725
+ "line": 616,
5705
5726
  "column": 9
5706
5727
  }
5707
5728
  },
@@ -5728,7 +5749,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5728
5749
  },
5729
5750
  sourceLocation: {
5730
5751
  "file": "packages/agent-team/src/index.ts",
5731
- "line": 1095,
5752
+ "line": 1132,
5732
5753
  "column": 9
5733
5754
  }
5734
5755
  },
@@ -5755,7 +5776,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5755
5776
  },
5756
5777
  sourceLocation: {
5757
5778
  "file": "packages/agent-team/src/index.ts",
5758
- "line": 1118,
5779
+ "line": 1155,
5759
5780
  "column": 3
5760
5781
  }
5761
5782
  },
@@ -5782,7 +5803,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5782
5803
  },
5783
5804
  sourceLocation: {
5784
5805
  "file": "packages/agent-team/src/index.ts",
5785
- "line": 1019,
5806
+ "line": 1056,
5786
5807
  "column": 9
5787
5808
  }
5788
5809
  },
@@ -5810,7 +5831,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5810
5831
  },
5811
5832
  sourceLocation: {
5812
5833
  "file": "packages/agent-team/src/index.ts",
5813
- "line": 529,
5834
+ "line": 566,
5814
5835
  "column": 3
5815
5836
  }
5816
5837
  },
@@ -5837,7 +5858,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5837
5858
  },
5838
5859
  sourceLocation: {
5839
5860
  "file": "packages/agent-team/src/index.ts",
5840
- "line": 1009,
5861
+ "line": 1046,
5841
5862
  "column": 9
5842
5863
  }
5843
5864
  },
@@ -5864,7 +5885,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5864
5885
  },
5865
5886
  sourceLocation: {
5866
5887
  "file": "packages/agent-team/src/index.ts",
5867
- "line": 1082,
5888
+ "line": 1119,
5868
5889
  "column": 9
5869
5890
  }
5870
5891
  },
@@ -5891,7 +5912,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5891
5912
  },
5892
5913
  sourceLocation: {
5893
5914
  "file": "packages/agent-team/src/index.ts",
5894
- "line": 1125,
5915
+ "line": 1162,
5895
5916
  "column": 9
5896
5917
  }
5897
5918
  },
@@ -5918,7 +5939,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5918
5939
  },
5919
5940
  sourceLocation: {
5920
5941
  "file": "packages/agent-team/src/index.ts",
5921
- "line": 676,
5942
+ "line": 713,
5922
5943
  "column": 9
5923
5944
  }
5924
5945
  },
@@ -5945,7 +5966,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5945
5966
  },
5946
5967
  sourceLocation: {
5947
5968
  "file": "packages/agent-team/src/index.ts",
5948
- "line": 1030,
5969
+ "line": 1067,
5949
5970
  "column": 9
5950
5971
  }
5951
5972
  },
@@ -5972,7 +5993,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5972
5993
  },
5973
5994
  sourceLocation: {
5974
5995
  "file": "packages/agent-team/src/index.ts",
5975
- "line": 1103,
5996
+ "line": 1140,
5976
5997
  "column": 9
5977
5998
  }
5978
5999
  },
@@ -5999,7 +6020,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5999
6020
  },
6000
6021
  sourceLocation: {
6001
6022
  "file": "packages/agent-team/src/index.ts",
6002
- "line": 516,
6023
+ "line": 553,
6003
6024
  "column": 3
6004
6025
  }
6005
6026
  },
@@ -6026,7 +6047,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6026
6047
  },
6027
6048
  sourceLocation: {
6028
6049
  "file": "packages/agent-team/src/index.ts",
6029
- "line": 1039,
6050
+ "line": 1076,
6030
6051
  "column": 9
6031
6052
  }
6032
6053
  },
@@ -6053,7 +6074,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6053
6074
  },
6054
6075
  sourceLocation: {
6055
6076
  "file": "packages/agent-team/src/index.ts",
6056
- "line": 1141,
6077
+ "line": 1178,
6057
6078
  "column": 3
6058
6079
  }
6059
6080
  },
@@ -6080,7 +6101,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6080
6101
  },
6081
6102
  sourceLocation: {
6082
6103
  "file": "packages/agent-team/src/index.ts",
6083
- "line": 1134,
6104
+ "line": 1171,
6084
6105
  "column": 3
6085
6106
  }
6086
6107
  },
@@ -6107,7 +6128,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6107
6128
  },
6108
6129
  sourceLocation: {
6109
6130
  "file": "packages/agent-team/src/index.ts",
6110
- "line": 591,
6131
+ "line": 628,
6111
6132
  "column": 9
6112
6133
  }
6113
6134
  },
@@ -6134,7 +6155,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6134
6155
  },
6135
6156
  sourceLocation: {
6136
6157
  "file": "packages/agent-team/src/index.ts",
6137
- "line": 927,
6158
+ "line": 964,
6138
6159
  "column": 9
6139
6160
  }
6140
6161
  },
@@ -6161,7 +6182,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6161
6182
  },
6162
6183
  sourceLocation: {
6163
6184
  "file": "packages/agent-team/src/index.ts",
6164
- "line": 1148,
6185
+ "line": 1185,
6165
6186
  "column": 3
6166
6187
  }
6167
6188
  }
@@ -7707,7 +7728,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7707
7728
  }, index) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react.Fragment, { children: renderRefs(segment.text, onOpenRef, taskLabel, refLabel) }, index))
7708
7729
  }) : plan.render === "literal" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
7709
7730
  className: conversation_module_css_default.messageText,
7710
- children: onOpenRef === void 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.MessageText, { text: displayBody }) : renderRefs(displayBody, onOpenRef, taskLabel, refLabel)
7731
+ children: onOpenRef === void 0 ? displayBody : renderRefs(displayBody, onOpenRef, taskLabel, refLabel)
7711
7732
  }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
7712
7733
  ref: markdownRef,
7713
7734
  className: conversation_module_css_default.messageMarkdown,
@@ -8722,7 +8743,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
8722
8743
  kind: "message",
8723
8744
  sequence: message.sequence,
8724
8745
  message,
8725
- mentions
8746
+ mentions,
8747
+ occurredAt: message.occurredAt
8726
8748
  };
8727
8749
  }
8728
8750
  function mergeFacts(...groups) {
@@ -9184,7 +9206,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
9184
9206
  const merged = mergeFacts(current, [{
9185
9207
  kind: "activity",
9186
9208
  sequence: committed.activity.sequence,
9187
- activity: committed.activity
9209
+ activity: committed.activity,
9210
+ occurredAt: committed.receipt.occurredAt
9188
9211
  }]);
9189
9212
  currentFactsRef.current = merged;
9190
9213
  return merged;
@@ -9240,7 +9263,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
9240
9263
  const merged = mergeFacts(current, [{
9241
9264
  kind: "activity",
9242
9265
  sequence: committed.activity.sequence,
9243
- activity: committed.activity
9266
+ activity: committed.activity,
9267
+ occurredAt: committed.receipt.occurredAt
9244
9268
  }]);
9245
9269
  currentFactsRef.current = merged;
9246
9270
  return merged;
@@ -9307,7 +9331,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
9307
9331
  kind: "message",
9308
9332
  sequence: committed.message.sequence,
9309
9333
  message: committed.message,
9310
- mentions: [...recipients].sort()
9334
+ mentions: [...recipients].sort(),
9335
+ occurredAt: committed.receipt.occurredAt
9311
9336
  }]);
9312
9337
  currentFactsRef.current = merged;
9313
9338
  return merged;
@@ -12003,7 +12028,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
12003
12028
  "connection",
12004
12029
  "conversation"
12005
12030
  ];
12006
- function registerModeShadow(ctx, navigation, changes, drafts, name, component, extraInject) {
12031
+ function registerModeShadow(ctx, navigation, changes, drafts, name, component, extraInject, entryKey) {
12007
12032
  const openMemberSessionImpl = (sessionId) => {
12008
12033
  const sessions = ctx.sessions;
12009
12034
  const snapshot = navigation.getSnapshot();
@@ -12032,9 +12057,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
12032
12057
  let dispose;
12033
12058
  const reconcile = () => {
12034
12059
  const snapshot = navigation.getSnapshot();
12035
- const active = snapshot.mode === "team" && !(name === "conversation" && snapshot.memberSessionId !== void 0);
12060
+ const active = snapshot.mode === "team" && !(name === "main" && snapshot.memberSessionId !== void 0);
12036
12061
  if (active && dispose === void 0) dispose = ctx.slots.register({
12037
12062
  name,
12063
+ ...entryKey === void 0 ? {} : { key: entryKey },
12038
12064
  priority: -100,
12039
12065
  locale: NS,
12040
12066
  inject: () => ({
@@ -12042,7 +12068,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
12042
12068
  ...extraInject?.(),
12043
12069
  ...navigation.actions(),
12044
12070
  ...sharedRemotes,
12045
- ...name === "conversation" ? {
12071
+ ...name === "main" ? {
12046
12072
  readThread: (request) => ctx.remote.agentTeam.readThread(request),
12047
12073
  loadThreadHistory: (request) => ctx.remote.agentTeam.threadHistory(request),
12048
12074
  threadObservations: (request) => ctx.remote.agentTeam.threadObservations(request),
@@ -12138,7 +12164,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
12138
12164
  })
12139
12165
  }, TeamFooterAction));
12140
12166
  registerModeShadow(ctx, navigation, changes, drafts, "sidebar.workspaces", TeamWorkspaceBrowser);
12141
- registerModeShadow(ctx, navigation, changes, drafts, "conversation", TeamConversation);
12167
+ registerModeShadow(ctx, navigation, changes, drafts, "main", TeamConversation, void 0, "conversation");
12142
12168
  registerModeShadow(ctx, navigation, changes, drafts, "sidebar.settings", TeamSettings, () => ({ loadMemberGroups }));
12143
12169
  }
12144
12170
  async function apply(ctx) {