@makaio/framework 1.0.0-dev-1783477169057 → 1.0.0-dev-1783615060726

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 (104) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/config/index.d.mts +1 -1
  3. package/dist/adapters/index.d.mts +105 -166
  4. package/dist/adapters/index.mjs +6 -6
  5. package/dist/bus/index.d.mts +22 -22
  6. package/dist/bus/index.mjs +1 -1
  7. package/dist/contracts/adapter/index.d.mts +2 -2
  8. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  9. package/dist/contracts/artifact/index.d.mts +1 -1
  10. package/dist/contracts/canonical-model/index.d.mts +1 -1
  11. package/dist/contracts/client/index.d.mts +1 -1
  12. package/dist/contracts/config/index.d.mts +12 -12
  13. package/dist/contracts/extension/index.d.mts +3 -3
  14. package/dist/contracts/harness/index.d.mts +1 -1
  15. package/dist/contracts/index.d.mts +182 -182
  16. package/dist/contracts/index.mjs +1 -1
  17. package/dist/contracts/provider/index.d.mts +1 -1
  18. package/dist/contracts/session/index.d.mts +2 -2
  19. package/dist/contracts/session/index.mjs +1 -1
  20. package/dist/contracts/shared/index.d.mts +1 -1
  21. package/dist/contracts/skill/index.d.mts +1 -1
  22. package/dist/contracts/variant/index.d.mts +1 -1
  23. package/dist/contracts/workflow/index.d.mts +2 -2
  24. package/dist/{index-Dv4oGVZK.d.mts → index-BSprsrul.d.mts} +409 -371
  25. package/dist/{index-C_xQM96Y.d.mts → index-BbQpQ1N3.d.mts} +388 -388
  26. package/dist/{index-CA-AJbq6.d.mts → index-C9FCWOhp.d.mts} +12 -12
  27. package/dist/{index-NkNbYFud.d.mts → index-CaerrEDH.d.mts} +1 -1
  28. package/dist/{index-BcwOnvUh.d.mts → index-CqCe7Phc.d.mts} +6 -6
  29. package/dist/{index-Bl42SCEI.d.mts → index-Cx1Bm6WD.d.mts} +8 -8
  30. package/dist/{index-B-6DtLLz.d.mts → index-D7rWAEY0.d.mts} +1 -1
  31. package/dist/{index-DScUb-hF.d.mts → index-D8wmMJLi.d.mts} +1 -1
  32. package/dist/{index-Di84JjS0.d.mts → index-DEzdNQum.d.mts} +2 -2
  33. package/dist/{index-uM4KZopE.d.mts → index-DKaEpPFS.d.mts} +4 -4
  34. package/dist/{index-j_X5xefv2.d.mts → index-DLNRgZPo2.d.mts} +26 -26
  35. package/dist/{index-BX1MxwFr.d.mts → index-DWu3qrwe.d.mts} +13 -13
  36. package/dist/{index-CwFSL4xI.d.mts → index-DZ14azod.d.mts} +16 -16
  37. package/dist/{index-B3fjN5HX.d.mts → index-DZPNuWMc.d.mts} +4 -4
  38. package/dist/{index-BjO4Zkap.d.mts → index-DoEF9LAc.d.mts} +1 -1
  39. package/dist/{index-BeouVICp.d.mts → index-Qd1Qom8M.d.mts} +40 -40
  40. package/dist/{index-CQQcnpev.d.mts → index-S7lj2TLp.d.mts} +75 -75
  41. package/dist/{index-DMz-2ACU.d.mts → index-WHUV7neB.d.mts} +105 -105
  42. package/dist/kernel/extension/index.d.mts +1 -1
  43. package/dist/kernel/index.d.mts +2 -2
  44. package/dist/kernel/observability/index.d.mts +1 -1
  45. package/dist/{namespace-TPbegIMi.d.mts → namespace-CZK2ff3B.d.mts} +4 -4
  46. package/dist/{namespace-Boh42UoL.d.mts → namespace-Ceg3zkt2.d.mts} +44 -20
  47. package/dist/{namespace-COEUMuHL.d.mts → namespace-CfvtDD_U.d.mts} +156 -156
  48. package/dist/{namespace-6sIu5nBI2.d.mts → namespace-D8P8Sxce2.d.mts} +2 -2
  49. package/dist/{namespace-OLAh9wHU.d.mts → namespace-Dc94fHZW.d.mts} +27 -27
  50. package/dist/{namespace-D94HrTtq.d.mts → namespace-DuUCiVmK.d.mts} +64 -64
  51. package/dist/{namespace-3yGm4WF9.d.mts → namespace-j7vFsmYL.d.mts} +2 -2
  52. package/dist/node/transports/index.d.mts +25 -3
  53. package/dist/node/transports/index.mjs +1 -1
  54. package/dist/package.json +1 -1
  55. package/dist/{schema-B5vHi7Uu.d.mts → schema-B9goOieO.d.mts} +1 -1
  56. package/dist/{schemas-DOV4UouN2.d.mts → schemas-Br-rSxPE2.d.mts} +19 -19
  57. package/dist/{schemas-CDBn9MTz.d.mts → schemas-CoFCV42v.d.mts} +156 -156
  58. package/dist/{schemas-CscdPqCt.d.mts → schemas-lnE9YoG7.d.mts} +3 -3
  59. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  60. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  61. package/dist/services/agent-runtime/index.d.mts +2 -2
  62. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  63. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  64. package/dist/services/context-rules/index.d.mts +11 -11
  65. package/dist/services/execution-target/index.d.mts +1 -1
  66. package/dist/services/filesystem/namespace.d.mts +12 -12
  67. package/dist/services/filesystem/schemas.d.mts +6 -6
  68. package/dist/services/harness/index.d.mts +3 -3
  69. package/dist/services/index.d.mts +144 -144
  70. package/dist/services/index.mjs +1 -1
  71. package/dist/services/log-import/browser.d.mts +2 -2
  72. package/dist/services/log-import/index.d.mts +2 -2
  73. package/dist/services/log-import/log-import.d.mts +1 -1
  74. package/dist/services/log-import/namespace.d.mts +2 -2
  75. package/dist/services/log-import/schemas.d.mts +1 -1
  76. package/dist/services/session/index.d.mts +5 -5
  77. package/dist/services/session/index.mjs +1 -1
  78. package/dist/services/session/messages/namespace.d.mts +1 -1
  79. package/dist/services/session/session-events/namespace.d.mts +1 -1
  80. package/dist/services/session/storage/namespace.d.mts +1 -1
  81. package/dist/services/session/storage/schema.d.mts +1 -1
  82. package/dist/services/session/testing/index.mjs +1 -1
  83. package/dist/services/settings/namespace.d.mts +19 -19
  84. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  85. package/dist/services/subagent-template/index.d.mts +2 -2
  86. package/dist/services/subagent-template/namespace.d.mts +1 -1
  87. package/dist/services/subagent-template/schemas.d.mts +1 -1
  88. package/dist/services/tool-approval/index.mjs +1 -1
  89. package/dist/services/tools/index.mjs +1 -1
  90. package/dist/services/tray-menu/index.d.mts +2 -2
  91. package/dist/services/tray-menu/namespace.d.mts +1 -1
  92. package/dist/services/tray-menu/schemas.d.mts +1 -1
  93. package/dist/session-CX6QDhi2.mjs +76 -0
  94. package/dist/{session-Dp7z5N1d.mjs → session-D5rVMqmE.mjs} +1 -1
  95. package/dist/{session-lineage-C1M7-O3C.d.mts → session-lineage-NBFNVkUE.d.mts} +1 -1
  96. package/dist/{tool-approval-service-BNXgr-az.mjs → tool-approval-service-DEiMKTv9.mjs} +1 -1
  97. package/dist/{tools-BaO4GYj0.mjs → tools-CGFZkB7F.mjs} +1 -1
  98. package/dist/{transition-Bbjlwv5K.d.mts → transition-CmI3q3FA.d.mts} +1 -1
  99. package/dist/{types-CNkx2awa.d.mts → types-BWduCvRU.d.mts} +1 -1
  100. package/dist/{types-jruUn6oW.d.mts → types-Dhou-Itn.d.mts} +266 -266
  101. package/dist/{types-D7W0ntGr.d.mts → types-VwMx5_lS.d.mts} +15 -1
  102. package/dist/workflow-engine/index.d.mts +71 -71
  103. package/package.json +1 -1
  104. package/dist/session-CoGaTin6.mjs +0 -69
