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

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 (127) hide show
  1. package/README.md +5 -3
  2. package/README.zh.md +5 -3
  3. package/cordis.patch.yml +2 -185
  4. package/package.json +52 -46
  5. package/packages/agent-team/README.md +1 -1
  6. package/packages/agent-team/README.zh.md +1 -1
  7. package/packages/agent-team/core-skills/member-memory-manager/SKILL.md +30 -0
  8. package/packages/agent-team/lib/context-continuity-host.js +91 -0
  9. package/packages/agent-team/lib/context-projection.js +266 -489
  10. package/packages/agent-team/lib/context-source.js +17 -106
  11. package/packages/agent-team/lib/human-avatar.js +61 -0
  12. package/packages/agent-team/lib/human-profile.js +46 -0
  13. package/packages/agent-team/lib/human-update-check.js +119 -0
  14. package/packages/agent-team/lib/index.js +408 -264
  15. package/packages/agent-team/lib/ledger.js +120 -15
  16. package/packages/agent-team/lib/member-context.js +9 -8
  17. package/packages/agent-team/lib/member-runtime.js +1 -1
  18. package/packages/agent-team/lib/member-time-context.js +2 -5
  19. package/packages/agent-team/lib/preset-roster.js +15 -0
  20. package/packages/agent-team/lib/pressure-policy.js +9 -6
  21. package/packages/agent-team/lib/session-remediation.js +493 -0
  22. package/packages/agent-team/lib/stored-session-reader.js +2 -1
  23. package/packages/agent-team/lib/typert.host.js +605 -291
  24. package/packages/agent-team/lib/typert.remote-client.d.ts +15 -6
  25. package/packages/agent-team/lib/typert.remote-client.d.ts.map +1 -1
  26. package/packages/agent-team/lib/typert.remote-client.js +367 -244
  27. package/packages/agent-team/lib/types/context-continuity-host.d.ts +84 -0
  28. package/packages/agent-team/lib/types/context-continuity-host.d.ts.map +1 -0
  29. package/packages/agent-team/lib/types/context-projection.d.ts +130 -185
  30. package/packages/agent-team/lib/types/context-projection.d.ts.map +1 -1
  31. package/packages/agent-team/lib/types/context-source.d.ts +17 -81
  32. package/packages/agent-team/lib/types/context-source.d.ts.map +1 -1
  33. package/packages/agent-team/lib/types/human-avatar.d.ts +29 -0
  34. package/packages/agent-team/lib/types/human-avatar.d.ts.map +1 -0
  35. package/packages/agent-team/lib/types/human-profile.d.ts +44 -0
  36. package/packages/agent-team/lib/types/human-profile.d.ts.map +1 -0
  37. package/packages/agent-team/lib/types/human-update-check.d.ts +73 -0
  38. package/packages/agent-team/lib/types/human-update-check.d.ts.map +1 -0
  39. package/packages/agent-team/lib/types/index.d.ts +112 -38
  40. package/packages/agent-team/lib/types/index.d.ts.map +1 -1
  41. package/packages/agent-team/lib/types/ledger.d.ts +31 -2
  42. package/packages/agent-team/lib/types/ledger.d.ts.map +1 -1
  43. package/packages/agent-team/lib/types/member-context.d.ts +0 -14
  44. package/packages/agent-team/lib/types/member-context.d.ts.map +1 -1
  45. package/packages/agent-team/lib/types/member-time-context.d.ts +0 -15
  46. package/packages/agent-team/lib/types/member-time-context.d.ts.map +1 -1
  47. package/packages/agent-team/lib/types/preset-roster.d.ts +5 -0
  48. package/packages/agent-team/lib/types/preset-roster.d.ts.map +1 -0
  49. package/packages/agent-team/lib/types/pressure-policy.d.ts +6 -0
  50. package/packages/agent-team/lib/types/pressure-policy.d.ts.map +1 -1
  51. package/packages/agent-team/lib/types/session-remediation.d.ts +172 -0
  52. package/packages/agent-team/lib/types/session-remediation.d.ts.map +1 -0
  53. package/packages/agent-team/lib/types/stored-session-reader.d.ts +2 -1
  54. package/packages/agent-team/lib/types/stored-session-reader.d.ts.map +1 -1
  55. package/packages/agent-team/lib/types/types/entities.d.ts +20 -3
  56. package/packages/agent-team/lib/types/types/entities.d.ts.map +1 -1
  57. package/packages/agent-team/lib/types/types/requests-results.d.ts +63 -0
  58. package/packages/agent-team/lib/types/types/requests-results.d.ts.map +1 -1
  59. package/packages/agent-team/preset/team-member/agent.cordis.yml +166 -0
  60. package/packages/client-agent-team/lib/client.js +1667 -516
  61. package/packages/client-agent-team/lib/client.js.map +1 -1
  62. package/packages/client-agent-team/lib/types/client/HumanSettingsSection.d.ts +15 -0
  63. package/packages/client-agent-team/lib/types/client/HumanSettingsSection.d.ts.map +1 -0
  64. package/packages/client-agent-team/lib/types/client/HumanSettingsSection.js +115 -0
  65. package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.d.ts.map +1 -1
  66. package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.js +12 -8
  67. package/packages/client-agent-team/lib/types/client/TeamAvatarStack.d.ts +22 -1
  68. package/packages/client-agent-team/lib/types/client/TeamAvatarStack.d.ts.map +1 -1
  69. package/packages/client-agent-team/lib/types/client/TeamAvatarStack.js +25 -2
  70. package/packages/client-agent-team/lib/types/client/TeamChannelPage.d.ts +6 -1
  71. package/packages/client-agent-team/lib/types/client/TeamChannelPage.d.ts.map +1 -1
  72. package/packages/client-agent-team/lib/types/client/TeamChannelPage.js +69 -31
  73. package/packages/client-agent-team/lib/types/client/TeamChannelsPanel.js +4 -4
  74. package/packages/client-agent-team/lib/types/client/TeamComposer.js +3 -3
  75. package/packages/client-agent-team/lib/types/client/TeamConversation.d.ts +1 -1
  76. package/packages/client-agent-team/lib/types/client/TeamConversation.d.ts.map +1 -1
  77. package/packages/client-agent-team/lib/types/client/TeamConversation.js +12 -5
  78. package/packages/client-agent-team/lib/types/client/TeamFooterAction.js +2 -2
  79. package/packages/client-agent-team/lib/types/client/TeamInboxPage.d.ts +4 -1
  80. package/packages/client-agent-team/lib/types/client/TeamInboxPage.d.ts.map +1 -1
  81. package/packages/client-agent-team/lib/types/client/TeamInboxPage.js +22 -7
  82. package/packages/client-agent-team/lib/types/client/TeamMemberEditor.d.ts +11 -1
  83. package/packages/client-agent-team/lib/types/client/TeamMemberEditor.d.ts.map +1 -1
  84. package/packages/client-agent-team/lib/types/client/TeamMemberEditor.js +69 -8
  85. package/packages/client-agent-team/lib/types/client/TeamMembersAction.js +2 -2
  86. package/packages/client-agent-team/lib/types/client/TeamMessage.d.ts +18 -3
  87. package/packages/client-agent-team/lib/types/client/TeamMessage.d.ts.map +1 -1
  88. package/packages/client-agent-team/lib/types/client/TeamMessage.js +213 -67
  89. package/packages/client-agent-team/lib/types/client/TeamRowMenu.d.ts.map +1 -1
  90. package/packages/client-agent-team/lib/types/client/TeamRowMenu.js +2 -2
  91. package/packages/client-agent-team/lib/types/client/TeamSidebarSection.js +2 -2
  92. package/packages/client-agent-team/lib/types/client/TeamThreadPage.d.ts +5 -0
  93. package/packages/client-agent-team/lib/types/client/TeamThreadPage.d.ts.map +1 -1
  94. package/packages/client-agent-team/lib/types/client/TeamThreadPage.js +55 -29
  95. package/packages/client-agent-team/lib/types/client/TeamWorkspaceBrowser.js +3 -3
  96. package/packages/client-agent-team/lib/types/client/TeamWorkspaceSelector.js +2 -2
  97. package/packages/client-agent-team/lib/types/client/avatar-image.d.ts +21 -0
  98. package/packages/client-agent-team/lib/types/client/avatar-image.d.ts.map +1 -0
  99. package/packages/client-agent-team/lib/types/client/avatar-image.js +9 -0
  100. package/packages/client-agent-team/lib/types/client/human-identity.d.ts +94 -0
  101. package/packages/client-agent-team/lib/types/client/human-identity.d.ts.map +1 -0
  102. package/packages/client-agent-team/lib/types/client/human-identity.js +117 -0
  103. package/packages/client-agent-team/lib/types/client/index.d.ts.map +1 -1
  104. package/packages/client-agent-team/lib/types/client/index.js +112 -41
  105. package/packages/client-agent-team/lib/types/client/locales.d.ts +72 -2
  106. package/packages/client-agent-team/lib/types/client/locales.d.ts.map +1 -1
  107. package/packages/client-agent-team/lib/types/client/locales.js +78 -2
  108. package/packages/client-agent-team/lib/types/client/multi-menu-field.js +2 -2
  109. package/packages/client-agent-team/lib/types/client/refs.d.ts +71 -0
  110. package/packages/client-agent-team/lib/types/client/refs.d.ts.map +1 -0
  111. package/packages/client-agent-team/lib/types/client/refs.js +181 -0
  112. package/packages/client-agent-team/lib/types/client/slots.d.ts +8 -2
  113. package/packages/client-agent-team/lib/types/client/slots.d.ts.map +1 -1
  114. package/packages/client-agent-team/lib/types/client/team-formatters.d.ts +57 -9
  115. package/packages/client-agent-team/lib/types/client/team-formatters.d.ts.map +1 -1
  116. package/packages/client-agent-team/lib/types/client/team-formatters.js +85 -17
  117. package/packages/tool-agent-team/README.md +1 -1
  118. package/packages/tool-agent-team/README.zh.md +1 -1
  119. package/packages/tool-agent-team/lib/context-tools.js +20 -6
  120. package/packages/tool-agent-team/lib/index.js +2 -2
  121. package/packages/tool-agent-team/lib/types/context-tools.d.ts.map +1 -1
  122. package/packages/agent-team/lib/context-management.js +0 -371
  123. package/packages/agent-team/lib/types/context-management.d.ts +0 -154
  124. package/packages/agent-team/lib/types/context-management.d.ts.map +0 -1
  125. package/packages/client-agent-team/lib/types/client/task-refs.d.ts +0 -31
  126. package/packages/client-agent-team/lib/types/client/task-refs.d.ts.map +0 -1
  127. package/packages/client-agent-team/lib/types/client/task-refs.js +0 -99
@@ -1,8 +1,7 @@
1
1
  /* Generated by @deepseek-ai/dsh-typert-generator from FaceModel — do not edit. */
2
2
  import { z } from 'zod'
3
3
 
4
- let _wowyuarm_dsh_agent_team_agentTeam_addMember_parameter_0$schema$value
5
- const _wowyuarm_dsh_agent_team_agentTeam_addMember_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_addMember_parameter_0$schema$value ??= z.object({
4
+ const _wowyuarm_dsh_agent_team_agentTeam_addMember_parameter_0$schema = z.object({
6
5
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
7
6
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
8
7
  'handle': z.string().readonly(),
@@ -22,9 +21,9 @@ const _wowyuarm_dsh_agent_team_agentTeam_addMember_parameter_0$schema = () => (_
22
21
  })]).readonly().optional(),
23
22
  }).readonly().optional(),
