@wowyuarm/dsh-agent-team 0.1.14-alpha.2 → 0.1.15

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 (106) hide show
  1. package/README.md +6 -4
  2. package/README.zh.md +6 -4
  3. package/cordis.patch.yml +3 -1
  4. package/package.json +51 -46
  5. package/packages/agent-team/README.md +2 -2
  6. package/packages/agent-team/README.zh.md +2 -2
  7. package/packages/agent-team/core-skills/member-memory-manager/SKILL.md +30 -0
  8. package/packages/agent-team/lib/context-continuity-host.js +90 -0
  9. package/packages/agent-team/lib/context-projection.js +266 -489
  10. package/packages/agent-team/lib/context-source.js +4 -72
  11. package/packages/agent-team/lib/human-avatar.js +61 -0
  12. package/packages/agent-team/lib/human-profile.js +157 -0
  13. package/packages/agent-team/lib/human-update-check.js +119 -0
  14. package/packages/agent-team/lib/index.js +464 -254
  15. package/packages/agent-team/lib/ledger.js +120 -15
  16. package/packages/agent-team/lib/member-context.js +6 -3
  17. package/packages/agent-team/lib/member-runtime.js +1 -1
  18. package/packages/agent-team/lib/pressure-policy.js +6 -1
  19. package/packages/agent-team/lib/typert.host.js +489 -33
  20. package/packages/agent-team/lib/typert.remote-client.d.ts +15 -3
  21. package/packages/agent-team/lib/typert.remote-client.d.ts.map +1 -1
  22. package/packages/agent-team/lib/typert.remote-client.js +250 -28
  23. package/packages/agent-team/lib/types/context-continuity-host.d.ts +84 -0
  24. package/packages/agent-team/lib/types/context-continuity-host.d.ts.map +1 -0
  25. package/packages/agent-team/lib/types/context-projection.d.ts +130 -185
  26. package/packages/agent-team/lib/types/context-projection.d.ts.map +1 -1
  27. package/packages/agent-team/lib/types/context-source.d.ts +4 -35
  28. package/packages/agent-team/lib/types/context-source.d.ts.map +1 -1
  29. package/packages/agent-team/lib/types/human-avatar.d.ts +29 -0
  30. package/packages/agent-team/lib/types/human-avatar.d.ts.map +1 -0
  31. package/packages/agent-team/lib/types/human-profile.d.ts +116 -0
  32. package/packages/agent-team/lib/types/human-profile.d.ts.map +1 -0
  33. package/packages/agent-team/lib/types/human-update-check.d.ts +73 -0
  34. package/packages/agent-team/lib/types/human-update-check.d.ts.map +1 -0
  35. package/packages/agent-team/lib/types/index.d.ts +153 -41
  36. package/packages/agent-team/lib/types/index.d.ts.map +1 -1
  37. package/packages/agent-team/lib/types/ledger.d.ts +31 -2
  38. package/packages/agent-team/lib/types/ledger.d.ts.map +1 -1
  39. package/packages/agent-team/lib/types/member-context.d.ts.map +1 -1
  40. package/packages/agent-team/lib/types/pressure-policy.d.ts +6 -0
  41. package/packages/agent-team/lib/types/pressure-policy.d.ts.map +1 -1
  42. package/packages/agent-team/lib/types/types/entities.d.ts +17 -0
  43. package/packages/agent-team/lib/types/types/entities.d.ts.map +1 -1
  44. package/packages/agent-team/lib/types/types/requests-results.d.ts +81 -0
  45. package/packages/agent-team/lib/types/types/requests-results.d.ts.map +1 -1
  46. package/packages/client-agent-team/README.md +1 -1
  47. package/packages/client-agent-team/README.zh.md +1 -1
  48. package/packages/client-agent-team/lib/client.js +1545 -303
  49. package/packages/client-agent-team/lib/client.js.map +1 -1
  50. package/packages/client-agent-team/lib/types/client/HumanSettingsSection.d.ts +15 -0
  51. package/packages/client-agent-team/lib/types/client/HumanSettingsSection.d.ts.map +1 -0
  52. package/packages/client-agent-team/lib/types/client/HumanSettingsSection.js +115 -0
  53. package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.d.ts.map +1 -1
  54. package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.js +6 -2
  55. package/packages/client-agent-team/lib/types/client/TeamAvatarStack.d.ts +22 -1
  56. package/packages/client-agent-team/lib/types/client/TeamAvatarStack.d.ts.map +1 -1
  57. package/packages/client-agent-team/lib/types/client/TeamAvatarStack.js +25 -2
  58. package/packages/client-agent-team/lib/types/client/TeamChannelPage.d.ts +6 -1
  59. package/packages/client-agent-team/lib/types/client/TeamChannelPage.d.ts.map +1 -1
  60. package/packages/client-agent-team/lib/types/client/TeamChannelPage.js +67 -29
  61. package/packages/client-agent-team/lib/types/client/TeamComposer.js +2 -2
  62. package/packages/client-agent-team/lib/types/client/TeamConversation.d.ts +1 -1
  63. package/packages/client-agent-team/lib/types/client/TeamConversation.d.ts.map +1 -1
  64. package/packages/client-agent-team/lib/types/client/TeamConversation.js +12 -5
  65. package/packages/client-agent-team/lib/types/client/TeamInboxPage.d.ts +4 -1
  66. package/packages/client-agent-team/lib/types/client/TeamInboxPage.d.ts.map +1 -1
  67. package/packages/client-agent-team/lib/types/client/TeamInboxPage.js +22 -7
  68. package/packages/client-agent-team/lib/types/client/TeamMemberEditor.d.ts +11 -1
  69. package/packages/client-agent-team/lib/types/client/TeamMemberEditor.d.ts.map +1 -1
  70. package/packages/client-agent-team/lib/types/client/TeamMemberEditor.js +66 -5
  71. package/packages/client-agent-team/lib/types/client/TeamMessage.d.ts +18 -3
  72. package/packages/client-agent-team/lib/types/client/TeamMessage.d.ts.map +1 -1
  73. package/packages/client-agent-team/lib/types/client/TeamMessage.js +213 -67
  74. package/packages/client-agent-team/lib/types/client/TeamThreadPage.d.ts +5 -0
  75. package/packages/client-agent-team/lib/types/client/TeamThreadPage.d.ts.map +1 -1
  76. package/packages/client-agent-team/lib/types/client/TeamThreadPage.js +52 -26
  77. package/packages/client-agent-team/lib/types/client/avatar-image.d.ts +21 -0
  78. package/packages/client-agent-team/lib/types/client/avatar-image.d.ts.map +1 -0
  79. package/packages/client-agent-team/lib/types/client/avatar-image.js +9 -0
  80. package/packages/client-agent-team/lib/types/client/human-identity.d.ts +90 -0
  81. package/packages/client-agent-team/lib/types/client/human-identity.d.ts.map +1 -0
  82. package/packages/client-agent-team/lib/types/client/human-identity.js +96 -0
  83. package/packages/client-agent-team/lib/types/client/index.d.ts.map +1 -1
  84. package/packages/client-agent-team/lib/types/client/index.js +76 -4
  85. package/packages/client-agent-team/lib/types/client/locales.d.ts +72 -2
  86. package/packages/client-agent-team/lib/types/client/locales.d.ts.map +1 -1
  87. package/packages/client-agent-team/lib/types/client/locales.js +78 -2
  88. package/packages/client-agent-team/lib/types/client/refs.d.ts +71 -0
  89. package/packages/client-agent-team/lib/types/client/refs.d.ts.map +1 -0
  90. package/packages/client-agent-team/lib/types/client/refs.js +181 -0
  91. package/packages/client-agent-team/lib/types/client/slots.d.ts +9 -3
  92. package/packages/client-agent-team/lib/types/client/slots.d.ts.map +1 -1
  93. package/packages/client-agent-team/lib/types/client/team-formatters.d.ts +57 -9
  94. package/packages/client-agent-team/lib/types/client/team-formatters.d.ts.map +1 -1
  95. package/packages/client-agent-team/lib/types/client/team-formatters.js +85 -17
  96. package/packages/tool-agent-team/README.md +2 -2
  97. package/packages/tool-agent-team/README.zh.md +2 -2
  98. package/packages/tool-agent-team/lib/context-tools.js +20 -6
  99. package/packages/tool-agent-team/lib/index.js +2 -2
  100. package/packages/tool-agent-team/lib/types/context-tools.d.ts.map +1 -1
  101. package/packages/agent-team/lib/context-management.js +0 -371
  102. package/packages/agent-team/lib/types/context-management.d.ts +0 -154
  103. package/packages/agent-team/lib/types/context-management.d.ts.map +0 -1
  104. package/packages/client-agent-team/lib/types/client/task-refs.d.ts +0 -31
  105. package/packages/client-agent-team/lib/types/client/task-refs.d.ts.map +0 -1
  106. package/packages/client-agent-team/lib/types/client/task-refs.js +0 -99
