@wowyuarm/dsh-agent-team 0.1.14 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/README.md +8 -4
  2. package/README.zh.md +8 -4
  3. package/cordis.patch.yml +187 -2
  4. package/package.json +52 -51
  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 +39 -13
  10. package/packages/agent-team/lib/environment-check.js +102 -0
  11. package/packages/agent-team/lib/human-profile.js +110 -13
  12. package/packages/agent-team/lib/index.js +192 -100
  13. package/packages/agent-team/lib/installed-manifest.js +32 -0
  14. package/packages/agent-team/lib/ledger.js +35 -0
  15. package/packages/agent-team/lib/member-context.js +3 -3
  16. package/packages/agent-team/lib/member-time-context.js +3 -2
  17. package/packages/agent-team/lib/pressure-policy.js +18 -11
  18. package/packages/agent-team/lib/stored-session-reader.js +1 -2
  19. package/packages/agent-team/lib/typert.host.js +479 -260
  20. package/packages/agent-team/lib/typert.remote-client.d.ts +8 -3
  21. package/packages/agent-team/lib/typert.remote-client.d.ts.map +1 -1
  22. package/packages/agent-team/lib/typert.remote-client.js +375 -228
  23. package/packages/agent-team/lib/types/context-continuity-host.d.ts.map +1 -1
  24. package/packages/agent-team/lib/types/context-source.d.ts +49 -13
  25. package/packages/agent-team/lib/types/context-source.d.ts.map +1 -1
  26. package/packages/agent-team/lib/types/environment-check.d.ts +66 -0
  27. package/packages/agent-team/lib/types/environment-check.d.ts.map +1 -0
  28. package/packages/agent-team/lib/types/human-profile.d.ts +87 -21
  29. package/packages/agent-team/lib/types/human-profile.d.ts.map +1 -1
  30. package/packages/agent-team/lib/types/index.d.ts +85 -26
  31. package/packages/agent-team/lib/types/index.d.ts.map +1 -1
  32. package/packages/agent-team/lib/types/installed-manifest.d.ts +16 -0
  33. package/packages/agent-team/lib/types/installed-manifest.d.ts.map +1 -0
  34. package/packages/agent-team/lib/types/ledger.d.ts +12 -0
  35. package/packages/agent-team/lib/types/ledger.d.ts.map +1 -1
  36. package/packages/agent-team/lib/types/member-context.d.ts +14 -0
  37. package/packages/agent-team/lib/types/member-context.d.ts.map +1 -1
  38. package/packages/agent-team/lib/types/member-time-context.d.ts +15 -0
  39. package/packages/agent-team/lib/types/member-time-context.d.ts.map +1 -1
  40. package/packages/agent-team/lib/types/pressure-policy.d.ts +5 -1
  41. package/packages/agent-team/lib/types/pressure-policy.d.ts.map +1 -1
  42. package/packages/agent-team/lib/types/stored-session-reader.d.ts +1 -2
  43. package/packages/agent-team/lib/types/stored-session-reader.d.ts.map +1 -1
  44. package/packages/agent-team/lib/types/types/entities.d.ts +1 -8
  45. package/packages/agent-team/lib/types/types/entities.d.ts.map +1 -1
  46. package/packages/agent-team/lib/types/types/requests-results.d.ts +84 -0
  47. package/packages/agent-team/lib/types/types/requests-results.d.ts.map +1 -1
  48. package/packages/client-agent-team/README.md +1 -1
  49. package/packages/client-agent-team/README.zh.md +1 -1
  50. package/packages/client-agent-team/lib/client.js +615 -275
  51. package/packages/client-agent-team/lib/client.js.map +1 -1
  52. package/packages/client-agent-team/lib/types/client/EnvironmentCheck.d.ts +18 -0
  53. package/packages/client-agent-team/lib/types/client/EnvironmentCheck.d.ts.map +1 -0
  54. package/packages/client-agent-team/lib/types/client/EnvironmentCheck.js +58 -0
  55. package/packages/client-agent-team/lib/types/client/HumanSettingsSection.d.ts +3 -0
  56. package/packages/client-agent-team/lib/types/client/HumanSettingsSection.d.ts.map +1 -1
  57. package/packages/client-agent-team/lib/types/client/HumanSettingsSection.js +7 -4
  58. package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.js +6 -11
  59. package/packages/client-agent-team/lib/types/client/TeamChannelPage.js +3 -3
  60. package/packages/client-agent-team/lib/types/client/TeamChannelsPanel.js +4 -4
  61. package/packages/client-agent-team/lib/types/client/TeamComposer.js +3 -3
  62. package/packages/client-agent-team/lib/types/client/TeamFooterAction.js +2 -2
  63. package/packages/client-agent-team/lib/types/client/TeamMemberEditor.js +3 -3
  64. package/packages/client-agent-team/lib/types/client/TeamMembersAction.js +2 -2
  65. package/packages/client-agent-team/lib/types/client/TeamMessage.d.ts.map +1 -1
  66. package/packages/client-agent-team/lib/types/client/TeamMessage.js +1 -1
  67. package/packages/client-agent-team/lib/types/client/TeamPresenceDot.d.ts +1 -1
  68. package/packages/client-agent-team/lib/types/client/TeamPresenceDot.d.ts.map +1 -1
  69. package/packages/client-agent-team/lib/types/client/TeamPresenceDot.js +2 -7
  70. package/packages/client-agent-team/lib/types/client/TeamRowMenu.d.ts.map +1 -1
  71. package/packages/client-agent-team/lib/types/client/TeamRowMenu.js +2 -2
  72. package/packages/client-agent-team/lib/types/client/TeamSidebarSection.js +2 -2
  73. package/packages/client-agent-team/lib/types/client/TeamThreadPage.js +3 -3
  74. package/packages/client-agent-team/lib/types/client/TeamWorkspaceBrowser.js +3 -3
  75. package/packages/client-agent-team/lib/types/client/TeamWorkspaceSelector.js +2 -2
  76. package/packages/client-agent-team/lib/types/client/environment-check.d.ts +65 -0
  77. package/packages/client-agent-team/lib/types/client/environment-check.d.ts.map +1 -0
  78. package/packages/client-agent-team/lib/types/client/environment-check.js +78 -0
  79. package/packages/client-agent-team/lib/types/client/human-identity.d.ts +4 -8
  80. package/packages/client-agent-team/lib/types/client/human-identity.d.ts.map +1 -1
  81. package/packages/client-agent-team/lib/types/client/human-identity.js +0 -21
  82. package/packages/client-agent-team/lib/types/client/index.d.ts.map +1 -1
  83. package/packages/client-agent-team/lib/types/client/index.js +59 -49
  84. package/packages/client-agent-team/lib/types/client/locales.d.ts +18 -8
  85. package/packages/client-agent-team/lib/types/client/locales.d.ts.map +1 -1
  86. package/packages/client-agent-team/lib/types/client/locales.js +21 -8
  87. package/packages/client-agent-team/lib/types/client/multi-menu-field.js +2 -2
  88. package/packages/client-agent-team/lib/types/client/slots.d.ts +1 -1
  89. package/packages/tool-agent-team/README.md +1 -1
  90. package/packages/tool-agent-team/README.zh.md +1 -1
  91. package/packages/tool-agent-team/lib/context-tools.js +106 -94
  92. package/packages/tool-agent-team/lib/index.js +17 -2
  93. package/packages/tool-agent-team/lib/types/context-tools.d.ts +16 -7
  94. package/packages/tool-agent-team/lib/types/context-tools.d.ts.map +1 -1
  95. package/packages/tool-agent-team/lib/types/index.d.ts.map +1 -1
  96. package/packages/agent-team/lib/preset-roster.js +0 -15
  97. package/packages/agent-team/lib/session-remediation.js +0 -493
  98. package/packages/agent-team/lib/types/preset-roster.d.ts +0 -5
  99. package/packages/agent-team/lib/types/preset-roster.d.ts.map +0 -1
  100. package/packages/agent-team/lib/types/session-remediation.d.ts +0 -172
  101. package/packages/agent-team/lib/types/session-remediation.d.ts.map +0 -1
  102. 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(),
@@ -64,20 +66,21 @@ const _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema = z.object({
64
66
  'path': z.string().readonly(),
65
67
  }).readonly().optional(),
66
68
  'sessionId': z.intersection(z.string(), z.unknown()).readonly().optional(),
67
- 'remediable': z.boolean().readonly().optional(),
68
69
  }).readonly().optional(),
69
70
  'capabilityWarnings': z.union([z.undefined(), z.array(z.object({
70
71
  'name': z.string().readonly(),
71
72
  'knownNames': z.array(z.string()).readonly(),
72
73
  }))]).readonly().optional(),
73
74
  }).readonly(),