24
23
  'channelRefs': z.array(z.intersection(z.string(), z.unknown())).readonly(),
25
- }))
26
- let _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema$value
27
- const _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema$value ??= z.object({
24
+ })
25
+ const _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema = z.object({
26
+ 'workspaceIds': z.array(z.intersection(z.string(), z.unknown())).readonly(),
28
27
  'receipt': z.object({
29
28
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
30
29
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -72,15 +71,13 @@ const _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema = () => (_wowyu
72
71
  'knownNames': z.array(z.string()).readonly(),
73
72
  }))]).readonly().optional(),
74
73
  }).readonly(),
75
- }))
76
- let _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema$value
77
- const _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema$value ??= z.object({
74
+ })
75
+ const _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema = z.object({
78
76
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
79
77
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
80
78
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
81
- }))
82
- let _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema$value
83
- const _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema$value ??= z.object({
79
+ })
80
+ const _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema = z.object({
84
81
  'receipt': z.object({
85
82
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
86
83
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -104,14 +101,12 @@ const _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema = () => (_
104
101
  'normalizedDirection': z.string().readonly(),
105
102
  'state': z.union([z.literal("active"), z.literal("done"), z.literal("released")]).readonly(),
106
103
  })).readonly(),
107
- }))
108
- let _wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema$value
109
- const _wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema$value ??= z.object({
104
+ })
105
+ const _wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema = z.object({
110
106
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
111
107
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
112
- }))
113
- let _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema$value
114
- const _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema$value ??= z.object({
108
+ })
109
+ const _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema = z.object({
115
110
  'receipt': z.object({
116
111
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
117
112
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -154,17 +149,15 @@ const _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema = () => (_w
154
149
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
155
150
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
156
151
  })).readonly(),
157
- }))
158
- let _wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema$value
159
- const _wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema$value ??= z.object({
152
+ })
153
+ const _wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema = z.object({
160
154
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
161
155
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
162
156
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
163
157
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
164
158
  'action': z.union([z.literal("follow"), z.literal("unfollow")]).readonly(),
165
- }))
166
- let _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema$value
167
- const _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema$value ??= z.object({
159
+ })
160
+ const _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema = z.object({
168
161
  'receipt': z.object({
169
162
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
170
163
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -189,9 +182,8 @@ const _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema = () => (
189
182
  'startSequence': z.number().readonly(),
190
183
  'readThroughSequence': z.number().readonly(),
191
184
  }).readonly().optional(),
192
- }))
193
- let _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema$value
194
- const _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema$value ??= z.object({
185
+ })
186
+ const _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema = z.object({
195
187
  'scope': z.union([z.object({
196
188
  'kind': z.literal("workspace").readonly(),
197
189
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -205,21 +197,18 @@ const _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema = () => (_wo
205
197
  'kind': z.literal("presence").readonly(),
206
198
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
207
199
  })]).readonly().optional(),
208
- }))
209
- let _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema$value
210
- const _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_changes_result$schema$value ??= z.object({
200
+ })
201
+ const _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema = z.object({
211
202
  'version': z.number().readonly(),
212
- }))
213
- let _wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema$value
214
- const _wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema$value ??= z.object({
203
+ })
204
+ const _wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema = z.object({
215
205
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
216
206
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
217
207
  'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
218
208
  'action': z.union([z.literal("accept"), z.literal("close"), z.literal("reopen")]).readonly(),
219
209
  'baseRevision': z.number().readonly(),
220
- }))
221
- let _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema$value
222
- const _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema$value ??= z.union([z.object({
210
+ })
211
+ const _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema = z.union([z.object({
223
212
  'kind': z.literal("committed").readonly(),
224
213
  'receipt': z.object({
225
214
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -272,15 +261,13 @@ const _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema = () => (_wowy
272
261
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
273
262
  'expectedRevision': z.number().readonly(),
274
263
  'revision': z.number().readonly(),
275
- })]))
276
- let _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema$value
277
- const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema$value ??= z.object({
264
+ })])
265
+ const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema = z.object({
278
266
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
279
267
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
280
268
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
281
- }))
282
- let _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema$value
283
- const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema$value ??= z.object({
269
+ })
270
+ const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema = z.object({
284
271
  'receipt': z.object({
285
272
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
286
273
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -328,17 +315,15 @@ const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema = () =
328
315
  'knownNames': z.array(z.string()).readonly(),
329
316
  }))]).readonly().optional(),
330
317
  }).readonly(),
331
- }))
332
- let _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema$value
333
- const _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema$value ??= z.object({
318
+ })
319
+ const _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema = z.object({
334
320
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
335
321
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
336
322
  'name': z.string().readonly(),
337
323
  'description': z.string().readonly(),
338
324
  'memberIds': z.array(z.intersection(z.string(), z.unknown())).readonly().optional(),
339
- }))
340
- let _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema$value
341
- const _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema$value ??= z.object({
325
+ })
326
+ const _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema = z.object({
342
327
  'receipt': z.object({
343
328
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
344
329
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -354,25 +339,40 @@ const _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema = () => (_w
354
339
  'state': z.union([z.literal("archived"), z.literal("active")]).readonly(),
355
340
  }).readonly(),
356
341
  'memberIds': z.array(z.intersection(z.string(), z.unknown())).readonly(),
357
- }))
358
- let _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema$value
359
- const _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema$value ??= z.object({
342
+ })
343
+ const _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema = z.object({
360
344
  'attachmentId': z.intersection(z.string(), z.unknown()).readonly(),
361
- }))
362
- let _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema$value
363
- const _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema$value ??= z.object({
345
+ })
346
+ const _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema = z.object({
364
347
  'name': z.string().readonly(),
365
348
  'mediaType': z.string().readonly(),
366
349
  'byteSize': z.number().readonly(),
367
350
  'bytesBase64': z.string().readonly(),
368
- }))
369
- let _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema$value
370
- const _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema$value ??= z.object({
351
+ })
352
+ const _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_parameter_0$schema = z.object({
353
+ 'avatarRef': z.string().readonly(),
354
+ })
355
+ const _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_result$schema = z.object({
356
+ 'name': z.string().readonly(),
357
+ 'mediaType': z.string().readonly(),
358
+ 'byteSize': z.number().readonly(),
359
+ 'bytesBase64': z.string().readonly(),
360
+ })
361
+ const _wowyuarm_dsh_agent_team_agentTeam_humanProfile_parameter_0$schema = z.object({})
362
+ const _wowyuarm_dsh_agent_team_agentTeam_humanProfile_result$schema = z.object({
363
+ 'name': z.string().readonly(),
364
+ 'avatarRef': z.union([z.undefined(), z.string()]).readonly().optional(),
365
+ 'version': z.string().readonly(),
366
+ 'repoUrl': z.string().readonly(),
367
+ 'updateAvailable': z.boolean().readonly(),
368
+ 'latestVersion': z.union([z.undefined(), z.string()]).readonly().optional(),
369
+ })
370
+ const _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema = z.object({
371
371
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
372
372
  'limit': z.number().readonly().optional(),
373
- }))
374
- let _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema$value
375
- const _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema$value ??= z.object({
373
+ })
374
+ const _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema = z.object({
375
+ 'humanMemberId': z.intersection(z.string(), z.unknown()).readonly(),
376
376
  'items': z.array(z.object({
377
377
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
378
378
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
@@ -449,16 +449,14 @@ const _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema = () => (_wowyuarm_
449
449
  })).readonly(),
450
450
  'totalUnreadCount': z.number().readonly(),
451
451
  'totalDirectCount': z.number().readonly(),
452
- }))
453
- let _wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema$value
454
- const _wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema$value ??= z.object({
452
+ })
453
+ const _wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema = z.object({
455
454
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
456
455
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
457
456
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
458
457
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
459
- }))
460
- let _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema$value
461
- const _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema$value ??= z.object({
458
+ })
459
+ const _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema = z.object({
462
460
  'receipt': z.object({
463
461
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
464
462
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -467,15 +465,13 @@ const _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema = () => (_wow
467
465
  }).readonly(),
468
466
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
469
467
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
470
- }))
471
- let _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema$value
472
- const _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema$value ??= z.object({
468
+ })
469
+ const _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema = z.object({
473
470
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
474
471
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
475
472
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
476
- }))
477
- let _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema$value
478
- const _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema$value ??= z.object({
473
+ })
474
+ const _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema = z.object({
479
475
  'receipt': z.object({
480
476
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
481
477
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -484,15 +480,13 @@ const _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema = () => (_w
484
480
  }).readonly(),
485
481
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
486
482
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
487
- }))
488
- let _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema$value
489
- const _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema$value ??= z.object({
483
+ })
484
+ const _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema = z.object({
490
485
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
491
486
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
492
487
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
493
- }))
494
- let _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema$value
495
- const _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema$value ??= z.object({
488
+ })
489
+ const _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema = z.object({
496
490
  'receipt': z.object({
497
491
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
498
492
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -514,13 +508,11 @@ const _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema = () => (_
514
508
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
515
509
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
516
510
  })).readonly(),
517
- }))
518
- let _wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema$value
519
- const _wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema$value ??= z.object({
511
+ })
512
+ const _wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema = z.object({
520
513
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly().optional(),
521
- }))
522
- let _wowyuarm_dsh_agent_team_agentTeam_members_result$schema$value
523
- const _wowyuarm_dsh_agent_team_agentTeam_members_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_members_result$schema$value ??= z.array(z.object({
514
+ })
515
+ const _wowyuarm_dsh_agent_team_agentTeam_members_result$schema = z.array(z.object({
524
516
  'member': z.object({
525
517
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
526
518
  'sessionId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -560,16 +552,14 @@ const _wowyuarm_dsh_agent_team_agentTeam_members_result$schema = () => (_wowyuar
560
552
  'name': z.string().readonly(),
561
553
  'knownNames': z.array(z.string()).readonly(),
562
554
  }))]).readonly().optional(),
563
- })))
564
- let _wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema$value
565
- const _wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema$value ??= z.object({
555
+ }))
556
+ const _wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema = z.object({
566
557
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
567
558
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
568
559
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
569
560
  'baseRevision': z.number().readonly(),
570
- }))
571
- let _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema$value
572
- const _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema$value ??= z.union([z.object({
561
+ })
562
+ const _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema = z.union([z.object({
573
563
  'kind': z.literal("unread_required").readonly(),
574
564
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
575
565
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
@@ -613,32 +603,40 @@ const _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema = () => (_w
613
603
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
614
604
  'revision': z.number().readonly(),
615
605
  }).readonly(),
616
- })]))
617
- let _wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema$value
618
- const _wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema$value ??= z.object({
606
+ })])
607
+ const _wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema = z.object({
619
608
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
620
609
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
621
610
  'name': z.string().readonly(),
622
611
  'mediaType': z.union([z.undefined(), z.string()]).readonly().optional(),
623
612
  'bytesBase64': z.string().readonly(),
624
- }))
625
- let _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema$value
626
- const _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema$value ??= z.object({
613
+ })
614
+ const _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema = z.object({
627
615
  'attachmentId': z.intersection(z.string(), z.unknown()).readonly(),
628
616
  'path': z.string().readonly(),
629
617
  'name': z.string().readonly(),
630
618
  'byteSize': z.number().readonly(),
631
619
  'mediaType': z.string().readonly(),
632
- }))
633
- let _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema$value
634
- const _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema$value ??= z.object({
620
+ })
621
+ const _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_parameter_0$schema = z.object({
622
+ 'name': z.string().readonly(),
623
+ 'mediaType': z.union([z.undefined(), z.string()]).readonly().optional(),
624
+ 'bytesBase64': z.string().readonly(),
625
+ })
626
+ const _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_result$schema = z.object({
627
+ 'avatarRef': z.string().readonly(),
628
+ 'path': z.string().readonly(),
629
+ 'name': z.string().readonly(),
630
+ 'byteSize': z.number().readonly(),
631
+ 'mediaType': z.string().readonly(),
632
+ })
633
+ const _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema = z.object({
635
634
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
636
635
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
637
636
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
638
637
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
639
- }))
640
- let _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema$value
641
- const _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema$value ??= z.object({
638
+ })
639
+ const _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema = z.object({
642
640
  'receipt': z.object({
643
641
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
644
642
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -765,15 +763,13 @@ const _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema = () => (_wowy
765
763
  'action': z.union([z.literal("unavailable"), z.literal("rollover"), z.literal("keep"), z.literal("handoff-now")]).readonly(),
766
764
  'guidance': z.string().readonly(),
767
765
  }).readonly().optional(),
768
- }))
769
- let _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema$value
770
- const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema$value ??= z.object({
766
+ })
767
+ const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema = z.object({
771
768
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
772
769
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
773
770
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
774
- }))
775
- let _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema$value
776
- const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema$value ??= z.object({
771
+ })
772
+ const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema = z.object({
777
773
  'status': z.object({
778
774
  'member': z.object({
779
775
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -815,16 +811,14 @@ const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema = () => (_w
815
811
  'knownNames': z.array(z.string()).readonly(),
816
812
  }))]).readonly().optional(),
817
813
  }).readonly(),
