@makaio/framework 1.0.0-dev-1783940945655 → 1.0.0-dev-1783973359164

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 (120) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapter-subsystem/index.d.mts +10 -0
  3. package/dist/adapter-subsystem/index.mjs +1 -1
  4. package/dist/authority-state-bootstrap-CEuKScnL.mjs +1 -0
  5. package/dist/bus/index.d.mts +31 -31
  6. package/dist/bus/index.mjs +1 -1
  7. package/dist/{canonical-model-CVRCW9h7.mjs → canonical-model-C31NaBJs.mjs} +1 -1
  8. package/dist/clients/index.d.mts +5 -5
  9. package/dist/contracts/adapter/index.d.mts +2 -2
  10. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  11. package/dist/contracts/canonical-model/index.d.mts +1 -1
  12. package/dist/contracts/canonical-model/index.mjs +1 -1
  13. package/dist/contracts/client/index.d.mts +1 -1
  14. package/dist/contracts/extension/index.d.mts +2 -2
  15. package/dist/contracts/facet/index.d.mts +1 -1
  16. package/dist/contracts/index.d.mts +228 -160
  17. package/dist/contracts/index.mjs +1 -1
  18. package/dist/contracts/native-session-supervisor/index.d.mts +2 -2
  19. package/dist/contracts/session/index.d.mts +3 -3
  20. package/dist/contracts/shared/index.d.mts +1 -1
  21. package/dist/contracts/variant/index.d.mts +1 -1
  22. package/dist/contracts/workflow/index.d.mts +3 -3
  23. package/dist/contracts/workflow/index.mjs +1 -1
  24. package/dist/{detached-extension-handle-CTaQoolf.mjs → detached-extension-handle-vDK194QV.mjs} +1 -1
  25. package/dist/drizzle/0026_m_mrgvi7fq.sql +16 -0
  26. package/dist/drizzle/0027_m_mrgw0uzg.sql +1 -0
  27. package/dist/drizzle/0028_m_mrgx04i1.sql +1 -0
  28. package/dist/drizzle/0029_terminal-authority.sql +1 -0
  29. package/dist/drizzle/meta/_journal.json +28 -0
  30. package/dist/{index-Do7Wgio_2.d.mts → index-BDr2Ba122.d.mts} +1 -1
  31. package/dist/{index-p6dWV52m.d.mts → index-BKZAAWo2.d.mts} +330 -330
  32. package/dist/{index-CB2XTzvd.d.mts → index-Bbr5LEUc.d.mts} +1 -1
  33. package/dist/{index-5s_dN3cg2.d.mts → index-BmsPH78f2.d.mts} +33 -5
  34. package/dist/{index-BsEvzFey.d.mts → index-ButbwvVY.d.mts} +6 -6
  35. package/dist/{index-D5IEq4_E.d.mts → index-C2C1qH1Y.d.mts} +6 -4
  36. package/dist/{index-BtL7ONuM.d.mts → index-C6LZOiDv.d.mts} +149 -1
  37. package/dist/{index-DxatNFz7.d.mts → index-COC9jCdc.d.mts} +12 -12
  38. package/dist/{index-BcejR1Jc.d.mts → index-CtjLeK1F.d.mts} +1 -1
  39. package/dist/{index-Cw3cjGAT.d.mts → index-Cx8jGKOs.d.mts} +11 -11
  40. package/dist/{index-DNc1yLQs.d.mts → index-DHGW7dFf.d.mts} +8 -8
  41. package/dist/{index-DlUPWOh4.d.mts → index-DNkR5yTY.d.mts} +2876 -709
  42. package/dist/{index-iJP-l15K.d.mts → index-DXBiCH2y.d.mts} +27 -1
  43. package/dist/{index-CW6-0k3Z.d.mts → index-DlAfs3RD.d.mts} +105 -105
  44. package/dist/{index-sCOlgPyj.d.mts → index-DpZbaS7y.d.mts} +388 -388
  45. package/dist/{index-C9Q1E8Y-.d.mts → index-x2gFj3BK.d.mts} +38 -38
  46. package/dist/kernel/extension/index.d.mts +1 -1
  47. package/dist/kernel/index.d.mts +2 -2
  48. package/dist/kernel/observability/index.d.mts +1 -1
  49. package/dist/{load-extensions-BtUrq2_t.mjs → load-extensions-nqL5WAKj.mjs} +1 -1
  50. package/dist/mcp-http-server/index.d.mts +27 -90
  51. package/dist/mcp-http-server/index.mjs +1 -1
  52. package/dist/{namespace-CQBSXm1U.d.mts → namespace-B0uZIZYT.d.mts} +20 -20
  53. package/dist/{namespace-CfgtqUWS.d.mts → namespace-BoA6u44C.d.mts} +156 -156
  54. package/dist/{namespace-CpyL93kW.d.mts → namespace-CCZXyxSe.d.mts} +9 -9
  55. package/dist/{namespace-D3SQQgxa2.d.mts → namespace-CukqFYHf2.d.mts} +1 -1
  56. package/dist/{namespace-CGgOLxiW2.d.mts → namespace-rO-C2Dgu2.d.mts} +2 -2
  57. package/dist/package-BYpWkSuQ.mjs +1 -0
  58. package/dist/package-CsFFT9iR.mjs +7 -0
  59. package/dist/{package-CdBiknf3.d.mts → package-DG9GSY8M.d.mts} +52 -1
  60. package/dist/package.json +1 -1
  61. package/dist/rules/index.mjs +1 -1
  62. package/dist/runtime-node/extension-validation.mjs +1 -1
  63. package/dist/runtime-node/index.d.mts +4 -89
  64. package/dist/runtime-node/index.mjs +24 -24
  65. package/dist/runtime-node/makaio-config.mjs +1 -1
  66. package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
  67. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  68. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  69. package/dist/{schema-BnTOFCdU.d.mts → schema-aOwmHxaF.d.mts} +1 -1
  70. package/dist/{schemas--uwN5dfK2.d.mts → schemas-CoJCTFod2.d.mts} +19 -19
  71. package/dist/{schemas-C17AifUQ.d.mts → schemas-OaBqeEUT.d.mts} +156 -156
  72. package/dist/schemas-th_nuC5t.mjs +1 -0
  73. package/dist/service-base/index.d.mts +4 -3
  74. package/dist/service-base/index.mjs +1 -1
  75. package/dist/services/agent-runtime/index.d.mts +2 -2
  76. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  77. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  78. package/dist/services/context-rules/index.d.mts +3 -3
  79. package/dist/services/execution-target/index.d.mts +1 -1
  80. package/dist/services/filesystem/namespace.d.mts +6 -6
  81. package/dist/services/filesystem/schemas.d.mts +3 -3
  82. package/dist/services/index.d.mts +104 -104
  83. package/dist/services/index.mjs +1 -1
  84. package/dist/services/session/index.d.mts +5 -5
  85. package/dist/services/session/messages/namespace.d.mts +1 -1
  86. package/dist/services/session/session-events/namespace.d.mts +1 -1
  87. package/dist/services/session/storage/namespace.d.mts +1 -1
  88. package/dist/services/session/storage/schema.d.mts +1 -1
  89. package/dist/services/settings/namespace.d.mts +16 -16
  90. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  91. package/dist/services/subagent/index.d.mts +2 -2
  92. package/dist/services/subagent/index.mjs +1 -1
  93. package/dist/services/subagent-template/index.d.mts +2 -2
  94. package/dist/services/subagent-template/namespace.d.mts +1 -1
  95. package/dist/services/subagent-template/schemas.d.mts +1 -1
  96. package/dist/services/tools/index.mjs +1 -1
  97. package/dist/{session-lineage-BLw8iWAj.d.mts → session-lineage-YShrn77v.d.mts} +1 -1
  98. package/dist/storage/drizzle/index.d.mts +8 -1
  99. package/dist/storage/drizzle/index.mjs +1 -1
  100. package/dist/tools/index.d.mts +1 -1
  101. package/dist/{tools-C8vqn1KY.mjs → tools-PC_L6g2m.mjs} +1 -1
  102. package/dist/{transition-Bfe8VVc1.d.mts → transition-CwUIm1hJ.d.mts} +8 -0
  103. package/dist/{types-q95p55BF.d.mts → types-BaDYigzD.d.mts} +567 -256
  104. package/dist/workflow-DFJYGjq_.mjs +1 -0
  105. package/dist/workflow-engine/index.d.mts +690 -87
  106. package/dist/workflow-engine/index.mjs +1 -1
  107. package/dist/workflow-engine/package.d.mts +1 -1
  108. package/dist/workflow-engine/package.mjs +1 -1
  109. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  110. package/dist/workflow-worker-BEFjCccX.mjs +1 -0
  111. package/package.json +9 -8
  112. package/dist/loop-gate-handlers-0a3dIY8O.mjs +0 -1
  113. package/dist/package-0gVhAVkO.mjs +0 -7
  114. package/dist/package-BwvGaKwn.mjs +0 -1
  115. package/dist/schemas-D6lj9NMg.mjs +0 -1
  116. package/dist/workflow-CvVAZ89A.mjs +0 -1
  117. package/dist/workflow-worker-CudfEstp.mjs +0 -1
  118. /package/dist/{await-trigger-D623tvig.mjs → await-trigger-DP-fTQc4.mjs} +0 -0
  119. /package/dist/{descriptor-to-package-D5SWf6TL.mjs → descriptor-to-package-Rs-OjOQU.mjs} +0 -0
  120. /package/dist/{esm-oHhRYTEn.mjs → esm-C_WW4-pP.mjs} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { i as JsonValue$1 } from "./json-value-C8duSh9X.mjs";
