@wowyuarm/dsh-agent-team 0.1.14 → 0.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/README.md +2 -2
  2. package/README.zh.md +2 -2
  3. package/cordis.patch.yml +187 -2
  4. package/package.json +49 -50
  5. package/packages/agent-team/README.md +1 -1
  6. package/packages/agent-team/README.zh.md +1 -1
  7. package/packages/agent-team/lib/context-continuity-host.js +2 -3
  8. package/packages/agent-team/lib/context-projection.js +3 -3
  9. package/packages/agent-team/lib/context-source.js +34 -13
  10. package/packages/agent-team/lib/human-profile.js +123 -12
  11. package/packages/agent-team/lib/index.js +165 -99
  12. package/packages/agent-team/lib/member-context.js +5 -3
  13. package/packages/agent-team/lib/member-time-context.js +5 -2
  14. package/packages/agent-team/lib/pressure-policy.js +5 -3
  15. package/packages/agent-team/lib/stored-session-reader.js +1 -2
  16. package/packages/agent-team/lib/typert.host.js +394 -252
  17. package/packages/agent-team/lib/typert.remote-client.d.ts +6 -3
  18. package/packages/agent-team/lib/typert.remote-client.d.ts.map +1 -1
  19. package/packages/agent-team/lib/typert.remote-client.js +322 -223
  20. package/packages/agent-team/lib/types/context-continuity-host.d.ts.map +1 -1
  21. package/packages/agent-team/lib/types/context-source.d.ts +46 -13
  22. package/packages/agent-team/lib/types/context-source.d.ts.map +1 -1
  23. package/packages/agent-team/lib/types/human-profile.d.ts +83 -11
  24. package/packages/agent-team/lib/types/human-profile.d.ts.map +1 -1
  25. package/packages/agent-team/lib/types/index.d.ts +64 -26
  26. package/packages/agent-team/lib/types/index.d.ts.map +1 -1
  27. package/packages/agent-team/lib/types/member-context.d.ts +14 -0
  28. package/packages/agent-team/lib/types/member-context.d.ts.map +1 -1
  29. package/packages/agent-team/lib/types/member-time-context.d.ts +15 -0
  30. package/packages/agent-team/lib/types/member-time-context.d.ts.map +1 -1
  31. package/packages/agent-team/lib/types/pressure-policy.d.ts.map +1 -1
  32. package/packages/agent-team/lib/types/stored-session-reader.d.ts +1 -2
  33. package/packages/agent-team/lib/types/stored-session-reader.d.ts.map +1 -1
  34. package/packages/agent-team/lib/types/types/entities.d.ts +3 -3
  35. package/packages/agent-team/lib/types/types/requests-results.d.ts +18 -0
  36. package/packages/agent-team/lib/types/types/requests-results.d.ts.map +1 -1
  37. package/packages/client-agent-team/README.md +1 -1
  38. package/packages/client-agent-team/README.zh.md +1 -1
  39. package/packages/client-agent-team/lib/client.js +330 -239
  40. package/packages/client-agent-team/lib/client.js.map +1 -1
  41. package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.js +6 -6
  42. package/packages/client-agent-team/lib/types/client/TeamChannelPage.js +3 -3
  43. package/packages/client-agent-team/lib/types/client/TeamChannelsPanel.js +4 -4
  44. package/packages/client-agent-team/lib/types/client/TeamComposer.js +3 -3
  45. package/packages/client-agent-team/lib/types/client/TeamFooterAction.js +2 -2
  46. package/packages/client-agent-team/lib/types/client/TeamMemberEditor.js +3 -3
  47. package/packages/client-agent-team/lib/types/client/TeamMembersAction.js +2 -2
  48. package/packages/client-agent-team/lib/types/client/TeamMessage.d.ts.map +1 -1
  49. package/packages/client-agent-team/lib/types/client/TeamMessage.js +1 -1
  50. package/packages/client-agent-team/lib/types/client/TeamRowMenu.d.ts.map +1 -1
  51. package/packages/client-agent-team/lib/types/client/TeamRowMenu.js +2 -2
  52. package/packages/client-agent-team/lib/types/client/TeamSidebarSection.js +2 -2
  53. package/packages/client-agent-team/lib/types/client/TeamThreadPage.js +3 -3
  54. package/packages/client-agent-team/lib/types/client/TeamWorkspaceBrowser.js +3 -3
  55. package/packages/client-agent-team/lib/types/client/TeamWorkspaceSelector.js +2 -2
  56. package/packages/client-agent-team/lib/types/client/human-identity.d.ts +4 -8
  57. package/packages/client-agent-team/lib/types/client/human-identity.d.ts.map +1 -1
  58. package/packages/client-agent-team/lib/types/client/human-identity.js +0 -21
  59. package/packages/client-agent-team/lib/types/client/index.d.ts.map +1 -1
  60. package/packages/client-agent-team/lib/types/client/index.js +50 -49
  61. package/packages/client-agent-team/lib/types/client/multi-menu-field.js +2 -2
  62. package/packages/client-agent-team/lib/types/client/slots.d.ts +1 -1
  63. package/packages/tool-agent-team/README.md +1 -1
  64. package/packages/tool-agent-team/README.zh.md +1 -1
  65. package/packages/agent-team/lib/preset-roster.js +0 -15
  66. package/packages/agent-team/lib/session-remediation.js +0 -493
  67. package/packages/agent-team/lib/types/preset-roster.d.ts +0 -5
  68. package/packages/agent-team/lib/types/preset-roster.d.ts.map +0 -1
  69. package/packages/agent-team/lib/types/session-remediation.d.ts +0 -172
  70. package/packages/agent-team/lib/types/session-remediation.d.ts.map +0 -1
  71. package/packages/agent-team/preset/team-member/agent.cordis.yml +0 -166
@@ -1,7 +1,8 @@
1
1
  /* Generated by @deepseek-ai/dsh-typert-generator from FaceModel — do not edit. */
2
2
  import { z } from 'zod'
3
3
 
4
- const _wowyuarm_dsh_agent_team_agentTeam_addMember_parameter_0$schema = z.object({
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({
5
6
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
6
7
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
7
8
  'handle': z.string().readonly(),
@@ -21,8 +22,9 @@ const _wowyuarm_dsh_agent_team_agentTeam_addMember_parameter_0$schema = z.object
21
22
  })]).readonly().optional(),
22
23
  }).readonly().optional(),
23
24
  'channelRefs': z.array(z.intersection(z.string(), z.unknown())).readonly(),
24
- })
25
- const _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema = z.object({
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({
26
28
  'workspaceIds': z.array(z.intersection(z.string(), z.unknown())).readonly(),
27
29
  'receipt': z.object({
28
30
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -71,13 +73,15 @@ const _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema = z.object({
71
73
  'knownNames': z.array(z.string()).readonly(),
72
74
  }))]).readonly().optional(),
73
75
  }).readonly(),
74
- })
75
- const _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema = z.object({
76
+ }))
77
+ let _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema$value
78
+ const _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema$value ??= z.object({
76
79
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
77
80
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
78
81
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
79
- })
80
- const _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema = z.object({
82
+ }))
83
+ let _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema$value
84
+ const _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema$value ??= z.object({
81
85
  'receipt': z.object({
82
86
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
83
87
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -101,12 +105,14 @@ const _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema = z.object
101
105
  'normalizedDirection': z.string().readonly(),
102
106
  'state': z.union([z.literal("active"), z.literal("done"), z.literal("released")]).readonly(),
103
107
  })).readonly(),
104
- })
105
- const _wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema = z.object({
108
+ }))
109
+ let _wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema$value
110
+ const _wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema$value ??= z.object({
106
111
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
107
112
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
108
- })
109
- const _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema = z.object({
113
+ }))
114
+ let _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema$value
115
+ const _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema$value ??= z.object({
110
116
  'receipt': z.object({
111
117
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
112
118
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -149,15 +155,17 @@ const _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema = z.object(
149
155
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
150
156
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
151
157
  })).readonly(),
152
- })
153
- const _wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema = z.object({
158
+ }))
159
+ let _wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema$value
160
+ const _wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema$value ??= z.object({
154
161
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
155
162
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
156
163
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
157
164
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
158
165
  'action': z.union([z.literal("follow"), z.literal("unfollow")]).readonly(),
159
- })
160
- const _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema = z.object({
166
+ }))
167
+ let _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema$value
168
+ const _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema$value ??= z.object({
161
169
  'receipt': z.object({
162
170
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
163
171
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -182,8 +190,9 @@ const _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema = z.objec
182
190
  'startSequence': z.number().readonly(),
183
191
  'readThroughSequence': z.number().readonly(),
184
192
  }).readonly().optional(),
185
- })
186
- const _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema = z.object({
193
+ }))
194
+ let _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema$value
195
+ const _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema$value ??= z.object({
187
196
  'scope': z.union([z.object({
188
197
  'kind': z.literal("workspace").readonly(),
189
198
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -197,18 +206,21 @@ const _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema = z.object({
197
206
  'kind': z.literal("presence").readonly(),
198
207
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
199
208
  })]).readonly().optional(),
200
- })
201
- const _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema = z.object({
209
+ }))
210
+ let _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema$value
211
+ const _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_changes_result$schema$value ??= z.object({
202
212
  'version': z.number().readonly(),
203
- })
204
- const _wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema = z.object({
213
+ }))
214
+ let _wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema$value
215
+ const _wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema$value ??= z.object({
205
216
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
206
217
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
207
218
  'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
208
219
  'action': z.union([z.literal("accept"), z.literal("close"), z.literal("reopen")]).readonly(),
209
220
  'baseRevision': z.number().readonly(),
210
- })
211
- const _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema = z.union([z.object({
221
+ }))
222
+ let _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema$value
223
+ const _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema$value ??= z.union([z.object({
212
224
  'kind': z.literal("committed").readonly(),
213
225
  'receipt': z.object({
214
226
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -261,13 +273,15 @@ const _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema = z.union([z.o
261
273
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
262
274
  'expectedRevision': z.number().readonly(),
263
275
  'revision': z.number().readonly(),
264
- })])
265
- const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema = z.object({
276
+ })]))
277
+ let _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema$value
278
+ const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema$value ??= z.object({
266
279
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
267
280
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
268
281
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
269
- })
270
- const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema = z.object({
282
+ }))
283
+ let _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema$value
284
+ const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema$value ??= z.object({
271
285
  'receipt': z.object({
272
286
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
273
287
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -315,15 +329,17 @@ const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema = z.ob
315
329
  'knownNames': z.array(z.string()).readonly(),
316
330
  }))]).readonly().optional(),