818
- }))
819
- let _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema$value
820
- const _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema$value ??= z.object({
814
+ })
815
+ const _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema = z.object({
821
816
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
822
817
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
823
818
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
824
819
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
825
- }))
826
- let _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema$value
827
- const _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema$value ??= z.object({
820
+ })
821
+ const _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema = z.object({
828
822
  'receipt': z.object({
829
823
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
830
824
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -846,9 +840,14 @@ const _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema = ()
846
840
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
847
841
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
848
842
  })).readonly(),
849
- }))
850
- let _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema$value
851
- const _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema$value ??= z.object({
843
+ })
844
+ const _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_parameter_0$schema = z.object({
845
+ 'avatarRef': z.string().readonly(),
846
+ })
847
+ const _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_result$schema = z.object({
848
+ 'removed': z.boolean().readonly(),
849
+ })
850
+ const _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema = z.object({
852
851
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
853
852
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
854
853
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
@@ -859,9 +858,8 @@ const _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema = () => (_wowy
859
858
  'attachmentPaths': z.union([z.undefined(), z.array(z.string())]).readonly().optional(),
860
859
  'attachments': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
861
860
  'confirmationToken': z.intersection(z.string(), z.unknown()).readonly().optional(),
862
- }))
863
- let _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema$value
864
- const _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_reply_result$schema$value ??= z.union([z.object({
861
+ })
862
+ const _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema = z.union([z.object({
865
863
  'kind': z.literal("unread_required").readonly(),
866
864
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
867
865
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
@@ -941,23 +939,33 @@ const _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema = () => (_wowyuarm_
941
939
  'sequence': z.number().readonly(),
942
940
  })).readonly(),
943
941
  'undeliveredMentions': z.array(z.intersection(z.string(), z.unknown())).readonly().optional(),
944
- })]))
945
- let _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_parameter_0$schema$value
946
- const _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_parameter_0$schema$value ??= z.object({
942
+ })])
943
+ const _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_parameter_0$schema = z.object({
947
944
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
948
945
  'taskRefs': z.array(z.intersection(z.string(), z.unknown())).readonly(),
949
- }))
950
- let _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema$value
951
- const _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema$value ??= z.object({
946
+ })
947
+ const _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema = z.object({
952
948
  'resolved': z.array(z.object({
953
949
  'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
954
950
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
955
951
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
956
952
  'taskNumber': z.number().readonly(),
957
953
  })).readonly(),
958
- }))
959
- let _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema$value
960
- const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema$value ??= z.object({
954
+ })
955
+ const _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_parameter_0$schema = z.object({
956
+ 'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
957
+ 'threadRefs': z.array(z.intersection(z.string(), z.unknown())).readonly(),
958
+ })
959
+ const _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema = z.object({
960
+ 'resolved': z.array(z.object({
961
+ 'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
962
+ 'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
963
+ 'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
964
+ 'taskNumber': z.number().readonly().optional(),
965
+ 'title': z.string().readonly(),
966
+ })).readonly(),
967
+ })
968
+ const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema = z.object({
961
969
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
962
970
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
963
971
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
@@ -967,9 +975,8 @@ const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema = () =>
967
975
  'attachmentPaths': z.union([z.undefined(), z.array(z.string())]).readonly().optional(),
968
976
  'confirmationToken': z.intersection(z.string(), z.unknown()).readonly().optional(),
969
977
  'asTask': z.boolean().readonly().optional(),
970
- }))
971
- let _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema$value
972
- const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema$value ??= z.union([z.object({
978
+ })
979
+ const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema = z.union([z.object({
973
980
  'kind': z.literal("committed").readonly(),
974
981
  'receipt': z.object({
975
982
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1035,17 +1042,15 @@ const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema = () => (_wow
1035
1042
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1036
1043
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1037
1044
  'revision': z.number().readonly().optional(),
1038
- })]))
1039
- let _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema$value
1040
- const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema$value ??= z.object({
1045
+ })])
1046
+ const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema = z.object({
1041
1047
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
1042
1048
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1043
1049
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1044
1050
  'beforeSequence': z.number().readonly().optional(),
1045
1051
  'limit': z.number().readonly().optional(),
1046
- }))
1047
- let _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema$value
1048
- const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema$value ??= z.object({
1052
+ })
1053
+ const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema = z.object({
1049
1054
  'task': z.object({
1050
1055
  'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
1051
1056
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1141,16 +1146,14 @@ const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema = () => (_w
1141
1146
  })])).readonly(),
1142
1147
  'cursor': z.number().readonly(),
1143
1148
  'hasMore': z.boolean().readonly(),
1144
- }))
1145
- let _wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema$value
1146
- const _wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema$value ??= z.object({
1149
+ })
1150
+ const _wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema = z.object({
1147
1151
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
1148
1152
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1149
1153
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1150
1154
  'limit': z.number().readonly().optional(),
1151
- }))
1152
- let _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema$value
1153
- const _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema$value ??= z.object({
1155
+ })
1156
+ const _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema = z.object({
1154
1157
  'items': z.array(z.object({
1155
1158
  'sequence': z.number().readonly(),
1156
1159
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1159,17 +1162,15 @@ const _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema = () =
1159
1162
  'action': z.union([z.literal("follow"), z.literal("unfollow")]).readonly(),
1160
1163
  })).readonly(),
1161
1164
  'followers': z.array(z.intersection(z.string(), z.unknown())).readonly(),
1162
- }))
1163
- let _wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema$value
1164
- const _wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema$value ??= z.object({
1165
+ })
1166
+ const _wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema = z.object({
1165
1167
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
1166
1168
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
1167
1169
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
1168
1170
  'name': z.string().readonly(),
1169
1171
  'description': z.string().readonly(),
1170
- }))
1171
- let _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema$value
1172
- const _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema$value ??= z.object({
1172
+ })
1173
+ const _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema = z.object({
1173
1174
  'receipt': z.object({
1174
1175
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
1175
1176
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1184,9 +1185,8 @@ const _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema = () => (_w
1184
1185
  'createdAtSequence': z.number().readonly(),
1185
1186
  'state': z.union([z.literal("archived"), z.literal("active")]).readonly(),
1186
1187
  }).readonly(),
1187
- }))
1188
- let _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema$value
1189
- const _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema$value ??= z.object({
1188
+ })
1189
+ const _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema = z.object({
1190
1190
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
1191
1191
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
1192
1192
  'handle': z.string().readonly(),
@@ -1204,9 +1204,8 @@ const _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema = () =>
1204
1204
  'allow': z.array(z.string()).readonly().optional(),
1205
1205
  })]).readonly().optional(),
1206
1206
  }).readonly().optional(),
1207
- }))
1208
- let _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema$value
1209
- const _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema$value ??= z.object({
1207
+ })
1208
+ const _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema = z.object({
1210
1209
  'receipt': z.object({
1211
1210
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
1212
1211
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1254,9 +1253,8 @@ const _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema = () => (_wo
1254
1253
  'knownNames': z.array(z.string()).readonly(),
1255
1254
  }))]).readonly().optional(),
1256
1255
  }).readonly(),
1257
- }))
1258
- let _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema$value
1259
- const _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema$value ??= z.object({
1256
+ })
1257
+ const _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema = z.object({
1260
1258
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
1261
1259
  'channelRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1262
1260
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
@@ -1265,9 +1263,8 @@ const _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema = () => (_wowyu
1265
1263
  'direction': z.union([z.literal("after"), z.literal("before")]).readonly().optional(),
1266
1264
  'topLevelOnly': z.boolean().readonly().optional(),
1267
1265
  'includeActivities': z.boolean().readonly().optional(),
1268
- }))
1269
- let _wowyuarm_dsh_agent_team_agentTeam_view_result$schema$value
1270
- const _wowyuarm_dsh_agent_team_agentTeam_view_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_view_result$schema$value ??= z.object({
1266
+ })
1267
+ const _wowyuarm_dsh_agent_team_agentTeam_view_result$schema = z.object({
1271
1268
  'humanMemberId': z.intersection(z.string(), z.unknown()).readonly(),
1272
1269
  'workspaces': z.array(z.object({
1273
1270
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1379,7 +1376,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_view_result$schema = () => (_wowyuarm_d
1379
1376
  })])).readonly(),
1380
1377
  'cursor': z.number().readonly(),
1381
1378
  'hasMore': z.boolean().readonly(),
1382
- }))
1379
+ })
1383
1380
 
1384
1381
  export const TYPERT = {
1385
1382
  package: '@wowyuarm/dsh-agent-team',
@@ -1401,16 +1398,16 @@ export const TYPERT = {
1401
1398
  codec: {
1402
1399
  mode: 'strict',
1403
1400
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamAddMemberRequest',
1404
- create: _wowyuarm_dsh_agent_team_agentTeam_addMember_parameter_0$schema,
1401
+ schema: _wowyuarm_dsh_agent_team_agentTeam_addMember_parameter_0$schema,
1405
1402
  },
1406
1403
  },
1407
1404
  ],
1408
1405
  result: {
1409
1406
  mode: 'strict',
1410
- typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamMemberResult',
1411
- create: _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema,
1407
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamAddMemberResult',
1408
+ schema: _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema,
1412
1409
  },
1413
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":708,"column":9},
1410
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":837,"column":9},
1414
1411
  },
