@wowyuarm/dsh-agent-team 0.1.2 → 0.1.4
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.
- package/README.md +8 -1
- package/README.zh.md +9 -1
- package/package.json +12 -3
- package/packages/agent-team/README.md +3 -3
- package/packages/agent-team/README.zh.md +3 -3
- package/packages/agent-team/lib/attachments.js +11 -12
- package/packages/agent-team/lib/auto-compaction.js +163 -0
- package/packages/agent-team/lib/index.js +252 -139
- package/packages/agent-team/lib/ledger.js +344 -170
- package/packages/agent-team/lib/recovery.js +30 -35
- package/packages/agent-team/lib/spec.js +27 -11
- package/packages/agent-team/lib/typert.host.js +197 -88
- package/packages/agent-team/lib/typert.remote-client.d.ts +3 -1
- package/packages/agent-team/lib/typert.remote-client.d.ts.map +1 -1
- package/packages/agent-team/lib/typert.remote-client.js +139 -59
- package/packages/agent-team/lib/types/attachments.d.ts +2 -2
- package/packages/agent-team/lib/types/attachments.d.ts.map +1 -1
- package/packages/agent-team/lib/types/auto-compaction.d.ts +38 -0
- package/packages/agent-team/lib/types/auto-compaction.d.ts.map +1 -0
- package/packages/agent-team/lib/types/index.d.ts +52 -19
- package/packages/agent-team/lib/types/index.d.ts.map +1 -1
- package/packages/agent-team/lib/types/ledger.d.ts +29 -2
- package/packages/agent-team/lib/types/ledger.d.ts.map +1 -1
- package/packages/agent-team/lib/types/recovery.d.ts +15 -16
- package/packages/agent-team/lib/types/recovery.d.ts.map +1 -1
- package/packages/agent-team/lib/types/spec.d.ts.map +1 -1
- package/packages/agent-team/lib/types/types.d.ts +69 -30
- package/packages/agent-team/lib/types/types.d.ts.map +1 -1
- package/packages/agent-team/preset/team-member/agent.cordis.yml +7 -2
- package/packages/client-agent-team/README.md +2 -1
- package/packages/client-agent-team/README.zh.md +2 -1
- package/packages/client-agent-team/lib/client.js +1577 -863
- package/packages/client-agent-team/lib/client.js.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.js +35 -174
- package/packages/client-agent-team/lib/types/client/TeamChannelPage.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamChannelPage.js +20 -30
- package/packages/client-agent-team/lib/types/client/TeamChannelsPanel.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamChannelsPanel.js +3 -2
- package/packages/client-agent-team/lib/types/client/TeamComposer.d.ts +6 -1
- package/packages/client-agent-team/lib/types/client/TeamComposer.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamComposer.js +4 -5
- package/packages/client-agent-team/lib/types/client/TeamConversation.d.ts +1 -1
- package/packages/client-agent-team/lib/types/client/TeamConversation.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamConversation.js +3 -3
- package/packages/client-agent-team/lib/types/client/TeamMemberEditor.d.ts +34 -0
- package/packages/client-agent-team/lib/types/client/TeamMemberEditor.d.ts.map +1 -0
- package/packages/client-agent-team/lib/types/client/TeamMemberEditor.js +169 -0
- package/packages/client-agent-team/lib/types/client/TeamMemberSessionComposer.d.ts +17 -0
- package/packages/client-agent-team/lib/types/client/TeamMemberSessionComposer.d.ts.map +1 -0
- package/packages/client-agent-team/lib/types/client/TeamMemberSessionComposer.js +120 -0
- package/packages/client-agent-team/lib/types/client/TeamMessage.d.ts +4 -1
- package/packages/client-agent-team/lib/types/client/TeamMessage.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamMessage.js +94 -47
- package/packages/client-agent-team/lib/types/client/TeamThreadPage.d.ts +2 -1
- package/packages/client-agent-team/lib/types/client/TeamThreadPage.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamThreadPage.js +81 -39
- package/packages/client-agent-team/lib/types/client/TeamWorkspaceBrowser.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamWorkspaceBrowser.js +2 -1
- package/packages/client-agent-team/lib/types/client/index.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/index.js +72 -1
- package/packages/client-agent-team/lib/types/client/locales.d.ts +24 -0
- package/packages/client-agent-team/lib/types/client/locales.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/locales.js +24 -0
- package/packages/client-agent-team/lib/types/client/member-session-input.d.ts +22 -0
- package/packages/client-agent-team/lib/types/client/member-session-input.d.ts.map +1 -0
- package/packages/client-agent-team/lib/types/client/member-session-input.js +98 -0
- package/packages/client-agent-team/lib/types/client/navigation.d.ts +1 -1
- package/packages/client-agent-team/lib/types/client/navigation.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/navigation.js +12 -6
- package/packages/client-agent-team/lib/types/client/requests.d.ts +16 -0
- package/packages/client-agent-team/lib/types/client/requests.d.ts.map +1 -0
- package/packages/client-agent-team/lib/types/client/requests.js +22 -0
- package/packages/client-agent-team/lib/types/client/slots.d.ts +2 -1
- package/packages/client-agent-team/lib/types/client/slots.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/task-refs.d.ts +6 -1
- package/packages/client-agent-team/lib/types/client/task-refs.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/task-refs.js +19 -0
- package/packages/client-agent-team/lib/types/client/team-formatters.d.ts +52 -3
- package/packages/client-agent-team/lib/types/client/team-formatters.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/team-formatters.js +74 -4
- package/packages/client-agent-team/lib/types/client/team-membership.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/team-membership.js +2 -1
- package/packages/tool-agent-team/README.md +7 -7
- package/packages/tool-agent-team/README.zh.md +7 -7
- package/packages/tool-agent-team/lib/index.js +38 -28
- package/packages/tool-agent-team/lib/types/index.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamInboxPanel.d.ts +0 -13
- package/packages/client-agent-team/lib/types/client/TeamInboxPanel.d.ts.map +0 -1
- package/packages/client-agent-team/lib/types/client/TeamInboxPanel.js +0 -90
|
@@ -44,7 +44,8 @@ const _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema = z.object({
|
|
|
44
44
|
const _wowyuarm_dsh_agent_team_agentTeam_changeAttention_parameter_0$schema = z.object({
|
|
45
45
|
'requestId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
46
46
|
'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
47
|
-
'
|
|
47
|
+
'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
48
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
48
49
|
'action': z.union([z.literal("follow"), z.literal("unfollow")]).readonly(),
|
|
49
50
|
})
|
|
50
51
|
const _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema = z.object({
|
|
@@ -59,10 +60,10 @@ const _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema = z.objec
|
|
|
59
60
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
60
61
|
'status': z.union([z.literal("todo"), z.literal("in_progress"), z.literal("in_review"), z.literal("done"), z.literal("closed")]).readonly(),
|
|
61
62
|
'resolution': z.union([z.literal("closed"), z.literal("open"), z.literal("accepted")]).readonly(),
|
|
62
|
-
}).readonly(),
|
|
63
|
+
}).readonly().optional(),
|
|
63
64
|
'thread': z.object({
|
|
64
65
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
65
|
-
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
66
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
66
67
|
'revision': z.number().readonly(),
|
|
67
68
|
}).readonly(),
|
|
68
69
|
'attention': z.object({
|
|
@@ -103,7 +104,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema = z.union([z.o
|
|
|
103
104
|
'sequence': z.number().readonly(),
|
|
104
105
|
}).readonly(),
|
|
105
106
|
'activity': z.object({
|
|
106
|
-
'kind': z.union([z.literal("accept"), z.literal("close"), z.literal("reopen")]).readonly(),
|
|
107
|
+
'kind': z.union([z.literal("accept"), z.literal("close"), z.literal("reopen"), z.literal("promote")]).readonly(),
|
|
107
108
|
'releasedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
108
109
|
'completedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
109
110
|
'activityRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
@@ -121,7 +122,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema = z.union([z.o
|
|
|
121
122
|
}).readonly(),
|
|
122
123
|
'thread': z.object({
|
|
123
124
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
124
|
-
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
125
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
125
126
|
'revision': z.number().readonly(),
|
|
126
127
|
}).readonly(),
|
|
127
128
|
'claims': z.array(z.object({
|
|
@@ -135,14 +136,14 @@ const _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema = z.union([z.o
|
|
|
135
136
|
})).readonly(),
|
|
136
137
|
}), z.object({
|
|
137
138
|
'kind': z.literal("unread_required").readonly(),
|
|
138
|
-
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
139
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
139
140
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
140
141
|
'revision': z.number().readonly(),
|
|
141
142
|
'unreadCount': z.number().readonly(),
|
|
142
143
|
'directCount': z.number().readonly(),
|
|
143
144
|
}), z.object({
|
|
144
145
|
'kind': z.literal("stale_revision").readonly(),
|
|
145
|
-
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
146
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
146
147
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
147
148
|
'expectedRevision': z.number().readonly(),
|
|
148
149
|
'revision': z.number().readonly(),
|
|
@@ -191,10 +192,10 @@ const _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema = z.object({
|
|
|
191
192
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
192
193
|
'status': z.union([z.literal("todo"), z.literal("in_progress"), z.literal("in_review"), z.literal("done"), z.literal("closed")]).readonly(),
|
|
193
194
|
'resolution': z.union([z.literal("closed"), z.literal("open"), z.literal("accepted")]).readonly(),
|
|
194
|
-
}).readonly(),
|
|
195
|
+
}).readonly().optional(),
|
|
195
196
|
'thread': z.object({
|
|
196
197
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
197
|
-
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
198
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
198
199
|
'revision': z.number().readonly(),
|
|
199
200
|
}).readonly(),
|
|
200
201
|
'unreadCount': z.number().readonly(),
|
|
@@ -247,6 +248,55 @@ const _wowyuarm_dsh_agent_team_agentTeam_members_result$schema = z.array(z.objec
|
|
|
247
248
|
'presence': z.union([z.literal("unavailable"), z.literal("available"), z.literal("working"), z.literal("error")]).readonly(),
|
|
248
249
|
'diagnostic': z.string().readonly().optional(),
|
|
249
250
|
}))
|
|
251
|
+
const _wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema = z.object({
|
|
252
|
+
'requestId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
253
|
+
'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
254
|
+
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
255
|
+
'baseRevision': z.number().readonly(),
|
|
256
|
+
})
|
|
257
|
+
const _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema = z.union([z.object({
|
|
258
|
+
'kind': z.literal("unread_required").readonly(),
|
|
259
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
260
|
+
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
261
|
+
'revision': z.number().readonly(),
|
|
262
|
+
'unreadCount': z.number().readonly(),
|
|
263
|
+
'directCount': z.number().readonly(),
|
|
264
|
+
}), z.object({
|
|
265
|
+
'kind': z.literal("stale_revision").readonly(),
|
|
266
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
267
|
+
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
268
|
+
'expectedRevision': z.number().readonly(),
|
|
269
|
+
'revision': z.number().readonly(),
|
|
270
|
+
}), z.object({
|
|
271
|
+
'kind': z.literal("committed").readonly(),
|
|
272
|
+
'receipt': z.object({
|
|
273
|
+
'operationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
274
|
+
'requestId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
275
|
+
'sequence': z.number().readonly(),
|
|
276
|
+
}).readonly(),
|
|
277
|
+
'activity': z.object({
|
|
278
|
+
'kind': z.union([z.literal("accept"), z.literal("close"), z.literal("reopen"), z.literal("promote")]).readonly(),
|
|
279
|
+
'releasedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
280
|
+
'completedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
281
|
+
'activityRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
282
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
283
|
+
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
284
|
+
'actor': z.intersection(z.string(), z.unknown()).readonly(),
|
|
285
|
+
'sequence': z.number().readonly(),
|
|
286
|
+
}).readonly(),
|
|
287
|
+
'task': z.object({
|
|
288
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
289
|
+
'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
290
|
+
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
291
|
+
'status': z.union([z.literal("todo"), z.literal("in_progress"), z.literal("in_review"), z.literal("done"), z.literal("closed")]).readonly(),
|
|
292
|
+
'resolution': z.union([z.literal("closed"), z.literal("open"), z.literal("accepted")]).readonly(),
|
|
293
|
+
}).readonly(),
|
|
294
|
+
'thread': z.object({
|
|
295
|
+
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
296
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
297
|
+
'revision': z.number().readonly(),
|
|
298
|
+
}).readonly(),
|
|
299
|
+
})])
|
|
250
300
|
const _wowyuarm_dsh_agent_team_agentTeam_putAttachment_parameter_0$schema = z.object({
|
|
251
301
|
'requestId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
252
302
|
'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
@@ -264,7 +314,8 @@ const _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema = z.object(
|
|
|
264
314
|
const _wowyuarm_dsh_agent_team_agentTeam_readThread_parameter_0$schema = z.object({
|
|
265
315
|
'requestId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
266
316
|
'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
267
|
-
'
|
|
317
|
+
'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
318
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
268
319
|
})
|
|
269
320
|
const _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema = z.object({
|
|
270
321
|
'receipt': z.object({
|
|
@@ -278,10 +329,10 @@ const _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema = z.object({
|
|
|
278
329
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
279
330
|
'status': z.union([z.literal("todo"), z.literal("in_progress"), z.literal("in_review"), z.literal("done"), z.literal("closed")]).readonly(),
|
|
280
331
|
'resolution': z.union([z.literal("closed"), z.literal("open"), z.literal("accepted")]).readonly(),
|
|
281
|
-
}).readonly(),
|
|
332
|
+
}).readonly().optional(),
|
|
282
333
|
'thread': z.object({
|
|
283
334
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
284
|
-
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
335
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
285
336
|
'revision': z.number().readonly(),
|
|
286
337
|
}).readonly(),
|
|
287
338
|
'claims': z.array(z.object({
|
|
@@ -297,7 +348,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema = z.object({
|
|
|
297
348
|
'messageRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
298
349
|
'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
299
350
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
300
|
-
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
351
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
301
352
|
'sender': z.intersection(z.string(), z.unknown()).readonly(),
|
|
302
353
|
'body': z.string().readonly(),
|
|
303
354
|
'attachments': z.union([z.undefined(), z.array(z.object({
|
|
@@ -319,7 +370,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema = z.object({
|
|
|
319
370
|
'messageRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
320
371
|
'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
321
372
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
322
|
-
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
373
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
323
374
|
'sender': z.intersection(z.string(), z.unknown()).readonly(),
|
|
324
375
|
'body': z.string().readonly(),
|
|
325
376
|
'attachments': z.union([z.undefined(), z.array(z.object({
|
|
@@ -337,7 +388,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema = z.object({
|
|
|
337
388
|
'kind': z.literal("activity").readonly(),
|
|
338
389
|
'sequence': z.number().readonly(),
|
|
339
390
|
'activity': z.union([z.object({
|
|
340
|
-
'kind': z.union([z.literal("accept"), z.literal("close"), z.literal("reopen")]).readonly(),
|
|
391
|
+
'kind': z.union([z.literal("accept"), z.literal("close"), z.literal("reopen"), z.literal("promote")]).readonly(),
|
|
341
392
|
'releasedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
342
393
|
'completedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
343
394
|
'activityRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
@@ -439,7 +490,8 @@ const _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema = z.o
|
|
|
439
490
|
const _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema = z.object({
|
|
440
491
|
'requestId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
441
492
|
'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
442
|
-
'
|
|
493
|
+
'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
494
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
443
495
|
'body': z.string().readonly(),
|
|
444
496
|
'baseRevision': z.number().readonly(),
|
|
445
497
|
'recipients': z.array(z.intersection(z.string(), z.unknown())).readonly().optional(),
|
|
@@ -449,14 +501,14 @@ const _wowyuarm_dsh_agent_team_agentTeam_reply_parameter_0$schema = z.object({
|
|
|
449
501
|
})
|
|
450
502
|
const _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema = z.union([z.object({
|
|
451
503
|
'kind': z.literal("unread_required").readonly(),
|
|
452
|
-
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
504
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
453
505
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
454
506
|
'revision': z.number().readonly(),
|
|
455
507
|
'unreadCount': z.number().readonly(),
|
|
456
508
|
'directCount': z.number().readonly(),
|
|
457
509
|
}), z.object({
|
|
458
510
|
'kind': z.literal("stale_revision").readonly(),
|
|
459
|
-
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
511
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
460
512
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
461
513
|
'expectedRevision': z.number().readonly(),
|
|
462
514
|
'revision': z.number().readonly(),
|
|
@@ -488,7 +540,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema = z.union([z.object
|
|
|
488
540
|
'messageRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
489
541
|
'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
490
542
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
491
|
-
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
543
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
492
544
|
'sender': z.intersection(z.string(), z.unknown()).readonly(),
|
|
493
545
|
'body': z.string().readonly(),
|
|
494
546
|
'attachments': z.union([z.undefined(), z.array(z.object({
|
|
@@ -507,10 +559,10 @@ const _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema = z.union([z.object
|
|
|
507
559
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
508
560
|
'status': z.union([z.literal("todo"), z.literal("in_progress"), z.literal("in_review"), z.literal("done"), z.literal("closed")]).readonly(),
|
|
509
561
|
'resolution': z.union([z.literal("closed"), z.literal("open"), z.literal("accepted")]).readonly(),
|
|
510
|
-
}).readonly(),
|
|
562
|
+
}).readonly().optional(),
|
|
511
563
|
'thread': z.object({
|
|
512
564
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
513
|
-
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
565
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
514
566
|
'revision': z.number().readonly(),
|
|
515
567
|
}).readonly(),
|
|
516
568
|
'attention': z.array(z.object({
|
|
@@ -547,6 +599,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_parameter_0$schema = z.obje
|
|
|
547
599
|
'attachments': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
548
600
|
'attachmentPaths': z.union([z.undefined(), z.array(z.string())]).readonly().optional(),
|
|
549
601
|
'confirmationToken': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
602
|
+
'asTask': z.boolean().readonly().optional(),
|
|
550
603
|
})
|
|
551
604
|
const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema = z.union([z.object({
|
|
552
605
|
'kind': z.literal("committed").readonly(),
|
|
@@ -559,7 +612,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema = z.union([z.
|
|
|
559
612
|
'messageRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
560
613
|
'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
561
614
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
562
|
-
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
615
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
563
616
|
'sender': z.intersection(z.string(), z.unknown()).readonly(),
|
|
564
617
|
'body': z.string().readonly(),
|
|
565
618
|
'attachments': z.union([z.undefined(), z.array(z.object({
|
|
@@ -578,10 +631,10 @@ const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema = z.union([z.
|
|
|
578
631
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
579
632
|
'status': z.union([z.literal("todo"), z.literal("in_progress"), z.literal("in_review"), z.literal("done"), z.literal("closed")]).readonly(),
|
|
580
633
|
'resolution': z.union([z.literal("closed"), z.literal("open"), z.literal("accepted")]).readonly(),
|
|
581
|
-
}).readonly(),
|
|
634
|
+
}).readonly().optional(),
|
|
582
635
|
'thread': z.object({
|
|
583
636
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
584
|
-
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
637
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
585
638
|
'revision': z.number().readonly(),
|
|
586
639
|
}).readonly(),
|
|
587
640
|
'attention': z.array(z.object({
|
|
@@ -616,7 +669,8 @@ const _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema = z.union([z.
|
|
|
616
669
|
})])
|
|
617
670
|
const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_parameter_0$schema = z.object({
|
|
618
671
|
'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
619
|
-
'
|
|
672
|
+
'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
673
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
620
674
|
'beforeSequence': z.number().readonly().optional(),
|
|
621
675
|
'limit': z.number().readonly().optional(),
|
|
622
676
|
})
|
|
@@ -627,17 +681,17 @@ const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema = z.object(
|
|
|
627
681
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
628
682
|
'status': z.union([z.literal("todo"), z.literal("in_progress"), z.literal("in_review"), z.literal("done"), z.literal("closed")]).readonly(),
|
|
629
683
|
'resolution': z.union([z.literal("closed"), z.literal("open"), z.literal("accepted")]).readonly(),
|
|
630
|
-
}).readonly(),
|
|
684
|
+
}).readonly().optional(),
|
|
631
685
|
'thread': z.object({
|
|
632
686
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
633
|
-
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
687
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
634
688
|
'revision': z.number().readonly(),
|
|
635
689
|
}).readonly(),
|
|
636
690
|
'anchor': z.object({
|
|
637
691
|
'messageRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
638
692
|
'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
639
693
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
640
|
-
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
694
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
641
695
|
'sender': z.intersection(z.string(), z.unknown()).readonly(),
|
|
642
696
|
'body': z.string().readonly(),
|
|
643
697
|
'attachments': z.union([z.undefined(), z.array(z.object({
|
|
@@ -667,7 +721,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema = z.object(
|
|
|
667
721
|
'messageRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
668
722
|
'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
669
723
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
670
|
-
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
724
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
671
725
|
'sender': z.intersection(z.string(), z.unknown()).readonly(),
|
|
672
726
|
'body': z.string().readonly(),
|
|
673
727
|
'attachments': z.union([z.undefined(), z.array(z.object({
|
|
@@ -685,7 +739,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema = z.object(
|
|
|
685
739
|
'kind': z.literal("activity").readonly(),
|
|
686
740
|
'sequence': z.number().readonly(),
|
|
687
741
|
'activity': z.union([z.object({
|
|
688
|
-
'kind': z.union([z.literal("accept"), z.literal("close"), z.literal("reopen")]).readonly(),
|
|
742
|
+
'kind': z.union([z.literal("accept"), z.literal("close"), z.literal("reopen"), z.literal("promote")]).readonly(),
|
|
689
743
|
'releasedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
690
744
|
'completedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
691
745
|
'activityRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
@@ -716,14 +770,15 @@ const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema = z.object(
|
|
|
716
770
|
})
|
|
717
771
|
const _wowyuarm_dsh_agent_team_agentTeam_threadObservations_parameter_0$schema = z.object({
|
|
718
772
|
'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
719
|
-
'
|
|
773
|
+
'threadRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
774
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
720
775
|
'limit': z.number().readonly().optional(),
|
|
721
776
|
})
|
|
722
777
|
const _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema = z.object({
|
|
723
778
|
'items': z.array(z.object({
|
|
724
779
|
'sequence': z.number().readonly(),
|
|
725
780
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
726
|
-
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
781
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
727
782
|
'memberId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
728
783
|
'action': z.union([z.literal("follow"), z.literal("unfollow")]).readonly(),
|
|
729
784
|
})).readonly(),
|
|
@@ -819,7 +874,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_view_result$schema = z.object({
|
|
|
819
874
|
})).readonly(),
|
|
820
875
|
'threads': z.array(z.object({
|
|
821
876
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
822
|
-
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
877
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
823
878
|
'revision': z.number().readonly(),
|
|
824
879
|
})).readonly(),
|
|
825
880
|
'taskNumbers': z.array(z.object({
|
|
@@ -831,7 +886,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_view_result$schema = z.object({
|
|
|
831
886
|
'messageRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
832
887
|
'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
833
888
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
834
|
-
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
889
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
835
890
|
'sender': z.intersection(z.string(), z.unknown()).readonly(),
|
|
836
891
|
'body': z.string().readonly(),
|
|
837
892
|
'attachments': z.union([z.undefined(), z.array(z.object({
|
|
@@ -851,13 +906,13 @@ const _wowyuarm_dsh_agent_team_agentTeam_view_result$schema = z.object({
|
|
|
851
906
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
852
907
|
'status': z.union([z.literal("todo"), z.literal("in_progress"), z.literal("in_review"), z.literal("done"), z.literal("closed")]).readonly(),
|
|
853
908
|
'resolution': z.union([z.literal("closed"), z.literal("open"), z.literal("accepted")]).readonly(),
|
|
854
|
-
}).readonly(),
|
|
909
|
+
}).readonly().optional(),
|
|
855
910
|
'thread': z.object({
|
|
856
911
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
857
|
-
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
912
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
858
913
|
'revision': z.number().readonly(),
|
|
859
914
|
}).readonly(),
|
|
860
|
-
'taskNumber': z.number().readonly(),
|
|
915
|
+
'taskNumber': z.number().readonly().optional(),
|
|
861
916
|
'messageCount': z.number().readonly(),
|
|
862
917
|
})).readonly(),
|
|
863
918
|
'claims': z.array(z.object({
|
|
@@ -870,7 +925,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_view_result$schema = z.object({
|
|
|
870
925
|
'state': z.union([z.literal("active"), z.literal("done"), z.literal("released")]).readonly(),
|
|
871
926
|
})).readonly(),
|
|
872
927
|
'activities': z.array(z.union([z.object({
|
|
873
|
-
'kind': z.union([z.literal("accept"), z.literal("close"), z.literal("reopen")]).readonly(),
|
|
928
|
+
'kind': z.union([z.literal("accept"), z.literal("close"), z.literal("reopen"), z.literal("promote")]).readonly(),
|
|
874
929
|
'releasedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
875
930
|
'completedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
876
931
|
'activityRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
@@ -928,7 +983,7 @@ export const TYPERT = {
|
|
|
928
983
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamMemberResult',
|
|
929
984
|
schema: _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema,
|
|
930
985
|
},
|
|
931
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
986
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":380,"column":9},
|
|
932
987
|
},
|
|
933
988
|
{
|
|
934
989
|
id: '@wowyuarm/dsh-agent-team#agentTeam/changeAttention',
|
|
@@ -953,7 +1008,7 @@ export const TYPERT = {
|
|
|
953
1008
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadAttentionResult',
|
|
954
1009
|
schema: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema,
|
|
955
1010
|
},
|
|
956
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1011
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":664,"column":9},
|
|
957
1012
|
},
|
|
958
1013
|
{
|
|
959
1014
|
id: '@wowyuarm/dsh-agent-team#agentTeam/changes',
|
|
@@ -979,7 +1034,7 @@ export const TYPERT = {
|
|
|
979
1034
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamChangesResult',
|
|
980
1035
|
schema: _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema,
|
|
981
1036
|
},
|
|
982
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1037
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":317,"column":9},
|
|
983
1038
|
},
|
|
984
1039
|
{
|
|
985
1040
|
id: '@wowyuarm/dsh-agent-team#agentTeam/changeTask',
|
|
@@ -1004,7 +1059,7 @@ export const TYPERT = {
|
|
|
1004
1059
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamTaskResult',
|
|
1005
1060
|
schema: _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema,
|
|
1006
1061
|
},
|
|
1007
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1062
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":554,"column":9},
|
|
1008
1063
|
},
|
|
1009
1064
|
{
|
|
1010
1065
|
id: '@wowyuarm/dsh-agent-team#agentTeam/createChannel',
|
|
@@ -1029,7 +1084,7 @@ export const TYPERT = {
|
|
|
1029
1084
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamCreateChannelResult',
|
|
1030
1085
|
schema: _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema,
|
|
1031
1086
|
},
|
|
1032
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1087
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":358,"column":9},
|
|
1033
1088
|
},
|
|
1034
1089
|
{
|
|
1035
1090
|
id: '@wowyuarm/dsh-agent-team#agentTeam/getAttachment',
|
|
@@ -1054,7 +1109,7 @@ export const TYPERT = {
|
|
|
1054
1109
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetAttachmentResult',
|
|
1055
1110
|
schema: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema,
|
|
1056
1111
|
},
|
|
1057
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1112
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":650,"column":9},
|
|
1058
1113
|
},
|
|
1059
1114
|
{
|
|
1060
1115
|
id: '@wowyuarm/dsh-agent-team#agentTeam/inbox',
|
|
@@ -1079,7 +1134,7 @@ export const TYPERT = {
|
|
|
1079
1134
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamInbox',
|
|
1080
1135
|
schema: _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema,
|
|
1081
1136
|
},
|
|
1082
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1137
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":673,"column":3},
|
|
1083
1138
|
},
|
|
1084
1139
|
{
|
|
1085
1140
|
id: '@wowyuarm/dsh-agent-team#agentTeam/joinChannel',
|
|
@@ -1104,7 +1159,7 @@ export const TYPERT = {
|
|
|
1104
1159
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinChannelResult',
|
|
1105
1160
|
schema: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema,
|
|
1106
1161
|
},
|
|
1107
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1162
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":574,"column":9},
|
|
1108
1163
|
},
|
|
1109
1164
|
{
|
|
1110
1165
|
id: '@wowyuarm/dsh-agent-team#agentTeam/members',
|
|
@@ -1130,7 +1185,32 @@ export const TYPERT = {
|
|
|
1130
1185
|
typeSymbol: '@wowyuarm/dsh-agent-team#agentTeam/members:result',
|
|
1131
1186
|
schema: _wowyuarm_dsh_agent_team_agentTeam_members_result$schema,
|
|
1132
1187
|
},
|
|
1133
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1188
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":308,"column":3},
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
id: '@wowyuarm/dsh-agent-team#agentTeam/promoteThread',
|
|
1192
|
+
service: 'agentTeam',
|
|
1193
|
+
namespace: 'agentTeam',
|
|
1194
|
+
method: 'promoteThread',
|
|
1195
|
+
invocation: { kind: 'direct' },
|
|
1196
|
+
parameters: [
|
|
1197
|
+
{
|
|
1198
|
+
name: 'request',
|
|
1199
|
+
wire: 'request',
|
|
1200
|
+
source: 'json',
|
|
1201
|
+
codec: {
|
|
1202
|
+
mode: 'strict',
|
|
1203
|
+
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPromoteThreadRequest',
|
|
1204
|
+
schema: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_parameter_0$schema,
|
|
1205
|
+
},
|
|
1206
|
+
},
|
|
1207
|
+
],
|
|
1208
|
+
result: {
|
|
1209
|
+
mode: 'strict',
|
|
1210
|
+
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPromoteThreadResult',
|
|
1211
|
+
schema: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema,
|
|
1212
|
+
},
|
|
1213
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":564,"column":9},
|
|
1134
1214
|
},
|
|
1135
1215
|
{
|
|
1136
1216
|
id: '@wowyuarm/dsh-agent-team#agentTeam/putAttachment',
|
|
@@ -1155,7 +1235,7 @@ export const TYPERT = {
|
|
|
1155
1235
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutAttachmentResult',
|
|
1156
1236
|
schema: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema,
|
|
1157
1237
|
},
|
|
1158
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1238
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":637,"column":9},
|
|
1159
1239
|
},
|
|
1160
1240
|
{
|
|
1161
1241
|
id: '@wowyuarm/dsh-agent-team#agentTeam/readThread',
|
|
@@ -1180,7 +1260,7 @@ export const TYPERT = {
|
|
|
1180
1260
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadReadResult',
|
|
1181
1261
|
schema: _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema,
|
|
1182
1262
|
},
|
|
1183
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1263
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":680,"column":9},
|
|
1184
1264
|
},
|
|
1185
1265
|
{
|
|
1186
1266
|
id: '@wowyuarm/dsh-agent-team#agentTeam/recoverMember',
|
|
@@ -1205,7 +1285,7 @@ export const TYPERT = {
|
|
|
1205
1285
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRecoverMemberResult',
|
|
1206
1286
|
schema: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema,
|
|
1207
1287
|
},
|
|
1208
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1288
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":433,"column":9},
|
|
1209
1289
|
},
|
|
1210
1290
|
{
|
|
1211
1291
|
id: '@wowyuarm/dsh-agent-team#agentTeam/removeChannelMember',
|
|
@@ -1230,7 +1310,7 @@ export const TYPERT = {
|
|
|
1230
1310
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveChannelMemberResult',
|
|
1231
1311
|
schema: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema,
|
|
1232
1312
|
},
|
|
1233
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1313
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":585,"column":9},
|
|
1234
1314
|
},
|
|
1235
1315
|
{
|
|
1236
1316
|
id: '@wowyuarm/dsh-agent-team#agentTeam/reply',
|
|
@@ -1255,7 +1335,7 @@ export const TYPERT = {
|
|
|
1255
1335
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamReplyResult',
|
|
1256
1336
|
schema: _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema,
|
|
1257
1337
|
},
|
|
1258
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1338
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":658,"column":9},
|
|
1259
1339
|
},
|
|
1260
1340
|
{
|
|
1261
1341
|
id: '@wowyuarm/dsh-agent-team#agentTeam/resolveTaskRefs',
|
|
@@ -1280,7 +1360,7 @@ export const TYPERT = {
|
|
|
1280
1360
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveTaskRefsResult',
|
|
1281
1361
|
schema: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema,
|
|
1282
1362
|
},
|
|
1283
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1363
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":295,"column":3},
|
|
1284
1364
|
},
|
|
1285
1365
|
{
|
|
1286
1366
|
id: '@wowyuarm/dsh-agent-team#agentTeam/sendMessage',
|
|
@@ -1305,7 +1385,7 @@ export const TYPERT = {
|
|
|
1305
1385
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSendMessageResult',
|
|
1306
1386
|
schema: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema,
|
|
1307
1387
|
},
|
|
1308
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1388
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":594,"column":9},
|
|
1309
1389
|
},
|
|
1310
1390
|
{
|
|
1311
1391
|
id: '@wowyuarm/dsh-agent-team#agentTeam/threadHistory',
|
|
@@ -1330,7 +1410,7 @@ export const TYPERT = {
|
|
|
1330
1410
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadHistory',
|
|
1331
1411
|
schema: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema,
|
|
1332
1412
|
},
|
|
1333
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1413
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":696,"column":3},
|
|
1334
1414
|
},
|
|
1335
1415
|
{
|
|
1336
1416
|
id: '@wowyuarm/dsh-agent-team#agentTeam/threadObservations',
|
|
@@ -1355,7 +1435,7 @@ export const TYPERT = {
|
|
|
1355
1435
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadObservations',
|
|
1356
1436
|
schema: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema,
|
|
1357
1437
|
},
|
|
1358
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1438
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":689,"column":3},
|
|
1359
1439
|
},
|
|
1360
1440
|
{
|
|
1361
1441
|
id: '@wowyuarm/dsh-agent-team#agentTeam/updateChannel',
|
|
@@ -1380,7 +1460,7 @@ export const TYPERT = {
|
|
|
1380
1460
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamUpdateChannelResult',
|
|
1381
1461
|
schema: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema,
|
|
1382
1462
|
},
|
|
1383
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1463
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":370,"column":9},
|
|
1384
1464
|
},
|
|
1385
1465
|
{
|
|
1386
1466
|
id: '@wowyuarm/dsh-agent-team#agentTeam/updateMember',
|
|
@@ -1405,7 +1485,7 @@ export const TYPERT = {
|
|
|
1405
1485
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamMemberResult',
|
|
1406
1486
|
schema: _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema,
|
|
1407
1487
|
},
|
|
1408
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1488
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":524,"column":9},
|
|
1409
1489
|
},
|
|
1410
1490
|
{
|
|
1411
1491
|
id: '@wowyuarm/dsh-agent-team#agentTeam/view',
|
|
@@ -1430,7 +1510,7 @@ export const TYPERT = {
|
|
|
1430
1510
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamView',
|
|
1431
1511
|
schema: _wowyuarm_dsh_agent_team_agentTeam_view_result$schema,
|
|
1432
1512
|
},
|
|
1433
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1513
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":703,"column":3},
|
|
1434
1514
|
},
|
|
1435
1515
|
],
|
|
1436
1516
|
model: {
|
|
@@ -1467,7 +1547,9 @@ export const TYPERT = {
|
|
|
1467
1547
|
{
|
|
1468
1548
|
"kind": "method",
|
|
1469
1549
|
"name": "membersForClient",
|
|
1470
|
-
"signature": "@Remote('members') membersForClient(request: AgentTeamMembersRequest): readonly AgentTeamClientMemberStatus[]"
|
|
1550
|
+
"signature": "@Remote('members') membersForClient(request: AgentTeamMembersRequest): readonly AgentTeamClientMemberStatus[]",
|
|
1551
|
+
"summary": "Return only this Workspace's current Member projection to the Client.",
|
|
1552
|
+
"jsDoc": "/** Return only this Workspace's current Member projection to the Client. */"
|
|
1471
1553
|
},
|
|
1472
1554
|
{
|
|
1473
1555
|
"kind": "method",
|
|
@@ -1520,8 +1602,8 @@ export const TYPERT = {
|
|
|
1520
1602
|
"kind": "method",
|
|
1521
1603
|
"name": "recoverMember",
|
|
1522
1604
|
"signature": "@Remote('recoverMember') async recoverMember(request: AgentTeamRecoverMemberRequest): Promise<AgentTeamRecoverMemberResult>",
|
|
1523
|
-
"summary": "Operator nudge for
|
|
1524
|
-
"jsDoc": "/**\n * Operator nudge for
|
|
1605
|
+
"summary": "Operator nudge for a Member that stopped making progress: steer a continuation prompt into its live session, rebuild it after an orphaned preset composition, or re-run activation when no live session exists.",
|
|
1606
|
+
"jsDoc": "/**\n * Operator nudge for a Member that stopped making progress: steer a\n * continuation prompt into its live session, rebuild it after an orphaned\n * preset composition, or re-run activation when no live session exists.\n * Runtime-only — no ledger operation, no suspend. Taking over manually also\n * cancels any pending automatic recovery episode.\n */"
|
|
1525
1607
|
},
|
|
1526
1608
|
{
|
|
1527
1609
|
"kind": "method",
|
|
@@ -1544,6 +1626,13 @@ export const TYPERT = {
|
|
|
1544
1626
|
"summary": "Human-only Task resolution.",
|
|
1545
1627
|
"jsDoc": "/** Human-only Task resolution. Business fences are returned as typed outcomes. */"
|
|
1546
1628
|
},
|
|
1629
|
+
{
|
|
1630
|
+
"kind": "method",
|
|
1631
|
+
"name": "promoteThread",
|
|
1632
|
+
"signature": "@Remote('promoteThread') async promoteThread(request: AgentTeamPromoteThreadRequest): Promise<AgentTeamPromoteThreadResult>",
|
|
1633
|
+
"summary": "Human-only promotion of a taskless Thread into a real Task plus public Message.",
|
|
1634
|
+
"jsDoc": "/** Human-only promotion of a taskless Thread into a real Task plus public Message. */"
|
|
1635
|
+
},
|
|
1547
1636
|
{
|
|
1548
1637
|
"kind": "method",
|
|
1549
1638
|
"name": "joinChannel",
|
|
@@ -1562,8 +1651,8 @@ export const TYPERT = {
|
|
|
1562
1651
|
"kind": "method",
|
|
1563
1652
|
"name": "sendMessage",
|
|
1564
1653
|
"signature": "@Remote('sendMessage') async sendMessage(request: AgentTeamSendMessageRequest): Promise<AgentTeamSendMessageResult>",
|
|
1565
|
-
"summary": "Human top-level
|
|
1566
|
-
"jsDoc": "/** Human top-level
|
|
1654
|
+
"summary": "Human top-level Thread start; asTask attaches an optional Task overlay.",
|
|
1655
|
+
"jsDoc": "/** Human top-level Thread start; asTask attaches an optional Task overlay. */"
|
|
1567
1656
|
},
|
|
1568
1657
|
{
|
|
1569
1658
|
"kind": "method",
|
|
@@ -1632,8 +1721,8 @@ export const TYPERT = {
|
|
|
1632
1721
|
"kind": "method",
|
|
1633
1722
|
"name": "sendMessageForAgent",
|
|
1634
1723
|
"signature": "async sendMessageForAgent(agent: Agent, request: AgentTeamSendMessageRequest): Promise<AgentTeamSendMessageResult>",
|
|
1635
|
-
"summary": "Agent-only top-level
|
|
1636
|
-
"jsDoc": "/** Agent-only top-level
|
|
1724
|
+
"summary": "Agent-only top-level Thread start.",
|
|
1725
|
+
"jsDoc": "/** Agent-only top-level Thread start. Workspace identity is verified against the live binding. */"
|
|
1637
1726
|
},
|
|
1638
1727
|
{
|
|
1639
1728
|
"kind": "method",
|
|
@@ -1652,7 +1741,7 @@ export const TYPERT = {
|
|
|
1652
1741
|
{
|
|
1653
1742
|
"kind": "method",
|
|
1654
1743
|
"name": "attentionStatusForAgent",
|
|
1655
|
-
"signature": "attentionStatusForAgent(agent: Agent, request: { workspaceId: AgentTeamViewRequest['workspaceId']; taskRef
|
|
1744
|
+
"signature": "attentionStatusForAgent(agent: Agent, request: { workspaceId: AgentTeamViewRequest['workspaceId']; threadRef?: AgentTeamThreadAttentionRequest['threadRef'] | undefined; taskRef?: AgentTeamTask['taskRef'] | undefined }): AgentTeamThreadAttentionStatus"
|
|
1656
1745
|
},
|
|
1657
1746
|
{
|
|
1658
1747
|
"kind": "method",
|
|
@@ -1839,7 +1928,7 @@ export const TYPERT = {
|
|
|
1839
1928
|
},
|
|
1840
1929
|
{
|
|
1841
1930
|
"name": "AgentTeamInboxItem",
|
|
1842
|
-
"declaration": "export interface AgentTeamInboxItem {\n readonly channelRef: AgentTeamChannelRef;\n readonly task
|
|
1931
|
+
"declaration": "export interface AgentTeamInboxItem {\n readonly channelRef: AgentTeamChannelRef;\n readonly task?: AgentTeamTask;\n readonly thread: AgentTeamThread;\n readonly unreadCount: number;\n readonly directCount: number;\n readonly newestSequence: number;\n readonly attention?: AgentTeamThreadAttention;\n}"
|
|
1843
1932
|
},
|
|
1844
1933
|
{
|
|
1845
1934
|
"name": "AgentTeamInboxRequest",
|
|
@@ -1871,7 +1960,7 @@ export const TYPERT = {
|
|
|
1871
1960
|
},
|
|
1872
1961
|
{
|
|
1873
1962
|
"name": "AgentTeamMessage",
|
|
1874
|
-
"declaration": "export interface AgentTeamMessage {\n readonly messageRef: AgentTeamMessageRef;\n readonly channelRef: AgentTeamChannelRef;\n readonly threadRef: AgentTeamThreadRef;\n readonly taskRef
|
|
1963
|
+
"declaration": "export interface AgentTeamMessage {\n readonly messageRef: AgentTeamMessageRef;\n readonly channelRef: AgentTeamChannelRef;\n readonly threadRef: AgentTeamThreadRef;\n readonly taskRef?: AgentTeamTaskRef;\n readonly sender: AgentTeamMemberId;\n readonly body: string;\n readonly attachments?: readonly AgentTeamMessageAttachment[] | undefined;\n readonly topLevel: boolean;\n readonly sequence: number;\n readonly occurredAt: string;\n}"
|
|
1875
1964
|
},
|
|
1876
1965
|
{
|
|
1877
1966
|
"name": "AgentTeamMessageAttachment",
|
|
@@ -1893,6 +1982,18 @@ export const TYPERT = {
|
|
|
1893
1982
|
"name": "AgentTeamOperationReceipt",
|
|
1894
1983
|
"declaration": "export interface AgentTeamOperationReceipt {\n readonly operationId: AgentTeamOperationId;\n readonly requestId: AgentTeamRequestId;\n readonly sequence: number;\n}"
|
|
1895
1984
|
},
|
|
1985
|
+
{
|
|
1986
|
+
"name": "AgentTeamPromoteThreadCommittedResult",
|
|
1987
|
+
"declaration": "export interface AgentTeamPromoteThreadCommittedResult {\n readonly kind: 'committed';\n readonly receipt: AgentTeamOperationReceipt;\n readonly activity: AgentTeamTaskActivity;\n readonly task: AgentTeamTask;\n readonly thread: AgentTeamThread;\n}"
|
|
1988
|
+
},
|
|
1989
|
+
{
|
|
1990
|
+
"name": "AgentTeamPromoteThreadRequest",
|
|
1991
|
+
"declaration": "export interface AgentTeamPromoteThreadRequest {\n readonly requestId: AgentTeamRequestId;\n readonly workspaceId: WorkspaceId;\n readonly threadRef: AgentTeamThreadRef;\n readonly baseRevision: number;\n}"
|
|
1992
|
+
},
|
|
1993
|
+
{
|
|
1994
|
+
"name": "AgentTeamPromoteThreadResult",
|
|
1995
|
+
"declaration": "export type AgentTeamPromoteThreadResult = AgentTeamPromoteThreadCommittedResult | AgentTeamUnreadRequired | AgentTeamStaleRevision;"
|
|
1996
|
+
},
|
|
1896
1997
|
{
|
|
1897
1998
|
"name": "AgentTeamPutAttachmentRequest",
|
|
1898
1999
|
"declaration": "export interface AgentTeamPutAttachmentRequest {\n readonly requestId: AgentTeamRequestId;\n readonly workspaceId: WorkspaceId;\n readonly name: string;\n readonly mediaType?: string | undefined;\n readonly bytesBase64: string;\n}"
|
|
@@ -1927,11 +2028,11 @@ export const TYPERT = {
|
|
|
1927
2028
|
},
|
|
1928
2029
|
{
|
|
1929
2030
|
"name": "AgentTeamReplyCommittedResult",
|
|
1930
|
-
"declaration": "export interface AgentTeamReplyCommittedResult {\n readonly kind: 'committed';\n readonly receipt: AgentTeamOperationReceipt;\n readonly message: AgentTeamMessage;\n readonly task
|
|
2031
|
+
"declaration": "export interface AgentTeamReplyCommittedResult {\n readonly kind: 'committed';\n readonly receipt: AgentTeamOperationReceipt;\n readonly message: AgentTeamMessage;\n readonly task?: AgentTeamTask;\n readonly thread: AgentTeamThread;\n readonly attention: readonly AgentTeamThreadAttention[];\n readonly directMarkers: readonly AgentTeamDirectMarker[];\n}"
|
|
1931
2032
|
},
|
|
1932
2033
|
{
|
|
1933
2034
|
"name": "AgentTeamReplyRequest",
|
|
1934
|
-
"declaration": "export interface AgentTeamReplyRequest {\n readonly requestId: AgentTeamRequestId;\n readonly workspaceId: WorkspaceId;\n readonly taskRef
|
|
2035
|
+
"declaration": "export interface AgentTeamReplyRequest {\n readonly requestId: AgentTeamRequestId;\n readonly workspaceId: WorkspaceId;\n readonly threadRef?: AgentTeamThreadRef;\n readonly taskRef?: AgentTeamTaskRef;\n readonly body: string;\n readonly baseRevision: number;\n readonly recipients?: readonly AgentTeamMemberId[];\n readonly attachmentPaths?: readonly string[] | undefined;\n readonly attachments?: readonly AgentTeamAttachmentId[] | undefined;\n readonly confirmationToken?: AgentTeamConfirmationToken;\n}"
|
|
1935
2036
|
},
|
|
1936
2037
|
{
|
|
1937
2038
|
"name": "AgentTeamReplyResult",
|
|
@@ -1955,11 +2056,11 @@ export const TYPERT = {
|
|
|
1955
2056
|
},
|
|
1956
2057
|
{
|
|
1957
2058
|
"name": "AgentTeamSendMessageCommittedResult",
|
|
1958
|
-
"declaration": "export interface AgentTeamSendMessageCommittedResult {\n readonly kind: 'committed';\n readonly receipt: AgentTeamOperationReceipt;\n readonly message: AgentTeamMessage;\n readonly task
|
|
2059
|
+
"declaration": "export interface AgentTeamSendMessageCommittedResult {\n readonly kind: 'committed';\n readonly receipt: AgentTeamOperationReceipt;\n readonly message: AgentTeamMessage;\n readonly task?: AgentTeamTask;\n readonly thread: AgentTeamThread;\n readonly attention: readonly AgentTeamThreadAttention[];\n readonly directMarkers: readonly AgentTeamDirectMarker[];\n}"
|
|
1959
2060
|
},
|
|
1960
2061
|
{
|
|
1961
2062
|
"name": "AgentTeamSendMessageRequest",
|
|
1962
|
-
"declaration": "export interface AgentTeamSendMessageRequest {\n readonly requestId: AgentTeamRequestId;\n readonly workspaceId: WorkspaceId;\n readonly channelRef: AgentTeamChannelRef;\n readonly body: string;\n readonly recipients?: readonly AgentTeamMemberId[];\n readonly attachments?: readonly AgentTeamAttachmentId[] | undefined;\n readonly attachmentPaths?: readonly string[] | undefined;\n readonly confirmationToken?: AgentTeamConfirmationToken;\n}"
|
|
2063
|
+
"declaration": "export interface AgentTeamSendMessageRequest {\n readonly requestId: AgentTeamRequestId;\n readonly workspaceId: WorkspaceId;\n readonly channelRef: AgentTeamChannelRef;\n readonly body: string;\n readonly recipients?: readonly AgentTeamMemberId[];\n readonly attachments?: readonly AgentTeamAttachmentId[] | undefined;\n readonly attachmentPaths?: readonly string[] | undefined;\n readonly confirmationToken?: AgentTeamConfirmationToken;\n readonly asTask?: boolean;\n}"
|
|
1963
2064
|
},
|
|
1964
2065
|
{
|
|
1965
2066
|
"name": "AgentTeamSendMessageResult",
|
|
@@ -1971,7 +2072,7 @@ export const TYPERT = {
|
|
|
1971
2072
|
},
|
|
1972
2073
|
{
|
|
1973
2074
|
"name": "AgentTeamStaleRevision",
|
|
1974
|
-
"declaration": "export interface AgentTeamStaleRevision {\n readonly kind: 'stale_revision';\n readonly taskRef
|
|
2075
|
+
"declaration": "export interface AgentTeamStaleRevision {\n readonly kind: 'stale_revision';\n readonly taskRef?: AgentTeamTaskRef;\n readonly threadRef: AgentTeamThreadRef;\n readonly expectedRevision: number;\n readonly revision: number;\n}"
|
|
1975
2076
|
},
|
|
1976
2077
|
{
|
|
1977
2078
|
"name": "AgentTeamStatus",
|
|
@@ -1983,7 +2084,7 @@ export const TYPERT = {
|
|
|
1983
2084
|
},
|
|
1984
2085
|
{
|
|
1985
2086
|
"name": "AgentTeamTaskActivity",
|
|
1986
|
-
"declaration": "export interface AgentTeamTaskActivity extends AgentTeamActivityBase {\n readonly kind: 'accept' | 'close' | 'reopen';\n readonly releasedClaimRefs?: readonly AgentTeamClaimRef[] | undefined;\n readonly completedClaimRefs?: readonly AgentTeamClaimRef[] | undefined;\n}"
|
|
2087
|
+
"declaration": "export interface AgentTeamTaskActivity extends AgentTeamActivityBase {\n readonly kind: 'promote' | 'accept' | 'close' | 'reopen';\n readonly releasedClaimRefs?: readonly AgentTeamClaimRef[] | undefined;\n readonly completedClaimRefs?: readonly AgentTeamClaimRef[] | undefined;\n}"
|
|
1987
2088
|
},
|
|
1988
2089
|
{
|
|
1989
2090
|
"name": "AgentTeamTaskCommittedResult",
|
|
@@ -2003,7 +2104,7 @@ export const TYPERT = {
|
|
|
2003
2104
|
},
|
|
2004
2105
|
{
|
|
2005
2106
|
"name": "AgentTeamThread",
|
|
2006
|
-
"declaration": "export interface AgentTeamThread {\n readonly threadRef: AgentTeamThreadRef;\n readonly taskRef
|
|
2107
|
+
"declaration": "export interface AgentTeamThread {\n readonly threadRef: AgentTeamThreadRef;\n readonly taskRef?: AgentTeamTaskRef;\n readonly revision: number;\n}"
|
|
2007
2108
|
},
|
|
2008
2109
|
{
|
|
2009
2110
|
"name": "AgentTeamThreadAttention",
|
|
@@ -2015,19 +2116,19 @@ export const TYPERT = {
|
|
|
2015
2116
|
},
|
|
2016
2117
|
{
|
|
2017
2118
|
"name": "AgentTeamThreadAttentionObservation",
|
|
2018
|
-
"declaration": "export interface AgentTeamThreadAttentionObservation {\n readonly sequence: number;\n readonly threadRef: AgentTeamThreadRef;\n readonly taskRef
|
|
2119
|
+
"declaration": "export interface AgentTeamThreadAttentionObservation {\n readonly sequence: number;\n readonly threadRef: AgentTeamThreadRef;\n readonly taskRef?: AgentTeamTaskRef;\n readonly memberId: AgentTeamMemberId;\n readonly action: 'follow' | 'unfollow';\n}"
|
|
2019
2120
|
},
|
|
2020
2121
|
{
|
|
2021
2122
|
"name": "AgentTeamThreadAttentionRequest",
|
|
2022
|
-
"declaration": "export interface AgentTeamThreadAttentionRequest {\n readonly requestId: AgentTeamRequestId;\n readonly workspaceId: WorkspaceId;\n readonly taskRef
|
|
2123
|
+
"declaration": "export interface AgentTeamThreadAttentionRequest {\n readonly requestId: AgentTeamRequestId;\n readonly workspaceId: WorkspaceId;\n readonly threadRef?: AgentTeamThreadRef;\n readonly taskRef?: AgentTeamTaskRef;\n readonly action: 'follow' | 'unfollow';\n}"
|
|
2023
2124
|
},
|
|
2024
2125
|
{
|
|
2025
2126
|
"name": "AgentTeamThreadAttentionResult",
|
|
2026
|
-
"declaration": "export interface AgentTeamThreadAttentionResult {\n readonly receipt: AgentTeamOperationReceipt;\n readonly task
|
|
2127
|
+
"declaration": "export interface AgentTeamThreadAttentionResult {\n readonly receipt: AgentTeamOperationReceipt;\n readonly task?: AgentTeamTask;\n readonly thread: AgentTeamThread;\n readonly attention?: AgentTeamThreadAttention;\n}"
|
|
2027
2128
|
},
|
|
2028
2129
|
{
|
|
2029
2130
|
"name": "AgentTeamThreadAttentionStatus",
|
|
2030
|
-
"declaration": "export interface AgentTeamThreadAttentionStatus {\n readonly task
|
|
2131
|
+
"declaration": "export interface AgentTeamThreadAttentionStatus {\n readonly task?: AgentTeamTask;\n readonly thread: AgentTeamThread;\n readonly attention?: AgentTeamThreadAttention;\n}"
|
|
2031
2132
|
},
|
|
2032
2133
|
{
|
|
2033
2134
|
"name": "AgentTeamThreadFact",
|
|
@@ -2035,11 +2136,11 @@ export const TYPERT = {
|
|
|
2035
2136
|
},
|
|
2036
2137
|
{
|
|
2037
2138
|
"name": "AgentTeamThreadHistory",
|
|
2038
|
-
"declaration": "export interface AgentTeamThreadHistory {\n readonly task
|
|
2139
|
+
"declaration": "export interface AgentTeamThreadHistory {\n readonly task?: AgentTeamTask;\n readonly thread: AgentTeamThread;\n readonly anchor: AgentTeamMessage;\n readonly anchorMentions: readonly AgentTeamMemberId[];\n readonly claims: readonly AgentTeamClaim[];\n readonly facts: readonly AgentTeamThreadFact[];\n readonly cursor: number;\n readonly hasMore: boolean;\n}"
|
|
2039
2140
|
},
|
|
2040
2141
|
{
|
|
2041
2142
|
"name": "AgentTeamThreadHistoryRequest",
|
|
2042
|
-
"declaration": "export interface AgentTeamThreadHistoryRequest {\n readonly workspaceId: WorkspaceId;\n readonly taskRef
|
|
2143
|
+
"declaration": "export interface AgentTeamThreadHistoryRequest {\n readonly workspaceId: WorkspaceId;\n readonly threadRef?: AgentTeamThreadRef;\n readonly taskRef?: AgentTeamTaskRef;\n readonly beforeSequence?: number;\n readonly limit?: number;\n}"
|
|
2043
2144
|
},
|
|
2044
2145
|
{
|
|
2045
2146
|
"name": "AgentTeamThreadObservations",
|
|
@@ -2047,7 +2148,7 @@ export const TYPERT = {
|
|
|
2047
2148
|
},
|
|
2048
2149
|
{
|
|
2049
2150
|
"name": "AgentTeamThreadObservationsRequest",
|
|
2050
|
-
"declaration": "export interface AgentTeamThreadObservationsRequest {\n readonly workspaceId: WorkspaceId;\n readonly taskRef
|
|
2151
|
+
"declaration": "export interface AgentTeamThreadObservationsRequest {\n readonly workspaceId: WorkspaceId;\n readonly threadRef?: AgentTeamThreadRef;\n readonly taskRef?: AgentTeamTaskRef;\n readonly limit?: number;\n}"
|
|
2051
2152
|
},
|
|
2052
2153
|
{
|
|
2053
2154
|
"name": "AgentTeamThreadReadFact",
|
|
@@ -2055,11 +2156,11 @@ export const TYPERT = {
|
|
|
2055
2156
|
},
|
|
2056
2157
|
{
|
|
2057
2158
|
"name": "AgentTeamThreadReadRequest",
|
|
2058
|
-
"declaration": "export interface AgentTeamThreadReadRequest {\n readonly requestId: AgentTeamRequestId;\n readonly workspaceId: WorkspaceId;\n readonly taskRef
|
|
2159
|
+
"declaration": "export interface AgentTeamThreadReadRequest {\n readonly requestId: AgentTeamRequestId;\n readonly workspaceId: WorkspaceId;\n readonly threadRef?: AgentTeamThreadRef;\n readonly taskRef?: AgentTeamTaskRef;\n}"
|
|
2059
2160
|
},
|
|
2060
2161
|
{
|
|
2061
2162
|
"name": "AgentTeamThreadReadResult",
|
|
2062
|
-
"declaration": "export interface AgentTeamThreadReadResult {\n readonly receipt: AgentTeamOperationReceipt;\n readonly task
|
|
2163
|
+
"declaration": "export interface AgentTeamThreadReadResult {\n readonly receipt: AgentTeamOperationReceipt;\n readonly task?: AgentTeamTask;\n readonly thread: AgentTeamThread;\n readonly claims: readonly AgentTeamClaim[];\n readonly anchor: AgentTeamMessage;\n readonly anchorMentions: readonly AgentTeamMemberId[];\n readonly facts: readonly AgentTeamThreadReadFact[];\n readonly readThroughSequence: number;\n readonly remainingUnreadCount: number;\n readonly attention?: AgentTeamThreadAttention;\n readonly consumedDirectMarkers: readonly AgentTeamDirectMarker[];\n}"
|
|
2063
2164
|
},
|
|
2064
2165
|
{
|
|
2065
2166
|
"name": "AgentTeamThreadRef",
|
|
@@ -2067,7 +2168,7 @@ export const TYPERT = {
|
|
|
2067
2168
|
},
|
|
2068
2169
|
{
|
|
2069
2170
|
"name": "AgentTeamUnreadRequired",
|
|
2070
|
-
"declaration": "export interface AgentTeamUnreadRequired {\n readonly kind: 'unread_required';\n readonly taskRef
|
|
2171
|
+
"declaration": "export interface AgentTeamUnreadRequired {\n readonly kind: 'unread_required';\n readonly taskRef?: AgentTeamTaskRef;\n readonly threadRef: AgentTeamThreadRef;\n readonly revision: number;\n readonly unreadCount: number;\n readonly directCount: number;\n}"
|
|
2071
2172
|
},
|
|
2072
2173
|
{
|
|
2073
2174
|
"name": "AgentTeamUpdateChannelRequest",
|
|
@@ -2087,7 +2188,7 @@ export const TYPERT = {
|
|
|
2087
2188
|
},
|
|
2088
2189
|
{
|
|
2089
2190
|
"name": "AgentTeamViewItem",
|
|
2090
|
-
"declaration": "export interface AgentTeamViewItem {\n readonly message: AgentTeamMessage;\n readonly mentions: readonly AgentTeamMemberId[];\n readonly task
|
|
2191
|
+
"declaration": "export interface AgentTeamViewItem {\n readonly message: AgentTeamMessage;\n readonly mentions: readonly AgentTeamMemberId[];\n readonly task?: AgentTeamTask;\n readonly thread: AgentTeamThread;\n readonly taskNumber?: number;\n readonly messageCount: number;\n}"
|
|
2091
2192
|
},
|
|
2092
2193
|
{
|
|
2093
2194
|
"name": "AgentTeamViewRequest",
|
|
@@ -2137,6 +2238,14 @@ export const TYPERT = {
|
|
|
2137
2238
|
"name": "CodeDispatchStartEventData",
|
|
2138
2239
|
"declaration": "export interface CodeDispatchStartEventData {\n rootCallId: CallId;\n parentCallId: CallId;\n subCallId: CallId;\n name: string;\n arguments: unknown;\n}"
|
|
2139
2240
|
},
|
|
2241
|
+
{
|
|
2242
|
+
"name": "CommandId",
|
|
2243
|
+
"declaration": "export type CommandId = Branded<'CommandId'>;"
|
|
2244
|
+
},
|
|
2245
|
+
{
|
|
2246
|
+
"name": "CompactionId",
|
|
2247
|
+
"declaration": "export type CompactionId = Branded<'CompactionId'>;"
|
|
2248
|
+
},
|
|
2140
2249
|
{
|
|
2141
2250
|
"name": "ContentBlock",
|
|
2142
2251
|
"declaration": "export type ContentBlock = ContentBlockMap[ContentBlockType];"
|
|
@@ -2263,7 +2372,7 @@ export const TYPERT = {
|
|
|
2263
2372
|
},
|
|
2264
2373
|
{
|
|
2265
2374
|
"name": "SessionEventMap",
|
|
2266
|
-
"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 'assistant/chunk': { turn: number; step: number; chunk: StreamChunk; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; usage?: TokenUsage; interrupted?: true; };\n 'tool/call': { turn: number; step: number; callId: CallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; }; meta?: JsonValue; };\n 'todo/write': { todos: TodoItem[]; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; };\n 'request/context': RequestContext;\n 'session/end-seed': Record<string, never>;\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'agent-preset/selected': { agentPreset: string; };\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: CallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'tool/code-dispatch-start': CodeDispatchStartEventData;\n 'tool/code-dispatch': CodeDispatchEventData;\n}"
|
|
2375
|
+
"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 'assistant/chunk': { turn: number; step: number; chunk: StreamChunk; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; usage?: TokenUsage; interrupted?: true; };\n 'tool/call': { turn: number; step: number; callId: CallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; }; meta?: JsonValue; };\n 'todo/write': { todos: TodoItem[]; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; };\n 'request/context': RequestContext;\n 'session/end-seed': Record<string, never>;\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'compaction/start': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; };\n 'compaction/summary': { compactionId: CompactionId; sourceCommandId?: CommandId; summary: ContentBlock[]; shadowedRange: { start: number; end: number; }; shadowedSeqs: number[]; 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: number; end: number; }; shadowedSeqs: number[]; shadowedTokenCount: number; };\n 'agent-preset/selected': { agentPreset: string; };\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: CallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'tool/code-dispatch-start': CodeDispatchStartEventData;\n 'tool/code-dispatch': CodeDispatchEventData;\n}"
|
|
2267
2376
|
},
|
|
2268
2377
|
{
|
|
2269
2378
|
"name": "SessionEventType",
|