@wowyuarm/dsh-agent-team 0.1.15 → 0.2.0

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.
Files changed (61) hide show
  1. package/README.md +7 -3
  2. package/README.zh.md +7 -3
  3. package/package.json +49 -47
  4. package/packages/agent-team/lib/context-source.js +11 -6
  5. package/packages/agent-team/lib/environment-check.js +102 -0
  6. package/packages/agent-team/lib/human-profile.js +23 -37
  7. package/packages/agent-team/lib/index.js +28 -2
  8. package/packages/agent-team/lib/installed-manifest.js +32 -0
  9. package/packages/agent-team/lib/ledger.js +35 -0
  10. package/packages/agent-team/lib/member-context.js +2 -4
  11. package/packages/agent-team/lib/member-time-context.js +2 -4
  12. package/packages/agent-team/lib/pressure-policy.js +13 -8
  13. package/packages/agent-team/lib/typert.host.js +121 -44
  14. package/packages/agent-team/lib/typert.remote-client.d.ts +3 -1
  15. package/packages/agent-team/lib/typert.remote-client.d.ts.map +1 -1
  16. package/packages/agent-team/lib/typert.remote-client.js +86 -38
  17. package/packages/agent-team/lib/types/context-source.d.ts +7 -4
  18. package/packages/agent-team/lib/types/context-source.d.ts.map +1 -1
  19. package/packages/agent-team/lib/types/environment-check.d.ts +66 -0
  20. package/packages/agent-team/lib/types/environment-check.d.ts.map +1 -0
  21. package/packages/agent-team/lib/types/human-profile.d.ts +21 -27
  22. package/packages/agent-team/lib/types/human-profile.d.ts.map +1 -1
  23. package/packages/agent-team/lib/types/index.d.ts +23 -2
  24. package/packages/agent-team/lib/types/index.d.ts.map +1 -1
  25. package/packages/agent-team/lib/types/installed-manifest.d.ts +16 -0
  26. package/packages/agent-team/lib/types/installed-manifest.d.ts.map +1 -0
  27. package/packages/agent-team/lib/types/ledger.d.ts +12 -0
  28. package/packages/agent-team/lib/types/ledger.d.ts.map +1 -1
  29. package/packages/agent-team/lib/types/member-context.d.ts.map +1 -1
  30. package/packages/agent-team/lib/types/member-time-context.d.ts.map +1 -1
  31. package/packages/agent-team/lib/types/pressure-policy.d.ts +5 -1
  32. package/packages/agent-team/lib/types/pressure-policy.d.ts.map +1 -1
  33. package/packages/agent-team/lib/types/types/entities.d.ts +1 -8
  34. package/packages/agent-team/lib/types/types/entities.d.ts.map +1 -1
  35. package/packages/agent-team/lib/types/types/requests-results.d.ts +66 -0
  36. package/packages/agent-team/lib/types/types/requests-results.d.ts.map +1 -1
  37. package/packages/client-agent-team/lib/client.js +324 -75
  38. package/packages/client-agent-team/lib/client.js.map +1 -1
  39. package/packages/client-agent-team/lib/types/client/EnvironmentCheck.d.ts +18 -0
  40. package/packages/client-agent-team/lib/types/client/EnvironmentCheck.d.ts.map +1 -0
  41. package/packages/client-agent-team/lib/types/client/EnvironmentCheck.js +58 -0
  42. package/packages/client-agent-team/lib/types/client/HumanSettingsSection.d.ts +3 -0
  43. package/packages/client-agent-team/lib/types/client/HumanSettingsSection.d.ts.map +1 -1
  44. package/packages/client-agent-team/lib/types/client/HumanSettingsSection.js +7 -4
  45. package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.js +0 -5
  46. package/packages/client-agent-team/lib/types/client/TeamPresenceDot.d.ts +1 -1
  47. package/packages/client-agent-team/lib/types/client/TeamPresenceDot.d.ts.map +1 -1
  48. package/packages/client-agent-team/lib/types/client/TeamPresenceDot.js +2 -7
  49. package/packages/client-agent-team/lib/types/client/environment-check.d.ts +65 -0
  50. package/packages/client-agent-team/lib/types/client/environment-check.d.ts.map +1 -0
  51. package/packages/client-agent-team/lib/types/client/environment-check.js +78 -0
  52. package/packages/client-agent-team/lib/types/client/index.d.ts.map +1 -1
  53. package/packages/client-agent-team/lib/types/client/index.js +9 -0
  54. package/packages/client-agent-team/lib/types/client/locales.d.ts +18 -8
  55. package/packages/client-agent-team/lib/types/client/locales.d.ts.map +1 -1
  56. package/packages/client-agent-team/lib/types/client/locales.js +21 -8
  57. package/packages/tool-agent-team/lib/context-tools.js +106 -94
  58. package/packages/tool-agent-team/lib/index.js +17 -2
  59. package/packages/tool-agent-team/lib/types/context-tools.d.ts +16 -7
  60. package/packages/tool-agent-team/lib/types/context-tools.d.ts.map +1 -1
  61. package/packages/tool-agent-team/lib/types/index.d.ts.map +1 -1
