@wowyuarm/dsh-agent-team 0.1.4 → 0.1.5
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.zh.md +5 -2
- package/package.json +1 -1
- package/packages/agent-team/lib/auto-compaction.js +39 -1
- package/packages/agent-team/lib/index.js +85 -5
- package/packages/agent-team/lib/ledger.js +80 -2
- package/packages/agent-team/lib/spec.js +12 -0
- package/packages/agent-team/lib/typert.host.js +94 -22
- 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 +79 -22
- package/packages/agent-team/lib/types/auto-compaction.d.ts +9 -0
- package/packages/agent-team/lib/types/auto-compaction.d.ts.map +1 -1
- package/packages/agent-team/lib/types/index.d.ts +13 -1
- package/packages/agent-team/lib/types/index.d.ts.map +1 -1
- package/packages/agent-team/lib/types/ledger.d.ts +20 -0
- package/packages/agent-team/lib/types/ledger.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 +41 -1
- package/packages/agent-team/lib/types/types.d.ts.map +1 -1
- package/packages/client-agent-team/lib/client.js +486 -90
- package/packages/client-agent-team/lib/client.js.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.d.ts +2 -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 +41 -5
- 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 -0
- 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 -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 +73 -17
- package/packages/client-agent-team/lib/types/client/TeamMemberSessionComposer.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamMemberSessionComposer.js +16 -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 +48 -18
- package/packages/client-agent-team/lib/types/client/TeamRowMenu.d.ts +3 -2
- package/packages/client-agent-team/lib/types/client/TeamRowMenu.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamSidebarSection.d.ts +5 -2
- package/packages/client-agent-team/lib/types/client/TeamSidebarSection.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamSidebarSection.js +2 -4
- package/packages/client-agent-team/lib/types/client/TeamThreadPage.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamThreadPage.js +21 -2
- package/packages/client-agent-team/lib/types/client/TeamWorkspaceBrowser.d.ts +1 -1
- package/packages/client-agent-team/lib/types/client/TeamWorkspaceBrowser.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamWorkspaceBrowser.js +4 -2
- package/packages/client-agent-team/lib/types/client/index.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/index.js +15 -13
- package/packages/client-agent-team/lib/types/client/locales.d.ts +16 -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 +16 -0
- package/packages/client-agent-team/lib/types/client/sidebar-sections.d.ts +16 -0
- package/packages/client-agent-team/lib/types/client/sidebar-sections.d.ts.map +1 -0
- package/packages/client-agent-team/lib/types/client/sidebar-sections.js +102 -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/team-formatters.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/team-formatters.js +9 -2
|
@@ -148,6 +148,38 @@ const _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema = z.union([z.o
|
|
|
148
148
|
'expectedRevision': z.number().readonly(),
|
|
149
149
|
'revision': z.number().readonly(),
|
|
150
150
|
})])
|
|
151
|
+
const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema = z.object({
|
|
152
|
+
'requestId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
153
|
+
'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
154
|
+
'memberId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
155
|
+
})
|
|
156
|
+
const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema = z.object({
|
|
157
|
+
'receipt': z.object({
|
|
158
|
+
'operationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
159
|
+
'requestId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
160
|
+
'sequence': z.number().readonly(),
|
|
161
|
+
}).readonly(),
|
|
162
|
+
'status': z.object({
|
|
163
|
+
'member': z.object({
|
|
164
|
+
'memberId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
165
|
+
'sessionId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
166
|
+
'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
167
|
+
'handle': z.string().readonly(),
|
|
168
|
+
'description': z.string().readonly(),
|
|
169
|
+
'presetId': z.string().readonly(),
|
|
170
|
+
'model': z.union([z.undefined(), z.object({
|
|
171
|
+
'provider': z.string().readonly(),
|
|
172
|
+
'model': z.string().readonly(),
|
|
173
|
+
'reasoningEffort': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
174
|
+
})]).readonly().optional(),
|
|
175
|
+
'privateMemoryPath': z.string().readonly(),
|
|
176
|
+
'state': z.union([z.literal("enabled"), z.literal("suspended"), z.literal("inactive")]).readonly(),
|
|
177
|
+
}).readonly(),
|
|
178
|
+
'availability': z.union([z.literal("suspended"), z.literal("inactive"), z.literal("active"), z.literal("unavailable")]).readonly(),
|
|
179
|
+
'presence': z.union([z.literal("unavailable"), z.literal("available"), z.literal("working"), z.literal("error")]).readonly(),
|
|
180
|
+
'diagnostic': z.string().readonly().optional(),
|
|
181
|
+
}).readonly(),
|
|
182
|
+
})
|
|
151
183
|
const _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema = z.object({
|
|
152
184
|
'requestId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
153
185
|
'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
@@ -983,7 +1015,7 @@ export const TYPERT = {
|
|
|
983
1015
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamMemberResult',
|
|
984
1016
|
schema: _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema,
|
|
985
1017
|
},
|
|
986
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1018
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":397,"column":9},
|
|
987
1019
|
},
|
|
988
1020
|
{
|
|
989
1021
|
id: '@wowyuarm/dsh-agent-team#agentTeam/changeAttention',
|
|
@@ -1008,7 +1040,7 @@ export const TYPERT = {
|
|
|
1008
1040
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadAttentionResult',
|
|
1009
1041
|
schema: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema,
|
|
1010
1042
|
},
|
|
1011
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1043
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":738,"column":9},
|
|
1012
1044
|
},
|
|
1013
1045
|
{
|
|
1014
1046
|
id: '@wowyuarm/dsh-agent-team#agentTeam/changes',
|
|
@@ -1034,7 +1066,7 @@ export const TYPERT = {
|
|
|
1034
1066
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamChangesResult',
|
|
1035
1067
|
schema: _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema,
|
|
1036
1068
|
},
|
|
1037
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1069
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":334,"column":9},
|
|
1038
1070
|
},
|
|
1039
1071
|
{
|
|
1040
1072
|
id: '@wowyuarm/dsh-agent-team#agentTeam/changeTask',
|
|
@@ -1059,7 +1091,32 @@ export const TYPERT = {
|
|
|
1059
1091
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamTaskResult',
|
|
1060
1092
|
schema: _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema,
|
|
1061
1093
|
},
|
|
1062
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1094
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":628,"column":9},
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
id: '@wowyuarm/dsh-agent-team#agentTeam/clearMemberContext',
|
|
1098
|
+
service: 'agentTeam',
|
|
1099
|
+
namespace: 'agentTeam',
|
|
1100
|
+
method: 'clearMemberContext',
|
|
1101
|
+
invocation: { kind: 'direct' },
|
|
1102
|
+
parameters: [
|
|
1103
|
+
{
|
|
1104
|
+
name: 'request',
|
|
1105
|
+
wire: 'request',
|
|
1106
|
+
source: 'json',
|
|
1107
|
+
codec: {
|
|
1108
|
+
mode: 'strict',
|
|
1109
|
+
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamClearMemberContextRequest',
|
|
1110
|
+
schema: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema,
|
|
1111
|
+
},
|
|
1112
|
+
},
|
|
1113
|
+
],
|
|
1114
|
+
result: {
|
|
1115
|
+
mode: 'strict',
|
|
1116
|
+
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamClearMemberContextResult',
|
|
1117
|
+
schema: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema,
|
|
1118
|
+
},
|
|
1119
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":489,"column":9},
|
|
1063
1120
|
},
|
|
1064
1121
|
{
|
|
1065
1122
|
id: '@wowyuarm/dsh-agent-team#agentTeam/createChannel',
|
|
@@ -1084,7 +1141,7 @@ export const TYPERT = {
|
|
|
1084
1141
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamCreateChannelResult',
|
|
1085
1142
|
schema: _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema,
|
|
1086
1143
|
},
|
|
1087
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1144
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":375,"column":9},
|
|
1088
1145
|
},
|
|
1089
1146
|
{
|
|
1090
1147
|
id: '@wowyuarm/dsh-agent-team#agentTeam/getAttachment',
|
|
@@ -1109,7 +1166,7 @@ export const TYPERT = {
|
|
|
1109
1166
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetAttachmentResult',
|
|
1110
1167
|
schema: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema,
|
|
1111
1168
|
},
|
|
1112
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1169
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":724,"column":9},
|
|
1113
1170
|
},
|
|
1114
1171
|
{
|
|
1115
1172
|
id: '@wowyuarm/dsh-agent-team#agentTeam/inbox',
|
|
@@ -1134,7 +1191,7 @@ export const TYPERT = {
|
|
|
1134
1191
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamInbox',
|
|
1135
1192
|
schema: _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema,
|
|
1136
1193
|
},
|
|
1137
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1194
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":747,"column":3},
|
|
1138
1195
|
},
|
|
1139
1196
|
{
|
|
1140
1197
|
id: '@wowyuarm/dsh-agent-team#agentTeam/joinChannel',
|
|
@@ -1159,7 +1216,7 @@ export const TYPERT = {
|
|
|
1159
1216
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinChannelResult',
|
|
1160
1217
|
schema: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema,
|
|
1161
1218
|
},
|
|
1162
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1219
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":648,"column":9},
|
|
1163
1220
|
},
|
|
1164
1221
|
{
|
|
1165
1222
|
id: '@wowyuarm/dsh-agent-team#agentTeam/members',
|
|
@@ -1185,7 +1242,7 @@ export const TYPERT = {
|
|
|
1185
1242
|
typeSymbol: '@wowyuarm/dsh-agent-team#agentTeam/members:result',
|
|
1186
1243
|
schema: _wowyuarm_dsh_agent_team_agentTeam_members_result$schema,
|
|
1187
1244
|
},
|
|
1188
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1245
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":325,"column":3},
|
|
1189
1246
|
},
|
|
1190
1247
|
{
|
|
1191
1248
|
id: '@wowyuarm/dsh-agent-team#agentTeam/promoteThread',
|
|
@@ -1210,7 +1267,7 @@ export const TYPERT = {
|
|
|
1210
1267
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPromoteThreadResult',
|
|
1211
1268
|
schema: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema,
|
|
1212
1269
|
},
|
|
1213
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1270
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":638,"column":9},
|
|
1214
1271
|
},
|
|
1215
1272
|
{
|
|
1216
1273
|
id: '@wowyuarm/dsh-agent-team#agentTeam/putAttachment',
|
|
@@ -1235,7 +1292,7 @@ export const TYPERT = {
|
|
|
1235
1292
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutAttachmentResult',
|
|
1236
1293
|
schema: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema,
|
|
1237
1294
|
},
|
|
1238
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1295
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":711,"column":9},
|
|
1239
1296
|
},
|
|
1240
1297
|
{
|
|
1241
1298
|
id: '@wowyuarm/dsh-agent-team#agentTeam/readThread',
|
|
@@ -1260,7 +1317,7 @@ export const TYPERT = {
|
|
|
1260
1317
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadReadResult',
|
|
1261
1318
|
schema: _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema,
|
|
1262
1319
|
},
|
|
1263
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1320
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":754,"column":9},
|
|
1264
1321
|
},
|
|
1265
1322
|
{
|
|
1266
1323
|
id: '@wowyuarm/dsh-agent-team#agentTeam/recoverMember',
|
|
@@ -1285,7 +1342,7 @@ export const TYPERT = {
|
|
|
1285
1342
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRecoverMemberResult',
|
|
1286
1343
|
schema: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema,
|
|
1287
1344
|
},
|
|
1288
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1345
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":450,"column":9},
|
|
1289
1346
|
},
|
|
1290
1347
|
{
|
|
1291
1348
|
id: '@wowyuarm/dsh-agent-team#agentTeam/removeChannelMember',
|
|
@@ -1310,7 +1367,7 @@ export const TYPERT = {
|
|
|
1310
1367
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveChannelMemberResult',
|
|
1311
1368
|
schema: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema,
|
|
1312
1369
|
},
|
|
1313
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1370
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":659,"column":9},
|
|
1314
1371
|
},
|
|
1315
1372
|
{
|
|
1316
1373
|
id: '@wowyuarm/dsh-agent-team#agentTeam/reply',
|
|
@@ -1335,7 +1392,7 @@ export const TYPERT = {
|
|
|
1335
1392
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamReplyResult',
|
|
1336
1393
|
schema: _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema,
|
|
1337
1394
|
},
|
|
1338
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1395
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":732,"column":9},
|
|
1339
1396
|
},
|
|
1340
1397
|
{
|
|
1341
1398
|
id: '@wowyuarm/dsh-agent-team#agentTeam/resolveTaskRefs',
|
|
@@ -1360,7 +1417,7 @@ export const TYPERT = {
|
|
|
1360
1417
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveTaskRefsResult',
|
|
1361
1418
|
schema: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema,
|
|
1362
1419
|
},
|
|
1363
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1420
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":312,"column":3},
|
|
1364
1421
|
},
|
|
1365
1422
|
{
|
|
1366
1423
|
id: '@wowyuarm/dsh-agent-team#agentTeam/sendMessage',
|
|
@@ -1385,7 +1442,7 @@ export const TYPERT = {
|
|
|
1385
1442
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSendMessageResult',
|
|
1386
1443
|
schema: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema,
|
|
1387
1444
|
},
|
|
1388
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1445
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":668,"column":9},
|
|
1389
1446
|
},
|
|
1390
1447
|
{
|
|
1391
1448
|
id: '@wowyuarm/dsh-agent-team#agentTeam/threadHistory',
|
|
@@ -1410,7 +1467,7 @@ export const TYPERT = {
|
|
|
1410
1467
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadHistory',
|
|
1411
1468
|
schema: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema,
|
|
1412
1469
|
},
|
|
1413
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1470
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":770,"column":3},
|
|
1414
1471
|
},
|
|
1415
1472
|
{
|
|
1416
1473
|
id: '@wowyuarm/dsh-agent-team#agentTeam/threadObservations',
|
|
@@ -1435,7 +1492,7 @@ export const TYPERT = {
|
|
|
1435
1492
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadObservations',
|
|
1436
1493
|
schema: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema,
|
|
1437
1494
|
},
|
|
1438
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1495
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":763,"column":3},
|
|
1439
1496
|
},
|
|
1440
1497
|
{
|
|
1441
1498
|
id: '@wowyuarm/dsh-agent-team#agentTeam/updateChannel',
|
|
@@ -1460,7 +1517,7 @@ export const TYPERT = {
|
|
|
1460
1517
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamUpdateChannelResult',
|
|
1461
1518
|
schema: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema,
|
|
1462
1519
|
},
|
|
1463
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1520
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":387,"column":9},
|
|
1464
1521
|
},
|
|
1465
1522
|
{
|
|
1466
1523
|
id: '@wowyuarm/dsh-agent-team#agentTeam/updateMember',
|
|
@@ -1485,7 +1542,7 @@ export const TYPERT = {
|
|
|
1485
1542
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamMemberResult',
|
|
1486
1543
|
schema: _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema,
|
|
1487
1544
|
},
|
|
1488
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1545
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":598,"column":9},
|
|
1489
1546
|
},
|
|
1490
1547
|
{
|
|
1491
1548
|
id: '@wowyuarm/dsh-agent-team#agentTeam/view',
|
|
@@ -1510,7 +1567,7 @@ export const TYPERT = {
|
|
|
1510
1567
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamView',
|
|
1511
1568
|
schema: _wowyuarm_dsh_agent_team_agentTeam_view_result$schema,
|
|
1512
1569
|
},
|
|
1513
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1570
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":777,"column":3},
|
|
1514
1571
|
},
|
|
1515
1572
|
],
|
|
1516
1573
|
model: {
|
|
@@ -1605,6 +1662,13 @@ export const TYPERT = {
|
|
|
1605
1662
|
"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
1663
|
"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 */"
|
|
1607
1664
|
},
|
|
1665
|
+
{
|
|
1666
|
+
"kind": "method",
|
|
1667
|
+
"name": "clearMemberContext",
|
|
1668
|
+
"signature": "@Remote('clearMemberContext') async clearMemberContext(request: AgentTeamClearMemberContextRequest): Promise<AgentTeamClearMemberContextResult>",
|
|
1669
|
+
"summary": "Start one enabled Member from a new context: dispose the live handle, archive the previous Session (its log stays on disk for history), and activate a fresh Session under a new sessionId, so preset, tools, private memory, and model selection all reload while the next turn carries no history.",
|
|
1670
|
+
"jsDoc": "/**\n * Start one enabled Member from a new context: dispose the live handle,\n * archive the previous Session (its log stays on disk for history), and\n * activate a fresh Session under a new sessionId, so preset, tools, private\n * memory, and model selection all reload while the next turn carries no\n * history. The durable operation moves the Member's sessionId; identity,\n * memory path, and binding survive. A new id is what keeps the Web Client\n * seat live: a disposed generation's resident instance keeps its `removed`\n * bit forever, so renewing under the same id would leave a permanently\n * grayed session view.\n */"
|
|
1671
|
+
},
|
|
1608
1672
|
{
|
|
1609
1673
|
"kind": "method",
|
|
1610
1674
|
"name": "updateMember",
|
|
@@ -1886,6 +1950,14 @@ export const TYPERT = {
|
|
|
1886
1950
|
"name": "AgentTeamClaimsReleasedActivity",
|
|
1887
1951
|
"declaration": "export interface AgentTeamClaimsReleasedActivity extends AgentTeamActivityBase {\n readonly kind: 'claims_released';\n readonly claimRefs: readonly AgentTeamClaimRef[];\n}"
|
|
1888
1952
|
},
|
|
1953
|
+
{
|
|
1954
|
+
"name": "AgentTeamClearMemberContextRequest",
|
|
1955
|
+
"declaration": "export interface AgentTeamClearMemberContextRequest {\n readonly requestId: AgentTeamRequestId;\n readonly workspaceId: WorkspaceId;\n readonly memberId: AgentTeamMemberId;\n}"
|
|
1956
|
+
},
|
|
1957
|
+
{
|
|
1958
|
+
"name": "AgentTeamClearMemberContextResult",
|
|
1959
|
+
"declaration": "export interface AgentTeamClearMemberContextResult {\n readonly receipt: AgentTeamOperationReceipt;\n readonly status: AgentTeamAgentMemberStatus;\n}"
|
|
1960
|
+
},
|
|
1889
1961
|
{
|
|
1890
1962
|
"name": "AgentTeamClientMember",
|
|
1891
1963
|
"declaration": "export type AgentTeamClientMember = Omit<AgentTeamAgentMember, 'privateMemoryPath'>;"
|
|
@@ -3,7 +3,7 @@ import type {
|
|
|
3
3
|
RemoteResult,
|
|
4
4
|
TypertRemoteContribution,
|
|
5
5
|
} from '@deepseek-ai/dsh-typert-protocol'
|
|
6
|
-
import type { AgentTeamAddMemberRequest, AgentTeamChangesRequest, AgentTeamChangesResult, AgentTeamClientMemberStatus, AgentTeamCreateChannelRequest, AgentTeamCreateChannelResult, AgentTeamGetAttachmentRequest, AgentTeamGetAttachmentResult, AgentTeamInbox, AgentTeamInboxRequest, AgentTeamJoinChannelRequest, AgentTeamJoinChannelResult, AgentTeamMemberResult, AgentTeamMembersRequest, AgentTeamPromoteThreadRequest, AgentTeamPromoteThreadResult, AgentTeamPutAttachmentRequest, AgentTeamPutAttachmentResult, AgentTeamRecoverMemberRequest, AgentTeamRecoverMemberResult, AgentTeamRemoveChannelMemberRequest, AgentTeamRemoveChannelMemberResult, AgentTeamReplyRequest, AgentTeamReplyResult, AgentTeamResolveTaskRefsRequest, AgentTeamResolveTaskRefsResult, AgentTeamSendMessageRequest, AgentTeamSendMessageResult, AgentTeamTaskRequest, AgentTeamTaskResult, AgentTeamThreadAttentionRequest, AgentTeamThreadAttentionResult, AgentTeamThreadHistory, AgentTeamThreadHistoryRequest, AgentTeamThreadObservations, AgentTeamThreadObservationsRequest, AgentTeamThreadReadRequest, AgentTeamThreadReadResult, AgentTeamUpdateChannelRequest, AgentTeamUpdateChannelResult, AgentTeamUpdateMemberRequest, AgentTeamView, AgentTeamViewRequest } from '@wowyuarm/dsh-agent-team/types'
|
|
6
|
+
import type { AgentTeamAddMemberRequest, AgentTeamChangesRequest, AgentTeamChangesResult, AgentTeamClearMemberContextRequest, AgentTeamClearMemberContextResult, AgentTeamClientMemberStatus, AgentTeamCreateChannelRequest, AgentTeamCreateChannelResult, AgentTeamGetAttachmentRequest, AgentTeamGetAttachmentResult, AgentTeamInbox, AgentTeamInboxRequest, AgentTeamJoinChannelRequest, AgentTeamJoinChannelResult, AgentTeamMemberResult, AgentTeamMembersRequest, AgentTeamPromoteThreadRequest, AgentTeamPromoteThreadResult, AgentTeamPutAttachmentRequest, AgentTeamPutAttachmentResult, AgentTeamRecoverMemberRequest, AgentTeamRecoverMemberResult, AgentTeamRemoveChannelMemberRequest, AgentTeamRemoveChannelMemberResult, AgentTeamReplyRequest, AgentTeamReplyResult, AgentTeamResolveTaskRefsRequest, AgentTeamResolveTaskRefsResult, AgentTeamSendMessageRequest, AgentTeamSendMessageResult, AgentTeamTaskRequest, AgentTeamTaskResult, AgentTeamThreadAttentionRequest, AgentTeamThreadAttentionResult, AgentTeamThreadHistory, AgentTeamThreadHistoryRequest, AgentTeamThreadObservations, AgentTeamThreadObservationsRequest, AgentTeamThreadReadRequest, AgentTeamThreadReadResult, AgentTeamUpdateChannelRequest, AgentTeamUpdateChannelResult, AgentTeamUpdateMemberRequest, AgentTeamView, AgentTeamViewRequest } from '@wowyuarm/dsh-agent-team/types'
|
|
7
7
|
|
|
8
8
|
declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
9
9
|
interface TypertRemoteNamespace$6167656e745465616d {
|
|
@@ -11,6 +11,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
11
11
|
changeAttention: (request: AgentTeamThreadAttentionRequest) => Promise<RemoteResult<AgentTeamThreadAttentionResult>>
|
|
12
12
|
changes: (request: AgentTeamChangesRequest, signal?: AbortSignal) => Promise<RemoteResult<AgentTeamChangesResult>>
|
|
13
13
|
changeTask: (request: AgentTeamTaskRequest) => Promise<RemoteResult<AgentTeamTaskResult>>
|
|
14
|
+
clearMemberContext: (request: AgentTeamClearMemberContextRequest) => Promise<RemoteResult<AgentTeamClearMemberContextResult>>
|
|
14
15
|
createChannel: (request: AgentTeamCreateChannelRequest) => Promise<RemoteResult<AgentTeamCreateChannelResult>>
|
|
15
16
|
getAttachment: (request: AgentTeamGetAttachmentRequest) => Promise<RemoteResult<AgentTeamGetAttachmentResult>>
|
|
16
17
|
inbox: (request: AgentTeamInboxRequest) => Promise<RemoteResult<AgentTeamInbox>>
|
|
@@ -35,6 +36,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
35
36
|
'agentTeam/changeAttention': (request: AgentTeamThreadAttentionRequest) => Promise<RemoteResult<AgentTeamThreadAttentionResult>>
|
|
36
37
|
'agentTeam/changes': (request: AgentTeamChangesRequest, signal?: AbortSignal) => Promise<RemoteResult<AgentTeamChangesResult>>
|
|
37
38
|
'agentTeam/changeTask': (request: AgentTeamTaskRequest) => Promise<RemoteResult<AgentTeamTaskResult>>
|
|
39
|
+
'agentTeam/clearMemberContext': (request: AgentTeamClearMemberContextRequest) => Promise<RemoteResult<AgentTeamClearMemberContextResult>>
|
|
38
40
|
'agentTeam/createChannel': (request: AgentTeamCreateChannelRequest) => Promise<RemoteResult<AgentTeamCreateChannelResult>>
|
|
39
41
|
'agentTeam/getAttachment': (request: AgentTeamGetAttachmentRequest) => Promise<RemoteResult<AgentTeamGetAttachmentResult>>
|
|
40
42
|
'agentTeam/inbox': (request: AgentTeamInboxRequest) => Promise<RemoteResult<AgentTeamInbox>>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typert.remote-client.d.ts","names":["addMember","changeAttention","changes","changeTask","createChannel","getAttachment","inbox","joinChannel","members","promoteThread","putAttachment","readThread","recoverMember","removeChannelMember","reply","resolveTaskRefs","sendMessage","threadHistory","threadObservations","updateChannel","updateMember","view"],"sources":["../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"typert.remote-client.d.ts","names":["addMember","changeAttention","changes","changeTask","clearMemberContext","createChannel","getAttachment","inbox","joinChannel","members","promoteThread","putAttachment","readThread","recoverMember","removeChannelMember","reply","resolveTaskRefs","sendMessage","threadHistory","threadObservations","updateChannel","updateMember","view"],"sources":["../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;IA4YQA,S;IAqVAC,e;IApZAC,O;IAsSAC,U;IA3IAC,kB;IAlHAC,a;IA6VAC,a;IAuBNC,K;IAnGMC,W;IAnUNC,O;IAyTMC,a;IAyEAC,a;IA2CAC,U;IAhTAC,a;IAiNAC,mB;IAyEAC,K;IApaNC,e;IAoWMC,W;IAsGNC,a;IAPAC,kB;IAxXMC,a;IAmNAC,Y;IAmLNC,I;;;IA5XMtB,qB;IAqVAC,2B;IApZAC,mB;IAsSAC,sB;IA3IAC,8B;IAlHAC,yB;IA6VAC,yB;IAuBNC,iB;IAnGMC,uB;IAnUNC,mB;IAyTMC,yB;IAyEAC,yB;IA2CAC,sB;IAhTAC,yB;IAiNAC,+B;IAyEAC,iB;IApaNC,2B;IAoWMC,uB;IAsGNC,yB;IAPAC,8B;IAxXMC,yB;IAmNAC,wB;IAmLNC,gB","ignoreList":[]}
|
|
@@ -148,6 +148,38 @@ const _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema = z.union([z.o
|
|
|
148
148
|
'expectedRevision': z.number().readonly(),
|
|
149
149
|
'revision': z.number().readonly(),
|
|
150
150
|
})])
|
|
151
|
+
const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema = z.object({
|
|
152
|
+
'requestId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
153
|
+
'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
154
|
+
'memberId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
155
|
+
})
|
|
156
|
+
const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema = z.object({
|
|
157
|
+
'receipt': z.object({
|
|
158
|
+
'operationId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
159
|
+
'requestId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
160
|
+
'sequence': z.number().readonly(),
|
|
161
|
+
}).readonly(),
|
|
162
|
+
'status': z.object({
|
|
163
|
+
'member': z.object({
|
|
164
|
+
'memberId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
165
|
+
'sessionId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
166
|
+
'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
167
|
+
'handle': z.string().readonly(),
|
|
168
|
+
'description': z.string().readonly(),
|
|
169
|
+
'presetId': z.string().readonly(),
|
|
170
|
+
'model': z.union([z.undefined(), z.object({
|
|
171
|
+
'provider': z.string().readonly(),
|
|
172
|
+
'model': z.string().readonly(),
|
|
173
|
+
'reasoningEffort': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
174
|
+
})]).readonly().optional(),
|
|
175
|
+
'privateMemoryPath': z.string().readonly(),
|
|
176
|
+
'state': z.union([z.literal("enabled"), z.literal("suspended"), z.literal("inactive")]).readonly(),
|
|
177
|
+
}).readonly(),
|
|
178
|
+
'availability': z.union([z.literal("suspended"), z.literal("inactive"), z.literal("active"), z.literal("unavailable")]).readonly(),
|
|
179
|
+
'presence': z.union([z.literal("unavailable"), z.literal("available"), z.literal("working"), z.literal("error")]).readonly(),
|
|
180
|
+
'diagnostic': z.string().readonly().optional(),
|
|
181
|
+
}).readonly(),
|
|
182
|
+
})
|
|
151
183
|
const _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema = z.object({
|
|
152
184
|
'requestId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
153
185
|
'workspaceId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
@@ -980,7 +1012,7 @@ export const TYPERT_REMOTE = {
|
|
|
980
1012
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamMemberResult',
|
|
981
1013
|
schema: _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema,
|
|
982
1014
|
},
|
|
983
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1015
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":397,"column":9},
|
|
984
1016
|
},
|
|
985
1017
|
{
|
|
986
1018
|
id: '@wowyuarm/dsh-agent-team#agentTeam/changeAttention',
|
|
@@ -1005,7 +1037,7 @@ export const TYPERT_REMOTE = {
|
|
|
1005
1037
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadAttentionResult',
|
|
1006
1038
|
schema: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema,
|
|
1007
1039
|
},
|
|
1008
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1040
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":738,"column":9},
|
|
1009
1041
|
},
|
|
1010
1042
|
{
|
|
1011
1043
|
id: '@wowyuarm/dsh-agent-team#agentTeam/changes',
|
|
@@ -1031,7 +1063,7 @@ export const TYPERT_REMOTE = {
|
|
|
1031
1063
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamChangesResult',
|
|
1032
1064
|
schema: _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema,
|
|
1033
1065
|
},
|
|
1034
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1066
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":334,"column":9},
|
|
1035
1067
|
},
|
|
1036
1068
|
{
|
|
1037
1069
|
id: '@wowyuarm/dsh-agent-team#agentTeam/changeTask',
|
|
@@ -1056,7 +1088,32 @@ export const TYPERT_REMOTE = {
|
|
|
1056
1088
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamTaskResult',
|
|
1057
1089
|
schema: _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema,
|
|
1058
1090
|
},
|
|
1059
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1091
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":628,"column":9},
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
id: '@wowyuarm/dsh-agent-team#agentTeam/clearMemberContext',
|
|
1095
|
+
service: 'agentTeam',
|
|
1096
|
+
namespace: 'agentTeam',
|
|
1097
|
+
method: 'clearMemberContext',
|
|
1098
|
+
invocation: { kind: 'direct' },
|
|
1099
|
+
parameters: [
|
|
1100
|
+
{
|
|
1101
|
+
name: 'request',
|
|
1102
|
+
wire: 'request',
|
|
1103
|
+
source: 'json',
|
|
1104
|
+
codec: {
|
|
1105
|
+
mode: 'strict',
|
|
1106
|
+
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamClearMemberContextRequest',
|
|
1107
|
+
schema: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_parameter_0$schema,
|
|
1108
|
+
},
|
|
1109
|
+
},
|
|
1110
|
+
],
|
|
1111
|
+
result: {
|
|
1112
|
+
mode: 'strict',
|
|
1113
|
+
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamClearMemberContextResult',
|
|
1114
|
+
schema: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema,
|
|
1115
|
+
},
|
|
1116
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":489,"column":9},
|
|
1060
1117
|
},
|
|
1061
1118
|
{
|
|
1062
1119
|
id: '@wowyuarm/dsh-agent-team#agentTeam/createChannel',
|
|
@@ -1081,7 +1138,7 @@ export const TYPERT_REMOTE = {
|
|
|
1081
1138
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamCreateChannelResult',
|
|
1082
1139
|
schema: _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema,
|
|
1083
1140
|
},
|
|
1084
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1141
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":375,"column":9},
|
|
1085
1142
|
},
|
|
1086
1143
|
{
|
|
1087
1144
|
id: '@wowyuarm/dsh-agent-team#agentTeam/getAttachment',
|
|
@@ -1106,7 +1163,7 @@ export const TYPERT_REMOTE = {
|
|
|
1106
1163
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetAttachmentResult',
|
|
1107
1164
|
schema: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema,
|
|
1108
1165
|
},
|
|
1109
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1166
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":724,"column":9},
|
|
1110
1167
|
},
|
|
1111
1168
|
{
|
|
1112
1169
|
id: '@wowyuarm/dsh-agent-team#agentTeam/inbox',
|
|
@@ -1131,7 +1188,7 @@ export const TYPERT_REMOTE = {
|
|
|
1131
1188
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamInbox',
|
|
1132
1189
|
schema: _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema,
|
|
1133
1190
|
},
|
|
1134
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1191
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":747,"column":3},
|
|
1135
1192
|
},
|
|
1136
1193
|
{
|
|
1137
1194
|
id: '@wowyuarm/dsh-agent-team#agentTeam/joinChannel',
|
|
@@ -1156,7 +1213,7 @@ export const TYPERT_REMOTE = {
|
|
|
1156
1213
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinChannelResult',
|
|
1157
1214
|
schema: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema,
|
|
1158
1215
|
},
|
|
1159
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1216
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":648,"column":9},
|
|
1160
1217
|
},
|
|
1161
1218
|
{
|
|
1162
1219
|
id: '@wowyuarm/dsh-agent-team#agentTeam/members',
|
|
@@ -1182,7 +1239,7 @@ export const TYPERT_REMOTE = {
|
|
|
1182
1239
|
typeSymbol: '@wowyuarm/dsh-agent-team#agentTeam/members:result',
|
|
1183
1240
|
schema: _wowyuarm_dsh_agent_team_agentTeam_members_result$schema,
|
|
1184
1241
|
},
|
|
1185
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1242
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":325,"column":3},
|
|
1186
1243
|
},
|
|
1187
1244
|
{
|
|
1188
1245
|
id: '@wowyuarm/dsh-agent-team#agentTeam/promoteThread',
|
|
@@ -1207,7 +1264,7 @@ export const TYPERT_REMOTE = {
|
|
|
1207
1264
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPromoteThreadResult',
|
|
1208
1265
|
schema: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema,
|
|
1209
1266
|
},
|
|
1210
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1267
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":638,"column":9},
|
|
1211
1268
|
},
|
|
1212
1269
|
{
|
|
1213
1270
|
id: '@wowyuarm/dsh-agent-team#agentTeam/putAttachment',
|
|
@@ -1232,7 +1289,7 @@ export const TYPERT_REMOTE = {
|
|
|
1232
1289
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutAttachmentResult',
|
|
1233
1290
|
schema: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema,
|
|
1234
1291
|
},
|
|
1235
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1292
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":711,"column":9},
|
|
1236
1293
|
},
|
|
1237
1294
|
{
|
|
1238
1295
|
id: '@wowyuarm/dsh-agent-team#agentTeam/readThread',
|
|
@@ -1257,7 +1314,7 @@ export const TYPERT_REMOTE = {
|
|
|
1257
1314
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadReadResult',
|
|
1258
1315
|
schema: _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema,
|
|
1259
1316
|
},
|
|
1260
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1317
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":754,"column":9},
|
|
1261
1318
|
},
|
|
1262
1319
|
{
|
|
1263
1320
|
id: '@wowyuarm/dsh-agent-team#agentTeam/recoverMember',
|
|
@@ -1282,7 +1339,7 @@ export const TYPERT_REMOTE = {
|
|
|
1282
1339
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRecoverMemberResult',
|
|
1283
1340
|
schema: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema,
|
|
1284
1341
|
},
|
|
1285
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1342
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":450,"column":9},
|
|
1286
1343
|
},
|
|
1287
1344
|
{
|
|
1288
1345
|
id: '@wowyuarm/dsh-agent-team#agentTeam/removeChannelMember',
|
|
@@ -1307,7 +1364,7 @@ export const TYPERT_REMOTE = {
|
|
|
1307
1364
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveChannelMemberResult',
|
|
1308
1365
|
schema: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema,
|
|
1309
1366
|
},
|
|
1310
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1367
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":659,"column":9},
|
|
1311
1368
|
},
|
|
1312
1369
|
{
|
|
1313
1370
|
id: '@wowyuarm/dsh-agent-team#agentTeam/reply',
|
|
@@ -1332,7 +1389,7 @@ export const TYPERT_REMOTE = {
|
|
|
1332
1389
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamReplyResult',
|
|
1333
1390
|
schema: _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema,
|
|
1334
1391
|
},
|
|
1335
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1392
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":732,"column":9},
|
|
1336
1393
|
},
|
|
1337
1394
|
{
|
|
1338
1395
|
id: '@wowyuarm/dsh-agent-team#agentTeam/resolveTaskRefs',
|
|
@@ -1357,7 +1414,7 @@ export const TYPERT_REMOTE = {
|
|
|
1357
1414
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveTaskRefsResult',
|
|
1358
1415
|
schema: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema,
|
|
1359
1416
|
},
|
|
1360
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1417
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":312,"column":3},
|
|
1361
1418
|
},
|
|
1362
1419
|
{
|
|
1363
1420
|
id: '@wowyuarm/dsh-agent-team#agentTeam/sendMessage',
|
|
@@ -1382,7 +1439,7 @@ export const TYPERT_REMOTE = {
|
|
|
1382
1439
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSendMessageResult',
|
|
1383
1440
|
schema: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema,
|
|
1384
1441
|
},
|
|
1385
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1442
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":668,"column":9},
|
|
1386
1443
|
},
|
|
1387
1444
|
{
|
|
1388
1445
|
id: '@wowyuarm/dsh-agent-team#agentTeam/threadHistory',
|
|
@@ -1407,7 +1464,7 @@ export const TYPERT_REMOTE = {
|
|
|
1407
1464
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadHistory',
|
|
1408
1465
|
schema: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema,
|
|
1409
1466
|
},
|
|
1410
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1467
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":770,"column":3},
|
|
1411
1468
|
},
|
|
1412
1469
|
{
|
|
1413
1470
|
id: '@wowyuarm/dsh-agent-team#agentTeam/threadObservations',
|
|
@@ -1432,7 +1489,7 @@ export const TYPERT_REMOTE = {
|
|
|
1432
1489
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadObservations',
|
|
1433
1490
|
schema: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema,
|
|
1434
1491
|
},
|
|
1435
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1492
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":763,"column":3},
|
|
1436
1493
|
},
|
|
1437
1494
|
{
|
|
1438
1495
|
id: '@wowyuarm/dsh-agent-team#agentTeam/updateChannel',
|
|
@@ -1457,7 +1514,7 @@ export const TYPERT_REMOTE = {
|
|
|
1457
1514
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamUpdateChannelResult',
|
|
1458
1515
|
schema: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema,
|
|
1459
1516
|
},
|
|
1460
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1517
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":387,"column":9},
|
|
1461
1518
|
},
|
|
1462
1519
|
{
|
|
1463
1520
|
id: '@wowyuarm/dsh-agent-team#agentTeam/updateMember',
|
|
@@ -1482,7 +1539,7 @@ export const TYPERT_REMOTE = {
|
|
|
1482
1539
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamMemberResult',
|
|
1483
1540
|
schema: _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema,
|
|
1484
1541
|
},
|
|
1485
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1542
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":598,"column":9},
|
|
1486
1543
|
},
|
|
1487
1544
|
{
|
|
1488
1545
|
id: '@wowyuarm/dsh-agent-team#agentTeam/view',
|
|
@@ -1507,7 +1564,7 @@ export const TYPERT_REMOTE = {
|
|
|
1507
1564
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamView',
|
|
1508
1565
|
schema: _wowyuarm_dsh_agent_team_agentTeam_view_result$schema,
|
|
1509
1566
|
},
|
|
1510
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1567
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":777,"column":3},
|
|
1511
1568
|
},
|
|
1512
1569
|
],
|
|
1513
1570
|
}
|
|
@@ -3,6 +3,13 @@ import { type CompactionEngine } from '@deepseek-ai/dsh-compaction';
|
|
|
3
3
|
import type { AgentTeamMemberId, AgentTeamOperation } from './types.ts';
|
|
4
4
|
/** Strict threshold: 200K exactly does not compact. */
|
|
5
5
|
export declare const AUTO_COMPACTION_TOKEN_LIMIT = 200000;
|
|
6
|
+
/**
|
|
7
|
+
* Suggested summary marker of the pre-compaction memory hint. Same shape as
|
|
8
|
+
* the inbox and recovery notices so future turns can recognize it.
|
|
9
|
+
*/
|
|
10
|
+
export declare const PRE_COMPACTION_NOTICE_SUMMARY = "Compaction is imminent; consider persisting key conclusions.";
|
|
11
|
+
/** Suggested pre-compaction hint body; writing is the Agent's own call. */
|
|
12
|
+
export declare function preCompactionNoticeText(): string;
|
|
6
13
|
/** Claim owners of a durable Human acceptance, including early-completed ones. */
|
|
7
14
|
export declare function acceptedTaskCompactionMembers(operation: AgentTeamOperation): readonly AgentTeamMemberId[] | undefined;
|
|
8
15
|
/**
|
|
@@ -23,6 +30,8 @@ export declare class AutoCompactionCoordinator {
|
|
|
23
30
|
readonly failed: (memberId: AgentTeamMemberId, sessionId: Agent['id'], diagnostic: string) => void;
|
|
24
31
|
readonly cleared: (memberId: AgentTeamMemberId, sessionId: Agent['id']) => void;
|
|
25
32
|
readonly log: (message: string) => void;
|
|
33
|
+
/** Steer the pre-compaction memory hint; absent skips the hint entirely. */
|
|
34
|
+
readonly steerPreCompaction?: (agent: Agent) => void;
|
|
26
35
|
});
|
|
27
36
|
/** Queue all unique claim owners; unavailable Members stay pending. */
|
|
28
37
|
schedule(memberIds: readonly AgentTeamMemberId[]): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auto-compaction.d.ts","sourceRoot":"","sources":["../../src/auto-compaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AACnD,OAAO,EAAyB,KAAK,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAG1F,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAEvE,uDAAuD;AACvD,eAAO,MAAM,2BAA2B,SAAU,CAAA;AAElD,kFAAkF;AAClF,wBAAgB,6BAA6B,CAAC,SAAS,EAAE,kBAAkB,GAAG,SAAS,iBAAiB,EAAE,GAAG,SAAS,CAGrH;AAED;;;;GAIG;AACH,qBAAa,yBAAyB;IAKxB,OAAO,CAAC,QAAQ,CAAC,OAAO;IAJpC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA+B;IACvD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA8C;IACtE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAwB;gBAEtB,OAAO,EAAE;QACpC,QAAQ,CAAC,cAAc,EAAE,CAAC,QAAQ,EAAE,iBAAiB,KAAK,KAAK,GAAG,SAAS,CAAA;QAC3E,QAAQ,CAAC,kBAAkB,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,gBAAgB,GAAG,SAAS,CAAA;QAC3E,oGAAoG;QACpG,QAAQ,CAAC,UAAU,EAAE,CAAC,QAAQ,EAAE,iBAAiB,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;QACtE,QAAQ,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,iBAAiB,EAAE,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;QAClG,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,iBAAiB,EAAE,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,IAAI,CAAA;QAC/E,QAAQ,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"auto-compaction.d.ts","sourceRoot":"","sources":["../../src/auto-compaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AACnD,OAAO,EAAyB,KAAK,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAG1F,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAEvE,uDAAuD;AACvD,eAAO,MAAM,2BAA2B,SAAU,CAAA;AAElD;;;GAGG;AACH,eAAO,MAAM,6BAA6B,iEAAiE,CAAA;AAE3G,2EAA2E;AAC3E,wBAAgB,uBAAuB,IAAI,MAAM,CAEhD;AAED,kFAAkF;AAClF,wBAAgB,6BAA6B,CAAC,SAAS,EAAE,kBAAkB,GAAG,SAAS,iBAAiB,EAAE,GAAG,SAAS,CAGrH;AAED;;;;GAIG;AACH,qBAAa,yBAAyB;IAKxB,OAAO,CAAC,QAAQ,CAAC,OAAO;IAJpC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA+B;IACvD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA8C;IACtE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAwB;gBAEtB,OAAO,EAAE;QACpC,QAAQ,CAAC,cAAc,EAAE,CAAC,QAAQ,EAAE,iBAAiB,KAAK,KAAK,GAAG,SAAS,CAAA;QAC3E,QAAQ,CAAC,kBAAkB,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,gBAAgB,GAAG,SAAS,CAAA;QAC3E,oGAAoG;QACpG,QAAQ,CAAC,UAAU,EAAE,CAAC,QAAQ,EAAE,iBAAiB,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;QACtE,QAAQ,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,iBAAiB,EAAE,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;QAClG,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,iBAAiB,EAAE,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,IAAI,CAAA;QAC/E,QAAQ,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;QACvC,4EAA4E;QAC5E,QAAQ,CAAC,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAA;KACrD;IAED,uEAAuE;IACvE,QAAQ,CAAC,SAAS,EAAE,SAAS,iBAAiB,EAAE,GAAG,IAAI;IAOvD,4EAA4E;IAC5E,SAAS,CAAC,QAAQ,EAAE,iBAAiB,GAAG,IAAI;IAItC,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAO9B,OAAO,CAAC,KAAK;YAQC,IAAI;IAuFlB,OAAO,CAAC,QAAQ;IAKhB,OAAO,CAAC,aAAa;IAOrB,OAAO,CAAC,IAAI;CAKb"}
|