317
331
  }).readonly(),
318
- })
319
- const _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema = z.object({
332
+ }))
333
+ let _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema$value
334
+ const _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema$value ??= z.object({
320
335
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
321
336
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
322
337
  'name': z.string().readonly(),
323
338
  'description': z.string().readonly(),
324
339
  'memberIds': z.array(z.intersection(z.string(), z.unknown())).readonly().optional(),
325
- })
326
- const _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema = z.object({
340
+ }))
341
+ let _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema$value
342
+ const _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema$value ??= z.object({
327
343
  'receipt': z.object({
328
344
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
329
345
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -339,39 +355,47 @@ const _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema = z.object(
339
355
  'state': z.union([z.literal("archived"), z.literal("active")]).readonly(),
340
356
  }).readonly(),
341
357
  'memberIds': z.array(z.intersection(z.string(), z.unknown())).readonly(),
342
- })
343
- const _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema = z.object({
358
+ }))
359
+ let _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema$value
360
+ const _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema$value ??= z.object({
344
361
  'attachmentId': z.intersection(z.string(), z.unknown()).readonly(),
345
- })
346
- const _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema = z.object({
362
+ }))
363
+ let _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema$value
364
+ const _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema$value ??= z.object({
347
365
  'name': z.string().readonly(),
348
366
  'mediaType': z.string().readonly(),
349
367
  'byteSize': z.number().readonly(),
350
368
  'bytesBase64': z.string().readonly(),
351
- })
352
- const _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_parameter_0$schema = z.object({
369
+ }))
370
+ let _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_parameter_0$schema$value
371
+ const _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_parameter_0$schema$value ??= z.object({
353
372
  'avatarRef': z.string().readonly(),
354
- })
355
- const _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_result$schema = z.object({
373
+ }))
374
+ let _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_result$schema$value
375
+ const _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_result$schema$value ??= z.object({
356
376
  'name': z.string().readonly(),
357
377
  'mediaType': z.string().readonly(),
358
378
  'byteSize': z.number().readonly(),
359
379
  '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({
380
+ }))
381
+ let _wowyuarm_dsh_agent_team_agentTeam_humanProfile_parameter_0$schema$value
382
+ const _wowyuarm_dsh_agent_team_agentTeam_humanProfile_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_humanProfile_parameter_0$schema$value ??= z.object({}))
383
+ let _wowyuarm_dsh_agent_team_agentTeam_humanProfile_result$schema$value
384
+ const _wowyuarm_dsh_agent_team_agentTeam_humanProfile_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_humanProfile_result$schema$value ??= z.object({
363
385
  'name': z.string().readonly(),
364
386
  'avatarRef': z.union([z.undefined(), z.string()]).readonly().optional(),
365
387
  'version': z.string().readonly(),
366
388
  'repoUrl': z.string().readonly(),
367
389
  'updateAvailable': z.boolean().readonly(),
368
390
  'latestVersion': z.union([z.undefined(), z.string()]).readonly().optional(),
369
- })
370
- const _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema = z.object({
391
+ }))
392
+ let _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema$value
393
+ const _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema$value ??= z.object({
371
394
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
372
395
  'limit': z.number().readonly().optional(),
373
- })
374
- const _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema = z.object({
396
+ }))
397
+ let _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema$value
398
+ const _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema$value ??= z.object({
375
399
  'humanMemberId': z.intersection(z.string(), z.unknown()).readonly(),
376
400
  'items': z.array(z.object({
377
401
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -449,14 +473,16 @@ const _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema = z.object({
449
473
  })).readonly(),
450
474
  'totalUnreadCount': z.number().readonly(),
451
475
  'totalDirectCount': z.number().readonly(),
452
- })
453
- const _wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema = z.object({
476
+ }))
477
+ let _wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema$value
478
+ const _wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema$value ??= z.object({
454
479
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
455
480
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
456
481
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
457
482
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
458
- })
459
- const _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema = z.object({
483
+ }))
484
+ let _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema$value
485
+ const _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema$value ??= z.object({
460
486
  'receipt': z.object({
461
487
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
462
488
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -465,13 +491,15 @@ const _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema = z.object({
465
491
  }).readonly(),
466
492
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
467
493
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
468
- })
469
- const _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema = z.object({
494
+ }))
495
+ let _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema$value
496
+ const _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema$value ??= z.object({
470
497
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
471
498
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
472
499
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
473
- })
474
- const _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema = z.object({
500
+ }))
501
+ let _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema$value
502
+ const _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema$value ??= z.object({
475
503
  'receipt': z.object({
476
504
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
477
505
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -480,13 +508,15 @@ const _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema = z.object(
480
508
  }).readonly(),
481
509
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
482
510
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
483
- })
484
- const _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema = z.object({
511
+ }))
512
+ let _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema$value
513
+ const _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema$value ??= z.object({
485
514
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
486
515
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
487
516
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
488
- })
489
- const _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema = z.object({
517
+ }))
518
+ let _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema$value
519
+ const _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema$value ??= z.object({
490
520
  'receipt': z.object({
491
521
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
492
522
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -508,11 +538,13 @@ const _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema = z.object
508
538
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
509
539
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
510
540
  })).readonly(),
511
- })
512
- const _wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema = z.object({
541
+ }))
542
+ let _wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema$value
543
+ const _wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema$value ??= z.object({
513
544
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly().optional(),
514
- })
515
- const _wowyuarm_dsh_agent_team_agentTeam_members_result$schema = z.array(z.object({
545
+ }))
546
+ let _wowyuarm_dsh_agent_team_agentTeam_members_result$schema$value
547
+ const _wowyuarm_dsh_agent_team_agentTeam_members_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_members_result$schema$value ??= z.array(z.object({
516
548
  'member': z.object({
517
549
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
518
550
  'sessionId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -552,14 +584,16 @@ const _wowyuarm_dsh_agent_team_agentTeam_members_result$schema = z.array(z.objec
552
584
  'name': z.string().readonly(),
553
585
  'knownNames': z.array(z.string()).readonly(),
554
586
  }))]).readonly().optional(),
555
- }))
556
- const _wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema = z.object({
587
+ })))
588
+ let _wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema$value
589
+ const _wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema$value ??= z.object({
557
590
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
558
591
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
559
592
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
560
593
  'baseRevision': z.number().readonly(),
561
- })
562
- const _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema = z.union([z.object({
594
+ }))
595
+ let _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema$value
596
+ const _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema$value ??= z.union([z.object({
563
597
  'kind': z.literal("unread_required").readonly(),
564
598
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
565
599
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
@@ -603,40 +637,46 @@ const _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema = z.union([
603
637
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
604
638
  'revision': z.number().readonly(),
605
639
  }).readonly(),
606
- })])
607
- const _wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema = z.object({
640
+ })]))
641
+ let _wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema$value
642
+ const _wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema$value ??= z.object({
608
643
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
609
644
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
610
645
  'name': z.string().readonly(),
611
646
  'mediaType': z.union([z.undefined(), z.string()]).readonly().optional(),
612
647
  'bytesBase64': z.string().readonly(),
613
- })
614
- const _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema = z.object({
648
+ }))
649
+ let _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema$value
650
+ const _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema$value ??= z.object({
615
651
  'attachmentId': z.intersection(z.string(), z.unknown()).readonly(),
616
652
  'path': z.string().readonly(),
617
653
  'name': z.string().readonly(),
618
654
  'byteSize': z.number().readonly(),
619
655
  'mediaType': z.string().readonly(),
620
- })
621
- const _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_parameter_0$schema = z.object({
656
+ }))
657
+ let _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_parameter_0$schema$value
658
+ const _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_parameter_0$schema$value ??= z.object({
622
659
  'name': z.string().readonly(),
623
660
  'mediaType': z.union([z.undefined(), z.string()]).readonly().optional(),
624
661
  'bytesBase64': z.string().readonly(),
625
- })
626
- const _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_result$schema = z.object({
662
+ }))
663
+ let _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_result$schema$value
664
+ const _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_result$schema$value ??= z.object({
627
665
  'avatarRef': z.string().readonly(),
628
666
  'path': z.string().readonly(),
629
667
  'name': z.string().readonly(),
630
668
  'byteSize': z.number().readonly(),
631
669
  'mediaType': z.string().readonly(),
632
- })
633
- const _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema = z.object({
670
+ }))
671
+ let _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema$value
672
+ const _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema$value ??= z.object({
634
673
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
635
674
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
636
675
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
637
676
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
638
- })
639
- const _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema = z.object({
677
+ }))
678
+ let _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema$value
679
+ const _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema$value ??= z.object({
640
680
  'receipt': z.object({
641
681
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
642
682
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -763,13 +803,15 @@ const _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema = z.object({
763
803
  'action': z.union([z.literal("unavailable"), z.literal("rollover"), z.literal("keep"), z.literal("handoff-now")]).readonly(),
764
804
  'guidance': z.string().readonly(),
765
805
  }).readonly().optional(),
766
- })
767
- const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema = z.object({
806
+ }))
807
+ let _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema$value
808
+ const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema$value ??= z.object({
768
809
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
769
810
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
770
811
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
771
- })
772
- const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema = z.object({
812
+ }))
813
+ let _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema$value
814
+ const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema$value ??= z.object({
773
815
  'status': z.object({
774
816
  'member': z.object({
775
817
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -811,14 +853,16 @@ const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema = z.object(
811
853
  'knownNames': z.array(z.string()).readonly(),
812
854
  }))]).readonly().optional(),
813
855
  }).readonly(),