@@ -16,6 +16,7 @@
16
16
  */
17
17
  import { CONTEXT_WINDOW_EXCEEDED_CODE } from '@deepseek-ai/dsh-llm';
18
18
  import { createUserMessage } from '@deepseek-ai/dsh-llm';
19
+ import { contextPressureNoticeText as engineContextPressureNoticeText } from '@wowyuarm/dsh-context-continuity';
19
20
  import { AGENT_TEAM_PLUGIN_ID, isAgentTeamSourceKind } from "./context-source.js";
20
21
  import { advanceOwnedSessionEventCursor } from "./session-event-cursor.js";
21
22
  /**
@@ -43,15 +44,19 @@ export const PRESSURE_NOTICE_FOLD = {
43
44
  return false;
44
45
  },
45
46
  };
46
- /** One pressure-notice text; concise, structured, and inside the reserve. */
47
+ /**
48
+ * One pressure-notice text. The wording is the engine's — the same sentence a
49
+ * fresh-context handoff is asked for through — so the notice and the rollover
50
+ * tool cannot drift apart; Team supplies only its own labels and input shape.
51
+ */
47
52
  export function contextPressureNoticeText(input) {
48
- const claims = input.activeClaims.length === 0 ? 'none' : input.activeClaims.join(', ');
49
- const jobs = input.runningJobs.length === 0 ? 'none' : `${input.runningJobs.length} running (collect or stop them before switching)`;
50
- return [
51
- `Context pressure: ${input.usageTokens} tokens measured; the handoff budget is ${input.handoffAt} and the hard limit is ${input.hardLimit}.`,
52
- `Active Claims: ${claims}. Owner jobs: ${jobs}.`,
53
- 'Finish the current atomic action, then call context_rollover with a handoff covering your objective, verified facts, and external side effects — a fresh context is the default path. Record anything durable in your private memory/notes first.',
54
- ].join(' ');
53
+ return engineContextPressureNoticeText({
54
+ usageTokens: input.usageTokens,
55
+ handoffAt: input.handoffAt,
56
+ hardLimit: input.hardLimit,
57
+ inHand: input.activeClaims,
58
+ jobs: input.runningJobs,
59
+ }, { inHandLabel: 'Active Claims', jobsLabel: 'Owner jobs' });
55
60
  }
56
61
  /** Whether one user message is this policy's one-shot pressure notice. */
57
62
  function isPressureNotice(message) {
@@ -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(),
@@ -356,6 +354,20 @@ const _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema = () => (_w
356
354
  }).readonly(),
357
355
  'memberIds': z.array(z.intersection(z.string(), z.unknown())).readonly(),
358
356
  }))
357
+ let _wowyuarm_dsh_agent_team_agentTeam_environment_parameter_0$schema$value
358
+ const _wowyuarm_dsh_agent_team_agentTeam_environment_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_environment_parameter_0$schema$value ??= z.object({}))
359
+ let _wowyuarm_dsh_agent_team_agentTeam_environment_result$schema$value
360
+ const _wowyuarm_dsh_agent_team_agentTeam_environment_result$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_environment_result$schema$value ??= z.object({
361
+ 'verdict': z.union([z.literal("ok"), z.literal("out-of-range"), z.literal("undetermined")]).readonly(),
362
+ 'reason': z.union([z.undefined(), z.string()]).readonly().optional(),
363
+ 'bundleVersion': z.union([z.undefined(), z.string()]).readonly().optional(),
364
+ 'dshVersion': z.union([z.undefined(), z.string()]).readonly().optional(),
365
+ 'certifiedDshVersion': z.union([z.undefined(), z.string()]).readonly().optional(),
366
+ 'supportRange': z.union([z.undefined(), z.object({
367
+ 'lower': z.string().readonly(),
368
+ 'upper': z.string().readonly(),
369
+ })]).readonly().optional(),
370
+ }))
359
371
  let _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema$value
360
372
  const _wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema = () => (_wowyuarm_dsh_agent_team_agentTeam_getAttachment_parameter_0$schema$value ??= z.object({
361
373
  'attachmentId': z.intersection(z.string(), z.unknown()).readonly(),
@@ -578,7 +590,6 @@ const _wowyuarm_dsh_agent_team_agentTeam_members_result$schema = () => (_wowyuar
578
590
  'path': z.string().readonly(),
579
591
  }).readonly().optional(),
580
592
  'sessionId': z.intersection(z.string(), z.unknown()).readonly().optional(),
581
- 'remediable': z.boolean().readonly().optional(),
582
593
  }).readonly().optional(),