1415
1412
  {
1416
1413
  id: '@wowyuarm/dsh-agent-team#agentTeam/archiveChannel',
@@ -1426,16 +1423,16 @@ export const TYPERT = {
1426
1423
  codec: {
1427
1424
  mode: 'strict',
1428
1425
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveChannelRequest',
1429
- create: _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema,
1426
+ schema: _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema,
1430
1427
  },
1431
1428
  },
1432
1429
  ],
1433
1430
  result: {
1434
1431
  mode: 'strict',
1435
1432
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveChannelResult',
1436
- create: _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema,
1433
+ schema: _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema,
1437
1434
  },
1438
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":698,"column":9},
1435
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":827,"column":9},
1439
1436
  },
1440
1437
  {
1441
1438
  id: '@wowyuarm/dsh-agent-team#agentTeam/archiveMember',
@@ -1451,16 +1448,16 @@ export const TYPERT = {
1451
1448
  codec: {
1452
1449
  mode: 'strict',
1453
1450
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveMemberRequest',
1454
- create: _wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema,
1451
+ schema: _wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema,
1455
1452
  },
1456
1453
  },
1457
1454
  ],
1458
1455
  result: {
1459
1456
  mode: 'strict',
1460
1457
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveMemberResult',
1461
- create: _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema,
1458
+ schema: _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema,
1462
1459
  },
1463
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1077,"column":9},
1460
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1229,"column":9},
1464
1461
  },
1465
1462
  {
1466
1463
  id: '@wowyuarm/dsh-agent-team#agentTeam/changeAttention',
@@ -1476,16 +1473,16 @@ export const TYPERT = {
1476
1473
  codec: {
1477
1474
  mode: 'strict',
1478
1475
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadAttentionRequest',
1479
- create: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema,
1476
+ schema: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema,
1480
1477
  },
1481
1478
  },
1482
1479
  ],
1483
1480
  result: {
1484
1481
  mode: 'strict',
1485
1482
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadAttentionResult',
1486
- create: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema,
1483
+ schema: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema,
1487
1484
  },
1488
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1217,"column":9},
1485
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1420,"column":9},
1489
1486
  },
1490
1487
  {
1491
1488
  id: '@wowyuarm/dsh-agent-team#agentTeam/changes',
@@ -1502,7 +1499,7 @@ export const TYPERT = {
1502
1499
  codec: {
1503
1500
  mode: 'strict',
1504
1501
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamChangesRequest',
1505
- create: _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema,
1502
+ schema: _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema,
1506
1503
  },
1507
1504
  },
1508
1505
  ],
@@ -1510,9 +1507,9 @@ export const TYPERT = {
1510
1507
  result: {
1511
1508
  mode: 'strict',
1512
1509
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamChangesResult',
1513
- create: _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema,
1510
+ schema: _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema,
1514
1511
  },
1515
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":631,"column":11},
1512
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":760,"column":11},
1516
1513
  },
1517
1514
  {
1518
1515
  id: '@wowyuarm/dsh-agent-team#agentTeam/changeTask',
@@ -1528,16 +1525,16 @@ export const TYPERT = {
1528
1525
  codec: {
1529
1526
  mode: 'strict',
1530
1527
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamTaskRequest',
1531
- create: _wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema,
1528
+ schema: _wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema,
1532
1529
  },
1533
1530
  },
1534
1531
  ],
1535
1532
  result: {
1536
1533
  mode: 'strict',
1537
1534
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamTaskResult',
1538
- create: _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema,
1535
+ schema: _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema,
1539
1536
  },
1540
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1089,"column":9},
1537
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1241,"column":9},
1541
1538
  },
1542
1539
  {
1543
1540
  id: '@wowyuarm/dsh-agent-team#agentTeam/clearMemberContext',
@@ -1553,16 +1550,16 @@ export const TYPERT = {
1553
1550
  codec: {
1554
1551
  mode: 'strict',
1555
1552
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamClearMemberContextRequest',
1556
- create: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema,
1553
+ schema: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema,
1557
1554
  },
1558
1555
  },
1559
1556
  ],
1560
1557
  result: {
1561
1558
  mode: 'strict',
1562
1559
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamClearMemberContextResult',
1563
- create: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema,
1560
+ schema: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema,
1564
1561
  },
1565
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":811,"column":9},
1562
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":955,"column":9},
1566
1563
  },
1567
1564
  {
1568
1565
  id: '@wowyuarm/dsh-agent-team#agentTeam/createChannel',
@@ -1578,16 +1575,16 @@ export const TYPERT = {
1578
1575
  codec: {
1579
1576
  mode: 'strict',
1580
1577
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamCreateChannelRequest',
1581
- create: _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema,
1578
+ schema: _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema,
1582
1579
  },
1583
1580
  },
1584
1581
  ],
1585
1582
  result: {
1586
1583
  mode: 'strict',
1587
1584
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamCreateChannelResult',
1588
- create: _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema,
1585
+ schema: _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema,
1589
1586
  },
1590
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":671,"column":9},
1587
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":800,"column":9},
1591
1588
  },
1592
1589
  {
1593
1590
  id: '@wowyuarm/dsh-agent-team#agentTeam/getAttachment',
@@ -1603,16 +1600,67 @@ export const TYPERT = {
1603
1600
  codec: {
1604
1601
  mode: 'strict',
1605
1602
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetAttachmentRequest',
1606
- create: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema,
1603
+ schema: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema,
1607
1604
  },
1608
1605
  },
1609
1606
  ],
1610
1607
  result: {
1611
1608
  mode: 'strict',
1612
1609
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetAttachmentResult',
1613
- create: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema,
1610
+ schema: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema,
1611
+ },
1612
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1355,"column":9},
1613
+ },
1614
+ {
1615
+ id: '@wowyuarm/dsh-agent-team#agentTeam/getHumanAvatar',
1616
+ service: 'agentTeam',
1617
+ namespace: 'agentTeam',
1618
+ method: 'getHumanAvatar',
1619
+ invocation: { kind: 'direct' },
1620
+ parameters: [
1621
+ {
1622
+ name: 'request',
1623
+ wire: 'request',
1624
+ source: 'json',
1625
+ codec: {
1626
+ mode: 'strict',
1627
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetHumanAvatarRequest',
1628
+ schema: _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_parameter_0$schema,
1629
+ },
1630
+ },
1631
+ ],
1632
+ result: {
1633
+ mode: 'strict',
1634
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetHumanAvatarResult',
1635
+ schema: _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_result$schema,
1636
+ },
1637
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1398,"column":9},
1638
+ },
1639
+ {
1640
+ id: '@wowyuarm/dsh-agent-team#agentTeam/humanProfile',
1641
+ service: 'agentTeam',
1642
+ namespace: 'agentTeam',
1643
+ method: 'humanProfile',
1644
+ implementation: 'humanProfileForClient',
1645
+ invocation: { kind: 'direct' },
1646
+ parameters: [
1647
+ {
1648
+ name: '_request',
1649
+ wire: '_request',
1650
+ source: 'json',
1651
+ codec: {
1652
+ mode: 'strict',
1653
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamHumanProfileRequest',
1654
+ schema: _wowyuarm_dsh_agent_team_agentTeam_humanProfile_parameter_0$schema,
1655
+ },
1656
+ },
1657
+ ],
1658
+ result: {
1659
+ mode: 'strict',
1660
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamHumanProfileResult',
1661
+ schema: _wowyuarm_dsh_agent_team_agentTeam_humanProfile_result$schema,
1614
1662
  },
1615
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1203,"column":9},
1663
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1370,"column":3},
1616
1664
  },
1617
1665
  {
1618
1666
  id: '@wowyuarm/dsh-agent-team#agentTeam/inbox',
@@ -1628,16 +1676,16 @@ export const TYPERT = {
1628
1676
  codec: {
1629
1677
  mode: 'strict',
1630
1678
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamInboxRequest',
1631
- create: _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema,
1679
+ schema: _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema,
1632
1680
  },
1633
1681
  },
1634
1682
  ],
1635
1683
  result: {
1636
1684
  mode: 'strict',
1637
1685
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamInbox',
1638
- create: _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema,
1686
+ schema: _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema,
1639
1687
  },
1640
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1226,"column":3},
1688
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1429,"column":3},
1641
1689
  },
1642
1690
  {
1643
1691
  id: '@wowyuarm/dsh-agent-team#agentTeam/joinChannel',
@@ -1653,16 +1701,16 @@ export const TYPERT = {
1653
1701
  codec: {
1654
1702
  mode: 'strict',
1655
1703
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinChannelRequest',
1656
- create: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema,
1704
+ schema: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema,
1657
1705
  },
1658
1706
  },
1659
1707
  ],
1660
1708
  result: {
1661
1709
  mode: 'strict',
1662
1710
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinChannelResult',
1663
- create: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema,
1711
+ schema: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema,
1664
1712
  },
1665
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1109,"column":9},
1713
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1261,"column":9},
1666
1714
  },
1667
1715
  {
1668
1716
  id: '@wowyuarm/dsh-agent-team#agentTeam/joinWorkspace',
@@ -1678,16 +1726,16 @@ export const TYPERT = {
1678
1726
  codec: {
1679
1727
  mode: 'strict',
1680
1728
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinWorkspaceRequest',
1681
- create: _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema,
1729
+ schema: _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema,
1682
1730
  },
1683
1731
  },
1684
1732
  ],
1685
1733
  result: {
1686
1734
  mode: 'strict',
1687
1735
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinWorkspaceResult',
1688
- create: _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema,
1736
+ schema: _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema,
1689
1737
  },
1690
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1129,"column":9},
1738
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1281,"column":9},
1691
1739
  },
1692
1740
  {
1693
1741
  id: '@wowyuarm/dsh-agent-team#agentTeam/leaveWorkspace',
@@ -1703,16 +1751,16 @@ export const TYPERT = {
1703
1751
  codec: {
1704
1752
  mode: 'strict',
1705
1753
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamLeaveWorkspaceRequest',
1706
- create: _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema,
1754
+ schema: _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema,
1707
1755
  },
1708
1756
  },
1709
1757
  ],
1710
1758
  result: {
1711
1759
  mode: 'strict',
1712
1760
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamLeaveWorkspaceResult',
1713
- create: _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema,
1761
+ schema: _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema,
1714
1762
  },
1715
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1138,"column":9},
1763
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1290,"column":9},
1716
1764
  },
1717
1765
  {
1718
1766
  id: '@wowyuarm/dsh-agent-team#agentTeam/members',
@@ -1729,16 +1777,16 @@ export const TYPERT = {
1729
1777
  codec: {
1730
1778
  mode: 'strict',
1731
1779
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamMembersRequest',
1732
- create: _wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema,
1780
+ schema: _wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema,
1733
1781
  },
1734
1782
  },
1735
1783
  ],
1736
1784
  result: {
1737
1785
  mode: 'strict',
1738
1786
  typeSymbol: '@wowyuarm/dsh-agent-team#agentTeam/members:result',
1739
- create: _wowyuarm_dsh_agent_team_agentTeam_members_result$schema,
1787
+ schema: _wowyuarm_dsh_agent_team_agentTeam_members_result$schema,
1740
1788
  },
1741
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":621,"column":3},
1789
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":750,"column":3},
1742
1790
  },