814
- })
815
- const _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema = z.object({
856
+ }))
857
+ let _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema$value
858
+ const _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema$value ??= z.object({
816
859
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
817
860
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
818
861
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
819
862
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
820
- })
821
- const _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema = z.object({
863
+ }))
864
+ let _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema$value
865
+ const _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema$value ??= z.object({
822
866
  'receipt': z.object({
823
867
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
824
868
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -840,14 +884,17 @@ const _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema = z.o
840
884
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
841
885
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
842
886
  })).readonly(),
843
- })
844
- const _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_parameter_0$schema = z.object({
887
+ }))
888
+ let _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_parameter_0$schema$value
889
+ const _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_parameter_0$schema$value ??= z.object({
845
890
  'avatarRef': z.string().readonly(),
846
- })
847
- const _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_result$schema = z.object({
891
+ }))
892
+ let _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_result$schema$value
893
+ const _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_result$schema$value ??= z.object({
848
894
  'removed': z.boolean().readonly(),
849
- })
850
- const _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema = z.object({
895
+ }))
896
+ let _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema$value
897
+ const _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema$value ??= z.object({
851
898
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
852
899
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
853
900
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
@@ -858,8 +905,9 @@ const _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema = z.object({
858
905
  'attachmentPaths': z.union([z.undefined(), z.array(z.string())]).readonly().optional(),
859
906
  'attachments': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
860
907
  'confirmationToken': z.intersection(z.string(), z.unknown()).readonly().optional(),
861
- })
862
- const _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema = z.union([z.object({
908
+ }))
909
+ let _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema$value
910
+ const _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_reply_result$schema$value ??= z.union([z.object({
863
911
  'kind': z.literal("unread_required").readonly(),
864
912
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
865
913
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
@@ -939,24 +987,28 @@ const _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema = z.union([z.object
939
987
  'sequence': z.number().readonly(),
940
988
  })).readonly(),
941
989
  'undeliveredMentions': z.array(z.intersection(z.string(), z.unknown())).readonly().optional(),
942
- })])
943
- const _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_parameter_0$schema = z.object({
990
+ })]))
991
+ let _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_parameter_0$schema$value
992
+ const _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_parameter_0$schema$value ??= z.object({
944
993
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
945
994
  'taskRefs': z.array(z.intersection(z.string(), z.unknown())).readonly(),
946
- })
947
- const _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema = z.object({
995
+ }))
996
+ let _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema$value
997
+ const _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema$value ??= z.object({
948
998
  'resolved': z.array(z.object({
949
999
  'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
950
1000
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
951
1001
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
952
1002
  'taskNumber': z.number().readonly(),
953
1003
  })).readonly(),
954
- })
955
- const _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_parameter_0$schema = z.object({
1004
+ }))
1005
+ let _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_parameter_0$schema$value
1006
+ const _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_parameter_0$schema$value ??= z.object({
956
1007
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
957
1008
  'threadRefs': z.array(z.intersection(z.string(), z.unknown())).readonly(),
958
- })
959
- const _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema = z.object({
1009
+ }))
1010
+ let _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema$value
1011
+ const _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema$value ??= z.object({
960
1012
  'resolved': z.array(z.object({
961
1013
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
962
1014
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
@@ -964,8 +1016,9 @@ const _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema = z.obj
964
1016
  'taskNumber': z.number().readonly().optional(),
965
1017
  'title': z.string().readonly(),
966
1018
  })).readonly(),
967
- })
968
- const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema = z.object({
1019
+ }))
1020
+ let _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema$value
1021
+ const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema$value ??= z.object({
969
1022
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
970
1023
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
971
1024
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
@@ -975,8 +1028,9 @@ const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema = z.obje
975
1028
  'attachmentPaths': z.union([z.undefined(), z.array(z.string())]).readonly().optional(),
976
1029
  'confirmationToken': z.intersection(z.string(), z.unknown()).readonly().optional(),
977
1030
  'asTask': z.boolean().readonly().optional(),
978
- })
979
- const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema = z.union([z.object({
1031
+ }))
1032
+ let _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema$value
1033
+ const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema$value ??= z.union([z.object({
980
1034
  'kind': z.literal("committed").readonly(),
981
1035
  'receipt': z.object({
982
1036
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1042,15 +1096,27 @@ const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema = z.union([z.
1042
1096
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1043
1097
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1044
1098
  'revision': z.number().readonly().optional(),
1045
- })])
1046
- const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema = z.object({
1099
+ })]))
1100
+ let _wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_parameter_0$schema$value
1101
+ const _wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_parameter_0$schema$value ??= z.object({
1102
+ 'name': z.union([z.undefined(), z.string()]).readonly().optional(),
1103
+ 'avatarRef': z.union([z.undefined(), z.literal(null), z.string()]).readonly().optional(),
1104
+ }))
1105
+ let _wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_result$schema$value
1106
+ const _wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_result$schema$value ??= z.object({
1107
+ 'name': z.string().readonly(),
1108
+ 'avatarRef': z.union([z.undefined(), z.string()]).readonly().optional(),
1109
+ }))
1110
+ let _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema$value
1111
+ const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema$value ??= z.object({
1047
1112
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
1048
1113
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1049
1114
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1050
1115
  'beforeSequence': z.number().readonly().optional(),
1051
1116
  'limit': z.number().readonly().optional(),
1052
- })
1053
- const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema = z.object({
1117
+ }))
1118
+ let _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema$value
1119
+ const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema$value ??= z.object({
1054
1120
  'task': z.object({
1055
1121
  'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
1056
1122
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1146,14 +1212,16 @@ const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema = z.object(
1146
1212
  })])).readonly(),
1147
1213
  'cursor': z.number().readonly(),
1148
1214
  'hasMore': z.boolean().readonly(),
1149
- })
1150
- const _wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema = z.object({
1215
+ }))
1216
+ let _wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema$value
1217
+ const _wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema$value ??= z.object({
1151
1218
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
1152
1219
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1153
1220
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1154
1221
  'limit': z.number().readonly().optional(),
1155
- })
1156
- const _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema = z.object({
1222
+ }))
1223
+ let _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema$value
1224
+ const _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema$value ??= z.object({
1157
1225
  'items': z.array(z.object({
1158
1226
  'sequence': z.number().readonly(),
1159
1227
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1162,15 +1230,17 @@ const _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema = z.ob
1162
1230
  'action': z.union([z.literal("follow"), z.literal("unfollow")]).readonly(),
1163
1231
  })).readonly(),
1164
1232
  'followers': z.array(z.intersection(z.string(), z.unknown())).readonly(),
1165
- })
1166
- const _wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema = z.object({
1233
+ }))
1234
+ let _wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema$value
1235
+ const _wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema$value ??= z.object({
1167
1236
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
1168
1237
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
1169
1238
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
1170
1239
  'name': z.string().readonly(),
1171
1240
  'description': z.string().readonly(),
1172
- })
1173
- const _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema = z.object({
1241
+ }))
1242
+ let _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema$value
1243
+ const _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema$value ??= z.object({
1174
1244
  'receipt': z.object({
1175
1245
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
1176
1246
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1185,8 +1255,9 @@ const _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema = z.object(
1185
1255
  'createdAtSequence': z.number().readonly(),
1186
1256
  'state': z.union([z.literal("archived"), z.literal("active")]).readonly(),
1187
1257
  }).readonly(),
1188
- })
1189
- const _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema = z.object({
1258
+ }))
1259
+ let _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema$value
1260
+ const _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema$value ??= z.object({
1190
1261
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
1191
1262
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
1192
1263
  'handle': z.string().readonly(),
@@ -1204,8 +1275,9 @@ const _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema = z.obj
1204
1275
  'allow': z.array(z.string()).readonly().optional(),
1205
1276
  })]).readonly().optional(),
1206
1277
  }).readonly().optional(),