74
- })
75
- const _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema = z.object({
75
+ }))
76
+ let _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema$value
77
+ const _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema$value ??= z.object({
76
78
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
77
79
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
78
80
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
79
- })
80
- const _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema = z.object({
81
+ }))
82
+ let _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema$value
83
+ const _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema$value ??= z.object({
81
84
  'receipt': z.object({
82
85
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
83
86
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -101,12 +104,14 @@ const _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema = z.object
101
104
  'normalizedDirection': z.string().readonly(),
102
105
  'state': z.union([z.literal("active"), z.literal("done"), z.literal("released")]).readonly(),
103
106
  })).readonly(),
104
- })
105
- const _wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema = z.object({
107
+ }))
108
+ let _wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema$value
109
+ const _wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema$value ??= z.object({
106
110
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
107
111
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
108
- })
109
- const _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema = z.object({
112
+ }))
113
+ let _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema$value
114
+ const _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema$value ??= z.object({
110
115
  'receipt': z.object({
111
116
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
112
117
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -149,15 +154,17 @@ const _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema = z.object(
149
154
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
150
155
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
151
156
  })).readonly(),
152
- })
153
- const _wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema = z.object({
157
+ }))
158
+ let _wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema$value
159
+ const _wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema$value ??= z.object({
154
160
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
155
161
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
156
162
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
157
163
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
158
164
  'action': z.union([z.literal("follow"), z.literal("unfollow")]).readonly(),
159
- })
160
- const _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema = z.object({
165
+ }))
166
+ let _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema$value
167
+ const _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema$value ??= z.object({
161
168
  'receipt': z.object({
162
169
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
163
170
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -182,8 +189,9 @@ const _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema = z.objec
182
189
  'startSequence': z.number().readonly(),
183
190
  'readThroughSequence': z.number().readonly(),
184
191
  }).readonly().optional(),
185
- })
186
- const _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema = z.object({
192
+ }))
193
+ let _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema$value
194
+ const _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema$value ??= z.object({
187
195
  'scope': z.union([z.object({
188
196
  'kind': z.literal("workspace").readonly(),
189
197
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -197,18 +205,21 @@ const _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema = z.object({
197
205
  'kind': z.literal("presence").readonly(),
198
206
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
199
207
  })]).readonly().optional(),
200
- })
201
- const _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema = z.object({
208
+ }))
209
+ let _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema$value
210
+ const _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_changes_result$schema$value ??= z.object({
202
211
  'version': z.number().readonly(),
203
- })
204
- const _wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema = z.object({
212
+ }))
213
+ let _wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema$value
214
+ const _wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema$value ??= z.object({
205
215
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
206
216
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
207
217
  'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
208
218
  'action': z.union([z.literal("accept"), z.literal("close"), z.literal("reopen")]).readonly(),
209
219
  'baseRevision': z.number().readonly(),
210
- })
211
- const _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema = z.union([z.object({
220
+ }))
221
+ let _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema$value
222
+ const _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema$value ??= z.union([z.object({
212
223
  'kind': z.literal("committed").readonly(),
213
224
  'receipt': z.object({
214
225
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -261,13 +272,15 @@ const _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema = z.union([z.o
261
272
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
262
273
  'expectedRevision': z.number().readonly(),
263
274
  'revision': z.number().readonly(),
264
- })])
265
- const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema = z.object({
275
+ })]))
276
+ let _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema$value
277
+ const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema$value ??= z.object({
266
278
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
267
279
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
268
280
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
269
- })
270
- const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema = z.object({
281
+ }))
282
+ let _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema$value
283
+ const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema$value ??= z.object({
271
284
  'receipt': z.object({
272
285
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
273
286
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -308,22 +321,23 @@ const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema = z.ob
308
321
  'path': z.string().readonly(),
309
322
  }).readonly().optional(),
310
323
  'sessionId': z.intersection(z.string(), z.unknown()).readonly().optional(),
311
- 'remediable': z.boolean().readonly().optional(),
312
324
  }).readonly().optional(),
313
325
  'capabilityWarnings': z.union([z.undefined(), z.array(z.object({
314
326
  'name': z.string().readonly(),
315
327
  'knownNames': z.array(z.string()).readonly(),
316
328
  }))]).readonly().optional(),
317
329
  }).readonly(),
318
- })
319
- const _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema = z.object({
330
+ }))
331
+ let _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema$value
332
+ const _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema$value ??= z.object({
320
333
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
321
334
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
322
335
  'name': z.string().readonly(),
323
336
  'description': z.string().readonly(),
324
337
  'memberIds': z.array(z.intersection(z.string(), z.unknown())).readonly().optional(),
325
- })
326
- const _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema = z.object({
338
+ }))
339
+ let _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema$value
340
+ const _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema$value ??= z.object({
327
341
  'receipt': z.object({
328
342
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
329
343
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -339,39 +353,61 @@ const _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema = z.object(
339
353
  'state': z.union([z.literal("archived"), z.literal("active")]).readonly(),
340
354
  }).readonly(),
341
355
  'memberIds': z.array(z.intersection(z.string(), z.unknown())).readonly(),
342
- })
343
- const _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema = z.object({
356
+ }))
357
+ let _wowyuarm_dsh_agent_team_agentTeam_environment_parameter_0$schema$value
358
+ const _wowyuarm_dsh_agent_team_agentTeam_environment_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_environment_parameter_0$schema$value ??= z.object({}))
359
+ let _wowyuarm_dsh_agent_team_agentTeam_environment_result$schema$value
360
+ const _wowyuarm_dsh_agent_team_agentTeam_environment_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_environment_result$schema$value ??= z.object({
361
+ 'verdict': z.union([z.literal("ok"), z.literal("out-of-range"), z.literal("undetermined")]).readonly(),
362
+ 'reason': z.union([z.undefined(), z.string()]).readonly().optional(),
363
+ 'bundleVersion': z.union([z.undefined(), z.string()]).readonly().optional(),
364
+ 'dshVersion': z.union([z.undefined(), z.string()]).readonly().optional(),
365
+ 'certifiedDshVersion': z.union([z.undefined(), z.string()]).readonly().optional(),
366
+ 'supportRange': z.union([z.undefined(), z.object({
367
+ 'lower': z.string().readonly(),
368
+ 'upper': z.string().readonly(),
369
+ })]).readonly().optional(),
370
+ }))
371
+ let _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema$value
372
+ const _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema$value ??= z.object({
344
373
  'attachmentId': z.intersection(z.string(), z.unknown()).readonly(),
345
- })
346
- const _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema = z.object({
374
+ }))
375
+ let _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema$value
376
+ const _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema$value ??= z.object({
347
377
  'name': z.string().readonly(),
348
378
  'mediaType': z.string().readonly(),
349
379
  'byteSize': z.number().readonly(),
350
380
  'bytesBase64': z.string().readonly(),
351
- })
352
- const _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_parameter_0$schema = z.object({
381
+ }))
382
+ let _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_parameter_0$schema$value
383
+ const _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_parameter_0$schema$value ??= z.object({
353
384
  'avatarRef': z.string().readonly(),
354
- })
355
- const _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_result$schema = z.object({
385
+ }))
386
+ let _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_result$schema$value
387
+ const _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_result$schema$value ??= z.object({
356
388
  'name': z.string().readonly(),
357
389
  'mediaType': z.string().readonly(),
358
390
  'byteSize': z.number().readonly(),
359
391
  '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({
392
+ }))
393
+ let _wowyuarm_dsh_agent_team_agentTeam_humanProfile_parameter_0$schema$value
394
+ const _wowyuarm_dsh_agent_team_agentTeam_humanProfile_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_humanProfile_parameter_0$schema$value ??= z.object({}))
395
+ let _wowyuarm_dsh_agent_team_agentTeam_humanProfile_result$schema$value
396
+ const _wowyuarm_dsh_agent_team_agentTeam_humanProfile_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_humanProfile_result$schema$value ??= z.object({
363
397
  'name': z.string().readonly(),
364
398
  'avatarRef': z.union([z.undefined(), z.string()]).readonly().optional(),
365
399
  'version': z.string().readonly(),
366
400
  'repoUrl': z.string().readonly(),
367
401
  'updateAvailable': z.boolean().readonly(),
368
402
  'latestVersion': z.union([z.undefined(), z.string()]).readonly().optional(),
369
- })
370
- const _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema = z.object({
403
+ }))
404
+ let _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema$value
405
+ const _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema$value ??= z.object({
371
406
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
372
407
  'limit': z.number().readonly().optional(),
373
- })
374
- const _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema = z.object({
408
+ }))
409
+ let _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema$value
410
+ const _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema$value ??= z.object({
375
411
  'humanMemberId': z.intersection(z.string(), z.unknown()).readonly(),
376
412
  'items': z.array(z.object({
377
413
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -449,14 +485,16 @@ const _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema = z.object({
449
485
  })).readonly(),
450
486
  'totalUnreadCount': z.number().readonly(),
451
487
  'totalDirectCount': z.number().readonly(),
452
- })
453
- const _wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema = z.object({
488
+ }))
489
+ let _wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema$value
490
+ const _wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema$value ??= z.object({
454
491
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
455
492
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
456
493
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
457
494
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
458
- })
459
- const _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema = z.object({
495
+ }))
496
+ let _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema$value
497
+ const _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema$value ??= z.object({
460
498
  'receipt': z.object({
461
499
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
462
500
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -465,13 +503,15 @@ const _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema = z.object({
465
503
  }).readonly(),
466
504
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
467
505
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
468
- })
469
- const _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema = z.object({
506
+ }))
507
+ let _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema$value
508
+ const _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema$value ??= z.object({
470
509
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
471
510
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
472
511
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
473
- })
474
- const _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema = z.object({
512
+ }))
513
+ let _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema$value
514
+ const _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema$value ??= z.object({
475
515
  'receipt': z.object({
476
516
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
477
517
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -480,13 +520,15 @@ const _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema = z.object(
480
520
  }).readonly(),
481
521
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
482
522
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
483
- })
484
- const _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema = z.object({
523
+ }))
524
+ let _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema$value
525
+ const _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema$value ??= z.object({
485
526
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
486
527
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
487
528
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
488
- })
489
- const _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema = z.object({
529
+ }))
530
+ let _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema$value
531
+ const _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema$value ??= z.object({
490
532
  'receipt': z.object({
491
533
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
492
534
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -508,11 +550,13 @@ const _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema = z.object
508
550
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
509
551
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
510
552
  })).readonly(),
511
- })
512
- const _wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema = z.object({
553
+ }))
554
+ let _wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema$value
555
+ const _wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema$value ??= z.object({
513
556
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly().optional(),
514
- })
515
- const _wowyuarm_dsh_agent_team_agentTeam_members_result$schema = z.array(z.object({
557
+ }))
558
+ let _wowyuarm_dsh_agent_team_agentTeam_members_result$schema$value
559
+ const _wowyuarm_dsh_agent_team_agentTeam_members_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_members_result$schema$value ??= z.array(z.object({
516
560
  'member': z.object({
517
561
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
518
562
  'sessionId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -546,20 +590,21 @@ const _wowyuarm_dsh_agent_team_agentTeam_members_result$schema = z.array(z.objec
546
590
  'path': z.string().readonly(),
547
591
  }).readonly().optional(),
548
592
  'sessionId': z.intersection(z.string(), z.unknown()).readonly().optional(),
549
- 'remediable': z.boolean().readonly().optional(),
550
593
  }).readonly().optional(),
551
594
  'capabilityWarnings': z.union([z.undefined(), z.array(z.object({
552
595
  'name': z.string().readonly(),
553
596
  'knownNames': z.array(z.string()).readonly(),
554
597
  }))]).readonly().optional(),
555
- }))
556
- const _wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema = z.object({
598
+ })))
599
+ let _wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema$value
600
+ const _wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema$value ??= z.object({
557
601
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
558
602
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
559
603
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
560
604
  'baseRevision': z.number().readonly(),
561
- })
562
- const _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema = z.union([z.object({
605
+ }))
606
+ let _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema$value
607
+ const _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema$value ??= z.union([z.object({
563
608
  'kind': z.literal("unread_required").readonly(),
564
609
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
565
610
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
@@ -603,40 +648,46 @@ const _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema = z.union([
603
648
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
604
649
  'revision': z.number().readonly(),
605
650
  }).readonly(),
606
- })])
607
- const _wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema = z.object({
651
+ })]))
652
+ let _wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema$value
653
+ const _wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema$value ??= z.object({
608
654
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
609
655
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
610
656
  'name': z.string().readonly(),
611
657
  'mediaType': z.union([z.undefined(), z.string()]).readonly().optional(),
612
658
  'bytesBase64': z.string().readonly(),
613
- })
614
- const _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema = z.object({
659
+ }))
660
+ let _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema$value
661
+ const _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema$value ??= z.object({
615
662
  'attachmentId': z.intersection(z.string(), z.unknown()).readonly(),
616
663
  'path': z.string().readonly(),
617
664
  'name': z.string().readonly(),
618
665
  'byteSize': z.number().readonly(),
619
666
  'mediaType': z.string().readonly(),
620
- })
621
- const _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_parameter_0$schema = z.object({
667
+ }))
668
+ let _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_parameter_0$schema$value
669
+ const _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_parameter_0$schema$value ??= z.object({
622
670
  'name': z.string().readonly(),
623
671
  'mediaType': z.union([z.undefined(), z.string()]).readonly().optional(),
624
672
  'bytesBase64': z.string().readonly(),
625
- })
626
- const _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_result$schema = z.object({
673
+ }))
674
+ let _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_result$schema$value
675
+ const _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_result$schema$value ??= z.object({
627
676
  'avatarRef': z.string().readonly(),
628
677
  'path': z.string().readonly(),
629
678
  'name': z.string().readonly(),
630
679
  'byteSize': z.number().readonly(),
631
680
  'mediaType': z.string().readonly(),
632
- })
633
- const _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema = z.object({
681
+ }))
682
+ let _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema$value
683
+ const _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema$value ??= z.object({
634
684
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
635
685
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
636
686
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
637
687
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
638
- })
639
- const _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema = z.object({
688
+ }))
689
+ let _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema$value
690
+ const _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema$value ??= z.object({
640
691
  'receipt': z.object({
641
692
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
642
693
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -763,13 +814,15 @@ const _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema = z.object({
763
814
  'action': z.union([z.literal("unavailable"), z.literal("rollover"), z.literal("keep"), z.literal("handoff-now")]).readonly(),
764
815
  'guidance': z.string().readonly(),
765
816
  }).readonly().optional(),
766
- })
767
- const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema = z.object({
817
+ }))
818
+ let _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema$value
819
+ const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema$value ??= z.object({
768
820
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
769
821
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
770
822
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
771
- })
772
- const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema = z.object({
823
+ }))
824
+ let _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema$value
825
+ const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema$value ??= z.object({
773
826
  'status': z.object({
774
827
  'member': z.object({
775
828
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -804,21 +857,22 @@ const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema = z.object(
804
857
  'path': z.string().readonly(),
805
858
  }).readonly().optional(),
806
859
  'sessionId': z.intersection(z.string(), z.unknown()).readonly().optional(),
807
- 'remediable': z.boolean().readonly().optional(),
808
860
  }).readonly().optional(),
809
861
  'capabilityWarnings': z.union([z.undefined(), z.array(z.object({
810
862
  'name': z.string().readonly(),
811
863
  'knownNames': z.array(z.string()).readonly(),
812
864
  }))]).readonly().optional(),
813
865
  }).readonly(),
814
- })
815
- const _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema = z.object({
866
+ }))
867
+ let _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema$value
868
+ const _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema$value ??= z.object({
816
869
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
817
870
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
818
871
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
819
872
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
820
- })
821
- const _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema = z.object({
873
+ }))
874
+ let _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema$value
875
+ const _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema$value ??= z.object({
822
876
  'receipt': z.object({
823
877
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
824
878
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -840,14 +894,17 @@ const _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema = z.o
840
894
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
841
895
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
842
896
  })).readonly(),
843
- })
844
- const _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_parameter_0$schema = z.object({
897
+ }))
898
+ let _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_parameter_0$schema$value
899
+ const _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_parameter_0$schema$value ??= z.object({
845
900
  'avatarRef': z.string().readonly(),
846
- })
847
- const _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_result$schema = z.object({
901
+ }))
902
+ let _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_result$schema$value
903
+ const _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_result$schema$value ??= z.object({
848
904
  'removed': z.boolean().readonly(),
849
- })
850
- const _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema = z.object({
905
+ }))
906
+ let _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema$value
907
+ const _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema$value ??= z.object({
851
908
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
852
909
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
853
910
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
@@ -858,8 +915,9 @@ const _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema = z.object({
858
915
  'attachmentPaths': z.union([z.undefined(), z.array(z.string())]).readonly().optional(),
859
916
  'attachments': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
860
917
  'confirmationToken': z.intersection(z.string(), z.unknown()).readonly().optional(),
861
- })
862
- const _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema = z.union([z.object({
918
+ }))
919
+ let _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema$value
920
+ const _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_reply_result$schema$value ??= z.union([z.object({
863
921
  'kind': z.literal("unread_required").readonly(),
864
922
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
865
923
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
@@ -939,24 +997,28 @@ const _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema = z.union([z.object
939
997
  'sequence': z.number().readonly(),
940
998
  })).readonly(),
941
999
  '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({
1000
+ })]))
1001
+ let _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_parameter_0$schema$value
1002
+ const _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_parameter_0$schema$value ??= z.object({
944
1003
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
945
1004
  'taskRefs': z.array(z.intersection(z.string(), z.unknown())).readonly(),
946
- })
947
- const _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema = z.object({
1005
+ }))
1006
+ let _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema$value
1007
+ const _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema$value ??= z.object({
948
1008
  'resolved': z.array(z.object({
949
1009
  'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
950
1010
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
951
1011
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
952
1012
  'taskNumber': z.number().readonly(),
953
1013
  })).readonly(),
954
- })
955
- const _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_parameter_0$schema = z.object({
1014
+ }))
1015
+ let _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_parameter_0$schema$value
1016
+ const _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_parameter_0$schema$value ??= z.object({
956
1017
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
957
1018
  'threadRefs': z.array(z.intersection(z.string(), z.unknown())).readonly(),
958
- })
959
- const _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema = z.object({
1019
+ }))
1020
+ let _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema$value
1021
+ const _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema$value ??= z.object({
960
1022
  'resolved': z.array(z.object({
961
1023
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
962
1024
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
@@ -964,8 +1026,9 @@ const _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema = z.obj
964
1026
  'taskNumber': z.number().readonly().optional(),
965
1027
  'title': z.string().readonly(),
966
1028
  })).readonly(),
967
- })
968
- const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema = z.object({
1029
+ }))
1030
+ let _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema$value
1031
+ const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema$value ??= z.object({
969
1032
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
970
1033
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
971
1034
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
@@ -975,8 +1038,9 @@ const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema = z.obje
975
1038
  'attachmentPaths': z.union([z.undefined(), z.array(z.string())]).readonly().optional(),
976
1039
  'confirmationToken': z.intersection(z.string(), z.unknown()).readonly().optional(),
977
1040
  'asTask': z.boolean().readonly().optional(),
978
- })
979
- const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema = z.union([z.object({
1041
+ }))
1042
+ let _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema$value
1043
+ const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema$value ??= z.union([z.object({
980
1044
  'kind': z.literal("committed").readonly(),
981
1045
  'receipt': z.object({
982
1046
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1042,15 +1106,27 @@ const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema = z.union([z.
1042
1106
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1043
1107
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1044
1108
  'revision': z.number().readonly().optional(),
1045
- })])
1046
- const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema = z.object({
1109
+ })]))
1110
+ let _wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_parameter_0$schema$value
1111
+ const _wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_parameter_0$schema$value ??= z.object({
1112
+ 'name': z.union([z.undefined(), z.string()]).readonly().optional(),
1113
+ 'avatarRef': z.union([z.undefined(), z.literal(null), z.string()]).readonly().optional(),
1114
+ }))
1115
+ let _wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_result$schema$value
1116
+ const _wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_result$schema$value ??= z.object({
1117
+ 'name': z.string().readonly(),
1118
+ 'avatarRef': z.union([z.undefined(), z.string()]).readonly().optional(),
1119
+ }))
1120
+ let _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema$value
1121
+ const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema$value ??= z.object({
1047
1122
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
1048
1123
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1049
1124
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1050
1125
  'beforeSequence': z.number().readonly().optional(),
1051
1126
  'limit': z.number().readonly().optional(),
1052
- })
1053
- const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema = z.object({
1127
+ }))
1128
+ let _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema$value
1129
+ const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema$value ??= z.object({
1054
1130
  'task': z.object({
1055
1131
  'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
1056
1132
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1146,14 +1222,16 @@ const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema = z.object(
1146
1222
  })])).readonly(),