@@ -25,6 +25,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_addMember_parameter_0$schema = () => (_
25
25
  }))
26
26
  let _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema$value
27
27
  const _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema$value ??= z.object({
28
+ 'workspaceIds': z.array(z.intersection(z.string(), z.unknown())).readonly(),
28
29
  'receipt': z.object({
29
30
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
30
31
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -366,6 +367,28 @@ const _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema = () => (_w
366
367
  'byteSize': z.number().readonly(),
367
368
  'bytesBase64': z.string().readonly(),
368
369
  }))
370
+ let _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_parameter_0$schema$value
371
+ const _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_parameter_0$schema$value ??= z.object({
372
+ 'avatarRef': z.string().readonly(),
373
+ }))
374
+ let _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_result$schema$value
375
+ const _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_result$schema$value ??= z.object({
376
+ 'name': z.string().readonly(),
377
+ 'mediaType': z.string().readonly(),
378
+ 'byteSize': z.number().readonly(),
379
+ 'bytesBase64': z.string().readonly(),
380
+ }))
381
+ let _wowyuarm_dsh_agent_team_agentTeam_humanProfile_parameter_0$schema$value
382
+ const _wowyuarm_dsh_agent_team_agentTeam_humanProfile_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_humanProfile_parameter_0$schema$value ??= z.object({}))
383
+ let _wowyuarm_dsh_agent_team_agentTeam_humanProfile_result$schema$value
384
+ const _wowyuarm_dsh_agent_team_agentTeam_humanProfile_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_humanProfile_result$schema$value ??= z.object({
385
+ 'name': z.string().readonly(),
386
+ 'avatarRef': z.union([z.undefined(), z.string()]).readonly().optional(),
387
+ 'version': z.string().readonly(),
388
+ 'repoUrl': z.string().readonly(),
389
+ 'updateAvailable': z.boolean().readonly(),
390
+ 'latestVersion': z.union([z.undefined(), z.string()]).readonly().optional(),
391
+ }))
369
392
  let _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema$value
370
393
  const _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema$value ??= z.object({
371
394
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -373,6 +396,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema = () => (_wowy
373
396
  }))
374
397
  let _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema$value
375
398
  const _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema$value ??= z.object({
399
+ 'humanMemberId': z.intersection(z.string(), z.unknown()).readonly(),
376
400
  'items': z.array(z.object({
377
401
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
378
402
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
@@ -630,6 +654,20 @@ const _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema = () => (_w
630
654
  'byteSize': z.number().readonly(),
631
655
  'mediaType': z.string().readonly(),
632
656
  }))
657
+ let _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_parameter_0$schema$value
658
+ const _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_parameter_0$schema$value ??= z.object({
659
+ 'name': z.string().readonly(),
660
+ 'mediaType': z.union([z.undefined(), z.string()]).readonly().optional(),
661
+ 'bytesBase64': z.string().readonly(),
662
+ }))
663
+ let _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_result$schema$value
664
+ const _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_result$schema$value ??= z.object({
665
+ 'avatarRef': z.string().readonly(),
666
+ 'path': z.string().readonly(),
667
+ 'name': z.string().readonly(),
668
+ 'byteSize': z.number().readonly(),
669
+ 'mediaType': z.string().readonly(),
670
+ }))
633
671
  let _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema$value
634
672
  const _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema$value ??= z.object({
635
673
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -847,6 +885,14 @@ const _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema = ()
847
885
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
848
886
  })).readonly(),
849
887
  }))
888
+ let _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_parameter_0$schema$value
889
+ const _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_parameter_0$schema$value ??= z.object({
890
+ 'avatarRef': z.string().readonly(),
891
+ }))
892
+ let _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_result$schema$value
893
+ const _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_result$schema$value ??= z.object({
894
+ 'removed': z.boolean().readonly(),
895
+ }))
850
896
  let _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema$value
851
897
  const _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema$value ??= z.object({
852
898
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -956,6 +1002,21 @@ const _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema = () => (
956
1002
  'taskNumber': z.number().readonly(),
957
1003
  })).readonly(),
958
1004
  }))
1005
+ let _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_parameter_0$schema$value
1006
+ const _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_parameter_0$schema$value ??= z.object({
1007
+ 'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
1008
+ 'threadRefs': z.array(z.intersection(z.string(), z.unknown())).readonly(),
1009
+ }))
1010
+ let _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema$value
1011
+ const _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema$value ??= z.object({
1012
+ 'resolved': z.array(z.object({
1013
+ 'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
1014
+ 'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
1015
+ 'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1016
+ 'taskNumber': z.number().readonly().optional(),
1017
+ 'title': z.string().readonly(),
1018
+ })).readonly(),
1019
+ }))
959
1020
  let _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema$value
960
1021
  const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema$value ??= z.object({
961
1022
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1036,6 +1097,16 @@ const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema = () => (_wow
1036
1097
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1037
1098
  'revision': z.number().readonly().optional(),
1038
1099
  })]))
1100
+ let _wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_parameter_0$schema$value
1101
+ const _wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_parameter_0$schema$value ??= z.object({
1102
+ 'name': z.union([z.undefined(), z.string()]).readonly().optional(),
1103
+ 'avatarRef': z.union([z.undefined(), z.literal(null), z.string()]).readonly().optional(),
1104
+ }))
1105
+ let _wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_result$schema$value
1106
+ const _wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_result$schema$value ??= z.object({
1107
+ 'name': z.string().readonly(),
1108
+ 'avatarRef': z.union([z.undefined(), z.string()]).readonly().optional(),
1109
+ }))
1039
1110
  let _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema$value
1040
1111
  const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema$value ??= z.object({
1041
1112
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1407,10 +1478,10 @@ export const TYPERT = {
1407
1478
  ],
1408
1479
  result: {
1409
1480
  mode: 'strict',
1410
- typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamMemberResult',
1481
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamAddMemberResult',
1411
1482
  create: _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema,
1412
1483
  },
1413
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":708,"column":9},
1484
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":891,"column":9},
1414
1485
  },
1415
1486
  {
1416
1487
  id: '@wowyuarm/dsh-agent-team#agentTeam/archiveChannel',
@@ -1435,7 +1506,7 @@ export const TYPERT = {
1435
1506
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveChannelResult',
1436
1507
  create: _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema,
1437
1508
  },
1438
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":698,"column":9},
1509
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":881,"column":9},
1439
1510
  },
1440
1511
  {
1441
1512
  id: '@wowyuarm/dsh-agent-team#agentTeam/archiveMember',
@@ -1460,7 +1531,7 @@ export const TYPERT = {
1460
1531
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveMemberResult',
1461
1532
  create: _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema,
1462
1533
  },
1463
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1077,"column":9},
1534
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1271,"column":9},
1464
1535
  },
1465
1536
  {
1466
1537
  id: '@wowyuarm/dsh-agent-team#agentTeam/changeAttention',
@@ -1485,7 +1556,7 @@ export const TYPERT = {
1485
1556
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadAttentionResult',
1486
1557
  create: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema,
1487
1558
  },
1488
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1217,"column":9},
1559
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1500,"column":9},
1489
1560
  },
1490
1561
  {
1491
1562
  id: '@wowyuarm/dsh-agent-team#agentTeam/changes',
@@ -1512,7 +1583,7 @@ export const TYPERT = {
1512
1583
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamChangesResult',
1513
1584
  create: _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema,
1514
1585
  },
1515
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":631,"column":11},
1586
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":814,"column":11},
1516
1587
  },
1517
1588
  {
1518
1589
  id: '@wowyuarm/dsh-agent-team#agentTeam/changeTask',
@@ -1537,7 +1608,7 @@ export const TYPERT = {
1537
1608
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamTaskResult',
1538
1609
  create: _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema,
1539
1610
  },
1540
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1089,"column":9},
1611
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1283,"column":9},
1541
1612
  },
1542
1613
  {
1543
1614
  id: '@wowyuarm/dsh-agent-team#agentTeam/clearMemberContext',
@@ -1562,7 +1633,7 @@ export const TYPERT = {
1562
1633
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamClearMemberContextResult',
1563
1634
  create: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema,
1564
1635
  },
1565
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":811,"column":9},
1636
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":997,"column":9},
1566
1637
  },
1567
1638
  {
1568
1639
  id: '@wowyuarm/dsh-agent-team#agentTeam/createChannel',
@@ -1587,7 +1658,7 @@ export const TYPERT = {
1587
1658
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamCreateChannelResult',
1588
1659
  create: _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema,
1589
1660
  },
1590
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":671,"column":9},
1661
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":854,"column":9},
1591
1662
  },