2
- import { s as MessageBlock$1 } from "./index-CB2XTzvd.mjs";
2
+ import { s as MessageBlock$1 } from "./index-Bbr5LEUc.mjs";
3
3
  import * as _$zod from "zod";
4
4
  import { z } from "zod";
5
5
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -24,8 +24,8 @@ declare const SessionCreateBaseSchema: z.ZodObject<{
24
24
  forkPointMessageId: z.ZodOptional<z.ZodString>;
25
25
  branchKind: z.ZodOptional<z.ZodEnum<{
26
26
  fork: "fork";
27
- branch: "branch";
28
27
  subagent: "subagent";
28
+ branch: "branch";
29
29
  compress: "compress";
30
30
  rewrite: "rewrite";
31
31
  coordinator: "coordinator";
@@ -178,8 +178,8 @@ declare const MakaioSessionSchema: z.ZodObject<{
178
178
  forkPointMessageId: z.ZodOptional<z.ZodString>;
179
179
  branchKind: z.ZodOptional<z.ZodEnum<{
180
180
  fork: "fork";
181
- branch: "branch";
182
181
  subagent: "subagent";
182
+ branch: "branch";
183
183
  compress: "compress";
184
184
  rewrite: "rewrite";
185
185
  coordinator: "coordinator";
@@ -306,8 +306,8 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
306
306
  forkPointMessageId: z.ZodOptional<z.ZodString>;
307
307
  branchKind: z.ZodOptional<z.ZodEnum<{
308
308
  fork: "fork";
309
- branch: "branch";
310
309
  subagent: "subagent";
310
+ branch: "branch";
311
311
  compress: "compress";
312
312
  rewrite: "rewrite";
313
313
  coordinator: "coordinator";
@@ -508,8 +508,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
508
508
  forkPointMessageId: z.ZodOptional<z.ZodString>;
509
509
  branchKind: z.ZodOptional<z.ZodEnum<{
510
510
  fork: "fork";
511
- branch: "branch";
512
511
  subagent: "subagent";
512
+ branch: "branch";
513
513
  compress: "compress";
514
514
  rewrite: "rewrite";
515
515
  coordinator: "coordinator";
@@ -996,8 +996,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
996
996
  parentSessionId: z.ZodString;
997
997
  kind: z.ZodEnum<{
998
998
  fork: "fork";
999
- branch: "branch";
1000
999
  subagent: "subagent";
1000
+ branch: "branch";
1001
1001
  compress: "compress";
1002
1002
  rewrite: "rewrite";
1003
1003
  coordinator: "coordinator";
@@ -1121,8 +1121,8 @@ type AgentRole = z.infer<typeof AgentRoleSchema>;
1121
1121
  */
1122
1122
  declare const BranchKindSchema: z.ZodEnum<{
1123
1123
  fork: "fork";
1124
- branch: "branch";
1125
1124
  subagent: "subagent";
1125
+ branch: "branch";
1126
1126
  compress: "compress";
1127
1127
  rewrite: "rewrite";
1128
1128
  coordinator: "coordinator";
@@ -1458,6 +1458,316 @@ declare const TurnIngestionMarkerSchema$1: z.ZodEnum<{
1458
1458
  }>;
1459
1459
  /** Parsed type for {@link TurnIngestionMarkerSchema}. */
1460
1460
  type TurnIngestionMarker$1 = z.infer<typeof TurnIngestionMarkerSchema$1>;
1461
+ declare const AgentAttachResolvedRequestSchema: z.ZodObject<{
1462
+ sessionId: z.ZodString;
1463
+ agent: z.ZodObject<{
1464
+ providerConfigId: z.ZodOptional<z.ZodString>;
1465
+ model: z.ZodOptional<z.ZodString>;
1466
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
1467
+ none: "none";
1468
+ low: "low";
1469
+ medium: "medium";
1470
+ high: "high";
1471
+ "extra-high": "extra-high";
1472
+ }>>;
1473
+ cwd: z.ZodOptional<z.ZodString>;
1474
+ systemPrompt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1475
+ mode: z.ZodLiteral<"append">;
1476
+ content: z.ZodString;
1477
+ }, z.core.$strip>]>>;
1478
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1479
+ disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1480
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1481
+ mcpSessionContext: z.ZodOptional<z.ZodObject<{
1482
+ sessionId: z.ZodString;
1483
+ servers: z.ZodArray<z.ZodObject<{
1484
+ name: z.ZodString;
1485
+ transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
1486
+ type: z.ZodLiteral<"stdio">;
1487
+ command: z.ZodString;
1488
+ args: z.ZodOptional<z.ZodArray<z.ZodString>>;
1489
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1490
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
1491
+ }, z.core.$strip>, z.ZodObject<{
1492
+ url: z.ZodString;
1493
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1494
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
1495
+ name: z.ZodString;
1496
+ permission_policy: z.ZodEnum<{
1497
+ always_allow: "always_allow";
1498
+ always_ask: "always_ask";
1499
+ always_deny: "always_deny";
1500
+ }>;
1501
+ }, z.core.$strip>>>;
1502
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
1503
+ type: z.ZodLiteral<"sse">;
1504
+ }, z.core.$strip>, z.ZodObject<{
1505
+ url: z.ZodString;
1506
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1507
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
1508
+ name: z.ZodString;
1509
+ permission_policy: z.ZodEnum<{
1510
+ always_allow: "always_allow";
1511
+ always_ask: "always_ask";
1512
+ always_deny: "always_deny";
1513
+ }>;
1514
+ }, z.core.$strip>>>;
1515
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
1516
+ type: z.ZodLiteral<"http">;
1517
+ }, z.core.$strip>], "type">;
1518
+ exposureMode: z.ZodEnum<{
1519
+ direct: "direct";
1520
+ discovery: "discovery";
1521
+ }>;
1522
+ }, z.core.$strip>>;
1523
+ directTools: z.ZodArray<z.ZodObject<{
1524
+ fullName: z.ZodString;
1525
+ originalName: z.ZodString;
1526
+ serverName: z.ZodString;
1527
+ description: z.ZodOptional<z.ZodString>;
1528
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1529
+ exposureMode: z.ZodEnum<{
1530
+ direct: "direct";
1531
+ discovery: "discovery";
1532
+ hidden: "hidden";
1533
+ }>;
1534
+ enabled: z.ZodBoolean;
1535
+ enabledBy: z.ZodOptional<z.ZodEnum<{
1536
+ discovery: "discovery";
1537
+ toolset: "toolset";
1538
+ }>>;
1539
+ enabledAt: z.ZodOptional<z.ZodNumber>;
1540
+ exposed: z.ZodBoolean;
1541
+ }, z.core.$strip>>;
1542
+ discoverableTools: z.ZodArray<z.ZodObject<{
1543
+ fullName: z.ZodString;
1544
+ originalName: z.ZodString;
1545
+ serverName: z.ZodString;
1546
+ description: z.ZodOptional<z.ZodString>;
1547
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1548
+ exposureMode: z.ZodEnum<{
1549
+ direct: "direct";
1550
+ discovery: "discovery";
1551
+ hidden: "hidden";
1552
+ }>;
1553
+ enabled: z.ZodBoolean;
1554
+ enabledBy: z.ZodOptional<z.ZodEnum<{
1555
+ discovery: "discovery";
1556
+ toolset: "toolset";
1557
+ }>>;
1558
+ enabledAt: z.ZodOptional<z.ZodNumber>;
1559
+ exposed: z.ZodBoolean;
1560
+ }, z.core.$strip>>;
1561
+ }, z.core.$strip>>;
1562
+ allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
1563
+ adapterConfig: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1564
+ kind: z.ZodLiteral<"adapter">;
1565
+ adapterName: z.ZodOptional<z.ZodString>;
1566
+ adapterId: z.ZodOptional<z.ZodString>;
1567
+ providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1568
+ state: z.ZodLiteral<"resolved">;
1569
+ providerConfigId: z.ZodString;
1570
+ definitionId: z.ZodString;
1571
+ endpointOverrides: z.ZodOptional<z.ZodObject<{
1572
+ anthropic: z.ZodOptional<z.ZodString>;
1573
+ openai: z.ZodOptional<z.ZodString>;
1574
+ }, z.core.$strip>>;
1575
+ auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
1576
+ mode: z.ZodLiteral<"explicit">;
1577
+ method: z.ZodDiscriminatedUnion<[z.ZodObject<{
1578
+ owner: z.ZodLiteral<"provider">;
1579
+ providerDefinitionId: z.ZodString;
1580
+ methodId: z.ZodString;
1581
+ }, z.core.$strict>, z.ZodObject<{
1582
+ owner: z.ZodLiteral<"client">;
1583
+ clientId: z.ZodString;
1584
+ methodId: z.ZodString;
1585
+ }, z.core.$strict>], "owner">;
1586
+ definition: z.ZodObject<{
1587
+ id: z.ZodString;
1588
+ mode: z.ZodLiteral<"explicit">;
1589
+ label: z.ZodString;
1590
+ description: z.ZodOptional<z.ZodString>;
1591
+ fields: z.ZodArray<z.ZodObject<{
1592
+ id: z.ZodString;
1593
+ label: z.ZodString;
1594
+ description: z.ZodOptional<z.ZodString>;
1595
+ required: z.ZodBoolean;
1596
+ secret: z.ZodBoolean;
1597
+ sourceHints: z.ZodArray<z.ZodObject<{
1598
+ kind: z.ZodLiteral<"environment">;
1599
+ variable: z.ZodString;
1600
+ }, z.core.$strict>>;
1601
+ }, z.core.$strict>>;
1602
+ }, z.core.$strict>;
1603
+ credentialRefs: z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>;
1604
+ }, z.core.$strict>, z.ZodObject<{
1605
+ mode: z.ZodLiteral<"inferred">;
1606
+ method: z.ZodObject<{
1607
+ owner: z.ZodLiteral<"client">;
1608
+ clientId: z.ZodString;
1609
+ methodId: z.ZodString;
1610
+ }, z.core.$strict>;
1611
+ definition: z.ZodObject<{
1612
+ id: z.ZodString;
1613
+ mode: z.ZodLiteral<"inferred">;
1614
+ label: z.ZodString;
1615
+ description: z.ZodOptional<z.ZodString>;
1616
+ }, z.core.$strict>;
1617
+ account: z.ZodOptional<z.ZodObject<{
1618
+ managerId: z.ZodString;
1619
+ accountId: z.ZodString;
1620
+ }, z.core.$strict>>;
1621
+ }, z.core.$strict>, z.ZodObject<{
1622
+ mode: z.ZodLiteral<"none">;
1623
+ method: z.ZodDiscriminatedUnion<[z.ZodObject<{
1624
+ owner: z.ZodLiteral<"provider">;
1625
+ providerDefinitionId: z.ZodString;
1626
+ methodId: z.ZodString;
1627
+ }, z.core.$strict>, z.ZodObject<{
1628
+ owner: z.ZodLiteral<"client">;
1629
+ clientId: z.ZodString;
1630
+ methodId: z.ZodString;
1631
+ }, z.core.$strict>], "owner">;
1632
+ definition: z.ZodObject<{
1633
+ id: z.ZodString;
1634
+ mode: z.ZodLiteral<"none">;
1635
+ label: z.ZodString;
1636
+ description: z.ZodOptional<z.ZodString>;
1637
+ }, z.core.$strict>;
1638
+ }, z.core.$strict>], "mode">;
1639
+ capabilities: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1640
+ }, z.core.$strict>, z.ZodObject<{
1641
+ state: z.ZodLiteral<"unresolved">;
1642
+ }, z.core.$strict>], "state">>;
1643
+ }, z.core.$loose>;
1644
+ initialMessage: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1645
+ role: z.ZodOptional<z.ZodEnum<{
1646
+ user: "user";
1647
+ assistant: "assistant";
1648
+ system: "system";
1649
+ }>>;
1650
+ blocks: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
1651
+ type: z.ZodLiteral<"text">;
1652
+ content: z.ZodString;
1653
+ }, z.core.$strip>, z.ZodObject<{
1654
+ type: z.ZodLiteral<"image">;
1655
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
1656
+ type: z.ZodLiteral<"base64">;
1657
+ data: z.ZodString;
1658
+ mimeType: z.ZodString;
1659
+ }, z.core.$strip>, z.ZodObject<{
1660
+ type: z.ZodLiteral<"url">;
1661
+ url: z.ZodString;
1662
+ mimeType: z.ZodOptional<z.ZodString>;
1663
+ }, z.core.$strip>], "type">;
1664
+ }, z.core.$strip>, z.ZodObject<{
1665
+ type: z.ZodLiteral<"document">;
1666
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
1667
+ type: z.ZodLiteral<"base64">;
1668
+ data: z.ZodString;
1669
+ mimeType: z.ZodString;
1670
+ }, z.core.$strip>, z.ZodObject<{
1671
+ type: z.ZodLiteral<"url">;
1672
+ url: z.ZodString;
1673
+ mimeType: z.ZodOptional<z.ZodString>;
1674
+ }, z.core.$strip>], "type">;
1675
+ }, z.core.$strip>, z.ZodObject<{
1676
+ type: z.ZodLiteral<"attachment">;
1677
+ fileName: z.ZodString;
1678
+ filePath: z.ZodString;
1679
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
1680
+ type: z.ZodLiteral<"base64">;
1681
+ data: z.ZodString;
1682
+ mimeType: z.ZodString;
1683
+ }, z.core.$strip>, z.ZodObject<{
1684
+ type: z.ZodLiteral<"url">;
1685
+ url: z.ZodString;
1686
+ mimeType: z.ZodOptional<z.ZodString>;
1687
+ }, z.core.$strip>], "type">;
1688
+ displayName: z.ZodOptional<z.ZodString>;
1689
+ attachmentType: z.ZodEnum<{
1690
+ file: "file";
1691
+ directory: "directory";
1692
+ }>;
1693
+ }, z.core.$strip>, z.ZodObject<{
1694
+ type: z.ZodLiteral<"reasoning">;
1695
+ content: z.ZodString;
1696
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1697
+ }, z.core.$strip>, z.ZodObject<{
1698
+ type: z.ZodLiteral<"tool_call">;
1699
+ toolCallId: z.ZodString;
1700
+ name: z.ZodString;
1701
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1702
+ }, z.core.$strip>, z.ZodObject<{
1703
+ type: z.ZodLiteral<"tool_output">;
1704
+ toolCallId: z.ZodString;
1705
+ output: z.ZodString;
1706
+ isError: z.ZodOptional<z.ZodBoolean>;
1707
+ }, z.core.$strip>], "type">, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1708
+ type: z.ZodLiteral<"text">;
1709
+ content: z.ZodString;
1710
+ }, z.core.$strip>, z.ZodObject<{
1711
+ type: z.ZodLiteral<"image">;
1712
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
1713
+ type: z.ZodLiteral<"base64">;
1714
+ data: z.ZodString;
1715
+ mimeType: z.ZodString;
1716
+ }, z.core.$strip>, z.ZodObject<{
1717
+ type: z.ZodLiteral<"url">;
1718
+ url: z.ZodString;
1719
+ mimeType: z.ZodOptional<z.ZodString>;
1720
+ }, z.core.$strip>], "type">;
1721
+ }, z.core.$strip>, z.ZodObject<{
1722
+ type: z.ZodLiteral<"document">;
1723
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
1724
+ type: z.ZodLiteral<"base64">;
1725
+ data: z.ZodString;
1726
+ mimeType: z.ZodString;
1727
+ }, z.core.$strip>, z.ZodObject<{
1728
+ type: z.ZodLiteral<"url">;
1729
+ url: z.ZodString;
1730
+ mimeType: z.ZodOptional<z.ZodString>;
1731
+ }, z.core.$strip>], "type">;
1732
+ }, z.core.$strip>, z.ZodObject<{
1733
+ type: z.ZodLiteral<"attachment">;
1734
+ fileName: z.ZodString;
1735
+ filePath: z.ZodString;
1736
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
1737
+ type: z.ZodLiteral<"base64">;
1738
+ data: z.ZodString;
1739
+ mimeType: z.ZodString;
1740
+ }, z.core.$strip>, z.ZodObject<{
1741
+ type: z.ZodLiteral<"url">;
1742
+ url: z.ZodString;
1743
+ mimeType: z.ZodOptional<z.ZodString>;
1744
+ }, z.core.$strip>], "type">;
1745
+ displayName: z.ZodOptional<z.ZodString>;
1746
+ attachmentType: z.ZodEnum<{
1747
+ file: "file";
1748
+ directory: "directory";
1749
+ }>;
1750
+ }, z.core.$strip>, z.ZodObject<{
1751
+ type: z.ZodLiteral<"reasoning">;
1752
+ content: z.ZodString;
1753
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1754
+ }, z.core.$strip>, z.ZodObject<{
1755
+ type: z.ZodLiteral<"tool_call">;
1756
+ toolCallId: z.ZodString;
1757
+ name: z.ZodString;
1758
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1759
+ }, z.core.$strip>, z.ZodObject<{
1760
+ type: z.ZodLiteral<"tool_output">;
1761
+ toolCallId: z.ZodString;
1762
+ output: z.ZodString;
1763
+ isError: z.ZodOptional<z.ZodBoolean>;
1764
+ }, z.core.$strip>], "type">>]>;
1765
+ }, z.core.$strip>]>>;
1766
+ role: z.ZodOptional<z.ZodEnum<{
1767
+ lead: "lead";
1768
+ member: "member";
1769
+ }>>;
1770
+ }, z.core.$strip>;
1461
1771
  /**
1462
1772
  * Orchestrator schemas for turn lifecycle and user message routing.
1463
1773
  *
@@ -1652,25 +1962,6 @@ declare const OrchestratorSchemas: {
1652
1962
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1653
1963
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
1654
1964
  sessionId: z.ZodString;
1655
- directTools: z.ZodArray<z.ZodObject<{
1656
- fullName: z.ZodString;
1657
- originalName: z.ZodString;
1658
- serverName: z.ZodString;
1659
- description: z.ZodOptional<z.ZodString>;
1660
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1661
- exposureMode: z.ZodEnum<{
1662
- hidden: "hidden";
1663
- discovery: "discovery";
1664
- direct: "direct";
1665
- }>;
1666
- enabled: z.ZodBoolean;
1667
- enabledBy: z.ZodOptional<z.ZodEnum<{
1668
- discovery: "discovery";
1669
- toolset: "toolset";
1670
- }>>;
1671
- enabledAt: z.ZodOptional<z.ZodNumber>;
1672
- exposed: z.ZodBoolean;
1673
- }, z.core.$strip>>;
1674
1965
  servers: z.ZodArray<z.ZodObject<{
1675
1966
  name: z.ZodString;
1676
1967
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1707,20 +1998,39 @@ declare const OrchestratorSchemas: {
1707
1998
  type: z.ZodLiteral<"http">;
1708
1999
  }, z.core.$strip>], "type">;
1709
2000
  exposureMode: z.ZodEnum<{
1710
- discovery: "discovery";
1711
2001
  direct: "direct";
2002
+ discovery: "discovery";
1712
2003
  }>;
1713
2004
  }, z.core.$strip>>;
1714
- discoverableTools: z.ZodArray<z.ZodObject<{
2005
+ directTools: z.ZodArray<z.ZodObject<{
1715
2006
  fullName: z.ZodString;
1716
2007
  originalName: z.ZodString;
1717
2008
  serverName: z.ZodString;
1718
2009
  description: z.ZodOptional<z.ZodString>;
1719
2010
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1720
2011
  exposureMode: z.ZodEnum<{
2012
+ direct: "direct";
2013
+ discovery: "discovery";
1721
2014
  hidden: "hidden";
2015
+ }>;
2016
+ enabled: z.ZodBoolean;
2017
+ enabledBy: z.ZodOptional<z.ZodEnum<{
1722
2018
  discovery: "discovery";
2019
+ toolset: "toolset";
2020
+ }>>;
2021
+ enabledAt: z.ZodOptional<z.ZodNumber>;
2022
+ exposed: z.ZodBoolean;
2023
+ }, z.core.$strip>>;
2024
+ discoverableTools: z.ZodArray<z.ZodObject<{
2025
+ fullName: z.ZodString;
2026
+ originalName: z.ZodString;
2027
+ serverName: z.ZodString;
2028
+ description: z.ZodOptional<z.ZodString>;
2029
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2030
+ exposureMode: z.ZodEnum<{
1723
2031
  direct: "direct";
2032
+ discovery: "discovery";
2033
+ hidden: "hidden";
1724
2034
  }>;
1725
2035
  enabled: z.ZodBoolean;
1726
2036
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -1755,25 +2065,6 @@ declare const OrchestratorSchemas: {
1755
2065
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1756
2066
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
1757
2067
  sessionId: z.ZodString;
1758
- directTools: z.ZodArray<z.ZodObject<{
1759
- fullName: z.ZodString;
1760
- originalName: z.ZodString;
1761
- serverName: z.ZodString;
1762
- description: z.ZodOptional<z.ZodString>;
1763
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1764
- exposureMode: z.ZodEnum<{
1765
- hidden: "hidden";
1766
- discovery: "discovery";
1767
- direct: "direct";
1768
- }>;
1769
- enabled: z.ZodBoolean;
1770
- enabledBy: z.ZodOptional<z.ZodEnum<{
1771
- discovery: "discovery";
1772
- toolset: "toolset";
1773
- }>>;
1774
- enabledAt: z.ZodOptional<z.ZodNumber>;
1775
- exposed: z.ZodBoolean;
1776
- }, z.core.$strip>>;
1777
2068
  servers: z.ZodArray<z.ZodObject<{
1778
2069
  name: z.ZodString;
1779
2070
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1810,20 +2101,39 @@ declare const OrchestratorSchemas: {
1810
2101
  type: z.ZodLiteral<"http">;
1811
2102
  }, z.core.$strip>], "type">;
1812
2103
  exposureMode: z.ZodEnum<{
1813
- discovery: "discovery";
1814
2104
  direct: "direct";
2105
+ discovery: "discovery";
1815
2106
  }>;
1816
2107
  }, z.core.$strip>>;
1817
- discoverableTools: z.ZodArray<z.ZodObject<{
2108
+ directTools: z.ZodArray<z.ZodObject<{
1818
2109
  fullName: z.ZodString;
1819
2110
  originalName: z.ZodString;
1820
2111
  serverName: z.ZodString;
1821
2112
  description: z.ZodOptional<z.ZodString>;
1822
2113
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1823
2114
  exposureMode: z.ZodEnum<{
2115
+ direct: "direct";
2116
+ discovery: "discovery";
1824
2117
  hidden: "hidden";
2118
+ }>;
2119
+ enabled: z.ZodBoolean;
2120
+ enabledBy: z.ZodOptional<z.ZodEnum<{
1825
2121
  discovery: "discovery";
2122
+ toolset: "toolset";
2123
+ }>>;
2124
+ enabledAt: z.ZodOptional<z.ZodNumber>;
2125
+ exposed: z.ZodBoolean;
2126
+ }, z.core.$strip>>;
2127
+ discoverableTools: z.ZodArray<z.ZodObject<{
2128
+ fullName: z.ZodString;
2129
+ originalName: z.ZodString;
2130
+ serverName: z.ZodString;
2131
+ description: z.ZodOptional<z.ZodString>;
2132
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2133
+ exposureMode: z.ZodEnum<{
1826
2134
  direct: "direct";
2135
+ discovery: "discovery";
2136
+ hidden: "hidden";
1827
2137
  }>;
1828
2138
  enabled: z.ZodBoolean;
1829
2139
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -1858,25 +2168,6 @@ declare const OrchestratorSchemas: {
1858
2168
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1859
2169
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
1860
2170
  sessionId: z.ZodString;
1861
- directTools: z.ZodArray<z.ZodObject<{
1862
- fullName: z.ZodString;
1863
- originalName: z.ZodString;
1864
- serverName: z.ZodString;
1865
- description: z.ZodOptional<z.ZodString>;
1866
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1867
- exposureMode: z.ZodEnum<{
1868
- hidden: "hidden";
1869
- discovery: "discovery";
1870
- direct: "direct";
1871
- }>;
1872
- enabled: z.ZodBoolean;
1873
- enabledBy: z.ZodOptional<z.ZodEnum<{
1874
- discovery: "discovery";
1875
- toolset: "toolset";
1876
- }>>;
1877
- enabledAt: z.ZodOptional<z.ZodNumber>;
1878
- exposed: z.ZodBoolean;
1879
- }, z.core.$strip>>;
1880
2171
  servers: z.ZodArray<z.ZodObject<{
1881
2172
  name: z.ZodString;
1882
2173
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1913,20 +2204,39 @@ declare const OrchestratorSchemas: {
1913
2204
  type: z.ZodLiteral<"http">;
1914
2205
  }, z.core.$strip>], "type">;
1915
2206
  exposureMode: z.ZodEnum<{
1916
- discovery: "discovery";
1917
2207
  direct: "direct";
2208
+ discovery: "discovery";
1918
2209
  }>;
1919
2210
  }, z.core.$strip>>;
1920
- discoverableTools: z.ZodArray<z.ZodObject<{
2211
+ directTools: z.ZodArray<z.ZodObject<{
1921
2212
  fullName: z.ZodString;
1922
2213
  originalName: z.ZodString;
1923
2214
  serverName: z.ZodString;
1924
2215
  description: z.ZodOptional<z.ZodString>;
1925
2216
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1926
2217
  exposureMode: z.ZodEnum<{
2218
+ direct: "direct";
2219
+ discovery: "discovery";
1927
2220
  hidden: "hidden";
2221
+ }>;
2222
+ enabled: z.ZodBoolean;
2223
+ enabledBy: z.ZodOptional<z.ZodEnum<{
1928
2224
  discovery: "discovery";
2225
+ toolset: "toolset";
2226
+ }>>;
2227
+ enabledAt: z.ZodOptional<z.ZodNumber>;
2228
+ exposed: z.ZodBoolean;
2229
+ }, z.core.$strip>>;
2230
+ discoverableTools: z.ZodArray<z.ZodObject<{
2231
+ fullName: z.ZodString;
2232
+ originalName: z.ZodString;
2233
+ serverName: z.ZodString;
2234
+ description: z.ZodOptional<z.ZodString>;
2235
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2236
+ exposureMode: z.ZodEnum<{
1929
2237
  direct: "direct";
2238
+ discovery: "discovery";
2239
+ hidden: "hidden";
1930
2240
  }>;
1931
2241
  enabled: z.ZodBoolean;
1932
2242
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -2200,25 +2510,6 @@ declare const OrchestratorSchemas: {
2200
2510
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2201
2511
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
2202
2512
  sessionId: z.ZodString;
2203
- directTools: z.ZodArray<z.ZodObject<{
2204
- fullName: z.ZodString;
2205
- originalName: z.ZodString;
2206
- serverName: z.ZodString;
2207
- description: z.ZodOptional<z.ZodString>;
2208
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2209
- exposureMode: z.ZodEnum<{
2210
- hidden: "hidden";
2211
- discovery: "discovery";
2212
- direct: "direct";
2213
- }>;
2214
- enabled: z.ZodBoolean;
2215
- enabledBy: z.ZodOptional<z.ZodEnum<{
2216
- discovery: "discovery";
2217
- toolset: "toolset";
2218
- }>>;
2219
- enabledAt: z.ZodOptional<z.ZodNumber>;
2220
- exposed: z.ZodBoolean;
2221
- }, z.core.$strip>>;
2222
2513
  servers: z.ZodArray<z.ZodObject<{
2223
2514
  name: z.ZodString;
2224
2515
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2255,20 +2546,39 @@ declare const OrchestratorSchemas: {
2255
2546
  type: z.ZodLiteral<"http">;
2256
2547
  }, z.core.$strip>], "type">;
2257
2548
  exposureMode: z.ZodEnum<{
2258
- discovery: "discovery";
2259
2549
  direct: "direct";
2550
+ discovery: "discovery";
2260
2551
  }>;
2261
2552
  }, z.core.$strip>>;
2262
- discoverableTools: z.ZodArray<z.ZodObject<{
2553
+ directTools: z.ZodArray<z.ZodObject<{
2263
2554
  fullName: z.ZodString;
2264
2555
  originalName: z.ZodString;
2265
2556
  serverName: z.ZodString;
2266
2557
  description: z.ZodOptional<z.ZodString>;
2267
2558
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2268
2559
  exposureMode: z.ZodEnum<{
2560
+ direct: "direct";
2561
+ discovery: "discovery";
2269
2562
  hidden: "hidden";
2563
+ }>;
2564
+ enabled: z.ZodBoolean;
2565
+ enabledBy: z.ZodOptional<z.ZodEnum<{
2270
2566
  discovery: "discovery";
2567
+ toolset: "toolset";
2568
+ }>>;
2569
+ enabledAt: z.ZodOptional<z.ZodNumber>;
2570
+ exposed: z.ZodBoolean;
2571
+ }, z.core.$strip>>;
2572
+ discoverableTools: z.ZodArray<z.ZodObject<{
2573
+ fullName: z.ZodString;
2574
+ originalName: z.ZodString;
2575
+ serverName: z.ZodString;
2576
+ description: z.ZodOptional<z.ZodString>;
2577
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2578
+ exposureMode: z.ZodEnum<{
2271
2579
  direct: "direct";
2580
+ discovery: "discovery";
2581
+ hidden: "hidden";
2272
2582
  }>;
2273
2583
  enabled: z.ZodBoolean;
2274
2584
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -2451,25 +2761,6 @@ declare const OrchestratorSchemas: {
2451
2761
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2452
2762
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
2453
2763
  sessionId: z.ZodString;
2454
- directTools: z.ZodArray<z.ZodObject<{
2455
- fullName: z.ZodString;
2456
- originalName: z.ZodString;
2457
- serverName: z.ZodString;
2458
- description: z.ZodOptional<z.ZodString>;
2459
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2460
- exposureMode: z.ZodEnum<{
2461
- hidden: "hidden";
2462
- discovery: "discovery";
2463
- direct: "direct";
2464
- }>;
2465
- enabled: z.ZodBoolean;
2466
- enabledBy: z.ZodOptional<z.ZodEnum<{
2467
- discovery: "discovery";
2468
- toolset: "toolset";
2469
- }>>;
2470
- enabledAt: z.ZodOptional<z.ZodNumber>;
2471
- exposed: z.ZodBoolean;
2472
- }, z.core.$strip>>;
2473
2764
  servers: z.ZodArray<z.ZodObject<{
2474
2765
  name: z.ZodString;
2475
2766
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2506,20 +2797,39 @@ declare const OrchestratorSchemas: {
2506
2797
  type: z.ZodLiteral<"http">;
2507
2798
  }, z.core.$strip>], "type">;
2508
2799
  exposureMode: z.ZodEnum<{
2509
- discovery: "discovery";
2510
2800
  direct: "direct";
2801
+ discovery: "discovery";
2511
2802
  }>;
2512
2803
  }, z.core.$strip>>;
2513
- discoverableTools: z.ZodArray<z.ZodObject<{
2804
+ directTools: z.ZodArray<z.ZodObject<{
2514
2805
  fullName: z.ZodString;
2515
2806
  originalName: z.ZodString;
2516
2807
  serverName: z.ZodString;
2517
2808
  description: z.ZodOptional<z.ZodString>;
2518
2809
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2519
2810
  exposureMode: z.ZodEnum<{
2811
+ direct: "direct";
2812
+ discovery: "discovery";
2520
2813
  hidden: "hidden";
2814
+ }>;
2815
+ enabled: z.ZodBoolean;
2816
+ enabledBy: z.ZodOptional<z.ZodEnum<{
2521
2817
  discovery: "discovery";
2818
+ toolset: "toolset";
2819
+ }>>;
2820
+ enabledAt: z.ZodOptional<z.ZodNumber>;
2821
+ exposed: z.ZodBoolean;
2822
+ }, z.core.$strip>>;
2823
+ discoverableTools: z.ZodArray<z.ZodObject<{
2824
+ fullName: z.ZodString;
2825
+ originalName: z.ZodString;
2826
+ serverName: z.ZodString;
2827
+ description: z.ZodOptional<z.ZodString>;
2828
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2829
+ exposureMode: z.ZodEnum<{
2522
2830
  direct: "direct";
2831
+ discovery: "discovery";
2832
+ hidden: "hidden";
2523
2833
  }>;
2524
2834
  enabled: z.ZodBoolean;
2525
2835
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -3141,6 +3451,7 @@ declare const OrchestratorSchemas: {
3141
3451
  };
3142
3452
  type SendMessageRequest = z.infer<typeof OrchestratorSchemas.sendMessage.request>;
3143
3453
  type SendMessageResponse = z.infer<typeof OrchestratorSchemas.sendMessage.response>;
3454
+ type AgentAttachResolvedRequest = z.infer<typeof AgentAttachResolvedRequestSchema>;
3144
3455
  type TurnStarted = z.infer<(typeof OrchestratorSchemas)['turn.started']>;
3145
3456
  type TurnCompleted = z.infer<(typeof OrchestratorSchemas)['turn.completed']>;
3146
3457
  //#endregion
@@ -3516,8 +3827,8 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
3516
3827
  parentSessionId: z.ZodString;
3517
3828
  kind: z.ZodEnum<{
3518
3829
  fork: "fork";
3519
- branch: "branch";
3520
3830
  subagent: "subagent";
3831
+ branch: "branch";
3521
3832
  compress: "compress";
3522
3833
  rewrite: "rewrite";
3523
3834
  coordinator: "coordinator";
@@ -3773,8 +4084,8 @@ declare const ForkChildInfoSchema: z.ZodObject<{
3773
4084
  forkPointMessageId: z.ZodNullable<z.ZodString>;
3774
4085
  branchKind: z.ZodNullable<z.ZodEnum<{
3775
4086
  fork: "fork";
3776
- branch: "branch";
3777
4087
  subagent: "subagent";
4088
+ branch: "branch";
3778
4089
  compress: "compress";
3779
4090
  rewrite: "rewrite";
3780
4091
  coordinator: "coordinator";
@@ -3847,8 +4158,8 @@ declare const SessionCreatedEventSchema: z.ZodObject<{
3847
4158
  parentSessionId: z.ZodNullable<z.ZodString>;
3848
4159
  branchKind: z.ZodNullable<z.ZodEnum<{
3849
4160
  fork: "fork";
3850
- branch: "branch";
3851
4161
  subagent: "subagent";
4162
+ branch: "branch";
3852
4163
  compress: "compress";
3853
4164
  rewrite: "rewrite";
3854
4165
  coordinator: "coordinator";
@@ -3927,25 +4238,6 @@ declare const SessionSchemas: {
3927
4238
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
3928
4239
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
3929
4240
  sessionId: _$zod.ZodString;
3930
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
3931
- fullName: _$zod.ZodString;
3932
- originalName: _$zod.ZodString;
3933
- serverName: _$zod.ZodString;
3934
- description: _$zod.ZodOptional<_$zod.ZodString>;
3935
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3936
- exposureMode: _$zod.ZodEnum<{
3937
- hidden: "hidden";
3938
- discovery: "discovery";
3939
- direct: "direct";
3940
- }>;
3941
- enabled: _$zod.ZodBoolean;
3942
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
3943
- discovery: "discovery";
3944
- toolset: "toolset";
3945
- }>>;
3946
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
3947
- exposed: _$zod.ZodBoolean;
3948
- }, _$zod_v4_core0.$strip>>;
3949
4241
  servers: _$zod.ZodArray<_$zod.ZodObject<{
3950
4242
  name: _$zod.ZodString;
3951
4243
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -3982,9 +4274,28 @@ declare const SessionSchemas: {
3982
4274
  type: _$zod.ZodLiteral<"http">;
3983
4275
  }, _$zod_v4_core0.$strip>], "type">;
3984
4276
  exposureMode: _$zod.ZodEnum<{
3985
- discovery: "discovery";
3986
4277
  direct: "direct";
4278
+ discovery: "discovery";
4279
+ }>;
4280
+ }, _$zod_v4_core0.$strip>>;
4281
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
4282
+ fullName: _$zod.ZodString;
4283
+ originalName: _$zod.ZodString;
4284
+ serverName: _$zod.ZodString;
4285
+ description: _$zod.ZodOptional<_$zod.ZodString>;
4286
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4287
+ exposureMode: _$zod.ZodEnum<{
4288
+ direct: "direct";
4289
+ discovery: "discovery";
4290
+ hidden: "hidden";
3987
4291
  }>;
4292
+ enabled: _$zod.ZodBoolean;
4293
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4294
+ discovery: "discovery";
4295
+ toolset: "toolset";
4296
+ }>>;
4297
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4298
+ exposed: _$zod.ZodBoolean;
3988
4299
  }, _$zod_v4_core0.$strip>>;
3989
4300
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
3990
4301
  fullName: _$zod.ZodString;
@@ -3993,9 +4304,9 @@ declare const SessionSchemas: {
3993
4304
  description: _$zod.ZodOptional<_$zod.ZodString>;
3994
4305
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3995
4306
  exposureMode: _$zod.ZodEnum<{
3996
- hidden: "hidden";
3997
- discovery: "discovery";
3998
4307
  direct: "direct";
4308
+ discovery: "discovery";
4309
+ hidden: "hidden";
3999
4310
  }>;
4000
4311
  enabled: _$zod.ZodBoolean;
4001
4312
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4183,25 +4494,6 @@ declare const SessionSchemas: {
4183
4494
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4184
4495
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
4185
4496
  sessionId: _$zod.ZodString;
4186
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
4187
- fullName: _$zod.ZodString;
4188
- originalName: _$zod.ZodString;
4189
- serverName: _$zod.ZodString;
4190
- description: _$zod.ZodOptional<_$zod.ZodString>;
4191
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4192
- exposureMode: _$zod.ZodEnum<{
4193
- hidden: "hidden";
4194
- discovery: "discovery";
4195
- direct: "direct";
4196
- }>;
4197
- enabled: _$zod.ZodBoolean;
4198
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4199
- discovery: "discovery";
4200
- toolset: "toolset";
4201
- }>>;
4202
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4203
- exposed: _$zod.ZodBoolean;
4204
- }, _$zod_v4_core0.$strip>>;
4205
4497
  servers: _$zod.ZodArray<_$zod.ZodObject<{
4206
4498
  name: _$zod.ZodString;
4207
4499
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -4238,20 +4530,39 @@ declare const SessionSchemas: {
4238
4530
  type: _$zod.ZodLiteral<"http">;
4239
4531
  }, _$zod_v4_core0.$strip>], "type">;
4240
4532
  exposureMode: _$zod.ZodEnum<{
4241
- discovery: "discovery";
4242
4533
  direct: "direct";
4534
+ discovery: "discovery";
4243
4535
  }>;
4244
4536
  }, _$zod_v4_core0.$strip>>;
4245
- discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4537
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
4246
4538
  fullName: _$zod.ZodString;
4247
4539
  originalName: _$zod.ZodString;
4248
4540
  serverName: _$zod.ZodString;
4249
4541
  description: _$zod.ZodOptional<_$zod.ZodString>;
4250
4542
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4251
4543
  exposureMode: _$zod.ZodEnum<{
4544
+ direct: "direct";
4545
+ discovery: "discovery";
4252
4546
  hidden: "hidden";
4547
+ }>;
4548
+ enabled: _$zod.ZodBoolean;
4549
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4253
4550
  discovery: "discovery";
4551
+ toolset: "toolset";
4552
+ }>>;
4553
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4554
+ exposed: _$zod.ZodBoolean;
4555
+ }, _$zod_v4_core0.$strip>>;
4556
+ discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4557
+ fullName: _$zod.ZodString;
4558
+ originalName: _$zod.ZodString;
4559
+ serverName: _$zod.ZodString;
4560
+ description: _$zod.ZodOptional<_$zod.ZodString>;
4561
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4562
+ exposureMode: _$zod.ZodEnum<{
4254
4563
  direct: "direct";
4564
+ discovery: "discovery";
4565
+ hidden: "hidden";
4255
4566
  }>;
4256
4567
  enabled: _$zod.ZodBoolean;
4257
4568
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4286,25 +4597,6 @@ declare const SessionSchemas: {
4286
4597
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4287
4598
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
4288
4599
  sessionId: _$zod.ZodString;
4289
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
4290
- fullName: _$zod.ZodString;
4291
- originalName: _$zod.ZodString;
4292
- serverName: _$zod.ZodString;
4293
- description: _$zod.ZodOptional<_$zod.ZodString>;
4294
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4295
- exposureMode: _$zod.ZodEnum<{
4296
- hidden: "hidden";
4297
- discovery: "discovery";
4298
- direct: "direct";
4299
- }>;
4300
- enabled: _$zod.ZodBoolean;
4301
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4302
- discovery: "discovery";
4303
- toolset: "toolset";
4304
- }>>;
4305
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4306
- exposed: _$zod.ZodBoolean;
4307
- }, _$zod_v4_core0.$strip>>;
4308
4600
  servers: _$zod.ZodArray<_$zod.ZodObject<{
4309
4601
  name: _$zod.ZodString;
4310
4602
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -4341,20 +4633,39 @@ declare const SessionSchemas: {
4341
4633
  type: _$zod.ZodLiteral<"http">;
4342
4634
  }, _$zod_v4_core0.$strip>], "type">;
4343
4635
  exposureMode: _$zod.ZodEnum<{
4344
- discovery: "discovery";
4345
4636
  direct: "direct";
4637
+ discovery: "discovery";
4346
4638
  }>;
4347
4639
  }, _$zod_v4_core0.$strip>>;
4348
- discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4640
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
4349
4641
  fullName: _$zod.ZodString;
4350
4642
  originalName: _$zod.ZodString;
4351
4643
  serverName: _$zod.ZodString;
4352
4644
  description: _$zod.ZodOptional<_$zod.ZodString>;
4353
4645
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4354
4646
  exposureMode: _$zod.ZodEnum<{
4647
+ direct: "direct";
4648
+ discovery: "discovery";
4355
4649
  hidden: "hidden";
4650
+ }>;
4651
+ enabled: _$zod.ZodBoolean;
4652
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4356
4653
  discovery: "discovery";
4654
+ toolset: "toolset";
4655
+ }>>;
4656
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4657
+ exposed: _$zod.ZodBoolean;
4658
+ }, _$zod_v4_core0.$strip>>;
4659
+ discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4660
+ fullName: _$zod.ZodString;
4661
+ originalName: _$zod.ZodString;
4662
+ serverName: _$zod.ZodString;
4663
+ description: _$zod.ZodOptional<_$zod.ZodString>;
4664
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4665
+ exposureMode: _$zod.ZodEnum<{
4357
4666
  direct: "direct";
4667
+ discovery: "discovery";
4668
+ hidden: "hidden";
4358
4669
  }>;
4359
4670
  enabled: _$zod.ZodBoolean;
4360
4671
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4389,25 +4700,6 @@ declare const SessionSchemas: {
4389
4700
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4390
4701
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
4391
4702
  sessionId: _$zod.ZodString;
4392
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
4393
- fullName: _$zod.ZodString;
4394
- originalName: _$zod.ZodString;
4395
- serverName: _$zod.ZodString;
4396
- description: _$zod.ZodOptional<_$zod.ZodString>;
4397
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4398
- exposureMode: _$zod.ZodEnum<{
4399
- hidden: "hidden";
4400
- discovery: "discovery";
4401
- direct: "direct";
4402
- }>;
4403
- enabled: _$zod.ZodBoolean;
4404
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4405
- discovery: "discovery";
4406
- toolset: "toolset";
4407
- }>>;
4408
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4409
- exposed: _$zod.ZodBoolean;
4410
- }, _$zod_v4_core0.$strip>>;
4411
4703
  servers: _$zod.ZodArray<_$zod.ZodObject<{
4412
4704
  name: _$zod.ZodString;
4413
4705
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -4444,20 +4736,39 @@ declare const SessionSchemas: {
4444
4736
  type: _$zod.ZodLiteral<"http">;
4445
4737
  }, _$zod_v4_core0.$strip>], "type">;
4446
4738
  exposureMode: _$zod.ZodEnum<{
4447
- discovery: "discovery";
4448
4739
  direct: "direct";
4740
+ discovery: "discovery";
4449
4741
  }>;
4450
4742
  }, _$zod_v4_core0.$strip>>;
4451
- discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4743
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
4452
4744
  fullName: _$zod.ZodString;
4453
4745
  originalName: _$zod.ZodString;
4454
4746
  serverName: _$zod.ZodString;
4455
4747
  description: _$zod.ZodOptional<_$zod.ZodString>;
4456
4748
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4457
4749
  exposureMode: _$zod.ZodEnum<{
4750
+ direct: "direct";
4751
+ discovery: "discovery";
4458
4752
  hidden: "hidden";
4753
+ }>;
4754
+ enabled: _$zod.ZodBoolean;
4755
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4459
4756
  discovery: "discovery";
4757
+ toolset: "toolset";
4758
+ }>>;
4759
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4760
+ exposed: _$zod.ZodBoolean;
4761
+ }, _$zod_v4_core0.$strip>>;
4762
+ discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4763
+ fullName: _$zod.ZodString;
4764
+ originalName: _$zod.ZodString;
4765
+ serverName: _$zod.ZodString;
4766
+ description: _$zod.ZodOptional<_$zod.ZodString>;
4767
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4768
+ exposureMode: _$zod.ZodEnum<{
4460
4769
  direct: "direct";
4770
+ discovery: "discovery";
4771
+ hidden: "hidden";
4461
4772
  }>;
4462
4773
  enabled: _$zod.ZodBoolean;
4463
4774
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4698,25 +5009,6 @@ declare const SessionSchemas: {
4698
5009
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4699
5010
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
4700
5011
  sessionId: _$zod.ZodString;
4701
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
4702
- fullName: _$zod.ZodString;
4703
- originalName: _$zod.ZodString;
4704
- serverName: _$zod.ZodString;
4705
- description: _$zod.ZodOptional<_$zod.ZodString>;
4706
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4707
- exposureMode: _$zod.ZodEnum<{
4708
- hidden: "hidden";
4709
- discovery: "discovery";
4710
- direct: "direct";
4711
- }>;
4712
- enabled: _$zod.ZodBoolean;
4713
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4714
- discovery: "discovery";
4715
- toolset: "toolset";
4716
- }>>;
4717
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4718
- exposed: _$zod.ZodBoolean;
4719
- }, _$zod_v4_core0.$strip>>;
4720
5012
  servers: _$zod.ZodArray<_$zod.ZodObject<{
4721
5013
  name: _$zod.ZodString;
4722
5014
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -4753,20 +5045,39 @@ declare const SessionSchemas: {
4753
5045
  type: _$zod.ZodLiteral<"http">;
4754
5046
  }, _$zod_v4_core0.$strip>], "type">;
4755
5047
  exposureMode: _$zod.ZodEnum<{
4756
- discovery: "discovery";
4757
5048
  direct: "direct";
5049
+ discovery: "discovery";
4758
5050
  }>;
4759
5051
  }, _$zod_v4_core0.$strip>>;
4760
- discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
5052
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
4761
5053
  fullName: _$zod.ZodString;
4762
5054
  originalName: _$zod.ZodString;
4763
5055
  serverName: _$zod.ZodString;
4764
5056
  description: _$zod.ZodOptional<_$zod.ZodString>;
4765
5057
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4766
5058
  exposureMode: _$zod.ZodEnum<{
5059
+ direct: "direct";
5060
+ discovery: "discovery";
4767
5061
  hidden: "hidden";
5062
+ }>;
5063
+ enabled: _$zod.ZodBoolean;
5064
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4768
5065
  discovery: "discovery";
5066
+ toolset: "toolset";
5067
+ }>>;
5068
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
5069
+ exposed: _$zod.ZodBoolean;
5070
+ }, _$zod_v4_core0.$strip>>;
5071
+ discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
5072
+ fullName: _$zod.ZodString;
5073
+ originalName: _$zod.ZodString;
5074
+ serverName: _$zod.ZodString;
5075
+ description: _$zod.ZodOptional<_$zod.ZodString>;
5076
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
5077
+ exposureMode: _$zod.ZodEnum<{
4769
5078
  direct: "direct";
5079
+ discovery: "discovery";
5080
+ hidden: "hidden";
4770
5081
  }>;
4771
5082
  enabled: _$zod.ZodBoolean;
4772
5083
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4941,25 +5252,6 @@ declare const SessionSchemas: {
4941
5252
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4942
5253
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
4943
5254
  sessionId: _$zod.ZodString;
4944
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
4945
- fullName: _$zod.ZodString;
4946
- originalName: _$zod.ZodString;
4947
- serverName: _$zod.ZodString;
4948
- description: _$zod.ZodOptional<_$zod.ZodString>;
4949
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4950
- exposureMode: _$zod.ZodEnum<{
4951
- hidden: "hidden";
4952
- discovery: "discovery";
4953
- direct: "direct";
4954
- }>;
4955
- enabled: _$zod.ZodBoolean;
4956
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4957
- discovery: "discovery";
4958
- toolset: "toolset";
4959
- }>>;
4960
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4961
- exposed: _$zod.ZodBoolean;
4962
- }, _$zod_v4_core0.$strip>>;
4963
5255
  servers: _$zod.ZodArray<_$zod.ZodObject<{
4964
5256
  name: _$zod.ZodString;
4965
5257
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -4996,20 +5288,39 @@ declare const SessionSchemas: {
4996
5288
  type: _$zod.ZodLiteral<"http">;
4997
5289
  }, _$zod_v4_core0.$strip>], "type">;
4998
5290
  exposureMode: _$zod.ZodEnum<{
4999
- discovery: "discovery";
5000
5291
  direct: "direct";
5292
+ discovery: "discovery";
5001
5293
  }>;
5002
5294
  }, _$zod_v4_core0.$strip>>;
5003
- discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
5295
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
5004
5296
  fullName: _$zod.ZodString;
5005
5297
  originalName: _$zod.ZodString;
5006
5298
  serverName: _$zod.ZodString;
5007
5299
  description: _$zod.ZodOptional<_$zod.ZodString>;
5008
5300
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
5009
5301
  exposureMode: _$zod.ZodEnum<{
5302
+ direct: "direct";
5303
+ discovery: "discovery";
5010
5304
  hidden: "hidden";
5305
+ }>;
5306
+ enabled: _$zod.ZodBoolean;
5307
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
5011
5308
  discovery: "discovery";
5309
+ toolset: "toolset";
5310
+ }>>;
5311
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
5312
+ exposed: _$zod.ZodBoolean;
5313
+ }, _$zod_v4_core0.$strip>>;
5314
+ discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
5315
+ fullName: _$zod.ZodString;
5316
+ originalName: _$zod.ZodString;
5317
+ serverName: _$zod.ZodString;
5318
+ description: _$zod.ZodOptional<_$zod.ZodString>;
5319
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
5320
+ exposureMode: _$zod.ZodEnum<{
5012
5321
  direct: "direct";
5322
+ discovery: "discovery";
5323
+ hidden: "hidden";
5013
5324
  }>;
5014
5325
  enabled: _$zod.ZodBoolean;
5015
5326
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -5581,8 +5892,8 @@ declare const SessionSchemas: {
5581
5892
  forkPointMessageId: _$zod.ZodNullable<_$zod.ZodString>;
5582
5893
  branchKind: _$zod.ZodNullable<_$zod.ZodEnum<{
5583
5894
  fork: "fork";
5584
- branch: "branch";
5585
5895
  subagent: "subagent";
5896
+ branch: "branch";
5586
5897
  compress: "compress";
5587
5898
  rewrite: "rewrite";
5588
5899
  coordinator: "coordinator";
@@ -5638,8 +5949,8 @@ declare const SessionSchemas: {
5638
5949
  parentSessionId: _$zod.ZodString;
5639
5950
  kind: _$zod.ZodEnum<{
5640
5951
  fork: "fork";
5641
- branch: "branch";
5642
5952
  subagent: "subagent";
5953
+ branch: "branch";
5643
5954
  compress: "compress";
5644
5955
  rewrite: "rewrite";
5645
5956
  coordinator: "coordinator";
@@ -5686,8 +5997,8 @@ declare const SessionSchemas: {
5686
5997
  parentSessionId: _$zod.ZodNullable<_$zod.ZodString>;
5687
5998
  branchKind: _$zod.ZodNullable<_$zod.ZodEnum<{
5688
5999
  fork: "fork";
5689
- branch: "branch";
5690
6000
  subagent: "subagent";
6001
+ branch: "branch";
5691
6002
  compress: "compress";
5692
6003
  rewrite: "rewrite";
5693
6004
  coordinator: "coordinator";
@@ -5787,8 +6098,8 @@ declare const SessionSchemas: {
5787
6098
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
5788
6099
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
5789
6100
  fork: "fork";
5790
- branch: "branch";
5791
6101
  subagent: "subagent";
6102
+ branch: "branch";
5792
6103
  compress: "compress";
5793
6104
  rewrite: "rewrite";
5794
6105
  coordinator: "coordinator";
@@ -6275,8 +6586,8 @@ declare const SessionSchemas: {
6275
6586
  parentSessionId: _$zod.ZodString;
6276
6587
  kind: _$zod.ZodEnum<{
6277
6588
  fork: "fork";
6278
- branch: "branch";
6279
6589
  subagent: "subagent";
6590
+ branch: "branch";
6280
6591
  compress: "compress";
6281
6592
  rewrite: "rewrite";
6282
6593
  coordinator: "coordinator";
@@ -6420,8 +6731,8 @@ declare const SessionSchemas: {
6420
6731
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
6421
6732
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
6422
6733
  fork: "fork";
6423
- branch: "branch";
6424
6734
  subagent: "subagent";
6735
+ branch: "branch";
6425
6736
  compress: "compress";
6426
6737
  rewrite: "rewrite";
6427
6738
  coordinator: "coordinator";
@@ -6908,8 +7219,8 @@ declare const SessionSchemas: {
6908
7219
  parentSessionId: _$zod.ZodString;
6909
7220
  kind: _$zod.ZodEnum<{
6910
7221
  fork: "fork";
6911
- branch: "branch";
6912
7222
  subagent: "subagent";
7223
+ branch: "branch";
6913
7224
  compress: "compress";
6914
7225
  rewrite: "rewrite";
6915
7226
  coordinator: "coordinator";
@@ -7420,8 +7731,8 @@ declare const SessionSchemas: {
7420
7731
  parentSessionId: _$zod.ZodString;
7421
7732
  kind: _$zod.ZodEnum<{
7422
7733
  fork: "fork";
7423
- branch: "branch";
7424
7734
  subagent: "subagent";
7735
+ branch: "branch";
7425
7736
  compress: "compress";
7426
7737
  rewrite: "rewrite";
7427
7738
  coordinator: "coordinator";
@@ -7566,8 +7877,8 @@ declare const SessionSchemas: {
7566
7877
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
7567
7878
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
7568
7879
  fork: "fork";
7569
- branch: "branch";
7570
7880
  subagent: "subagent";
7881
+ branch: "branch";
7571
7882
  compress: "compress";
7572
7883
  rewrite: "rewrite";
7573
7884
  coordinator: "coordinator";
@@ -7704,8 +8015,8 @@ declare const SessionSchemas: {
7704
8015
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
7705
8016
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
7706
8017
  fork: "fork";
7707
- branch: "branch";
7708
8018
  subagent: "subagent";
8019
+ branch: "branch";
7709
8020
  compress: "compress";
7710
8021
  rewrite: "rewrite";
7711
8022
  coordinator: "coordinator";
@@ -7833,8 +8144,8 @@ declare const SessionSchemas: {
7833
8144
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
7834
8145
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
7835
8146
  fork: "fork";
7836
- branch: "branch";
7837
8147
  subagent: "subagent";
8148
+ branch: "branch";
7838
8149
  compress: "compress";
7839
8150
  rewrite: "rewrite";
7840
8151
  coordinator: "coordinator";
@@ -7911,8 +8222,8 @@ declare const SessionSchemas: {
7911
8222
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
7912
8223
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
7913
8224
  fork: "fork";
7914
- branch: "branch";
7915
8225
  subagent: "subagent";
8226
+ branch: "branch";
7916
8227
  compress: "compress";
7917
8228
  rewrite: "rewrite";
7918
8229
  coordinator: "coordinator";
@@ -8076,8 +8387,8 @@ declare const SessionSchemas: {
8076
8387
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
8077
8388
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
8078
8389
  fork: "fork";
8079
- branch: "branch";
8080
8390
  subagent: "subagent";
8391
+ branch: "branch";
8081
8392
  compress: "compress";
8082
8393
  rewrite: "rewrite";
8083
8394
  coordinator: "coordinator";
@@ -8256,4 +8567,4 @@ type KnownSessionEvent = { [K in RuntimeKnownSessionEventType]: SessionEventBase
8256
8567
  */