1147
1223
  'cursor': z.number().readonly(),
1148
1224
  'hasMore': z.boolean().readonly(),
1149
- })
1150
- const _wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema = z.object({
1225
+ }))
1226
+ let _wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema$value
1227
+ const _wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema$value ??= z.object({
1151
1228
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
1152
1229
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1153
1230
  'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1154
1231
  'limit': z.number().readonly().optional(),
1155
- })
1156
- const _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema = z.object({
1232
+ }))
1233
+ let _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema$value
1234
+ const _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema$value ??= z.object({
1157
1235
  'items': z.array(z.object({
1158
1236
  'sequence': z.number().readonly(),
1159
1237
  'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1162,15 +1240,17 @@ const _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema = z.ob
1162
1240
  'action': z.union([z.literal("follow"), z.literal("unfollow")]).readonly(),
1163
1241
  })).readonly(),
1164
1242
  'followers': z.array(z.intersection(z.string(), z.unknown())).readonly(),
1165
- })
1166
- const _wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema = z.object({
1243
+ }))
1244
+ let _wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema$value
1245
+ const _wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema$value ??= z.object({
1167
1246
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
1168
1247
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
1169
1248
  'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
1170
1249
  'name': z.string().readonly(),
1171
1250
  'description': z.string().readonly(),
1172
- })
1173
- const _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema = z.object({
1251
+ }))
1252
+ let _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema$value
1253
+ const _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema$value ??= z.object({
1174
1254
  'receipt': z.object({
1175
1255
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
1176
1256
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1185,8 +1265,9 @@ const _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema = z.object(
1185
1265
  'createdAtSequence': z.number().readonly(),
1186
1266
  'state': z.union([z.literal("archived"), z.literal("active")]).readonly(),
1187
1267
  }).readonly(),
1188
- })
1189
- const _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema = z.object({
1268
+ }))
1269
+ let _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema$value
1270
+ const _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema$value ??= z.object({
1190
1271
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
1191
1272
  'memberId': z.intersection(z.string(), z.unknown()).readonly(),
1192
1273
  'handle': z.string().readonly(),
@@ -1204,8 +1285,9 @@ const _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema = z.obj
1204
1285
  'allow': z.array(z.string()).readonly().optional(),
1205
1286
  })]).readonly().optional(),
1206
1287
  }).readonly().optional(),