1743
1791
  {
1744
1792
  id: '@wowyuarm/dsh-agent-team#agentTeam/promoteThread',
@@ -1754,16 +1802,16 @@ export const TYPERT = {
1754
1802
  codec: {
1755
1803
  mode: 'strict',
1756
1804
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPromoteThreadRequest',
1757
- create: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema,
1805
+ schema: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema,
1758
1806
  },
1759
1807
  },
1760
1808
  ],
1761
1809
  result: {
1762
1810
  mode: 'strict',
1763
1811
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPromoteThreadResult',
1764
- create: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema,
1812
+ schema: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema,
1765
1813
  },
1766
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1099,"column":9},
1814
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1251,"column":9},
1767
1815
  },
1768
1816
  {
1769
1817
  id: '@wowyuarm/dsh-agent-team#agentTeam/putAttachment',
@@ -1779,16 +1827,41 @@ export const TYPERT = {
1779
1827
  codec: {
1780
1828
  mode: 'strict',
1781
1829
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutAttachmentRequest',
1782
- create: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema,
1830
+ schema: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema,
1783
1831
  },
1784
1832
  },
1785
1833
  ],
1786
1834
  result: {
1787
1835
  mode: 'strict',
1788
1836
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutAttachmentResult',
1789
- create: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema,
1837
+ schema: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema,
1838
+ },
1839
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1342,"column":9},
1840
+ },
1841
+ {
1842
+ id: '@wowyuarm/dsh-agent-team#agentTeam/putHumanAvatar',
1843
+ service: 'agentTeam',
1844
+ namespace: 'agentTeam',
1845
+ method: 'putHumanAvatar',
1846
+ invocation: { kind: 'direct' },
1847
+ parameters: [
1848
+ {
1849
+ name: 'request',
1850
+ wire: 'request',
1851
+ source: 'json',
1852
+ codec: {
1853
+ mode: 'strict',
1854
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutHumanAvatarRequest',
1855
+ schema: _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_parameter_0$schema,
1856
+ },
1857
+ },
1858
+ ],
1859
+ result: {
1860
+ mode: 'strict',
1861
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutHumanAvatarResult',
1862
+ schema: _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_result$schema,
1790
1863
  },
1791
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1190,"column":9},
1864
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1390,"column":9},
1792
1865
  },
1793
1866
  {
1794
1867
  id: '@wowyuarm/dsh-agent-team#agentTeam/readThread',
@@ -1804,16 +1877,16 @@ export const TYPERT = {
1804
1877
  codec: {
1805
1878
  mode: 'strict',
1806
1879
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadReadRequest',
1807
- create: _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema,
1880
+ schema: _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema,
1808
1881
  },
1809
1882
  },
1810
1883
  ],
1811
1884
  result: {
1812
1885
  mode: 'strict',
1813
1886
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadReadResult',
1814
- create: _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema,
1887
+ schema: _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema,
1815
1888
  },
1816
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1233,"column":9},
1889
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1436,"column":9},
1817
1890
  },
1818
1891
  {
1819
1892
  id: '@wowyuarm/dsh-agent-team#agentTeam/recoverMember',
@@ -1829,16 +1902,16 @@ export const TYPERT = {
1829
1902
  codec: {
1830
1903
  mode: 'strict',
1831
1904
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRecoverMemberRequest',
1832
- create: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema,
1905
+ schema: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema,
1833
1906
  },
1834
1907
  },
1835
1908
  ],
1836
1909
  result: {
1837
1910
  mode: 'strict',
1838
1911
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRecoverMemberResult',
1839
- create: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema,
1912
+ schema: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema,
1840
1913
  },
1841
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":768,"column":9},
1914
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":900,"column":9},
1842
1915
  },
1843
1916
  {
1844
1917
  id: '@wowyuarm/dsh-agent-team#agentTeam/removeChannelMember',
@@ -1854,16 +1927,41 @@ export const TYPERT = {
1854
1927
  codec: {
1855
1928
  mode: 'strict',
1856
1929
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveChannelMemberRequest',
1857
- create: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema,
1930
+ schema: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema,
1858
1931
  },
1859
1932
  },
1860
1933
  ],
1861
1934
  result: {
1862
1935
  mode: 'strict',
1863
1936
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveChannelMemberResult',
1864
- create: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema,
1937
+ schema: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema,
1865
1938
  },
1866
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1120,"column":9},
1939
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1272,"column":9},
1940
+ },
1941
+ {
1942
+ id: '@wowyuarm/dsh-agent-team#agentTeam/removeHumanAvatar',
1943
+ service: 'agentTeam',
1944
+ namespace: 'agentTeam',
1945
+ method: 'removeHumanAvatar',
1946
+ invocation: { kind: 'direct' },
1947
+ parameters: [
1948
+ {
1949
+ name: 'request',
1950
+ wire: 'request',
1951
+ source: 'json',
1952
+ codec: {
1953
+ mode: 'strict',
1954
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveHumanAvatarRequest',
1955
+ schema: _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_parameter_0$schema,
1956
+ },
1957
+ },
1958
+ ],
1959
+ result: {
1960
+ mode: 'strict',
1961
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveHumanAvatarResult',
1962
+ schema: _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_result$schema,
1963
+ },
1964
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1406,"column":9},
1867
1965
  },
1868
1966
  {
1869
1967
  id: '@wowyuarm/dsh-agent-team#agentTeam/reply',
@@ -1879,16 +1977,16 @@ export const TYPERT = {
1879
1977
  codec: {
1880
1978
  mode: 'strict',
1881
1979
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamReplyRequest',
1882
- create: _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema,
1980
+ schema: _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema,
1883
1981
  },
1884
1982
  },
1885
1983
  ],
1886
1984
  result: {
1887
1985
  mode: 'strict',
1888
1986
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamReplyResult',
1889
- create: _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema,
1987
+ schema: _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema,
1890
1988
  },
1891
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1211,"column":9},
1989
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1414,"column":9},
1892
1990
  },
1893
1991
  {
1894
1992
  id: '@wowyuarm/dsh-agent-team#agentTeam/resolveTaskRefs',
@@ -1904,16 +2002,41 @@ export const TYPERT = {
1904
2002
  codec: {
1905
2003
  mode: 'strict',
1906
2004
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveTaskRefsRequest',
1907
- create: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_parameter_0$schema,
2005
+ schema: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_parameter_0$schema,
1908
2006
  },
1909
2007
  },
1910
2008
  ],
1911
2009
  result: {
1912
2010
  mode: 'strict',
1913
2011
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveTaskRefsResult',
1914
- create: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema,
2012
+ schema: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema,
2013
+ },
2014
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":724,"column":3},
2015
+ },
2016
+ {
2017
+ id: '@wowyuarm/dsh-agent-team#agentTeam/resolveThreadRefs',
2018
+ service: 'agentTeam',
2019
+ namespace: 'agentTeam',
2020
+ method: 'resolveThreadRefs',
2021
+ invocation: { kind: 'direct' },
2022
+ parameters: [
2023
+ {
2024
+ name: 'request',
2025
+ wire: 'request',
2026
+ source: 'json',
2027
+ codec: {
2028
+ mode: 'strict',
2029
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveThreadRefsRequest',
2030
+ schema: _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_parameter_0$schema,
2031
+ },
2032
+ },
2033
+ ],
2034
+ result: {
2035
+ mode: 'strict',
2036
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveThreadRefsResult',
2037
+ schema: _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema,
1915
2038
  },
1916
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":608,"column":3},
2039
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":737,"column":3},
1917
2040
  },
1918
2041
  {
1919
2042
  id: '@wowyuarm/dsh-agent-team#agentTeam/sendMessage',
@@ -1929,16 +2052,16 @@ export const TYPERT = {
1929
2052
  codec: {
1930
2053
  mode: 'strict',
1931
2054
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSendMessageRequest',
1932
- create: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema,
2055
+ schema: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema,
1933
2056
  },
1934
2057
  },
1935
2058
  ],
1936
2059
  result: {
1937
2060
  mode: 'strict',
1938
2061
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSendMessageResult',
1939
- create: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema,
2062
+ schema: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema,
1940
2063
  },
1941
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1147,"column":9},
2064
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1299,"column":9},
1942
2065
  },
1943
2066
  {
1944
2067
  id: '@wowyuarm/dsh-agent-team#agentTeam/threadHistory',
@@ -1954,16 +2077,16 @@ export const TYPERT = {
1954
2077
  codec: {
1955
2078
  mode: 'strict',
1956
2079
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadHistoryRequest',
1957
- create: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema,
2080
+ schema: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema,
1958
2081
  },
1959
2082
  },
1960
2083
  ],
1961
2084
  result: {
1962
2085
  mode: 'strict',
1963
2086
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadHistory',
1964
- create: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema,
2087
+ schema: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema,
1965
2088
  },
1966
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1251,"column":3},
2089
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1454,"column":3},
1967
2090
  },
1968
2091
  {
1969
2092
  id: '@wowyuarm/dsh-agent-team#agentTeam/threadObservations',
@@ -1979,16 +2102,16 @@ export const TYPERT = {
1979
2102
  codec: {
1980
2103
  mode: 'strict',
1981
2104
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadObservationsRequest',
1982
- create: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema,
2105
+ schema: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema,
1983
2106
  },
1984
2107
  },
1985
2108
  ],
1986
2109
  result: {
1987
2110
  mode: 'strict',
1988
2111
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadObservations',
1989
- create: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema,
2112
+ schema: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema,
1990
2113
  },
1991
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1244,"column":3},
2114
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1447,"column":3},
1992
2115
  },
1993
2116
  {
1994
2117
  id: '@wowyuarm/dsh-agent-team#agentTeam/updateChannel',
@@ -2004,16 +2127,16 @@ export const TYPERT = {
2004
2127
  codec: {
2005
2128
  mode: 'strict',
2006
2129
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamUpdateChannelRequest',
2007
- create: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema,
2130
+ schema: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema,
2008
2131
  },
2009
2132
  },
2010
2133
  ],
2011
2134
  result: {
2012
2135
  mode: 'strict',
2013
2136
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamUpdateChannelResult',
2014
- create: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema,
2137
+ schema: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema,
2015
2138
  },
2016
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":683,"column":9},
2139
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":812,"column":9},
2017
2140
  },
2018
2141
  {
2019
2142
  id: '@wowyuarm/dsh-agent-team#agentTeam/updateMember',
@@ -2029,16 +2152,16 @@ export const TYPERT = {
2029
2152
  codec: {
2030
2153
  mode: 'strict',
2031
2154
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamUpdateMemberRequest',
2032
- create: _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema,
2155
+ schema: _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema,
2033
2156
  },
2034
2157
  },
2035
2158
  ],
2036
2159
  result: {
2037
2160
  mode: 'strict',
2038
2161
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamMemberResult',
2039
- create: _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema,
2162
+ schema: _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema,
2040
2163
  },
2041
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1017,"column":9},
2164
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1169,"column":9},
2042
2165
  },
2043
2166
  {
2044
2167
  id: '@wowyuarm/dsh-agent-team#agentTeam/view',
@@ -2054,16 +2177,16 @@ export const TYPERT = {
2054
2177
  codec: {
2055
2178
  mode: 'strict',
2056
2179
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamViewRequest',
2057
- create: _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema,
2180
+ schema: _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema,
2058
2181
  },
2059
2182
  },
2060
2183
  ],
2061
2184
  result: {
2062
2185
  mode: 'strict',
2063
2186
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamView',
2064
- create: _wowyuarm_dsh_agent_team_agentTeam_view_result$schema,
2187
+ schema: _wowyuarm_dsh_agent_team_agentTeam_view_result$schema,
2065
2188
  },