583
594
  'capabilityWarnings': z.union([z.undefined(), z.array(z.object({
584
595
  'name': z.string().readonly(),
@@ -846,7 +857,6 @@ const _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema = () => (_w
846
857
  'path': z.string().readonly(),
847
858
  }).readonly().optional(),
848
859
  'sessionId': z.intersection(z.string(), z.unknown()).readonly().optional(),
849
- 'remediable': z.boolean().readonly().optional(),
850
860
  }).readonly().optional(),
851
861
  'capabilityWarnings': z.union([z.undefined(), z.array(z.object({
852
862
  'name': z.string().readonly(),
@@ -1318,7 +1328,6 @@ const _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema = () => (_wo
1318
1328
  'path': z.string().readonly(),
1319
1329
  }).readonly().optional(),
1320
1330
  'sessionId': z.intersection(z.string(), z.unknown()).readonly().optional(),
1321
- 'remediable': z.boolean().readonly().optional(),
1322
1331
  }).readonly().optional(),
1323
1332
  'capabilityWarnings': z.union([z.undefined(), z.array(z.object({
1324
1333
  'name': z.string().readonly(),
@@ -1411,6 +1420,19 @@ const _wowyuarm_dsh_agent_team_agentTeam_view_result$schema = () => (_wowyuarm_d
1411
1420
  })).readonly(),
1412
1421
  'messageCount': z.number().readonly(),
1413
1422
  'lastActivityAt': z.string().readonly(),
1423
+ })).readonly(),
1424
+ 'activeTaskThreads': z.array(z.object({
1425
+ 'taskRef': z.intersection(z.string(), z.unknown()).readonly(),
1426
+ 'threadRef': z.intersection(z.string(), z.unknown()).readonly(),
1427
+ 'channelRef': z.intersection(z.string(), z.unknown()).readonly(),
1428
+ 'taskNumber': z.number().readonly().optional(),
1429
+ 'status': z.union([z.literal("done"), z.literal("todo"), z.literal("in_progress"), z.literal("in_review"), z.literal("closed")]).readonly(),
1430
+ 'subject': z.string().readonly(),
1431
+ 'members': z.array(z.object({
1432
+ 'memberId': z.intersection(z.string(), z.unknown()).readonly(),
1433
+ 'name': z.string().readonly(),
1434
+ })).readonly(),
1435
+ 'lastActivityAt': z.string().readonly(),
1414
1436
  })).readonly(),
1415
1437
  'claims': z.array(z.object({
1416
1438
  'claimRef': z.intersection(z.string(), z.unknown()).readonly(),
@@ -1481,7 +1503,7 @@ export const TYPERT = {
1481
1503
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamAddMemberResult',
1482
1504
  create: _wowyuarm_dsh_agent_team_agentTeam_addMember_result$schema,
1483
1505
  },
1484
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":891,"column":9},
1506
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":896,"column":9},
1485
1507
  },
1486
1508
  {
1487
1509
  id: '@wowyuarm/dsh-agent-team#agentTeam/archiveChannel',
@@ -1506,7 +1528,7 @@ export const TYPERT = {
1506
1528
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveChannelResult',
1507
1529
  create: _wowyuarm_dsh_agent_team_agentTeam_archiveChannel_result$schema,
1508
1530
  },
1509
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":881,"column":9},
1531
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":886,"column":9},
1510
1532
  },
1511
1533
  {
1512
1534
  id: '@wowyuarm/dsh-agent-team#agentTeam/archiveMember',
@@ -1531,7 +1553,7 @@ export const TYPERT = {
1531
1553
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamArchiveMemberResult',
1532
1554
  create: _wowyuarm_dsh_agent_team_agentTeam_archiveMember_result$schema,
1533
1555
  },
1534
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1271,"column":9},
1556
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1276,"column":9},
1535
1557
  },
1536
1558
  {
1537
1559
  id: '@wowyuarm/dsh-agent-team#agentTeam/changeAttention',
@@ -1556,7 +1578,7 @@ export const TYPERT = {
1556
1578
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadAttentionResult',
1557
1579
  create: _wowyuarm_dsh_agent_team_agentTeam_changeAttention_result$schema,
1558
1580
  },
1559
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1500,"column":9},
1581
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1527,"column":9},
1560
1582
  },
1561
1583
  {
1562
1584
  id: '@wowyuarm/dsh-agent-team#agentTeam/changes',
@@ -1583,7 +1605,7 @@ export const TYPERT = {
1583
1605
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamChangesResult',
1584
1606
  create: _wowyuarm_dsh_agent_team_agentTeam_changes_result$schema,
1585
1607
  },
1586
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":814,"column":11},
1608
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":819,"column":11},
1587
1609
  },
1588
1610
  {
1589
1611
  id: '@wowyuarm/dsh-agent-team#agentTeam/changeTask',
@@ -1608,7 +1630,7 @@ export const TYPERT = {
1608
1630
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamTaskResult',
1609
1631
  create: _wowyuarm_dsh_agent_team_agentTeam_changeTask_result$schema,
1610
1632
  },
1611
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1283,"column":9},
1633
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1288,"column":9},
1612
1634
  },