1592
1663
  {
1593
1664
  id: '@wowyuarm/dsh-agent-team#agentTeam/getAttachment',
@@ -1612,7 +1683,58 @@ export const TYPERT = {
1612
1683
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetAttachmentResult',
1613
1684
  create: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema,
1614
1685
  },
1615
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1203,"column":9},
1686
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1397,"column":9},
1687
+ },
1688
+ {
1689
+ id: '@wowyuarm/dsh-agent-team#agentTeam/getHumanAvatar',
1690
+ service: 'agentTeam',
1691
+ namespace: 'agentTeam',
1692
+ method: 'getHumanAvatar',
1693
+ invocation: { kind: 'direct' },
1694
+ parameters: [
1695
+ {
1696
+ name: 'request',
1697
+ wire: 'request',
1698
+ source: 'json',
1699
+ codec: {
1700
+ mode: 'strict',
1701
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetHumanAvatarRequest',
1702
+ create: _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_parameter_0$schema,
1703
+ },
1704
+ },
1705
+ ],
1706
+ result: {
1707
+ mode: 'strict',
1708
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetHumanAvatarResult',
1709
+ create: _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_result$schema,
1710
+ },
1711
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1440,"column":9},
1712
+ },
1713
+ {
1714
+ id: '@wowyuarm/dsh-agent-team#agentTeam/humanProfile',
1715
+ service: 'agentTeam',
1716
+ namespace: 'agentTeam',
1717
+ method: 'humanProfile',
1718
+ implementation: 'humanProfileForClient',
1719
+ invocation: { kind: 'direct' },
1720
+ parameters: [
1721
+ {
1722
+ name: '_request',
1723
+ wire: '_request',
1724
+ source: 'json',
1725
+ codec: {
1726
+ mode: 'strict',
1727
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamHumanProfileRequest',
1728
+ create: _wowyuarm_dsh_agent_team_agentTeam_humanProfile_parameter_0$schema,
1729
+ },
1730
+ },
1731
+ ],
1732
+ result: {
1733
+ mode: 'strict',
1734
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamHumanProfileResult',
1735
+ create: _wowyuarm_dsh_agent_team_agentTeam_humanProfile_result$schema,
1736
+ },
1737
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1412,"column":3},
1616
1738
  },
1617
1739
  {
1618
1740
  id: '@wowyuarm/dsh-agent-team#agentTeam/inbox',
@@ -1637,7 +1759,7 @@ export const TYPERT = {
1637
1759
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamInbox',
1638
1760
  create: _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema,
1639
1761
  },
1640
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1226,"column":3},
1762
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1509,"column":3},
1641
1763
  },
1642
1764
  {
1643
1765
  id: '@wowyuarm/dsh-agent-team#agentTeam/joinChannel',
@@ -1662,7 +1784,7 @@ export const TYPERT = {
1662
1784
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinChannelResult',
1663
1785
  create: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema,
1664
1786
  },
1665
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1109,"column":9},
1787
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1303,"column":9},
1666
1788
  },
1667
1789
  {
1668
1790
  id: '@wowyuarm/dsh-agent-team#agentTeam/joinWorkspace',
@@ -1687,7 +1809,7 @@ export const TYPERT = {
1687
1809
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinWorkspaceResult',
1688
1810
  create: _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema,
1689
1811
  },
1690
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1129,"column":9},
1812
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1323,"column":9},
1691
1813
  },
1692
1814
  {
1693
1815
  id: '@wowyuarm/dsh-agent-team#agentTeam/leaveWorkspace',
@@ -1712,7 +1834,7 @@ export const TYPERT = {
1712
1834
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamLeaveWorkspaceResult',
1713
1835
  create: _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema,
1714
1836
  },
1715
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1138,"column":9},
1837
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1332,"column":9},
1716
1838
  },
1717
1839
  {
1718
1840
  id: '@wowyuarm/dsh-agent-team#agentTeam/members',
@@ -1738,7 +1860,7 @@ export const TYPERT = {
1738
1860
  typeSymbol: '@wowyuarm/dsh-agent-team#agentTeam/members:result',
1739
1861
  create: _wowyuarm_dsh_agent_team_agentTeam_members_result$schema,
1740
1862
  },
1741
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":621,"column":3},
1863
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":804,"column":3},
1742
1864
  },
1743
1865
  {
1744
1866
  id: '@wowyuarm/dsh-agent-team#agentTeam/promoteThread',
@@ -1763,7 +1885,7 @@ export const TYPERT = {
1763
1885
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPromoteThreadResult',
1764
1886
  create: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema,
1765
1887
  },
1766
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1099,"column":9},
1888
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1293,"column":9},
1767
1889
  },
1768
1890
  {
1769
1891
  id: '@wowyuarm/dsh-agent-team#agentTeam/putAttachment',
@@ -1788,7 +1910,32 @@ export const TYPERT = {
1788
1910
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutAttachmentResult',
1789
1911
  create: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema,
1790
1912
  },
1791
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1190,"column":9},
1913
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1384,"column":9},
1914
+ },
1915
+ {
1916
+ id: '@wowyuarm/dsh-agent-team#agentTeam/putHumanAvatar',
1917
+ service: 'agentTeam',
1918
+ namespace: 'agentTeam',
1919
+ method: 'putHumanAvatar',
1920
+ invocation: { kind: 'direct' },
1921
+ parameters: [
1922
+ {
1923
+ name: 'request',
1924
+ wire: 'request',
1925
+ source: 'json',
1926
+ codec: {
1927
+ mode: 'strict',
1928
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutHumanAvatarRequest',
1929
+ create: _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_parameter_0$schema,
1930
+ },
1931
+ },
1932
+ ],
1933
+ result: {
1934
+ mode: 'strict',
1935
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutHumanAvatarResult',
1936
+ create: _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_result$schema,
1937
+ },
1938
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1432,"column":9},
1792
1939
  },
1793
1940
  {
1794
1941
  id: '@wowyuarm/dsh-agent-team#agentTeam/readThread',
@@ -1813,7 +1960,7 @@ export const TYPERT = {
1813
1960
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadReadResult',
1814
1961
  create: _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema,
1815
1962
  },
1816
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1233,"column":9},
1963
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1516,"column":9},
1817
1964
  },
1818
1965
  {
1819
1966
  id: '@wowyuarm/dsh-agent-team#agentTeam/recoverMember',
@@ -1838,7 +1985,7 @@ export const TYPERT = {
1838
1985
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRecoverMemberResult',
1839
1986
  create: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema,
1840
1987
  },
1841
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":768,"column":9},
1988
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":954,"column":9},
1842
1989
  },
1843
1990
  {
1844
1991
  id: '@wowyuarm/dsh-agent-team#agentTeam/removeChannelMember',
@@ -1863,7 +2010,32 @@ export const TYPERT = {
1863
2010
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveChannelMemberResult',
1864
2011
  create: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema,
1865
2012
  },
1866
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1120,"column":9},
2013
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1314,"column":9},
2014
+ },
2015
+ {
2016
+ id: '@wowyuarm/dsh-agent-team#agentTeam/removeHumanAvatar',
2017
+ service: 'agentTeam',
2018
+ namespace: 'agentTeam',
2019
+ method: 'removeHumanAvatar',
2020
+ invocation: { kind: 'direct' },
2021
+ parameters: [
2022
+ {
2023
+ name: 'request',
2024
+ wire: 'request',
2025
+ source: 'json',
2026
+ codec: {
2027
+ mode: 'strict',
2028
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveHumanAvatarRequest',
2029
+ create: _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_parameter_0$schema,
2030
+ },
2031
+ },
2032
+ ],
2033
+ result: {
2034
+ mode: 'strict',
2035
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveHumanAvatarResult',
2036
+ create: _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_result$schema,
2037
+ },
2038
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1448,"column":9},
1867
2039
  },
1868
2040
  {
1869
2041
  id: '@wowyuarm/dsh-agent-team#agentTeam/reply',
@@ -1888,7 +2060,7 @@ export const TYPERT = {
1888
2060
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamReplyResult',
1889
2061
  create: _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema,
1890
2062
  },
1891
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1211,"column":9},
2063
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1494,"column":9},
1892
2064
  },
1893
2065
  {
1894
2066
  id: '@wowyuarm/dsh-agent-team#agentTeam/resolveTaskRefs',
@@ -1913,7 +2085,32 @@ export const TYPERT = {
1913
2085
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveTaskRefsResult',
1914
2086
  create: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema,
1915
2087
  },
1916
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":608,"column":3},
2088
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":778,"column":3},
2089
+ },
2090
+ {
2091
+ id: '@wowyuarm/dsh-agent-team#agentTeam/resolveThreadRefs',
2092
+ service: 'agentTeam',
2093
+ namespace: 'agentTeam',
2094
+ method: 'resolveThreadRefs',
2095
+ invocation: { kind: 'direct' },
2096
+ parameters: [
2097
+ {
2098
+ name: 'request',
2099
+ wire: 'request',
2100
+ source: 'json',
2101
+ codec: {
2102
+ mode: 'strict',
2103
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveThreadRefsRequest',
2104
+ create: _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_parameter_0$schema,
2105
+ },
2106
+ },
2107
+ ],
2108
+ result: {
2109
+ mode: 'strict',
2110
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveThreadRefsResult',
2111
+ create: _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema,
2112
+ },
2113
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":791,"column":3},
1917
2114
  },