2066
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1258,"column":3},
2189
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1461,"column":3},
2067
2190
  },
2068
2191
  ],
2069
2192
  model: {
@@ -2076,6 +2199,20 @@ export const TYPERT = {
2076
2199
  "key": "agentTeam",
2077
2200
  "exportName": "default",
2078
2201
  "members": [
2202
+ {
2203
+ "kind": "method",
2204
+ "name": "humanHandle",
2205
+ "signature": "humanHandle(): string",
2206
+ "summary": "Current human display name; the single source for team_view and @ matching.",
2207
+ "jsDoc": "/** Current human display name; the single source for team_view and @ matching. */"
2208
+ },
2209
+ {
2210
+ "kind": "method",
2211
+ "name": "humanProfile",
2212
+ "signature": "humanProfile(): { readonly name: string; readonly avatarRef?: string | undefined }",
2213
+ "summary": "Current human profile reference held in settings (name + avatarRef).",
2214
+ "jsDoc": "/** Current human profile reference held in settings (name + avatarRef). */"
2215
+ },
2079
2216
  {
2080
2217
  "kind": "method",
2081
2218
  "name": "memberForAgent",
@@ -2097,6 +2234,13 @@ export const TYPERT = {
2097
2234
  "summary": "Read-only navigation lookup for branded Task refs found in message bodies.",
2098
2235
  "jsDoc": "/** Read-only navigation lookup for branded Task refs found in message bodies. */"
2099
2236
  },
2237
+ {
2238
+ "kind": "method",
2239
+ "name": "resolveThreadRefs",
2240
+ "signature": "@Remote('resolveThreadRefs') resolveThreadRefs(request: AgentTeamResolveThreadRefsRequest): AgentTeamResolveThreadRefsResult",
2241
+ "summary": "Read-only navigation lookup for branded Thread refs found in message bodies.",
2242
+ "jsDoc": "/** Read-only navigation lookup for branded Thread refs found in message bodies. */"
2243
+ },
2100
2244
  {
2101
2245
  "kind": "method",
2102
2246
  "name": "membersForClient",
@@ -2140,7 +2284,7 @@ export const TYPERT = {
2140
2284
  {
2141
2285
  "kind": "method",
2142
2286
  "name": "addMember",
2143
- "signature": "@Remote('addMember') async addMember(request: AgentTeamAddMemberRequest): Promise<AgentTeamMemberResult>",
2287
+ "signature": "@Remote('addMember') async addMember(request: AgentTeamAddMemberRequest): Promise<AgentTeamAddMemberResult>",
2144
2288
  "summary": "Create a durable Member and atomically grant its declared initial Channels.",
2145
2289
  "jsDoc": "/** Create a durable Member and atomically grant its declared initial Channels. */"
2146
2290
  },
@@ -2256,6 +2400,34 @@ export const TYPERT = {
2256
2400
  "summary": "Read one cached attachment back for client display; gone entries throw and the UI degrades to a chip.",
2257
2401
  "jsDoc": "/** Read one cached attachment back for client display; gone entries throw and the UI degrades to a chip. */"
2258
2402
  },
2403
+ {
2404
+ "kind": "method",
2405
+ "name": "humanProfileForClient",
2406
+ "signature": "@Remote('humanProfile') humanProfileForClient(_request: AgentTeamHumanProfileRequest): AgentTeamHumanProfileResult",
2407
+ "summary": "Human profile read for the settings page and footnote: name + avatar reference from settings plus version facts.",
2408
+ "jsDoc": "/**\n * Human profile read for the settings page and footnote: name + avatar\n * reference from settings plus version facts. Human-scoped (the Web\n * Client calls it); agent tools never receive avatar bytes, only the name\n * 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 */"
2409
+ },
2410
+ {
2411
+ "kind": "method",
2412
+ "name": "putHumanAvatar",
2413
+ "signature": "@Remote('putHumanAvatar') async putHumanAvatar(request: AgentTeamPutHumanAvatarRequest): Promise<AgentTeamPutHumanAvatarResult>",
2414
+ "summary": "Upload one human avatar image into the persistent store.",
2415
+ "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 */"
2416
+ },
2417
+ {
2418
+ "kind": "method",
2419
+ "name": "getHumanAvatar",
2420
+ "signature": "@Remote('getHumanAvatar') async getHumanAvatar(request: AgentTeamGetHumanAvatarRequest): Promise<AgentTeamGetHumanAvatarResult>",
2421
+ "summary": "Read one human avatar back; removed entries throw and the UI falls back to hue/initial.",
2422
+ "jsDoc": "/** Read one human avatar back; removed entries throw and the UI falls back to hue/initial. */"
2423
+ },
2424
+ {
2425
+ "kind": "method",
2426
+ "name": "removeHumanAvatar",
2427
+ "signature": "@Remote('removeHumanAvatar') async removeHumanAvatar(request: AgentTeamRemoveHumanAvatarRequest): Promise<AgentTeamRemoveHumanAvatarResult>",
2428
+ "summary": "Remove one human avatar entry; the UI falls back to hue/initial afterwards.",
2429
+ "jsDoc": "/** Remove one human avatar entry; the UI falls back to hue/initial afterwards. */"
2430
+ },
2259
2431
  {
2260
2432
  "kind": "method",
2261
2433
  "name": "reply",
@@ -2405,7 +2577,21 @@ export const TYPERT = {
2405
2577
  "name": "contextTimelineForAgent",
2406
2578
  "signature": "async contextTimelineForAgent(agent: Agent, request: AgentTeamTimelineToolRequest): Promise<AgentTeamTimelineToolResult>",
2407
2579
  "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 */"
2580
+ "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 */"
2581
+ },
2582
+ {
2583
+ "kind": "method",
2584
+ "name": "measureContextSourceForAgent",
2585
+ "signature": "measureContextSourceForAgent(agent: Agent, source: ContextTimelineSource): number | undefined",
2586
+ "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.",
2587
+ "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 */"
2588
+ },
2589
+ {
2590
+ "kind": "method",
2591
+ "name": "contextFoldConfig",
2592
+ "signature": "contextFoldConfig(): ContextProjectionConfig",
2593
+ "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.",
2594
+ "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
2595
  },
2410
2596
  {
2411
2597
  "kind": "method",
@@ -2455,6 +2641,10 @@ export const TYPERT = {
2455
2641
  "name": "AgentTeamAddMemberRequest",
2456
2642
  "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
2643
  },
2644
+ {
2645
+ "name": "AgentTeamAddMemberResult",
2646
+ "declaration": "export interface AgentTeamAddMemberResult extends AgentTeamMemberResult {\n readonly workspaceIds: readonly WorkspaceId[];\n}"
2647
+ },
2458
2648
  {
2459
2649
  "name": "AgentTeamAgentMember",
2460
2650
  "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 +2805,25 @@ export const TYPERT = {
2615
2805
  "name": "AgentTeamGetAttachmentResult",
2616
2806
  "declaration": "export interface AgentTeamGetAttachmentResult {\n readonly name: string;\n readonly mediaType: string;\n readonly byteSize: number;\n readonly bytesBase64: string;\n}"
2617
2807
  },
2808
+ {
2809
+ "name": "AgentTeamGetHumanAvatarRequest",
2810
+ "declaration": "export interface AgentTeamGetHumanAvatarRequest {\n readonly avatarRef: string;\n}"
2811
+ },
2812
+ {
2813
+ "name": "AgentTeamGetHumanAvatarResult",
2814
+ "declaration": "export interface AgentTeamGetHumanAvatarResult {\n readonly name: string;\n readonly mediaType: string;\n readonly byteSize: number;\n readonly bytesBase64: string;\n}"
2815
+ },
2816
+ {
2817
+ "name": "AgentTeamHumanProfileRequest",
2818
+ "declaration": "export interface AgentTeamHumanProfileRequest {\n}"
2819
+ },
2820
+ {
2821
+ "name": "AgentTeamHumanProfileResult",
2822
+ "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}"
2823
+ },
2618
2824
  {
2619
2825
  "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}"
2826
+ "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
2827
  },
2622
2828
  {
2623
2829
  "name": "AgentTeamInboxActor",
@@ -2735,6 +2941,14 @@ export const TYPERT = {
2735
2941
  "name": "AgentTeamPutAttachmentResult",
2736
2942
  "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
2943
  },
2944
+ {
2945
+ "name": "AgentTeamPutHumanAvatarRequest",
2946
+ "declaration": "export interface AgentTeamPutHumanAvatarRequest {\n readonly name: string;\n readonly mediaType?: string | undefined;\n readonly bytesBase64: string;\n}"
2947
+ },
2948
+ {
2949
+ "name": "AgentTeamPutHumanAvatarResult",
2950
+ "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}"
2951
+ },
2738
2952
  {
2739
2953
  "name": "AgentTeamRecoverMemberRequest",
2740
2954
  "declaration": "export interface AgentTeamRecoverMemberRequest {\n readonly requestId: AgentTeamRequestId;\n readonly workspaceId: WorkspaceId;\n readonly memberId: AgentTeamMemberId;\n}"
@@ -2751,6 +2965,14 @@ export const TYPERT = {
2751
2965
  "name": "AgentTeamRemoveChannelMemberResult",
2752
2966
  "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
2967
  },
2968
+ {
2969
+ "name": "AgentTeamRemoveHumanAvatarRequest",
2970
+ "declaration": "export interface AgentTeamRemoveHumanAvatarRequest {\n readonly avatarRef: string;\n}"
2971
+ },
2972
+ {
2973
+ "name": "AgentTeamRemoveHumanAvatarResult",
2974
+ "declaration": "export interface AgentTeamRemoveHumanAvatarResult {\n readonly removed: boolean;\n}"
2975
+ },
2754
2976
  {
2755
2977
  "name": "AgentTeamRemoveMemberRequest",
2756
2978
  "declaration": "export interface AgentTeamRemoveMemberRequest {\n readonly requestId: AgentTeamRequestId;\n readonly memberId: AgentTeamMemberId;\n}"
@@ -2779,6 +3001,10 @@ export const TYPERT = {
2779
3001
  "name": "AgentTeamResolvedTaskRef",
2780
3002
  "declaration": "export interface AgentTeamResolvedTaskRef {\n readonly taskRef: AgentTeamTaskRef;\n readonly channelRef: AgentTeamChannelRef;\n readonly threadRef: AgentTeamThreadRef;\n readonly taskNumber: number;\n}"
2781
3003
  },
3004
+ {
3005
+ "name": "AgentTeamResolvedThreadRef",
3006
+ "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}"
3007
+ },
2782
3008
  {
2783
3009
  "name": "AgentTeamResolveTaskRefsRequest",
2784
3010
  "declaration": "export interface AgentTeamResolveTaskRefsRequest {\n readonly workspaceId: WorkspaceId;\n readonly taskRefs: readonly AgentTeamTaskRef[];\n}"
@@ -2787,6 +3013,14 @@ export const TYPERT = {
2787
3013
  "name": "AgentTeamResolveTaskRefsResult",
2788
3014
  "declaration": "export interface AgentTeamResolveTaskRefsResult {\n readonly resolved: readonly AgentTeamResolvedTaskRef[];\n}"
2789
3015
  },
3016
+ {
3017
+ "name": "AgentTeamResolveThreadRefsRequest",
3018
+ "declaration": "export interface AgentTeamResolveThreadRefsRequest {\n readonly workspaceId: WorkspaceId;\n readonly threadRefs: readonly AgentTeamThreadRef[];\n}"
3019
+ },
3020
+ {
3021
+ "name": "AgentTeamResolveThreadRefsResult",
3022
+ "declaration": "export interface AgentTeamResolveThreadRefsResult {\n readonly resolved: readonly AgentTeamResolvedThreadRef[];\n}"
3023
+ },
2790
3024
  {
2791
3025
  "name": "AgentTeamRolloverSessionRequest",
2792
3026
  "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}"
@@ -2961,11 +3195,11 @@ export const TYPERT = {
2961
3195
  },
2962
3196
  {
2963
3197
  "name": "AssistantMessage",
2964
- "declaration": "export interface AssistantMessage extends MessageBase {\n readonly role: 'assistant';\n readonly source: ModelMessageSource;\n}"
3198
+ "declaration": "export interface AssistantMessage extends Message {\n readonly role: 'assistant';\n readonly source: ModelMessageSource;\n}"
2965
3199
  },
2966
3200
  {
2967
- "name": "AssistantProviderMetadata",
2968
- "declaration": "export interface AssistantProviderMetadata {\n provider: string;\n model: string;\n replayState?: unknown;\n}"
3201
+ "name": "AssistantProvenance",
3202
+ "declaration": "export interface AssistantProvenance {\n provider: string;\n model: string;\n replayState?: unknown;\n}"
2969
3203
  },
2970
3204
  {
2971
3205
  "name": "AssistantStreamRecord",
@@ -2988,12 +3222,12 @@ export const TYPERT = {
2988
3222
  "declaration": "export interface CancelOptions {\n keepInbox?: boolean | undefined;\n}"
2989
3223
  },
2990
3224
  {
2991
- "name": "CommandId",
2992
- "declaration": "export type CommandId = Branded<'CommandId'>;"
3225
+ "name": "CarriedCandidate",
3226
+ "declaration": "export interface CarriedCandidate {\n readonly messageId: string;\n readonly surfacedTurn: number;\n readonly consumed: boolean;\n}"
2993
3227
  },
2994
3228
  {
2995
- "name": "CompactionCheckpointSource",
2996
- "declaration": "export type CompactionCheckpointSource = typeof COMPACT_CHECKPOINT_MARKER & { readonly compactionId: CompactionId; readonly sourceCommandId?: CommandId; };"
3229
+ "name": "CommandId",
3230
+ "declaration": "export type CommandId = Branded<'CommandId'>;"
2997
3231
  },
2998
3232
  {
2999
3233
  "name": "CompactionId",
@@ -3005,27 +3239,75 @@ export const TYPERT = {
3005
3239
  },
3006
3240
  {
3007
3241
  "name": "ContentBlockMap",
3008
- "declaration": "export interface ContentBlockMap {\n text: TextBlock;\n reasoning: ReasoningBlock;\n image: ImageBlock;\n file: FileBlock;\n 'tool-call': ToolCallBlock;\n 'tool-addition': ToolAdditionBlock;\n 'tool-removal': ToolRemovalBlock;\n}"
3242
+ "declaration": "export interface ContentBlockMap {\n text: TextBlock;\n reasoning: ReasoningBlock;\n image: ImageBlock;\n file: FileBlock;\n 'tool-call': ToolCallBlock;\n 'tool-result': ToolResultBlock;\n}"
3009
3243
  },
3010
3244
  {
3011
3245
  "name": "ContentBlockType",
3012
3246
  "declaration": "export type ContentBlockType = keyof ContentBlockMap;"
3013
3247
  },
3248
+ {
3249
+ "name": "ContextCheckpointEntry",
3250
+ "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}"
3251
+ },
3252
+ {
3253
+ "name": "ContextContinuityHost",
3254
+ "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}"
3255
+ },
3014
3256
  {
3015
3257
  "name": "ContextFormed",
3016
3258
  "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
3259
  },
3260
+ {
3261
+ "name": "ContextHandoff",
3262
+ "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}"
3263
+ },
3264
+ {
3265
+ "name": "ContextMessageCodec",
3266
+ "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}"
3267
+ },
3268
+ {
3269
+ "name": "ContextProjectionConfig",
3270
+ "declaration": "export interface ContextProjectionConfig {\n readonly codec: ContextMessageCodec;\n readonly host: ContextProjectionHost;\n readonly rolloverToolNames?: readonly string[];\n readonly checkpointToolName?: string;\n}"
3271
+ },
3272
+ {
3273
+ "name": "ContextProjectionHost",
3274
+ "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}"
3275
+ },
3276
+ {
3277
+ "name": "ContextProjectionState",
3278
+ "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}"
3279
+ },
3018
3280
  {
3019
3281
  "name": "ContextSnapshotSection",
3020
3282
  "declaration": "export interface ContextSnapshotSection {\n readonly name: string;\n readonly text: string;\n}"
3021
3283
  },
3022
3284
  {
3023
- "name": "DeveloperMessage",
3024
- "declaration": "export interface DeveloperMessage extends MessageBase {\n readonly role: 'developer';\n}"
3285
+ "name": "ContextSubject",
3286
+ "declaration": "export interface ContextSubject<SubjectId> {\n readonly id: SubjectId;\n readonly sessionId: SessionId;\n}"
3287
+ },
3288
+ {
3289
+ "name": "ContextTimelineSource",
3290
+ "declaration": "export interface ContextTimelineSource {\n readonly sessionId: SessionId;\n readonly header: SessionHeader;\n readonly inheritedEventCount: SessionLogOffset;\n readonly events: readonly SessionEvent[];\n}"
3291
+ },
3292
+ {
3293
+ "name": "ContinuationDeliveryState",
3294
+ "declaration": "export interface ContinuationDeliveryState {\n readonly checkpointRef: string;\n readonly deliveredSeq: number;\n}"
3295
+ },
3296
+ {
3297
+ "name": "DomainBoundary",
3298
+ "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}"
3299
+ },
3300
+ {
3301
+ "name": "DomainBoundaryContribution",
3302
+ "declaration": "export interface DomainBoundaryContribution {\n readonly kind: string;\n readonly label: string;\n readonly topics: readonly string[];\n}"
3303
+ },
3304
+ {
3305
+ "name": "DomainBoundaryInput",
3306
+ "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; });"
3025
3307
  },
3026
3308
  {
3027
3309
  "name": "EpochHeader",
3028
- "declaration": "export interface EpochHeader {\n config: LlmCallConfig;\n adapterDefaults?: LlmCallConfigAdapterDefaults;\n tools?: ToolSchema[];\n system?: never;\n}"
3310
+ "declaration": "export interface EpochHeader {\n config: LlmCallConfig;\n adapterDefaults?: LlmCallConfigAdapterDefaults;\n tools?: ToolSchema[];\n}"
3029
3311
  },
3030
3312
  {
3031
3313
  "name": "FileAttachmentRef",
@@ -3043,13 +3325,17 @@ export const TYPERT = {
3043
3325
  "name": "FinishReasonMap",
3044
3326
  "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
3327
  },
3328
+ {
3329
+ "name": "HandoffInput",
3330
+ "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}"
3331
+ },
3046
3332
  {
3047
3333
  "name": "ImageAttachmentRef",
3048
3334
  "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}"
3049
3335
  },
3050
3336
  {
3051
3337
  "name": "ImageBlock",
3052
- "declaration": "export interface ImageBlock {\n type: 'image';\n attachment: ImageAttachmentRef;\n offloaded?: true;\n}"
3338
+ "declaration": "export interface ImageBlock {\n type: 'image';\n attachment: ImageAttachmentRef;\n}"
3053
3339
  },
3054
3340
  {
3055
3341
  "name": "ImageMediaType",
@@ -3077,35 +3363,31 @@ export const TYPERT = {
3077
3363
  },
3078
3364
  {
3079
3365
  "name": "LlmFailure",
3080
- "declaration": "export interface LlmFailure {\n readonly message: string;\n readonly code: string;\n readonly status?: number;\n readonly providerRetryAfterMs?: number;\n readonly requestId?: ProviderRequestId;\n readonly offloadImages?: number;\n}"
3366
+ "declaration": "export interface LlmFailure {\n readonly message: string;\n readonly code: string;\n readonly status?: number;\n readonly providerRetryAfterMs?: number;\n readonly requestId?: ProviderRequestId;\n}"
3081
3367
  },
3082
3368
  {
3083
3369
  "name": "Message",
3084
- "declaration": "export type Message = MessageRoleMap[keyof MessageRoleMap];"
3085
- },
3086
- {
3087
- "name": "MessageBase",
3088
- "declaration": "export interface MessageBase {\n readonly id: MessageId;\n readonly content: readonly ContentBlock[];\n readonly source: MessageSource;\n}"
3370
+ "declaration": "export interface Message {\n readonly id: MessageId;\n readonly role: 'system' | 'user' | 'assistant';\n readonly content: ContentBlock[];\n readonly source: MessageSource;\n}"
3089
3371
  },
3090
3372
  {
3091
3373
  "name": "MessageId",
3092
3374
  "declaration": "export type MessageId = Branded<'MessageId'>;"
3093
3375
  },
3094
- {
3095
- "name": "MessageRoleMap",
3096
- "declaration": "export interface MessageRoleMap {\n system: SystemMessage;\n developer: DeveloperMessage;\n user: UserMessage;\n assistant: AssistantMessage;\n tool: ToolResultMessage;\n}"
3097
- },
3098
3376
  {
3099
3377
  "name": "MessageSource",
3100
3378
  "declaration": "export type MessageSource = MessageSourceMap[keyof MessageSourceMap];"
3101
3379
  },
3102
3380
  {
3103
3381
  "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}"
3382
+ "declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n plugin: { kind: 'plugin'; plugin: string; } & ContextFormed;\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'skill-invocation': SkillInvocationSource;\n}"
3105
3383
  },
3106
3384
  {
3107
3385
  "name": "ModelMessageSource",
3108
- "declaration": "export interface ModelMessageSource extends AssistantProviderMetadata {\n kind: 'model';\n}"
3386
+ "declaration": "export interface ModelMessageSource extends AssistantProvenance {\n kind: 'model';\n}"
3387
+ },
3388
+ {
3389
+ "name": "PendingRolloverIntent",
3390
+ "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}"
3109
3391
  },
3110
3392
  {
3111
3393
  "name": "ProviderRequestId",
@@ -3113,7 +3395,7 @@ export const TYPERT = {
3113
3395
  },
3114
3396
  {
3115
3397
  "name": "PtcDispatchEventData",
3116
- "declaration": "export interface PtcDispatchEventData extends PtcDispatchStartEventData {\n isError: boolean;\n content: ContentBlock[];\n error?: { name: string; code: string; reason?: string; };\n}"
3398
+ "declaration": "export interface PtcDispatchEventData extends PtcDispatchStartEventData {\n isError: boolean;\n content: ContentBlock[];\n}"
3117
3399
  },
3118
3400
  {
3119
3401
  "name": "PtcDispatchStartEventData",
@@ -3127,6 +3409,10 @@ export const TYPERT = {
3127
3409
  "name": "ReasoningEffortId",
3128
3410
  "declaration": "export type ReasoningEffortId = Branded<'ReasoningEffortId'>;"
3129
3411
  },
3412
+ {
3413
+ "name": "RelatedFile",
3414
+ "declaration": "export interface RelatedFile {\n readonly path: string;\n readonly reason: string;\n}"
3415
+ },
3130
3416
  {
3131
3417
  "name": "ReplayEnvelope",
3132
3418
  "declaration": "export interface ReplayEnvelope {\n response: unknown;\n blocks?: readonly unknown[];\n}"
@@ -3139,13 +3425,21 @@ export const TYPERT = {
3139
3425
  "name": "RequestHeaderReason",
3140
3426
  "declaration": "export type RequestHeaderReason = 'initial' | 'resume' | 'change' | 'series';"
3141
3427
  },
3428
+ {
3429
+ "name": "RolloverIdentity",
3430
+ "declaration": "export interface RolloverIdentity {\n readonly newSessionId: SessionId;\n readonly requestId: string;\n}"
3431
+ },
3432
+ {
3433
+ "name": "RolloverTrigger",
3434
+ "declaration": "export type RolloverTrigger = 'model' | 'pressure';"
3435
+ },
3142
3436
  {
3143
3437
  "name": "SandboxMode",
3144
3438
  "declaration": "export type SandboxMode = 'read-only' | 'workspace-write' | 'danger-full-access';"
3145
3439
  },
3146
3440
  {
3147
3441
  "name": "Session",
3148
- "declaration": "export class Session {\n get surface(): SessionSurface;\n readonly header: SessionHeader;\n readonly inheritedEventCount: SessionLogOffset;\n get id(): SessionId;\n readonly firstLiveSeq: SessionLogOffset;\n readonly firstLifecycleSeq: SessionLogOffset;\n eventAt(seq: SessionSeq): SessionEvent | undefined;\n snapshotEvents(fromSeq: SessionLogOffset = SessionLogOffset(0), toSeqExclusive: SessionLogOffset = this.seq): readonly SessionEvent[];\n ownEvents(): readonly SessionEvent[];\n isOwnSeq(seq: SessionSeq): boolean;\n get seq(): SessionLogOffset;\n append<T extends SessionEventType>(type: T, data: SessionEventMap[T], ...opts: T extends SurfaceEventType ? [opts: SurfaceIntent<T>] : []): SessionEvent<T>;\n requestHeader(): EpochHeader | undefined;\n requestContext(): RequestContext | undefined;\n deriveMessages(): Message[];\n deriveEventMessage(event: SessionEvent): Message | null;\n}"
3442
+ "declaration": "export class Session {\n get surface(): SessionSurface;\n readonly header: SessionHeader;\n readonly inheritedEventCount: SessionLogOffset;\n get id(): SessionId;\n readonly firstLiveSeq: SessionLogOffset;\n eventAt(seq: SessionSeq): SessionEvent | undefined;\n snapshotEvents(fromSeq: SessionLogOffset = SessionLogOffset(0), toSeqExclusive: SessionLogOffset = this.seq): readonly SessionEvent[];\n ownEvents(): readonly SessionEvent[];\n isOwnSeq(seq: SessionSeq): boolean;\n get seq(): SessionLogOffset;\n append<T extends SessionEventType>(type: T, data: SessionEventMap[T], ...opts: T extends SurfaceEventType ? [opts: SurfaceIntent<T>] : []): SessionEvent<T>;\n requestHeader(): EpochHeader | undefined;\n requestContext(): RequestContext | undefined;\n deriveMessages(): Message[];\n deriveEventMessage(event: SessionEvent): Message | null;\n}"
3149
3443
  },
3150
3444
  {
3151
3445
  "name": "SessionEvent",
@@ -3153,7 +3447,7 @@ export const TYPERT = {
3153
3447
  },
3154
3448
  {
3155
3449
  "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}"
3450
+ "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 '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; }; 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 '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 'session/title': SessionTitleEventData;\n 'todo/write': { todos: TodoItem[]; };\n 'agent-preset/selected': { agentPreset: string; };\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\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
3451
  },
3158
3452
  {
3159
3453
  "name": "SessionEventType",
@@ -3177,7 +3471,23 @@ export const TYPERT = {
3177
3471
  },
3178
3472
  {
3179
3473
  "name": "SessionSurface",
3180
- "declaration": "export interface SessionSurface {\n readonly nodes: readonly SessionSeq[];\n readonly replaceGeneration: number;\n readonly contentGeneration: number;\n}"
3474
+ "declaration": "export interface SessionSurface {\n readonly nodes: readonly SessionSeq[];\n readonly replaceGeneration: number;\n}"
3475
+ },
3476
+ {
3477
+ "name": "SessionTitleEventData",
3478
+ "declaration": "export interface SessionTitleEventData {\n readonly title: string;\n readonly messageSeqs: SessionSeq[];\n readonly source: SessionTitleSource;\n}"
3479
+ },
3480
+ {
3481
+ "name": "SessionTitleModelProvenance",
3482
+ "declaration": "export interface SessionTitleModelProvenance {\n readonly provider: string;\n readonly model: string;\n}"
3483
+ },
3484
+ {
3485
+ "name": "SessionTitleProviderId",
3486
+ "declaration": "export type SessionTitleProviderId = Branded<'SessionTitleProviderId'>;"
3487
+ },
3488
+ {
3489
+ "name": "SessionTitleSource",
3490
+ "declaration": "export type SessionTitleSource = { readonly kind: 'fallback'; } | { readonly kind: 'provider'; readonly provider: SessionTitleProviderId; readonly model?: SessionTitleModelProvenance; } | { readonly kind: 'user'; };"
3181
3491
  },
3182
3492
  {
3183
3493
  "name": "SkillInvocationSource",
@@ -3187,9 +3497,13 @@ export const TYPERT = {
3187
3497
  "name": "StreamChunk",
3188
3498
  "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
3499
  },
3500
+ {
3501
+ "name": "SubjectResolver",
3502
+ "declaration": "export interface SubjectResolver<SubjectId> {\n agentForSubject(id: SubjectId): Agent | undefined;\n subjectForAgent(agent: Agent): ContextSubject<SubjectId> | undefined;\n}"
3503
+ },
3190
3504
  {
3191
3505
  "name": "SurfaceEventType",
3192
- "declaration": "export type SurfaceEventType = 'system/message' | 'developer/message' | 'user/message' | 'assistant/message' | 'tool/result';"
3506
+ "declaration": "export type SurfaceEventType = 'system/message' | 'user/message' | 'assistant/message' | 'tool/result';"
3193
3507
  },
3194
3508
  {
3195
3509
  "name": "SurfaceIntent",
@@ -3201,11 +3515,7 @@ export const TYPERT = {
3201
3515
  },
3202
3516
  {
3203
3517
  "name": "SystemMessage",
3204
- "declaration": "export interface SystemMessage extends MessageBase {\n readonly role: 'system';\n readonly source: MessageSourceMap['system-prompt'];\n}"
3205
- },
3206
- {
3207
- "name": "SystemPromptMessageSource",
3208
- "declaration": "export interface SystemPromptMessageSource {\n kind: 'system-prompt';\n}"
3518
+ "declaration": "export interface SystemMessage extends Message {\n readonly role: 'system';\n readonly source: MessageSourceMap['plugin'];\n}"
3209
3519
  },
3210
3520
  {
3211
3521
  "name": "SystemPromptUpdate",
@@ -3216,12 +3526,12 @@ export const TYPERT = {
3216
3526
  "declaration": "export interface TextBlock {\n type: 'text';\n text: string;\n}"
3217
3527
  },
3218
3528
  {
3219
- "name": "TokenUsage",
3220
- "declaration": "export interface TokenUsage {\n inputTokens: number;\n outputTokens: number;\n totalTokens?: number;\n cacheReadTokens?: number;\n cacheWriteTokens?: number;\n reasoningTokens?: number;\n}"
3529
+ "name": "TodoItem",
3530
+ "declaration": "export interface TodoItem {\n content: string;\n status: 'pending' | 'in_progress' | 'completed';\n}"
3221
3531
  },
3222
3532
  {
3223
- "name": "ToolAdditionBlock",
3224
- "declaration": "export interface ToolAdditionBlock {\n type: 'tool-addition';\n toolName: string;\n tool?: never;\n}"
3533
+ "name": "TokenUsage",
3534
+ "declaration": "export interface TokenUsage {\n inputTokens: number;\n outputTokens: number;\n totalTokens?: number;\n cacheReadTokens?: number;\n cacheWriteTokens?: number;\n reasoningTokens?: number;\n}"
3225
3535
  },
3226
3536
  {
3227
3537
  "name": "ToolCallBlock",
@@ -3236,16 +3546,20 @@ export const TYPERT = {
3236
3546
  "declaration": "export interface ToolMessageSource {\n kind: 'tool';\n callId: ToolCallId;\n}"
3237
3547
  },
3238
3548
  {
3239
- "name": "ToolRemovalBlock",
3240
- "declaration": "export interface ToolRemovalBlock {\n type: 'tool-removal';\n toolName: string;\n}"
3549
+ "name": "ToolResultBlock",
3550
+ "declaration": "export interface ToolResultBlock {\n type: 'tool-result';\n toolCallId: ToolCallId;\n content: ContentBlock[];\n isError?: boolean;\n}"
3241
3551
  },
3242
3552
  {
3243
3553
  "name": "ToolResultMessage",
3244
- "declaration": "export interface ToolResultMessage extends MessageBase {\n readonly role: 'tool';\n readonly source: ToolMessageSource;\n readonly toolCallId: ToolCallId;\n readonly isError?: boolean;\n}"
3554
+ "declaration": "export interface ToolResultMessage extends Message {\n readonly role: 'user';\n readonly content: [ToolResultBlock];\n readonly source: ToolMessageSource;\n}"
3245
3555
  },
3246
3556
  {
3247
3557
  "name": "ToolSchema",
3248
- "declaration": "export interface ToolSchema {\n deferLoading?: true;\n name: string;\n description: string;\n parameters: Record<string, unknown>;\n}"
3558
+ "declaration": "export interface ToolSchema {\n name: string;\n description: string;\n parameters: Record<string, unknown>;\n}"
3559
+ },
3560
+ {
3561
+ "name": "TransitionPlan",
3562
+ "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}"
3249
3563
  },
3250
3564
  {
3251
3565
  "name": "TurnEndCancelCause",
@@ -3257,11 +3571,11 @@ export const TYPERT = {
3257
3571
  },
3258
3572
  {
3259
3573
  "name": "TurnEndReasonMap",
3260
- "declaration": "export interface TurnEndReasonMap {\n completed: { kind: 'completed'; };\n aborted: { kind: 'aborted'; reason: TurnEndCancelCause; };\n blocked: { kind: 'blocked'; };\n error: { kind: 'error'; error: LlmFailure; };\n 'max-tokens': { kind: 'max-tokens'; };\n interrupted: { kind: 'interrupted'; };\n forked: { kind: 'forked'; };\n}"
3574
+ "declaration": "export interface TurnEndReasonMap {\n completed: { kind: 'completed'; };\n aborted: { kind: 'aborted'; reason: TurnEndCancelCause; };\n blocked: { kind: 'blocked'; };\n error: { kind: 'error'; error: LlmFailure; };\n 'max-tokens': { kind: 'max-tokens'; };\n interrupted: { kind: 'interrupted'; };\n}"
3261
3575
  },
3262
3576
  {
3263
3577
  "name": "UserMessage",
3264
- "declaration": "export interface UserMessage extends MessageBase {\n readonly role: 'user';\n}"
3578
+ "declaration": "export interface UserMessage extends Message {\n readonly role: 'user';\n}"
3265
3579
  },
3266
3580
  {
3267
3581
  "name": "WorkspaceId",