1613
1635
  {
1614
1636
  id: '@wowyuarm/dsh-agent-team#agentTeam/clearMemberContext',
@@ -1633,7 +1655,7 @@ export const TYPERT = {
1633
1655
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamClearMemberContextResult',
1634
1656
  create: _wowyuarm_dsh_agent_team_agentTeam_clearMemberContext_result$schema,
1635
1657
  },
1636
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":997,"column":9},
1658
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1002,"column":9},
1637
1659
  },
1638
1660
  {
1639
1661
  id: '@wowyuarm/dsh-agent-team#agentTeam/createChannel',
@@ -1658,7 +1680,33 @@ export const TYPERT = {
1658
1680
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamCreateChannelResult',
1659
1681
  create: _wowyuarm_dsh_agent_team_agentTeam_createChannel_result$schema,
1660
1682
  },
1661
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":854,"column":9},
1683
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":859,"column":9},
1684
+ },
1685
+ {
1686
+ id: '@wowyuarm/dsh-agent-team#agentTeam/environment',
1687
+ service: 'agentTeam',
1688
+ namespace: 'agentTeam',
1689
+ method: 'environment',
1690
+ implementation: 'environmentForClient',
1691
+ invocation: { kind: 'direct' },
1692
+ parameters: [
1693
+ {
1694
+ name: '_request',
1695
+ wire: '_request',
1696
+ source: 'json',
1697
+ codec: {
1698
+ mode: 'strict',
1699
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamEnvironmentRequest',
1700
+ create: _wowyuarm_dsh_agent_team_agentTeam_environment_parameter_0$schema,
1701
+ },
1702
+ },
1703
+ ],
1704
+ result: {
1705
+ mode: 'strict',
1706
+ typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamEnvironmentResult',
1707
+ create: _wowyuarm_dsh_agent_team_agentTeam_environment_result$schema,
1708
+ },
1709
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1434,"column":3},
1662
1710
  },
1663
1711
  {
1664
1712
  id: '@wowyuarm/dsh-agent-team#agentTeam/getAttachment',
@@ -1683,7 +1731,7 @@ export const TYPERT = {
1683
1731
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetAttachmentResult',
1684
1732
  create: _wowyuarm_dsh_agent_team_agentTeam_getAttachment_result$schema,
1685
1733
  },
1686
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1397,"column":9},
1734
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1402,"column":9},
1687
1735
  },
1688
1736
  {
1689
1737
  id: '@wowyuarm/dsh-agent-team#agentTeam/getHumanAvatar',
@@ -1708,7 +1756,7 @@ export const TYPERT = {
1708
1756
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamGetHumanAvatarResult',
1709
1757
  create: _wowyuarm_dsh_agent_team_agentTeam_getHumanAvatar_result$schema,
1710
1758
  },
1711
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1440,"column":9},
1759
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1467,"column":9},
1712
1760
  },
1713
1761
  {
1714
1762
  id: '@wowyuarm/dsh-agent-team#agentTeam/humanProfile',
@@ -1734,7 +1782,7 @@ export const TYPERT = {
1734
1782
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamHumanProfileResult',
1735
1783
  create: _wowyuarm_dsh_agent_team_agentTeam_humanProfile_result$schema,
1736
1784
  },
1737
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1412,"column":3},
1785
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1439,"column":3},
1738
1786
  },
1739
1787
  {
1740
1788
  id: '@wowyuarm/dsh-agent-team#agentTeam/inbox',
@@ -1759,7 +1807,7 @@ export const TYPERT = {
1759
1807
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamInbox',
1760
1808
  create: _wowyuarm_dsh_agent_team_agentTeam_inbox_result$schema,
1761
1809
  },
1762
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1509,"column":3},
1810
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1536,"column":3},
1763
1811
  },
1764
1812
  {
1765
1813
  id: '@wowyuarm/dsh-agent-team#agentTeam/joinChannel',
@@ -1784,7 +1832,7 @@ export const TYPERT = {
1784
1832
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinChannelResult',
1785
1833
  create: _wowyuarm_dsh_agent_team_agentTeam_joinChannel_result$schema,
1786
1834
  },
1787
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1303,"column":9},
1835
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1308,"column":9},
1788
1836
  },
1789
1837
  {
1790
1838
  id: '@wowyuarm/dsh-agent-team#agentTeam/joinWorkspace',
@@ -1809,7 +1857,7 @@ export const TYPERT = {
1809
1857
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamJoinWorkspaceResult',
1810
1858
  create: _wowyuarm_dsh_agent_team_agentTeam_joinWorkspace_result$schema,
1811
1859
  },
1812
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1323,"column":9},
1860
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1328,"column":9},
1813
1861
  },
