@wowyuarm/dsh-agent-team 0.1.15 → 0.2.1
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 -4
- package/README.zh.md +8 -4
- package/cordis.patch.yml +26 -12
- package/package.json +52 -47
- package/packages/agent-team/lib/attachments.js +63 -4
- package/packages/agent-team/lib/compaction-engine.js +18 -0
- package/packages/agent-team/lib/context-continuity-host.js +198 -4
- package/packages/agent-team/lib/context-judge.js +150 -0
- package/packages/agent-team/lib/context-source.js +11 -6
- package/packages/agent-team/lib/environment-check.js +102 -0
- package/packages/agent-team/lib/human-profile.js +23 -37
- package/packages/agent-team/lib/index.js +510 -99
- package/packages/agent-team/lib/installed-manifest.js +32 -0
- package/packages/agent-team/lib/invariant.js +36 -12
- package/packages/agent-team/lib/ledger.js +37 -1
- package/packages/agent-team/lib/member-context.js +2 -4
- package/packages/agent-team/lib/member-runtime.js +2 -1
- package/packages/agent-team/lib/member-time-context.js +2 -4
- package/packages/agent-team/lib/recovery.js +53 -4
- package/packages/agent-team/lib/typert.host.js +225 -54
- package/packages/agent-team/lib/typert.remote-client.d.ts +5 -1
- package/packages/agent-team/lib/typert.remote-client.d.ts.map +1 -1
- package/packages/agent-team/lib/typert.remote-client.js +127 -39
- package/packages/agent-team/lib/types/attachments.d.ts +32 -2
- package/packages/agent-team/lib/types/attachments.d.ts.map +1 -1
- package/packages/agent-team/lib/types/compaction-engine.d.ts +19 -0
- package/packages/agent-team/lib/types/compaction-engine.d.ts.map +1 -0
- package/packages/agent-team/lib/types/context-continuity-host.d.ts +131 -4
- package/packages/agent-team/lib/types/context-continuity-host.d.ts.map +1 -1
- package/packages/agent-team/lib/types/context-judge.d.ts +82 -0
- package/packages/agent-team/lib/types/context-judge.d.ts.map +1 -0
- package/packages/agent-team/lib/types/context-source.d.ts +7 -4
- package/packages/agent-team/lib/types/context-source.d.ts.map +1 -1
- package/packages/agent-team/lib/types/environment-check.d.ts +66 -0
- package/packages/agent-team/lib/types/environment-check.d.ts.map +1 -0
- package/packages/agent-team/lib/types/human-profile.d.ts +21 -27
- package/packages/agent-team/lib/types/human-profile.d.ts.map +1 -1
- package/packages/agent-team/lib/types/index.d.ts +281 -18
- package/packages/agent-team/lib/types/index.d.ts.map +1 -1
- package/packages/agent-team/lib/types/installed-manifest.d.ts +16 -0
- package/packages/agent-team/lib/types/installed-manifest.d.ts.map +1 -0
- package/packages/agent-team/lib/types/invariant.d.ts +27 -5
- package/packages/agent-team/lib/types/invariant.d.ts.map +1 -1
- package/packages/agent-team/lib/types/ledger.d.ts +12 -0
- 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 +1 -1
- package/packages/agent-team/lib/types/member-runtime.d.ts.map +1 -1
- package/packages/agent-team/lib/types/member-time-context.d.ts.map +1 -1
- package/packages/agent-team/lib/types/recovery.d.ts +19 -6
- package/packages/agent-team/lib/types/recovery.d.ts.map +1 -1
- package/packages/agent-team/lib/types/types/entities.d.ts +1 -8
- package/packages/agent-team/lib/types/types/entities.d.ts.map +1 -1
- package/packages/agent-team/lib/types/types/requests-results.d.ts +94 -2
- package/packages/agent-team/lib/types/types/requests-results.d.ts.map +1 -1
- package/packages/agent-team/lib/types/types.d.ts +9 -0
- package/packages/agent-team/lib/types/types.d.ts.map +1 -1
- package/packages/client-agent-team/lib/client.js +1264 -383
- package/packages/client-agent-team/lib/client.js.map +1 -1
- package/packages/client-agent-team/lib/types/client/EnvironmentCheck.d.ts +18 -0
- package/packages/client-agent-team/lib/types/client/EnvironmentCheck.d.ts.map +1 -0
- package/packages/client-agent-team/lib/types/client/EnvironmentCheck.js +58 -0
- package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.js +0 -5
- package/packages/client-agent-team/lib/types/client/TeamPresenceDot.d.ts +1 -1
- package/packages/client-agent-team/lib/types/client/TeamPresenceDot.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamPresenceDot.js +2 -7
- package/packages/client-agent-team/lib/types/client/TeamSettingsSection.d.ts +26 -0
- package/packages/client-agent-team/lib/types/client/TeamSettingsSection.d.ts.map +1 -0
- package/packages/client-agent-team/lib/types/client/TeamSettingsSection.js +195 -0
- package/packages/client-agent-team/lib/types/client/attachment-preview.d.ts +7 -11
- package/packages/client-agent-team/lib/types/client/attachment-preview.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/attachment-preview.js +13 -3
- package/packages/client-agent-team/lib/types/client/context-judge.d.ts +64 -0
- package/packages/client-agent-team/lib/types/client/context-judge.d.ts.map +1 -0
- package/packages/client-agent-team/lib/types/client/context-judge.js +78 -0
- package/packages/client-agent-team/lib/types/client/environment-check.d.ts +65 -0
- package/packages/client-agent-team/lib/types/client/environment-check.d.ts.map +1 -0
- package/packages/client-agent-team/lib/types/client/environment-check.js +78 -0
- package/packages/client-agent-team/lib/types/client/index.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/index.js +84 -11
- package/packages/client-agent-team/lib/types/client/judge-form.d.ts +99 -0
- package/packages/client-agent-team/lib/types/client/judge-form.d.ts.map +1 -0
- package/packages/client-agent-team/lib/types/client/judge-form.js +208 -0
- package/packages/client-agent-team/lib/types/client/locales.d.ts +70 -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 +76 -14
- package/packages/tool-agent-team/README.md +6 -3
- package/packages/tool-agent-team/README.zh.md +6 -3
- package/packages/tool-agent-team/lib/context-tools.js +148 -164
- package/packages/tool-agent-team/lib/index.js +17 -2
- package/packages/tool-agent-team/lib/types/context-tools.d.ts +32 -7
- package/packages/tool-agent-team/lib/types/context-tools.d.ts.map +1 -1
- package/packages/tool-agent-team/lib/types/index.d.ts.map +1 -1
- package/packages/agent-team/lib/pressure-policy.js +0 -230
- package/packages/agent-team/lib/types/pressure-policy.d.ts +0 -130
- package/packages/agent-team/lib/types/pressure-policy.d.ts.map +0 -1
- package/packages/client-agent-team/lib/types/client/HumanSettingsSection.d.ts +0 -15
- package/packages/client-agent-team/lib/types/client/HumanSettingsSection.d.ts.map +0 -1
- package/packages/client-agent-team/lib/types/client/HumanSettingsSection.js +0 -115
|
@@ -66,7 +66,6 @@ const _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema = () => (_wowyu
|
|
|
66
66
|
'path': z.string().readonly(),
|
|
67
67
|
}).readonly().optional(),
|
|
68
68
|
'sessionId': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
69
|
-
'remediable': z.boolean().readonly().optional(),
|
|
70
69
|
}).readonly().optional(),
|
|
71
70
|
'capabilityWarnings': z.union([z.undefined(), z.array(z.object({
|
|
72
71
|
'name': z.string().readonly(),
|
|
@@ -322,7 +321,6 @@ const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema = () =
|
|
|
322
321
|
'path': z.string().readonly(),
|
|
323
322
|
}).readonly().optional(),
|
|
324
323
|
'sessionId': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
325
|
-
'remediable': z.boolean().readonly().optional(),
|
|
326
324
|
}).readonly().optional(),
|
|
327
325
|
'capabilityWarnings': z.union([z.undefined(), z.array(z.object({
|
|
328
326
|
'name': z.string().readonly(),
|
|
@@ -330,6 +328,20 @@ const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema = () =
|
|
|
330
328
|
}))]).readonly().optional(),
|
|
331
329
|
}).readonly(),
|
|
332
330
|
}))
|
|
331
|
+
let _wowyuarm_dsh_agent_team_agentTeam_contextJudge_parameter_0$schema$value
|
|
332
|
+
const _wowyuarm_dsh_agent_team_agentTeam_contextJudge_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_contextJudge_parameter_0$schema$value ??= z.object({}))
|
|
333
|
+
let _wowyuarm_dsh_agent_team_agentTeam_contextJudge_result$schema$value
|
|
334
|
+
const _wowyuarm_dsh_agent_team_agentTeam_contextJudge_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_contextJudge_result$schema$value ??= z.object({
|
|
335
|
+
'enabled': z.boolean().readonly(),
|
|
336
|
+
'reason': z.union([z.undefined(), z.literal("unavailable"), z.literal("no-key")]).readonly().optional(),
|
|
337
|
+
'detail': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
338
|
+
'keyEnv': z.string().readonly(),
|
|
339
|
+
'gate': z.object({
|
|
340
|
+
'tokens': z.number().readonly(),
|
|
341
|
+
'idleMs': z.number().readonly(),
|
|
342
|
+
'judgeTimeoutMs': z.number().readonly(),
|
|
343
|
+
}).readonly(),
|
|
344
|
+
}))
|
|
333
345
|
let _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema$value
|
|
334
346
|
const _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema$value ??= z.object({
|
|
335
347
|
'requestId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
@@ -356,6 +368,20 @@ const _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema = () => (_w
|
|
|
356
368
|
}).readonly(),
|
|
357
369
|
'memberIds': z.array(z.intersection(z.string(), z.unknown())).readonly(),
|
|
358
370
|
}))
|
|
371
|
+
let _wowyuarm_dsh_agent_team_agentTeam_environment_parameter_0$schema$value
|
|
372
|
+
const _wowyuarm_dsh_agent_team_agentTeam_environment_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_environment_parameter_0$schema$value ??= z.object({}))
|
|
373
|
+
let _wowyuarm_dsh_agent_team_agentTeam_environment_result$schema$value
|
|
374
|
+
const _wowyuarm_dsh_agent_team_agentTeam_environment_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_environment_result$schema$value ??= z.object({
|
|
375
|
+
'verdict': z.union([z.literal("ok"), z.literal("out-of-range"), z.literal("undetermined")]).readonly(),
|
|
376
|
+
'reason': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
377
|
+
'bundleVersion': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
378
|
+
'dshVersion': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
379
|
+
'certifiedDshVersion': z.union([z.undefined(), z.string()]).readonly().optional(),
|
|
380
|
+
'supportRange': z.union([z.undefined(), z.object({
|
|
381
|
+
'lower': z.string().readonly(),
|
|
382
|
+
'upper': z.string().readonly(),
|
|
383
|
+
})]).readonly().optional(),
|
|
384
|
+
}))
|
|
359
385
|
let _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema$value
|
|
360
386
|
const _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema$value ??= z.object({
|
|
361
387
|
'attachmentId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
@@ -578,7 +604,6 @@ const _wowyuarm_dsh_agent_team_agentTeam_members_result$schema = () => (_wowyuar
|
|
|
578
604
|
'path': z.string().readonly(),
|
|
579
605
|
}).readonly().optional(),
|
|
580
606
|
'sessionId': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
581
|
-
'remediable': z.boolean().readonly().optional(),
|
|
582
607
|
}).readonly().optional(),
|
|
583
608
|
'capabilityWarnings': z.union([z.undefined(), z.array(z.object({
|
|
584
609
|
'name': z.string().readonly(),
|
|
@@ -800,7 +825,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema = () => (_wowy
|
|
|
800
825
|
'taskBoundaryThreshold': z.union([z.undefined(), z.number()]).readonly().optional(),
|
|
801
826
|
'handoffAt': z.union([z.undefined(), z.number()]).readonly().optional(),
|
|
802
827
|
'hardLimit': z.union([z.undefined(), z.number()]).readonly().optional(),
|
|
803
|
-
'action': z.union([z.literal("unavailable"), z.literal("rollover"), z.literal("keep"), z.literal("
|
|
828
|
+
'action': z.union([z.literal("unavailable"), z.literal("rollover"), z.literal("keep"), z.literal("compact-now")]).readonly(),
|
|
804
829
|
'guidance': z.string().readonly(),
|
|
805
830
|
}).readonly().optional(),
|
|
806
831
|
}))
|
|
@@ -846,7 +871,6 @@ const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema = () => (_w
|
|
|
846
871
|
'path': z.string().readonly(),
|
|
847
872
|
}).readonly().optional(),
|
|
848
873
|
'sessionId': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
849
|
-
'remediable': z.boolean().readonly().optional(),
|
|
850
874
|
}).readonly().optional(),
|
|
851
875
|
'capabilityWarnings': z.union([z.undefined(), z.array(z.object({
|
|
852
876
|
'name': z.string().readonly(),
|
|
@@ -1318,7 +1342,6 @@ const _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema = () => (_wo
|
|
|
1318
1342
|
'path': z.string().readonly(),
|
|
1319
1343
|
}).readonly().optional(),
|
|
1320
1344
|
'sessionId': z.intersection(z.string(), z.unknown()).readonly().optional(),
|
|
1321
|
-
'remediable': z.boolean().readonly().optional(),
|
|
1322
1345
|
}).readonly().optional(),
|
|
1323
1346
|
'capabilityWarnings': z.union([z.undefined(), z.array(z.object({
|
|
1324
1347
|
'name': z.string().readonly(),
|
|
@@ -1411,6 +1434,19 @@ const _wowyuarm_dsh_agent_team_agentTeam_view_result$schema = () => (_wowyuarm_d
|
|
|
1411
1434
|
})).readonly(),
|
|
1412
1435
|
'messageCount': z.number().readonly(),
|
|
1413
1436
|
'lastActivityAt': z.string().readonly(),
|
|
1437
|
+
})).readonly(),
|
|
1438
|
+
'activeTaskThreads': z.array(z.object({
|
|
1439
|
+
'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
1440
|
+
'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
1441
|
+
'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
1442
|
+
'taskNumber': z.number().readonly().optional(),
|
|
1443
|
+
'status': z.union([z.literal("done"), z.literal("todo"), z.literal("in_progress"), z.literal("in_review"), z.literal("closed")]).readonly(),
|
|
1444
|
+
'subject': z.string().readonly(),
|
|
1445
|
+
'members': z.array(z.object({
|
|
1446
|
+
'memberId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
1447
|
+
'name': z.string().readonly(),
|
|
1448
|
+
})).readonly(),
|
|
1449
|
+
'lastActivityAt': z.string().readonly(),
|
|
1414
1450
|
})).readonly(),
|
|
1415
1451
|
'claims': z.array(z.object({
|
|
1416
1452
|
'claimRef': z.intersection(z.string(), z.unknown()).readonly(),
|
|
@@ -1481,7 +1517,7 @@ export const TYPERT = {
|
|
|
1481
1517
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamAddMemberResult',
|
|
1482
1518
|
create: _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema,
|
|
1483
1519
|
},
|
|
1484
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1520
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1079,"column":9},
|
|
1485
1521
|
},
|
|
1486
1522
|
{
|
|
1487
1523
|
id: '@wowyuarm/dsh-agent-team#agentTeam/archiveChannel',
|
|
@@ -1506,7 +1542,7 @@ export const TYPERT = {
|
|
|
1506
1542
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveChannelResult',
|
|
1507
1543
|
create: _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema,
|
|
1508
1544
|
},
|
|
1509
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1545
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1069,"column":9},
|
|
1510
1546
|
},
|
|
1511
1547
|
{
|
|
1512
1548
|
id: '@wowyuarm/dsh-agent-team#agentTeam/archiveMember',
|
|
@@ -1531,7 +1567,7 @@ export const TYPERT = {
|
|
|
1531
1567
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveMemberResult',
|
|
1532
1568
|
create: _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema,
|
|
1533
1569
|
},
|
|
1534
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1570
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1586,"column":9},
|
|
1535
1571
|
},
|
|
1536
1572
|
{
|
|
1537
1573
|
id: '@wowyuarm/dsh-agent-team#agentTeam/changeAttention',
|
|
@@ -1556,7 +1592,7 @@ export const TYPERT = {
|
|
|
1556
1592
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadAttentionResult',
|
|
1557
1593
|
create: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema,
|
|
1558
1594
|
},
|
|
1559
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1595
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1876,"column":9},
|
|
1560
1596
|
},
|
|
1561
1597
|
{
|
|
1562
1598
|
id: '@wowyuarm/dsh-agent-team#agentTeam/changes',
|
|
@@ -1583,7 +1619,7 @@ export const TYPERT = {
|
|
|
1583
1619
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamChangesResult',
|
|
1584
1620
|
create: _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema,
|
|
1585
1621
|
},
|
|
1586
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1622
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1002,"column":11},
|
|
1587
1623
|
},
|
|
1588
1624
|
{
|
|
1589
1625
|
id: '@wowyuarm/dsh-agent-team#agentTeam/changeTask',
|
|
@@ -1608,7 +1644,7 @@ export const TYPERT = {
|
|
|
1608
1644
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamTaskResult',
|
|
1609
1645
|
create: _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema,
|
|
1610
1646
|
},
|
|
1611
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1647
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1597,"column":9},
|
|
1612
1648
|
},
|
|
1613
1649
|
{
|
|
1614
1650
|
id: '@wowyuarm/dsh-agent-team#agentTeam/clearMemberContext',
|
|
@@ -1633,7 +1669,33 @@ export const TYPERT = {
|
|
|
1633
1669
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamClearMemberContextResult',
|
|
1634
1670
|
create: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema,
|
|
1635
1671
|
},
|
|
1636
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1672
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1214,"column":9},
|
|
1673
|
+
},
|
|
1674
|
+
{
|
|
1675
|
+
id: '@wowyuarm/dsh-agent-team#agentTeam/contextJudge',
|
|
1676
|
+
service: 'agentTeam',
|
|
1677
|
+
namespace: 'agentTeam',
|
|
1678
|
+
method: 'contextJudge',
|
|
1679
|
+
implementation: 'contextJudgeForClient',
|
|
1680
|
+
invocation: { kind: 'direct' },
|
|
1681
|
+
parameters: [
|
|
1682
|
+
{
|
|
1683
|
+
name: '_request',
|
|
1684
|
+
wire: '_request',
|
|
1685
|
+
source: 'json',
|
|
1686
|
+
codec: {
|
|
1687
|
+
mode: 'strict',
|
|
1688
|
+
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamContextJudgeRequest',
|
|
1689
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_contextJudge_parameter_0$schema,
|
|
1690
|
+
},
|
|
1691
|
+
},
|
|
1692
|
+
],
|
|
1693
|
+
result: {
|
|
1694
|
+
mode: 'strict',
|
|
1695
|
+
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamContextJudgeResult',
|
|
1696
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_contextJudge_result$schema,
|
|
1697
|
+
},
|
|
1698
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1742,"column":3},
|
|
1637
1699
|
},
|
|
1638
1700
|
{
|
|
1639
1701
|
id: '@wowyuarm/dsh-agent-team#agentTeam/createChannel',
|
|
@@ -1658,7 +1720,33 @@ export const TYPERT = {
|
|
|
1658
1720
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamCreateChannelResult',
|
|
1659
1721
|
create: _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema,
|
|
1660
1722
|
},
|
|
1661
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1723
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1042,"column":9},
|
|
1724
|
+
},
|
|
1725
|
+
{
|
|
1726
|
+
id: '@wowyuarm/dsh-agent-team#agentTeam/environment',
|
|
1727
|
+
service: 'agentTeam',
|
|
1728
|
+
namespace: 'agentTeam',
|
|
1729
|
+
method: 'environment',
|
|
1730
|
+
implementation: 'environmentForClient',
|
|
1731
|
+
invocation: { kind: 'direct' },
|
|
1732
|
+
parameters: [
|
|
1733
|
+
{
|
|
1734
|
+
name: '_request',
|
|
1735
|
+
wire: '_request',
|
|
1736
|
+
source: 'json',
|
|
1737
|
+
codec: {
|
|
1738
|
+
mode: 'strict',
|
|
1739
|
+
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamEnvironmentRequest',
|
|
1740
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_environment_parameter_0$schema,
|
|
1741
|
+
},
|
|
1742
|
+
},
|
|
1743
|
+
],
|
|
1744
|
+
result: {
|
|
1745
|
+
mode: 'strict',
|
|
1746
|
+
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamEnvironmentResult',
|
|
1747
|
+
create: _wowyuarm_dsh_agent_team_agentTeam_environment_result$schema,
|
|
1748
|
+
},
|
|
1749
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1783,"column":3},
|
|
1662
1750
|
},
|
|
1663
1751
|
{
|
|
1664
1752
|
id: '@wowyuarm/dsh-agent-team#agentTeam/getAttachment',
|
|
@@ -1683,7 +1771,7 @@ export const TYPERT = {
|
|
|
1683
1771
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetAttachmentResult',
|
|
1684
1772
|
create: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema,
|
|
1685
1773
|
},
|
|
1686
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1774
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1724,"column":9},
|
|
1687
1775
|
},
|
|
1688
1776
|
{
|
|
1689
1777
|
id: '@wowyuarm/dsh-agent-team#agentTeam/getHumanAvatar',
|
|
@@ -1708,7 +1796,7 @@ export const TYPERT = {
|
|
|
1708
1796
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetHumanAvatarResult',
|
|
1709
1797
|
create: _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_result$schema,
|
|
1710
1798
|
},
|
|
1711
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1799
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1816,"column":9},
|
|
1712
1800
|
},
|
|
1713
1801
|
{
|
|
1714
1802
|
id: '@wowyuarm/dsh-agent-team#agentTeam/humanProfile',
|
|
@@ -1734,7 +1822,7 @@ export const TYPERT = {
|
|
|
1734
1822
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamHumanProfileResult',
|
|
1735
1823
|
create: _wowyuarm_dsh_agent_team_agentTeam_humanProfile_result$schema,
|
|
1736
1824
|
},
|
|
1737
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1825
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1788,"column":3},
|
|
1738
1826
|
},
|
|
1739
1827
|
{
|
|
1740
1828
|
id: '@wowyuarm/dsh-agent-team#agentTeam/inbox',
|
|
@@ -1759,7 +1847,7 @@ export const TYPERT = {
|
|
|
1759
1847
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamInbox',
|
|
1760
1848
|
create: _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema,
|
|
1761
1849
|
},
|
|
1762
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1850
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1885,"column":3},
|
|
1763
1851
|
},
|
|
1764
1852
|
{
|
|
1765
1853
|
id: '@wowyuarm/dsh-agent-team#agentTeam/joinChannel',
|
|
@@ -1784,7 +1872,7 @@ export const TYPERT = {
|
|
|
1784
1872
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinChannelResult',
|
|
1785
1873
|
create: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema,
|
|
1786
1874
|
},
|
|
1787
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1875
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1617,"column":9},
|
|
1788
1876
|
},
|
|
1789
1877
|
{
|
|
1790
1878
|
id: '@wowyuarm/dsh-agent-team#agentTeam/joinWorkspace',
|
|
@@ -1809,7 +1897,7 @@ export const TYPERT = {
|
|
|
1809
1897
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinWorkspaceResult',
|
|
1810
1898
|
create: _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema,
|
|
1811
1899
|
},
|
|
1812
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1900
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1637,"column":9},
|
|
1813
1901
|
},
|
|
1814
1902
|
{
|
|
1815
1903
|
id: '@wowyuarm/dsh-agent-team#agentTeam/leaveWorkspace',
|
|
@@ -1834,7 +1922,7 @@ export const TYPERT = {
|
|
|
1834
1922
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamLeaveWorkspaceResult',
|
|
1835
1923
|
create: _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema,
|
|
1836
1924
|
},
|
|
1837
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1925
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1646,"column":9},
|
|
1838
1926
|
},
|
|
1839
1927
|
{
|
|
1840
1928
|
id: '@wowyuarm/dsh-agent-team#agentTeam/members',
|
|
@@ -1860,7 +1948,7 @@ export const TYPERT = {
|
|
|
1860
1948
|
typeSymbol: '@wowyuarm/dsh-agent-team#agentTeam/members:result',
|
|
1861
1949
|
create: _wowyuarm_dsh_agent_team_agentTeam_members_result$schema,
|
|
1862
1950
|
},
|
|
1863
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1951
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":992,"column":3},
|
|
1864
1952
|
},
|
|
1865
1953
|
{
|
|
1866
1954
|
id: '@wowyuarm/dsh-agent-team#agentTeam/promoteThread',
|
|
@@ -1885,7 +1973,7 @@ export const TYPERT = {
|
|
|
1885
1973
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPromoteThreadResult',
|
|
1886
1974
|
create: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema,
|
|
1887
1975
|
},
|
|
1888
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1976
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1607,"column":9},
|
|
1889
1977
|
},
|
|
1890
1978
|
{
|
|
1891
1979
|
id: '@wowyuarm/dsh-agent-team#agentTeam/putAttachment',
|
|
@@ -1910,7 +1998,7 @@ export const TYPERT = {
|
|
|
1910
1998
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutAttachmentResult',
|
|
1911
1999
|
create: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema,
|
|
1912
2000
|
},
|
|
1913
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2001
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1707,"column":9},
|
|
1914
2002
|
},
|
|
1915
2003
|
{
|
|
1916
2004
|
id: '@wowyuarm/dsh-agent-team#agentTeam/putHumanAvatar',
|
|
@@ -1935,7 +2023,7 @@ export const TYPERT = {
|
|
|
1935
2023
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutHumanAvatarResult',
|
|
1936
2024
|
create: _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_result$schema,
|
|
1937
2025
|
},
|
|
1938
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2026
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1808,"column":9},
|
|
1939
2027
|
},
|
|
1940
2028
|
{
|
|
1941
2029
|
id: '@wowyuarm/dsh-agent-team#agentTeam/readThread',
|
|
@@ -1960,7 +2048,7 @@ export const TYPERT = {
|
|
|
1960
2048
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadReadResult',
|
|
1961
2049
|
create: _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema,
|
|
1962
2050
|
},
|
|
1963
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2051
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1892,"column":9},
|
|
1964
2052
|
},
|
|
1965
2053
|
{
|
|
1966
2054
|
id: '@wowyuarm/dsh-agent-team#agentTeam/recoverMember',
|
|
@@ -1985,7 +2073,7 @@ export const TYPERT = {
|
|
|
1985
2073
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRecoverMemberResult',
|
|
1986
2074
|
create: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema,
|
|
1987
2075
|
},
|
|
1988
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2076
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1144,"column":9},
|
|
1989
2077
|
},
|
|
1990
2078
|
{
|
|
1991
2079
|
id: '@wowyuarm/dsh-agent-team#agentTeam/removeChannelMember',
|
|
@@ -2010,7 +2098,7 @@ export const TYPERT = {
|
|
|
2010
2098
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveChannelMemberResult',
|
|
2011
2099
|
create: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema,
|
|
2012
2100
|
},
|
|
2013
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2101
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1628,"column":9},
|
|
2014
2102
|
},
|
|
2015
2103
|
{
|
|
2016
2104
|
id: '@wowyuarm/dsh-agent-team#agentTeam/removeHumanAvatar',
|
|
@@ -2035,7 +2123,7 @@ export const TYPERT = {
|
|
|
2035
2123
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveHumanAvatarResult',
|
|
2036
2124
|
create: _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_result$schema,
|
|
2037
2125
|
},
|
|
2038
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2126
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1824,"column":9},
|
|
2039
2127
|
},
|
|
2040
2128
|
{
|
|
2041
2129
|
id: '@wowyuarm/dsh-agent-team#agentTeam/reply',
|
|
@@ -2060,7 +2148,7 @@ export const TYPERT = {
|
|
|
2060
2148
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamReplyResult',
|
|
2061
2149
|
create: _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema,
|
|
2062
2150
|
},
|
|
2063
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2151
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1870,"column":9},
|
|
2064
2152
|
},
|
|
2065
2153
|
{
|
|
2066
2154
|
id: '@wowyuarm/dsh-agent-team#agentTeam/resolveTaskRefs',
|
|
@@ -2085,7 +2173,7 @@ export const TYPERT = {
|
|
|
2085
2173
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveTaskRefsResult',
|
|
2086
2174
|
create: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema,
|
|
2087
2175
|
},
|
|
2088
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2176
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":966,"column":3},
|
|
2089
2177
|
},
|
|
2090
2178
|
{
|
|
2091
2179
|
id: '@wowyuarm/dsh-agent-team#agentTeam/resolveThreadRefs',
|
|
@@ -2110,7 +2198,7 @@ export const TYPERT = {
|
|
|
2110
2198
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveThreadRefsResult',
|
|
2111
2199
|
create: _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema,
|
|
2112
2200
|
},
|
|
2113
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2201
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":979,"column":3},
|
|
2114
2202
|
},
|
|
2115
2203
|
{
|
|
2116
2204
|
id: '@wowyuarm/dsh-agent-team#agentTeam/sendMessage',
|
|
@@ -2135,7 +2223,7 @@ export const TYPERT = {
|
|
|
2135
2223
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSendMessageResult',
|
|
2136
2224
|
create: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema,
|
|
2137
2225
|
},
|
|
2138
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2226
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1655,"column":9},
|
|
2139
2227
|
},
|
|
2140
2228
|
{
|
|
2141
2229
|
id: '@wowyuarm/dsh-agent-team#agentTeam/setHumanProfile',
|
|
@@ -2160,7 +2248,7 @@ export const TYPERT = {
|
|
|
2160
2248
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSetHumanProfileResult',
|
|
2161
2249
|
create: _wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_result$schema,
|
|
2162
2250
|
},
|
|
2163
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2251
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1846,"column":9},
|
|
2164
2252
|
},
|
|
2165
2253
|
{
|
|
2166
2254
|
id: '@wowyuarm/dsh-agent-team#agentTeam/threadHistory',
|
|
@@ -2185,7 +2273,7 @@ export const TYPERT = {
|
|
|
2185
2273
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadHistory',
|
|
2186
2274
|
create: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema,
|
|
2187
2275
|
},
|
|
2188
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2276
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1910,"column":3},
|
|
2189
2277
|
},
|
|
2190
2278
|
{
|
|
2191
2279
|
id: '@wowyuarm/dsh-agent-team#agentTeam/threadObservations',
|
|
@@ -2210,7 +2298,7 @@ export const TYPERT = {
|
|
|
2210
2298
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadObservations',
|
|
2211
2299
|
create: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema,
|
|
2212
2300
|
},
|
|
2213
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2301
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1903,"column":3},
|
|
2214
2302
|
},
|
|
2215
2303
|
{
|
|
2216
2304
|
id: '@wowyuarm/dsh-agent-team#agentTeam/updateChannel',
|
|
@@ -2235,7 +2323,7 @@ export const TYPERT = {
|
|
|
2235
2323
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamUpdateChannelResult',
|
|
2236
2324
|
create: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema,
|
|
2237
2325
|
},
|
|
2238
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2326
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1054,"column":9},
|
|
2239
2327
|
},
|
|
2240
2328
|
{
|
|
2241
2329
|
id: '@wowyuarm/dsh-agent-team#agentTeam/updateMember',
|
|
@@ -2260,7 +2348,7 @@ export const TYPERT = {
|
|
|
2260
2348
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamMemberResult',
|
|
2261
2349
|
create: _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema,
|
|
2262
2350
|
},
|
|
2263
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2351
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1527,"column":9},
|
|
2264
2352
|
},
|
|
2265
2353
|
{
|
|
2266
2354
|
id: '@wowyuarm/dsh-agent-team#agentTeam/view',
|
|
@@ -2285,7 +2373,7 @@ export const TYPERT = {
|
|
|
2285
2373
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamView',
|
|
2286
2374
|
create: _wowyuarm_dsh_agent_team_agentTeam_view_result$schema,
|
|
2287
2375
|
},
|
|
2288
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2376
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1917,"column":3},
|
|
2289
2377
|
},
|
|
2290
2378
|
],
|
|
2291
2379
|
model: {
|
|
@@ -2391,8 +2479,8 @@ export const TYPERT = {
|
|
|
2391
2479
|
"kind": "method",
|
|
2392
2480
|
"name": "suspendMember",
|
|
2393
2481
|
"signature": "async suspendMember(request: AgentTeamSetMemberStateRequest): Promise<AgentTeamMemberResult>",
|
|
2394
|
-
"summary": "Commit suspended intent, then
|
|
2395
|
-
"jsDoc": "/** Commit suspended intent, then
|
|
2482
|
+
"summary": "Commit suspended intent, then run the suspended row of the effect table: the owned AgentHandle is disposed, the Session stays.",
|
|
2483
|
+
"jsDoc": "/** Commit suspended intent, then run the suspended row of the effect table: the owned AgentHandle is disposed, the Session stays. */"
|
|
2396
2484
|
},
|
|
2397
2485
|
{
|
|
2398
2486
|
"kind": "method",
|
|
@@ -2406,7 +2494,7 @@ export const TYPERT = {
|
|
|
2406
2494
|
"name": "recoverMember",
|
|
2407
2495
|
"signature": "@Remote('recoverMember') async recoverMember(request: AgentTeamRecoverMemberRequest): Promise<AgentTeamRecoverMemberResult>",
|
|
2408
2496
|
"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.",
|
|
2409
|
-
"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 */"
|
|
2497
|
+
"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. A non-enabled Member\n * still holding a live handle is an interrupted suspend/archive/remove,\n * not a stalled one; recovery finishes that cleanup instead of nudging it.\n */"
|
|
2410
2498
|
},
|
|
2411
2499
|
{
|
|
2412
2500
|
"kind": "method",
|
|
@@ -2490,21 +2578,33 @@ export const TYPERT = {
|
|
|
2490
2578
|
"name": "putAttachment",
|
|
2491
2579
|
"signature": "@Remote('putAttachment') async putAttachment(request: AgentTeamPutAttachmentRequest): Promise<AgentTeamPutAttachmentResult>",
|
|
2492
2580
|
"summary": "Upload one composer attachment into the cache; bytes are immutable once written.",
|
|
2493
|
-
"jsDoc": "
|
|
2581
|
+
"jsDoc": "/**\n * Upload one composer attachment into the cache; bytes are immutable once\n * written. The requestId is the idempotency key: a retried upload derives\n * the same cache id and replays the original result, while reusing that key\n * for a different payload is refused as a request collision.\n */"
|
|
2494
2582
|
},
|
|
2495
2583
|
{
|
|
2496
2584
|
"kind": "method",
|
|
2497
2585
|
"name": "getAttachment",
|
|
2498
2586
|
"signature": "@Remote('getAttachment') async getAttachment(request: AgentTeamGetAttachmentRequest): Promise<AgentTeamGetAttachmentResult>",
|
|
2499
|
-
"summary": "Read one cached attachment back for client display
|
|
2500
|
-
"jsDoc": "
|
|
2587
|
+
"summary": "Read one cached attachment back for client display.",
|
|
2588
|
+
"jsDoc": "/**\n * Read one cached attachment back for client display. A gone entry is the\n * one expected failure on this path, so it carries the stable\n * `team/attachment-not-found` code the Client branches on; anything else\n * (unreadable metadata, filesystem trouble) stays an unknown Host error.\n */"
|
|
2589
|
+
},
|
|
2590
|
+
{
|
|
2591
|
+
"kind": "method",
|
|
2592
|
+
"name": "contextJudgeForClient",
|
|
2593
|
+
"signature": "@Remote('contextJudge') contextJudgeForClient(_request: AgentTeamContextJudgeRequest): AgentTeamContextJudgeResult",
|
|
2594
|
+
"summary": "The long-gap gate's judge, as the Team settings surface states it: whether a judge is reachable, why not when none is, and the thresholds in force.",
|
|
2595
|
+
"jsDoc": "/**\n * The long-gap gate's judge, as the Team settings surface states it: whether\n * a judge is reachable, why not when none is, and the thresholds in force.\n * The judge's own fields (key presence, endpoint, model) ride the settings\n * document this row already publishes, so nothing here restates them; the\n * gate's thresholds are row configuration the settings document deliberately\n * omits, which is why the Host resolves an omitted field here rather than\n * letting a second copy of those numbers exist. Two of the three fall back to\n * the engine's own default; the judge's budget falls back to Team's, because\n * that is the number the gate itself is given.\n */"
|
|
2596
|
+
},
|
|
2597
|
+
{
|
|
2598
|
+
"kind": "method",
|
|
2599
|
+
"name": "environmentForClient",
|
|
2600
|
+
"signature": "@Remote('environment') environmentForClient(_request: AgentTeamEnvironmentRequest): AgentTeamEnvironmentResult",
|
|
2601
|
+
"summary": "Local environment check for the settings page: which DSH line this Host runs against, and whether that line is inside the range this bundle declares.",
|
|
2602
|
+
"jsDoc": "/**\n * Local environment check for the settings page: which DSH line this Host\n * runs against, and whether that line is inside the range this bundle\n * declares. Human-scoped and read-only — the Client renders the verdict and\n * states the range in words, and nothing here is written back.\n *\n * Synchronous like `humanProfile`: both read the installed manifest once and\n * settle immediately, and the verdict comes from the Harness's own\n * compatibility evaluator rather than a second version comparison written\n * here.\n *\n * The wire type and `EnvironmentReport` keep separate top-level field lists on\n * purpose: the contract states every fact as optional because a Transport may\n * withhold any of them, while the report is the stricter thing the checker\n * guarantees. This assignment is where the compiler holds the two together,\n * and a new required contract field fails it here.\n */"
|
|
2501
2603
|
},
|
|
2502
2604
|
{
|
|
2503
2605
|
"kind": "method",
|
|
2504
2606
|
"name": "humanProfileForClient",
|
|
2505
|
-
"signature": "@Remote('humanProfile') humanProfileForClient(_request: AgentTeamHumanProfileRequest): AgentTeamHumanProfileResult"
|
|
2506
|
-
"summary": "Human profile read for the settings page and footnote: name + avatar reference from this Host row's live Config plus version facts.",
|
|
2507
|
-
"jsDoc": "/**\n * Human profile read for the settings page and footnote: name + avatar\n * reference from this Host row's live Config plus version facts. Human-scoped\n * (the Web Client calls it); agent tools never receive avatar bytes, only the\n * name through team_view. The new-release check stays best-effort and cached —\n * `updateAvailable` is false until a background refresh actually observes a\n * newer published release.\n */"
|
|
2607
|
+
"signature": "@Remote('humanProfile') humanProfileForClient(_request: AgentTeamHumanProfileRequest): AgentTeamHumanProfileResult"
|
|
2508
2608
|
},
|
|
2509
2609
|
{
|
|
2510
2610
|
"kind": "method",
|
|
@@ -2671,6 +2771,13 @@ export const TYPERT = {
|
|
|
2671
2771
|
"summary": "Validate the durable ledger for the invariant's mount check.",
|
|
2672
2772
|
"jsDoc": "/**\n * Validate the durable ledger for the invariant's mount check. The\n * constructor already re-derived every durable record against its own\n * scratch projection, so this adopts that conclusion once while nothing has\n * committed since; every other call, and every commit-driven validation,\n * replays the whole table again.\n */"
|
|
2673
2773
|
},
|
|
2774
|
+
{
|
|
2775
|
+
"kind": "method",
|
|
2776
|
+
"name": "compactionForAgent",
|
|
2777
|
+
"signature": "compactionForAgent(agent: Agent): CompactionEngine | undefined",
|
|
2778
|
+
"summary": "The compaction capability in one Member Agent's preset scope, or undefined when its composition mounts none.",
|
|
2779
|
+
"jsDoc": "/**\n * The compaction capability in one Member Agent's preset scope, or undefined\n * when its composition mounts none. Both the pressure policy (the hard limit)\n * and the engine's `context_compact` tool ask through here, so which realm\n * holds the engine is stated once: a preset revision publishes services\n * behind its own isolate, which `agent.ctx.get` cannot see from outside.\n */"
|
|
2780
|
+
},
|
|
2674
2781
|
{
|
|
2675
2782
|
"kind": "method",
|
|
2676
2783
|
"name": "recordCheckpointForAgent",
|
|
@@ -2731,6 +2838,10 @@ export const TYPERT = {
|
|
|
2731
2838
|
"name": "AgentStatus",
|
|
2732
2839
|
"declaration": "export type AgentStatus = 'idle' | 'running';"
|
|
2733
2840
|
},
|
|
2841
|
+
{
|
|
2842
|
+
"name": "AgentTeamActiveTaskThread",
|
|
2843
|
+
"declaration": "export interface AgentTeamActiveTaskThread {\n readonly taskRef: AgentTeamTaskRef;\n readonly threadRef: AgentTeamThreadRef;\n readonly channelRef: AgentTeamChannelRef;\n readonly taskNumber?: number;\n readonly status: AgentTeamTask['status'];\n readonly subject: string;\n readonly members: readonly AgentTeamInboxActor[];\n readonly lastActivityAt: string;\n}"
|
|
2844
|
+
},
|
|
2734
2845
|
{
|
|
2735
2846
|
"name": "AgentTeamActivity",
|
|
2736
2847
|
"declaration": "export type AgentTeamActivity = AgentTeamClaimActivity | AgentTeamTaskActivity | AgentTeamClaimsReleasedActivity;"
|
|
@@ -2873,12 +2984,20 @@ export const TYPERT = {
|
|
|
2873
2984
|
},
|
|
2874
2985
|
{
|
|
2875
2986
|
"name": "AgentTeamContextAdvice",
|
|
2876
|
-
"declaration": "export interface AgentTeamContextAdvice {\n readonly usageTokens?: number | undefined;\n readonly taskBoundaryThreshold?: number | undefined;\n readonly handoffAt?: number | undefined;\n readonly hardLimit?: number | undefined;\n readonly action: 'keep' | 'rollover' | '
|
|
2987
|
+
"declaration": "export interface AgentTeamContextAdvice {\n readonly usageTokens?: number | undefined;\n readonly taskBoundaryThreshold?: number | undefined;\n readonly handoffAt?: number | undefined;\n readonly hardLimit?: number | undefined;\n readonly action: 'keep' | 'rollover' | 'compact-now' | 'unavailable';\n readonly guidance: string;\n}"
|
|
2877
2988
|
},
|
|
2878
2989
|
{
|
|
2879
2990
|
"name": "AgentTeamContextCheckpointRef",
|
|
2880
2991
|
"declaration": "export type AgentTeamContextCheckpointRef = Branded<'AgentTeamContextCheckpointRef'>;"
|
|
2881
2992
|
},
|
|
2993
|
+
{
|
|
2994
|
+
"name": "AgentTeamContextJudgeRequest",
|
|
2995
|
+
"declaration": "export interface AgentTeamContextJudgeRequest {\n}"
|
|
2996
|
+
},
|
|
2997
|
+
{
|
|
2998
|
+
"name": "AgentTeamContextJudgeResult",
|
|
2999
|
+
"declaration": "export interface AgentTeamContextJudgeResult {\n readonly enabled: boolean;\n readonly reason?: 'no-key' | 'unavailable' | undefined;\n readonly detail?: string | undefined;\n readonly keyEnv: string;\n readonly gate: { readonly tokens: number; readonly idleMs: number; readonly judgeTimeoutMs: number; };\n}"
|
|
3000
|
+
},
|
|
2882
3001
|
{
|
|
2883
3002
|
"name": "AgentTeamCreateChannelRequest",
|
|
2884
3003
|
"declaration": "export interface AgentTeamCreateChannelRequest {\n readonly requestId: AgentTeamRequestId;\n readonly workspaceId: WorkspaceId;\n readonly name: string;\n readonly description: string;\n readonly memberIds?: readonly AgentTeamMemberId[];\n}"
|
|
@@ -2903,6 +3022,22 @@ export const TYPERT = {
|
|
|
2903
3022
|
"name": "AgentTeamDurableMemberResult",
|
|
2904
3023
|
"declaration": "export interface AgentTeamDurableMemberResult {\n readonly receipt: AgentTeamOperationReceipt;\n readonly member: AgentTeamAgentMember;\n}"
|
|
2905
3024
|
},
|
|
3025
|
+
{
|
|
3026
|
+
"name": "AgentTeamEnvironmentRequest",
|
|
3027
|
+
"declaration": "export interface AgentTeamEnvironmentRequest {\n}"
|
|
3028
|
+
},
|
|
3029
|
+
{
|
|
3030
|
+
"name": "AgentTeamEnvironmentResult",
|
|
3031
|
+
"declaration": "export interface AgentTeamEnvironmentResult {\n readonly verdict: AgentTeamEnvironmentVerdict;\n readonly reason?: string | undefined;\n readonly bundleVersion?: string | undefined;\n readonly dshVersion?: string | undefined;\n readonly certifiedDshVersion?: string | undefined;\n readonly supportRange?: AgentTeamEnvironmentSupportRange | undefined;\n}"
|
|
3032
|
+
},
|
|
3033
|
+
{
|
|
3034
|
+
"name": "AgentTeamEnvironmentSupportRange",
|
|
3035
|
+
"declaration": "export interface AgentTeamEnvironmentSupportRange {\n readonly lower: string;\n readonly upper: string;\n}"
|
|
3036
|
+
},
|
|
3037
|
+
{
|
|
3038
|
+
"name": "AgentTeamEnvironmentVerdict",
|
|
3039
|
+
"declaration": "export type AgentTeamEnvironmentVerdict = 'ok' | 'out-of-range' | 'undetermined';"
|
|
3040
|
+
},
|
|
2906
3041
|
{
|
|
2907
3042
|
"name": "AgentTeamGetAttachmentRequest",
|
|
2908
3043
|
"declaration": "export interface AgentTeamGetAttachmentRequest {\n readonly attachmentId: AgentTeamAttachmentId;\n}"
|
|
@@ -2973,7 +3108,7 @@ export const TYPERT = {
|
|
|
2973
3108
|
},
|
|
2974
3109
|
{
|
|
2975
3110
|
"name": "AgentTeamMemberDiagnostic",
|
|
2976
|
-
"declaration": "export interface AgentTeamMemberDiagnostic {\n readonly class: AgentTeamMemberDiagnosticClass;\n readonly detail: string;\n readonly location?: { readonly kind: string; readonly path: string; };\n readonly sessionId?: SessionId;\n
|
|
3111
|
+
"declaration": "export interface AgentTeamMemberDiagnostic {\n readonly class: AgentTeamMemberDiagnosticClass;\n readonly detail: string;\n readonly location?: { readonly kind: string; readonly path: string; };\n readonly sessionId?: SessionId;\n}"
|
|
2977
3112
|
},
|
|
2978
3113
|
{
|
|
2979
3114
|
"name": "AgentTeamMemberDiagnosticClass",
|
|
@@ -3281,7 +3416,7 @@ export const TYPERT = {
|
|
|
3281
3416
|
},
|
|
3282
3417
|
{
|
|
3283
3418
|
"name": "AgentTeamView",
|
|
3284
|
-
"declaration": "export interface AgentTeamView {\n readonly humanMemberId: AgentTeamMemberId;\n readonly workspaces: readonly AgentTeamWorkspaceParticipation[];\n readonly channels: readonly AgentTeamChannel[];\n readonly members: readonly AgentTeamChannelMembership[];\n readonly tasks: readonly AgentTeamTask[];\n readonly threads: readonly AgentTeamThread[];\n readonly taskNumbers: readonly { readonly taskRef: AgentTeamTaskRef; readonly taskNumber: number; }[];\n readonly items: readonly AgentTeamViewItem[];\n readonly claims: readonly AgentTeamClaim[];\n readonly activities: readonly AgentTeamActivity[];\n readonly cursor: number;\n readonly hasMore: boolean;\n}"
|
|
3419
|
+
"declaration": "export interface AgentTeamView {\n readonly humanMemberId: AgentTeamMemberId;\n readonly workspaces: readonly AgentTeamWorkspaceParticipation[];\n readonly channels: readonly AgentTeamChannel[];\n readonly members: readonly AgentTeamChannelMembership[];\n readonly tasks: readonly AgentTeamTask[];\n readonly threads: readonly AgentTeamThread[];\n readonly taskNumbers: readonly { readonly taskRef: AgentTeamTaskRef; readonly taskNumber: number; }[];\n readonly items: readonly AgentTeamViewItem[];\n readonly activeTaskThreads: readonly AgentTeamActiveTaskThread[];\n readonly claims: readonly AgentTeamClaim[];\n readonly activities: readonly AgentTeamActivity[];\n readonly cursor: number;\n readonly hasMore: boolean;\n}"
|
|
3285
3420
|
},
|
|
3286
3421
|
{
|
|
3287
3422
|
"name": "AgentTeamViewItem",
|
|
@@ -3343,14 +3478,30 @@ export const TYPERT = {
|
|
|
3343
3478
|
"name": "CommandId",
|
|
3344
3479
|
"declaration": "export type CommandId = Branded<'CommandId'>;"
|
|
3345
3480
|
},
|
|
3481
|
+
{
|
|
3482
|
+
"name": "CompactionAgentContext",
|
|
3483
|
+
"declaration": "export interface CompactionAgentContext {\n session: Session;\n options: { provider?: string; model?: string; };\n}"
|
|
3484
|
+
},
|
|
3346
3485
|
{
|
|
3347
3486
|
"name": "CompactionCheckpointSource",
|
|
3348
3487
|
"declaration": "export type CompactionCheckpointSource = typeof COMPACT_CHECKPOINT_MARKER & { readonly compactionId: CompactionId; readonly sourceCommandId?: CommandId; };"
|
|
3349
3488
|
},
|
|
3489
|
+
{
|
|
3490
|
+
"name": "CompactionEngine",
|
|
3491
|
+
"declaration": "export abstract class CompactionEngine extends Service {\n abstract compactIfNeeded(agent: CompactionAgentContext, trigger: CompactionTrigger, signal: AbortSignal): Promise<CompactionResult | null>;\n abstract compactNow(agent: ManualCompactAgentContext, signal: AbortSignal, sourceCommandId?: CommandId): Promise<CompactionResult | null>;\n abstract compactRegion(start: SessionSeq, end: SessionSeq, agent: CompactionAgentContext, signal?: AbortSignal): Promise<CompactionResult>;\n}"
|
|
3492
|
+
},
|
|
3350
3493
|
{
|
|
3351
3494
|
"name": "CompactionId",
|
|
3352
3495
|
"declaration": "export type CompactionId = Branded<'CompactionId'>;"
|
|
3353
3496
|
},
|
|
3497
|
+
{
|
|
3498
|
+
"name": "CompactionResult",
|
|
3499
|
+
"declaration": "export interface CompactionResult {\n compactionId: CompactionId;\n sourceCommandId?: CommandId;\n startSeq: SessionSeq;\n summarySeq: SessionSeq;\n endSeq: SessionSeq;\n summary: ContentBlock[];\n shadowedRange: { start: SessionSeq; end: SessionSeq; };\n shadowedSeqs: SessionSeq[];\n shadowedTokenCount: number;\n}"
|
|
3500
|
+
},
|
|
3501
|
+
{
|
|
3502
|
+
"name": "CompactionTrigger",
|
|
3503
|
+
"declaration": "export type CompactionTrigger = 'pressure' | 'context-overflow';"
|
|
3504
|
+
},
|
|
3354
3505
|
{
|
|
3355
3506
|
"name": "ContentBlock",
|
|
3356
3507
|
"declaration": "export type ContentBlock = ContentBlockMap[ContentBlockType];"
|
|
@@ -3491,6 +3642,18 @@ export const TYPERT = {
|
|
|
3491
3642
|
"name": "LlmFailure",
|
|
3492
3643
|
"declaration": "export interface LlmFailure {\n readonly message: string;\n readonly code: string;\n readonly status?: number;\n readonly providerRetryAfterMs?: number;\n readonly requestId?: ProviderRequestId;\n readonly offloadImages?: number;\n}"
|
|
3493
3644
|
},
|
|
3645
|
+
{
|
|
3646
|
+
"name": "LlmRetryEventData",
|
|
3647
|
+
"declaration": "export type LlmRetryEventData = { retryId: RetryId; turn: number; step: number; provider: string; mode: 'normal'; policyKey: string; retry: number; maxRetries: number; delayMs: number; failure: LlmFailure; } | { retryId: RetryId; turn: number; step: number; provider: string; mode: 'always'; policyKey: string; retry: number; delayMs: number; failure: LlmFailure; };"
|
|
3648
|
+
},
|
|
3649
|
+
{
|
|
3650
|
+
"name": "LlmRetryStartedEventData",
|
|
3651
|
+
"declaration": "export interface LlmRetryStartedEventData {\n retryId: RetryId;\n turn: number;\n step: number;\n retry: number;\n}"
|
|
3652
|
+
},
|
|
3653
|
+
{
|
|
3654
|
+
"name": "ManualCompactAgentContext",
|
|
3655
|
+
"declaration": "export interface ManualCompactAgentContext extends CompactionAgentContext {\n runMaintenance<T>(task: (signal: AbortSignal) => Promise<T>): Promise<T>;\n}"
|
|
3656
|
+
},
|
|
3494
3657
|
{
|
|
3495
3658
|
"name": "Message",
|
|
3496
3659
|
"declaration": "export type Message = MessageRoleMap[keyof MessageRoleMap];"
|
|
@@ -3513,7 +3676,7 @@ export const TYPERT = {
|
|
|
3513
3676
|
},
|
|
3514
3677
|
{
|
|
3515
3678
|
"name": "MessageSourceMap",
|
|
3516
|
-
"declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'tool-registry': { kind: 'tool-registry'; };\n [AGENT_TEAM_PLUGIN_ID]: { kind: typeof AGENT_TEAM_PLUGIN_ID; } & ContextFormed;\n [AGENT_TEAM_V3_RENAMED_KIND]: { kind: typeof AGENT_TEAM_V3_RENAMED_KIND; } & ContextFormed;\n '
|
|
3679
|
+
"declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'compact-checkpoint': CompactionCheckpointSource;\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'tool-registry': { kind: 'tool-registry'; };\n [AGENT_TEAM_PLUGIN_ID]: { kind: typeof AGENT_TEAM_PLUGIN_ID; } & ContextFormed;\n [AGENT_TEAM_V3_RENAMED_KIND]: { kind: typeof AGENT_TEAM_V3_RENAMED_KIND; } & ContextFormed;\n 'skill-invocation': SkillInvocationSource;\n 'wowyuarm-agent-team-member-context': { kind: 'wowyuarm-agent-team-member-context'; } & ContextFormed;\n 'plugin:wowyuarm-agent-team-member-context': { kind: 'plugin:wowyuarm-agent-team-member-context'; } & ContextFormed;\n 'wowyuarm-agent-team-member-time-context': { kind: 'wowyuarm-agent-team-member-time-context'; } & ContextFormed;\n 'plugin:wowyuarm-agent-team-member-time-context': { kind: 'plugin:wowyuarm-agent-team-member-time-context'; } & ContextFormed;\n}"
|
|
3517
3680
|
},
|
|
3518
3681
|
{
|
|
3519
3682
|
"name": "ModelMessageSource",
|
|
@@ -3559,6 +3722,10 @@ export const TYPERT = {
|
|
|
3559
3722
|
"name": "RequestHeaderReason",
|
|
3560
3723
|
"declaration": "export type RequestHeaderReason = 'initial' | 'resume' | 'change' | 'series';"
|
|
3561
3724
|
},
|
|
3725
|
+
{
|
|
3726
|
+
"name": "RetryId",
|
|
3727
|
+
"declaration": "export type RetryId = Branded<'RetryId'>;"
|
|
3728
|
+
},
|
|
3562
3729
|
{
|
|
3563
3730
|
"name": "RolloverIdentity",
|
|
3564
3731
|
"declaration": "export interface RolloverIdentity {\n readonly newSessionId: SessionId;\n readonly requestId: string;\n}"
|
|
@@ -3573,7 +3740,7 @@ export const TYPERT = {
|
|
|
3573
3740
|
},
|
|
3574
3741
|
{
|
|
3575
3742
|
"name": "Session",
|
|
3576
|
-
"declaration": "export class Session {\n get surface(): SessionSurface;\n readonly header: SessionHeader;\n readonly inheritedEventCount: SessionLogOffset;\n get id(): SessionId;\n readonly firstLiveSeq: SessionLogOffset;\n readonly firstLifecycleSeq: SessionLogOffset;\n eventAt(seq: SessionSeq): SessionEvent | undefined;\n snapshotEvents(fromSeq: SessionLogOffset = SessionLogOffset(0), toSeqExclusive: SessionLogOffset = this.seq): readonly SessionEvent[];\n ownEvents(): readonly SessionEvent[];\n isOwnSeq(seq: SessionSeq): boolean;\n get seq(): SessionLogOffset;\n append<T extends SessionEventType>(type: T, data: SessionEventMap[T], ...opts: T extends SurfaceEventType ? [opts: SurfaceIntent<T>] : []): SessionEvent<T>;\n requestHeader(): EpochHeader | undefined;\n requestContext(): RequestContext | undefined;\n deriveMessages(): Message[];\n deriveEventMessage(event: SessionEvent): Message | null;\n}"
|
|
3743
|
+
"declaration": "export class Session {\n get surface(): SessionSurface;\n readonly header: SessionHeader;\n readonly inheritedEventCount: SessionLogOffset;\n get id(): SessionId;\n readonly firstLiveSeq: SessionLogOffset;\n readonly firstLifecycleSeq: SessionLogOffset;\n eventAt(seq: SessionSeq): SessionEvent | undefined;\n snapshotEvents(fromSeq: SessionLogOffset = SessionLogOffset(0), toSeqExclusive: SessionLogOffset = this.seq): readonly SessionEvent[];\n ownEvents(): readonly SessionEvent[];\n isOwnSeq(seq: SessionSeq): boolean;\n get seq(): SessionLogOffset;\n append<T extends SessionEventType>(type: T, data: SessionEventMap[T], ...opts: T extends SurfaceEventType ? [opts: SurfaceIntent<T>] : []): SessionEvent<T>;\n requestHeader(): EpochHeader | undefined;\n requestContext(): RequestContext | undefined;\n toolHistory(): ToolHistory;\n deriveMessages(): Message[];\n deriveEventMessage(event: SessionEvent): Message | null;\n}"
|
|
3577
3744
|
},
|
|
3578
3745
|
{
|
|
3579
3746
|
"name": "SessionEvent",
|
|
@@ -3581,7 +3748,7 @@ export const TYPERT = {
|
|
|
3581
3748
|
},
|
|
3582
3749
|
{
|
|
3583
3750
|
"name": "SessionEventMap",
|
|
3584
|
-
"declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n '
|
|
3751
|
+
"declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'compaction/start': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; };\n 'compaction/summary': { compactionId: CompactionId; sourceCommandId?: CommandId; summary: ContentBlock[]; shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; provider: string; model: string; maxTokens?: number; usage?: TokenUsage; } & ({ rawOutput: ContentBlock[]; llmStreamCall: true; } | { rawOutput?: ContentBlock[]; llmStreamCall?: never; });\n 'compaction/end': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; error?: string; };\n 'compaction/prune': { shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; };\n 'image/offload': { targets: ImageOffloadTarget[]; };\n 'llm/retry': LlmRetryEventData;\n 'llm/retry-started': LlmRetryStartedEventData;\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: ToolCallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'tool/ptc-dispatch-start': PtcDispatchStartEventData;\n 'tool/ptc-dispatch': PtcDispatchEventData;\n 'session/title': SessionTitleEventData;\n 'todo/write': { todos: TodoItem[]; };\n 'agent-preset/selected': { agentPreset: string; };\n}"
|
|
3585
3752
|
},
|
|
3586
3753
|
{
|
|
3587
3754
|
"name": "SessionEventType",
|
|
@@ -3683,6 +3850,10 @@ export const TYPERT = {
|
|
|
3683
3850
|
"name": "ToolCallId",
|
|
3684
3851
|
"declaration": "export type ToolCallId = Branded<'ToolCallId'>;"
|
|
3685
3852
|
},
|
|
3853
|
+
{
|
|
3854
|
+
"name": "ToolHistory",
|
|
3855
|
+
"declaration": "export interface ToolHistory {\n readonly tools: readonly ToolSchema[];\n readonly updates: readonly { readonly messageId: MessageId; readonly additions: readonly ToolSchema[]; }[];\n}"
|
|
3856
|
+
},
|
|
3686
3857
|
{
|
|
3687
3858
|
"name": "ToolMessageSource",
|
|
3688
3859
|
"declaration": "export interface ToolMessageSource {\n kind: 'tool';\n callId: ToolCallId;\n}"
|