8257
8568
  declare function isKnownSessionEvent(event: MakaioSessionEvent$1): event is KnownSessionEvent;
8258
8569
  //#endregion
8259
- export { TurnStatus as $, NativeLocalityVerdictSchema as A, MessageRoutingStatusSchema as B, SessionEventTypeMap as C, SessionRecordMetadataSchema$1 as Ct, NativeLocalityReason as D, MakaioSessionAgentSchema$1 as Dt, NativeForkDirectiveSchema as E, AgentStatusSchema$1 as Et, TurnIngestionMarkerSchema$1 as F, SessionMessageOriginSchema as G, SessionMessageBlock$1 as H, TurnStarted as I, SessionMessageSchema$1 as J, SessionMessageRole as K, MessageRouting as L, SendMessageResponse as M, TurnCompleted as N, NativeLocalityReasonSchema as O, SessionCreateBase as Ot, TurnIngestionMarker$1 as P, TurnSchema$1 as Q, MessageRoutingSchema$1 as R, SessionEventType$1 as S, SessionRecordMetadata as St, NativeForkDirective$1 as T, AgentStatus as Tt, SessionMessageBlockSchema as U, SessionMessage$1 as V, SessionMessageOrigin$1 as W, TurnInitiator$2 as X, Turn$1 as Y, TurnInitiatorSchema$1 as Z, ForkChildInfo as _, SnapshotPreviewData as _t, SessionPreviewData as a, AgentRole as at, SESSION_EVENT_TYPES as b, MakaioSessionSchema as bt, SessionSchemas as c, BranchKindSchema as ct, SegmentPolicy as d, SNAPSHOT_VERSION as dt, TurnStatusSchema$1 as et, SegmentPolicySchema as f, SessionSnapshot as ft, SessionUpdatedEventSchema as g, SnapshotImportConflictErrorData as gt, SessionUpdatedEvent as h, SnapshotExportOptionsSchema as ht, MakaioSessionEvent$1 as i, UsageMetricsSchema as it, SendMessageRequest as j, NativeLocalityVerdict$1 as k, SessionCreateBaseSchema as kt, ForkTransforms$1 as l, ImportStatus as lt, SessionCreatedEventSchema as m, SnapshotExportOptions as mt, KnownSessionEvent as n, TurnUsageSchema$1 as nt, SessionWithPreview as o, AgentRoleSchema as ot, SessionCreated as p, SessionSnapshotSchema as pt, SessionMessageRoleSchema as q, MakaioSessionAgent$1 as r, UsageMetrics as rt, isKnownSessionEvent as s, BranchKind$1 as st, IMakaioSession$1 as t, TurnUsage$1 as tt, ForkTransformsSchema$1 as u, ImportStatusSchema as ut, ForkChildInfoSchema as v, safeValidateSnapshot as vt, SessionEventTypeSchema as w, SessionWithPreviewSchema as wt, SessionEventPayload as x, SessionPreviewDataSchema as xt, MakaioSessionEventSchema as y, validateSnapshot as yt, MessageRoutingStatus as z };
8570
+ export { TurnSchema$1 as $, NativeLocalityVerdictSchema as A, SessionCreateBaseSchema as At, MessageRoutingStatus as B, SessionEventTypeMap as C, SessionRecordMetadata as Ct, NativeLocalityReason as D, AgentStatusSchema$1 as Dt, NativeForkDirectiveSchema as E, AgentStatus as Et, TurnIngestionMarker$1 as F, SessionMessageOrigin$1 as G, SessionMessage$1 as H, TurnIngestionMarkerSchema$1 as I, SessionMessageRoleSchema as J, SessionMessageOriginSchema as K, TurnStarted as L, SendMessageRequest as M, SendMessageResponse as N, NativeLocalityReasonSchema as O, MakaioSessionAgentSchema$1 as Ot, TurnCompleted as P, TurnInitiatorSchema$1 as Q, MessageRouting as R, SessionEventType$1 as S, SessionPreviewDataSchema as St, NativeForkDirective$1 as T, SessionWithPreviewSchema as Tt, SessionMessageBlock$1 as U, MessageRoutingStatusSchema as V, SessionMessageBlockSchema as W, Turn$1 as X, SessionMessageSchema$1 as Y, TurnInitiator$2 as Z, ForkChildInfo as _, SnapshotImportConflictErrorData as _t, SessionPreviewData as a, UsageMetricsSchema as at, SESSION_EVENT_TYPES as b, validateSnapshot as bt, SessionSchemas as c, BranchKind$1 as ct, SegmentPolicy as d, ImportStatusSchema as dt, TurnStatus as et, SegmentPolicySchema as f, SNAPSHOT_VERSION as ft, SessionUpdatedEventSchema as g, SnapshotExportOptionsSchema as gt, SessionUpdatedEvent as h, SnapshotExportOptions as ht, MakaioSessionEvent$1 as i, UsageMetrics as it, AgentAttachResolvedRequest as j, NativeLocalityVerdict$1 as k, SessionCreateBase as kt, ForkTransforms$1 as l, BranchKindSchema as lt, SessionCreatedEventSchema as m, SessionSnapshotSchema as mt, KnownSessionEvent as n, TurnUsage$1 as nt, SessionWithPreview as o, AgentRole as ot, SessionCreated as p, SessionSnapshot as pt, SessionMessageRole as q, MakaioSessionAgent$1 as r, TurnUsageSchema$1 as rt, isKnownSessionEvent as s, AgentRoleSchema as st, IMakaioSession$1 as t, TurnStatusSchema$1 as tt, ForkTransformsSchema$1 as u, ImportStatus as ut, ForkChildInfoSchema as v, SnapshotPreviewData as vt, SessionEventTypeSchema as w, SessionRecordMetadataSchema$1 as wt, SessionEventPayload as x, MakaioSessionSchema as xt, MakaioSessionEventSchema as y, safeValidateSnapshot as yt, MessageRoutingSchema$1 as z };