1814
1862
  {
1815
1863
  id: '@wowyuarm/dsh-agent-team#agentTeam/leaveWorkspace',
@@ -1834,7 +1882,7 @@ export const TYPERT = {
1834
1882
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamLeaveWorkspaceResult',
1835
1883
  create: _wowyuarm_dsh_agent_team_agentTeam_leaveWorkspace_result$schema,
1836
1884
  },
1837
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1332,"column":9},
1885
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1337,"column":9},
1838
1886
  },
1839
1887
  {
1840
1888
  id: '@wowyuarm/dsh-agent-team#agentTeam/members',
@@ -1860,7 +1908,7 @@ export const TYPERT = {
1860
1908
  typeSymbol: '@wowyuarm/dsh-agent-team#agentTeam/members:result',
1861
1909
  create: _wowyuarm_dsh_agent_team_agentTeam_members_result$schema,
1862
1910
  },
1863
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":804,"column":3},
1911
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":809,"column":3},
1864
1912
  },
1865
1913
  {
1866
1914
  id: '@wowyuarm/dsh-agent-team#agentTeam/promoteThread',
@@ -1885,7 +1933,7 @@ export const TYPERT = {
1885
1933
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPromoteThreadResult',
1886
1934
  create: _wowyuarm_dsh_agent_team_agentTeam_promoteThread_result$schema,
1887
1935
  },
1888
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1293,"column":9},
1936
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1298,"column":9},
1889
1937
  },
1890
1938
  {
1891
1939
  id: '@wowyuarm/dsh-agent-team#agentTeam/putAttachment',
@@ -1910,7 +1958,7 @@ export const TYPERT = {
1910
1958
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutAttachmentResult',
1911
1959
  create: _wowyuarm_dsh_agent_team_agentTeam_putAttachment_result$schema,
1912
1960
  },
1913
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1384,"column":9},
1961
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1389,"column":9},
1914
1962
  },
1915
1963
  {
1916
1964
  id: '@wowyuarm/dsh-agent-team#agentTeam/putHumanAvatar',
@@ -1935,7 +1983,7 @@ export const TYPERT = {
1935
1983
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamPutHumanAvatarResult',
1936
1984
  create: _wowyuarm_dsh_agent_team_agentTeam_putHumanAvatar_result$schema,
1937
1985
  },
1938
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1432,"column":9},
1986
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1459,"column":9},
1939
1987
  },
1940
1988
  {
1941
1989
  id: '@wowyuarm/dsh-agent-team#agentTeam/readThread',
@@ -1960,7 +2008,7 @@ export const TYPERT = {
1960
2008
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadReadResult',
1961
2009
  create: _wowyuarm_dsh_agent_team_agentTeam_readThread_result$schema,
1962
2010
  },
1963
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1516,"column":9},
2011
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1543,"column":9},
1964
2012
  },
1965
2013
  {
1966
2014
  id: '@wowyuarm/dsh-agent-team#agentTeam/recoverMember',
@@ -1985,7 +2033,7 @@ export const TYPERT = {
1985
2033
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRecoverMemberResult',
1986
2034
  create: _wowyuarm_dsh_agent_team_agentTeam_recoverMember_result$schema,
1987
2035
  },
1988
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":954,"column":9},
2036
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":959,"column":9},
1989
2037
  },
1990
2038
  {
1991
2039
  id: '@wowyuarm/dsh-agent-team#agentTeam/removeChannelMember',
@@ -2010,7 +2058,7 @@ export const TYPERT = {
2010
2058
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveChannelMemberResult',
2011
2059
  create: _wowyuarm_dsh_agent_team_agentTeam_removeChannelMember_result$schema,
2012
2060
  },
2013
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1314,"column":9},
2061
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1319,"column":9},
2014
2062
  },
2015
2063
  {
2016
2064
  id: '@wowyuarm/dsh-agent-team#agentTeam/removeHumanAvatar',
@@ -2035,7 +2083,7 @@ export const TYPERT = {
2035
2083
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamRemoveHumanAvatarResult',
2036
2084
  create: _wowyuarm_dsh_agent_team_agentTeam_removeHumanAvatar_result$schema,
2037
2085
  },
2038
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1448,"column":9},
2086
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1475,"column":9},
2039
2087
  },
2040
2088
  {
2041
2089
  id: '@wowyuarm/dsh-agent-team#agentTeam/reply',
@@ -2060,7 +2108,7 @@ export const TYPERT = {
2060
2108
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamReplyResult',
2061
2109
  create: _wowyuarm_dsh_agent_team_agentTeam_reply_result$schema,
2062
2110
  },
2063
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1494,"column":9},
2111
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1521,"column":9},
2064
2112
  },