1207
- })
1208
- const _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema = z.object({
1278
+ }))
1279
+ let _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema$value
1280
+ const _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema$value ??= z.object({
1209
1281
  'receipt': z.object({
1210
1282
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
1211
1283
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1253,8 +1325,9 @@ const _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema = z.object({
1253
1325
  'knownNames': z.array(z.string()).readonly(),
1254
1326
  }))]).readonly().optional(),
1255
1327
  }).readonly(),
1256
- })
1257
- const _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema = z.object({
1328
+ }))
1329
+ let _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema$value
1330
+ const _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema$value ??= z.object({
1258
1331
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
1259
1332
  'channelRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1260
1333
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
@@ -1263,8 +1336,9 @@ const _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema = z.object({
1263
1336
  'direction': z.union([z.literal("after"), z.literal("before")]).readonly().optional(),
1264
1337
  'topLevelOnly': z.boolean().readonly().optional(),
1265
1338
  'includeActivities': z.boolean().readonly().optional(),
1266
- })
1267
- const _wowyuarm_dsh_agent_team_agentTeam_view_result$schema = z.object({
1339
+ }))
1340
+ let _wowyuarm_dsh_agent_team_agentTeam_view_result$schema$value
1341
+ const _wowyuarm_dsh_agent_team_agentTeam_view_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_view_result$schema$value ??= z.object({
1268
1342
  'humanMemberId': z.intersection(z.string(), z.unknown()).readonly(),
1269
1343
  'workspaces': z.array(z.object({
1270
1344
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1376,7 +1450,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_view_result$schema = z.object({
1376
1450
  })])).readonly(),
1377
1451
  'cursor': z.number().readonly(),
1378
1452
  'hasMore': z.boolean().readonly(),
1379
- })
1453
+ }))
1380
1454
 
1381
1455
  export const TYPERT = {
1382
1456
  package: '@wowyuarm/dsh-agent-team',
@@ -1398,16 +1472,16 @@ export const TYPERT = {
1398
1472
  codec: {
1399
1473
  mode: 'strict',
1400
1474
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamAddMemberRequest',
1401
- schema: _wowyuarm_dsh_agent_team_agentTeam_addMember_parameter_0$schema,
1475
+ create: _wowyuarm_dsh_agent_team_agentTeam_addMember_parameter_0$schema,
1402
1476
  },
1403
1477
  },
1404
1478
  ],
1405
1479
  result: {
1406
1480
  mode: 'strict',
1407
1481
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamAddMemberResult',
1408
- schema: _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema,
1482
+ create: _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema,
1409
1483
  },
1410
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":837,"column":9},
1484
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":891,"column":9},
1411
1485
  },
1412
1486
  {
1413
1487
  id: '@wowyuarm/dsh-agent-team#agentTeam/archiveChannel',
@@ -1423,16 +1497,16 @@ export const TYPERT = {
1423
1497
  codec: {
1424
1498
  mode: 'strict',
1425
1499
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveChannelRequest',
1426
- schema: _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema,
1500
+ create: _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema,
1427
1501
  },
1428
1502
  },
1429
1503
  ],
1430
1504
  result: {
1431
1505
  mode: 'strict',
1432
1506
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveChannelResult',
1433
- schema: _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema,
1507
+ create: _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema,
1434
1508
  },
1435
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":827,"column":9},
1509
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":881,"column":9},
1436
1510
  },
1437
1511
  {
1438
1512
  id: '@wowyuarm/dsh-agent-team#agentTeam/archiveMember',
@@ -1448,16 +1522,16 @@ export const TYPERT = {
1448
1522
  codec: {
1449
1523
  mode: 'strict',
1450
1524
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveMemberRequest',
1451
- schema: _wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema,
1525
+ create: _wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema,
1452
1526
  },
1453
1527
  },
1454
1528
  ],
1455
1529
  result: {
1456
1530
  mode: 'strict',
1457
1531
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveMemberResult',
1458
- schema: _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema,
1532
+ create: _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema,
1459
1533
  },
1460
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1229,"column":9},
1534
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1271,"column":9},
1461
1535
  },
1462
1536
  {
1463
1537
  id: '@wowyuarm/dsh-agent-team#agentTeam/changeAttention',
@@ -1473,16 +1547,16 @@ export const TYPERT = {
1473
1547
  codec: {
1474
1548
  mode: 'strict',
1475
1549
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadAttentionRequest',
1476
- schema: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema,
1550
+ create: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema,
1477
1551
  },
1478
1552
  },
1479
1553
  ],
1480
1554
  result: {
1481
1555
  mode: 'strict',
1482
1556
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadAttentionResult',
1483
- schema: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema,
1557
+ create: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema,
1484
1558
  },
1485
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1420,"column":9},
1559
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1500,"column":9},
1486
1560
  },
1487
1561
  {
1488
1562
  id: '@wowyuarm/dsh-agent-team#agentTeam/changes',
@@ -1499,7 +1573,7 @@ export const TYPERT = {
1499
1573
  codec: {
1500
1574
  mode: 'strict',
1501
1575
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamChangesRequest',
1502
- schema: _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema,
1576
+ create: _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema,
1503
1577
  },
1504
1578
  },
1505
1579
  ],
@@ -1507,9 +1581,9 @@ export const TYPERT = {
1507
1581
  result: {
1508
1582
  mode: 'strict',
1509
1583
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamChangesResult',
1510
- schema: _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema,
1584
+ create: _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema,
1511
1585
  },
1512
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":760,"column":11},
1586
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":814,"column":11},
1513
1587
  },
1514
1588
  {
1515
1589
  id: '@wowyuarm/dsh-agent-team#agentTeam/changeTask',
@@ -1525,16 +1599,16 @@ export const TYPERT = {
1525
1599
  codec: {
1526
1600
  mode: 'strict',
1527
1601
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamTaskRequest',
1528
- schema: _wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema,
1602
+ create: _wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema,
1529
1603
  },
1530
1604
  },
1531
1605
  ],
1532
1606
  result: {
1533
1607
  mode: 'strict',
1534
1608
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamTaskResult',
1535
- schema: _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema,
1609
+ create: _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema,
1536
1610
  },
1537
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1241,"column":9},
1611
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1283,"column":9},
1538
1612
  },
1539
1613
  {
1540
1614
  id: '@wowyuarm/dsh-agent-team#agentTeam/clearMemberContext',
@@ -1550,16 +1624,16 @@ export const TYPERT = {
1550
1624
  codec: {
1551
1625
  mode: 'strict',
1552
1626
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamClearMemberContextRequest',
1553
- schema: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema,
1627
+ create: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema,
1554
1628
  },
1555
1629
  },
1556
1630
  ],
1557
1631
  result: {
1558
1632
  mode: 'strict',
1559
1633
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamClearMemberContextResult',
1560
- schema: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema,
1634
+ create: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema,
1561
1635
  },
1562
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":955,"column":9},
1636
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":997,"column":9},
1563
1637
  },
1564
1638
  {
1565
1639
  id: '@wowyuarm/dsh-agent-team#agentTeam/createChannel',
@@ -1575,16 +1649,16 @@ export const TYPERT = {
1575
1649
  codec: {
1576
1650
  mode: 'strict',
1577
1651
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamCreateChannelRequest',
1578
- schema: _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema,
1652
+ create: _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema,
1579
1653
  },
1580
1654
  },
1581
1655
  ],
1582
1656
  result: {
1583
1657
  mode: 'strict',
1584
1658
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamCreateChannelResult',
1585
- schema: _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema,
1659
+ create: _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema,
1586
1660
  },
1587
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":800,"column":9},
1661
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":854,"column":9},
1588
1662
  },
1589
1663
  {
1590
1664
  id: '@wowyuarm/dsh-agent-team#agentTeam/getAttachment',
@@ -1600,16 +1674,16 @@ export const TYPERT = {
1600
1674
  codec: {
1601
1675
  mode: 'strict',
1602
1676
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetAttachmentRequest',
1603
- schema: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema,
1677
+ create: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema,
1604
1678
  },
1605
1679
  },
1606
1680
  ],
1607
1681
  result: {
1608
1682
  mode: 'strict',
1609
1683
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetAttachmentResult',
1610
- schema: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema,
1684
+ create: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema,
1611
1685
  },
1612
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1355,"column":9},
1686
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1397,"column":9},
1613
1687
  },
1614
1688
  {
1615
1689
  id: '@wowyuarm/dsh-agent-team#agentTeam/getHumanAvatar',
@@ -1625,16 +1699,16 @@ export const TYPERT = {
1625
1699
  codec: {
1626
1700
  mode: 'strict',
1627
1701
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetHumanAvatarRequest',
1628
- schema: _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_parameter_0$schema,
1702
+ create: _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_parameter_0$schema,
1629
1703
  },
1630
1704
  },
1631
1705
  ],
1632
1706
  result: {
1633
1707
  mode: 'strict',
1634
1708
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetHumanAvatarResult',
1635
- schema: _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_result$schema,
1709
+ create: _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_result$schema,
1636
1710
  },
1637
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1398,"column":9},
1711
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1440,"column":9},
1638
1712
  },