1207
- })
1208
- const _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema = z.object({
1288
+ }))
1289
+ let _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema$value
1290
+ const _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema$value ??= z.object({
1209
1291
  'receipt': z.object({
1210
1292
  'operationId': z.intersection(z.string(), z.unknown()).readonly(),
1211
1293
  'requestId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1246,15 +1328,15 @@ const _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema = z.object({
1246
1328
  'path': z.string().readonly(),
1247
1329
  }).readonly().optional(),
1248
1330
  'sessionId': z.intersection(z.string(), z.unknown()).readonly().optional(),
1249
- 'remediable': z.boolean().readonly().optional(),
1250
1331
  }).readonly().optional(),
1251
1332
  'capabilityWarnings': z.union([z.undefined(), z.array(z.object({
1252
1333
  'name': z.string().readonly(),
1253
1334
  'knownNames': z.array(z.string()).readonly(),
1254
1335
  }))]).readonly().optional(),
1255
1336
  }).readonly(),
1256
- })
1257
- const _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema = z.object({
1337
+ }))
1338
+ let _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema$value
1339
+ const _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema$value ??= z.object({
1258
1340
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
1259
1341
  'channelRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
1260
1342
  'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
@@ -1263,8 +1345,9 @@ const _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema = z.object({
1263
1345
  'direction': z.union([z.literal("after"), z.literal("before")]).readonly().optional(),
1264
1346
  'topLevelOnly': z.boolean().readonly().optional(),
1265
1347
  'includeActivities': z.boolean().readonly().optional(),
1266
- })
1267
- const _wowyuarm_dsh_agent_team_agentTeam_view_result$schema = z.object({
1348
+ }))
1349
+ let _wowyuarm_dsh_agent_team_agentTeam_view_result$schema$value
1350
+ const _wowyuarm_dsh_agent_team_agentTeam_view_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_view_result$schema$value ??= z.object({
1268
1351
  'humanMemberId': z.intersection(z.string(), z.unknown()).readonly(),
1269
1352
  'workspaces': z.array(z.object({
1270
1353
  'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1337,6 +1420,19 @@ const _wowyuarm_dsh_agent_team_agentTeam_view_result$schema = z.object({
1337
1420
  })).readonly(),
1338
1421
  'messageCount': z.number().readonly(),
1339
1422
  'lastActivityAt': z.string().readonly(),
1423
+ })).readonly(),
1424
+ 'activeTaskThreads': z.array(z.object({
1425
+ 'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
1426
+ 'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
1427
+ 'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
1428
+ 'taskNumber': z.number().readonly().optional(),
1429
+ 'status': z.union([z.literal("done"), z.literal("todo"), z.literal("in_progress"), z.literal("in_review"), z.literal("closed")]).readonly(),
1430
+ 'subject': z.string().readonly(),
1431
+ 'members': z.array(z.object({
1432
+ 'memberId': z.intersection(z.string(), z.unknown()).readonly(),
1433
+ 'name': z.string().readonly(),
1434
+ })).readonly(),
1435
+ 'lastActivityAt': z.string().readonly(),
1340
1436
  })).readonly(),
1341
1437
  'claims': z.array(z.object({
1342
1438
  'claimRef': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1376,7 +1472,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_view_result$schema = z.object({
1376
1472
  })])).readonly(),
1377
1473
  'cursor': z.number().readonly(),
1378
1474
  'hasMore': z.boolean().readonly(),
1379
- })
1475
+ }))
1380
1476
 
1381
1477
  export const TYPERT = {
1382
1478
  package: '@wowyuarm/dsh-agent-team',
@@ -1398,16 +1494,16 @@ export const TYPERT = {
1398
1494
  codec: {
1399
1495
  mode: 'strict',
1400
1496
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamAddMemberRequest',
1401
- schema: _wowyuarm_dsh_agent_team_agentTeam_addMember_parameter_0$schema,
1497
+ create: _wowyuarm_dsh_agent_team_agentTeam_addMember_parameter_0$schema,
1402
1498
  },
1403
1499
  },
1404
1500
  ],
1405
1501
  result: {
1406
1502
  mode: 'strict',
1407
1503
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamAddMemberResult',
1408
- schema: _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema,
1504
+ create: _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema,
1409
1505
  },
1410
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":837,"column":9},
1506
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":896,"column":9},
1411
1507
  },
1412
1508
  {
1413
1509
  id: '@wowyuarm/dsh-agent-team#agentTeam/archiveChannel',
@@ -1423,16 +1519,16 @@ export const TYPERT = {
1423
1519
  codec: {
1424
1520
  mode: 'strict',
1425
1521
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveChannelRequest',
1426
- schema: _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema,
1522
+ create: _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_parameter_0$schema,
1427
1523
  },
1428
1524
  },
1429
1525
  ],
1430
1526
  result: {
1431
1527
  mode: 'strict',
1432
1528
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveChannelResult',
1433
- schema: _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema,
1529
+ create: _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema,
1434
1530
  },
1435
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":827,"column":9},
1531
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":886,"column":9},
1436
1532
  },
1437
1533
  {
1438
1534
  id: '@wowyuarm/dsh-agent-team#agentTeam/archiveMember',
@@ -1448,16 +1544,16 @@ export const TYPERT = {
1448
1544
  codec: {
1449
1545
  mode: 'strict',
1450
1546
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveMemberRequest',
1451
- schema: _wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema,
1547
+ create: _wowyuarm_dsh_agent_team_agentTeam_archiveMember_parameter_0$schema,
1452
1548
  },
1453
1549
  },
1454
1550
  ],
1455
1551
  result: {
1456
1552
  mode: 'strict',
1457
1553
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveMemberResult',
1458
- schema: _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema,
1554
+ create: _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema,
1459
1555
  },
1460
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1229,"column":9},
1556
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1276,"column":9},
1461
1557
  },
1462
1558
  {
1463
1559
  id: '@wowyuarm/dsh-agent-team#agentTeam/changeAttention',
@@ -1473,16 +1569,16 @@ export const TYPERT = {
1473
1569
  codec: {
1474
1570
  mode: 'strict',
1475
1571
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadAttentionRequest',
1476
- schema: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema,
1572
+ create: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema,
1477
1573
  },
1478
1574
  },
1479
1575
  ],
1480
1576
  result: {
1481
1577
  mode: 'strict',
1482
1578
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadAttentionResult',
1483
- schema: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema,
1579
+ create: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema,
1484
1580
  },
1485
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1420,"column":9},
1581
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1527,"column":9},
1486
1582
  },
1487
1583
  {
1488
1584
  id: '@wowyuarm/dsh-agent-team#agentTeam/changes',
@@ -1499,7 +1595,7 @@ export const TYPERT = {
1499
1595
  codec: {
1500
1596
  mode: 'strict',
1501
1597
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamChangesRequest',
1502
- schema: _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema,
1598
+ create: _wowyuarm_dsh_agent_team_agentTeam_changes_parameter_0$schema,
1503
1599
  },
1504
1600
  },
1505
1601
  ],
@@ -1507,9 +1603,9 @@ export const TYPERT = {
1507
1603
  result: {
1508
1604
  mode: 'strict',
1509
1605
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamChangesResult',
1510
- schema: _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema,
1606
+ create: _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema,
1511
1607
  },
1512
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":760,"column":11},
1608
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":819,"column":11},
1513
1609
  },
1514
1610
  {
1515
1611
  id: '@wowyuarm/dsh-agent-team#agentTeam/changeTask',
@@ -1525,16 +1621,16 @@ export const TYPERT = {
1525
1621
  codec: {
1526
1622
  mode: 'strict',
1527
1623
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamTaskRequest',
1528
- schema: _wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema,
1624
+ create: _wowyuarm_dsh_agent_team_agentTeam_changeTask_parameter_0$schema,
1529
1625
  },
1530
1626
  },
1531
1627
  ],
1532
1628
  result: {
1533
1629
  mode: 'strict',
1534
1630
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamTaskResult',
1535
- schema: _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema,
1631
+ create: _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema,
1536
1632
  },
1537
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1241,"column":9},
1633
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1288,"column":9},
1538
1634
  },
1539
1635
  {
1540
1636
  id: '@wowyuarm/dsh-agent-team#agentTeam/clearMemberContext',
@@ -1550,16 +1646,16 @@ export const TYPERT = {
1550
1646
  codec: {
1551
1647
  mode: 'strict',
1552
1648
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamClearMemberContextRequest',
1553
- schema: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema,
1649
+ create: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema,
1554
1650
  },
1555
1651
  },
1556
1652
  ],
1557
1653
  result: {
1558
1654
  mode: 'strict',
1559
1655
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamClearMemberContextResult',
1560
- schema: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema,
1656
+ create: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema,
1561
1657
  },
1562
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":955,"column":9},
1658
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1002,"column":9},
1563
1659
  },
1564
1660
  {
1565
1661
  id: '@wowyuarm/dsh-agent-team#agentTeam/createChannel',
@@ -1575,16 +1671,42 @@ export const TYPERT = {
1575
1671
  codec: {
1576
1672
  mode: 'strict',
1577
1673
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamCreateChannelRequest',
1578
- schema: _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema,
1674
+ create: _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema,
1579
1675
  },
1580
1676
  },
1581
1677
  ],
1582
1678
  result: {
1583
1679
  mode: 'strict',
1584
1680
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamCreateChannelResult',
1585
- schema: _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema,
1681
+ create: _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema,
1586
1682
  },
1587
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":800,"column":9},
1683
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":859,"column":9},
1684
+ },
1685
+ {
1686
+ id: '@wowyuarm/dsh-agent-team#agentTeam/environment',
1687
+ service: 'agentTeam',
1688
+ namespace: 'agentTeam',
1689
+ method: 'environment',
1690
+ implementation: 'environmentForClient',
1691
+ invocation: { kind: 'direct' },
1692
+ parameters: [
1693
+ {
1694
+ name: '_request',
1695
+ wire: '_request',
1696
+ source: 'json',
1697
+ codec: {
1698
+ mode: 'strict',
1699
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamEnvironmentRequest',
1700
+ create: _wowyuarm_dsh_agent_team_agentTeam_environment_parameter_0$schema,
1701
+ },
1702
+ },
1703
+ ],
1704
+ result: {
1705
+ mode: 'strict',
1706
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamEnvironmentResult',
1707
+ create: _wowyuarm_dsh_agent_team_agentTeam_environment_result$schema,
1708
+ },
1709
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1434,"column":3},
1588
1710
  },
1589
1711
  {
1590
1712
  id: '@wowyuarm/dsh-agent-team#agentTeam/getAttachment',
@@ -1600,16 +1722,16 @@ export const TYPERT = {
1600
1722
  codec: {
1601
1723
  mode: 'strict',
1602
1724
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetAttachmentRequest',
1603
- schema: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema,
1725
+ create: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema,
1604
1726
  },
1605
1727
  },
1606
1728
  ],