2065
2113
  {
2066
2114
  id: '@wowyuarm/dsh-agent-team#agentTeam/resolveTaskRefs',
@@ -2085,7 +2133,7 @@ export const TYPERT = {
2085
2133
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveTaskRefsResult',
2086
2134
  create: _wowyuarm_dsh_agent_team_agentTeam_resolveTaskRefs_result$schema,
2087
2135
  },
2088
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":778,"column":3},
2136
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":783,"column":3},
2089
2137
  },
2090
2138
  {
2091
2139
  id: '@wowyuarm/dsh-agent-team#agentTeam/resolveThreadRefs',
@@ -2110,7 +2158,7 @@ export const TYPERT = {
2110
2158
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamResolveThreadRefsResult',
2111
2159
  create: _wowyuarm_dsh_agent_team_agentTeam_resolveThreadRefs_result$schema,
2112
2160
  },
2113
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":791,"column":3},
2161
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":796,"column":3},
2114
2162
  },
2115
2163
  {
2116
2164
  id: '@wowyuarm/dsh-agent-team#agentTeam/sendMessage',
@@ -2135,7 +2183,7 @@ export const TYPERT = {
2135
2183
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSendMessageResult',
2136
2184
  create: _wowyuarm_dsh_agent_team_agentTeam_sendMessage_result$schema,
2137
2185
  },
2138
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1341,"column":9},
2186
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1346,"column":9},
2139
2187
  },
2140
2188
  {
2141
2189
  id: '@wowyuarm/dsh-agent-team#agentTeam/setHumanProfile',
@@ -2160,7 +2208,7 @@ export const TYPERT = {
2160
2208
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamSetHumanProfileResult',
2161
2209
  create: _wowyuarm_dsh_agent_team_agentTeam_setHumanProfile_result$schema,
2162
2210
  },
2163
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1470,"column":9},
2211
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1497,"column":9},
2164
2212
  },
2165
2213
  {
2166
2214
  id: '@wowyuarm/dsh-agent-team#agentTeam/threadHistory',
@@ -2185,7 +2233,7 @@ export const TYPERT = {
2185
2233
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadHistory',
2186
2234
  create: _wowyuarm_dsh_agent_team_agentTeam_threadHistory_result$schema,
2187
2235
  },
2188
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1534,"column":3},
2236
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1561,"column":3},
2189
2237
  },
2190
2238
  {
2191
2239
  id: '@wowyuarm/dsh-agent-team#agentTeam/threadObservations',
@@ -2210,7 +2258,7 @@ export const TYPERT = {
2210
2258
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamThreadObservations',
2211
2259
  create: _wowyuarm_dsh_agent_team_agentTeam_threadObservations_result$schema,
2212
2260
  },
2213
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1527,"column":3},
2261
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1554,"column":3},
2214
2262
  },
2215
2263
  {
2216
2264
  id: '@wowyuarm/dsh-agent-team#agentTeam/updateChannel',
@@ -2235,7 +2283,7 @@ export const TYPERT = {
2235
2283
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamUpdateChannelResult',
2236
2284
  create: _wowyuarm_dsh_agent_team_agentTeam_updateChannel_result$schema,
2237
2285
  },
2238
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":866,"column":9},
2286
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":871,"column":9},
2239
2287
  },
2240
2288
  {
2241
2289
  id: '@wowyuarm/dsh-agent-team#agentTeam/updateMember',
@@ -2260,7 +2308,7 @@ export const TYPERT = {
2260
2308
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamMemberResult',
2261
2309
  create: _wowyuarm_dsh_agent_team_agentTeam_updateMember_result$schema,
2262
2310
  },
2263
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1211,"column":9},
2311
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1216,"column":9},
2264
2312
  },
2265
2313
  {
2266
2314
  id: '@wowyuarm/dsh-agent-team#agentTeam/view',
@@ -2285,7 +2333,7 @@ export const TYPERT = {
2285
2333
  typeSymbol: '@wowyuarm/dsh-agent-team/types#AgentTeamView',
2286
2334
  create: _wowyuarm_dsh_agent_team_agentTeam_view_result$schema,
2287
2335
  },
2288
- sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1541,"column":3},
2336
+ sourceLocation: {"file":"packages/agent-team/src/index.ts","line":1568,"column":3},
2289
2337
  },
2290
2338
  ],