1639
1713
  {
1640
1714
  id: '@wowyuarm/dsh-agent-team#agentTeam/humanProfile',
@@ -1651,16 +1725,16 @@ export const TYPERT = {
1651
1725
  codec: {
1652
1726
  mode: 'strict',
1653
1727
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamHumanProfileRequest',
1654
- schema: _wowyuarm_dsh_agent_team_agentTeam_humanProfile_parameter_0$schema,
1728
+ create: _wowyuarm_dsh_agent_team_agentTeam_humanProfile_parameter_0$schema,
1655
1729
  },
1656
1730
  },
1657
1731
  ],
1658
1732
  result: {
1659
1733
  mode: 'strict',
1660
1734
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamHumanProfileResult',
1661
- schema: _wowyuarm_dsh_agent_team_agentTeam_humanProfile_result$schema,
1735
+ create: _wowyuarm_dsh_agent_team_agentTeam_humanProfile_result$schema,
1662
1736
  },
1663
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1370,"column":3},
1737
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1412,"column":3},
1664
1738
  },
1665
1739
  {
1666
1740
  id: '@wowyuarm/dsh-agent-team#agentTeam/inbox',
@@ -1676,16 +1750,16 @@ export const TYPERT = {
1676
1750
  codec: {
1677
1751
  mode: 'strict',
1678
1752
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamInboxRequest',
1679
- schema: _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema,
1753
+ create: _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema,
1680
1754
  },
1681
1755
  },
1682
1756
  ],
1683
1757
  result: {
1684
1758
  mode: 'strict',
1685
1759
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamInbox',
1686
- schema: _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema,
1760
+ create: _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema,
1687
1761
  },
1688
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1429,"column":3},
1762
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1509,"column":3},
1689
1763
  },
1690
1764
  {
1691
1765
  id: '@wowyuarm/dsh-agent-team#agentTeam/joinChannel',
@@ -1701,16 +1775,16 @@ export const TYPERT = {
1701
1775
  codec: {
1702
1776
  mode: 'strict',
1703
1777
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinChannelRequest',
1704
- schema: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema,
1778
+ create: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema,
1705
1779
  },
1706
1780
  },
1707
1781
  ],
1708
1782
  result: {
1709
1783
  mode: 'strict',
1710
1784
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinChannelResult',
1711
- schema: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema,
1785
+ create: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema,
1712
1786
  },
1713
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1261,"column":9},
1787
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1303,"column":9},
1714
1788
  },
1715
1789
  {
1716
1790
  id: '@wowyuarm/dsh-agent-team#agentTeam/joinWorkspace',
@@ -1726,16 +1800,16 @@ export const TYPERT = {
1726
1800
  codec: {
1727
1801
  mode: 'strict',
1728
1802
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinWorkspaceRequest',
1729
- schema: _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema,
1803
+ create: _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema,
1730
1804
  },
1731
1805
  },
1732
1806
  ],
1733
1807
  result: {
1734
1808
  mode: 'strict',
1735
1809
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinWorkspaceResult',
1736
- schema: _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema,
1810
+ create: _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema,
1737
1811
  },
1738
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1281,"column":9},
1812
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1323,"column":9},
1739
1813
  },
1740
1814
  {
1741
1815
  id: '@wowyuarm/dsh-agent-team#agentTeam/leaveWorkspace',
@@ -1751,16 +1825,16 @@ export const TYPERT = {
1751
1825
  codec: {
1752
1826
  mode: 'strict',
1753
1827
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamLeaveWorkspaceRequest',
1754
- schema: _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema,
1828
+ create: _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema,
1755
1829
  },
1756
1830
  },
1757
1831
  ],
1758
1832
  result: {
1759
1833
  mode: 'strict',
1760
1834
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamLeaveWorkspaceResult',
1761
- schema: _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema,
1835
+ create: _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema,
1762
1836
  },
1763
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1290,"column":9},
1837
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1332,"column":9},
1764
1838
  },
1765
1839
  {
1766
1840
  id: '@wowyuarm/dsh-agent-team#agentTeam/members',
@@ -1777,16 +1851,16 @@ export const TYPERT = {
1777
1851
  codec: {
1778
1852
  mode: 'strict',
1779
1853
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamMembersRequest',
1780
- schema: _wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema,
1854
+ create: _wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema,
1781
1855
  },
1782
1856
  },
1783
1857
  ],
1784
1858
  result: {
1785
1859
  mode: 'strict',
1786
1860
  typeSymbol: '@wowyuarm/dsh-agent-team#agentTeam/members:result',
1787
- schema: _wowyuarm_dsh_agent_team_agentTeam_members_result$schema,
1861
+ create: _wowyuarm_dsh_agent_team_agentTeam_members_result$schema,
1788
1862
  },
1789
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":750,"column":3},
1863
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":804,"column":3},
1790
1864
  },
1791
1865
  {
1792
1866
  id: '@wowyuarm/dsh-agent-team#agentTeam/promoteThread',
@@ -1802,16 +1876,16 @@ export const TYPERT = {
1802
1876
  codec: {
1803
1877
  mode: 'strict',
1804
1878
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPromoteThreadRequest',
1805
- schema: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema,
1879
+ create: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema,
1806
1880
  },
1807
1881
  },
1808
1882
  ],
1809
1883
  result: {
1810
1884
  mode: 'strict',
1811
1885
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPromoteThreadResult',
1812
- schema: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema,
1886
+ create: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema,
1813
1887
  },
1814
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1251,"column":9},
1888
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1293,"column":9},
1815
1889
  },
1816
1890
  {
1817
1891
  id: '@wowyuarm/dsh-agent-team#agentTeam/putAttachment',
@@ -1827,16 +1901,16 @@ export const TYPERT = {
1827
1901
  codec: {
1828
1902
  mode: 'strict',
1829
1903
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutAttachmentRequest',
1830
- schema: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema,
1904
+ create: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema,
1831
1905
  },
1832
1906
  },
1833
1907
  ],
1834
1908
  result: {
1835
1909
  mode: 'strict',
1836
1910
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutAttachmentResult',
1837
- schema: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema,
1911
+ create: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema,
1838
1912
  },
1839
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1342,"column":9},
1913
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1384,"column":9},
1840
1914
  },
1841
1915
  {
1842
1916
  id: '@wowyuarm/dsh-agent-team#agentTeam/putHumanAvatar',
@@ -1852,16 +1926,16 @@ export const TYPERT = {
1852
1926
  codec: {
1853
1927
  mode: 'strict',
1854
1928
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutHumanAvatarRequest',
1855
- schema: _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_parameter_0$schema,
1929
+ create: _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_parameter_0$schema,
1856
1930
  },
1857
1931
  },
1858
1932
  ],
1859
1933
  result: {
1860
1934
  mode: 'strict',
1861
1935
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutHumanAvatarResult',
1862
- schema: _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_result$schema,
1936
+ create: _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_result$schema,
1863
1937
  },
1864
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1390,"column":9},
1938
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1432,"column":9},
1865
1939
  },
1866
1940
  {
1867
1941
  id: '@wowyuarm/dsh-agent-team#agentTeam/readThread',
@@ -1877,16 +1951,16 @@ export const TYPERT = {
1877
1951
  codec: {
1878
1952
  mode: 'strict',
1879
1953
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadReadRequest',
1880
- schema: _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema,
1954
+ create: _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema,
1881
1955
  },
1882
1956
  },
1883
1957
  ],
1884
1958
  result: {
1885
1959
  mode: 'strict',
1886
1960
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadReadResult',
1887
- schema: _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema,
1961
+ create: _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema,
1888
1962
  },
1889
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1436,"column":9},
1963
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1516,"column":9},
1890
1964
  },
1891
1965
  {
1892
1966
  id: '@wowyuarm/dsh-agent-team#agentTeam/recoverMember',
@@ -1902,16 +1976,16 @@ export const TYPERT = {
1902
1976
  codec: {
1903
1977
  mode: 'strict',
1904
1978
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRecoverMemberRequest',
1905
- schema: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema,
1979
+ create: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema,
1906
1980
  },
1907
1981
  },
1908
1982
  ],
1909
1983
  result: {
1910
1984
  mode: 'strict',
1911
1985
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRecoverMemberResult',
1912
- schema: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema,
1986
+ create: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema,
1913
1987
  },
1914
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":900,"column":9},
1988
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":954,"column":9},
1915
1989
  },
1916
1990
  {
1917
1991
  id: '@wowyuarm/dsh-agent-team#agentTeam/removeChannelMember',
@@ -1927,16 +2001,16 @@ export const TYPERT = {
1927
2001
  codec: {
1928
2002
  mode: 'strict',
1929
2003
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveChannelMemberRequest',
1930
- schema: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema,
2004
+ create: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema,
1931
2005
  },
1932
2006
  },
1933
2007
  ],
1934
2008
  result: {
1935
2009
  mode: 'strict',
1936
2010
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveChannelMemberResult',
1937
- schema: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema,
2011
+ create: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema,
1938
2012
  },
1939
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1272,"column":9},
2013
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1314,"column":9},
1940
2014
  },
1941
2015
  {
1942
2016
  id: '@wowyuarm/dsh-agent-team#agentTeam/removeHumanAvatar',
@@ -1952,16 +2026,16 @@ export const TYPERT = {
1952
2026
  codec: {
1953
2027
  mode: 'strict',
1954
2028
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveHumanAvatarRequest',
1955
- schema: _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_parameter_0$schema,
2029
+ create: _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_parameter_0$schema,
1956
2030
  },
1957
2031
  },
1958
2032
  ],
