@wowyuarm/dsh-agent-team 0.2.0 → 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 +5 -5
- package/README.zh.md +5 -5
- package/cordis.patch.yml +26 -12
- package/package.json +50 -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/index.js +482 -97
- package/packages/agent-team/lib/invariant.js +36 -12
- package/packages/agent-team/lib/ledger.js +2 -1
- package/packages/agent-team/lib/member-runtime.js +2 -1
- package/packages/agent-team/lib/recovery.js +53 -4
- package/packages/agent-team/lib/typert.host.js +138 -44
- package/packages/agent-team/lib/typert.remote-client.d.ts +3 -1
- package/packages/agent-team/lib/typert.remote-client.d.ts.map +1 -1
- package/packages/agent-team/lib/typert.remote-client.js +75 -35
- 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/index.d.ts +259 -17
- package/packages/agent-team/lib/types/index.d.ts.map +1 -1
- 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.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/recovery.d.ts +19 -6
- package/packages/agent-team/lib/types/recovery.d.ts.map +1 -1
- package/packages/agent-team/lib/types/types/requests-results.d.ts +28 -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 +1006 -374
- package/packages/client-agent-team/lib/client.js.map +1 -1
- package/packages/client-agent-team/lib/types/client/{HumanSettingsSection.d.ts → TeamSettingsSection.d.ts} +12 -4
- 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/index.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/index.js +75 -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 +52 -6
- package/packages/client-agent-team/lib/types/client/locales.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/locales.js +55 -6
- 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 +84 -112
- package/packages/tool-agent-team/lib/types/context-tools.d.ts +29 -13
- package/packages/tool-agent-team/lib/types/context-tools.d.ts.map +1 -1
- package/packages/agent-team/lib/pressure-policy.js +0 -235
- package/packages/agent-team/lib/types/pressure-policy.d.ts +0 -134
- package/packages/agent-team/lib/types/pressure-policy.d.ts.map +0 -1
- 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 -118
|
@@ -328,6 +328,20 @@ const _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema = () =
|
|
|
328
328
|
}))]).readonly().optional(),
|
|
329
329
|
}).readonly(),
|
|
330
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
|
+
}))
|
|
331
345
|
let _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema$value
|
|
332
346
|
const _wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_createChannel_parameter_0$schema$value ??= z.object({
|
|
333
347
|
'requestId': z.intersection(z.string(), z.unknown()).readonly(),
|
|
@@ -811,7 +825,7 @@ const _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema = () => (_wowy
|
|
|
811
825
|
'taskBoundaryThreshold': z.union([z.undefined(), z.number()]).readonly().optional(),
|
|
812
826
|
'handoffAt': z.union([z.undefined(), z.number()]).readonly().optional(),
|
|
813
827
|
'hardLimit': z.union([z.undefined(), z.number()]).readonly().optional(),
|
|
814
|
-
'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(),
|
|
815
829
|
'guidance': z.string().readonly(),
|
|
816
830
|
}).readonly().optional(),
|
|
817
831
|
}))
|
|
@@ -1503,7 +1517,7 @@ export const TYPERT = {
|
|
|
1503
1517
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamAddMemberResult',
|
|
1504
1518
|
create: _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema,
|
|
1505
1519
|
},
|
|
1506
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1520
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1079,"column":9},
|
|
1507
1521
|
},
|
|
1508
1522
|
{
|
|
1509
1523
|
id: '@wowyuarm/dsh-agent-team#agentTeam/archiveChannel',
|
|
@@ -1528,7 +1542,7 @@ export const TYPERT = {
|
|
|
1528
1542
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveChannelResult',
|
|
1529
1543
|
create: _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema,
|
|
1530
1544
|
},
|
|
1531
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1545
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1069,"column":9},
|
|
1532
1546
|
},
|
|
1533
1547
|
{
|
|
1534
1548
|
id: '@wowyuarm/dsh-agent-team#agentTeam/archiveMember',
|
|
@@ -1553,7 +1567,7 @@ export const TYPERT = {
|
|
|
1553
1567
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveMemberResult',
|
|
1554
1568
|
create: _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema,
|
|
1555
1569
|
},
|
|
1556
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1570
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1586,"column":9},
|
|
1557
1571
|
},
|
|
1558
1572
|
{
|
|
1559
1573
|
id: '@wowyuarm/dsh-agent-team#agentTeam/changeAttention',
|
|
@@ -1578,7 +1592,7 @@ export const TYPERT = {
|
|
|
1578
1592
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadAttentionResult',
|
|
1579
1593
|
create: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema,
|
|
1580
1594
|
},
|
|
1581
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1595
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1876,"column":9},
|
|
1582
1596
|
},
|
|
1583
1597
|
{
|
|
1584
1598
|
id: '@wowyuarm/dsh-agent-team#agentTeam/changes',
|
|
@@ -1605,7 +1619,7 @@ export const TYPERT = {
|
|
|
1605
1619
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamChangesResult',
|
|
1606
1620
|
create: _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema,
|
|
1607
1621
|
},
|
|
1608
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1622
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1002,"column":11},
|
|
1609
1623
|
},
|
|
1610
1624
|
{
|
|
1611
1625
|
id: '@wowyuarm/dsh-agent-team#agentTeam/changeTask',
|
|
@@ -1630,7 +1644,7 @@ export const TYPERT = {
|
|
|
1630
1644
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamTaskResult',
|
|
1631
1645
|
create: _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema,
|
|
1632
1646
|
},
|
|
1633
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1647
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1597,"column":9},
|
|
1634
1648
|
},
|
|
1635
1649
|
{
|
|
1636
1650
|
id: '@wowyuarm/dsh-agent-team#agentTeam/clearMemberContext',
|
|
@@ -1655,7 +1669,33 @@ export const TYPERT = {
|
|
|
1655
1669
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamClearMemberContextResult',
|
|
1656
1670
|
create: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema,
|
|
1657
1671
|
},
|
|
1658
|
-
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},
|
|
1659
1699
|
},
|
|
1660
1700
|
{
|
|
1661
1701
|
id: '@wowyuarm/dsh-agent-team#agentTeam/createChannel',
|
|
@@ -1680,7 +1720,7 @@ export const TYPERT = {
|
|
|
1680
1720
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamCreateChannelResult',
|
|
1681
1721
|
create: _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema,
|
|
1682
1722
|
},
|
|
1683
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1723
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1042,"column":9},
|
|
1684
1724
|
},
|
|
1685
1725
|
{
|
|
1686
1726
|
id: '@wowyuarm/dsh-agent-team#agentTeam/environment',
|
|
@@ -1706,7 +1746,7 @@ export const TYPERT = {
|
|
|
1706
1746
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamEnvironmentResult',
|
|
1707
1747
|
create: _wowyuarm_dsh_agent_team_agentTeam_environment_result$schema,
|
|
1708
1748
|
},
|
|
1709
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1749
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1783,"column":3},
|
|
1710
1750
|
},
|
|
1711
1751
|
{
|
|
1712
1752
|
id: '@wowyuarm/dsh-agent-team#agentTeam/getAttachment',
|
|
@@ -1731,7 +1771,7 @@ export const TYPERT = {
|
|
|
1731
1771
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetAttachmentResult',
|
|
1732
1772
|
create: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema,
|
|
1733
1773
|
},
|
|
1734
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1774
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1724,"column":9},
|
|
1735
1775
|
},
|
|
1736
1776
|
{
|
|
1737
1777
|
id: '@wowyuarm/dsh-agent-team#agentTeam/getHumanAvatar',
|
|
@@ -1756,7 +1796,7 @@ export const TYPERT = {
|
|
|
1756
1796
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetHumanAvatarResult',
|
|
1757
1797
|
create: _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_result$schema,
|
|
1758
1798
|
},
|
|
1759
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1799
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1816,"column":9},
|
|
1760
1800
|
},
|
|
1761
1801
|
{
|
|
1762
1802
|
id: '@wowyuarm/dsh-agent-team#agentTeam/humanProfile',
|
|
@@ -1782,7 +1822,7 @@ export const TYPERT = {
|
|
|
1782
1822
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamHumanProfileResult',
|
|
1783
1823
|
create: _wowyuarm_dsh_agent_team_agentTeam_humanProfile_result$schema,
|
|
1784
1824
|
},
|
|
1785
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1825
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1788,"column":3},
|
|
1786
1826
|
},
|
|
1787
1827
|
{
|
|
1788
1828
|
id: '@wowyuarm/dsh-agent-team#agentTeam/inbox',
|
|
@@ -1807,7 +1847,7 @@ export const TYPERT = {
|
|
|
1807
1847
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamInbox',
|
|
1808
1848
|
create: _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema,
|
|
1809
1849
|
},
|
|
1810
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1850
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1885,"column":3},
|
|
1811
1851
|
},
|
|
1812
1852
|
{
|
|
1813
1853
|
id: '@wowyuarm/dsh-agent-team#agentTeam/joinChannel',
|
|
@@ -1832,7 +1872,7 @@ export const TYPERT = {
|
|
|
1832
1872
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinChannelResult',
|
|
1833
1873
|
create: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema,
|
|
1834
1874
|
},
|
|
1835
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1875
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1617,"column":9},
|
|
1836
1876
|
},
|
|
1837
1877
|
{
|
|
1838
1878
|
id: '@wowyuarm/dsh-agent-team#agentTeam/joinWorkspace',
|
|
@@ -1857,7 +1897,7 @@ export const TYPERT = {
|
|
|
1857
1897
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinWorkspaceResult',
|
|
1858
1898
|
create: _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema,
|
|
1859
1899
|
},
|
|
1860
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1900
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1637,"column":9},
|
|
1861
1901
|
},
|
|
1862
1902
|
{
|
|
1863
1903
|
id: '@wowyuarm/dsh-agent-team#agentTeam/leaveWorkspace',
|
|
@@ -1882,7 +1922,7 @@ export const TYPERT = {
|
|
|
1882
1922
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamLeaveWorkspaceResult',
|
|
1883
1923
|
create: _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema,
|
|
1884
1924
|
},
|
|
1885
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1925
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1646,"column":9},
|
|
1886
1926
|
},
|
|
1887
1927
|
{
|
|
1888
1928
|
id: '@wowyuarm/dsh-agent-team#agentTeam/members',
|
|
@@ -1908,7 +1948,7 @@ export const TYPERT = {
|
|
|
1908
1948
|
typeSymbol: '@wowyuarm/dsh-agent-team#agentTeam/members:result',
|
|
1909
1949
|
create: _wowyuarm_dsh_agent_team_agentTeam_members_result$schema,
|
|
1910
1950
|
},
|
|
1911
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1951
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":992,"column":3},
|
|
1912
1952
|
},
|
|
1913
1953
|
{
|
|
1914
1954
|
id: '@wowyuarm/dsh-agent-team#agentTeam/promoteThread',
|
|
@@ -1933,7 +1973,7 @@ export const TYPERT = {
|
|
|
1933
1973
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPromoteThreadResult',
|
|
1934
1974
|
create: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema,
|
|
1935
1975
|
},
|
|
1936
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
1976
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1607,"column":9},
|
|
1937
1977
|
},
|
|
1938
1978
|
{
|
|
1939
1979
|
id: '@wowyuarm/dsh-agent-team#agentTeam/putAttachment',
|
|
@@ -1958,7 +1998,7 @@ export const TYPERT = {
|
|
|
1958
1998
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutAttachmentResult',
|
|
1959
1999
|
create: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema,
|
|
1960
2000
|
},
|
|
1961
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2001
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1707,"column":9},
|
|
1962
2002
|
},
|
|
1963
2003
|
{
|
|
1964
2004
|
id: '@wowyuarm/dsh-agent-team#agentTeam/putHumanAvatar',
|
|
@@ -1983,7 +2023,7 @@ export const TYPERT = {
|
|
|
1983
2023
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutHumanAvatarResult',
|
|
1984
2024
|
create: _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_result$schema,
|
|
1985
2025
|
},
|
|
1986
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2026
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1808,"column":9},
|
|
1987
2027
|
},
|
|
1988
2028
|
{
|
|
1989
2029
|
id: '@wowyuarm/dsh-agent-team#agentTeam/readThread',
|
|
@@ -2008,7 +2048,7 @@ export const TYPERT = {
|
|
|
2008
2048
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadReadResult',
|
|
2009
2049
|
create: _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema,
|
|
2010
2050
|
},
|
|
2011
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2051
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1892,"column":9},
|
|
2012
2052
|
},
|
|
2013
2053
|
{
|
|
2014
2054
|
id: '@wowyuarm/dsh-agent-team#agentTeam/recoverMember',
|
|
@@ -2033,7 +2073,7 @@ export const TYPERT = {
|
|
|
2033
2073
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRecoverMemberResult',
|
|
2034
2074
|
create: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema,
|
|
2035
2075
|
},
|
|
2036
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2076
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1144,"column":9},
|
|
2037
2077
|
},
|
|
2038
2078
|
{
|
|
2039
2079
|
id: '@wowyuarm/dsh-agent-team#agentTeam/removeChannelMember',
|
|
@@ -2058,7 +2098,7 @@ export const TYPERT = {
|
|
|
2058
2098
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveChannelMemberResult',
|
|
2059
2099
|
create: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema,
|
|
2060
2100
|
},
|
|
2061
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2101
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1628,"column":9},
|
|
2062
2102
|
},
|
|
2063
2103
|
{
|
|
2064
2104
|
id: '@wowyuarm/dsh-agent-team#agentTeam/removeHumanAvatar',
|
|
@@ -2083,7 +2123,7 @@ export const TYPERT = {
|
|
|
2083
2123
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveHumanAvatarResult',
|
|
2084
2124
|
create: _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_result$schema,
|
|
2085
2125
|
},
|
|
2086
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2126
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1824,"column":9},
|
|
2087
2127
|
},
|
|
2088
2128
|
{
|
|
2089
2129
|
id: '@wowyuarm/dsh-agent-team#agentTeam/reply',
|
|
@@ -2108,7 +2148,7 @@ export const TYPERT = {
|
|
|
2108
2148
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamReplyResult',
|
|
2109
2149
|
create: _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema,
|
|
2110
2150
|
},
|
|
2111
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2151
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1870,"column":9},
|
|
2112
2152
|
},
|
|
2113
2153
|
{
|
|
2114
2154
|
id: '@wowyuarm/dsh-agent-team#agentTeam/resolveTaskRefs',
|
|
@@ -2133,7 +2173,7 @@ export const TYPERT = {
|
|
|
2133
2173
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveTaskRefsResult',
|
|
2134
2174
|
create: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema,
|
|
2135
2175
|
},
|
|
2136
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2176
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":966,"column":3},
|
|
2137
2177
|
},
|
|
2138
2178
|
{
|
|
2139
2179
|
id: '@wowyuarm/dsh-agent-team#agentTeam/resolveThreadRefs',
|
|
@@ -2158,7 +2198,7 @@ export const TYPERT = {
|
|
|
2158
2198
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveThreadRefsResult',
|
|
2159
2199
|
create: _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema,
|
|
2160
2200
|
},
|
|
2161
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2201
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":979,"column":3},
|
|
2162
2202
|
},
|
|
2163
2203
|
{
|
|
2164
2204
|
id: '@wowyuarm/dsh-agent-team#agentTeam/sendMessage',
|
|
@@ -2183,7 +2223,7 @@ export const TYPERT = {
|
|
|
2183
2223
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSendMessageResult',
|
|
2184
2224
|
create: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema,
|
|
2185
2225
|
},
|
|
2186
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2226
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1655,"column":9},
|
|
2187
2227
|
},
|
|
2188
2228
|
{
|
|
2189
2229
|
id: '@wowyuarm/dsh-agent-team#agentTeam/setHumanProfile',
|
|
@@ -2208,7 +2248,7 @@ export const TYPERT = {
|
|
|
2208
2248
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSetHumanProfileResult',
|
|
2209
2249
|
create: _wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_result$schema,
|
|
2210
2250
|
},
|
|
2211
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2251
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1846,"column":9},
|
|
2212
2252
|
},
|
|
2213
2253
|
{
|
|
2214
2254
|
id: '@wowyuarm/dsh-agent-team#agentTeam/threadHistory',
|
|
@@ -2233,7 +2273,7 @@ export const TYPERT = {
|
|
|
2233
2273
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadHistory',
|
|
2234
2274
|
create: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema,
|
|
2235
2275
|
},
|
|
2236
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2276
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1910,"column":3},
|
|
2237
2277
|
},
|
|
2238
2278
|
{
|
|
2239
2279
|
id: '@wowyuarm/dsh-agent-team#agentTeam/threadObservations',
|
|
@@ -2258,7 +2298,7 @@ export const TYPERT = {
|
|
|
2258
2298
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadObservations',
|
|
2259
2299
|
create: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema,
|
|
2260
2300
|
},
|
|
2261
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2301
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1903,"column":3},
|
|
2262
2302
|
},
|
|
2263
2303
|
{
|
|
2264
2304
|
id: '@wowyuarm/dsh-agent-team#agentTeam/updateChannel',
|
|
@@ -2283,7 +2323,7 @@ export const TYPERT = {
|
|
|
2283
2323
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamUpdateChannelResult',
|
|
2284
2324
|
create: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema,
|
|
2285
2325
|
},
|
|
2286
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2326
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1054,"column":9},
|
|
2287
2327
|
},
|
|
2288
2328
|
{
|
|
2289
2329
|
id: '@wowyuarm/dsh-agent-team#agentTeam/updateMember',
|
|
@@ -2308,7 +2348,7 @@ export const TYPERT = {
|
|
|
2308
2348
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamMemberResult',
|
|
2309
2349
|
create: _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema,
|
|
2310
2350
|
},
|
|
2311
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2351
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1527,"column":9},
|
|
2312
2352
|
},
|
|
2313
2353
|
{
|
|
2314
2354
|
id: '@wowyuarm/dsh-agent-team#agentTeam/view',
|
|
@@ -2333,7 +2373,7 @@ export const TYPERT = {
|
|
|
2333
2373
|
typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamView',
|
|
2334
2374
|
create: _wowyuarm_dsh_agent_team_agentTeam_view_result$schema,
|
|
2335
2375
|
},
|
|
2336
|
-
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":
|
|
2376
|
+
sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1917,"column":3},
|
|
2337
2377
|
},
|
|
2338
2378
|
],
|
|
2339
2379
|
model: {
|
|
@@ -2439,8 +2479,8 @@ export const TYPERT = {
|
|
|
2439
2479
|
"kind": "method",
|
|
2440
2480
|
"name": "suspendMember",
|
|
2441
2481
|
"signature": "async suspendMember(request: AgentTeamSetMemberStateRequest): Promise<AgentTeamMemberResult>",
|
|
2442
|
-
"summary": "Commit suspended intent, then
|
|
2443
|
-
"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. */"
|
|
2444
2484
|
},
|
|
2445
2485
|
{
|
|
2446
2486
|
"kind": "method",
|
|
@@ -2454,7 +2494,7 @@ export const TYPERT = {
|
|
|
2454
2494
|
"name": "recoverMember",
|
|
2455
2495
|
"signature": "@Remote('recoverMember') async recoverMember(request: AgentTeamRecoverMemberRequest): Promise<AgentTeamRecoverMemberResult>",
|
|
2456
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.",
|
|
2457
|
-
"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 */"
|
|
2458
2498
|
},
|
|
2459
2499
|
{
|
|
2460
2500
|
"kind": "method",
|
|
@@ -2538,14 +2578,21 @@ export const TYPERT = {
|
|
|
2538
2578
|
"name": "putAttachment",
|
|
2539
2579
|
"signature": "@Remote('putAttachment') async putAttachment(request: AgentTeamPutAttachmentRequest): Promise<AgentTeamPutAttachmentResult>",
|
|
2540
2580
|
"summary": "Upload one composer attachment into the cache; bytes are immutable once written.",
|
|
2541
|
-
"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 */"
|
|
2542
2582
|
},
|
|
2543
2583
|
{
|
|
2544
2584
|
"kind": "method",
|
|
2545
2585
|
"name": "getAttachment",
|
|
2546
2586
|
"signature": "@Remote('getAttachment') async getAttachment(request: AgentTeamGetAttachmentRequest): Promise<AgentTeamGetAttachmentResult>",
|
|
2547
|
-
"summary": "Read one cached attachment back for client display
|
|
2548
|
-
"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 */"
|
|
2549
2596
|
},
|
|
2550
2597
|
{
|
|
2551
2598
|
"kind": "method",
|
|
@@ -2724,6 +2771,13 @@ export const TYPERT = {
|
|
|
2724
2771
|
"summary": "Validate the durable ledger for the invariant's mount check.",
|
|
2725
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 */"
|
|
2726
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
|
+
},
|
|
2727
2781
|
{
|
|
2728
2782
|
"kind": "method",
|
|
2729
2783
|
"name": "recordCheckpointForAgent",
|
|
@@ -2930,12 +2984,20 @@ export const TYPERT = {
|
|
|
2930
2984
|
},
|
|
2931
2985
|
{
|
|
2932
2986
|
"name": "AgentTeamContextAdvice",
|
|
2933
|
-
"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}"
|
|
2934
2988
|
},
|
|
2935
2989
|
{
|
|
2936
2990
|
"name": "AgentTeamContextCheckpointRef",
|
|
2937
2991
|
"declaration": "export type AgentTeamContextCheckpointRef = Branded<'AgentTeamContextCheckpointRef'>;"
|
|
2938
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
|
+
},
|
|
2939
3001
|
{
|
|
2940
3002
|
"name": "AgentTeamCreateChannelRequest",
|
|
2941
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}"
|
|
@@ -3416,14 +3478,30 @@ export const TYPERT = {
|
|
|
3416
3478
|
"name": "CommandId",
|
|
3417
3479
|
"declaration": "export type CommandId = Branded<'CommandId'>;"
|
|
3418
3480
|
},
|
|
3481
|
+
{
|
|
3482
|
+
"name": "CompactionAgentContext",
|
|
3483
|
+
"declaration": "export interface CompactionAgentContext {\n session: Session;\n options: { provider?: string; model?: string; };\n}"
|
|
3484
|
+
},
|
|
3419
3485
|
{
|
|
3420
3486
|
"name": "CompactionCheckpointSource",
|
|
3421
3487
|
"declaration": "export type CompactionCheckpointSource = typeof COMPACT_CHECKPOINT_MARKER & { readonly compactionId: CompactionId; readonly sourceCommandId?: CommandId; };"
|
|
3422
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
|
+
},
|
|
3423
3493
|
{
|
|
3424
3494
|
"name": "CompactionId",
|
|
3425
3495
|
"declaration": "export type CompactionId = Branded<'CompactionId'>;"
|
|
3426
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
|
+
},
|
|
3427
3505
|
{
|
|
3428
3506
|
"name": "ContentBlock",
|
|
3429
3507
|
"declaration": "export type ContentBlock = ContentBlockMap[ContentBlockType];"
|
|
@@ -3564,6 +3642,18 @@ export const TYPERT = {
|
|
|
3564
3642
|
"name": "LlmFailure",
|
|
3565
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}"
|
|
3566
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
|
+
},
|
|
3567
3657
|
{
|
|
3568
3658
|
"name": "Message",
|
|
3569
3659
|
"declaration": "export type Message = MessageRoleMap[keyof MessageRoleMap];"
|
|
@@ -3586,7 +3676,7 @@ export const TYPERT = {
|
|
|
3586
3676
|
},
|
|
3587
3677
|
{
|
|
3588
3678
|
"name": "MessageSourceMap",
|
|
3589
|
-
"declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'tool-registry': { kind: 'tool-registry'; };\n [AGENT_TEAM_PLUGIN_ID]: { kind: typeof AGENT_TEAM_PLUGIN_ID; } & ContextFormed;\n [AGENT_TEAM_V3_RENAMED_KIND]: { kind: typeof AGENT_TEAM_V3_RENAMED_KIND; } & ContextFormed;\n '
|
|
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}"
|
|
3590
3680
|
},
|
|
3591
3681
|
{
|
|
3592
3682
|
"name": "ModelMessageSource",
|
|
@@ -3632,6 +3722,10 @@ export const TYPERT = {
|
|
|
3632
3722
|
"name": "RequestHeaderReason",
|
|
3633
3723
|
"declaration": "export type RequestHeaderReason = 'initial' | 'resume' | 'change' | 'series';"
|
|
3634
3724
|
},
|
|
3725
|
+
{
|
|
3726
|
+
"name": "RetryId",
|
|
3727
|
+
"declaration": "export type RetryId = Branded<'RetryId'>;"
|
|
3728
|
+
},
|
|
3635
3729
|
{
|
|
3636
3730
|
"name": "RolloverIdentity",
|
|
3637
3731
|
"declaration": "export interface RolloverIdentity {\n readonly newSessionId: SessionId;\n readonly requestId: string;\n}"
|
|
@@ -3654,7 +3748,7 @@ export const TYPERT = {
|
|
|
3654
3748
|
},
|
|
3655
3749
|
{
|
|
3656
3750
|
"name": "SessionEventMap",
|
|
3657
|
-
"declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n '
|
|
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}"
|
|
3658
3752
|
},
|
|
3659
3753
|
{
|
|
3660
3754
|
"name": "SessionEventType",
|
|
@@ -4,7 +4,7 @@ import type {
|
|
|
4
4
|
RemoteStreamHandle,
|
|
5
5
|
TypertRemoteContribution,
|
|
6
6
|
} from '@deepseek-ai/dsh-typert-protocol'
|
|
7
|
-
import type { AgentTeamAddMemberRequest, AgentTeamAddMemberResult, AgentTeamArchiveChannelRequest, AgentTeamArchiveChannelResult, AgentTeamArchiveMemberRequest, AgentTeamArchiveMemberResult, AgentTeamChangesRequest, AgentTeamChangesResult, AgentTeamClearMemberContextRequest, AgentTeamClearMemberContextResult, AgentTeamClientMemberStatus, AgentTeamCreateChannelRequest, AgentTeamCreateChannelResult, AgentTeamEnvironmentRequest, AgentTeamEnvironmentResult, AgentTeamGetAttachmentRequest, AgentTeamGetAttachmentResult, AgentTeamGetHumanAvatarRequest, AgentTeamGetHumanAvatarResult, AgentTeamHumanProfileRequest, AgentTeamHumanProfileResult, AgentTeamInbox, AgentTeamInboxRequest, AgentTeamJoinChannelRequest, AgentTeamJoinChannelResult, AgentTeamJoinWorkspaceRequest, AgentTeamJoinWorkspaceResult, AgentTeamLeaveWorkspaceRequest, AgentTeamLeaveWorkspaceResult, AgentTeamMemberResult, AgentTeamMembersRequest, AgentTeamPromoteThreadRequest, AgentTeamPromoteThreadResult, AgentTeamPutAttachmentRequest, AgentTeamPutAttachmentResult, AgentTeamPutHumanAvatarRequest, AgentTeamPutHumanAvatarResult, AgentTeamRecoverMemberRequest, AgentTeamRecoverMemberResult, AgentTeamRemoveChannelMemberRequest, AgentTeamRemoveChannelMemberResult, AgentTeamRemoveHumanAvatarRequest, AgentTeamRemoveHumanAvatarResult, AgentTeamReplyRequest, AgentTeamReplyResult, AgentTeamResolveTaskRefsRequest, AgentTeamResolveTaskRefsResult, AgentTeamResolveThreadRefsRequest, AgentTeamResolveThreadRefsResult, AgentTeamSendMessageRequest, AgentTeamSendMessageResult, AgentTeamSetHumanProfileRequest, AgentTeamSetHumanProfileResult, AgentTeamTaskRequest, AgentTeamTaskResult, AgentTeamThreadAttentionRequest, AgentTeamThreadAttentionResult, AgentTeamThreadHistory, AgentTeamThreadHistoryRequest, AgentTeamThreadObservations, AgentTeamThreadObservationsRequest, AgentTeamThreadReadRequest, AgentTeamThreadReadResult, AgentTeamUpdateChannelRequest, AgentTeamUpdateChannelResult, AgentTeamUpdateMemberRequest, AgentTeamView, AgentTeamViewRequest } from '@wowyuarm/dsh-agent-team/types'
|
|
7
|
+
import type { AgentTeamAddMemberRequest, AgentTeamAddMemberResult, AgentTeamArchiveChannelRequest, AgentTeamArchiveChannelResult, AgentTeamArchiveMemberRequest, AgentTeamArchiveMemberResult, AgentTeamChangesRequest, AgentTeamChangesResult, AgentTeamClearMemberContextRequest, AgentTeamClearMemberContextResult, AgentTeamClientMemberStatus, AgentTeamContextJudgeRequest, AgentTeamContextJudgeResult, AgentTeamCreateChannelRequest, AgentTeamCreateChannelResult, AgentTeamEnvironmentRequest, AgentTeamEnvironmentResult, AgentTeamGetAttachmentRequest, AgentTeamGetAttachmentResult, AgentTeamGetHumanAvatarRequest, AgentTeamGetHumanAvatarResult, AgentTeamHumanProfileRequest, AgentTeamHumanProfileResult, AgentTeamInbox, AgentTeamInboxRequest, AgentTeamJoinChannelRequest, AgentTeamJoinChannelResult, AgentTeamJoinWorkspaceRequest, AgentTeamJoinWorkspaceResult, AgentTeamLeaveWorkspaceRequest, AgentTeamLeaveWorkspaceResult, AgentTeamMemberResult, AgentTeamMembersRequest, AgentTeamPromoteThreadRequest, AgentTeamPromoteThreadResult, AgentTeamPutAttachmentRequest, AgentTeamPutAttachmentResult, AgentTeamPutHumanAvatarRequest, AgentTeamPutHumanAvatarResult, AgentTeamRecoverMemberRequest, AgentTeamRecoverMemberResult, AgentTeamRemoveChannelMemberRequest, AgentTeamRemoveChannelMemberResult, AgentTeamRemoveHumanAvatarRequest, AgentTeamRemoveHumanAvatarResult, AgentTeamReplyRequest, AgentTeamReplyResult, AgentTeamResolveTaskRefsRequest, AgentTeamResolveTaskRefsResult, AgentTeamResolveThreadRefsRequest, AgentTeamResolveThreadRefsResult, AgentTeamSendMessageRequest, AgentTeamSendMessageResult, AgentTeamSetHumanProfileRequest, AgentTeamSetHumanProfileResult, AgentTeamTaskRequest, AgentTeamTaskResult, AgentTeamThreadAttentionRequest, AgentTeamThreadAttentionResult, AgentTeamThreadHistory, AgentTeamThreadHistoryRequest, AgentTeamThreadObservations, AgentTeamThreadObservationsRequest, AgentTeamThreadReadRequest, AgentTeamThreadReadResult, AgentTeamUpdateChannelRequest, AgentTeamUpdateChannelResult, AgentTeamUpdateMemberRequest, AgentTeamView, AgentTeamViewRequest } from '@wowyuarm/dsh-agent-team/types'
|
|
8
8
|
|
|
9
9
|
declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
10
10
|
interface TypertRemoteNamespace$6167656e745465616d {
|
|
@@ -15,6 +15,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
15
15
|
changes: (request: AgentTeamChangesRequest, signal?: AbortSignal) => RemoteStreamHandle<AgentTeamChangesResult, never>
|
|
16
16
|
changeTask: (request: AgentTeamTaskRequest) => Promise<RemoteResult<AgentTeamTaskResult>>
|
|
17
17
|
clearMemberContext: (request: AgentTeamClearMemberContextRequest) => Promise<RemoteResult<AgentTeamClearMemberContextResult>>
|
|
18
|
+
contextJudge: (_request: AgentTeamContextJudgeRequest) => Promise<RemoteResult<AgentTeamContextJudgeResult>>
|
|
18
19
|
createChannel: (request: AgentTeamCreateChannelRequest) => Promise<RemoteResult<AgentTeamCreateChannelResult>>
|
|
19
20
|
environment: (_request: AgentTeamEnvironmentRequest) => Promise<RemoteResult<AgentTeamEnvironmentResult>>
|
|
20
21
|
getAttachment: (request: AgentTeamGetAttachmentRequest) => Promise<RemoteResult<AgentTeamGetAttachmentResult>>
|
|
@@ -51,6 +52,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
51
52
|
'agentTeam/changes': (request: AgentTeamChangesRequest, signal?: AbortSignal) => RemoteStreamHandle<AgentTeamChangesResult, never>
|
|
52
53
|
'agentTeam/changeTask': (request: AgentTeamTaskRequest) => Promise<RemoteResult<AgentTeamTaskResult>>
|
|
53
54
|
'agentTeam/clearMemberContext': (request: AgentTeamClearMemberContextRequest) => Promise<RemoteResult<AgentTeamClearMemberContextResult>>
|
|
55
|
+
'agentTeam/contextJudge': (_request: AgentTeamContextJudgeRequest) => Promise<RemoteResult<AgentTeamContextJudgeResult>>
|
|
54
56
|
'agentTeam/createChannel': (request: AgentTeamCreateChannelRequest) => Promise<RemoteResult<AgentTeamCreateChannelResult>>
|
|
55
57
|
'agentTeam/environment': (_request: AgentTeamEnvironmentRequest) => Promise<RemoteResult<AgentTeamEnvironmentResult>>
|
|
56
58
|
'agentTeam/getAttachment': (request: AgentTeamGetAttachmentRequest) => Promise<RemoteResult<AgentTeamGetAttachmentResult>>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typert.remote-client.d.ts","names":["addMember","archiveChannel","archiveMember","changeAttention","changes","changeTask","clearMemberContext","createChannel","environment","getAttachment","getHumanAvatar","humanProfile","inbox","joinChannel","joinWorkspace","leaveWorkspace","members","promoteThread","putAttachment","putHumanAvatar","readThread","recoverMember","removeChannelMember","removeHumanAvatar","reply","resolveTaskRefs","resolveThreadRefs","sendMessage","setHumanProfile","threadHistory","threadObservations","updateChannel","updateMember","view"],"sources":["../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"typert.remote-client.d.ts","names":["addMember","archiveChannel","archiveMember","changeAttention","changes","changeTask","clearMemberContext","contextJudge","createChannel","environment","getAttachment","getHumanAvatar","humanProfile","inbox","joinChannel","joinWorkspace","leaveWorkspace","members","promoteThread","putAttachment","putHumanAvatar","readThread","recoverMember","removeChannelMember","removeHumanAvatar","reply","resolveTaskRefs","resolveThreadRefs","sendMessage","setHumanProfile","threadHistory","threadObservations","updateChannel","updateMember","view"],"sources":["../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;IAsjCQA,S;IAVAC,c;IAqgBAC,a;IAkSAC,e;IA12BEC,O;IAmlBFC,U;IA/XAC,kB;IAghBNC,Y;IA5rBMC,a;IAquBNC,W;IA3DMC,a;IA4FAC,c;IA5BNC,Y;IAiGAC,K;IA5QMC,W;IAoBAC,a;IASAC,c;IA9oBNC,O;IAumBMC,a;IAoGAC,a;IAqGAC,c;IAoFAC,U;IA5uBAC,a;IAoeAC,mB;IAoMAC,iB;IA8CAC,K;IAx4BNC,e;IAaAC,iB;IAoqBMC,W;IA+LAC,e;IAgENC,a;IAPAC,kB;IAj1BMC,a;IAydAC,Y;IAsYNC,I;;;IAt0BMlC,qB;IAVAC,0B;IAqgBAC,yB;IAkSAC,2B;IA12BEC,mB;IAmlBFC,sB;IA/XAC,8B;IAghBNC,wB;IA5rBMC,yB;IAquBNC,uB;IA3DMC,yB;IA4FAC,0B;IA5BNC,wB;IAiGAC,iB;IA5QMC,uB;IAoBAC,yB;IASAC,0B;IA9oBNC,mB;IAumBMC,yB;IAoGAC,yB;IAqGAC,0B;IAoFAC,sB;IA5uBAC,yB;IAoeAC,+B;IAoMAC,6B;IA8CAC,iB;IAx4BNC,2B;IAaAC,6B;IAoqBMC,uB;IA+LAC,2B;IAgENC,yB;IAPAC,8B;IAj1BMC,yB;IAydAC,wB;IAsYNC,gB","ignoreList":[]}
|