2291
2339
  model: {
@@ -2499,12 +2547,17 @@ export const TYPERT = {
2499
2547
  "summary": "Read one cached attachment back for client display; gone entries throw and the UI degrades to a chip.",
2500
2548
  "jsDoc": "/** Read one cached attachment back for client display; gone entries throw and the UI degrades to a chip. */"
2501
2549
  },
2550
+ {
2551
+ "kind": "method",
2552
+ "name": "environmentForClient",
2553
+ "signature": "@Remote('environment') environmentForClient(_request: AgentTeamEnvironmentRequest): AgentTeamEnvironmentResult",
2554
+ "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.",
2555
+ "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 */"
2556
+ },
2502
2557
  {
2503
2558
  "kind": "method",
2504
2559
  "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 */"
2560
+ "signature": "@Remote('humanProfile') humanProfileForClient(_request: AgentTeamHumanProfileRequest): AgentTeamHumanProfileResult"
2508
2561
  },
2509
2562
  {
2510
2563
  "kind": "method",
@@ -2731,6 +2784,10 @@ export const TYPERT = {
2731
2784
  "name": "AgentStatus",
2732
2785
  "declaration": "export type AgentStatus = 'idle' | 'running';"
2733
2786
  },
2787
+ {
2788
+ "name": "AgentTeamActiveTaskThread",
2789
+ "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}"
2790
+ },
2734
2791
  {
2735
2792
  "name": "AgentTeamActivity",
2736
2793
  "declaration": "export type AgentTeamActivity = AgentTeamClaimActivity | AgentTeamTaskActivity | AgentTeamClaimsReleasedActivity;"
@@ -2903,6 +2960,22 @@ export const TYPERT = {
2903
2960
  "name": "AgentTeamDurableMemberResult",
2904
2961
  "declaration": "export interface AgentTeamDurableMemberResult {\n readonly receipt: AgentTeamOperationReceipt;\n readonly member: AgentTeamAgentMember;\n}"
2905
2962
  },
2963
+ {
2964
+ "name": "AgentTeamEnvironmentRequest",
2965
+ "declaration": "export interface AgentTeamEnvironmentRequest {\n}"
2966
+ },
2967
+ {
2968
+ "name": "AgentTeamEnvironmentResult",
2969
+ "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}"
2970
+ },
2971
+ {
2972
+ "name": "AgentTeamEnvironmentSupportRange",
2973
+ "declaration": "export interface AgentTeamEnvironmentSupportRange {\n readonly lower: string;\n readonly upper: string;\n}"
2974
+ },
2975
+ {
2976
+ "name": "AgentTeamEnvironmentVerdict",
2977
+ "declaration": "export type AgentTeamEnvironmentVerdict = 'ok' | 'out-of-range' | 'undetermined';"
2978
+ },
2906
2979
  {
2907
2980
  "name": "AgentTeamGetAttachmentRequest",
2908
2981
  "declaration": "export interface AgentTeamGetAttachmentRequest {\n readonly attachmentId: AgentTeamAttachmentId;\n}"
@@ -2973,7 +3046,7 @@ export const TYPERT = {
2973
3046
  },
2974
3047
  {
2975
3048
  "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 readonly remediable?: boolean;\n}"
3049
+ "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
3050
  },
2978
3051
  {
2979
3052
  "name": "AgentTeamMemberDiagnosticClass",
@@ -3281,7 +3354,7 @@ export const TYPERT = {
3281
3354
  },
3282
3355
  {
3283
3356
  "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}"
3357
+ "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
3358
  },
3286
3359
  {
3287
3360
  "name": "AgentTeamViewItem",
@@ -3573,7 +3646,7 @@ export const TYPERT = {
3573
3646
  },
3574
3647
  {
3575
3648
  "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}"
3649
+ "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
3650
  },
3578
3651
  {
3579
3652
  "name": "SessionEvent",
@@ -3683,6 +3756,10 @@ export const TYPERT = {
3683
3756
  "name": "ToolCallId",
3684
3757
  "declaration": "export type ToolCallId = Branded<'ToolCallId'>;"
3685
3758
  },
3759
+ {
3760
+ "name": "ToolHistory",
3761
+ "declaration": "export interface ToolHistory {\n readonly tools: readonly ToolSchema[];\n readonly updates: readonly { readonly messageId: MessageId; readonly additions: readonly ToolSchema[]; }[];\n}"
3762
+ },
3686
3763
  {
3687
3764
  "name": "ToolMessageSource",
3688
3765
  "declaration": "export interface ToolMessageSource {\n kind: 'tool';\n callId: ToolCallId;\n}"
@@ -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, 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, 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 {
@@ -16,6 +16,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
16
16
  changeTask: (request: AgentTeamTaskRequest) => Promise<RemoteResult<AgentTeamTaskResult>>
17
17
  clearMemberContext: (request: AgentTeamClearMemberContextRequest) => Promise<RemoteResult<AgentTeamClearMemberContextResult>>
18
18
  createChannel: (request: AgentTeamCreateChannelRequest) => Promise<RemoteResult<AgentTeamCreateChannelResult>>
19
+ environment: (_request: AgentTeamEnvironmentRequest) => Promise<RemoteResult<AgentTeamEnvironmentResult>>
19
20
  getAttachment: (request: AgentTeamGetAttachmentRequest) => Promise<RemoteResult<AgentTeamGetAttachmentResult>>
20
21
  getHumanAvatar: (request: AgentTeamGetHumanAvatarRequest) => Promise<RemoteResult<AgentTeamGetHumanAvatarResult>>
21
22
  humanProfile: (_request: AgentTeamHumanProfileRequest) => Promise<RemoteResult<AgentTeamHumanProfileResult>>
@@ -51,6 +52,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
51
52
  'agentTeam/changeTask': (request: AgentTeamTaskRequest) => Promise<RemoteResult<AgentTeamTaskResult>>
52
53
  'agentTeam/clearMemberContext': (request: AgentTeamClearMemberContextRequest) => Promise<RemoteResult<AgentTeamClearMemberContextResult>>
53
54
  'agentTeam/createChannel': (request: AgentTeamCreateChannelRequest) => Promise<RemoteResult<AgentTeamCreateChannelResult>>
55
+ 'agentTeam/environment': (_request: AgentTeamEnvironmentRequest) => Promise<RemoteResult<AgentTeamEnvironmentResult>>
54
56
  'agentTeam/getAttachment': (request: AgentTeamGetAttachmentRequest) => Promise<RemoteResult<AgentTeamGetAttachmentResult>>
55
57
  'agentTeam/getHumanAvatar': (request: AgentTeamGetHumanAvatarRequest) => Promise<RemoteResult<AgentTeamGetHumanAvatarResult>>
56
58
  'agentTeam/humanProfile': (_request: AgentTeamHumanProfileRequest) => Promise<RemoteResult<AgentTeamHumanProfileResult>>
@@ -1 +1 @@
1
- {"version":3,"file":"typert.remote-client.d.ts","names":["addMember","archiveChannel","archiveMember","changeAttention","changes","changeTask","clearMemberContext","createChannel","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":";;;;;;;;;;IA03BQA,S;IAVAC,c;IAsYAC,a;IAqOAC,e;IA9qBEC,O;IAqdFC,U;IA9RAC,kB;IA/IAC,a;IA+hBAC,a;IA2CAC,c;IA5BNC,Y;IAiGAC,K;IA9MMC,W;IAoBAC,a;IASAC,c;IAhhBNC,O;IAyeMC,a;IA2FAC,a;IAgDAC,c;IAoFAC,U;IAljBAC,a;IAwWAC,mB;IAsIAC,iB;IA8CAC,K;IA5sBNC,e;IAaAC,iB;IAsiBMC,W;IAiIAC,e;IAgENC,a;IAPAC,kB;IArpBMC,a;IAyVAC,Y;IA0UNC,I;;;IA1oBMhC,qB;IAVAC,0B;IAsYAC,yB;IAqOAC,2B;IA9qBEC,mB;IAqdFC,sB;IA9RAC,8B;IA/IAC,yB;IA+hBAC,yB;IA2CAC,0B;IA5BNC,wB;IAiGAC,iB;IA9MMC,uB;IAoBAC,yB;IASAC,0B;IAhhBNC,mB;IAyeMC,yB;IA2FAC,yB;IAgDAC,0B;IAoFAC,sB;IAljBAC,yB;IAwWAC,+B;IAsIAC,6B;IA8CAC,iB;IA5sBNC,2B;IAaAC,6B;IAsiBMC,uB;IAiIAC,2B;IAgENC,yB;IAPAC,8B;IArpBMC,yB;IAyVAC,wB;IA0UNC,gB","ignoreList":[]}
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":";;;;;;;;;;IA+3BQA,S;IAVAC,c;IAsYAC,a;IA2PAC,e;IApsBEC,O;IAqdFC,U;IA9RAC,kB;IA/IAC,a;IA+jBNC,W;IAhCMC,a;IAiEAC,c;IA5BNC,Y;IAiGAC,K;IApOMC,W;IAoBAC,a;IASAC,c;IAhhBNC,O;IAyeMC,a;IA2FAC,a;IAsEAC,c;IAoFAC,U;IAxkBAC,a;IAwWAC,mB;IA4JAC,iB;IA8CAC,K;IAluBNC,e;IAaAC,iB;IAsiBMC,W;IAuJAC,e;IAgENC,a;IAPAC,kB;IA3qBMC,a;IAyVAC,Y;IAgWNC,I;;;IAhqBMjC,qB;IAVAC,0B;IAsYAC,yB;IA2PAC,2B;IApsBEC,mB;IAqdFC,sB;IA9RAC,8B;IA/IAC,yB;IA+jBNC,uB;IAhCMC,yB;IAiEAC,0B;IA5BNC,wB;IAiGAC,iB;IApOMC,uB;IAoBAC,yB;IASAC,0B;IAhhBNC,mB;IAyeMC,yB;IA2FAC,yB;IAsEAC,0B;IAoFAC,sB;IAxkBAC,yB;IAwWAC,+B;IA4JAC,6B;IA8CAC,iB;IAluBNC,2B;IAaAC,6B;IAsiBMC,uB;IAuJAC,2B;IAgENC,yB;IAPAC,8B;IA3qBMC,yB;IAyVAC,wB;IAgWNC,gB","ignoreList":[]}