@wowyuarm/dsh-agent-team 0.1.8 → 0.1.9
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/package.json +2 -1
- package/packages/agent-team/README.md +5 -3
- package/packages/agent-team/README.zh.md +5 -3
- package/packages/agent-team/lib/attachments.js +14 -4
- package/packages/agent-team/lib/context-management.js +379 -0
- package/packages/agent-team/lib/context-projection.js +574 -0
- package/packages/agent-team/lib/context-source.js +72 -0
- package/packages/agent-team/lib/index.js +1208 -62
- package/packages/agent-team/lib/ledger.js +222 -14
- package/packages/agent-team/lib/member-context.js +6 -2
- package/packages/agent-team/lib/member-runtime.js +159 -4
- package/packages/agent-team/lib/pressure-policy.js +200 -0
- package/packages/agent-team/lib/spec.js +18 -0
- package/packages/agent-team/lib/typert.host.js +122 -41
- package/packages/agent-team/lib/typert.remote-client.d.ts.map +1 -1
- package/packages/agent-team/lib/typert.remote-client.js +38 -25
- package/packages/agent-team/lib/types/attachments.d.ts +1 -1
- package/packages/agent-team/lib/types/attachments.d.ts.map +1 -1
- package/packages/agent-team/lib/types/context-management.d.ts +142 -0
- package/packages/agent-team/lib/types/context-management.d.ts.map +1 -0
- package/packages/agent-team/lib/types/context-projection.d.ts +219 -0
- package/packages/agent-team/lib/types/context-projection.d.ts.map +1 -0
- package/packages/agent-team/lib/types/context-source.d.ts +83 -0
- package/packages/agent-team/lib/types/context-source.d.ts.map +1 -0
- package/packages/agent-team/lib/types/index.d.ts +275 -2
- package/packages/agent-team/lib/types/index.d.ts.map +1 -1
- package/packages/agent-team/lib/types/ledger.d.ts +94 -6
- package/packages/agent-team/lib/types/ledger.d.ts.map +1 -1
- package/packages/agent-team/lib/types/member-context.d.ts.map +1 -1
- package/packages/agent-team/lib/types/member-runtime.d.ts +30 -2
- package/packages/agent-team/lib/types/member-runtime.d.ts.map +1 -1
- package/packages/agent-team/lib/types/pressure-policy.d.ts +106 -0
- package/packages/agent-team/lib/types/pressure-policy.d.ts.map +1 -0
- package/packages/agent-team/lib/types/spec.d.ts.map +1 -1
- package/packages/agent-team/lib/types/types/entities.d.ts +14 -1
- package/packages/agent-team/lib/types/types/entities.d.ts.map +1 -1
- package/packages/agent-team/lib/types/types/operations.d.ts +38 -3
- package/packages/agent-team/lib/types/types/operations.d.ts.map +1 -1
- package/packages/agent-team/lib/types/types/requests-results.d.ts +52 -1
- package/packages/agent-team/lib/types/types/requests-results.d.ts.map +1 -1
- package/packages/agent-team/preset/team-member/agent.cordis.yml +9 -1
- package/packages/client-agent-team/lib/client.js +314 -323
- package/packages/client-agent-team/lib/client.js.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.d.ts +1 -2
- package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.js +61 -41
- 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 +2 -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 +34 -11
- package/packages/client-agent-team/lib/types/client/locales.d.ts +0 -14
- package/packages/client-agent-team/lib/types/client/locales.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/locales.js +0 -14
- package/packages/client-agent-team/lib/types/client/slots.d.ts +5 -0
- package/packages/client-agent-team/lib/types/client/slots.d.ts.map +1 -1
- package/packages/tool-agent-team/README.md +8 -5
- package/packages/tool-agent-team/README.zh.md +8 -5
- package/packages/tool-agent-team/lib/context-tools.js +179 -0
- package/packages/tool-agent-team/lib/index.js +135 -16
- package/packages/tool-agent-team/lib/types/context-tools.d.ts +16 -0
- package/packages/tool-agent-team/lib/types/context-tools.d.ts.map +1 -0
- package/packages/tool-agent-team/lib/types/index.d.ts.map +1 -1
- package/packages/agent-team/lib/auto-compaction.js +0 -201
- package/packages/agent-team/lib/types/auto-compaction.d.ts +0 -47
- package/packages/agent-team/lib/types/auto-compaction.d.ts.map +0 -1
|
@@ -203,6 +203,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema = z.union([z.o
|
|
|
203
203
|
'kind': z.union([z.literal("accept"), z.literal("close"), z.literal("reopen"), z.literal("promote")]).readonly(),
|
|
204
204
|
'releasedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
205
205
|
'completedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
206
|
+
'acceptedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
206
207
|
'activityRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
207
208
|
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
208
209
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
@@ -431,6 +432,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema = z.union([
|
|
|
431
432
|
'kind': z.union([z.literal("accept"), z.literal("close"), z.literal("reopen"), z.literal("promote")]).readonly(),
|
|
432
433
|
'releasedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
433
434
|
'completedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
435
|
+
'acceptedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
434
436
|
'activityRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
435
437
|
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
436
438
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
@@ -544,6 +546,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema = z.object({
|
|
|
544
546
|
'kind': z.union([z.literal("accept"), z.literal("close"), z.literal("reopen"), z.literal("promote")]).readonly(),
|
|
545
547
|
'releasedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
546
548
|
'completedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
549
|
+
'acceptedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
547
550
|
'activityRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
548
551
|
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
549
552
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
@@ -584,6 +587,14 @@ const _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema = z.object({
|
|
|
584
587
|
'messageRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
585
588
|
'sequence': z.number().readonly(),
|
|
586
589
|
})).readonly(),
|
|
590
|
+
'contextAdvice': z.object({
|
|
591
|
+
'usageTokens': z.union([z.undefined(), z.number()]).readonly().optional(),
|
|
592
|
+
'taskBoundaryThreshold': z.union([z.undefined(), z.number()]).readonly().optional(),
|
|
593
|
+
'handoffAt': z.union([z.undefined(), z.number()]).readonly().optional(),
|
|
594
|
+
'hardLimit': z.union([z.undefined(), z.number()]).readonly().optional(),
|
|
595
|
+
'action': z.union([z.literal("unavailable"), z.literal("keep"), z.literal("rollover"), z.literal("handoff-now")]).readonly(),
|
|
596
|
+
'guidance': z.string().readonly(),
|
|
597
|
+
}).readonly().optional(),
|
|
587
598
|
})
|
|
588
599
|
const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_parameter_0$schema = z.object({
|
|
589
600
|
'requestId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
@@ -907,6 +918,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema = z.object(
|
|
|
907
918
|
'kind': z.union([z.literal("accept"), z.literal("close"), z.literal("reopen"), z.literal("promote")]).readonly(),
|
|
908
919
|
'releasedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
909
920
|
'completedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
921
|
+
'acceptedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
910
922
|
'activityRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
911
923
|
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
912
924
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
@@ -1116,6 +1128,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_view_result$schema = z.object({
|
|
|
1116
1128
|
'kind': z.union([z.literal("accept"), z.literal("close"), z.literal("reopen"), z.literal("promote")]).readonly(),
|
|
1117
1129
|
'releasedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
1118
1130
|
'completedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
1131
|
+
'acceptedClaimRefs': z.union([z.undefined(), z.array(z.intersection(z.string(), z.unknown()))]).readonly().optional(),
|
|
1119
1132
|
'activityRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
1120
1133
|
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
1121
1134
|
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
@@ -1168,7 +1181,7 @@ export const TYPERT_REMOTE = {
|
|
|
1168
1181
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamMemberResult',
|
|
1169
1182
|
schema: _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema,
|
|
1170
1183
|
},
|
|
1171
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1184
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":616,"column":9},
|
|
1172
1185
|
},
|
|
1173
1186
|
{
|
|
1174
1187
|
id: '@wowyuarm/dsh-agent-team#agentTeam/archiveChannel',
|
|
@@ -1193,7 +1206,7 @@ export const TYPERT_REMOTE = {
|
|
|
1193
1206
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveChannelResult',
|
|
1194
1207
|
schema: _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema,
|
|
1195
1208
|
},
|
|
1196
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1209
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":606,"column":9},
|
|
1197
1210
|
},
|
|
1198
1211
|
{
|
|
1199
1212
|
id: '@wowyuarm/dsh-agent-team#agentTeam/archiveMember',
|
|
@@ -1218,7 +1231,7 @@ export const TYPERT_REMOTE = {
|
|
|
1218
1231
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveMemberResult',
|
|
1219
1232
|
schema: _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema,
|
|
1220
1233
|
},
|
|
1221
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1234
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":987,"column":9},
|
|
1222
1235
|
},
|
|
1223
1236
|
{
|
|
1224
1237
|
id: '@wowyuarm/dsh-agent-team#agentTeam/changeAttention',
|
|
@@ -1243,7 +1256,7 @@ export const TYPERT_REMOTE = {
|
|
|
1243
1256
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadAttentionResult',
|
|
1244
1257
|
schema: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema,
|
|
1245
1258
|
},
|
|
1246
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1259
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1109,"column":9},
|
|
1247
1260
|
},
|
|
1248
1261
|
{
|
|
1249
1262
|
id: '@wowyuarm/dsh-agent-team#agentTeam/changes',
|
|
@@ -1269,7 +1282,7 @@ export const TYPERT_REMOTE = {
|
|
|
1269
1282
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamChangesResult',
|
|
1270
1283
|
schema: _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema,
|
|
1271
1284
|
},
|
|
1272
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1285
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":538,"column":9},
|
|
1273
1286
|
},
|
|
1274
1287
|
{
|
|
1275
1288
|
id: '@wowyuarm/dsh-agent-team#agentTeam/changeTask',
|
|
@@ -1294,7 +1307,7 @@ export const TYPERT_REMOTE = {
|
|
|
1294
1307
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamTaskResult',
|
|
1295
1308
|
schema: _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema,
|
|
1296
1309
|
},
|
|
1297
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1310
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":999,"column":9},
|
|
1298
1311
|
},
|
|
1299
1312
|
{
|
|
1300
1313
|
id: '@wowyuarm/dsh-agent-team#agentTeam/clearMemberContext',
|
|
@@ -1319,7 +1332,7 @@ export const TYPERT_REMOTE = {
|
|
|
1319
1332
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamClearMemberContextResult',
|
|
1320
1333
|
schema: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema,
|
|
1321
1334
|
},
|
|
1322
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1335
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":715,"column":9},
|
|
1323
1336
|
},
|
|
1324
1337
|
{
|
|
1325
1338
|
id: '@wowyuarm/dsh-agent-team#agentTeam/createChannel',
|
|
@@ -1344,7 +1357,7 @@ export const TYPERT_REMOTE = {
|
|
|
1344
1357
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamCreateChannelResult',
|
|
1345
1358
|
schema: _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema,
|
|
1346
1359
|
},
|
|
1347
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1360
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":579,"column":9},
|
|
1348
1361
|
},
|
|
1349
1362
|
{
|
|
1350
1363
|
id: '@wowyuarm/dsh-agent-team#agentTeam/getAttachment',
|
|
@@ -1369,7 +1382,7 @@ export const TYPERT_REMOTE = {
|
|
|
1369
1382
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetAttachmentResult',
|
|
1370
1383
|
schema: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema,
|
|
1371
1384
|
},
|
|
1372
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1385
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1095,"column":9},
|
|
1373
1386
|
},
|
|
1374
1387
|
{
|
|
1375
1388
|
id: '@wowyuarm/dsh-agent-team#agentTeam/inbox',
|
|
@@ -1394,7 +1407,7 @@ export const TYPERT_REMOTE = {
|
|
|
1394
1407
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamInbox',
|
|
1395
1408
|
schema: _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema,
|
|
1396
1409
|
},
|
|
1397
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1410
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1118,"column":3},
|
|
1398
1411
|
},
|
|
1399
1412
|
{
|
|
1400
1413
|
id: '@wowyuarm/dsh-agent-team#agentTeam/joinChannel',
|
|
@@ -1419,7 +1432,7 @@ export const TYPERT_REMOTE = {
|
|
|
1419
1432
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinChannelResult',
|
|
1420
1433
|
schema: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema,
|
|
1421
1434
|
},
|
|
1422
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1435
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1019,"column":9},
|
|
1423
1436
|
},
|
|
1424
1437
|
{
|
|
1425
1438
|
id: '@wowyuarm/dsh-agent-team#agentTeam/members',
|
|
@@ -1445,7 +1458,7 @@ export const TYPERT_REMOTE = {
|
|
|
1445
1458
|
typeSymbol: '@wowyuarm/dsh-agent-team#agentTeam/members:result',
|
|
1446
1459
|
schema: _wowyuarm_dsh_agent_team_agentTeam_members_result$schema,
|
|
1447
1460
|
},
|
|
1448
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1461
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":529,"column":3},
|
|
1449
1462
|
},
|
|
1450
1463
|
{
|
|
1451
1464
|
id: '@wowyuarm/dsh-agent-team#agentTeam/promoteThread',
|
|
@@ -1470,7 +1483,7 @@ export const TYPERT_REMOTE = {
|
|
|
1470
1483
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPromoteThreadResult',
|
|
1471
1484
|
schema: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema,
|
|
1472
1485
|
},
|
|
1473
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1486
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1009,"column":9},
|
|
1474
1487
|
},
|
|
1475
1488
|
{
|
|
1476
1489
|
id: '@wowyuarm/dsh-agent-team#agentTeam/putAttachment',
|
|
@@ -1495,7 +1508,7 @@ export const TYPERT_REMOTE = {
|
|
|
1495
1508
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutAttachmentResult',
|
|
1496
1509
|
schema: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema,
|
|
1497
1510
|
},
|
|
1498
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1511
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1082,"column":9},
|
|
1499
1512
|
},
|
|
1500
1513
|
{
|
|
1501
1514
|
id: '@wowyuarm/dsh-agent-team#agentTeam/readThread',
|
|
@@ -1520,7 +1533,7 @@ export const TYPERT_REMOTE = {
|
|
|
1520
1533
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadReadResult',
|
|
1521
1534
|
schema: _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema,
|
|
1522
1535
|
},
|
|
1523
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1536
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1125,"column":9},
|
|
1524
1537
|
},
|
|
1525
1538
|
{
|
|
1526
1539
|
id: '@wowyuarm/dsh-agent-team#agentTeam/recoverMember',
|
|
@@ -1545,7 +1558,7 @@ export const TYPERT_REMOTE = {
|
|
|
1545
1558
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRecoverMemberResult',
|
|
1546
1559
|
schema: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema,
|
|
1547
1560
|
},
|
|
1548
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1561
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":676,"column":9},
|
|
1549
1562
|
},
|
|
1550
1563
|
{
|
|
1551
1564
|
id: '@wowyuarm/dsh-agent-team#agentTeam/removeChannelMember',
|
|
@@ -1570,7 +1583,7 @@ export const TYPERT_REMOTE = {
|
|
|
1570
1583
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveChannelMemberResult',
|
|
1571
1584
|
schema: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema,
|
|
1572
1585
|
},
|
|
1573
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1586
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1030,"column":9},
|
|
1574
1587
|
},
|
|
1575
1588
|
{
|
|
1576
1589
|
id: '@wowyuarm/dsh-agent-team#agentTeam/reply',
|
|
@@ -1595,7 +1608,7 @@ export const TYPERT_REMOTE = {
|
|
|
1595
1608
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamReplyResult',
|
|
1596
1609
|
schema: _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema,
|
|
1597
1610
|
},
|
|
1598
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1611
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1103,"column":9},
|
|
1599
1612
|
},
|
|
1600
1613
|
{
|
|
1601
1614
|
id: '@wowyuarm/dsh-agent-team#agentTeam/resolveTaskRefs',
|
|
@@ -1620,7 +1633,7 @@ export const TYPERT_REMOTE = {
|
|
|
1620
1633
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveTaskRefsResult',
|
|
1621
1634
|
schema: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema,
|
|
1622
1635
|
},
|
|
1623
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1636
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":516,"column":3},
|
|
1624
1637
|
},
|
|
1625
1638
|
{
|
|
1626
1639
|
id: '@wowyuarm/dsh-agent-team#agentTeam/sendMessage',
|
|
@@ -1645,7 +1658,7 @@ export const TYPERT_REMOTE = {
|
|
|
1645
1658
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSendMessageResult',
|
|
1646
1659
|
schema: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema,
|
|
1647
1660
|
},
|
|
1648
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1661
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1039,"column":9},
|
|
1649
1662
|
},
|
|
1650
1663
|
{
|
|
1651
1664
|
id: '@wowyuarm/dsh-agent-team#agentTeam/threadHistory',
|
|
@@ -1670,7 +1683,7 @@ export const TYPERT_REMOTE = {
|
|
|
1670
1683
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadHistory',
|
|
1671
1684
|
schema: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema,
|
|
1672
1685
|
},
|
|
1673
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1686
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1141,"column":3},
|
|
1674
1687
|
},
|
|
1675
1688
|
{
|
|
1676
1689
|
id: '@wowyuarm/dsh-agent-team#agentTeam/threadObservations',
|
|
@@ -1695,7 +1708,7 @@ export const TYPERT_REMOTE = {
|
|
|
1695
1708
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadObservations',
|
|
1696
1709
|
schema: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema,
|
|
1697
1710
|
},
|
|
1698
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1711
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1134,"column":3},
|
|
1699
1712
|
},
|
|
1700
1713
|
{
|
|
1701
1714
|
id: '@wowyuarm/dsh-agent-team#agentTeam/updateChannel',
|
|
@@ -1720,7 +1733,7 @@ export const TYPERT_REMOTE = {
|
|
|
1720
1733
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamUpdateChannelResult',
|
|
1721
1734
|
schema: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema,
|
|
1722
1735
|
},
|
|
1723
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1736
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":591,"column":9},
|
|
1724
1737
|
},
|
|
1725
1738
|
{
|
|
1726
1739
|
id: '@wowyuarm/dsh-agent-team#agentTeam/updateMember',
|
|
@@ -1745,7 +1758,7 @@ export const TYPERT_REMOTE = {
|
|
|
1745
1758
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamMemberResult',
|
|
1746
1759
|
schema: _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema,
|
|
1747
1760
|
},
|
|
1748
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1761
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":927,"column":9},
|
|
1749
1762
|
},
|
|
1750
1763
|
{
|
|
1751
1764
|
id: '@wowyuarm/dsh-agent-team#agentTeam/view',
|
|
@@ -1770,7 +1783,7 @@ export const TYPERT_REMOTE = {
|
|
|
1770
1783
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamView',
|
|
1771
1784
|
schema: _wowyuarm_dsh_agent_team_agentTeam_view_result$schema,
|
|
1772
1785
|
},
|
|
1773
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1786
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1148,"column":3},
|
|
1774
1787
|
},
|
|
1775
1788
|
],
|
|
1776
1789
|
}
|
|
@@ -15,7 +15,7 @@ export declare function attachmentsRoot(): string;
|
|
|
15
15
|
/** Absolute payload path of one stored attachment, as offered to Member agents. */
|
|
16
16
|
export declare function attachmentPayloadPath(attachmentId: AgentTeamAttachmentId, name: string): string;
|
|
17
17
|
export declare function newAttachmentId(): AgentTeamAttachmentId;
|
|
18
|
-
/** Strip path separators, control characters, and leading dots from one client-supplied name. */
|
|
18
|
+
/** Strip path separators, control characters, Windows-illegal characters, reserved device names, and leading dots from one client-supplied name. */
|
|
19
19
|
export declare function sanitizeFileName(raw: string): string;
|
|
20
20
|
/** Best-effort media type from one path's extension, so images render as thumbnails. */
|
|
21
21
|
export declare function mediaTypeForPath(raw: string): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attachments.d.ts","sourceRoot":"","sources":["../../src/attachments.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,q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,IAAI,CAAC,CAEvG;AAED,gFAAgF;AAChF,MAAM,MAAM,qBAAqB,GAAG,WAAW,CAAC,qBAAqB,CAAC,CAAA;AAEtE;;;;GAIG;AACH,wBAAsB,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,qBAAqB,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,qBAAqB,EAAE,CAAC,CAWlJ;AAED,+GAA+G;AAC/G,wBAAgB,iBAAiB,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAGlE"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Context-management coordinator: the one deep module that turns a Member's
|
|
3
|
+
* successful `context_rollover` tool result into its next private context
|
|
4
|
+
* generation.
|
|
5
|
+
*
|
|
6
|
+
* Authority split (see docs/architecture.md):
|
|
7
|
+
* - the Team ledger owns the Member→Session binding and rollover audit;
|
|
8
|
+
* - the Session log projection owns intent, checkpoints, and delivery state;
|
|
9
|
+
* - this coordinator owns only process locks and is always reconstructible.
|
|
10
|
+
*
|
|
11
|
+
* The coordinator reacts exclusively after the successful `tool/result` is
|
|
12
|
+
* durably appended — never inside a tool body — so a render/finalize failure
|
|
13
|
+
* can never outrun result durability. The actual swap waits for the
|
|
14
|
+
* containing turn to end and the Agent to be idle, captures later input so no
|
|
15
|
+
* old-generation model request opens, and then reuses the Member lifecycle:
|
|
16
|
+
* commit rollover operation → dispose old Agent → archive old Session →
|
|
17
|
+
* create/activate the new generation → deliver the handoff first.
|
|
18
|
+
* @module @wowyuarm/dsh-agent-team/context-management
|
|
19
|
+
*/
|
|
20
|
+
import type { Agent } from '@deepseek-ai/dsh-agent';
|
|
21
|
+
import type { SessionEvent, SessionId } from '@deepseek-ai/dsh-session';
|
|
22
|
+
import type { UserMessage } from '@deepseek-ai/dsh-llm';
|
|
23
|
+
import { foldContextProjection, type AgentTeamContextProjectionState } from './context-projection.ts';
|
|
24
|
+
import type { AgentTeamAgentMember, AgentTeamMemberId, AgentTeamRolloverSessionRequest } from './types.ts';
|
|
25
|
+
/** Stable summary of the one-shot rollover pressure notice (ticket 03 wires delivery). */
|
|
26
|
+
export declare const CONTEXT_PRESSURE_NOTICE_SUMMARY = "Context pressure: prepare a handoff";
|
|
27
|
+
export interface ContextManagementCoordinatorOptions {
|
|
28
|
+
/** Resolve the live Agent of one Member; undefined leaves intent parked. */
|
|
29
|
+
readonly agentForMember: (memberId: AgentTeamMemberId) => Agent | undefined;
|
|
30
|
+
/** Resolve the durable Member of one live Agent. */
|
|
31
|
+
readonly memberForAgent: (agent: Agent) => AgentTeamAgentMember | undefined;
|
|
32
|
+
/** Fold one Member Session's projection state from its durable events. */
|
|
33
|
+
readonly projectionForMember: (memberId: AgentTeamMemberId, sessionId: SessionId) => AgentTeamContextProjectionState | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Execute one prepared Member generation swap at a true idle boundary:
|
|
36
|
+
* commit, dispose, archive, create/activate, deliver the handoff first,
|
|
37
|
+
* then carried input and the rederived Inbox. Returns once the Member runs
|
|
38
|
+
* its new generation.
|
|
39
|
+
*/
|
|
40
|
+
readonly executeTransition: (memberId: AgentTeamMemberId, plan: TransitionPlan) => Promise<void>;
|
|
41
|
+
/** Log one coordinator diagnostic. */
|
|
42
|
+
readonly log: (message: string) => void;
|
|
43
|
+
}
|
|
44
|
+
/** Everything the lifecycle needs to perform one rollover. */
|
|
45
|
+
export interface TransitionPlan {
|
|
46
|
+
readonly previousSessionId: SessionId;
|
|
47
|
+
readonly newSessionId: SessionId;
|
|
48
|
+
readonly handoff: string;
|
|
49
|
+
readonly handoffEventSeq: number;
|
|
50
|
+
readonly trigger: 'model' | 'pressure';
|
|
51
|
+
readonly relatedFiles: readonly {
|
|
52
|
+
readonly path: string;
|
|
53
|
+
readonly reason: string;
|
|
54
|
+
}[];
|
|
55
|
+
readonly checkpointRef?: string | undefined;
|
|
56
|
+
readonly requestId: AgentTeamRolloverSessionRequest['requestId'];
|
|
57
|
+
/** Non-Team input that arrived during the transition, delivered after the handoff. */
|
|
58
|
+
readonly carriedInput: readonly UserMessage[];
|
|
59
|
+
}
|
|
60
|
+
export declare class ContextManagementCoordinator {
|
|
61
|
+
private readonly options;
|
|
62
|
+
private readonly members;
|
|
63
|
+
private readonly capturedInput;
|
|
64
|
+
/** Per-member latch for the in-process scheduling→delivery window. */
|
|
65
|
+
private readonly scheduledContinuations;
|
|
66
|
+
private disposed;
|
|
67
|
+
constructor(options: ContextManagementCoordinatorOptions);
|
|
68
|
+
/** Whether one Member has a pending or in-flight rollover; tools use this to reject. */
|
|
69
|
+
isTransitioning(memberId: AgentTeamMemberId): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Root `session/event` observer for Member Sessions. The store's dispatch
|
|
72
|
+
* carrier is untagged, so the Host maps session ids to Members and calls
|
|
73
|
+
* this for every Member event. All reactions are gated on the projection
|
|
74
|
+
* state, which itself only records successful durable pairs.
|
|
75
|
+
*/
|
|
76
|
+
onSessionEvent(memberId: AgentTeamMemberId, agent: Agent, event: SessionEvent): void;
|
|
77
|
+
/** Build the first handoff message of one generation; the lifecycle delivers it. */
|
|
78
|
+
handoffMessageFor(plan: TransitionPlan): UserMessage;
|
|
79
|
+
/**
|
|
80
|
+
* Whether one Agent's pending transition requires the admission gate: a
|
|
81
|
+
* pending rollover must stop old-generation turns from admitting queued
|
|
82
|
+
* input. The gate arms only for the old-generation Agent instance — the
|
|
83
|
+
* new generation activates mid-swap and must be free to consume the
|
|
84
|
+
* handoff and carried input immediately.
|
|
85
|
+
*/
|
|
86
|
+
needsAdmissionGate(agent: Agent): boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Capture the inbox messages queued for an old generation at its turn-stop
|
|
89
|
+
* boundary: non-Team input is preserved verbatim for delivery after the
|
|
90
|
+
* handoff; stale Team notices are dropped because the new generation
|
|
91
|
+
* rederives the Inbox from ledger facts. Removing them from the inbox lets
|
|
92
|
+
* the turn close cleanly instead of admitting another old-generation step.
|
|
93
|
+
*/
|
|
94
|
+
captureQueuedInput(agent: Agent): readonly UserMessage[];
|
|
95
|
+
/**
|
|
96
|
+
* Capture messages a racing pre-step already claimed from the inbox before
|
|
97
|
+
* rejecting that old-generation step. A rejected step's claimed message is
|
|
98
|
+
* otherwise neither discarded nor re-emitted, so the gate preserves it here.
|
|
99
|
+
*/
|
|
100
|
+
captureClaimedInput(agent: Agent, messages: readonly UserMessage[]): readonly UserMessage[];
|
|
101
|
+
private captureInput;
|
|
102
|
+
/** Drain the captured input of one Member for delivery after the handoff. */
|
|
103
|
+
drainCapturedInput(memberId: AgentTeamMemberId): readonly UserMessage[];
|
|
104
|
+
/** Whether one queued message is a Team-owned notice the rederived Inbox replaces. */
|
|
105
|
+
private isTeamNotice;
|
|
106
|
+
/** Drop one Member's bookkeeping; the Host calls this on dispose/removal. */
|
|
107
|
+
stopTracking(memberId: AgentTeamMemberId): void;
|
|
108
|
+
dispose(): void;
|
|
109
|
+
private onToolResult;
|
|
110
|
+
private onUserMessage;
|
|
111
|
+
private onTurnEnd;
|
|
112
|
+
/**
|
|
113
|
+
* Quiet follow-ups for checkpoints resolved by the turn that just ended.
|
|
114
|
+
* A successful `context_checkpoint` result concludes its turn; the Host
|
|
115
|
+
* continues work in the next turn with one host-generated notice. The
|
|
116
|
+
* projection folds delivery (the continuation user/message event), so a
|
|
117
|
+
* restart repairs a missing follow-up through repairContinuations without
|
|
118
|
+
* duplicating a delivered one; this live path latches per checkpoint in
|
|
119
|
+
* memory for the scheduling window.
|
|
120
|
+
*/
|
|
121
|
+
private scheduleCheckpointContinuations;
|
|
122
|
+
private performTransition;
|
|
123
|
+
/**
|
|
124
|
+
* Crash-recovery hook the Host runs during Member activation: re-derive
|
|
125
|
+
* pending intent from the projection and finish a transition that a restart
|
|
126
|
+
* interrupted after the successful result was durable.
|
|
127
|
+
*/
|
|
128
|
+
recoverPendingTransition(memberId: AgentTeamMemberId, agent: Agent, sessionId: SessionId): void;
|
|
129
|
+
/**
|
|
130
|
+
* Crash-recovery for quiet continuations: schedule the follow-up for one
|
|
131
|
+
* resolved checkpoint exactly once when the result was durable but the
|
|
132
|
+
* delivery never landed. The projection's continuations state is the
|
|
133
|
+
* durable delivery record — a checkpoint whose delivery event exists in the
|
|
134
|
+
* log is never re-scheduled.
|
|
135
|
+
*/
|
|
136
|
+
repairContinuations(agent: Agent, state: AgentTeamContextProjectionState): void;
|
|
137
|
+
}
|
|
138
|
+
/** Tool names this module owns; the preset validation requires all of them. */
|
|
139
|
+
export declare const CONTEXT_TOOL_NAMES: readonly ["context_checkpoint", "context_rollover", "context_timeline"];
|
|
140
|
+
/** Re-exported for Host wiring: cold-fold helper for archived ancestors. */
|
|
141
|
+
export { foldContextProjection };
|
|
142
|
+
//# sourceMappingURL=context-management.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-management.d.ts","sourceRoot":"","sources":["../../src/context-management.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AAEvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAGvD,OAAO,EAIL,qBAAqB,EACrB,KAAK,+BAA+B,EACrC,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,+BAA+B,EAAE,MAAM,YAAY,CAAA;AAK1G,0FAA0F;AAC1F,eAAO,MAAM,+BAA+B,wCAAwC,CAAA;AAqBpF,MAAM,WAAW,mCAAmC;IAClD,4EAA4E;IAC5E,QAAQ,CAAC,cAAc,EAAE,CAAC,QAAQ,EAAE,iBAAiB,KAAK,KAAK,GAAG,SAAS,CAAA;IAC3E,oDAAoD;IACpD,QAAQ,CAAC,cAAc,EAAE,CAAC,KAAK,EAA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