@@ -1,5 +1,5 @@
1
1
  import { i as JsonValue$1 } from "./json-value-DtIkQN7g.mjs";
2
- import { s as MessageBlock$1 } from "./index-NkNbYFud.mjs";
2
+ import { s as MessageBlock$1 } from "./index-CaerrEDH.mjs";
3
3
  import * as _$zod from "zod";
4
4
  import { z } from "zod";
5
5
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -25,8 +25,8 @@ declare const SessionCreateBaseSchema: z.ZodObject<{
25
25
  branchKind: z.ZodOptional<z.ZodEnum<{
26
26
  fork: "fork";
27
27
  subagent: "subagent";
28
- branch: "branch";
29
28
  compress: "compress";
29
+ branch: "branch";
30
30
  rewrite: "rewrite";
31
31
  coordinator: "coordinator";
32
32
  aside: "aside";
@@ -179,8 +179,8 @@ declare const MakaioSessionSchema: z.ZodObject<{
179
179
  branchKind: z.ZodOptional<z.ZodEnum<{
180
180
  fork: "fork";
181
181
  subagent: "subagent";
182
- branch: "branch";
183
182
  compress: "compress";
183
+ branch: "branch";
184
184
  rewrite: "rewrite";
185
185
  coordinator: "coordinator";
186
186
  aside: "aside";
@@ -307,8 +307,8 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
307
307
  branchKind: z.ZodOptional<z.ZodEnum<{
308
308
  fork: "fork";
309
309
  subagent: "subagent";
310
- branch: "branch";
311
310
  compress: "compress";
311
+ branch: "branch";
312
312
  rewrite: "rewrite";
313
313
  coordinator: "coordinator";
314
314
  aside: "aside";
@@ -509,8 +509,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
509
509
  branchKind: z.ZodOptional<z.ZodEnum<{
510
510
  fork: "fork";
511
511
  subagent: "subagent";
512
- branch: "branch";
513
512
  compress: "compress";
513
+ branch: "branch";
514
514
  rewrite: "rewrite";
515
515
  coordinator: "coordinator";
516
516
  aside: "aside";
@@ -997,8 +997,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
997
997
  kind: z.ZodEnum<{
998
998
  fork: "fork";
999
999
  subagent: "subagent";
1000
- branch: "branch";
1001
1000
  compress: "compress";
1001
+ branch: "branch";
1002
1002
  rewrite: "rewrite";
1003
1003
  coordinator: "coordinator";
1004
1004
  aside: "aside";
@@ -1034,8 +1034,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
1034
1034
  type: z.ZodLiteral<"locality.degraded">;
1035
1035
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
1036
1036
  intent: z.ZodEnum<{
1037
- fork: "fork";
1038
1037
  resume: "resume";
1038
+ fork: "fork";
1039
1039
  }>;
1040
1040
  verdictKind: z.ZodLiteral<"degrade">;
1041
1041
  reason: z.ZodEnum<{
@@ -1059,8 +1059,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
1059
1059
  turnId: z.ZodOptional<z.ZodString>;
1060
1060
  }, z.core.$strip>, z.ZodObject<{
1061
1061
  intent: z.ZodEnum<{
1062
- fork: "fork";
1063
1062
  resume: "resume";
1063
+ fork: "fork";
1064
1064
  }>;
1065
1065
  verdictKind: z.ZodLiteral<"foreign">;
1066
1066
  foreignMachineId: z.ZodString;
@@ -1122,8 +1122,8 @@ type AgentRole = z.infer<typeof AgentRoleSchema>;
1122
1122
  declare const BranchKindSchema: z.ZodEnum<{
1123
1123
  fork: "fork";
1124
1124
  subagent: "subagent";
1125
- branch: "branch";
1126
1125
  compress: "compress";
1126
+ branch: "branch";
1127
1127
  rewrite: "rewrite";
1128
1128
  coordinator: "coordinator";
1129
1129
  aside: "aside";
@@ -1652,25 +1652,6 @@ declare const OrchestratorSchemas: {
1652
1652
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1653
1653
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
1654
1654
  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
1655
  servers: z.ZodArray<z.ZodObject<{
1675
1656
  name: z.ZodString;
1676
1657
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1707,20 +1688,39 @@ declare const OrchestratorSchemas: {
1707
1688
  type: z.ZodLiteral<"http">;
1708
1689
  }, z.core.$strip>], "type">;
1709
1690
  exposureMode: z.ZodEnum<{
1710
- discovery: "discovery";
1711
1691
  direct: "direct";
1692
+ discovery: "discovery";
1712
1693
  }>;
1713
1694
  }, z.core.$strip>>;
1714
- discoverableTools: z.ZodArray<z.ZodObject<{
1695
+ directTools: z.ZodArray<z.ZodObject<{
1715
1696
  fullName: z.ZodString;
1716
1697
  originalName: z.ZodString;
1717
1698
  serverName: z.ZodString;
1718
1699
  description: z.ZodOptional<z.ZodString>;
1719
1700
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1720
1701
  exposureMode: z.ZodEnum<{
1702
+ direct: "direct";
1703
+ discovery: "discovery";
1721
1704
  hidden: "hidden";
1705
+ }>;
1706
+ enabled: z.ZodBoolean;
1707
+ enabledBy: z.ZodOptional<z.ZodEnum<{
1722
1708
  discovery: "discovery";
1709
+ toolset: "toolset";
1710
+ }>>;
1711
+ enabledAt: z.ZodOptional<z.ZodNumber>;
1712
+ exposed: z.ZodBoolean;
1713
+ }, z.core.$strip>>;
1714
+ discoverableTools: z.ZodArray<z.ZodObject<{
1715
+ fullName: z.ZodString;
1716
+ originalName: z.ZodString;
1717
+ serverName: z.ZodString;
1718
+ description: z.ZodOptional<z.ZodString>;
1719
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1720
+ exposureMode: z.ZodEnum<{
1723
1721
  direct: "direct";
1722
+ discovery: "discovery";
1723
+ hidden: "hidden";
1724
1724
  }>;
1725
1725
  enabled: z.ZodBoolean;
1726
1726
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -1755,25 +1755,6 @@ declare const OrchestratorSchemas: {
1755
1755
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1756
1756
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
1757
1757
  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
1758
  servers: z.ZodArray<z.ZodObject<{
1778
1759
  name: z.ZodString;
1779
1760
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1810,20 +1791,39 @@ declare const OrchestratorSchemas: {
1810
1791
  type: z.ZodLiteral<"http">;
1811
1792
  }, z.core.$strip>], "type">;
1812
1793
  exposureMode: z.ZodEnum<{
1813
- discovery: "discovery";
1814
1794
  direct: "direct";
1795
+ discovery: "discovery";
1815
1796
  }>;
1816
1797
  }, z.core.$strip>>;
1817
- discoverableTools: z.ZodArray<z.ZodObject<{
1798
+ directTools: z.ZodArray<z.ZodObject<{
1818
1799
  fullName: z.ZodString;
1819
1800
  originalName: z.ZodString;
1820
1801
  serverName: z.ZodString;
1821
1802
  description: z.ZodOptional<z.ZodString>;
1822
1803
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1823
1804
  exposureMode: z.ZodEnum<{
1805
+ direct: "direct";
1806
+ discovery: "discovery";
1824
1807
  hidden: "hidden";
1808
+ }>;
1809
+ enabled: z.ZodBoolean;
1810
+ enabledBy: z.ZodOptional<z.ZodEnum<{
1825
1811
  discovery: "discovery";
1812
+ toolset: "toolset";
1813
+ }>>;
1814
+ enabledAt: z.ZodOptional<z.ZodNumber>;
1815
+ exposed: z.ZodBoolean;
1816
+ }, z.core.$strip>>;
1817
+ discoverableTools: z.ZodArray<z.ZodObject<{
1818
+ fullName: z.ZodString;
1819
+ originalName: z.ZodString;
1820
+ serverName: z.ZodString;
1821
+ description: z.ZodOptional<z.ZodString>;
1822
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1823
+ exposureMode: z.ZodEnum<{
1826
1824
  direct: "direct";
1825
+ discovery: "discovery";
1826
+ hidden: "hidden";
1827
1827
  }>;
1828
1828
  enabled: z.ZodBoolean;
1829
1829
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -1858,25 +1858,6 @@ declare const OrchestratorSchemas: {
1858
1858
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1859
1859
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
1860
1860
  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
1861
  servers: z.ZodArray<z.ZodObject<{
1881
1862
  name: z.ZodString;
1882
1863
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1913,20 +1894,39 @@ declare const OrchestratorSchemas: {
1913
1894
  type: z.ZodLiteral<"http">;
1914
1895
  }, z.core.$strip>], "type">;
1915
1896
  exposureMode: z.ZodEnum<{
1916
- discovery: "discovery";
1917
1897
  direct: "direct";
1898
+ discovery: "discovery";
1918
1899
  }>;
1919
1900
  }, z.core.$strip>>;
1920
- discoverableTools: z.ZodArray<z.ZodObject<{
1901
+ directTools: z.ZodArray<z.ZodObject<{
1921
1902
  fullName: z.ZodString;
1922
1903
  originalName: z.ZodString;
1923
1904
  serverName: z.ZodString;
1924
1905
  description: z.ZodOptional<z.ZodString>;
1925
1906
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1926
1907
  exposureMode: z.ZodEnum<{
1908
+ direct: "direct";
1909
+ discovery: "discovery";
1927
1910
  hidden: "hidden";
1911
+ }>;
1912
+ enabled: z.ZodBoolean;
1913
+ enabledBy: z.ZodOptional<z.ZodEnum<{
1928
1914
  discovery: "discovery";
1915
+ toolset: "toolset";
1916
+ }>>;
1917
+ enabledAt: z.ZodOptional<z.ZodNumber>;
1918
+ exposed: z.ZodBoolean;
1919
+ }, z.core.$strip>>;
1920
+ discoverableTools: z.ZodArray<z.ZodObject<{
1921
+ fullName: z.ZodString;
1922
+ originalName: z.ZodString;
1923
+ serverName: z.ZodString;
1924
+ description: z.ZodOptional<z.ZodString>;
1925
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1926
+ exposureMode: z.ZodEnum<{
1929
1927
  direct: "direct";
1928
+ discovery: "discovery";
1929
+ hidden: "hidden";
1930
1930
  }>;
1931
1931
  enabled: z.ZodBoolean;
1932
1932
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -2193,25 +2193,6 @@ declare const OrchestratorSchemas: {
2193
2193
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2194
2194
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
2195
2195
  sessionId: z.ZodString;
2196
- directTools: z.ZodArray<z.ZodObject<{
2197
- fullName: z.ZodString;
2198
- originalName: z.ZodString;
2199
- serverName: z.ZodString;
2200
- description: z.ZodOptional<z.ZodString>;
2201
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2202
- exposureMode: z.ZodEnum<{
2203
- hidden: "hidden";
2204
- discovery: "discovery";
2205
- direct: "direct";
2206
- }>;
2207
- enabled: z.ZodBoolean;
2208
- enabledBy: z.ZodOptional<z.ZodEnum<{
2209
- discovery: "discovery";
2210
- toolset: "toolset";
2211
- }>>;
2212
- enabledAt: z.ZodOptional<z.ZodNumber>;
2213
- exposed: z.ZodBoolean;
2214
- }, z.core.$strip>>;
2215
2196
  servers: z.ZodArray<z.ZodObject<{
2216
2197
  name: z.ZodString;
2217
2198
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2248,20 +2229,39 @@ declare const OrchestratorSchemas: {
2248
2229
  type: z.ZodLiteral<"http">;
2249
2230
  }, z.core.$strip>], "type">;
2250
2231
  exposureMode: z.ZodEnum<{
2251
- discovery: "discovery";
2252
2232
  direct: "direct";
2233
+ discovery: "discovery";
2253
2234
  }>;
2254
2235
  }, z.core.$strip>>;
2255
- discoverableTools: z.ZodArray<z.ZodObject<{
2236
+ directTools: z.ZodArray<z.ZodObject<{
2256
2237
  fullName: z.ZodString;
2257
2238
  originalName: z.ZodString;
2258
2239
  serverName: z.ZodString;
2259
2240
  description: z.ZodOptional<z.ZodString>;
2260
2241
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2261
2242
  exposureMode: z.ZodEnum<{
2243
+ direct: "direct";
2244
+ discovery: "discovery";
2262
2245
  hidden: "hidden";
2246
+ }>;
2247
+ enabled: z.ZodBoolean;
2248
+ enabledBy: z.ZodOptional<z.ZodEnum<{
2263
2249
  discovery: "discovery";
2250
+ toolset: "toolset";
2251
+ }>>;
2252
+ enabledAt: z.ZodOptional<z.ZodNumber>;
2253
+ exposed: z.ZodBoolean;
2254
+ }, z.core.$strip>>;
2255
+ discoverableTools: z.ZodArray<z.ZodObject<{
2256
+ fullName: z.ZodString;
2257
+ originalName: z.ZodString;
2258
+ serverName: z.ZodString;
2259
+ description: z.ZodOptional<z.ZodString>;
2260
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2261
+ exposureMode: z.ZodEnum<{
2264
2262
  direct: "direct";
2263
+ discovery: "discovery";
2264
+ hidden: "hidden";
2265
2265
  }>;
2266
2266
  enabled: z.ZodBoolean;
2267
2267
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -2444,25 +2444,6 @@ declare const OrchestratorSchemas: {
2444
2444
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2445
2445
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
2446
2446
  sessionId: z.ZodString;
2447
- directTools: z.ZodArray<z.ZodObject<{
2448
- fullName: z.ZodString;
2449
- originalName: z.ZodString;
2450
- serverName: z.ZodString;
2451
- description: z.ZodOptional<z.ZodString>;
2452
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2453
- exposureMode: z.ZodEnum<{
2454
- hidden: "hidden";
2455
- discovery: "discovery";
2456
- direct: "direct";
2457
- }>;
2458
- enabled: z.ZodBoolean;
2459
- enabledBy: z.ZodOptional<z.ZodEnum<{
2460
- discovery: "discovery";
2461
- toolset: "toolset";
2462
- }>>;
2463
- enabledAt: z.ZodOptional<z.ZodNumber>;
2464
- exposed: z.ZodBoolean;
2465
- }, z.core.$strip>>;
2466
2447
  servers: z.ZodArray<z.ZodObject<{
2467
2448
  name: z.ZodString;
2468
2449
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2499,20 +2480,39 @@ declare const OrchestratorSchemas: {
2499
2480
  type: z.ZodLiteral<"http">;
2500
2481
  }, z.core.$strip>], "type">;
2501
2482
  exposureMode: z.ZodEnum<{
2502
- discovery: "discovery";
2503
2483
  direct: "direct";
2484
+ discovery: "discovery";
2504
2485
  }>;
2505
2486
  }, z.core.$strip>>;
2506
- discoverableTools: z.ZodArray<z.ZodObject<{
2487
+ directTools: z.ZodArray<z.ZodObject<{
2507
2488
  fullName: z.ZodString;
2508
2489
  originalName: z.ZodString;
2509
2490
  serverName: z.ZodString;
2510
2491
  description: z.ZodOptional<z.ZodString>;
2511
2492
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2512
2493
  exposureMode: z.ZodEnum<{
2494
+ direct: "direct";
2495
+ discovery: "discovery";
2513
2496
  hidden: "hidden";
2497
+ }>;
2498
+ enabled: z.ZodBoolean;
2499
+ enabledBy: z.ZodOptional<z.ZodEnum<{
2514
2500
  discovery: "discovery";
2501
+ toolset: "toolset";
2502
+ }>>;
2503
+ enabledAt: z.ZodOptional<z.ZodNumber>;
2504
+ exposed: z.ZodBoolean;
2505
+ }, z.core.$strip>>;
2506
+ discoverableTools: z.ZodArray<z.ZodObject<{
2507
+ fullName: z.ZodString;
2508
+ originalName: z.ZodString;
2509
+ serverName: z.ZodString;
2510
+ description: z.ZodOptional<z.ZodString>;
2511
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2512
+ exposureMode: z.ZodEnum<{
2515
2513
  direct: "direct";
2514
+ discovery: "discovery";
2515
+ hidden: "hidden";
2516
2516
  }>;
2517
2517
  enabled: z.ZodBoolean;
2518
2518
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -3430,8 +3430,8 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
3430
3430
  kind: z.ZodEnum<{
3431
3431
  fork: "fork";
3432
3432
  subagent: "subagent";
3433
- branch: "branch";
3434
3433
  compress: "compress";
3434
+ branch: "branch";
3435
3435
  rewrite: "rewrite";
3436
3436
  coordinator: "coordinator";
3437
3437
  aside: "aside";
@@ -3467,8 +3467,8 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
3467
3467
  type: z.ZodLiteral<"locality.degraded">;
3468
3468
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
3469
3469
  intent: z.ZodEnum<{
3470
- fork: "fork";
3471
3470
  resume: "resume";
3471
+ fork: "fork";
3472
3472
  }>;
3473
3473
  verdictKind: z.ZodLiteral<"degrade">;
3474
3474
  reason: z.ZodEnum<{
@@ -3492,8 +3492,8 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
3492
3492
  turnId: z.ZodOptional<z.ZodString>;
3493
3493
  }, z.core.$strip>, z.ZodObject<{
3494
3494
  intent: z.ZodEnum<{
3495
- fork: "fork";
3496
3495
  resume: "resume";
3496
+ fork: "fork";
3497
3497
  }>;
3498
3498
  verdictKind: z.ZodLiteral<"foreign">;
3499
3499
  foreignMachineId: z.ZodString;
@@ -3687,8 +3687,8 @@ declare const ForkChildInfoSchema: z.ZodObject<{
3687
3687
  branchKind: z.ZodNullable<z.ZodEnum<{
3688
3688
  fork: "fork";
3689
3689
  subagent: "subagent";
3690
- branch: "branch";
3691
3690
  compress: "compress";
3691
+ branch: "branch";
3692
3692
  rewrite: "rewrite";
3693
3693
  coordinator: "coordinator";
3694
3694
  aside: "aside";
@@ -3761,8 +3761,8 @@ declare const SessionCreatedEventSchema: z.ZodObject<{
3761
3761
  branchKind: z.ZodNullable<z.ZodEnum<{
3762
3762
  fork: "fork";
3763
3763
  subagent: "subagent";
3764
- branch: "branch";
3765
3764
  compress: "compress";
3765
+ branch: "branch";
3766
3766
  rewrite: "rewrite";
3767
3767
  coordinator: "coordinator";
3768
3768
  aside: "aside";
@@ -3840,25 +3840,6 @@ declare const SessionSchemas: {
3840
3840
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
3841
3841
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
3842
3842
  sessionId: _$zod.ZodString;
3843
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
3844
- fullName: _$zod.ZodString;
3845
- originalName: _$zod.ZodString;
3846
- serverName: _$zod.ZodString;
3847
- description: _$zod.ZodOptional<_$zod.ZodString>;
3848
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3849
- exposureMode: _$zod.ZodEnum<{
3850
- hidden: "hidden";
3851
- discovery: "discovery";
3852
- direct: "direct";
3853
- }>;
3854
- enabled: _$zod.ZodBoolean;
3855
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
3856
- discovery: "discovery";
3857
- toolset: "toolset";
3858
- }>>;
3859
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
3860
- exposed: _$zod.ZodBoolean;
3861
- }, _$zod_v4_core0.$strip>>;
3862
3843
  servers: _$zod.ZodArray<_$zod.ZodObject<{
3863
3844
  name: _$zod.ZodString;
3864
3845
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -3895,9 +3876,28 @@ declare const SessionSchemas: {
3895
3876
  type: _$zod.ZodLiteral<"http">;
3896
3877
  }, _$zod_v4_core0.$strip>], "type">;
3897
3878
  exposureMode: _$zod.ZodEnum<{
3879
+ direct: "direct";
3898
3880
  discovery: "discovery";
3881
+ }>;
3882
+ }, _$zod_v4_core0.$strip>>;
3883
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
3884
+ fullName: _$zod.ZodString;
3885
+ originalName: _$zod.ZodString;
3886
+ serverName: _$zod.ZodString;
3887
+ description: _$zod.ZodOptional<_$zod.ZodString>;
3888
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3889
+ exposureMode: _$zod.ZodEnum<{
3899
3890
  direct: "direct";
3891
+ discovery: "discovery";
3892
+ hidden: "hidden";
3900
3893
  }>;
3894
+ enabled: _$zod.ZodBoolean;
3895
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
3896
+ discovery: "discovery";
3897
+ toolset: "toolset";
3898
+ }>>;
3899
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
3900
+ exposed: _$zod.ZodBoolean;
3901
3901
  }, _$zod_v4_core0.$strip>>;
3902
3902
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
3903
3903
  fullName: _$zod.ZodString;
@@ -3906,9 +3906,9 @@ declare const SessionSchemas: {
3906
3906
  description: _$zod.ZodOptional<_$zod.ZodString>;
3907
3907
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3908
3908
  exposureMode: _$zod.ZodEnum<{
3909
- hidden: "hidden";
3910
- discovery: "discovery";
3911
3909
  direct: "direct";
3910
+ discovery: "discovery";
3911
+ hidden: "hidden";
3912
3912
  }>;
3913
3913
  enabled: _$zod.ZodBoolean;
3914
3914
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4096,25 +4096,6 @@ declare const SessionSchemas: {
4096
4096
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4097
4097
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
4098
4098
  sessionId: _$zod.ZodString;
4099
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
4100
- fullName: _$zod.ZodString;
4101
- originalName: _$zod.ZodString;
4102
- serverName: _$zod.ZodString;
4103
- description: _$zod.ZodOptional<_$zod.ZodString>;
4104
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4105
- exposureMode: _$zod.ZodEnum<{
4106
- hidden: "hidden";
4107
- discovery: "discovery";
4108
- direct: "direct";
4109
- }>;
4110
- enabled: _$zod.ZodBoolean;
4111
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4112
- discovery: "discovery";
4113
- toolset: "toolset";
4114
- }>>;
4115
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4116
- exposed: _$zod.ZodBoolean;
4117
- }, _$zod_v4_core0.$strip>>;
4118
4099
  servers: _$zod.ZodArray<_$zod.ZodObject<{
4119
4100
  name: _$zod.ZodString;
4120
4101
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -4151,20 +4132,39 @@ declare const SessionSchemas: {
4151
4132
  type: _$zod.ZodLiteral<"http">;
4152
4133
  }, _$zod_v4_core0.$strip>], "type">;
4153
4134
  exposureMode: _$zod.ZodEnum<{
4154
- discovery: "discovery";
4155
4135
  direct: "direct";
4136
+ discovery: "discovery";
4156
4137
  }>;
4157
4138
  }, _$zod_v4_core0.$strip>>;
4158
- discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4139
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
4159
4140
  fullName: _$zod.ZodString;
4160
4141
  originalName: _$zod.ZodString;
4161
4142
  serverName: _$zod.ZodString;
4162
4143
  description: _$zod.ZodOptional<_$zod.ZodString>;
4163
4144
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4164
4145
  exposureMode: _$zod.ZodEnum<{
4146
+ direct: "direct";
4147
+ discovery: "discovery";
4165
4148
  hidden: "hidden";
4149
+ }>;
4150
+ enabled: _$zod.ZodBoolean;
4151
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4166
4152
  discovery: "discovery";
4153
+ toolset: "toolset";
4154
+ }>>;
4155
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4156
+ exposed: _$zod.ZodBoolean;
4157
+ }, _$zod_v4_core0.$strip>>;
4158
+ discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4159
+ fullName: _$zod.ZodString;
4160
+ originalName: _$zod.ZodString;
4161
+ serverName: _$zod.ZodString;
4162
+ description: _$zod.ZodOptional<_$zod.ZodString>;
4163
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4164
+ exposureMode: _$zod.ZodEnum<{
4167
4165
  direct: "direct";
4166
+ discovery: "discovery";
4167
+ hidden: "hidden";
4168
4168
  }>;
4169
4169
  enabled: _$zod.ZodBoolean;
4170
4170
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4199,25 +4199,6 @@ declare const SessionSchemas: {
4199
4199
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4200
4200
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
4201
4201
  sessionId: _$zod.ZodString;
4202
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
4203
- fullName: _$zod.ZodString;
4204
- originalName: _$zod.ZodString;
4205
- serverName: _$zod.ZodString;
4206
- description: _$zod.ZodOptional<_$zod.ZodString>;
4207
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4208
- exposureMode: _$zod.ZodEnum<{
4209
- hidden: "hidden";
4210
- discovery: "discovery";
4211
- direct: "direct";
4212
- }>;
4213
- enabled: _$zod.ZodBoolean;
4214
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4215
- discovery: "discovery";
4216
- toolset: "toolset";
4217
- }>>;
4218
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4219
- exposed: _$zod.ZodBoolean;
4220
- }, _$zod_v4_core0.$strip>>;
4221
4202
  servers: _$zod.ZodArray<_$zod.ZodObject<{
4222
4203
  name: _$zod.ZodString;
4223
4204
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -4254,20 +4235,39 @@ declare const SessionSchemas: {
4254
4235
  type: _$zod.ZodLiteral<"http">;
4255
4236
  }, _$zod_v4_core0.$strip>], "type">;
4256
4237
  exposureMode: _$zod.ZodEnum<{
4257
- discovery: "discovery";
4258
4238
  direct: "direct";
4239
+ discovery: "discovery";
4259
4240
  }>;
4260
4241
  }, _$zod_v4_core0.$strip>>;
4261
- discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4242
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
4262
4243
  fullName: _$zod.ZodString;
4263
4244
  originalName: _$zod.ZodString;
4264
4245
  serverName: _$zod.ZodString;
4265
4246
  description: _$zod.ZodOptional<_$zod.ZodString>;
4266
4247
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4267
4248
  exposureMode: _$zod.ZodEnum<{
4249
+ direct: "direct";
4250
+ discovery: "discovery";
4268
4251
  hidden: "hidden";
4252
+ }>;
4253
+ enabled: _$zod.ZodBoolean;
4254
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4269
4255
  discovery: "discovery";
4256
+ toolset: "toolset";
4257
+ }>>;
4258
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4259
+ exposed: _$zod.ZodBoolean;
4260
+ }, _$zod_v4_core0.$strip>>;
4261
+ discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4262
+ fullName: _$zod.ZodString;
4263
+ originalName: _$zod.ZodString;
4264
+ serverName: _$zod.ZodString;
4265
+ description: _$zod.ZodOptional<_$zod.ZodString>;
4266
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4267
+ exposureMode: _$zod.ZodEnum<{
4270
4268
  direct: "direct";
4269
+ discovery: "discovery";
4270
+ hidden: "hidden";
4271
4271
  }>;
4272
4272
  enabled: _$zod.ZodBoolean;
4273
4273
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4302,25 +4302,6 @@ declare const SessionSchemas: {
4302
4302
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4303
4303
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
4304
4304
  sessionId: _$zod.ZodString;
4305
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
4306
- fullName: _$zod.ZodString;
4307
- originalName: _$zod.ZodString;
4308
- serverName: _$zod.ZodString;
4309
- description: _$zod.ZodOptional<_$zod.ZodString>;
4310
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4311
- exposureMode: _$zod.ZodEnum<{
4312
- hidden: "hidden";
4313
- discovery: "discovery";
4314
- direct: "direct";
4315
- }>;
4316
- enabled: _$zod.ZodBoolean;
4317
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4318
- discovery: "discovery";
4319
- toolset: "toolset";
4320
- }>>;
4321
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4322
- exposed: _$zod.ZodBoolean;
4323
- }, _$zod_v4_core0.$strip>>;
4324
4305
  servers: _$zod.ZodArray<_$zod.ZodObject<{
4325
4306
  name: _$zod.ZodString;
4326
4307
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -4357,20 +4338,39 @@ declare const SessionSchemas: {
4357
4338
  type: _$zod.ZodLiteral<"http">;
4358
4339
  }, _$zod_v4_core0.$strip>], "type">;
4359
4340
  exposureMode: _$zod.ZodEnum<{
4360
- discovery: "discovery";
4361
4341
  direct: "direct";
4342
+ discovery: "discovery";
4362
4343
  }>;
4363
4344
  }, _$zod_v4_core0.$strip>>;
4364
- discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4345
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
4365
4346
  fullName: _$zod.ZodString;
4366
4347
  originalName: _$zod.ZodString;
4367
4348
  serverName: _$zod.ZodString;
4368
4349
  description: _$zod.ZodOptional<_$zod.ZodString>;
4369
4350
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4370
4351
  exposureMode: _$zod.ZodEnum<{
4352
+ direct: "direct";
4353
+ discovery: "discovery";
4371
4354
  hidden: "hidden";
4355
+ }>;
4356
+ enabled: _$zod.ZodBoolean;
4357
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4372
4358
  discovery: "discovery";
4359
+ toolset: "toolset";
4360
+ }>>;
4361
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4362
+ exposed: _$zod.ZodBoolean;
4363
+ }, _$zod_v4_core0.$strip>>;
4364
+ discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4365
+ fullName: _$zod.ZodString;
4366
+ originalName: _$zod.ZodString;
4367
+ serverName: _$zod.ZodString;
4368
+ description: _$zod.ZodOptional<_$zod.ZodString>;
4369
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4370
+ exposureMode: _$zod.ZodEnum<{
4373
4371
  direct: "direct";
4372
+ discovery: "discovery";
4373
+ hidden: "hidden";
4374
4374
  }>;
4375
4375
  enabled: _$zod.ZodBoolean;
4376
4376
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4604,25 +4604,6 @@ declare const SessionSchemas: {
4604
4604
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4605
4605
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
4606
4606
  sessionId: _$zod.ZodString;
4607
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
4608
- fullName: _$zod.ZodString;
4609
- originalName: _$zod.ZodString;
4610
- serverName: _$zod.ZodString;
4611
- description: _$zod.ZodOptional<_$zod.ZodString>;
4612
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4613
- exposureMode: _$zod.ZodEnum<{
4614
- hidden: "hidden";
4615
- discovery: "discovery";
4616
- direct: "direct";
4617
- }>;
4618
- enabled: _$zod.ZodBoolean;
4619
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4620
- discovery: "discovery";
4621
- toolset: "toolset";
4622
- }>>;
4623
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4624
- exposed: _$zod.ZodBoolean;
4625
- }, _$zod_v4_core0.$strip>>;
4626
4607
  servers: _$zod.ZodArray<_$zod.ZodObject<{
4627
4608
  name: _$zod.ZodString;
4628
4609
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -4659,20 +4640,39 @@ declare const SessionSchemas: {
4659
4640
  type: _$zod.ZodLiteral<"http">;
4660
4641
  }, _$zod_v4_core0.$strip>], "type">;
4661
4642
  exposureMode: _$zod.ZodEnum<{
4662
- discovery: "discovery";
4663
4643
  direct: "direct";
4644
+ discovery: "discovery";
4664
4645
  }>;
4665
4646
  }, _$zod_v4_core0.$strip>>;
4666
- discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4647
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
4667
4648
  fullName: _$zod.ZodString;
4668
4649
  originalName: _$zod.ZodString;
4669
4650
  serverName: _$zod.ZodString;
4670
4651
  description: _$zod.ZodOptional<_$zod.ZodString>;
4671
4652
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4672
4653
  exposureMode: _$zod.ZodEnum<{
4654
+ direct: "direct";
4655
+ discovery: "discovery";
4673
4656
  hidden: "hidden";
4657
+ }>;
4658
+ enabled: _$zod.ZodBoolean;
4659
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4674
4660
  discovery: "discovery";
4661
+ toolset: "toolset";
4662
+ }>>;
4663
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4664
+ exposed: _$zod.ZodBoolean;
4665
+ }, _$zod_v4_core0.$strip>>;
4666
+ discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4667
+ fullName: _$zod.ZodString;
4668
+ originalName: _$zod.ZodString;
4669
+ serverName: _$zod.ZodString;
4670
+ description: _$zod.ZodOptional<_$zod.ZodString>;
4671
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4672
+ exposureMode: _$zod.ZodEnum<{
4675
4673
  direct: "direct";
4674
+ discovery: "discovery";
4675
+ hidden: "hidden";
4676
4676
  }>;
4677
4677
  enabled: _$zod.ZodBoolean;
4678
4678
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4847,25 +4847,6 @@ declare const SessionSchemas: {
4847
4847
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4848
4848
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
4849
4849
  sessionId: _$zod.ZodString;
4850
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
4851
- fullName: _$zod.ZodString;
4852
- originalName: _$zod.ZodString;
4853
- serverName: _$zod.ZodString;
4854
- description: _$zod.ZodOptional<_$zod.ZodString>;
4855
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4856
- exposureMode: _$zod.ZodEnum<{
4857
- hidden: "hidden";
4858
- discovery: "discovery";
4859
- direct: "direct";
4860
- }>;
4861
- enabled: _$zod.ZodBoolean;
4862
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4863
- discovery: "discovery";
4864
- toolset: "toolset";
4865
- }>>;
4866
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4867
- exposed: _$zod.ZodBoolean;
4868
- }, _$zod_v4_core0.$strip>>;
4869
4850
  servers: _$zod.ZodArray<_$zod.ZodObject<{
4870
4851
  name: _$zod.ZodString;
4871
4852
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -4902,20 +4883,39 @@ declare const SessionSchemas: {
4902
4883
  type: _$zod.ZodLiteral<"http">;
4903
4884
  }, _$zod_v4_core0.$strip>], "type">;
4904
4885
  exposureMode: _$zod.ZodEnum<{
4905
- discovery: "discovery";
4906
4886
  direct: "direct";
4887
+ discovery: "discovery";
4907
4888
  }>;
4908
4889
  }, _$zod_v4_core0.$strip>>;
4909
- discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4890
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
4910
4891
  fullName: _$zod.ZodString;
4911
4892
  originalName: _$zod.ZodString;
4912
4893
  serverName: _$zod.ZodString;
4913
4894
  description: _$zod.ZodOptional<_$zod.ZodString>;
4914
4895
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4915
4896
  exposureMode: _$zod.ZodEnum<{
4897
+ direct: "direct";
4898
+ discovery: "discovery";
4916
4899
  hidden: "hidden";
4900
+ }>;
4901
+ enabled: _$zod.ZodBoolean;
4902
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4917
4903
  discovery: "discovery";
4904
+ toolset: "toolset";
4905
+ }>>;
4906
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4907
+ exposed: _$zod.ZodBoolean;
4908
+ }, _$zod_v4_core0.$strip>>;
4909
+ discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4910
+ fullName: _$zod.ZodString;
4911
+ originalName: _$zod.ZodString;
4912
+ serverName: _$zod.ZodString;
4913
+ description: _$zod.ZodOptional<_$zod.ZodString>;
4914
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4915
+ exposureMode: _$zod.ZodEnum<{
4918
4916
  direct: "direct";
4917
+ discovery: "discovery";
4918
+ hidden: "hidden";
4919
4919
  }>;
4920
4920
  enabled: _$zod.ZodBoolean;
4921
4921
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -5418,8 +5418,8 @@ declare const SessionSchemas: {
5418
5418
  branchKind: _$zod.ZodNullable<_$zod.ZodEnum<{
5419
5419
  fork: "fork";
5420
5420
  subagent: "subagent";
5421
- branch: "branch";
5422
5421
  compress: "compress";
5422
+ branch: "branch";
5423
5423
  rewrite: "rewrite";
5424
5424
  coordinator: "coordinator";
5425
5425
  aside: "aside";
@@ -5475,8 +5475,8 @@ declare const SessionSchemas: {
5475
5475
  kind: _$zod.ZodEnum<{
5476
5476
  fork: "fork";
5477
5477
  subagent: "subagent";
5478
- branch: "branch";
5479
5478
  compress: "compress";
5479
+ branch: "branch";
5480
5480
  rewrite: "rewrite";
5481
5481
  coordinator: "coordinator";
5482
5482
  aside: "aside";
@@ -5523,8 +5523,8 @@ declare const SessionSchemas: {
5523
5523
  branchKind: _$zod.ZodNullable<_$zod.ZodEnum<{
5524
5524
  fork: "fork";
5525
5525
  subagent: "subagent";
5526
- branch: "branch";
5527
5526
  compress: "compress";
5527
+ branch: "branch";
5528
5528
  rewrite: "rewrite";
5529
5529
  coordinator: "coordinator";
5530
5530
  aside: "aside";
@@ -5624,8 +5624,8 @@ declare const SessionSchemas: {
5624
5624
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
5625
5625
  fork: "fork";
5626
5626
  subagent: "subagent";
5627
- branch: "branch";
5628
5627
  compress: "compress";
5628
+ branch: "branch";
5629
5629
  rewrite: "rewrite";
5630
5630
  coordinator: "coordinator";
5631
5631
  aside: "aside";
@@ -6112,8 +6112,8 @@ declare const SessionSchemas: {
6112
6112
  kind: _$zod.ZodEnum<{
6113
6113
  fork: "fork";
6114
6114
  subagent: "subagent";
6115
- branch: "branch";
6116
6115
  compress: "compress";
6116
+ branch: "branch";
6117
6117
  rewrite: "rewrite";
6118
6118
  coordinator: "coordinator";
6119
6119
  aside: "aside";
@@ -6149,8 +6149,8 @@ declare const SessionSchemas: {
6149
6149
  type: _$zod.ZodLiteral<"locality.degraded">;
6150
6150
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
6151
6151
  intent: _$zod.ZodEnum<{
6152
- fork: "fork";
6153
6152
  resume: "resume";
6153
+ fork: "fork";
6154
6154
  }>;
6155
6155
  verdictKind: _$zod.ZodLiteral<"degrade">;
6156
6156
  reason: _$zod.ZodEnum<{
@@ -6174,8 +6174,8 @@ declare const SessionSchemas: {
6174
6174
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
6175
6175
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
6176
6176
  intent: _$zod.ZodEnum<{
6177
- fork: "fork";
6178
6177
  resume: "resume";
6178
+ fork: "fork";
6179
6179
  }>;
6180
6180
  verdictKind: _$zod.ZodLiteral<"foreign">;
6181
6181
  foreignMachineId: _$zod.ZodString;
@@ -6257,8 +6257,8 @@ declare const SessionSchemas: {
6257
6257
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
6258
6258
  fork: "fork";
6259
6259
  subagent: "subagent";
6260
- branch: "branch";
6261
6260
  compress: "compress";
6261
+ branch: "branch";
6262
6262
  rewrite: "rewrite";
6263
6263
  coordinator: "coordinator";
6264
6264
  aside: "aside";
@@ -6745,8 +6745,8 @@ declare const SessionSchemas: {
6745
6745
  kind: _$zod.ZodEnum<{
6746
6746
  fork: "fork";
6747
6747
  subagent: "subagent";
6748
- branch: "branch";
6749
6748
  compress: "compress";
6749
+ branch: "branch";
6750
6750
  rewrite: "rewrite";
6751
6751
  coordinator: "coordinator";
6752
6752
  aside: "aside";
@@ -6782,8 +6782,8 @@ declare const SessionSchemas: {
6782
6782
  type: _$zod.ZodLiteral<"locality.degraded">;
6783
6783
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
6784
6784
  intent: _$zod.ZodEnum<{
6785
- fork: "fork";
6786
6785
  resume: "resume";
6786
+ fork: "fork";
6787
6787
  }>;
6788
6788
  verdictKind: _$zod.ZodLiteral<"degrade">;
6789
6789
  reason: _$zod.ZodEnum<{
@@ -6807,8 +6807,8 @@ declare const SessionSchemas: {
6807
6807
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
6808
6808
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
6809
6809
  intent: _$zod.ZodEnum<{
6810
- fork: "fork";
6811
6810
  resume: "resume";
6811
+ fork: "fork";
6812
6812
  }>;
6813
6813
  verdictKind: _$zod.ZodLiteral<"foreign">;
6814
6814
  foreignMachineId: _$zod.ZodString;
@@ -6911,8 +6911,8 @@ declare const SessionSchemas: {
6911
6911
  timestamp: _$zod.ZodNumber;
6912
6912
  }, _$zod_v4_core0.$strip>, _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
6913
6913
  intent: _$zod.ZodEnum<{
6914
- fork: "fork";
6915
6914
  resume: "resume";
6915
+ fork: "fork";
6916
6916
  }>;
6917
6917
  verdictKind: _$zod.ZodLiteral<"degrade">;
6918
6918
  reason: _$zod.ZodEnum<{
@@ -6936,8 +6936,8 @@ declare const SessionSchemas: {
6936
6936
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
6937
6937
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
6938
6938
  intent: _$zod.ZodEnum<{
6939
- fork: "fork";
6940
6939
  resume: "resume";
6940
+ fork: "fork";
6941
6941
  }>;
6942
6942
  verdictKind: _$zod.ZodLiteral<"foreign">;
6943
6943
  foreignMachineId: _$zod.ZodString;
@@ -7257,8 +7257,8 @@ declare const SessionSchemas: {
7257
7257
  kind: _$zod.ZodEnum<{
7258
7258
  fork: "fork";
7259
7259
  subagent: "subagent";
7260
- branch: "branch";
7261
7260
  compress: "compress";
7261
+ branch: "branch";
7262
7262
  rewrite: "rewrite";
7263
7263
  coordinator: "coordinator";
7264
7264
  aside: "aside";
@@ -7294,8 +7294,8 @@ declare const SessionSchemas: {
7294
7294
  type: _$zod.ZodLiteral<"locality.degraded">;
7295
7295
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
7296
7296
  intent: _$zod.ZodEnum<{
7297
- fork: "fork";
7298
7297
  resume: "resume";
7298
+ fork: "fork";
7299
7299
  }>;
7300
7300
  verdictKind: _$zod.ZodLiteral<"degrade">;
7301
7301
  reason: _$zod.ZodEnum<{
@@ -7319,8 +7319,8 @@ declare const SessionSchemas: {
7319
7319
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
7320
7320
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
7321
7321
  intent: _$zod.ZodEnum<{
7322
- fork: "fork";
7323
7322
  resume: "resume";
7323
+ fork: "fork";
7324
7324
  }>;
7325
7325
  verdictKind: _$zod.ZodLiteral<"foreign">;
7326
7326
  foreignMachineId: _$zod.ZodString;
@@ -7403,8 +7403,8 @@ declare const SessionSchemas: {
7403
7403
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
7404
7404
  fork: "fork";
7405
7405
  subagent: "subagent";
7406
- branch: "branch";
7407
7406
  compress: "compress";
7407
+ branch: "branch";
7408
7408
  rewrite: "rewrite";
7409
7409
  coordinator: "coordinator";
7410
7410
  aside: "aside";
@@ -7541,8 +7541,8 @@ declare const SessionSchemas: {
7541
7541
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
7542
7542
  fork: "fork";
7543
7543
  subagent: "subagent";
7544
- branch: "branch";
7545
7544
  compress: "compress";
7545
+ branch: "branch";
7546
7546
  rewrite: "rewrite";
7547
7547
  coordinator: "coordinator";
7548
7548
  aside: "aside";
@@ -7670,8 +7670,8 @@ declare const SessionSchemas: {
7670
7670
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
7671
7671
  fork: "fork";
7672
7672
  subagent: "subagent";
7673
- branch: "branch";
7674
7673
  compress: "compress";
7674
+ branch: "branch";
7675
7675
  rewrite: "rewrite";
7676
7676
  coordinator: "coordinator";
7677
7677
  aside: "aside";
@@ -7748,8 +7748,8 @@ declare const SessionSchemas: {
7748
7748
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
7749
7749
  fork: "fork";
7750
7750
  subagent: "subagent";
7751
- branch: "branch";
7752
7751
  compress: "compress";
7752
+ branch: "branch";
7753
7753
  rewrite: "rewrite";
7754
7754
  coordinator: "coordinator";
7755
7755
  aside: "aside";
@@ -7913,8 +7913,8 @@ declare const SessionSchemas: {
7913
7913
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
7914
7914
  fork: "fork";
7915
7915
  subagent: "subagent";
7916
- branch: "branch";
7917
7916
  compress: "compress";
7917
+ branch: "branch";
7918
7918
  rewrite: "rewrite";
7919
7919
  coordinator: "coordinator";
7920
7920
  aside: "aside";