1918
2115
  {
1919
2116
  id: '@wowyuarm/dsh-agent-team#agentTeam/sendMessage',
@@ -1938,7 +2135,32 @@ export const TYPERT = {
1938
2135
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSendMessageResult',
1939
2136
  create: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema,
1940
2137
  },
1941
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1147,"column":9},
2138
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1341,"column":9},
2139
+ },
2140
+ {
2141
+ id: '@wowyuarm/dsh-agent-team#agentTeam/setHumanProfile',
2142
+ service: 'agentTeam',
2143
+ namespace: 'agentTeam',
2144
+ method: 'setHumanProfile',
2145
+ invocation: { kind: 'direct' },
2146
+ parameters: [
2147
+ {
2148
+ name: 'request',
2149
+ wire: 'request',
2150
+ source: 'json',
2151
+ codec: {
2152
+ mode: 'strict',
2153
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSetHumanProfileRequest',
2154
+ create: _wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_parameter_0$schema,
2155
+ },
2156
+ },
2157
+ ],
2158
+ result: {
2159
+ mode: 'strict',
2160
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSetHumanProfileResult',
2161
+ create: _wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_result$schema,
2162
+ },
2163
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1470,"column":9},
1942
2164
  },
1943
2165
  {
1944
2166
  id: '@wowyuarm/dsh-agent-team#agentTeam/threadHistory',
@@ -1963,7 +2185,7 @@ export const TYPERT = {
1963
2185
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadHistory',
1964
2186
  create: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema,
1965
2187
  },
1966
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1251,"column":3},
2188
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1534,"column":3},
1967
2189
  },
1968
2190
  {
1969
2191
  id: '@wowyuarm/dsh-agent-team#agentTeam/threadObservations',
@@ -1988,7 +2210,7 @@ export const TYPERT = {
1988
2210
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadObservations',
1989
2211
  create: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema,
1990
2212
  },
1991
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1244,"column":3},
2213
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1527,"column":3},
1992
2214
  },
1993
2215
  {
1994
2216
  id: '@wowyuarm/dsh-agent-team#agentTeam/updateChannel',
@@ -2013,7 +2235,7 @@ export const TYPERT = {
2013
2235
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamUpdateChannelResult',
2014
2236
  create: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema,
2015
2237
  },
2016
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":683,"column":9},
2238
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":866,"column":9},
2017
2239
  },
2018
2240
  {
2019
2241
  id: '@wowyuarm/dsh-agent-team#agentTeam/updateMember',
@@ -2038,7 +2260,7 @@ export const TYPERT = {
2038
2260
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamMemberResult',
2039
2261
  create: _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema,
2040
2262
  },
2041
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1017,"column":9},
2263
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1211,"column":9},
2042
2264
  },
2043
2265
  {
2044
2266
  id: '@wowyuarm/dsh-agent-team#agentTeam/view',
@@ -2063,7 +2285,7 @@ export const TYPERT = {
2063
2285
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamView',
2064
2286
  create: _wowyuarm_dsh_agent_team_agentTeam_view_result$schema,
2065
2287
  },
2066
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1258,"column":3},
2288
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1541,"column":3},
2067
2289
  },
2068
2290
  ],