1607
1729
  result: {
1608
1730
  mode: 'strict',
1609
1731
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetAttachmentResult',
1610
- schema: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema,
1732
+ create: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema,
1611
1733
  },
1612
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1355,"column":9},
1734
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1402,"column":9},
1613
1735
  },
1614
1736
  {
1615
1737
  id: '@wowyuarm/dsh-agent-team#agentTeam/getHumanAvatar',
@@ -1625,16 +1747,16 @@ export const TYPERT = {
1625
1747
  codec: {
1626
1748
  mode: 'strict',
1627
1749
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetHumanAvatarRequest',
1628
- schema: _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_parameter_0$schema,
1750
+ create: _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_parameter_0$schema,
1629
1751
  },
1630
1752
  },
1631
1753
  ],
1632
1754
  result: {
1633
1755
  mode: 'strict',
1634
1756
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetHumanAvatarResult',
1635
- schema: _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_result$schema,
1757
+ create: _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_result$schema,
1636
1758
  },
1637
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1398,"column":9},
1759
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1467,"column":9},
1638
1760
  },
1639
1761
  {
1640
1762
  id: '@wowyuarm/dsh-agent-team#agentTeam/humanProfile',
@@ -1651,16 +1773,16 @@ export const TYPERT = {
1651
1773
  codec: {
1652
1774
  mode: 'strict',
1653
1775
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamHumanProfileRequest',
1654
- schema: _wowyuarm_dsh_agent_team_agentTeam_humanProfile_parameter_0$schema,
1776
+ create: _wowyuarm_dsh_agent_team_agentTeam_humanProfile_parameter_0$schema,
1655
1777
  },
1656
1778
  },
1657
1779
  ],
1658
1780
  result: {
1659
1781
  mode: 'strict',
1660
1782
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamHumanProfileResult',
1661
- schema: _wowyuarm_dsh_agent_team_agentTeam_humanProfile_result$schema,
1783
+ create: _wowyuarm_dsh_agent_team_agentTeam_humanProfile_result$schema,
1662
1784
  },
1663
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1370,"column":3},
1785
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1439,"column":3},
1664
1786
  },
1665
1787
  {
1666
1788
  id: '@wowyuarm/dsh-agent-team#agentTeam/inbox',
@@ -1676,16 +1798,16 @@ export const TYPERT = {
1676
1798
  codec: {
1677
1799
  mode: 'strict',
1678
1800
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamInboxRequest',
1679
- schema: _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema,
1801
+ create: _wowyuarm_dsh_agent_team_agentTeam_inbox_parameter_0$schema,
1680
1802
  },
1681
1803
  },
1682
1804
  ],
1683
1805
  result: {
1684
1806
  mode: 'strict',
1685
1807
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamInbox',
1686
- schema: _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema,
1808
+ create: _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema,
1687
1809
  },
1688
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1429,"column":3},
1810
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1536,"column":3},
1689
1811
  },
1690
1812
  {
1691
1813
  id: '@wowyuarm/dsh-agent-team#agentTeam/joinChannel',
@@ -1701,16 +1823,16 @@ export const TYPERT = {
1701
1823
  codec: {
1702
1824
  mode: 'strict',
1703
1825
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinChannelRequest',
1704
- schema: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema,
1826
+ create: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_parameter_0$schema,
1705
1827
  },
1706
1828
  },
1707
1829
  ],
1708
1830
  result: {
1709
1831
  mode: 'strict',
1710
1832
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinChannelResult',
1711
- schema: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema,
1833
+ create: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema,
1712
1834
  },
1713
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1261,"column":9},
1835
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1308,"column":9},
1714
1836
  },
1715
1837
  {
1716
1838
  id: '@wowyuarm/dsh-agent-team#agentTeam/joinWorkspace',
@@ -1726,16 +1848,16 @@ export const TYPERT = {
1726
1848
  codec: {
1727
1849
  mode: 'strict',
1728
1850
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinWorkspaceRequest',
1729
- schema: _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema,
1851
+ create: _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_parameter_0$schema,
1730
1852
  },
1731
1853
  },
1732
1854
  ],
1733
1855
  result: {
1734
1856
  mode: 'strict',
1735
1857
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinWorkspaceResult',
1736
- schema: _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema,
1858
+ create: _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema,
1737
1859
  },
1738
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1281,"column":9},
1860
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1328,"column":9},
1739
1861
  },
1740
1862
  {
1741
1863
  id: '@wowyuarm/dsh-agent-team#agentTeam/leaveWorkspace',
@@ -1751,16 +1873,16 @@ export const TYPERT = {
1751
1873
  codec: {
1752
1874
  mode: 'strict',
1753
1875
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamLeaveWorkspaceRequest',
1754
- schema: _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema,
1876
+ create: _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_parameter_0$schema,
1755
1877
  },
1756
1878
  },
1757
1879
  ],
1758
1880
  result: {
1759
1881
  mode: 'strict',
1760
1882
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamLeaveWorkspaceResult',
1761
- schema: _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema,
1883
+ create: _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema,
1762
1884
  },
1763
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1290,"column":9},
1885
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1337,"column":9},
1764
1886
  },
1765
1887
  {
1766
1888
  id: '@wowyuarm/dsh-agent-team#agentTeam/members',
@@ -1777,16 +1899,16 @@ export const TYPERT = {
1777
1899
  codec: {
1778
1900
  mode: 'strict',
1779
1901
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamMembersRequest',
1780
- schema: _wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema,
1902
+ create: _wowyuarm_dsh_agent_team_agentTeam_members_parameter_0$schema,
1781
1903
  },
1782
1904
  },
1783
1905
  ],
1784
1906
  result: {
1785
1907
  mode: 'strict',
1786
1908
  typeSymbol: '@wowyuarm/dsh-agent-team#agentTeam/members:result',
1787
- schema: _wowyuarm_dsh_agent_team_agentTeam_members_result$schema,
1909
+ create: _wowyuarm_dsh_agent_team_agentTeam_members_result$schema,
1788
1910
  },
1789
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":750,"column":3},
1911
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":809,"column":3},
1790
1912
  },
1791
1913
  {
1792
1914
  id: '@wowyuarm/dsh-agent-team#agentTeam/promoteThread',
@@ -1802,16 +1924,16 @@ export const TYPERT = {
1802
1924
  codec: {
1803
1925
  mode: 'strict',
1804
1926
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPromoteThreadRequest',
1805
- schema: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema,
1927
+ create: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema,
1806
1928
  },
1807
1929
  },
1808
1930
  ],
1809
1931
  result: {
1810
1932
  mode: 'strict',
1811
1933
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPromoteThreadResult',
1812
- schema: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema,
1934
+ create: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema,
1813
1935
  },
1814
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1251,"column":9},
1936
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1298,"column":9},
1815
1937
  },
1816
1938
  {
1817
1939
  id: '@wowyuarm/dsh-agent-team#agentTeam/putAttachment',
@@ -1827,16 +1949,16 @@ export const TYPERT = {
1827
1949
  codec: {
1828
1950
  mode: 'strict',
1829
1951
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutAttachmentRequest',
1830
- schema: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema,
1952
+ create: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema,
1831
1953
  },
1832
1954
  },
1833
1955
  ],
1834
1956
  result: {
1835
1957
  mode: 'strict',
1836
1958
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutAttachmentResult',
1837
- schema: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema,
1959
+ create: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema,
1838
1960
  },
1839
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1342,"column":9},
1961
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1389,"column":9},
1840
1962
  },
1841
1963
  {
1842
1964
  id: '@wowyuarm/dsh-agent-team#agentTeam/putHumanAvatar',
@@ -1852,16 +1974,16 @@ export const TYPERT = {
1852
1974
  codec: {
1853
1975
  mode: 'strict',
1854
1976
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutHumanAvatarRequest',
1855
- schema: _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_parameter_0$schema,
1977
+ create: _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_parameter_0$schema,
1856
1978
  },
1857
1979
  },
1858
1980
  ],
1859
1981
  result: {
1860
1982
  mode: 'strict',
1861
1983
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutHumanAvatarResult',
1862
- schema: _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_result$schema,
1984
+ create: _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_result$schema,
1863
1985
  },
1864
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1390,"column":9},
1986
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1459,"column":9},
1865
1987
  },
1866
1988
  {
1867
1989
  id: '@wowyuarm/dsh-agent-team#agentTeam/readThread',
@@ -1877,16 +1999,16 @@ export const TYPERT = {
1877
1999
  codec: {
1878
2000
  mode: 'strict',
1879
2001
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadReadRequest',
1880
- schema: _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema,
2002
+ create: _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema,
1881
2003
  },
1882
2004
  },
1883
2005
  ],
1884
2006
  result: {
1885
2007
  mode: 'strict',
1886
2008
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadReadResult',
1887
- schema: _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema,
2009
+ create: _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema,
1888
2010
  },
1889
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1436,"column":9},
2011
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1543,"column":9},
1890
2012
  },
1891
2013
  {
1892
2014
  id: '@wowyuarm/dsh-agent-team#agentTeam/recoverMember',
@@ -1902,16 +2024,16 @@ export const TYPERT = {
1902
2024
  codec: {
1903
2025
  mode: 'strict',
1904
2026
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRecoverMemberRequest',
1905
- schema: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema,
2027
+ create: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema,
1906
2028
  },
1907
2029
  },
1908
2030
  ],
1909
2031
  result: {
1910
2032
  mode: 'strict',
1911
2033
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRecoverMemberResult',
1912
- schema: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema,
2034
+ create: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema,
1913
2035
  },
1914
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":900,"column":9},
2036
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":959,"column":9},
1915
2037
  },
1916
2038
  {
1917
2039
  id: '@wowyuarm/dsh-agent-team#agentTeam/removeChannelMember',
@@ -1927,16 +2049,16 @@ export const TYPERT = {
1927
2049
  codec: {
1928
2050
  mode: 'strict',
1929
2051
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveChannelMemberRequest',
1930
- schema: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema,
2052
+ create: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_parameter_0$schema,
1931
2053
  },
1932
2054
  },
1933
2055
  ],
1934
2056
  result: {
1935
2057
  mode: 'strict',
1936
2058
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveChannelMemberResult',
1937
- schema: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema,
2059
+ create: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema,
1938
2060
  },
1939
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1272,"column":9},
2061
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1319,"column":9},
1940
2062
  },
1941
2063
  {
1942
2064
  id: '@wowyuarm/dsh-agent-team#agentTeam/removeHumanAvatar',
@@ -1952,16 +2074,16 @@ export const TYPERT = {
1952
2074
  codec: {
1953
2075
  mode: 'strict',
1954
2076
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveHumanAvatarRequest',
1955
- schema: _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_parameter_0$schema,
2077
+ create: _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_parameter_0$schema,
1956
2078
  },
1957
2079
  },
1958
2080
  ],