1959
2033
  result: {
1960
2034
  mode: 'strict',
1961
2035
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveHumanAvatarResult',
1962
- schema: _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_result$schema,
2036
+ create: _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_result$schema,
1963
2037
  },
1964
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1406,"column":9},
2038
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1448,"column":9},
1965
2039
  },
1966
2040
  {
1967
2041
  id: '@wowyuarm/dsh-agent-team#agentTeam/reply',
@@ -1977,16 +2051,16 @@ export const TYPERT = {
1977
2051
  codec: {
1978
2052
  mode: 'strict',
1979
2053
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamReplyRequest',
1980
- schema: _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema,
2054
+ create: _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema,
1981
2055
  },
1982
2056
  },
1983
2057
  ],
1984
2058
  result: {
1985
2059
  mode: 'strict',
1986
2060
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamReplyResult',
1987
- schema: _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema,
2061
+ create: _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema,
1988
2062
  },
1989
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1414,"column":9},
2063
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1494,"column":9},
1990
2064
  },
1991
2065
  {
1992
2066
  id: '@wowyuarm/dsh-agent-team#agentTeam/resolveTaskRefs',
@@ -2002,16 +2076,16 @@ export const TYPERT = {
2002
2076
  codec: {
2003
2077
  mode: 'strict',
2004
2078
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveTaskRefsRequest',
2005
- schema: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_parameter_0$schema,
2079
+ create: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_parameter_0$schema,
2006
2080
  },
2007
2081
  },
2008
2082
  ],
2009
2083
  result: {
2010
2084
  mode: 'strict',
2011
2085
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveTaskRefsResult',
2012
- schema: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema,
2086
+ create: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema,
2013
2087
  },
2014
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":724,"column":3},
2088
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":778,"column":3},
2015
2089
  },
2016
2090
  {
2017
2091
  id: '@wowyuarm/dsh-agent-team#agentTeam/resolveThreadRefs',
@@ -2027,16 +2101,16 @@ export const TYPERT = {
2027
2101
  codec: {
2028
2102
  mode: 'strict',
2029
2103
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveThreadRefsRequest',
2030
- schema: _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_parameter_0$schema,
2104
+ create: _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_parameter_0$schema,
2031
2105
  },
2032
2106
  },
2033
2107
  ],
2034
2108
  result: {
2035
2109
  mode: 'strict',
2036
2110
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveThreadRefsResult',
2037
- schema: _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema,
2111
+ create: _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema,
2038
2112
  },
2039
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":737,"column":3},
2113
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":791,"column":3},
2040
2114
  },
2041
2115
  {
2042
2116
  id: '@wowyuarm/dsh-agent-team#agentTeam/sendMessage',
@@ -2052,16 +2126,41 @@ export const TYPERT = {
2052
2126
  codec: {
2053
2127
  mode: 'strict',
2054
2128
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSendMessageRequest',
2055
- schema: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema,
2129
+ create: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema,
2056
2130
  },
2057
2131
  },
2058
2132
  ],
2059
2133
  result: {
2060
2134
  mode: 'strict',
2061
2135
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSendMessageResult',
2062
- schema: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema,
2136
+ create: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema,
2063
2137
  },
2064
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1299,"column":9},
2138
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1341,"column":9},
2139
+ },
2140
+ {
2141
+ id: '@wowyuarm/dsh-agent-team#agentTeam/setHumanProfile',
2142
+ service: 'agentTeam',
2143
+ namespace: 'agentTeam',
2144
+ method: 'setHumanProfile',
2145
+ invocation: { kind: 'direct' },
2146
+ parameters: [
2147
+ {
2148
+ name: 'request',
2149
+ wire: 'request',
2150
+ source: 'json',
2151
+ codec: {
2152
+ mode: 'strict',
2153
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSetHumanProfileRequest',
2154
+ create: _wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_parameter_0$schema,
2155
+ },
2156
+ },
2157
+ ],
2158
+ result: {
2159
+ mode: 'strict',
2160
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSetHumanProfileResult',
2161
+ create: _wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_result$schema,
2162
+ },
2163
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1470,"column":9},
2065
2164
  },
2066
2165
  {
2067
2166
  id: '@wowyuarm/dsh-agent-team#agentTeam/threadHistory',
@@ -2077,16 +2176,16 @@ export const TYPERT = {
2077
2176
  codec: {
2078
2177
  mode: 'strict',
2079
2178
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadHistoryRequest',
2080
- schema: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema,
2179
+ create: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema,
2081
2180
  },
2082
2181
  },
2083
2182
  ],
2084
2183
  result: {
2085
2184
  mode: 'strict',
2086
2185
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadHistory',
2087
- schema: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema,
2186
+ create: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema,
2088
2187
  },
2089
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1454,"column":3},
2188
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1534,"column":3},
2090
2189
  },
2091
2190
  {
2092
2191
  id: '@wowyuarm/dsh-agent-team#agentTeam/threadObservations',
@@ -2102,16 +2201,16 @@ export const TYPERT = {
2102
2201
  codec: {
2103
2202
  mode: 'strict',
2104
2203
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadObservationsRequest',
2105
- schema: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema,
2204
+ create: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema,
2106
2205
  },
2107
2206
  },
2108
2207
  ],
2109
2208
  result: {
2110
2209
  mode: 'strict',
2111
2210
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadObservations',
2112
- schema: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema,
2211
+ create: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema,
2113
2212
  },
2114
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1447,"column":3},
2213
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1527,"column":3},
2115
2214
  },
2116
2215
  {
2117
2216
  id: '@wowyuarm/dsh-agent-team#agentTeam/updateChannel',
@@ -2127,16 +2226,16 @@ export const TYPERT = {
2127
2226
  codec: {
2128
2227
  mode: 'strict',
2129
2228
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamUpdateChannelRequest',
2130
- schema: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema,
2229
+ create: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema,
2131
2230
  },
2132
2231
  },
2133
2232
  ],
2134
2233
  result: {
2135
2234
  mode: 'strict',
2136
2235
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamUpdateChannelResult',
2137
- schema: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema,
2236
+ create: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema,
2138
2237
  },
2139
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":812,"column":9},
2238
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":866,"column":9},
2140
2239
  },
2141
2240
  {
2142
2241
  id: '@wowyuarm/dsh-agent-team#agentTeam/updateMember',
@@ -2152,16 +2251,16 @@ export const TYPERT = {
2152
2251
  codec: {
2153
2252
  mode: 'strict',
2154
2253
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamUpdateMemberRequest',
2155
- schema: _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema,
2254
+ create: _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema,
2156
2255
  },
2157
2256
  },
2158
2257
  ],
2159
2258
  result: {
2160
2259
  mode: 'strict',
2161
2260
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamMemberResult',
2162
- schema: _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema,
2261
+ create: _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema,
2163
2262
  },
2164
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1169,"column":9},
2263
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1211,"column":9},
2165
2264
  },
2166
2265
  {
2167
2266
  id: '@wowyuarm/dsh-agent-team#agentTeam/view',
@@ -2177,16 +2276,16 @@ export const TYPERT = {
2177
2276
  codec: {
2178
2277
  mode: 'strict',
2179
2278
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamViewRequest',
2180
- schema: _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema,
2279
+ create: _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema,
2181
2280
  },
2182
2281
  },
2183
2282
  ],
2184
2283
  result: {
2185
2284
  mode: 'strict',
2186
2285
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamView',
2187
- schema: _wowyuarm_dsh_agent_team_agentTeam_view_result$schema,
2286
+ create: _wowyuarm_dsh_agent_team_agentTeam_view_result$schema,
2188
2287
  },
2189
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1461,"column":3},
2288
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1541,"column":3},
2190
2289
  },
2191
2290
  ],