2069
2291
  model: {
@@ -2076,6 +2298,20 @@ export const TYPERT = {
2076
2298
  "key": "agentTeam",
2077
2299
  "exportName": "default",
2078
2300
  "members": [
2301
+ {
2302
+ "kind": "method",
2303
+ "name": "humanHandle",
2304
+ "signature": "humanHandle(): string",
2305
+ "summary": "Current human display name; the single source for team_view and @ matching.",
2306
+ "jsDoc": "/** Current human display name; the single source for team_view and @ matching. */"
2307
+ },
2308
+ {
2309
+ "kind": "method",
2310
+ "name": "humanProfile",
2311
+ "signature": "humanProfile(): { readonly name: string; readonly avatarRef?: string | undefined }",
2312
+ "summary": "Current human profile reference held in this Host row's Config (name + avatarRef).",
2313
+ "jsDoc": "/** Current human profile reference held in this Host row's Config (name + avatarRef). */"
2314
+ },
2079
2315
  {
2080
2316
  "kind": "method",
2081
2317
  "name": "memberForAgent",
@@ -2097,6 +2333,13 @@ export const TYPERT = {
2097
2333
  "summary": "Read-only navigation lookup for branded Task refs found in message bodies.",
2098
2334
  "jsDoc": "/** Read-only navigation lookup for branded Task refs found in message bodies. */"
2099
2335
  },
2336
+ {
2337
+ "kind": "method",
2338
+ "name": "resolveThreadRefs",
2339
+ "signature": "@Remote('resolveThreadRefs') resolveThreadRefs(request: AgentTeamResolveThreadRefsRequest): AgentTeamResolveThreadRefsResult",
2340
+ "summary": "Read-only navigation lookup for branded Thread refs found in message bodies.",
2341
+ "jsDoc": "/** Read-only navigation lookup for branded Thread refs found in message bodies. */"
2342
+ },
2100
2343
  {
2101
2344
  "kind": "method",
2102
2345
  "name": "membersForClient",
@@ -2140,7 +2383,7 @@ export const TYPERT = {
2140
2383
  {
2141
2384
  "kind": "method",
2142
2385
  "name": "addMember",
2143
- "signature": "@Remote('addMember') async addMember(request: AgentTeamAddMemberRequest): Promise<AgentTeamMemberResult>",
2386
+ "signature": "@Remote('addMember') async addMember(request: AgentTeamAddMemberRequest): Promise<AgentTeamAddMemberResult>",
2144
2387
  "summary": "Create a durable Member and atomically grant its declared initial Channels.",
2145
2388
  "jsDoc": "/** Create a durable Member and atomically grant its declared initial Channels. */"
2146
2389
  },
@@ -2256,6 +2499,41 @@ export const TYPERT = {
2256
2499
  "summary": "Read one cached attachment back for client display; gone entries throw and the UI degrades to a chip.",
2257
2500
  "jsDoc": "/** Read one cached attachment back for client display; gone entries throw and the UI degrades to a chip. */"
2258
2501
  },
2502
+ {
2503
+ "kind": "method",
2504
+ "name": "humanProfileForClient",
2505
+ "signature": "@Remote('humanProfile') humanProfileForClient(_request: AgentTeamHumanProfileRequest): AgentTeamHumanProfileResult",
2506
+ "summary": "Human profile read for the settings page and footnote: name + avatar reference from this Host row's live Config plus version facts.",
2507
+ "jsDoc": "/**\n * Human profile read for the settings page and footnote: name + avatar\n * reference from this Host row's live Config plus version facts. Human-scoped\n * (the Web Client calls it); agent tools never receive avatar bytes, only the\n * name through team_view. The new-release check stays best-effort and cached —\n * `updateAvailable` is false until a background refresh actually observes a\n * newer published release.\n */"
2508
+ },
2509
+ {
2510
+ "kind": "method",
2511
+ "name": "putHumanAvatar",
2512
+ "signature": "@Remote('putHumanAvatar') async putHumanAvatar(request: AgentTeamPutHumanAvatarRequest): Promise<AgentTeamPutHumanAvatarResult>",
2513
+ "summary": "Upload one human avatar image into the persistent store.",
2514
+ "jsDoc": "/**\n * Upload one human avatar image into the persistent store. Human-only by\n * construction: only the Web Client calls this Remote, never agent tools.\n * The caller stores the returned ref in settings; bytes never enter the\n * TTL-bound attachment cache.\n */"
2515
+ },
2516
+ {
2517
+ "kind": "method",
2518
+ "name": "getHumanAvatar",
2519
+ "signature": "@Remote('getHumanAvatar') async getHumanAvatar(request: AgentTeamGetHumanAvatarRequest): Promise<AgentTeamGetHumanAvatarResult>",
2520
+ "summary": "Read one human avatar back; removed entries throw and the UI falls back to hue/initial.",
2521
+ "jsDoc": "/** Read one human avatar back; removed entries throw and the UI falls back to hue/initial. */"
2522
+ },
2523
+ {
2524
+ "kind": "method",
2525
+ "name": "removeHumanAvatar",
2526
+ "signature": "@Remote('removeHumanAvatar') async removeHumanAvatar(request: AgentTeamRemoveHumanAvatarRequest): Promise<AgentTeamRemoveHumanAvatarResult>",
2527
+ "summary": "Remove one human avatar entry; the UI falls back to hue/initial afterwards.",
2528
+ "jsDoc": "/** Remove one human avatar entry; the UI falls back to hue/initial afterwards. */"
2529
+ },
2530
+ {
2531
+ "kind": "method",
2532
+ "name": "setHumanProfile",
2533
+ "signature": "@Remote('setHumanProfile') async setHumanProfile(request: AgentTeamSetHumanProfileRequest): Promise<AgentTeamSetHumanProfileResult>",
2534
+ "summary": "Overwrite the Human profile fields the caller supplies.",
2535
+ "jsDoc": "/**\n * Overwrite the Human profile fields the caller supplies. The Host owns this\n * write because the profile is the Host row's own Config: the schema supplies\n * the shape, this method supplies the two judgements the schema cannot make\n * (a non-empty name, a name no live Member already answers to), and the\n * settings service persists the result into the active profile's patch\n * document and applies it to the running plugin live.\n *\n * No expected revision accompanies the write: the profile is two scalar\n * fields written from the Human's own pages, where the last write wins. This\n * is not a hard boundary around a user-editable document — the settings\n * service's own document opener (and a text editor) can change the stored\n * name without passing here, exactly as the retired section validator could\n * not stop it.\n */"
2536
+ },
2259
2537
  {
2260
2538
  "kind": "method",
2261
2539
  "name": "reply",
@@ -2405,7 +2683,21 @@ export const TYPERT = {
2405
2683
  "name": "contextTimelineForAgent",
2406
2684
  "signature": "async contextTimelineForAgent(agent: Agent, request: AgentTeamTimelineToolRequest): Promise<AgentTeamTimelineToolResult>",
2407
2685
  "summary": "Agent-only bounded structural timeline: resolved checkpoints plus Team delivery, handoff, and compaction boundaries across the current generation and its archived ancestor lineage.",
2408
- "jsDoc": "/**\n * Agent-only bounded structural timeline: resolved checkpoints plus Team\n * delivery, handoff, and compaction boundaries across the current\n * generation and its archived ancestor lineage. Structural only — no\n * transcript content. The meter prices retained/discarded tokens; entries\n * the Host cannot prove restorable carry a rejection reason instead of\n * silently disappearing.\n */"
2686
+ "jsDoc": "/**\n * Agent-only bounded structural timeline: resolved checkpoints plus Team\n * delivery, handoff, and compaction boundaries across the current\n * generation and its archived ancestor lineage. Structural only — no\n * transcript content. The walk, the per-source folds, the pricing, and the\n * anchor rules are the engine's `readContextTimeline`; Team contributes the\n * fold configuration, the measurement, and the one judgement the engine\n * leaves to its host — which Threads a boundary's retained prefix holds — so\n * a ref this list offers is a ref `context_rollover` accepts.\n */"
2687
+ },
2688
+ {
2689
+ "kind": "method",
2690
+ "name": "measureContextSourceForAgent",
2691
+ "signature": "measureContextSourceForAgent(agent: Agent, source: ContextTimelineSource): number | undefined",
2692
+ "summary": "One source's replayed measurement, in that source's own tokens, for a caller that already holds the source: the live generation measures directly, an archived one is rebuilt from the log it came with.",
2693
+ "jsDoc": "/**\n * One source's replayed measurement, in that source's own tokens, for a\n * caller that already holds the source: the live generation measures\n * directly, an archived one is rebuilt from the log it came with. Undefined\n * means unmeasurable — a caller must never price an unknown source as free.\n */"
2694
+ },
2695
+ {
2696
+ "kind": "method",
2697
+ "name": "contextFoldConfig",
2698
+ "signature": "contextFoldConfig(): ContextProjectionConfig",
2699
+ "summary": "The one fold configuration the registered projection unit and every cold fold use, so a generation read back for the timeline reads exactly as the projection folded it — same codec, same boundary attribution.",
2700
+ "jsDoc": "/**\n * The one fold configuration the registered projection unit and every cold\n * fold use, so a generation read back for the timeline reads exactly as the\n * projection folded it — same codec, same boundary attribution.\n */"
2409
2701
  },
2410
2702
  {
2411
2703
  "kind": "method",
@@ -2455,6 +2747,10 @@ export const TYPERT = {
2455
2747
  "name": "AgentTeamAddMemberRequest",
2456
2748
  "declaration": "export interface AgentTeamAddMemberRequest {\n readonly requestId: AgentTeamRequestId;\n readonly workspaceId: WorkspaceId;\n readonly handle: string;\n readonly description: string;\n readonly presetId: string;\n readonly model?: AgentTeamModelSelection;\n readonly capabilities?: AgentTeamMemberCapabilities;\n readonly channelRefs: readonly AgentTeamChannelRef[];\n}"
2457
2749
  },
2750
+ {
2751
+ "name": "AgentTeamAddMemberResult",
2752
+ "declaration": "export interface AgentTeamAddMemberResult extends AgentTeamMemberResult {\n readonly workspaceIds: readonly WorkspaceId[];\n}"
2753
+ },
2458
2754
  {
2459
2755
  "name": "AgentTeamAgentMember",
2460
2756
  "declaration": "export interface AgentTeamAgentMember {\n readonly memberId: AgentTeamMemberId;\n readonly sessionId: SessionId;\n readonly workspaceId: WorkspaceId;\n readonly handle: string;\n readonly description: string;\n readonly presetId: string;\n readonly model?: AgentTeamModelSelection | undefined;\n readonly capabilities?: AgentTeamMemberCapabilities | undefined;\n readonly privateMemoryPath: string;\n readonly state: 'enabled' | 'suspended' | 'inactive' | 'archived';\n}"
@@ -2615,9 +2911,25 @@ export const TYPERT = {
2615
2911
  "name": "AgentTeamGetAttachmentResult",
2616
2912
  "declaration": "export interface AgentTeamGetAttachmentResult {\n readonly name: string;\n readonly mediaType: string;\n readonly byteSize: number;\n readonly bytesBase64: string;\n}"
2617
2913
  },
2914
+ {
2915
+ "name": "AgentTeamGetHumanAvatarRequest",
2916
+ "declaration": "export interface AgentTeamGetHumanAvatarRequest {\n readonly avatarRef: string;\n}"
2917
+ },
2918
+ {
2919
+ "name": "AgentTeamGetHumanAvatarResult",
2920
+ "declaration": "export interface AgentTeamGetHumanAvatarResult {\n readonly name: string;\n readonly mediaType: string;\n readonly byteSize: number;\n readonly bytesBase64: string;\n}"
2921
+ },
2922
+ {
2923
+ "name": "AgentTeamHumanProfileRequest",
2924
+ "declaration": "export interface AgentTeamHumanProfileRequest {\n}"
2925
+ },
2926
+ {
2927
+ "name": "AgentTeamHumanProfileResult",
2928
+ "declaration": "export interface AgentTeamHumanProfileResult {\n readonly name: string;\n readonly avatarRef?: string | undefined;\n readonly version: string;\n readonly repoUrl: string;\n readonly updateAvailable: boolean;\n readonly latestVersion?: string | undefined;\n}"
2929
+ },
2618
2930
  {
2619
2931
  "name": "AgentTeamInbox",
2620
- "declaration": "export interface AgentTeamInbox {\n readonly items: readonly AgentTeamInboxItem[];\n readonly recent: readonly AgentTeamInboxItem[];\n readonly totalUnreadCount: number;\n readonly totalDirectCount: number;\n}"
2932
+ "declaration": "export interface AgentTeamInbox {\n readonly humanMemberId: AgentTeamMemberId;\n readonly items: readonly AgentTeamInboxItem[];\n readonly recent: readonly AgentTeamInboxItem[];\n readonly totalUnreadCount: number;\n readonly totalDirectCount: number;\n}"
2621
2933
  },
2622
2934
  {
2623
2935
  "name": "AgentTeamInboxActor",
@@ -2735,6 +3047,14 @@ export const TYPERT = {
2735
3047
  "name": "AgentTeamPutAttachmentResult",
2736
3048
  "declaration": "export interface AgentTeamPutAttachmentResult {\n readonly attachmentId: AgentTeamAttachmentId;\n readonly path: string;\n readonly name: string;\n readonly byteSize: number;\n readonly mediaType: string;\n}"
2737
3049
  },
3050
+ {
3051
+ "name": "AgentTeamPutHumanAvatarRequest",
3052
+ "declaration": "export interface AgentTeamPutHumanAvatarRequest {\n readonly name: string;\n readonly mediaType?: string | undefined;\n readonly bytesBase64: string;\n}"
3053
+ },
3054
+ {
3055
+ "name": "AgentTeamPutHumanAvatarResult",
3056
+ "declaration": "export interface AgentTeamPutHumanAvatarResult {\n readonly avatarRef: string;\n readonly path: string;\n readonly name: string;\n readonly byteSize: number;\n readonly mediaType: string;\n}"
3057
+ },
2738
3058
  {
2739
3059
  "name": "AgentTeamRecoverMemberRequest",
2740
3060
  "declaration": "export interface AgentTeamRecoverMemberRequest {\n readonly requestId: AgentTeamRequestId;\n readonly workspaceId: WorkspaceId;\n readonly memberId: AgentTeamMemberId;\n}"
@@ -2751,6 +3071,14 @@ export const TYPERT = {
2751
3071
  "name": "AgentTeamRemoveChannelMemberResult",
2752
3072
  "declaration": "export interface AgentTeamRemoveChannelMemberResult {\n readonly receipt: AgentTeamOperationReceipt;\n readonly channelRef: AgentTeamChannelRef;\n readonly memberId: AgentTeamMemberId;\n readonly releasedClaims: readonly AgentTeamClaim[];\n readonly removedAttention: readonly AgentTeamThreadAttentionKey[];\n}"
2753
3073
  },
3074
+ {
3075
+ "name": "AgentTeamRemoveHumanAvatarRequest",
3076
+ "declaration": "export interface AgentTeamRemoveHumanAvatarRequest {\n readonly avatarRef: string;\n}"
3077
+ },
3078
+ {
3079
+ "name": "AgentTeamRemoveHumanAvatarResult",
3080
+ "declaration": "export interface AgentTeamRemoveHumanAvatarResult {\n readonly removed: boolean;\n}"
3081
+ },
2754
3082
  {
2755
3083
  "name": "AgentTeamRemoveMemberRequest",
2756
3084
  "declaration": "export interface AgentTeamRemoveMemberRequest {\n readonly requestId: AgentTeamRequestId;\n readonly memberId: AgentTeamMemberId;\n}"
@@ -2779,6 +3107,10 @@ export const TYPERT = {
2779
3107
  "name": "AgentTeamResolvedTaskRef",
2780
3108
  "declaration": "export interface AgentTeamResolvedTaskRef {\n readonly taskRef: AgentTeamTaskRef;\n readonly channelRef: AgentTeamChannelRef;\n readonly threadRef: AgentTeamThreadRef;\n readonly taskNumber: number;\n}"
2781
3109
  },
3110
+ {
3111
+ "name": "AgentTeamResolvedThreadRef",
3112
+ "declaration": "export interface AgentTeamResolvedThreadRef {\n readonly threadRef: AgentTeamThreadRef;\n readonly channelRef: AgentTeamChannelRef;\n readonly taskRef?: AgentTeamTaskRef;\n readonly taskNumber?: number;\n readonly title: string;\n}"
3113
+ },
2782
3114
  {
2783
3115
  "name": "AgentTeamResolveTaskRefsRequest",
2784
3116
  "declaration": "export interface AgentTeamResolveTaskRefsRequest {\n readonly workspaceId: WorkspaceId;\n readonly taskRefs: readonly AgentTeamTaskRef[];\n}"
@@ -2787,6 +3119,14 @@ export const TYPERT = {
2787
3119
  "name": "AgentTeamResolveTaskRefsResult",
2788
3120
  "declaration": "export interface AgentTeamResolveTaskRefsResult {\n readonly resolved: readonly AgentTeamResolvedTaskRef[];\n}"
2789
3121
  },
3122
+ {
3123
+ "name": "AgentTeamResolveThreadRefsRequest",
3124
+ "declaration": "export interface AgentTeamResolveThreadRefsRequest {\n readonly workspaceId: WorkspaceId;\n readonly threadRefs: readonly AgentTeamThreadRef[];\n}"
3125
+ },
3126
+ {
3127
+ "name": "AgentTeamResolveThreadRefsResult",
3128
+ "declaration": "export interface AgentTeamResolveThreadRefsResult {\n readonly resolved: readonly AgentTeamResolvedThreadRef[];\n}"
3129
+ },
2790
3130
  {
2791
3131
  "name": "AgentTeamRolloverSessionRequest",
2792
3132
  "declaration": "export interface AgentTeamRolloverSessionRequest {\n readonly requestId: AgentTeamRequestId;\n readonly workspaceId: WorkspaceId;\n readonly memberId: AgentTeamMemberId;\n readonly previousSessionId: AgentTeamMemberSessionId;\n readonly newSessionId: AgentTeamMemberSessionId;\n readonly handoffEventSeq: AgentTeamMemberSessionSeq;\n readonly trigger: 'model' | 'pressure';\n readonly sourceSessionId?: AgentTeamMemberSessionId;\n readonly sourceThroughSeq?: AgentTeamMemberSessionLogOffset;\n readonly checkpointRef?: AgentTeamContextCheckpointRef;\n}"
@@ -2803,6 +3143,14 @@ export const TYPERT = {
2803
3143
  "name": "AgentTeamSendMessageResult",
2804
3144
  "declaration": "export type AgentTeamSendMessageResult = AgentTeamSendMessageCommittedResult | AgentTeamConfirmationRequired | AgentTeamMemberNotFollowing;"
2805
3145
  },
3146
+ {
3147
+ "name": "AgentTeamSetHumanProfileRequest",
3148
+ "declaration": "export interface AgentTeamSetHumanProfileRequest {\n readonly name?: string | undefined;\n readonly avatarRef?: string | null | undefined;\n}"
3149
+ },
3150
+ {
3151
+ "name": "AgentTeamSetHumanProfileResult",
3152
+ "declaration": "export interface AgentTeamSetHumanProfileResult {\n readonly name: string;\n readonly avatarRef?: string | undefined;\n}"
3153
+ },
2806
3154
  {
2807
3155
  "name": "AgentTeamSetMemberStateRequest",
2808
3156
  "declaration": "export interface AgentTeamSetMemberStateRequest {\n readonly requestId: AgentTeamRequestId;\n readonly memberId: AgentTeamMemberId;\n}"
@@ -2987,6 +3335,10 @@ export const TYPERT = {
2987
3335
  "name": "CancelOptions",
2988
3336
  "declaration": "export interface CancelOptions {\n keepInbox?: boolean | undefined;\n}"
2989
3337
  },
3338
+ {
3339
+ "name": "CarriedCandidate",
3340
+ "declaration": "export interface CarriedCandidate {\n readonly messageId: string;\n readonly surfacedTurn: number;\n readonly consumed: boolean;\n}"
3341
+ },
2990
3342
  {
2991
3343
  "name": "CommandId",
2992
3344
  "declaration": "export type CommandId = Branded<'CommandId'>;"
@@ -3011,18 +3363,70 @@ export const TYPERT = {
3011
3363
  "name": "ContentBlockType",
3012
3364
  "declaration": "export type ContentBlockType = keyof ContentBlockMap;"
3013
3365
  },
3366
+ {
3367
+ "name": "ContextCheckpointEntry",
3368
+ "declaration": "export interface ContextCheckpointEntry {\n readonly checkpointRef: string;\n readonly name: string;\n readonly resultSeq: number;\n readonly turn: number;\n readonly turnEndSeq: number;\n}"
3369
+ },
3370
+ {
3371
+ "name": "ContextContinuityHost",
3372
+ "declaration": "export interface ContextContinuityHost<SubjectId> extends SubjectResolver<SubjectId> {\n projectionForSubject(id: SubjectId, sessionId: SessionId): ContextProjectionState | undefined;\n executeTransition(id: SubjectId, plan: TransitionPlan): Promise<void>;\n rolloverIdentity(previousSessionId: SessionId, toolCallId: string): RolloverIdentity;\n isEphemeralNotice(message: UserMessage): boolean;\n log(message: string): void;\n}"
3373
+ },
3014
3374
  {
3015
3375
  "name": "ContextFormed",
3016
3376
  "declaration": "export type ContextFormed = { readonly form?: never; } | { readonly form: 'instructions'; } | { readonly form: 'catalog'; } | { readonly form: 'snapshot'; readonly sections: readonly ContextSnapshotSection[]; } | { readonly form: 'notice'; readonly summary: string; } | { readonly form: 'relay'; } | { readonly form: 'recall'; };"
3017
3377
  },
3378
+ {
3379
+ "name": "ContextHandoff",
3380
+ "declaration": "export interface ContextHandoff {\n readonly previousSessionId: string;\n readonly newSessionId: string;\n readonly trigger: RolloverTrigger;\n readonly handoffEventSeq: number;\n readonly checkpointRef?: string;\n readonly relatedFiles?: readonly string[];\n readonly sections: readonly ContextSnapshotSection[];\n}"
3381
+ },
3382
+ {
3383
+ "name": "ContextMessageCodec",
3384
+ "declaration": "export class ContextMessageCodec {\n get pluginId(): string;\n createHandoffMessage(input: HandoffInput): UserMessage;\n createCheckpointContinuationMessage(checkpointRef: string): UserMessage;\n handoffOf(message: UserMessage): ContextHandoff | undefined;\n continuationCheckpointRefOf(message: UserMessage): string | undefined;\n isHandoffMessage(message: UserMessage): boolean;\n isCheckpointContinuationMessage(message: UserMessage, checkpointRef?: string): boolean;\n isContextSource(message: UserMessage): boolean;\n}"
3385
+ },
3386
+ {
3387
+ "name": "ContextProjectionConfig",
3388
+ "declaration": "export interface ContextProjectionConfig {\n readonly codec: ContextMessageCodec;\n readonly host: ContextProjectionHost;\n readonly rolloverToolNames?: readonly string[];\n readonly checkpointToolName?: string;\n}"
3389
+ },
3390
+ {
3391
+ "name": "ContextProjectionHost",
3392
+ "declaration": "export interface ContextProjectionHost extends Pick<ContextContinuityHost<never>, 'isEphemeralNotice'> {\n checkpointRefFor(sessionId: string, toolCallId: string): string;\n boundaryRefFor(sessionId: string, seq: number): string;\n tracksCall?(name: string, raw: string): boolean;\n domainBoundaryOf?(input: DomainBoundaryInput): DomainBoundaryContribution | undefined;\n}"
3393
+ },
3394
+ {
3395
+ "name": "ContextProjectionState",
3396
+ "declaration": "export interface ContextProjectionState {\n readonly sessionId: string;\n readonly inheritedEventCount: number;\n readonly checkpoints: readonly ContextCheckpointEntry[];\n readonly pending: PendingRolloverIntent | null;\n readonly continuations: readonly ContinuationDeliveryState[];\n readonly carriedCandidates: readonly CarriedCandidate[];\n readonly lastTurn: number;\n readonly openCalls: readonly { readonly callId: string; readonly name: string; readonly arguments: string; }[];\n readonly boundaries: readonly DomainBoundary[];\n readonly seenTopics: readonly string[];\n readonly lastTurnEndSeq: number;\n}"
3397
+ },
3018
3398
  {
3019
3399
  "name": "ContextSnapshotSection",
3020
3400
  "declaration": "export interface ContextSnapshotSection {\n readonly name: string;\n readonly text: string;\n}"
3021
3401
  },
3402
+ {
3403
+ "name": "ContextSubject",
3404
+ "declaration": "export interface ContextSubject<SubjectId> {\n readonly id: SubjectId;\n readonly sessionId: SessionId;\n}"
3405
+ },
3406
+ {
3407
+ "name": "ContextTimelineSource",
3408
+ "declaration": "export interface ContextTimelineSource {\n readonly sessionId: SessionId;\n readonly header: SessionHeader;\n readonly inheritedEventCount: SessionLogOffset;\n readonly events: readonly SessionEvent[];\n}"
3409
+ },
3410
+ {
3411
+ "name": "ContinuationDeliveryState",
3412
+ "declaration": "export interface ContinuationDeliveryState {\n readonly checkpointRef: string;\n readonly deliveredSeq: number;\n}"
3413
+ },
3022
3414
  {
3023
3415
  "name": "DeveloperMessage",
3024
3416
  "declaration": "export interface DeveloperMessage extends MessageBase {\n readonly role: 'developer';\n}"
3025
3417
  },
3418
+ {
3419
+ "name": "DomainBoundary",
3420
+ "declaration": "export interface DomainBoundary {\n readonly kind: string;\n readonly label: string;\n readonly resultSeq: number;\n readonly turn: number;\n readonly turnEndSeq: number;\n readonly attributions: readonly string[];\n}"
3421
+ },
3422
+ {
3423
+ "name": "DomainBoundaryContribution",
3424
+ "declaration": "export interface DomainBoundaryContribution {\n readonly kind: string;\n readonly label: string;\n readonly topics: readonly string[];\n}"
3425
+ },
3426
+ {
3427
+ "name": "DomainBoundaryInput",
3428
+ "declaration": "export type DomainBoundaryInput = { readonly sessionId: string; readonly seq: number; readonly turn: number; readonly seenTopics: readonly string[]; } & ({ readonly source: 'user-message'; readonly message: UserMessage; } | { readonly source: 'tool-result'; readonly name: string; readonly arguments: string; readonly meta: unknown; });"
3429
+ },
3026
3430
  {
3027
3431
  "name": "EpochHeader",
3028
3432
  "declaration": "export interface EpochHeader {\n config: LlmCallConfig;\n adapterDefaults?: LlmCallConfigAdapterDefaults;\n tools?: ToolSchema[];\n system?: never;\n}"
@@ -3043,6 +3447,10 @@ export const TYPERT = {
3043
3447
  "name": "FinishReasonMap",
3044
3448
  "declaration": "export interface FinishReasonMap {\n stop: { kind: 'stop'; };\n 'tool-calls': { kind: 'tool-calls'; };\n 'max-tokens': { kind: 'max-tokens'; };\n aborted: { kind: 'aborted'; failure: LlmFailure; };\n error: { kind: 'error'; failure: LlmFailure; };\n}"
3045
3449
  },
3450
+ {
3451
+ "name": "HandoffInput",
3452
+ "declaration": "export interface HandoffInput {\n readonly handoff: string;\n readonly previousSessionId: string;\n readonly newSessionId: string;\n readonly trigger: RolloverTrigger;\n readonly handoffEventSeq: number;\n readonly checkpointRef?: string;\n readonly relatedFiles?: readonly { readonly path: string; readonly reason?: string; }[];\n}"
3453
+ },
3046
3454
  {
3047
3455
  "name": "ImageAttachmentRef",
3048
3456
  "declaration": "export interface ImageAttachmentRef {\n attachmentId: AttachmentId;\n mediaType: ImageMediaType;\n bytes: number;\n width: number;\n height: number;\n name?: string;\n originalDimensions?: { width: number; height: number; };\n}"
@@ -3055,6 +3463,10 @@ export const TYPERT = {
3055
3463
  "name": "ImageMediaType",
3056
3464
  "declaration": "export type ImageMediaType = 'image/png' | 'image/jpeg' | 'image/webp' | 'image/gif';"
3057
3465
  },
3466
+ {
3467
+ "name": "ImageOffloadTarget",
3468
+ "declaration": "export interface ImageOffloadTarget {\n seq: SessionSeq;\n imageIndexes: number[];\n}"
3469
+ },
3058
3470
  {
3059
3471
  "name": "Inbox",
3060
3472
  "declaration": "export interface Inbox {\n readonly nextTurn: readonly UserMessage[];\n readonly nextStep: readonly UserMessage[];\n clear(): void;\n append(target: InboxTarget, message: UserMessage): void;\n prepend(target: InboxTarget, message: UserMessage): void;\n replace(messageId: MessageId, newMessage: UserMessage): boolean;\n remove(messageId: MessageId): boolean;\n splice(target: InboxTarget, start: number, deleteCount: number, inserted: UserMessage[]): UserMessage[];\n}"
@@ -3101,12 +3513,16 @@ export const TYPERT = {
3101
3513
  },
3102
3514
  {
3103
3515
  "name": "MessageSourceMap",
3104
- "declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n [AGENT_TEAM_PLUGIN_ID]: { kind: typeof AGENT_TEAM_PLUGIN_ID; } & ContextFormed;\n [AGENT_TEAM_V3_RENAMED_KIND]: { kind: typeof AGENT_TEAM_V3_RENAMED_KIND; } & ContextFormed;\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'tool-registry': { kind: 'tool-registry'; };\n 'compact-checkpoint': CompactionCheckpointSource;\n 'skill-invocation': SkillInvocationSource;\n 'wowyuarm-agent-team-member-context': { kind: 'wowyuarm-agent-team-member-context'; } & ContextFormed;\n 'plugin:wowyuarm-agent-team-member-context': { kind: 'plugin:wowyuarm-agent-team-member-context'; } & ContextFormed;\n 'wowyuarm-agent-team-member-time-context': { kind: 'wowyuarm-agent-team-member-time-context'; } & ContextFormed;\n 'plugin:wowyuarm-agent-team-member-time-context': { kind: 'plugin:wowyuarm-agent-team-member-time-context'; } & ContextFormed;\n}"
3516
+ "declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'tool-registry': { kind: 'tool-registry'; };\n [AGENT_TEAM_PLUGIN_ID]: { kind: typeof AGENT_TEAM_PLUGIN_ID; } & ContextFormed;\n [AGENT_TEAM_V3_RENAMED_KIND]: { kind: typeof AGENT_TEAM_V3_RENAMED_KIND; } & ContextFormed;\n 'compact-checkpoint': CompactionCheckpointSource;\n 'skill-invocation': SkillInvocationSource;\n 'wowyuarm-agent-team-member-context': { kind: 'wowyuarm-agent-team-member-context'; } & ContextFormed;\n 'plugin:wowyuarm-agent-team-member-context': { kind: 'plugin:wowyuarm-agent-team-member-context'; } & ContextFormed;\n 'wowyuarm-agent-team-member-time-context': { kind: 'wowyuarm-agent-team-member-time-context'; } & ContextFormed;\n 'plugin:wowyuarm-agent-team-member-time-context': { kind: 'plugin:wowyuarm-agent-team-member-time-context'; } & ContextFormed;\n}"
3105
3517
  },
3106
3518
  {
3107
3519
  "name": "ModelMessageSource",
3108
3520
  "declaration": "export interface ModelMessageSource extends AssistantProviderMetadata {\n kind: 'model';\n}"
3109
3521
  },
3522
+ {
3523
+ "name": "PendingRolloverIntent",
3524
+ "declaration": "export interface PendingRolloverIntent {\n readonly handoff: string;\n readonly checkpointRef?: string | undefined;\n readonly relatedFiles: readonly { readonly path: string; readonly reason: string; }[];\n readonly toolCallId: string;\n readonly resultSeq: number;\n readonly turn: number;\n readonly turnEndSeq: number;\n}"
3525
+ },
3110
3526
  {
3111
3527
  "name": "ProviderRequestId",
3112
3528
  "declaration": "export type ProviderRequestId = Branded<'ProviderRequestId'>;"
@@ -3127,6 +3543,10 @@ export const TYPERT = {
3127
3543
  "name": "ReasoningEffortId",
3128
3544
  "declaration": "export type ReasoningEffortId = Branded<'ReasoningEffortId'>;"
3129
3545
  },
3546
+ {
3547
+ "name": "RelatedFile",
3548
+ "declaration": "export interface RelatedFile {\n readonly path: string;\n readonly reason: string;\n}"
3549
+ },
3130
3550
  {
3131
3551
  "name": "ReplayEnvelope",
3132
3552
  "declaration": "export interface ReplayEnvelope {\n response: unknown;\n blocks?: readonly unknown[];\n}"
@@ -3139,6 +3559,14 @@ export const TYPERT = {
3139
3559
  "name": "RequestHeaderReason",
3140
3560
  "declaration": "export type RequestHeaderReason = 'initial' | 'resume' | 'change' | 'series';"
3141
3561
  },
3562
+ {
3563
+ "name": "RolloverIdentity",
3564
+ "declaration": "export interface RolloverIdentity {\n readonly newSessionId: SessionId;\n readonly requestId: string;\n}"
3565
+ },
3566
+ {
3567
+ "name": "RolloverTrigger",
3568
+ "declaration": "export type RolloverTrigger = 'model' | 'pressure';"
3569
+ },
3142
3570
  {
3143
3571
  "name": "SandboxMode",
3144
3572
  "declaration": "export type SandboxMode = 'read-only' | 'workspace-write' | 'danger-full-access';"
@@ -3153,7 +3581,7 @@ export const TYPERT = {
3153
3581
  },
3154
3582
  {
3155
3583
  "name": "SessionEventMap",
3156
- "declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: ToolCallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'tool/ptc-dispatch-start': PtcDispatchStartEventData;\n 'tool/ptc-dispatch': PtcDispatchEventData;\n 'agent-preset/selected': { agentPreset: string; };\n 'compaction/start': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; };\n 'compaction/summary': { compactionId: CompactionId; sourceCommandId?: CommandId; summary: ContentBlock[]; shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; provider: string; model: string; maxTokens?: number; usage?: TokenUsage; } & ({ rawOutput: ContentBlock[]; llmStreamCall: true; } | { rawOutput?: ContentBlock[]; llmStreamCall?: never; });\n 'compaction/end': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; error?: string; };\n 'compaction/prune': { shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; };\n}"
3584
+ "declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: ToolCallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'tool/ptc-dispatch-start': PtcDispatchStartEventData;\n 'tool/ptc-dispatch': PtcDispatchEventData;\n 'image/offload': { targets: ImageOffloadTarget[]; };\n 'session/title': SessionTitleEventData;\n 'todo/write': { todos: TodoItem[]; };\n 'agent-preset/selected': { agentPreset: string; };\n 'compaction/start': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; };\n 'compaction/summary': { compactionId: CompactionId; sourceCommandId?: CommandId; summary: ContentBlock[]; shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; provider: string; model: string; maxTokens?: number; usage?: TokenUsage; } & ({ rawOutput: ContentBlock[]; llmStreamCall: true; } | { rawOutput?: ContentBlock[]; llmStreamCall?: never; });\n 'compaction/end': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; error?: string; };\n 'compaction/prune': { shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; };\n}"
3157
3585
  },
3158
3586
  {
3159
3587
  "name": "SessionEventType",
@@ -3179,6 +3607,22 @@ export const TYPERT = {
3179
3607
  "name": "SessionSurface",
3180
3608
  "declaration": "export interface SessionSurface {\n readonly nodes: readonly SessionSeq[];\n readonly replaceGeneration: number;\n readonly contentGeneration: number;\n}"
3181
3609
  },
3610
+ {
3611
+ "name": "SessionTitleEventData",
3612
+ "declaration": "export interface SessionTitleEventData {\n readonly title: string;\n readonly messageSeqs: SessionSeq[];\n readonly source: SessionTitleSource;\n}"
3613
+ },
3614
+ {
3615
+ "name": "SessionTitleModelIdentity",
3616
+ "declaration": "export interface SessionTitleModelIdentity {\n readonly provider: string;\n readonly model: string;\n}"
3617
+ },
3618
+ {
3619
+ "name": "SessionTitleProviderId",
3620
+ "declaration": "export type SessionTitleProviderId = Branded<'SessionTitleProviderId'>;"
3621
+ },
3622
+ {
3623
+ "name": "SessionTitleSource",
3624
+ "declaration": "export type SessionTitleSource = { readonly kind: 'fallback'; } | { readonly kind: 'provider'; readonly provider: SessionTitleProviderId; readonly model?: SessionTitleModelIdentity; } | { readonly kind: 'user'; };"
3625
+ },
3182
3626
  {
3183
3627
  "name": "SkillInvocationSource",
3184
3628
  "declaration": "export interface SkillInvocationSource {\n readonly kind: 'skill-invocation';\n readonly name: string;\n readonly form: 'instructions';\n}"
@@ -3187,6 +3631,10 @@ export const TYPERT = {
3187
3631
  "name": "StreamChunk",
3188
3632
  "declaration": "export type StreamChunk = { type: 'block-start'; index: number; blockType: ContentBlockType; } | { type: 'text-delta'; index: number; text: string; } | { type: 'reasoning-delta'; index: number; text: string; } | { type: 'tool-call-delta'; index: number; id: ToolCallId; name?: string; argumentsDelta: string; } | { type: 'block-end'; index: number; block: ContentBlock; } | { type: 'usage'; usage: TokenUsage; } | { type: 'finish'; reason: FinishReason; replayState?: ReplayEnvelope; };"
3189
3633
  },
3634
+ {
3635
+ "name": "SubjectResolver",
3636
+ "declaration": "export interface SubjectResolver<SubjectId> {\n agentForSubject(id: SubjectId): Agent | undefined;\n subjectForAgent(agent: Agent): ContextSubject<SubjectId> | undefined;\n}"
3637
+ },
3190
3638
  {
3191
3639
  "name": "SurfaceEventType",
3192
3640
  "declaration": "export type SurfaceEventType = 'system/message' | 'developer/message' | 'user/message' | 'assistant/message' | 'tool/result';"
@@ -3215,6 +3663,10 @@ export const TYPERT = {
3215
3663
  "name": "TextBlock",
3216
3664
  "declaration": "export interface TextBlock {\n type: 'text';\n text: string;\n}"
3217
3665
  },
3666
+ {
3667
+ "name": "TodoItem",
3668
+ "declaration": "export interface TodoItem {\n content: string;\n status: 'pending' | 'in_progress' | 'completed';\n}"
3669
+ },
3218
3670
  {
3219
3671
  "name": "TokenUsage",
3220
3672
  "declaration": "export interface TokenUsage {\n inputTokens: number;\n outputTokens: number;\n totalTokens?: number;\n cacheReadTokens?: number;\n cacheWriteTokens?: number;\n reasoningTokens?: number;\n}"
@@ -3247,6 +3699,10 @@ export const TYPERT = {
3247
3699
  "name": "ToolSchema",
3248
3700
  "declaration": "export interface ToolSchema {\n deferLoading?: true;\n name: string;\n description: string;\n parameters: Record<string, unknown>;\n}"
3249
3701
  },
3702
+ {
3703
+ "name": "TransitionPlan",
3704
+ "declaration": "export interface TransitionPlan {\n readonly previousSessionId: SessionId;\n readonly newSessionId: SessionId;\n readonly handoff: string;\n readonly handoffEventSeq: number;\n readonly trigger: RolloverTrigger;\n readonly relatedFiles: readonly RelatedFile[];\n readonly checkpointRef?: string | undefined;\n readonly requestId: string;\n readonly carriedInput: readonly UserMessage[];\n}"
3705
+ },
3250
3706
  {
3251
3707
  "name": "TurnEndCancelCause",
3252
3708
  "declaration": "export type TurnEndCancelCause = AgentCancelCause | { readonly kind: 'legacy'; };"