1959
2081
  result: {
1960
2082
  mode: 'strict',
1961
2083
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveHumanAvatarResult',
1962
- schema: _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_result$schema,
2084
+ create: _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_result$schema,
1963
2085
  },
1964
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1406,"column":9},
2086
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1475,"column":9},
1965
2087
  },
1966
2088
  {
1967
2089
  id: '@wowyuarm/dsh-agent-team#agentTeam/reply',
@@ -1977,16 +2099,16 @@ export const TYPERT = {
1977
2099
  codec: {
1978
2100
  mode: 'strict',
1979
2101
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamReplyRequest',
1980
- schema: _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema,
2102
+ create: _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema,
1981
2103
  },
1982
2104
  },
1983
2105
  ],
1984
2106
  result: {
1985
2107
  mode: 'strict',
1986
2108
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamReplyResult',
1987
- schema: _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema,
2109
+ create: _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema,
1988
2110
  },
1989
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1414,"column":9},
2111
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1521,"column":9},
1990
2112
  },
1991
2113
  {
1992
2114
  id: '@wowyuarm/dsh-agent-team#agentTeam/resolveTaskRefs',
@@ -2002,16 +2124,16 @@ export const TYPERT = {
2002
2124
  codec: {
2003
2125
  mode: 'strict',
2004
2126
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveTaskRefsRequest',
2005
- schema: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_parameter_0$schema,
2127
+ create: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_parameter_0$schema,
2006
2128
  },
2007
2129
  },
2008
2130
  ],
2009
2131
  result: {
2010
2132
  mode: 'strict',
2011
2133
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveTaskRefsResult',
2012
- schema: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema,
2134
+ create: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema,
2013
2135
  },
2014
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":724,"column":3},
2136
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":783,"column":3},
2015
2137
  },
2016
2138
  {
2017
2139
  id: '@wowyuarm/dsh-agent-team#agentTeam/resolveThreadRefs',
@@ -2027,16 +2149,16 @@ export const TYPERT = {
2027
2149
  codec: {
2028
2150
  mode: 'strict',
2029
2151
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveThreadRefsRequest',
2030
- schema: _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_parameter_0$schema,
2152
+ create: _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_parameter_0$schema,
2031
2153
  },
2032
2154
  },
2033
2155
  ],
2034
2156
  result: {
2035
2157
  mode: 'strict',
2036
2158
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveThreadRefsResult',
2037
- schema: _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema,
2159
+ create: _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema,
2038
2160
  },
2039
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":737,"column":3},
2161
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":796,"column":3},
2040
2162
  },
2041
2163
  {
2042
2164
  id: '@wowyuarm/dsh-agent-team#agentTeam/sendMessage',
@@ -2052,16 +2174,41 @@ export const TYPERT = {
2052
2174
  codec: {
2053
2175
  mode: 'strict',
2054
2176
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSendMessageRequest',
2055
- schema: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema,
2177
+ create: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema,
2056
2178
  },
2057
2179
  },
2058
2180
  ],
2059
2181
  result: {
2060
2182
  mode: 'strict',
2061
2183
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSendMessageResult',
2062
- schema: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema,
2184
+ create: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema,
2185
+ },
2186
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1346,"column":9},
2187
+ },
2188
+ {
2189
+ id: '@wowyuarm/dsh-agent-team#agentTeam/setHumanProfile',
2190
+ service: 'agentTeam',
2191
+ namespace: 'agentTeam',
2192
+ method: 'setHumanProfile',
2193
+ invocation: { kind: 'direct' },
2194
+ parameters: [
2195
+ {
2196
+ name: 'request',
2197
+ wire: 'request',
2198
+ source: 'json',
2199
+ codec: {
2200
+ mode: 'strict',
2201
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSetHumanProfileRequest',
2202
+ create: _wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_parameter_0$schema,
2203
+ },
2204
+ },
2205
+ ],
2206
+ result: {
2207
+ mode: 'strict',
2208
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSetHumanProfileResult',
2209
+ create: _wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_result$schema,
2063
2210
  },
2064
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1299,"column":9},
2211
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1497,"column":9},
2065
2212
  },
2066
2213
  {
2067
2214
  id: '@wowyuarm/dsh-agent-team#agentTeam/threadHistory',
@@ -2077,16 +2224,16 @@ export const TYPERT = {
2077
2224
  codec: {
2078
2225
  mode: 'strict',
2079
2226
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadHistoryRequest',
2080
- schema: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema,
2227
+ create: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema,
2081
2228
  },
2082
2229
  },
2083
2230
  ],
2084
2231
  result: {
2085
2232
  mode: 'strict',
2086
2233
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadHistory',
2087
- schema: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema,
2234
+ create: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema,
2088
2235
  },
2089
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1454,"column":3},
2236
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1561,"column":3},
2090
2237
  },
2091
2238
  {
2092
2239
  id: '@wowyuarm/dsh-agent-team#agentTeam/threadObservations',
@@ -2102,16 +2249,16 @@ export const TYPERT = {
2102
2249
  codec: {
2103
2250
  mode: 'strict',
2104
2251
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadObservationsRequest',
2105
- schema: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema,
2252
+ create: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema,
2106
2253
  },
2107
2254
  },
2108
2255
  ],
2109
2256
  result: {
2110
2257
  mode: 'strict',
2111
2258
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadObservations',
2112
- schema: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema,
2259
+ create: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema,
2113
2260
  },
2114
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1447,"column":3},
2261
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1554,"column":3},
2115
2262
  },
2116
2263
  {
2117
2264
  id: '@wowyuarm/dsh-agent-team#agentTeam/updateChannel',
@@ -2127,16 +2274,16 @@ export const TYPERT = {
2127
2274
  codec: {
2128
2275
  mode: 'strict',
2129
2276
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamUpdateChannelRequest',
2130
- schema: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema,
2277
+ create: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_parameter_0$schema,
2131
2278
  },
2132
2279
  },
2133
2280
  ],
2134
2281
  result: {
2135
2282
  mode: 'strict',
2136
2283
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamUpdateChannelResult',
2137
- schema: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema,
2284
+ create: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema,
2138
2285
  },
2139
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":812,"column":9},
2286
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":871,"column":9},
2140
2287
  },
2141
2288
  {
2142
2289
  id: '@wowyuarm/dsh-agent-team#agentTeam/updateMember',
@@ -2152,16 +2299,16 @@ export const TYPERT = {
2152
2299
  codec: {
2153
2300
  mode: 'strict',
2154
2301
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamUpdateMemberRequest',
2155
- schema: _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema,
2302
+ create: _wowyuarm_dsh_agent_team_agentTeam_updateMember_parameter_0$schema,
2156
2303
  },
2157
2304
  },
2158
2305
  ],
2159
2306
  result: {
2160
2307
  mode: 'strict',
2161
2308
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamMemberResult',
2162
- schema: _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema,
2309
+ create: _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema,
2163
2310
  },
2164
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1169,"column":9},
2311
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1216,"column":9},
2165
2312
  },
2166
2313
  {
2167
2314
  id: '@wowyuarm/dsh-agent-team#agentTeam/view',
@@ -2177,16 +2324,16 @@ export const TYPERT = {
2177
2324
  codec: {
2178
2325
  mode: 'strict',
2179
2326
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamViewRequest',
2180
- schema: _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema,
2327
+ create: _wowyuarm_dsh_agent_team_agentTeam_view_parameter_0$schema,
2181
2328
  },
2182
2329
  },
2183
2330
  ],
2184
2331
  result: {
2185
2332
  mode: 'strict',
2186
2333
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamView',
2187
- schema: _wowyuarm_dsh_agent_team_agentTeam_view_result$schema,
2334
+ create: _wowyuarm_dsh_agent_team_agentTeam_view_result$schema,
2188
2335
  },
2189
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1461,"column":3},
2336
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1568,"column":3},
2190
2337
  },
2191
2338
  ],