2192
2291
  model: {
@@ -2210,8 +2309,8 @@ export const TYPERT = {
2210
2309
  "kind": "method",
2211
2310
  "name": "humanProfile",
2212
2311
  "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). */"
2312
+ "summary": "Current human profile reference held in this Host row's Config (name + avatarRef).",
2313
+ "jsDoc": "/** Current human profile reference held in this Host row's Config (name + avatarRef). */"
2215
2314
  },
2216
2315
  {
2217
2316
  "kind": "method",
@@ -2404,8 +2503,8 @@ export const TYPERT = {
2404
2503
  "kind": "method",
2405
2504
  "name": "humanProfileForClient",
2406
2505
  "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 */"
2506
+ "summary": "Human profile read for the settings page and footnote: name + avatar reference from this Host row's live Config plus version facts.",
2507
+ "jsDoc": "/**\n * Human profile read for the settings page and footnote: name + avatar\n * reference from this Host row's live Config plus version facts. Human-scoped\n * (the Web Client calls it); agent tools never receive avatar bytes, only the\n * name through team_view. The new-release check stays best-effort and cached —\n * `updateAvailable` is false until a background refresh actually observes a\n * newer published release.\n */"
2409
2508
  },
2410
2509
  {
2411
2510
  "kind": "method",
@@ -2428,6 +2527,13 @@ export const TYPERT = {
2428
2527
  "summary": "Remove one human avatar entry; the UI falls back to hue/initial afterwards.",
2429
2528
  "jsDoc": "/** Remove one human avatar entry; the UI falls back to hue/initial afterwards. */"
2430
2529
  },
2530
+ {
2531
+ "kind": "method",
2532
+ "name": "setHumanProfile",
2533
+ "signature": "@Remote('setHumanProfile') async setHumanProfile(request: AgentTeamSetHumanProfileRequest): Promise<AgentTeamSetHumanProfileResult>",
2534
+ "summary": "Overwrite the Human profile fields the caller supplies.",
2535
+ "jsDoc": "/**\n * Overwrite the Human profile fields the caller supplies. The Host owns this\n * write because the profile is the Host row's own Config: the schema supplies\n * the shape, this method supplies the two judgements the schema cannot make\n * (a non-empty name, a name no live Member already answers to), and the\n * settings service persists the result into the active profile's patch\n * document and applies it to the running plugin live.\n *\n * No expected revision accompanies the write: the profile is two scalar\n * fields written from the Human's own pages, where the last write wins. This\n * is not a hard boundary around a user-editable document — the settings\n * service's own document opener (and a text editor) can change the stored\n * name without passing here, exactly as the retired section validator could\n * not stop it.\n */"
2536
+ },
2431
2537
  {
2432
2538
  "kind": "method",
2433
2539
  "name": "reply",
@@ -3037,6 +3143,14 @@ export const TYPERT = {
3037
3143
  "name": "AgentTeamSendMessageResult",
3038
3144
  "declaration": "export type AgentTeamSendMessageResult = AgentTeamSendMessageCommittedResult | AgentTeamConfirmationRequired | AgentTeamMemberNotFollowing;"
3039
3145
  },
3146
+ {
3147
+ "name": "AgentTeamSetHumanProfileRequest",
3148
+ "declaration": "export interface AgentTeamSetHumanProfileRequest {\n readonly name?: string | undefined;\n readonly avatarRef?: string | null | undefined;\n}"
3149
+ },
3150
+ {
3151
+ "name": "AgentTeamSetHumanProfileResult",
3152
+ "declaration": "export interface AgentTeamSetHumanProfileResult {\n readonly name: string;\n readonly avatarRef?: string | undefined;\n}"
3153
+ },
3040
3154
  {
3041
3155
  "name": "AgentTeamSetMemberStateRequest",
3042
3156
  "declaration": "export interface AgentTeamSetMemberStateRequest {\n readonly requestId: AgentTeamRequestId;\n readonly memberId: AgentTeamMemberId;\n}"
@@ -3195,11 +3309,11 @@ export const TYPERT = {
3195
3309
  },
3196
3310
  {
3197
3311
  "name": "AssistantMessage",
3198
- "declaration": "export interface AssistantMessage extends Message {\n readonly role: 'assistant';\n readonly source: ModelMessageSource;\n}"
3312
+ "declaration": "export interface AssistantMessage extends MessageBase {\n readonly role: 'assistant';\n readonly source: ModelMessageSource;\n}"
3199
3313
  },
3200
3314
  {
3201
- "name": "AssistantProvenance",
3202
- "declaration": "export interface AssistantProvenance {\n provider: string;\n model: string;\n replayState?: unknown;\n}"
3315
+ "name": "AssistantProviderMetadata",
3316
+ "declaration": "export interface AssistantProviderMetadata {\n provider: string;\n model: string;\n replayState?: unknown;\n}"
3203
3317
  },
3204
3318
  {
3205
3319
  "name": "AssistantStreamRecord",
@@ -3229,6 +3343,10 @@ export const TYPERT = {
3229
3343
  "name": "CommandId",
3230
3344
  "declaration": "export type CommandId = Branded<'CommandId'>;"
3231
3345
  },
3346
+ {
3347
+ "name": "CompactionCheckpointSource",
3348
+ "declaration": "export type CompactionCheckpointSource = typeof COMPACT_CHECKPOINT_MARKER & { readonly compactionId: CompactionId; readonly sourceCommandId?: CommandId; };"
3349
+ },
3232
3350
  {
3233
3351
  "name": "CompactionId",
3234
3352
  "declaration": "export type CompactionId = Branded<'CompactionId'>;"
@@ -3239,7 +3357,7 @@ export const TYPERT = {
3239
3357
  },
3240
3358
  {
3241
3359
  "name": "ContentBlockMap",
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}"
3360
+ "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}"
3243
3361
  },
3244
3362
  {
3245
3363
  "name": "ContentBlockType",
@@ -3293,6 +3411,10 @@ export const TYPERT = {
3293
3411
  "name": "ContinuationDeliveryState",
3294
3412
  "declaration": "export interface ContinuationDeliveryState {\n readonly checkpointRef: string;\n readonly deliveredSeq: number;\n}"
3295
3413
  },
3414
+ {
3415
+ "name": "DeveloperMessage",
3416
+ "declaration": "export interface DeveloperMessage extends MessageBase {\n readonly role: 'developer';\n}"
3417
+ },
3296
3418
  {
3297
3419
  "name": "DomainBoundary",
3298
3420
  "declaration": "export interface DomainBoundary {\n readonly kind: string;\n readonly label: string;\n readonly resultSeq: number;\n readonly turn: number;\n readonly turnEndSeq: number;\n readonly attributions: readonly string[];\n}"
@@ -3307,7 +3429,7 @@ export const TYPERT = {
3307
3429
  },
3308
3430
  {
3309
3431
  "name": "EpochHeader",
3310
- "declaration": "export interface EpochHeader {\n config: LlmCallConfig;\n adapterDefaults?: LlmCallConfigAdapterDefaults;\n tools?: ToolSchema[];\n}"
3432
+ "declaration": "export interface EpochHeader {\n config: LlmCallConfig;\n adapterDefaults?: LlmCallConfigAdapterDefaults;\n tools?: ToolSchema[];\n system?: never;\n}"
3311
3433
  },
3312
3434
  {
3313
3435
  "name": "FileAttachmentRef",
@@ -3335,12 +3457,16 @@ export const TYPERT = {
3335
3457
  },
3336
3458
  {
3337
3459
  "name": "ImageBlock",
3338
- "declaration": "export interface ImageBlock {\n type: 'image';\n attachment: ImageAttachmentRef;\n}"
3460
+ "declaration": "export interface ImageBlock {\n type: 'image';\n attachment: ImageAttachmentRef;\n offloaded?: true;\n}"
3339
3461
  },
3340
3462
  {
3341
3463
  "name": "ImageMediaType",
3342
3464
  "declaration": "export type ImageMediaType = 'image/png' | 'image/jpeg' | 'image/webp' | 'image/gif';"
3343
3465
  },
3466
+ {
3467
+ "name": "ImageOffloadTarget",
3468
+ "declaration": "export interface ImageOffloadTarget {\n seq: SessionSeq;\n imageIndexes: number[];\n}"
3469
+ },
3344
3470
  {
3345
3471
  "name": "Inbox",
3346
3472
  "declaration": "export interface Inbox {\n readonly nextTurn: readonly UserMessage[];\n readonly nextStep: readonly UserMessage[];\n clear(): void;\n append(target: InboxTarget, message: UserMessage): void;\n prepend(target: InboxTarget, message: UserMessage): void;\n replace(messageId: MessageId, newMessage: UserMessage): boolean;\n remove(messageId: MessageId): boolean;\n splice(target: InboxTarget, start: number, deleteCount: number, inserted: UserMessage[]): UserMessage[];\n}"
@@ -3363,27 +3489,35 @@ export const TYPERT = {
3363
3489
  },
3364
3490
  {
3365
3491
  "name": "LlmFailure",
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}"
3492
+ "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}"
3367
3493
  },
3368
3494
  {
3369
3495
  "name": "Message",
3370
- "declaration": "export interface Message {\n readonly id: MessageId;\n readonly role: 'system' | 'user' | 'assistant';\n readonly content: ContentBlock[];\n readonly source: MessageSource;\n}"
3496
+ "declaration": "export type Message = MessageRoleMap[keyof MessageRoleMap];"
3497
+ },
3498
+ {
3499
+ "name": "MessageBase",
3500
+ "declaration": "export interface MessageBase {\n readonly id: MessageId;\n readonly content: readonly ContentBlock[];\n readonly source: MessageSource;\n}"
3371
3501
  },
3372
3502
  {
3373
3503
  "name": "MessageId",
3374
3504
  "declaration": "export type MessageId = Branded<'MessageId'>;"
3375
3505
  },
3506
+ {
3507
+ "name": "MessageRoleMap",
3508
+ "declaration": "export interface MessageRoleMap {\n system: SystemMessage;\n developer: DeveloperMessage;\n user: UserMessage;\n assistant: AssistantMessage;\n tool: ToolResultMessage;\n}"
3509
+ },
3376
3510
  {
3377
3511
  "name": "MessageSource",
3378
3512
  "declaration": "export type MessageSource = MessageSourceMap[keyof MessageSourceMap];"
3379
3513
  },
3380
3514
  {
3381
3515
  "name": "MessageSourceMap",
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}"
3516
+ "declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'tool-registry': { kind: 'tool-registry'; };\n [AGENT_TEAM_PLUGIN_ID]: { kind: typeof AGENT_TEAM_PLUGIN_ID; } & ContextFormed;\n [AGENT_TEAM_V3_RENAMED_KIND]: { kind: typeof AGENT_TEAM_V3_RENAMED_KIND; } & ContextFormed;\n 'compact-checkpoint': CompactionCheckpointSource;\n 'skill-invocation': SkillInvocationSource;\n 'wowyuarm-agent-team-member-context': { kind: 'wowyuarm-agent-team-member-context'; } & ContextFormed;\n 'plugin:wowyuarm-agent-team-member-context': { kind: 'plugin:wowyuarm-agent-team-member-context'; } & ContextFormed;\n 'wowyuarm-agent-team-member-time-context': { kind: 'wowyuarm-agent-team-member-time-context'; } & ContextFormed;\n 'plugin:wowyuarm-agent-team-member-time-context': { kind: 'plugin:wowyuarm-agent-team-member-time-context'; } & ContextFormed;\n}"
3383
3517
  },
3384
3518
  {
3385
3519
  "name": "ModelMessageSource",
3386
- "declaration": "export interface ModelMessageSource extends AssistantProvenance {\n kind: 'model';\n}"
3520
+ "declaration": "export interface ModelMessageSource extends AssistantProviderMetadata {\n kind: 'model';\n}"
3387
3521
  },
3388
3522
  {
3389
3523
  "name": "PendingRolloverIntent",
@@ -3395,7 +3529,7 @@ export const TYPERT = {
3395
3529
  },
3396
3530
  {
3397
3531
  "name": "PtcDispatchEventData",
3398
- "declaration": "export interface PtcDispatchEventData extends PtcDispatchStartEventData {\n isError: boolean;\n content: ContentBlock[];\n}"
3532
+ "declaration": "export interface PtcDispatchEventData extends PtcDispatchStartEventData {\n isError: boolean;\n content: ContentBlock[];\n error?: { name: string; code: string; reason?: string; };\n}"
3399
3533
  },
3400
3534
  {
3401
3535
  "name": "PtcDispatchStartEventData",
@@ -3439,7 +3573,7 @@ export const TYPERT = {
3439
3573
  },
3440
3574
  {
3441
3575
  "name": "Session",
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}"
3576
+ "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}"
3443
3577
  },
3444
3578
  {
3445
3579
  "name": "SessionEvent",
@@ -3447,7 +3581,7 @@ export const TYPERT = {
3447
3581
  },
3448
3582
  {
3449
3583
  "name": "SessionEventMap",
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}"
3584
+ "declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: ToolCallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'tool/ptc-dispatch-start': PtcDispatchStartEventData;\n 'tool/ptc-dispatch': PtcDispatchEventData;\n 'image/offload': { targets: ImageOffloadTarget[]; };\n 'session/title': SessionTitleEventData;\n 'todo/write': { todos: TodoItem[]; };\n 'agent-preset/selected': { agentPreset: string; };\n 'compaction/start': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; };\n 'compaction/summary': { compactionId: CompactionId; sourceCommandId?: CommandId; summary: ContentBlock[]; shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; provider: string; model: string; maxTokens?: number; usage?: TokenUsage; } & ({ rawOutput: ContentBlock[]; llmStreamCall: true; } | { rawOutput?: ContentBlock[]; llmStreamCall?: never; });\n 'compaction/end': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; error?: string; };\n 'compaction/prune': { shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; };\n}"
3451
3585
  },
3452
3586
  {
3453
3587
  "name": "SessionEventType",
@@ -3471,15 +3605,15 @@ export const TYPERT = {
3471
3605
  },
3472
3606
  {
3473
3607
  "name": "SessionSurface",
3474
- "declaration": "export interface SessionSurface {\n readonly nodes: readonly SessionSeq[];\n readonly replaceGeneration: number;\n}"
3608
+ "declaration": "export interface SessionSurface {\n readonly nodes: readonly SessionSeq[];\n readonly replaceGeneration: number;\n readonly contentGeneration: number;\n}"
3475
3609
  },
3476
3610
  {
3477
3611
  "name": "SessionTitleEventData",
3478
3612
  "declaration": "export interface SessionTitleEventData {\n readonly title: string;\n readonly messageSeqs: SessionSeq[];\n readonly source: SessionTitleSource;\n}"
3479
3613
  },
3480
3614
  {
3481
- "name": "SessionTitleModelProvenance",
3482
- "declaration": "export interface SessionTitleModelProvenance {\n readonly provider: string;\n readonly model: string;\n}"
3615
+ "name": "SessionTitleModelIdentity",
3616
+ "declaration": "export interface SessionTitleModelIdentity {\n readonly provider: string;\n readonly model: string;\n}"
3483
3617
  },
3484
3618
  {
3485
3619
  "name": "SessionTitleProviderId",
@@ -3487,7 +3621,7 @@ export const TYPERT = {
3487
3621
  },
3488
3622
  {
3489
3623
  "name": "SessionTitleSource",
3490
- "declaration": "export type SessionTitleSource = { readonly kind: 'fallback'; } | { readonly kind: 'provider'; readonly provider: SessionTitleProviderId; readonly model?: SessionTitleModelProvenance; } | { readonly kind: 'user'; };"
3624
+ "declaration": "export type SessionTitleSource = { readonly kind: 'fallback'; } | { readonly kind: 'provider'; readonly provider: SessionTitleProviderId; readonly model?: SessionTitleModelIdentity; } | { readonly kind: 'user'; };"
3491
3625
  },
3492
3626
  {
3493
3627
  "name": "SkillInvocationSource",
@@ -3503,7 +3637,7 @@ export const TYPERT = {
3503
3637
  },
3504
3638
  {
3505
3639
  "name": "SurfaceEventType",
3506
- "declaration": "export type SurfaceEventType = 'system/message' | 'user/message' | 'assistant/message' | 'tool/result';"
3640
+ "declaration": "export type SurfaceEventType = 'system/message' | 'developer/message' | 'user/message' | 'assistant/message' | 'tool/result';"
3507
3641
  },
3508
3642
  {
3509
3643
  "name": "SurfaceIntent",
@@ -3515,7 +3649,11 @@ export const TYPERT = {
3515
3649
  },
3516
3650
  {
3517
3651
  "name": "SystemMessage",
3518
- "declaration": "export interface SystemMessage extends Message {\n readonly role: 'system';\n readonly source: MessageSourceMap['plugin'];\n}"
3652
+ "declaration": "export interface SystemMessage extends MessageBase {\n readonly role: 'system';\n readonly source: MessageSourceMap['system-prompt'];\n}"
3653
+ },
3654
+ {
3655
+ "name": "SystemPromptMessageSource",
3656
+ "declaration": "export interface SystemPromptMessageSource {\n kind: 'system-prompt';\n}"
3519
3657
  },
3520
3658
  {
3521
3659
  "name": "SystemPromptUpdate",
@@ -3533,6 +3671,10 @@ export const TYPERT = {
3533
3671
  "name": "TokenUsage",
3534
3672
  "declaration": "export interface TokenUsage {\n inputTokens: number;\n outputTokens: number;\n totalTokens?: number;\n cacheReadTokens?: number;\n cacheWriteTokens?: number;\n reasoningTokens?: number;\n}"
3535
3673
  },
3674
+ {
3675
+ "name": "ToolAdditionBlock",
3676
+ "declaration": "export interface ToolAdditionBlock {\n type: 'tool-addition';\n toolName: string;\n tool?: never;\n}"
3677
+ },
3536
3678
  {
3537
3679
  "name": "ToolCallBlock",
3538
3680
  "declaration": "export interface ToolCallBlock {\n type: 'tool-call';\n id: ToolCallId;\n name: string;\n arguments: string;\n}"
@@ -3546,16 +3688,16 @@ export const TYPERT = {
3546
3688
  "declaration": "export interface ToolMessageSource {\n kind: 'tool';\n callId: ToolCallId;\n}"
3547
3689
  },
3548
3690
  {
3549
- "name": "ToolResultBlock",
3550
- "declaration": "export interface ToolResultBlock {\n type: 'tool-result';\n toolCallId: ToolCallId;\n content: ContentBlock[];\n isError?: boolean;\n}"
3691
+ "name": "ToolRemovalBlock",
3692
+ "declaration": "export interface ToolRemovalBlock {\n type: 'tool-removal';\n toolName: string;\n}"
3551
3693
  },
3552
3694
  {
3553
3695
  "name": "ToolResultMessage",
3554
- "declaration": "export interface ToolResultMessage extends Message {\n readonly role: 'user';\n readonly content: [ToolResultBlock];\n readonly source: ToolMessageSource;\n}"
3696
+ "declaration": "export interface ToolResultMessage extends MessageBase {\n readonly role: 'tool';\n readonly source: ToolMessageSource;\n readonly toolCallId: ToolCallId;\n readonly isError?: boolean;\n}"
3555
3697
  },
3556
3698
  {
3557
3699
  "name": "ToolSchema",
3558
- "declaration": "export interface ToolSchema {\n name: string;\n description: string;\n parameters: Record<string, unknown>;\n}"
3700
+ "declaration": "export interface ToolSchema {\n deferLoading?: true;\n name: string;\n description: string;\n parameters: Record<string, unknown>;\n}"
3559
3701
  },
3560
3702
  {
3561
3703
  "name": "TransitionPlan",
@@ -3571,11 +3713,11 @@ export const TYPERT = {
3571
3713
  },
3572
3714
  {
3573
3715
  "name": "TurnEndReasonMap",
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}"
3716
+ "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}"
3575
3717
  },
3576
3718
  {
3577
3719
  "name": "UserMessage",
3578
- "declaration": "export interface UserMessage extends Message {\n readonly role: 'user';\n}"
3720
+ "declaration": "export interface UserMessage extends MessageBase {\n readonly role: 'user';\n}"
3579
3721
  },
3580
3722
  {
3581
3723
  "name": "WorkspaceId",