2192
2339
  model: {
@@ -2210,8 +2357,8 @@ export const TYPERT = {
2210
2357
  "kind": "method",
2211
2358
  "name": "humanProfile",
2212
2359
  "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). */"
2360
+ "summary": "Current human profile reference held in this Host row's Config (name + avatarRef).",
2361
+ "jsDoc": "/** Current human profile reference held in this Host row's Config (name + avatarRef). */"
2215
2362
  },
2216
2363
  {
2217
2364
  "kind": "method",
@@ -2400,12 +2547,17 @@ export const TYPERT = {
2400
2547
  "summary": "Read one cached attachment back for client display; gone entries throw and the UI degrades to a chip.",
2401
2548
  "jsDoc": "/** Read one cached attachment back for client display; gone entries throw and the UI degrades to a chip. */"
2402
2549
  },
2550
+ {
2551
+ "kind": "method",
2552
+ "name": "environmentForClient",
2553
+ "signature": "@Remote('environment') environmentForClient(_request: AgentTeamEnvironmentRequest): AgentTeamEnvironmentResult",
2554
+ "summary": "Local environment check for the settings page: which DSH line this Host runs against, and whether that line is inside the range this bundle declares.",
2555
+ "jsDoc": "/**\n * Local environment check for the settings page: which DSH line this Host\n * runs against, and whether that line is inside the range this bundle\n * declares. Human-scoped and read-only — the Client renders the verdict and\n * states the range in words, and nothing here is written back.\n *\n * Synchronous like `humanProfile`: both read the installed manifest once and\n * settle immediately, and the verdict comes from the Harness's own\n * compatibility evaluator rather than a second version comparison written\n * here.\n *\n * The wire type and `EnvironmentReport` keep separate top-level field lists on\n * purpose: the contract states every fact as optional because a Transport may\n * withhold any of them, while the report is the stricter thing the checker\n * guarantees. This assignment is where the compiler holds the two together,\n * and a new required contract field fails it here.\n */"
2556
+ },
2403
2557
  {
2404
2558
  "kind": "method",
2405
2559
  "name": "humanProfileForClient",
2406
- "signature": "@Remote('humanProfile') humanProfileForClient(_request: AgentTeamHumanProfileRequest): AgentTeamHumanProfileResult",
2407
- "summary": "Human profile read for the settings page and footnote: name + avatar reference from settings plus version facts.",
2408
- "jsDoc": "/**\n * Human profile read for the settings page and footnote: name + avatar\n * reference from settings plus version facts. Human-scoped (the Web\n * Client calls it); agent tools never receive avatar bytes, only the name\n * through team_view. The new-release check stays best-effort and cached —\n * `updateAvailable` is false until a background refresh actually observes a\n * newer published release.\n */"
2560
+ "signature": "@Remote('humanProfile') humanProfileForClient(_request: AgentTeamHumanProfileRequest): AgentTeamHumanProfileResult"
2409
2561
  },
2410
2562
  {
2411
2563
  "kind": "method",
@@ -2428,6 +2580,13 @@ export const TYPERT = {
2428
2580
  "summary": "Remove one human avatar entry; the UI falls back to hue/initial afterwards.",
2429
2581
  "jsDoc": "/** Remove one human avatar entry; the UI falls back to hue/initial afterwards. */"
2430
2582
  },
2583
+ {
2584
+ "kind": "method",
2585
+ "name": "setHumanProfile",
2586
+ "signature": "@Remote('setHumanProfile') async setHumanProfile(request: AgentTeamSetHumanProfileRequest): Promise<AgentTeamSetHumanProfileResult>",
2587
+ "summary": "Overwrite the Human profile fields the caller supplies.",
2588
+ "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 */"
2589
+ },
2431
2590
  {
2432
2591
  "kind": "method",
2433
2592
  "name": "reply",
@@ -2625,6 +2784,10 @@ export const TYPERT = {
2625
2784
  "name": "AgentStatus",
2626
2785
  "declaration": "export type AgentStatus = 'idle' | 'running';"
2627
2786
  },
2787
+ {
2788
+ "name": "AgentTeamActiveTaskThread",
2789
+ "declaration": "export interface AgentTeamActiveTaskThread {\n readonly taskRef: AgentTeamTaskRef;\n readonly threadRef: AgentTeamThreadRef;\n readonly channelRef: AgentTeamChannelRef;\n readonly taskNumber?: number;\n readonly status: AgentTeamTask['status'];\n readonly subject: string;\n readonly members: readonly AgentTeamInboxActor[];\n readonly lastActivityAt: string;\n}"
2790
+ },
2628
2791
  {
2629
2792
  "name": "AgentTeamActivity",
2630
2793
  "declaration": "export type AgentTeamActivity = AgentTeamClaimActivity | AgentTeamTaskActivity | AgentTeamClaimsReleasedActivity;"
@@ -2797,6 +2960,22 @@ export const TYPERT = {
2797
2960
  "name": "AgentTeamDurableMemberResult",
2798
2961
  "declaration": "export interface AgentTeamDurableMemberResult {\n readonly receipt: AgentTeamOperationReceipt;\n readonly member: AgentTeamAgentMember;\n}"
2799
2962
  },
2963
+ {
2964
+ "name": "AgentTeamEnvironmentRequest",
2965
+ "declaration": "export interface AgentTeamEnvironmentRequest {\n}"
2966
+ },
2967
+ {
2968
+ "name": "AgentTeamEnvironmentResult",
2969
+ "declaration": "export interface AgentTeamEnvironmentResult {\n readonly verdict: AgentTeamEnvironmentVerdict;\n readonly reason?: string | undefined;\n readonly bundleVersion?: string | undefined;\n readonly dshVersion?: string | undefined;\n readonly certifiedDshVersion?: string | undefined;\n readonly supportRange?: AgentTeamEnvironmentSupportRange | undefined;\n}"
2970
+ },
2971
+ {
2972
+ "name": "AgentTeamEnvironmentSupportRange",
2973
+ "declaration": "export interface AgentTeamEnvironmentSupportRange {\n readonly lower: string;\n readonly upper: string;\n}"
2974
+ },
2975
+ {
2976
+ "name": "AgentTeamEnvironmentVerdict",
2977
+ "declaration": "export type AgentTeamEnvironmentVerdict = 'ok' | 'out-of-range' | 'undetermined';"
2978
+ },
2800
2979
  {
2801
2980
  "name": "AgentTeamGetAttachmentRequest",
2802
2981
  "declaration": "export interface AgentTeamGetAttachmentRequest {\n readonly attachmentId: AgentTeamAttachmentId;\n}"
@@ -2867,7 +3046,7 @@ export const TYPERT = {
2867
3046
  },
2868
3047
  {
2869
3048
  "name": "AgentTeamMemberDiagnostic",
2870
- "declaration": "export interface AgentTeamMemberDiagnostic {\n readonly class: AgentTeamMemberDiagnosticClass;\n readonly detail: string;\n readonly location?: { readonly kind: string; readonly path: string; };\n readonly sessionId?: SessionId;\n readonly remediable?: boolean;\n}"
3049
+ "declaration": "export interface AgentTeamMemberDiagnostic {\n readonly class: AgentTeamMemberDiagnosticClass;\n readonly detail: string;\n readonly location?: { readonly kind: string; readonly path: string; };\n readonly sessionId?: SessionId;\n}"
2871
3050
  },
2872
3051
  {
2873
3052
  "name": "AgentTeamMemberDiagnosticClass",
@@ -3037,6 +3216,14 @@ export const TYPERT = {
3037
3216
  "name": "AgentTeamSendMessageResult",
3038
3217
  "declaration": "export type AgentTeamSendMessageResult = AgentTeamSendMessageCommittedResult | AgentTeamConfirmationRequired | AgentTeamMemberNotFollowing;"
3039
3218
  },
3219
+ {
3220
+ "name": "AgentTeamSetHumanProfileRequest",
3221
+ "declaration": "export interface AgentTeamSetHumanProfileRequest {\n readonly name?: string | undefined;\n readonly avatarRef?: string | null | undefined;\n}"
3222
+ },
3223
+ {
3224
+ "name": "AgentTeamSetHumanProfileResult",
3225
+ "declaration": "export interface AgentTeamSetHumanProfileResult {\n readonly name: string;\n readonly avatarRef?: string | undefined;\n}"
3226
+ },
3040
3227
  {
3041
3228
  "name": "AgentTeamSetMemberStateRequest",
3042
3229
  "declaration": "export interface AgentTeamSetMemberStateRequest {\n readonly requestId: AgentTeamRequestId;\n readonly memberId: AgentTeamMemberId;\n}"
@@ -3167,7 +3354,7 @@ export const TYPERT = {
3167
3354
  },
3168
3355
  {
3169
3356
  "name": "AgentTeamView",
3170
- "declaration": "export interface AgentTeamView {\n readonly humanMemberId: AgentTeamMemberId;\n readonly workspaces: readonly AgentTeamWorkspaceParticipation[];\n readonly channels: readonly AgentTeamChannel[];\n readonly members: readonly AgentTeamChannelMembership[];\n readonly tasks: readonly AgentTeamTask[];\n readonly threads: readonly AgentTeamThread[];\n readonly taskNumbers: readonly { readonly taskRef: AgentTeamTaskRef; readonly taskNumber: number; }[];\n readonly items: readonly AgentTeamViewItem[];\n readonly claims: readonly AgentTeamClaim[];\n readonly activities: readonly AgentTeamActivity[];\n readonly cursor: number;\n readonly hasMore: boolean;\n}"
3357
+ "declaration": "export interface AgentTeamView {\n readonly humanMemberId: AgentTeamMemberId;\n readonly workspaces: readonly AgentTeamWorkspaceParticipation[];\n readonly channels: readonly AgentTeamChannel[];\n readonly members: readonly AgentTeamChannelMembership[];\n readonly tasks: readonly AgentTeamTask[];\n readonly threads: readonly AgentTeamThread[];\n readonly taskNumbers: readonly { readonly taskRef: AgentTeamTaskRef; readonly taskNumber: number; }[];\n readonly items: readonly AgentTeamViewItem[];\n readonly activeTaskThreads: readonly AgentTeamActiveTaskThread[];\n readonly claims: readonly AgentTeamClaim[];\n readonly activities: readonly AgentTeamActivity[];\n readonly cursor: number;\n readonly hasMore: boolean;\n}"
3171
3358
  },
3172
3359
  {
3173
3360
  "name": "AgentTeamViewItem",
@@ -3195,11 +3382,11 @@ export const TYPERT = {
3195
3382
  },
3196
3383
  {
3197
3384
  "name": "AssistantMessage",
3198
- "declaration": "export interface AssistantMessage extends Message {\n readonly role: 'assistant';\n readonly source: ModelMessageSource;\n}"
3385
+ "declaration": "export interface AssistantMessage extends MessageBase {\n readonly role: 'assistant';\n readonly source: ModelMessageSource;\n}"
3199
3386
  },
3200
3387
  {
3201
- "name": "AssistantProvenance",
3202
- "declaration": "export interface AssistantProvenance {\n provider: string;\n model: string;\n replayState?: unknown;\n}"
3388
+ "name": "AssistantProviderMetadata",
3389
+ "declaration": "export interface AssistantProviderMetadata {\n provider: string;\n model: string;\n replayState?: unknown;\n}"
3203
3390
  },
3204
3391
  {
3205
3392
  "name": "AssistantStreamRecord",
@@ -3229,6 +3416,10 @@ export const TYPERT = {
3229
3416
  "name": "CommandId",
3230
3417
  "declaration": "export type CommandId = Branded<'CommandId'>;"
3231
3418
  },
3419
+ {
3420
+ "name": "CompactionCheckpointSource",
3421
+ "declaration": "export type CompactionCheckpointSource = typeof COMPACT_CHECKPOINT_MARKER & { readonly compactionId: CompactionId; readonly sourceCommandId?: CommandId; };"
3422
+ },
3232
3423
  {
3233
3424
  "name": "CompactionId",
3234
3425
  "declaration": "export type CompactionId = Branded<'CompactionId'>;"
@@ -3239,7 +3430,7 @@ export const TYPERT = {
3239
3430
  },
3240
3431
  {
3241
3432
  "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}"
3433
+ "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
3434
  },
3244
3435
  {
3245
3436
  "name": "ContentBlockType",
@@ -3293,6 +3484,10 @@ export const TYPERT = {
3293
3484
  "name": "ContinuationDeliveryState",
3294
3485
  "declaration": "export interface ContinuationDeliveryState {\n readonly checkpointRef: string;\n readonly deliveredSeq: number;\n}"
3295
3486
  },
3487
+ {
3488
+ "name": "DeveloperMessage",
3489
+ "declaration": "export interface DeveloperMessage extends MessageBase {\n readonly role: 'developer';\n}"
3490
+ },
3296
3491
  {
3297
3492
  "name": "DomainBoundary",
3298
3493
  "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 +3502,7 @@ export const TYPERT = {
3307
3502
  },
3308
3503
  {
3309
3504
  "name": "EpochHeader",
3310
- "declaration": "export interface EpochHeader {\n config: LlmCallConfig;\n adapterDefaults?: LlmCallConfigAdapterDefaults;\n tools?: ToolSchema[];\n}"
3505
+ "declaration": "export interface EpochHeader {\n config: LlmCallConfig;\n adapterDefaults?: LlmCallConfigAdapterDefaults;\n tools?: ToolSchema[];\n system?: never;\n}"
3311
3506
  },
3312
3507
  {
3313
3508
  "name": "FileAttachmentRef",
@@ -3335,12 +3530,16 @@ export const TYPERT = {
3335
3530
  },
3336
3531
  {
3337
3532
  "name": "ImageBlock",
3338
- "declaration": "export interface ImageBlock {\n type: 'image';\n attachment: ImageAttachmentRef;\n}"
3533
+ "declaration": "export interface ImageBlock {\n type: 'image';\n attachment: ImageAttachmentRef;\n offloaded?: true;\n}"
3339
3534
  },
3340
3535
  {
3341
3536
  "name": "ImageMediaType",
3342
3537
  "declaration": "export type ImageMediaType = 'image/png' | 'image/jpeg' | 'image/webp' | 'image/gif';"
3343
3538
  },
3539
+ {
3540
+ "name": "ImageOffloadTarget",
3541
+ "declaration": "export interface ImageOffloadTarget {\n seq: SessionSeq;\n imageIndexes: number[];\n}"
3542
+ },
3344
3543
  {
3345
3544
  "name": "Inbox",
3346
3545
  "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 +3562,35 @@ export const TYPERT = {
3363
3562
  },
3364
3563
  {
3365
3564
  "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}"
3565
+ "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
3566
  },
3368
3567
  {
3369
3568
  "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}"
3569
+ "declaration": "export type Message = MessageRoleMap[keyof MessageRoleMap];"
3570
+ },
3571
+ {
3572
+ "name": "MessageBase",
3573
+ "declaration": "export interface MessageBase {\n readonly id: MessageId;\n readonly content: readonly ContentBlock[];\n readonly source: MessageSource;\n}"
3371
3574
  },
3372
3575
  {
3373
3576
  "name": "MessageId",
3374
3577
  "declaration": "export type MessageId = Branded<'MessageId'>;"
3375
3578
  },
3579
+ {
3580
+ "name": "MessageRoleMap",
3581
+ "declaration": "export interface MessageRoleMap {\n system: SystemMessage;\n developer: DeveloperMessage;\n user: UserMessage;\n assistant: AssistantMessage;\n tool: ToolResultMessage;\n}"
3582
+ },
3376
3583
  {
3377
3584
  "name": "MessageSource",
3378
3585
  "declaration": "export type MessageSource = MessageSourceMap[keyof MessageSourceMap];"
3379
3586
  },
3380
3587
  {
3381
3588
  "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}"
3589
+ "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
3590
  },
3384
3591
  {
3385
3592
  "name": "ModelMessageSource",
3386
- "declaration": "export interface ModelMessageSource extends AssistantProvenance {\n kind: 'model';\n}"
3593
+ "declaration": "export interface ModelMessageSource extends AssistantProviderMetadata {\n kind: 'model';\n}"
3387
3594
  },
3388
3595
  {
3389
3596
  "name": "PendingRolloverIntent",
@@ -3395,7 +3602,7 @@ export const TYPERT = {
3395
3602
  },
3396
3603
  {
3397
3604
  "name": "PtcDispatchEventData",
3398
- "declaration": "export interface PtcDispatchEventData extends PtcDispatchStartEventData {\n isError: boolean;\n content: ContentBlock[];\n}"
3605
+ "declaration": "export interface PtcDispatchEventData extends PtcDispatchStartEventData {\n isError: boolean;\n content: ContentBlock[];\n error?: { name: string; code: string; reason?: string; };\n}"
3399
3606
  },
3400
3607
  {
3401
3608
  "name": "PtcDispatchStartEventData",
@@ -3439,7 +3646,7 @@ export const TYPERT = {
3439
3646
  },
3440
3647
  {
3441
3648
  "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}"
3649
+ "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 toolHistory(): ToolHistory;\n deriveMessages(): Message[];\n deriveEventMessage(event: SessionEvent): Message | null;\n}"
3443
3650
  },
3444
3651
  {
3445
3652
  "name": "SessionEvent",
@@ -3447,7 +3654,7 @@ export const TYPERT = {
3447
3654
  },
3448
3655
  {
3449
3656
  "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}"
3657
+ "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
3658
  },
3452
3659
  {
3453
3660
  "name": "SessionEventType",
@@ -3471,15 +3678,15 @@ export const TYPERT = {
3471
3678
  },
3472
3679
  {
3473
3680
  "name": "SessionSurface",
3474
- "declaration": "export interface SessionSurface {\n readonly nodes: readonly SessionSeq[];\n readonly replaceGeneration: number;\n}"
3681
+ "declaration": "export interface SessionSurface {\n readonly nodes: readonly SessionSeq[];\n readonly replaceGeneration: number;\n readonly contentGeneration: number;\n}"
3475
3682
  },
3476
3683
  {
3477
3684
  "name": "SessionTitleEventData",
3478
3685
  "declaration": "export interface SessionTitleEventData {\n readonly title: string;\n readonly messageSeqs: SessionSeq[];\n readonly source: SessionTitleSource;\n}"
3479
3686
  },
3480
3687
  {
3481
- "name": "SessionTitleModelProvenance",
3482
- "declaration": "export interface SessionTitleModelProvenance {\n readonly provider: string;\n readonly model: string;\n}"
3688
+ "name": "SessionTitleModelIdentity",
3689
+ "declaration": "export interface SessionTitleModelIdentity {\n readonly provider: string;\n readonly model: string;\n}"
3483
3690
  },
3484
3691
  {
3485
3692
  "name": "SessionTitleProviderId",
@@ -3487,7 +3694,7 @@ export const TYPERT = {
3487
3694
  },
3488
3695
  {
3489
3696
  "name": "SessionTitleSource",
3490
- "declaration": "export type SessionTitleSource = { readonly kind: 'fallback'; } | { readonly kind: 'provider'; readonly provider: SessionTitleProviderId; readonly model?: SessionTitleModelProvenance; } | { readonly kind: 'user'; };"
3697
+ "declaration": "export type SessionTitleSource = { readonly kind: 'fallback'; } | { readonly kind: 'provider'; readonly provider: SessionTitleProviderId; readonly model?: SessionTitleModelIdentity; } | { readonly kind: 'user'; };"
3491
3698
  },
3492
3699
  {
3493
3700
  "name": "SkillInvocationSource",
@@ -3503,7 +3710,7 @@ export const TYPERT = {
3503
3710
  },
3504
3711
  {
3505
3712
  "name": "SurfaceEventType",
3506
- "declaration": "export type SurfaceEventType = 'system/message' | 'user/message' | 'assistant/message' | 'tool/result';"
3713
+ "declaration": "export type SurfaceEventType = 'system/message' | 'developer/message' | 'user/message' | 'assistant/message' | 'tool/result';"
3507
3714
  },
3508
3715
  {
3509
3716
  "name": "SurfaceIntent",
@@ -3515,7 +3722,11 @@ export const TYPERT = {
3515
3722
  },
3516
3723
  {
3517
3724
  "name": "SystemMessage",
3518
- "declaration": "export interface SystemMessage extends Message {\n readonly role: 'system';\n readonly source: MessageSourceMap['plugin'];\n}"
3725
+ "declaration": "export interface SystemMessage extends MessageBase {\n readonly role: 'system';\n readonly source: MessageSourceMap['system-prompt'];\n}"
3726
+ },
3727
+ {
3728
+ "name": "SystemPromptMessageSource",
3729
+ "declaration": "export interface SystemPromptMessageSource {\n kind: 'system-prompt';\n}"
3519
3730
  },
3520
3731
  {
3521
3732
  "name": "SystemPromptUpdate",
@@ -3533,6 +3744,10 @@ export const TYPERT = {
3533
3744
  "name": "TokenUsage",
3534
3745
  "declaration": "export interface TokenUsage {\n inputTokens: number;\n outputTokens: number;\n totalTokens?: number;\n cacheReadTokens?: number;\n cacheWriteTokens?: number;\n reasoningTokens?: number;\n}"
3535
3746
  },
3747
+ {
3748
+ "name": "ToolAdditionBlock",
3749
+ "declaration": "export interface ToolAdditionBlock {\n type: 'tool-addition';\n toolName: string;\n tool?: never;\n}"
3750
+ },
3536
3751
  {
3537
3752
  "name": "ToolCallBlock",
3538
3753
  "declaration": "export interface ToolCallBlock {\n type: 'tool-call';\n id: ToolCallId;\n name: string;\n arguments: string;\n}"
@@ -3541,21 +3756,25 @@ export const TYPERT = {
3541
3756
  "name": "ToolCallId",
3542
3757
  "declaration": "export type ToolCallId = Branded<'ToolCallId'>;"
3543
3758
  },
3759
+ {
3760
+ "name": "ToolHistory",
3761
+ "declaration": "export interface ToolHistory {\n readonly tools: readonly ToolSchema[];\n readonly updates: readonly { readonly messageId: MessageId; readonly additions: readonly ToolSchema[]; }[];\n}"
3762
+ },
3544
3763
  {
3545
3764
  "name": "ToolMessageSource",
3546
3765
  "declaration": "export interface ToolMessageSource {\n kind: 'tool';\n callId: ToolCallId;\n}"
3547
3766
  },
3548
3767
  {
3549
- "name": "ToolResultBlock",
3550
- "declaration": "export interface ToolResultBlock {\n type: 'tool-result';\n toolCallId: ToolCallId;\n content: ContentBlock[];\n isError?: boolean;\n}"
3768
+ "name": "ToolRemovalBlock",
3769
+ "declaration": "export interface ToolRemovalBlock {\n type: 'tool-removal';\n toolName: string;\n}"
3551
3770
  },
3552
3771
  {
3553
3772
  "name": "ToolResultMessage",
3554
- "declaration": "export interface ToolResultMessage extends Message {\n readonly role: 'user';\n readonly content: [ToolResultBlock];\n readonly source: ToolMessageSource;\n}"
3773
+ "declaration": "export interface ToolResultMessage extends MessageBase {\n readonly role: 'tool';\n readonly source: ToolMessageSource;\n readonly toolCallId: ToolCallId;\n readonly isError?: boolean;\n}"
3555
3774
  },
3556
3775
  {
3557
3776
  "name": "ToolSchema",
3558
- "declaration": "export interface ToolSchema {\n name: string;\n description: string;\n parameters: Record<string, unknown>;\n}"
3777
+ "declaration": "export interface ToolSchema {\n deferLoading?: true;\n name: string;\n description: string;\n parameters: Record<string, unknown>;\n}"
3559
3778
  },
3560
3779
  {
3561
3780
  "name": "TransitionPlan",
@@ -3571,11 +3790,11 @@ export const TYPERT = {
3571
3790
  },
3572
3791
  {
3573
3792
  "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}"
3793
+ "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
3794
  },
3576
3795
  {
3577
3796
  "name": "UserMessage",
3578
- "declaration": "export interface UserMessage extends Message {\n readonly role: 'user';\n}"
3797
+ "declaration": "export interface UserMessage extends MessageBase {\n readonly role: 'user';\n}"
3579
3798
  },
3580
3799
  {
3581
3800
  "name": "WorkspaceId",