@makaio/framework 1.0.0-dev-1779051654000 → 1.0.0-dev-1781023871421

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 (419) hide show
  1. package/LICENSE +1 -1
  2. package/dist/.makaio-build.json +5 -0
  3. package/dist/account-identity-DT5NOtFi.mjs +1 -0
  4. package/dist/adapter-C1eI-fGV.mjs +1 -0
  5. package/dist/adapters/acp-client/index.d.mts +6013 -14
  6. package/dist/adapters/acp-client/index.mjs +3 -1
  7. package/dist/adapters/config/index.d.mts +1 -1
  8. package/dist/adapters/config/index.mjs +1 -1
  9. package/dist/adapters/index.d.mts +47 -20
  10. package/dist/adapters/index.mjs +13 -6
  11. package/dist/adapters/node.d.mts +4 -4
  12. package/dist/adapters/node.mjs +4 -4
  13. package/dist/adapters/stream-session/index.d.mts +30 -0
  14. package/dist/adapters/stream-session/index.mjs +1 -1
  15. package/dist/artifact-B3npq1cy.mjs +1 -0
  16. package/dist/bus/index.d.mts +866 -203
  17. package/dist/bus/index.mjs +1 -1
  18. package/dist/bus-Caz3Jpbc.mjs +1 -0
  19. package/dist/bus-Hb-LGzgb.mjs +2 -0
  20. package/dist/chunk-DTipWd-i.mjs +1 -0
  21. package/dist/client-bx74gm4R.mjs +1 -0
  22. package/dist/clients/index.d.mts +113 -35
  23. package/dist/clients/index.mjs +2 -2
  24. package/dist/{clients-namespace-UHj5wt-l.d.mts → clients-namespace-GmSJpBUV.d.mts} +8 -8
  25. package/dist/{config-namespace-ChZOpi1W.d.mts → config-namespace-CPY9YsR8.d.mts} +4 -4
  26. package/dist/contracts/adapter/index.d.mts +3 -3
  27. package/dist/contracts/adapter/index.mjs +1 -1
  28. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  29. package/dist/contracts/artifact/index.d.mts +2 -0
  30. package/dist/contracts/artifact/index.mjs +1 -0
  31. package/dist/contracts/client/index.d.mts +2 -2
  32. package/dist/contracts/client/index.mjs +1 -1
  33. package/dist/contracts/common/index.d.mts +1 -1
  34. package/dist/contracts/config/index.d.mts +8 -8
  35. package/dist/contracts/config/index.mjs +1 -1
  36. package/dist/contracts/extension/index.d.mts +4 -3
  37. package/dist/contracts/extension/index.mjs +1 -1
  38. package/dist/contracts/facet/index.d.mts +2 -0
  39. package/dist/contracts/facet/index.mjs +1 -0
  40. package/dist/contracts/harness/index.d.mts +1 -1
  41. package/dist/contracts/harness/index.mjs +1 -1
  42. package/dist/contracts/host/index.d.mts +1 -1
  43. package/dist/contracts/host/index.mjs +1 -1
  44. package/dist/contracts/index.d.mts +12370 -1990
  45. package/dist/contracts/index.mjs +1 -1
  46. package/dist/contracts/materialization/index.d.mts +4 -0
  47. package/dist/contracts/materialization/index.mjs +1 -0
  48. package/dist/contracts/model-registry/index.d.mts +1 -1
  49. package/dist/contracts/model-registry/index.mjs +1 -1
  50. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  51. package/dist/contracts/native-session-supervisor/index.mjs +1 -1
  52. package/dist/contracts/platform/index.d.mts +1 -1
  53. package/dist/contracts/platform/index.mjs +1 -1
  54. package/dist/contracts/provider/index.d.mts +2 -2
  55. package/dist/contracts/provider/index.mjs +1 -1
  56. package/dist/contracts/session/index.d.mts +3 -3
  57. package/dist/contracts/session/index.mjs +1 -1
  58. package/dist/contracts/shared/index.d.mts +2 -2
  59. package/dist/contracts/shared/index.mjs +1 -1
  60. package/dist/contracts/skill/index.d.mts +1 -1
  61. package/dist/contracts/skill/index.mjs +1 -1
  62. package/dist/contracts/telemetry/index.d.mts +2 -0
  63. package/dist/contracts/telemetry/index.mjs +1 -0
  64. package/dist/contracts/timeout/index.d.mts +1 -1
  65. package/dist/contracts/timeout/index.mjs +1 -1
  66. package/dist/contracts/toast/index.d.mts +2 -2
  67. package/dist/contracts/toast/index.mjs +1 -1
  68. package/dist/contracts/variant/index.d.mts +1 -1
  69. package/dist/contracts/variant/index.mjs +1 -1
  70. package/dist/core/index.d.mts +296 -34
  71. package/dist/core/index.mjs +1 -1
  72. package/dist/{credential-ref-DLCsoKVZ.mjs → credential-ref-YWQQENEo.mjs} +1 -1
  73. package/dist/cursor-storage-CtVJ3JzB.mjs +1 -0
  74. package/dist/{definition-DB7bbFSa.d.mts → definition-BLCdXGzh.d.mts} +17 -3
  75. package/dist/definition-CrgHIpTK.d.mts +60 -0
  76. package/dist/{definition-DkYy1PZz.mjs → definition-DZMXOnjX.mjs} +1 -1
  77. package/dist/{definition-DtUNiGom.d.mts → definition-pkJ6szUl.d.mts} +1 -1
  78. package/dist/drizzle-Eq8W1EbD.mjs +1 -0
  79. package/dist/event-Ca2yUf5i.mjs +1 -0
  80. package/dist/execution-target-CRPTfZlc.mjs +1 -0
  81. package/dist/extension-C-4BHMRI.mjs +1 -0
  82. package/dist/extension-CpIUgBKI.mjs +1 -0
  83. package/dist/facet-BuwhrThl.mjs +1 -0
  84. package/dist/filesystem-service-B8rhBRgB.mjs +1 -0
  85. package/dist/filesystem-service-p_iJVHd4.d.mts +66 -0
  86. package/dist/git/index.d.mts +210 -0
  87. package/dist/git/index.mjs +18 -0
  88. package/dist/globby-rtWVaFHv.mjs +41 -0
  89. package/dist/{handlers-DR_4_rAT.mjs → handlers-CkTsQLra.mjs} +3 -3
  90. package/dist/{harness-B6lGP9rm.mjs → harness-BRCMcvQN.mjs} +1 -1
  91. package/dist/{host-CvEht5RT.mjs → host-Br9VuOyr.mjs} +1 -1
  92. package/dist/{index-WKjrpcA_.d.mts → index-472sOmsW.d.mts} +6 -6
  93. package/dist/index-8SZkg7s6.d.mts +353 -0
  94. package/dist/index-B3PK4FIn.d.mts +5116 -0
  95. package/dist/{index-D2jejYlV.d.mts → index-B80L4YqA.d.mts} +3 -3
  96. package/dist/index-BFg9BUpx.d.mts +355 -0
  97. package/dist/index-BGfWS6GE.d.mts +483 -0
  98. package/dist/{index-DQRsGXb5.d.mts → index-BVgfS-AJ.d.mts} +2 -2
  99. package/dist/{index-CnmPtjnA.d.mts → index-B_zQC98V.d.mts} +16 -16
  100. package/dist/{index-DaEp4UWW.d.mts → index-Bh_Ne7LF.d.mts} +54 -42
  101. package/dist/{index-yvN8UcEH.d.mts → index-Bvb2mMH6.d.mts} +109 -109
  102. package/dist/{index-tKvu34DJ2.d.mts → index-CCGVh9BF2.d.mts} +242 -28
  103. package/dist/{index-C-myW_aK.d.mts → index-CGmcS0Ma.d.mts} +2 -2
  104. package/dist/{index-DEw90pa2.d.mts → index-CLpjm52M.d.mts} +3 -3
  105. package/dist/{index-DQWMu5fS.d.mts → index-Caig6TeF.d.mts} +85 -99
  106. package/dist/{index-DwCA1HWa.d.mts → index-CelJCBjk.d.mts} +15 -15
  107. package/dist/{index-ESSDWIB7.d.mts → index-ChunCFu4.d.mts} +1 -1
  108. package/dist/{index-e5C62_M3.d.mts → index-Cm0dUkWL.d.mts} +819 -85
  109. package/dist/{index-N5K1NOYs.d.mts → index-CokQYGVP.d.mts} +4 -4
  110. package/dist/{index-Bigx81Kr.d.mts → index-Cs0kZXIz2.d.mts} +1 -1
  111. package/dist/{index-6lyShOoU.d.mts → index-D5d5HeWI2.d.mts} +34 -0
  112. package/dist/{index-sBob9D25.d.mts → index-D90OmGmV.d.mts} +3 -3
  113. package/dist/{index-D1T-PPqF.d.mts → index-D9MwJ2Q8.d.mts} +3 -3
  114. package/dist/{index-BePI0ckL.d.mts → index-DANINzMu.d.mts} +1 -1
  115. package/dist/{index-BnSQE7z7.d.mts → index-DBw-89vC2.d.mts} +129 -1332
  116. package/dist/{index-C_kS2aqV2.d.mts → index-DGBu6bHi2.d.mts} +14 -14
  117. package/dist/index-DKC62dY5.d.mts +146 -0
  118. package/dist/{index-7sXlairn2.d.mts → index-DKia0MX1.d.mts} +1 -1
  119. package/dist/{index-E8d_RwaF.d.mts → index-DMKnON5s.d.mts} +1 -1
  120. package/dist/{index-Cq8B7cwK.d.mts → index-DUaw0Dw8.d.mts} +1524 -369
  121. package/dist/{index-Dd5s4MSm.d.mts → index-De3kPhlN.d.mts} +2 -2
  122. package/dist/{index-DGTFJB_8.d.mts → index-L4GjJDKb.d.mts} +116 -23
  123. package/dist/{index-iID2R9G1.d.mts → index-U-A8eyGT.d.mts} +7 -7
  124. package/dist/{index-D7T8XCku.d.mts → index-eemAKwsB.d.mts} +23 -2
  125. package/dist/{index-BXP9GK5q.d.mts → index-mNec7V-9.d.mts} +27 -27
  126. package/dist/{index-CnZOKNjU.d.mts → index-soFznFCy2.d.mts} +2 -2
  127. package/dist/{index-Ch3ph52M2.d.mts → index-vtXJuwrz.d.mts} +2 -2
  128. package/dist/{index-BnNqbx2I.d.mts → index-x_lVDp_J.d.mts} +2 -2
  129. package/dist/json-value-CmhSGMLv.mjs +1 -0
  130. package/dist/kernel/cli/index.d.mts +4 -2
  131. package/dist/kernel/cli/index.mjs +1 -1
  132. package/dist/kernel/cli/schemas.d.mts +1 -0
  133. package/dist/kernel/cli/schemas.mjs +1 -1
  134. package/dist/kernel/extension/index.d.mts +1 -1
  135. package/dist/kernel/extension/index.mjs +1 -1
  136. package/dist/kernel/index.d.mts +5 -5
  137. package/dist/kernel/index.mjs +1 -1
  138. package/dist/kernel/namespace/index.d.mts +1 -1
  139. package/dist/kernel/namespace/index.mjs +1 -1
  140. package/dist/kernel/observability/index.d.mts +1 -1
  141. package/dist/kernel/observability/index.mjs +1 -1
  142. package/dist/kernel/providers/index.d.mts +1 -1
  143. package/dist/kernel/providers/index.mjs +1 -1
  144. package/dist/kernel/window/index.d.mts +1 -1
  145. package/dist/kernel/window/index.mjs +1 -1
  146. package/dist/materialization-CuUBu4XI.mjs +1 -0
  147. package/dist/{namespace-BpIE-jQW.d.mts → namespace-5QQqbF-B.d.mts} +1018 -111
  148. package/dist/{namespace-DwCyOaZn2.d.mts → namespace-BM7Djng9.d.mts} +3 -3
  149. package/dist/namespace-BwzZJqTV.mjs +1 -0
  150. package/dist/{namespace-DZcuLwEA.d.mts → namespace-CTm3nEvh.d.mts} +1 -1
  151. package/dist/{namespace-BK2erxpV.d.mts → namespace-CaaNnKcR.d.mts} +3 -3
  152. package/dist/{namespace-GLGGcWPH.d.mts → namespace-CaoZ3S78.d.mts} +1 -1
  153. package/dist/{namespace-DXnMk3U8.d.mts → namespace-CxhsoFUP.d.mts} +27 -31
  154. package/dist/{namespace-B1E57soL.d.mts → namespace-DD8Oiqo7.d.mts} +23 -23
  155. package/dist/{namespace-BCRNwPnw.d.mts → namespace-DLovh2Ws.d.mts} +21 -21
  156. package/dist/{namespace-Ysg1N6rR.d.mts → namespace-DgqkaOVu.d.mts} +26 -25
  157. package/dist/{namespace-B5ZCshBw.d.mts → namespace-Dr8K0MCp.d.mts} +82 -81
  158. package/dist/{namespace-DGMO2E8f.mjs → namespace-DuXK5AYN.mjs} +1 -1
  159. package/dist/{namespace-ZbthBQVt.d.mts → namespace-EQniz-Aw.d.mts} +14 -14
  160. package/dist/{namespace-C54Oj025.d.mts → namespace-IV1QK__V.d.mts} +1 -1
  161. package/dist/{namespace-BKrV_2gZ.d.mts → namespace-TyiTsLFv.d.mts} +46 -45
  162. package/dist/{namespace-OwAf1Brw.mjs → namespace-xcmbQlxh.mjs} +1 -1
  163. package/dist/{native-session-supervisor-zPt624Tp.mjs → native-session-supervisor-B1TnaPUF.mjs} +1 -1
  164. package/dist/node/bus-server/index.d.mts +1 -1
  165. package/dist/node/bus-server/index.mjs +1 -1
  166. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  167. package/dist/node/bus-server/server-lifecycle.mjs +1 -1
  168. package/dist/node/machine-identity/index.mjs +2 -2
  169. package/dist/node/transports/index.d.mts +200 -7
  170. package/dist/node/transports/index.mjs +2 -2
  171. package/dist/{orchestrator-shared-D2txLAUs.mjs → orchestrator-shared-CIDiFJMD.mjs} +1 -1
  172. package/dist/{orchestrator-shared-DrjtTXYh.d.mts → orchestrator-shared-Dfa7FMyw.d.mts} +5 -5
  173. package/dist/package-DKVlsMP3.mjs +1 -0
  174. package/dist/{profile-Cq4A7kQa.mjs → profile-6ynCD5k3.mjs} +1 -1
  175. package/dist/{provider-context-BB4eD8ON.mjs → provider-context-CK6B4X_8.mjs} +1 -1
  176. package/dist/providers/index.mjs +1 -1
  177. package/dist/{providers-namespace-CDwxY_DV.d.mts → providers-namespace-DSEpli4A.d.mts} +1 -1
  178. package/dist/{schema-B295yplx.d.mts → schema-M5YTvSAG.d.mts} +114 -2
  179. package/dist/{schema-C4iznV0q.mjs → schema-e0wU_lcV.mjs} +1 -1
  180. package/dist/{schema-introspection-DCYC47_d.mjs → schema-introspection-Dn1jWQs1.mjs} +1 -1
  181. package/dist/{schemas-C5xtVqdb.d.mts → schemas-Bd0OjRQf.d.mts} +1 -1
  182. package/dist/{schemas-Ra8pz5M-.d.mts → schemas-C46QfKzv.d.mts} +24 -28
  183. package/dist/{schemas-sshQEF3l.d.mts → schemas-CDBSjg7o.d.mts} +1 -1
  184. package/dist/schemas-CR1Rripy.mjs +1 -0
  185. package/dist/schemas-CVvwIfG4.mjs +1 -0
  186. package/dist/schemas-CaLhkkLn.mjs +1 -0
  187. package/dist/{schemas-DYqKRNju.d.mts → schemas-ClOOT1W6.d.mts} +4 -4
  188. package/dist/{schemas-BfMZAwff.d.mts → schemas-DATniTHb.d.mts} +8 -8
  189. package/dist/{schemas-BWvuaL0w.d.mts → schemas-DVF1A4DF.d.mts} +4 -4
  190. package/dist/{schemas-Di0XnnMX.d.mts → schemas-DaRSfYLf.d.mts} +1 -1
  191. package/dist/{schemas-C31qbb0s.d.mts → schemas-DiYVzG6e.d.mts} +51 -48
  192. package/dist/{schemas-KMA1efQg.d.mts → schemas-j7ivZ2HI.d.mts} +3 -3
  193. package/dist/schemas-wg_6PAdV.d.mts +153 -0
  194. package/dist/scoped-bus-04pwo1uM.mjs +1 -0
  195. package/dist/service-base/index.d.mts +1 -1
  196. package/dist/services/adapter-runtime/index.d.mts +3 -3
  197. package/dist/services/adapter-runtime/index.mjs +1 -1
  198. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  199. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  200. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  201. package/dist/services/adapter-subsystem/index.mjs +1 -1
  202. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  203. package/dist/services/adapter-subsystem/namespace.mjs +1 -1
  204. package/dist/services/agent-runtime/index.d.mts +2 -2
  205. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  206. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  207. package/dist/services/capability/index.d.mts +1 -1
  208. package/dist/services/capability/index.mjs +1 -1
  209. package/dist/services/cli-detection/namespace.d.mts +1 -1
  210. package/dist/services/codebase/index.d.mts +2 -2
  211. package/dist/services/codebase/namespace.d.mts +1 -1
  212. package/dist/services/codebase/schemas.d.mts +1 -1
  213. package/dist/services/compression/index.d.mts +2 -2
  214. package/dist/services/compression/namespace.d.mts +1 -1
  215. package/dist/services/compression/schemas.d.mts +1 -1
  216. package/dist/services/context-rules/index.d.mts +4 -4
  217. package/dist/services/context-rules/index.mjs +1 -1
  218. package/dist/services/credential-change/index.d.mts +1 -1
  219. package/dist/services/definition/namespace.d.mts +1 -1
  220. package/dist/services/definition/schemas.d.mts +1 -1
  221. package/dist/services/dialog/namespace.d.mts +1 -1
  222. package/dist/services/dialog/schemas.d.mts +1 -1
  223. package/dist/services/execution-target/index.d.mts +4 -4
  224. package/dist/services/execution-target/index.mjs +1 -1
  225. package/dist/services/execution-target/namespace.d.mts +1 -1
  226. package/dist/services/execution-target/schemas.d.mts +1 -1
  227. package/dist/services/execution-target/schemas.mjs +1 -1
  228. package/dist/services/filesystem/index.d.mts +3 -0
  229. package/dist/services/filesystem/index.mjs +1 -0
  230. package/dist/services/filesystem/namespace.d.mts +7 -7
  231. package/dist/services/filesystem/schemas.d.mts +4 -4
  232. package/dist/services/git/namespace.d.mts +1163 -0
  233. package/dist/services/git/namespace.mjs +1 -0
  234. package/dist/services/git/schemas.d.mts +932 -0
  235. package/dist/services/git/schemas.mjs +1 -0
  236. package/dist/services/harness/index.d.mts +35 -35
  237. package/dist/services/harness/index.mjs +1 -1
  238. package/dist/services/harness/storage/schema.d.mts +5 -5
  239. package/dist/services/index.d.mts +1411 -928
  240. package/dist/services/index.mjs +1 -1
  241. package/dist/services/local-notification/index.d.mts +1 -1
  242. package/dist/services/local-notification/namespace.d.mts +1 -1
  243. package/dist/services/local-notification/schemas.d.mts +1 -1
  244. package/dist/services/log-import/browser.d.mts +2 -2
  245. package/dist/services/log-import/index.d.mts +23 -24
  246. package/dist/services/log-import/index.mjs +2 -2
  247. package/dist/services/log-import/log-import.d.mts +1 -1
  248. package/dist/services/log-import/log-import.mjs +1 -1
  249. package/dist/services/log-import/namespace.d.mts +1 -1
  250. package/dist/services/log-import/namespace.mjs +1 -1
  251. package/dist/services/log-import/schemas.d.mts +1 -1
  252. package/dist/services/log-import/schemas.mjs +1 -1
  253. package/dist/services/model-registry/index.d.mts +1 -1
  254. package/dist/services/model-registry/index.mjs +1 -1
  255. package/dist/services/preferences/index.d.mts +2 -2
  256. package/dist/services/preferences/schemas.d.mts +1 -1
  257. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  258. package/dist/services/provider-context/index.d.mts +1 -1
  259. package/dist/services/provider-context/index.mjs +1 -1
  260. package/dist/services/provider-runtime/index.d.mts +1 -1
  261. package/dist/services/provider-runtime/index.mjs +1 -1
  262. package/dist/services/session/handlers/index.d.mts +1 -1
  263. package/dist/services/session/handlers/index.mjs +1 -1
  264. package/dist/services/session/index.d.mts +10 -10
  265. package/dist/services/session/index.mjs +1 -1
  266. package/dist/services/session/messages/namespace.d.mts +1 -1
  267. package/dist/services/session/messages/namespace.mjs +1 -1
  268. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  269. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  270. package/dist/services/session/session-events/namespace.d.mts +1 -1
  271. package/dist/services/session/session-events/namespace.mjs +1 -1
  272. package/dist/services/session/storage/namespace.d.mts +1 -1
  273. package/dist/services/session/storage/schema.d.mts +1 -1
  274. package/dist/services/session/storage/schema.mjs +1 -1
  275. package/dist/services/session/testing/index.d.mts +2 -2
  276. package/dist/services/session/testing/index.mjs +16 -3
  277. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  278. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  279. package/dist/services/session/turns/namespace.d.mts +1 -1
  280. package/dist/services/session/turns/namespace.mjs +1 -1
  281. package/dist/services/session-editor/index.d.mts +3 -3
  282. package/dist/services/session-editor/index.mjs +1 -1
  283. package/dist/services/settings/index.d.mts +4 -4
  284. package/dist/services/settings/index.mjs +1 -1
  285. package/dist/services/settings/namespace.d.mts +19 -18
  286. package/dist/services/settings/namespace.mjs +1 -1
  287. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  288. package/dist/services/settings/storage/clients-namespace.mjs +1 -1
  289. package/dist/services/settings/storage/extension-configs/namespace.d.mts +4 -4
  290. package/dist/services/settings/storage/index.d.mts +3 -3
  291. package/dist/services/settings/storage/index.mjs +1 -1
  292. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  293. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  294. package/dist/services/subagent/index.d.mts +2 -0
  295. package/dist/services/subagent/index.mjs +1 -0
  296. package/dist/services/subagent-template/index.d.mts +3 -0
  297. package/dist/services/subagent-template/index.mjs +1 -0
  298. package/dist/services/subagent-template/namespace.d.mts +2 -0
  299. package/dist/services/subagent-template/namespace.mjs +1 -0
  300. package/dist/services/subagent-template/schemas.d.mts +2 -0
  301. package/dist/services/subagent-template/schemas.mjs +1 -0
  302. package/dist/services/tool-approval/index.d.mts +1 -1
  303. package/dist/services/tool-approval/index.mjs +1 -1
  304. package/dist/services/tools/index.d.mts +1 -1
  305. package/dist/services/tools/index.mjs +1 -1
  306. package/dist/services/tray-menu/index.d.mts +3 -3
  307. package/dist/services/tray-menu/index.mjs +1 -1
  308. package/dist/services/tray-menu/namespace.d.mts +1 -1
  309. package/dist/services/tray-menu/schemas.d.mts +1 -1
  310. package/dist/services/turn/index.d.mts +1 -1
  311. package/dist/services/turn/namespace.d.mts +1 -1
  312. package/dist/services/turn/schemas.d.mts +12 -12
  313. package/dist/session-BoldSdNZ2.mjs +134 -0
  314. package/dist/session-DuVOYctZ.mjs +1 -0
  315. package/dist/{session-lineage-B0cpHfuc.d.mts → session-lineage-CRsc9g1x.d.mts} +1 -1
  316. package/dist/shared-DpOEfD8F.mjs +1 -0
  317. package/dist/{skill-20_SBXaI.mjs → skill-CQO4mDqK.mjs} +1 -1
  318. package/dist/storage/drizzle/client.d.mts +2 -2
  319. package/dist/storage/drizzle/client.mjs +1 -1
  320. package/dist/storage/drizzle/index.d.mts +49 -10
  321. package/dist/storage/drizzle/index.mjs +1 -1
  322. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  323. package/dist/storage/handlers/drizzle/index.mjs +1 -1
  324. package/dist/storage/handlers/index.d.mts +2 -2
  325. package/dist/storage/handlers/index.mjs +1 -1
  326. package/dist/storage/index.d.mts +4 -4
  327. package/dist/{storage-namespace-DoH-Wkjp.d.mts → storage-namespace-BXkoh5Sy.d.mts} +11 -11
  328. package/dist/storage-namespace-DWsYLAXa.mjs +1 -0
  329. package/dist/{storage-namespace-definition-CJgqyXH1.d.mts → storage-namespace-definition-Bkx5rSto.d.mts} +1 -1
  330. package/dist/style.css +540 -540
  331. package/dist/telemetry-CvdLBWuk.mjs +1 -0
  332. package/dist/testing/drizzle-harness.mjs +1 -1
  333. package/dist/testing/index.mjs +1 -1
  334. package/dist/tool-approval-service-BvZWhYZp.mjs +1 -0
  335. package/dist/tools/index.d.mts +20 -10
  336. package/dist/tools/index.mjs +1 -1
  337. package/dist/tools/testing/index.d.mts +1 -1
  338. package/dist/tools-D-luYcDw.mjs +1431 -0
  339. package/dist/{types-C11LvekX.d.mts → types-BCMUtBj1.d.mts} +117 -20
  340. package/dist/{types-vNpkAe4Y.d.mts → types-C2Ob9zz_.d.mts} +1 -1
  341. package/dist/{types-t295YC6T.d.mts → types-CCdqjeuH.d.mts} +2 -2
  342. package/dist/{types-Cvrj2ogm.d.mts → types-DZHvOc_Q.d.mts} +4 -4
  343. package/dist/{types--nrtGZ1V.d.mts → types-Dy3YTcTF.d.mts} +255 -97
  344. package/dist/{types-DYF5LxZY.d.mts → types-MfJZ67e9.d.mts} +91 -9
  345. package/dist/{types-6WxLfoM3.d.mts → types-dyP-bXXE.d.mts} +1 -1
  346. package/dist/ui-components/index.mjs +2 -2
  347. package/dist/ui-hooks/index.d.mts +111 -1
  348. package/dist/ui-hooks/index.mjs +1 -1
  349. package/dist/ui-kernel/index.d.mts +4 -4
  350. package/dist/ui-kernel/pages/namespace.d.mts +4 -4
  351. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  352. package/dist/ui-views/index.mjs +2 -2
  353. package/dist/utils/index.d.mts +36 -1
  354. package/dist/utils/index.mjs +2 -2
  355. package/dist/utils/project-manifest.d.mts +130 -0
  356. package/dist/utils/project-manifest.mjs +1 -0
  357. package/dist/utils/scope-paths.d.mts +33 -0
  358. package/dist/utils/scope-paths.mjs +1 -0
  359. package/dist/utils/workspace-packages.d.mts +59 -0
  360. package/dist/utils/workspace-packages.mjs +1 -0
  361. package/dist/utils/workspace-root.d.mts +6 -9
  362. package/dist/utils/workspace-root.mjs +1 -1
  363. package/dist/{version-D8S4O22A.mjs → version-BeT3ASEe.mjs} +1 -1
  364. package/package.json +55 -2
  365. package/dist/account-identity-Bg_vKkcs.mjs +0 -1
  366. package/dist/adapter-CpF2aK_-.mjs +0 -1
  367. package/dist/bus-B1seC4M_.mjs +0 -2
  368. package/dist/chunk-Dc06z0qk.mjs +0 -1
  369. package/dist/client-DMWXCWhM.mjs +0 -1
  370. package/dist/cursor-storage-BoNI7OAR.mjs +0 -1
  371. package/dist/drizzle-Bn2GtW8c.mjs +0 -1
  372. package/dist/execution-target-D6MgthYs.mjs +0 -1
  373. package/dist/extension-53GerdGg.mjs +0 -1
  374. package/dist/extension-fJmv8Yri.mjs +0 -1
  375. package/dist/namespace-C_h7scWx2.mjs +0 -1
  376. package/dist/schemas-Bn8aqDIE.mjs +0 -1
  377. package/dist/services/worker/index.d.mts +0 -3
  378. package/dist/services/worker/index.mjs +0 -1
  379. package/dist/services/worker/namespace.d.mts +0 -2
  380. package/dist/services/worker/namespace.mjs +0 -1
  381. package/dist/services/worker/schemas.d.mts +0 -2
  382. package/dist/services/worker/schemas.mjs +0 -1
  383. package/dist/session-BCSf-Fgj.mjs +0 -1
  384. package/dist/session-BNo_cIiz.mjs +0 -123
  385. package/dist/shared-BhuSHZXH.mjs +0 -1
  386. package/dist/storage-namespace-BIDs9LPb.mjs +0 -1
  387. package/dist/tool-approval-service-CZCPfvVy.mjs +0 -1
  388. package/dist/tools-Cid9D99F.mjs +0 -1
  389. /package/dist/{base-orchestrator-BOAPgqF7.d.mts → base-orchestrator-wyumsn3b.d.mts} +0 -0
  390. /package/dist/{capability-service-DV32ecwR.mjs → capability-service-CJbmhfv9.mjs} +0 -0
  391. /package/dist/{cleanEnvForAdapter-hTPNvPU5.mjs → cleanEnvForAdapter-KkYzQa1f.mjs} +0 -0
  392. /package/dist/{config-namespace-wJ2CakDB.mjs → config-namespace-ncYg2ct_.mjs} +0 -0
  393. /package/dist/{extension-namespace-CTd9kOtt.mjs → extension-namespace-cMh_mMiL.mjs} +0 -0
  394. /package/dist/{identity-DBST3-XO.mjs → identity-Cz2IeEtm.mjs} +0 -0
  395. /package/dist/{index-SzSiyG61.d.mts → index-CHQ1SqT0.d.mts} +0 -0
  396. /package/dist/{model-registry-xINyxQUT.mjs → model-registry-CfXytvzx.mjs} +0 -0
  397. /package/dist/{model-registry-Dzpssh9j.mjs → model-registry-Scn_MC2d.mjs} +0 -0
  398. /package/dist/{namespace-DBw9BYr8.mjs → namespace-BoD94mrN.mjs} +0 -0
  399. /package/dist/{namespace-DUVgMfTR.mjs → namespace-CFLAmQfh.mjs} +0 -0
  400. /package/dist/{namespace-aALq9tnE.mjs → namespace-DkRgbZYn.mjs} +0 -0
  401. /package/dist/{namespace-yxIxUsjo.mjs → namespace-LViZ-EQk.mjs} +0 -0
  402. /package/dist/{namespace-Zb8HAbyF.mjs → namespace-Yna5-Pws.mjs} +0 -0
  403. /package/dist/{platform-BMFUpmTA.mjs → platform-DZ7z-wXD.mjs} +0 -0
  404. /package/dist/{providers-DhiW_fx4.mjs → providers-u8i15co9.mjs} +0 -0
  405. /package/dist/{schema-D3ZG13h9.mjs → schema-CoyE6mPt.mjs} +0 -0
  406. /package/dist/{schemas-CEBe89yE.mjs → schemas-DE-GNmSD.mjs} +0 -0
  407. /package/dist/{schemas-COnLJnt_.mjs → schemas-hSrzflwZ.mjs} +0 -0
  408. /package/dist/{schemas-CrnlCRep.mjs → schemas-jFe1AuI-.mjs} +0 -0
  409. /package/dist/{server-lifecycle-Dx5WgfoS.mjs → server-lifecycle-FXTPW39-.mjs} +0 -0
  410. /package/dist/{server-lifecycle-BC6FRn86.d.mts → server-lifecycle-YoSGFGnU.d.mts} +0 -0
  411. /package/dist/{shared-schemas-Byah36lG.mjs → shared-schemas-CPShiLNp.mjs} +0 -0
  412. /package/dist/{storage-namespace-definition-BjK9nZAN.mjs → storage-namespace-definition-CqSdsuCC.mjs} +0 -0
  413. /package/dist/{timeout-D33CUZ0M.mjs → timeout-XsYIOKrc.mjs} +0 -0
  414. /package/dist/{tray-menu-service-BAYtLdAg.mjs → tray-menu-service-DuXq5k22.mjs} +0 -0
  415. /package/dist/{ui-config-zawaoEfB.mjs → ui-config-9bDRwFZr.mjs} +0 -0
  416. /package/dist/{variant-BZWfmS0q.mjs → variant-CT6XBP6T.mjs} +0 -0
  417. /package/dist/{visibility-CZu8ooOA.mjs → visibility-Cb62p9bv.mjs} +0 -0
  418. /package/dist/{window-registry-C_IJmY8_.d.mts → window-registry-CBcrGTv4.d.mts} +0 -0
  419. /package/dist/{window-registry-B_-hBEcV.mjs → window-registry-DW-dKRjQ.mjs} +0 -0
@@ -1,10 +1,10 @@
1
- import { s as MessageBlock$1 } from "./index-DGTFJB_8.mjs";
1
+ import { s as MessageBlock$1 } from "./index-L4GjJDKb.mjs";
2
2
  import * as _$zod from "zod";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
5
5
  import * as _$zod_v4_core0 from "zod/v4/core";
6
6
 
7
- //#region packages/contracts/src/session/schemas/agent.d.ts
7
+ //#region core/contracts/src/session/schemas/agent.d.ts
8
8
  /**
9
9
  * Agent lifecycle status.
10
10
  * - 'idle': Connector ready, no active turn
@@ -57,7 +57,7 @@ declare const MakaioSessionAgentSchema$1: z.ZodObject<{
57
57
  lastActivityAt: z.ZodNumber;
58
58
  }, z.core.$strip>;
59
59
  //#endregion
60
- //#region packages/contracts/src/session/schemas/session.d.ts
60
+ //#region core/contracts/src/session/schemas/session.d.ts
61
61
  /**
62
62
  * Schema for a makaio orchestration session.
63
63
  *
@@ -107,6 +107,10 @@ declare const MakaioSessionSchema: z.ZodObject<{
107
107
  }>;
108
108
  leadAgentId: z.ZodOptional<z.ZodString>;
109
109
  parentSessionId: z.ZodOptional<z.ZodString>;
110
+ contextInheritance: z.ZodOptional<z.ZodEnum<{
111
+ "parent-history": "parent-history";
112
+ none: "none";
113
+ }>>;
110
114
  rootSessionId: z.ZodOptional<z.ZodString>;
111
115
  forkPointMessageId: z.ZodOptional<z.ZodString>;
112
116
  branchKind: z.ZodOptional<z.ZodEnum<{
@@ -128,7 +132,7 @@ declare const MakaioSessionSchema: z.ZodObject<{
128
132
  source: z.ZodString;
129
133
  kind: z.ZodString;
130
134
  observedAt: z.ZodNumber;
131
- payload: z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>;
135
+ payload: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
132
136
  }, z.core.$strip>>;
133
137
  isOrchestrated: z.ZodOptional<z.ZodBoolean>;
134
138
  title: z.ZodOptional<z.ZodString>;
@@ -145,9 +149,9 @@ declare const MakaioSessionSchema: z.ZodObject<{
145
149
  fromMessageId: z.ZodString;
146
150
  toMessageId: z.ZodString;
147
151
  policy: z.ZodEnum<{
152
+ exclude: "exclude";
148
153
  verbatim: "verbatim";
149
154
  summarize: "summarize";
150
- exclude: "exclude";
151
155
  }>;
152
156
  stripReasoning: z.ZodOptional<z.ZodBoolean>;
153
157
  stripToolOutputs: z.ZodOptional<z.ZodBoolean>;
@@ -159,10 +163,19 @@ declare const MakaioSessionSchema: z.ZodObject<{
159
163
  executionTargetId: z.ZodOptional<z.ZodString>;
160
164
  spawningToolCallId: z.ZodOptional<z.ZodString>;
161
165
  approvalPolicyOverride: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
162
- "always-ask": "always-ask";
163
166
  reject: "reject";
167
+ "always-ask": "always-ask";
164
168
  "full-access": "full-access";
165
169
  }>>>;
170
+ source: z.ZodOptional<z.ZodString>;
171
+ parentExternalSessionId: z.ZodOptional<z.ZodString>;
172
+ logFilePath: z.ZodOptional<z.ZodString>;
173
+ discoveredAt: z.ZodOptional<z.ZodNumber>;
174
+ importStatus: z.ZodOptional<z.ZodEnum<{
175
+ discovered: "discovered";
176
+ imported: "imported";
177
+ tracking: "tracking";
178
+ }>>;
166
179
  }, z.core.$strip>;
167
180
  /**
168
181
  * Preview data for session list display.
@@ -218,6 +231,10 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
218
231
  }>;
219
232
  leadAgentId: z.ZodOptional<z.ZodString>;
220
233
  parentSessionId: z.ZodOptional<z.ZodString>;
234
+ contextInheritance: z.ZodOptional<z.ZodEnum<{
235
+ "parent-history": "parent-history";
236
+ none: "none";
237
+ }>>;
221
238
  rootSessionId: z.ZodOptional<z.ZodString>;
222
239
  forkPointMessageId: z.ZodOptional<z.ZodString>;
223
240
  branchKind: z.ZodOptional<z.ZodEnum<{
@@ -239,7 +256,7 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
239
256
  source: z.ZodString;
240
257
  kind: z.ZodString;
241
258
  observedAt: z.ZodNumber;
242
- payload: z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>;
259
+ payload: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
243
260
  }, z.core.$strip>>;
244
261
  isOrchestrated: z.ZodOptional<z.ZodBoolean>;
245
262
  title: z.ZodOptional<z.ZodString>;
@@ -256,9 +273,9 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
256
273
  fromMessageId: z.ZodString;
257
274
  toMessageId: z.ZodString;
258
275
  policy: z.ZodEnum<{
276
+ exclude: "exclude";
259
277
  verbatim: "verbatim";
260
278
  summarize: "summarize";
261
- exclude: "exclude";
262
279
  }>;
263
280
  stripReasoning: z.ZodOptional<z.ZodBoolean>;
264
281
  stripToolOutputs: z.ZodOptional<z.ZodBoolean>;
@@ -270,17 +287,26 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
270
287
  executionTargetId: z.ZodOptional<z.ZodString>;
271
288
  spawningToolCallId: z.ZodOptional<z.ZodString>;
272
289
  approvalPolicyOverride: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
273
- "always-ask": "always-ask";
274
290
  reject: "reject";
291
+ "always-ask": "always-ask";
275
292
  "full-access": "full-access";
276
293
  }>>>;
294
+ source: z.ZodOptional<z.ZodString>;
295
+ parentExternalSessionId: z.ZodOptional<z.ZodString>;
296
+ logFilePath: z.ZodOptional<z.ZodString>;
297
+ discoveredAt: z.ZodOptional<z.ZodNumber>;
298
+ importStatus: z.ZodOptional<z.ZodEnum<{
299
+ discovered: "discovered";
300
+ imported: "imported";
301
+ tracking: "tracking";
302
+ }>>;
277
303
  preview: z.ZodOptional<z.ZodObject<{
278
304
  messageCount: z.ZodNumber;
279
305
  firstUserMessage: z.ZodNullable<z.ZodString>;
280
306
  }, z.core.$strip>>;
281
307
  }, z.core.$strip>;
282
308
  //#endregion
283
- //#region packages/contracts/src/session/schemas/snapshot.d.ts
309
+ //#region core/contracts/src/session/schemas/snapshot.d.ts
284
310
  /**
285
311
  * Export options for session snapshots.
286
312
  *
@@ -403,6 +429,10 @@ declare const SessionSnapshotSchema: z.ZodObject<{
403
429
  }>;
404
430
  leadAgentId: z.ZodOptional<z.ZodString>;
405
431
  parentSessionId: z.ZodOptional<z.ZodString>;
432
+ contextInheritance: z.ZodOptional<z.ZodEnum<{
433
+ "parent-history": "parent-history";
434
+ none: "none";
435
+ }>>;
406
436
  rootSessionId: z.ZodOptional<z.ZodString>;
407
437
  forkPointMessageId: z.ZodOptional<z.ZodString>;
408
438
  branchKind: z.ZodOptional<z.ZodEnum<{
@@ -424,7 +454,7 @@ declare const SessionSnapshotSchema: z.ZodObject<{
424
454
  source: z.ZodString;
425
455
  kind: z.ZodString;
426
456
  observedAt: z.ZodNumber;
427
- payload: z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>;
457
+ payload: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
428
458
  }, z.core.$strip>>;
429
459
  isOrchestrated: z.ZodOptional<z.ZodBoolean>;
430
460
  title: z.ZodOptional<z.ZodString>;
@@ -441,9 +471,9 @@ declare const SessionSnapshotSchema: z.ZodObject<{
441
471
  fromMessageId: z.ZodString;
442
472
  toMessageId: z.ZodString;
443
473
  policy: z.ZodEnum<{
474
+ exclude: "exclude";
444
475
  verbatim: "verbatim";
445
476
  summarize: "summarize";
446
- exclude: "exclude";
447
477
  }>;
448
478
  stripReasoning: z.ZodOptional<z.ZodBoolean>;
449
479
  stripToolOutputs: z.ZodOptional<z.ZodBoolean>;
@@ -455,10 +485,19 @@ declare const SessionSnapshotSchema: z.ZodObject<{
455
485
  executionTargetId: z.ZodOptional<z.ZodString>;
456
486
  spawningToolCallId: z.ZodOptional<z.ZodString>;
457
487
  approvalPolicyOverride: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
458
- "always-ask": "always-ask";
459
488
  reject: "reject";
489
+ "always-ask": "always-ask";
460
490
  "full-access": "full-access";
461
491
  }>>>;
492
+ source: z.ZodOptional<z.ZodString>;
493
+ parentExternalSessionId: z.ZodOptional<z.ZodString>;
494
+ logFilePath: z.ZodOptional<z.ZodString>;
495
+ discoveredAt: z.ZodOptional<z.ZodNumber>;
496
+ importStatus: z.ZodOptional<z.ZodEnum<{
497
+ discovered: "discovered";
498
+ imported: "imported";
499
+ tracking: "tracking";
500
+ }>>;
462
501
  }, z.core.$strip>>;
463
502
  agents: z.ZodArray<z.ZodObject<{
464
503
  agentId: z.ZodString;
@@ -576,9 +615,9 @@ declare const SessionSnapshotSchema: z.ZodObject<{
576
615
  startedAt: z.ZodNumber;
577
616
  completedAt: z.ZodOptional<z.ZodNumber>;
578
617
  status: z.ZodEnum<{
579
- completed: "completed";
580
618
  error: "error";
581
619
  active: "active";
620
+ completed: "completed";
582
621
  }>;
583
622
  error: z.ZodOptional<z.ZodString>;
584
623
  usage: z.ZodOptional<z.ZodObject<{
@@ -746,9 +785,9 @@ declare const SessionSnapshotSchema: z.ZodObject<{
746
785
  }, z.core.$strip>]>;
747
786
  agentIds: z.ZodArray<z.ZodString>;
748
787
  source: z.ZodOptional<z.ZodEnum<{
788
+ extension: "extension";
749
789
  user: "user";
750
790
  system: "system";
751
- extension: "extension";
752
791
  }>>;
753
792
  origin: z.ZodOptional<z.ZodEnum<{
754
793
  text: "text";
@@ -780,11 +819,11 @@ declare const SessionSnapshotSchema: z.ZodObject<{
780
819
  messageId: z.ZodString;
781
820
  agentId: z.ZodString;
782
821
  outcome: z.ZodEnum<{
822
+ error: "error";
783
823
  completed: "completed";
824
+ cancelled: "cancelled";
784
825
  superseded: "superseded";
785
826
  merged: "merged";
786
- cancelled: "cancelled";
787
- error: "error";
788
827
  rejected: "rejected";
789
828
  }>;
790
829
  supersededBy: z.ZodOptional<z.ZodString>;
@@ -804,9 +843,9 @@ declare const SessionSnapshotSchema: z.ZodObject<{
804
843
  agentIds: z.ZodArray<z.ZodString>;
805
844
  initiator: z.ZodOptional<z.ZodObject<{
806
845
  source: z.ZodEnum<{
846
+ extension: "extension";
807
847
  user: "user";
808
848
  system: "system";
809
- extension: "extension";
810
849
  }>;
811
850
  sourceId: z.ZodOptional<z.ZodString>;
812
851
  }, z.core.$strip>>;
@@ -824,9 +863,9 @@ declare const SessionSnapshotSchema: z.ZodObject<{
824
863
  error: z.ZodOptional<z.ZodString>;
825
864
  initiator: z.ZodOptional<z.ZodObject<{
826
865
  source: z.ZodEnum<{
866
+ extension: "extension";
827
867
  user: "user";
828
868
  system: "system";
829
- extension: "extension";
830
869
  }>;
831
870
  sourceId: z.ZodOptional<z.ZodString>;
832
871
  }, z.core.$strip>>;
@@ -914,7 +953,7 @@ declare function safeValidateSnapshot(snapshot: unknown): {
914
953
  error: z.ZodError;
915
954
  };
916
955
  //#endregion
917
- //#region packages/contracts/src/session/schemas/primitives.d.ts
956
+ //#region core/contracts/src/session/schemas/primitives.d.ts
918
957
  /**
919
958
  * Agent role in a session.
920
959
  * - lead: Primary agent that receives messages by default
@@ -946,8 +985,20 @@ declare const BranchKindSchema: z.ZodEnum<{
946
985
  aside: "aside";
947
986
  }>;
948
987
  type BranchKind$1 = z.infer<typeof BranchKindSchema>;
988
+ /**
989
+ * Import-specific lifecycle status.
990
+ * - 'discovered': Found in logs, not fully imported yet
991
+ * - 'imported': All messages imported successfully
992
+ * - 'tracking': Imported but source file is still actively being written to
993
+ */
994
+ declare const ImportStatusSchema: z.ZodEnum<{
995
+ discovered: "discovered";
996
+ imported: "imported";
997
+ tracking: "tracking";
998
+ }>;
999
+ type ImportStatus = z.infer<typeof ImportStatusSchema>;
949
1000
  //#endregion
950
- //#region packages/contracts/src/session/schemas/orchestrator.d.ts
1001
+ //#region core/contracts/src/session/schemas/orchestrator.d.ts
951
1002
  /**
952
1003
  * Identifies the origin of a turn for loop prevention and audit.
953
1004
  *
@@ -956,9 +1007,9 @@ type BranchKind$1 = z.infer<typeof BranchKindSchema>;
956
1007
  */
957
1008
  declare const TurnInitiatorSchema: z.ZodObject<{
958
1009
  source: z.ZodEnum<{
1010
+ extension: "extension";
959
1011
  user: "user";
960
1012
  system: "system";
961
- extension: "extension";
962
1013
  }>;
963
1014
  sourceId: z.ZodOptional<z.ZodString>;
964
1015
  }, z.core.$strip>;
@@ -984,6 +1035,10 @@ declare const OrchestratorSchemas: {
984
1035
  * - Routing to targeted agents
985
1036
  *
986
1037
  * Default targets lead agent; use `agentIds: 'all'` for broadcast.
1038
+ *
1039
+ * `responseSchema.schema` is a JSON Schema document serialized as a
1040
+ * JSON-safe `Record<string, JsonValue>` so it can cross bus, storage, and
1041
+ * provider adapter boundaries without runtime-only values.
987
1042
  * @example
988
1043
  * ```typescript
989
1044
  * // Start new conversation (client generates sessionId)
@@ -1573,11 +1628,15 @@ declare const OrchestratorSchemas: {
1573
1628
  hasConnectorSwap: z.ZodOptional<z.ZodBoolean>;
1574
1629
  turnContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
1575
1630
  }, z.core.$strip>>;
1576
- responseSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1631
+ responseSchema: z.ZodOptional<z.ZodObject<{
1632
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
1633
+ name: z.ZodOptional<z.ZodString>;
1634
+ strict: z.ZodOptional<z.ZodBoolean>;
1635
+ }, z.core.$strict>>;
1577
1636
  source: z.ZodOptional<z.ZodEnum<{
1637
+ extension: "extension";
1578
1638
  user: "user";
1579
1639
  system: "system";
1580
- extension: "extension";
1581
1640
  }>>;
1582
1641
  extensionId: z.ZodOptional<z.ZodString>;
1583
1642
  originWindowId: z.ZodOptional<z.ZodString>;
@@ -1885,9 +1944,9 @@ declare const OrchestratorSchemas: {
1885
1944
  agentIds: z.ZodArray<z.ZodString>;
1886
1945
  initiator: z.ZodOptional<z.ZodObject<{
1887
1946
  source: z.ZodEnum<{
1947
+ extension: "extension";
1888
1948
  user: "user";
1889
1949
  system: "system";
1890
- extension: "extension";
1891
1950
  }>;
1892
1951
  sourceId: z.ZodOptional<z.ZodString>;
1893
1952
  }, z.core.$strip>>;
@@ -1912,9 +1971,9 @@ declare const OrchestratorSchemas: {
1912
1971
  error: z.ZodOptional<z.ZodString>;
1913
1972
  initiator: z.ZodOptional<z.ZodObject<{
1914
1973
  source: z.ZodEnum<{
1974
+ extension: "extension";
1915
1975
  user: "user";
1916
1976
  system: "system";
1917
- extension: "extension";
1918
1977
  }>;
1919
1978
  sourceId: z.ZodOptional<z.ZodString>;
1920
1979
  }, z.core.$strip>>;
@@ -2055,9 +2114,9 @@ declare const OrchestratorSchemas: {
2055
2114
  }, z.core.$strip>]>;
2056
2115
  agentIds: z.ZodArray<z.ZodString>;
2057
2116
  source: z.ZodOptional<z.ZodEnum<{
2117
+ extension: "extension";
2058
2118
  user: "user";
2059
2119
  system: "system";
2060
- extension: "extension";
2061
2120
  }>>;
2062
2121
  origin: z.ZodOptional<z.ZodEnum<{
2063
2122
  text: "text";
@@ -2093,11 +2152,11 @@ declare const OrchestratorSchemas: {
2093
2152
  messageId: z.ZodString;
2094
2153
  agentId: z.ZodString;
2095
2154
  outcome: z.ZodEnum<{
2155
+ error: "error";
2096
2156
  completed: "completed";
2157
+ cancelled: "cancelled";
2097
2158
  superseded: "superseded";
2098
2159
  merged: "merged";
2099
- cancelled: "cancelled";
2100
- error: "error";
2101
2160
  rejected: "rejected";
2102
2161
  }>;
2103
2162
  supersededBy: z.ZodOptional<z.ZodString>;
@@ -2150,9 +2209,9 @@ declare const OrchestratorSchemas: {
2150
2209
  fromMessageId: z.ZodString;
2151
2210
  toMessageId: z.ZodString;
2152
2211
  policy: z.ZodEnum<{
2212
+ exclude: "exclude";
2153
2213
  verbatim: "verbatim";
2154
2214
  summarize: "summarize";
2155
- exclude: "exclude";
2156
2215
  }>;
2157
2216
  stripReasoning: z.ZodOptional<z.ZodBoolean>;
2158
2217
  stripToolOutputs: z.ZodOptional<z.ZodBoolean>;
@@ -2209,7 +2268,7 @@ type SendMessageResponse = z.infer<typeof OrchestratorSchemas.sendMessage.respon
2209
2268
  type SessionUsagePayload = z.infer<typeof OrchestratorSchemas.usage.request>;
2210
2269
  type SessionUsageResponse = z.infer<typeof OrchestratorSchemas.usage.response>;
2211
2270
  //#endregion
2212
- //#region packages/contracts/src/session/schemas/event.d.ts
2271
+ //#region core/contracts/src/session/schemas/event.d.ts
2213
2272
  /**
2214
2273
  * Common envelope fields present on every persisted session event.
2215
2274
  *
@@ -2380,9 +2439,9 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
2380
2439
  }, z.core.$strip>]>;
2381
2440
  agentIds: z.ZodArray<z.ZodString>;
2382
2441
  source: z.ZodOptional<z.ZodEnum<{
2442
+ extension: "extension";
2383
2443
  user: "user";
2384
2444
  system: "system";
2385
- extension: "extension";
2386
2445
  }>>;
2387
2446
  origin: z.ZodOptional<z.ZodEnum<{
2388
2447
  text: "text";
@@ -2414,11 +2473,11 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
2414
2473
  messageId: z.ZodString;
2415
2474
  agentId: z.ZodString;
2416
2475
  outcome: z.ZodEnum<{
2476
+ error: "error";
2417
2477
  completed: "completed";
2478
+ cancelled: "cancelled";
2418
2479
  superseded: "superseded";
2419
2480
  merged: "merged";
2420
- cancelled: "cancelled";
2421
- error: "error";
2422
2481
  rejected: "rejected";
2423
2482
  }>;
2424
2483
  supersededBy: z.ZodOptional<z.ZodString>;
@@ -2438,9 +2497,9 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
2438
2497
  agentIds: z.ZodArray<z.ZodString>;
2439
2498
  initiator: z.ZodOptional<z.ZodObject<{
2440
2499
  source: z.ZodEnum<{
2500
+ extension: "extension";
2441
2501
  user: "user";
2442
2502
  system: "system";
2443
- extension: "extension";
2444
2503
  }>;
2445
2504
  sourceId: z.ZodOptional<z.ZodString>;
2446
2505
  }, z.core.$strip>>;
@@ -2458,9 +2517,9 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
2458
2517
  error: z.ZodOptional<z.ZodString>;
2459
2518
  initiator: z.ZodOptional<z.ZodObject<{
2460
2519
  source: z.ZodEnum<{
2520
+ extension: "extension";
2461
2521
  user: "user";
2462
2522
  system: "system";
2463
- extension: "extension";
2464
2523
  }>;
2465
2524
  sourceId: z.ZodOptional<z.ZodString>;
2466
2525
  }, z.core.$strip>>;
@@ -2666,7 +2725,7 @@ type SessionEventType = keyof SessionEventTypeMap;
2666
2725
  */
2667
2726
  type SessionEventPayload<T extends SessionEventType> = SessionEventTypeMap[T];
2668
2727
  //#endregion
2669
- //#region packages/contracts/src/session/schemas/fork-child-info.d.ts
2728
+ //#region core/contracts/src/session/schemas/fork-child-info.d.ts
2670
2729
  /**
2671
2730
  * Information about a child session for fork display.
2672
2731
  * Used by getChildren enriched response.
@@ -2690,7 +2749,7 @@ declare const ForkChildInfoSchema: z.ZodObject<{
2690
2749
  }, z.core.$strip>;
2691
2750
  type ForkChildInfo = z.infer<typeof ForkChildInfoSchema>;
2692
2751
  //#endregion
2693
- //#region packages/contracts/src/session/schemas/lifecycle-events.d.ts
2752
+ //#region core/contracts/src/session/schemas/lifecycle-events.d.ts
2694
2753
  /**
2695
2754
  * Session lifecycle event schemas.
2696
2755
  * These extend SessionSchemas for fork/merge/abandon lifecycle.
@@ -2707,9 +2766,9 @@ declare const SegmentPolicySchema: z.ZodObject<{
2707
2766
  fromMessageId: z.ZodString;
2708
2767
  toMessageId: z.ZodString;
2709
2768
  policy: z.ZodEnum<{
2769
+ exclude: "exclude";
2710
2770
  verbatim: "verbatim";
2711
2771
  summarize: "summarize";
2712
- exclude: "exclude";
2713
2772
  }>;
2714
2773
  stripReasoning: z.ZodOptional<z.ZodBoolean>;
2715
2774
  stripToolOutputs: z.ZodOptional<z.ZodBoolean>;
@@ -2735,9 +2794,9 @@ declare const ForkTransformsSchema$1: z.ZodObject<{
2735
2794
  fromMessageId: z.ZodString;
2736
2795
  toMessageId: z.ZodString;
2737
2796
  policy: z.ZodEnum<{
2797
+ exclude: "exclude";
2738
2798
  verbatim: "verbatim";
2739
2799
  summarize: "summarize";
2740
- exclude: "exclude";
2741
2800
  }>;
2742
2801
  stripReasoning: z.ZodOptional<z.ZodBoolean>;
2743
2802
  stripToolOutputs: z.ZodOptional<z.ZodBoolean>;
@@ -2768,7 +2827,7 @@ declare const SessionUpdatedEventSchema: z.ZodObject<{
2768
2827
  type SessionCreated = z.infer<typeof SessionCreatedEventSchema>;
2769
2828
  type SessionUpdatedEvent = z.infer<typeof SessionUpdatedEventSchema>;
2770
2829
  //#endregion
2771
- //#region packages/contracts/src/session/schemas/message.d.ts
2830
+ //#region core/contracts/src/session/schemas/message.d.ts
2772
2831
  /**
2773
2832
  * Session message block types for structured content within stored messages.
2774
2833
  *
@@ -2946,9 +3005,9 @@ type SessionMessage$1 = z.infer<typeof SessionMessageSchema$1>;
2946
3005
  * Turn status in the conversation lifecycle.
2947
3006
  */
2948
3007
  declare const TurnStatusSchema$1: z.ZodEnum<{
2949
- completed: "completed";
2950
3008
  error: "error";
2951
3009
  active: "active";
3010
+ completed: "completed";
2952
3011
  }>;
2953
3012
  type TurnStatus = z.infer<typeof TurnStatusSchema$1>;
2954
3013
  /**
@@ -2989,9 +3048,9 @@ declare const TurnSchema$1: z.ZodObject<{
2989
3048
  startedAt: z.ZodNumber;
2990
3049
  completedAt: z.ZodOptional<z.ZodNumber>;
2991
3050
  status: z.ZodEnum<{
2992
- completed: "completed";
2993
3051
  error: "error";
2994
3052
  active: "active";
3053
+ completed: "completed";
2995
3054
  }>;
2996
3055
  error: z.ZodOptional<z.ZodString>;
2997
3056
  usage: z.ZodOptional<z.ZodObject<{
@@ -3033,7 +3092,7 @@ declare const MessageRoutingSchema$1: z.ZodObject<{
3033
3092
  }, z.core.$strip>;
3034
3093
  type MessageRouting = z.infer<typeof MessageRoutingSchema$1>;
3035
3094
  //#endregion
3036
- //#region packages/contracts/src/session/schemas.d.ts
3095
+ //#region core/contracts/src/session/schemas.d.ts
3037
3096
  /**
3038
3097
  * Session domain schemas.
3039
3098
  *
@@ -3772,11 +3831,15 @@ declare const SessionSchemas: {
3772
3831
  hasConnectorSwap: _$zod.ZodOptional<_$zod.ZodBoolean>;
3773
3832
  turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
3774
3833
  }, _$zod_v4_core0.$strip>>;
3775
- responseSchema: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
3834
+ responseSchema: _$zod.ZodOptional<_$zod.ZodObject<{
3835
+ schema: _$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
3836
+ name: _$zod.ZodOptional<_$zod.ZodString>;
3837
+ strict: _$zod.ZodOptional<_$zod.ZodBoolean>;
3838
+ }, _$zod_v4_core0.$strict>>;
3776
3839
  source: _$zod.ZodOptional<_$zod.ZodEnum<{
3840
+ extension: "extension";
3777
3841
  user: "user";
3778
3842
  system: "system";
3779
- extension: "extension";
3780
3843
  }>>;
3781
3844
  extensionId: _$zod.ZodOptional<_$zod.ZodString>;
3782
3845
  originWindowId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -4044,9 +4107,9 @@ declare const SessionSchemas: {
4044
4107
  agentIds: _$zod.ZodArray<_$zod.ZodString>;
4045
4108
  initiator: _$zod.ZodOptional<_$zod.ZodObject<{
4046
4109
  source: _$zod.ZodEnum<{
4110
+ extension: "extension";
4047
4111
  user: "user";
4048
4112
  system: "system";
4049
- extension: "extension";
4050
4113
  }>;
4051
4114
  sourceId: _$zod.ZodOptional<_$zod.ZodString>;
4052
4115
  }, _$zod_v4_core0.$strip>>;
@@ -4059,9 +4122,9 @@ declare const SessionSchemas: {
4059
4122
  error: _$zod.ZodOptional<_$zod.ZodString>;
4060
4123
  initiator: _$zod.ZodOptional<_$zod.ZodObject<{
4061
4124
  source: _$zod.ZodEnum<{
4125
+ extension: "extension";
4062
4126
  user: "user";
4063
4127
  system: "system";
4064
- extension: "extension";
4065
4128
  }>;
4066
4129
  sourceId: _$zod.ZodOptional<_$zod.ZodString>;
4067
4130
  }, _$zod_v4_core0.$strip>>;
@@ -4195,9 +4258,9 @@ declare const SessionSchemas: {
4195
4258
  }, _$zod_v4_core0.$strip>]>;
4196
4259
  agentIds: _$zod.ZodArray<_$zod.ZodString>;
4197
4260
  source: _$zod.ZodOptional<_$zod.ZodEnum<{
4261
+ extension: "extension";
4198
4262
  user: "user";
4199
4263
  system: "system";
4200
- extension: "extension";
4201
4264
  }>>;
4202
4265
  origin: _$zod.ZodOptional<_$zod.ZodEnum<{
4203
4266
  text: "text";
@@ -4219,11 +4282,11 @@ declare const SessionSchemas: {
4219
4282
  messageId: _$zod.ZodString;
4220
4283
  agentId: _$zod.ZodString;
4221
4284
  outcome: _$zod.ZodEnum<{
4285
+ error: "error";
4222
4286
  completed: "completed";
4287
+ cancelled: "cancelled";
4223
4288
  superseded: "superseded";
4224
4289
  merged: "merged";
4225
- cancelled: "cancelled";
4226
- error: "error";
4227
4290
  rejected: "rejected";
4228
4291
  }>;
4229
4292
  supersededBy: _$zod.ZodOptional<_$zod.ZodString>;
@@ -4250,9 +4313,9 @@ declare const SessionSchemas: {
4250
4313
  fromMessageId: _$zod.ZodString;
4251
4314
  toMessageId: _$zod.ZodString;
4252
4315
  policy: _$zod.ZodEnum<{
4316
+ exclude: "exclude";
4253
4317
  verbatim: "verbatim";
4254
4318
  summarize: "summarize";
4255
- exclude: "exclude";
4256
4319
  }>;
4257
4320
  stripReasoning: _$zod.ZodOptional<_$zod.ZodBoolean>;
4258
4321
  stripToolOutputs: _$zod.ZodOptional<_$zod.ZodBoolean>;
@@ -4286,9 +4349,9 @@ declare const SessionSchemas: {
4286
4349
  childSessionId: _$zod.ZodString;
4287
4350
  summary: _$zod.ZodOptional<_$zod.ZodString>;
4288
4351
  source: _$zod.ZodOptional<_$zod.ZodEnum<{
4352
+ extension: "extension";
4289
4353
  user: "user";
4290
4354
  system: "system";
4291
- extension: "extension";
4292
4355
  }>>;
4293
4356
  extensionId: _$zod.ZodOptional<_$zod.ZodString>;
4294
4357
  }, _$zod_v4_core0.$strip>;
@@ -4302,9 +4365,9 @@ declare const SessionSchemas: {
4302
4365
  parentSessionId: _$zod.ZodString;
4303
4366
  childSessionId: _$zod.ZodString;
4304
4367
  source: _$zod.ZodOptional<_$zod.ZodEnum<{
4368
+ extension: "extension";
4305
4369
  user: "user";
4306
4370
  system: "system";
4307
- extension: "extension";
4308
4371
  }>>;
4309
4372
  extensionId: _$zod.ZodOptional<_$zod.ZodString>;
4310
4373
  }, _$zod_v4_core0.$strip>;
@@ -4368,9 +4431,9 @@ declare const SessionSchemas: {
4368
4431
  sessionId: _$zod.ZodString;
4369
4432
  reason: _$zod.ZodString;
4370
4433
  source: _$zod.ZodOptional<_$zod.ZodEnum<{
4434
+ extension: "extension";
4371
4435
  user: "user";
4372
4436
  system: "system";
4373
- extension: "extension";
4374
4437
  }>>;
4375
4438
  extensionId: _$zod.ZodOptional<_$zod.ZodString>;
4376
4439
  }, _$zod_v4_core0.$strip>;
@@ -4398,9 +4461,9 @@ declare const SessionSchemas: {
4398
4461
  fromMessageId: _$zod.ZodString;
4399
4462
  toMessageId: _$zod.ZodString;
4400
4463
  policy: _$zod.ZodEnum<{
4464
+ exclude: "exclude";
4401
4465
  verbatim: "verbatim";
4402
4466
  summarize: "summarize";
4403
- exclude: "exclude";
4404
4467
  }>;
4405
4468
  stripReasoning: _$zod.ZodOptional<_$zod.ZodBoolean>;
4406
4469
  stripToolOutputs: _$zod.ZodOptional<_$zod.ZodBoolean>;
@@ -4520,6 +4583,10 @@ declare const SessionSchemas: {
4520
4583
  }>;
4521
4584
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
4522
4585
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
4586
+ contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
4587
+ "parent-history": "parent-history";
4588
+ none: "none";
4589
+ }>>;
4523
4590
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
4524
4591
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
4525
4592
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4541,7 +4608,7 @@ declare const SessionSchemas: {
4541
4608
  source: _$zod.ZodString;
4542
4609
  kind: _$zod.ZodString;
4543
4610
  observedAt: _$zod.ZodNumber;
4544
- payload: _$zod.ZodType<Record<string, unknown>, unknown, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, unknown>>;
4611
+ payload: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
4545
4612
  }, _$zod_v4_core0.$strip>>;
4546
4613
  isOrchestrated: _$zod.ZodOptional<_$zod.ZodBoolean>;
4547
4614
  title: _$zod.ZodOptional<_$zod.ZodString>;
@@ -4558,9 +4625,9 @@ declare const SessionSchemas: {
4558
4625
  fromMessageId: _$zod.ZodString;
4559
4626
  toMessageId: _$zod.ZodString;
4560
4627
  policy: _$zod.ZodEnum<{
4628
+ exclude: "exclude";
4561
4629
  verbatim: "verbatim";
4562
4630
  summarize: "summarize";
4563
- exclude: "exclude";
4564
4631
  }>;
4565
4632
  stripReasoning: _$zod.ZodOptional<_$zod.ZodBoolean>;
4566
4633
  stripToolOutputs: _$zod.ZodOptional<_$zod.ZodBoolean>;
@@ -4572,10 +4639,19 @@ declare const SessionSchemas: {
4572
4639
  executionTargetId: _$zod.ZodOptional<_$zod.ZodString>;
4573
4640
  spawningToolCallId: _$zod.ZodOptional<_$zod.ZodString>;
4574
4641
  approvalPolicyOverride: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodEnum<{
4575
- "always-ask": "always-ask";
4576
4642
  reject: "reject";
4643
+ "always-ask": "always-ask";
4577
4644
  "full-access": "full-access";
4578
4645
  }>>>;
4646
+ source: _$zod.ZodOptional<_$zod.ZodString>;
4647
+ parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
4648
+ logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
4649
+ discoveredAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4650
+ importStatus: _$zod.ZodOptional<_$zod.ZodEnum<{
4651
+ discovered: "discovered";
4652
+ imported: "imported";
4653
+ tracking: "tracking";
4654
+ }>>;
4579
4655
  }, _$zod_v4_core0.$strip>>;
4580
4656
  agents: _$zod.ZodArray<_$zod.ZodObject<{
4581
4657
  agentId: _$zod.ZodString;
@@ -4693,9 +4769,9 @@ declare const SessionSchemas: {
4693
4769
  startedAt: _$zod.ZodNumber;
4694
4770
  completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4695
4771
  status: _$zod.ZodEnum<{
4696
- completed: "completed";
4697
4772
  error: "error";
4698
4773
  active: "active";
4774
+ completed: "completed";
4699
4775
  }>;
4700
4776
  error: _$zod.ZodOptional<_$zod.ZodString>;
4701
4777
  usage: _$zod.ZodOptional<_$zod.ZodObject<{
@@ -4863,9 +4939,9 @@ declare const SessionSchemas: {
4863
4939
  }, _$zod_v4_core0.$strip>]>;
4864
4940
  agentIds: _$zod.ZodArray<_$zod.ZodString>;
4865
4941
  source: _$zod.ZodOptional<_$zod.ZodEnum<{
4942
+ extension: "extension";
4866
4943
  user: "user";
4867
4944
  system: "system";
4868
- extension: "extension";
4869
4945
  }>>;
4870
4946
  origin: _$zod.ZodOptional<_$zod.ZodEnum<{
4871
4947
  text: "text";
@@ -4897,11 +4973,11 @@ declare const SessionSchemas: {
4897
4973
  messageId: _$zod.ZodString;
4898
4974
  agentId: _$zod.ZodString;
4899
4975
  outcome: _$zod.ZodEnum<{
4976
+ error: "error";
4900
4977
  completed: "completed";
4978
+ cancelled: "cancelled";
4901
4979
  superseded: "superseded";
4902
4980
  merged: "merged";
4903
- cancelled: "cancelled";
4904
- error: "error";
4905
4981
  rejected: "rejected";
4906
4982
  }>;
4907
4983
  supersededBy: _$zod.ZodOptional<_$zod.ZodString>;
@@ -4921,9 +4997,9 @@ declare const SessionSchemas: {
4921
4997
  agentIds: _$zod.ZodArray<_$zod.ZodString>;
4922
4998
  initiator: _$zod.ZodOptional<_$zod.ZodObject<{
4923
4999
  source: _$zod.ZodEnum<{
5000
+ extension: "extension";
4924
5001
  user: "user";
4925
5002
  system: "system";
4926
- extension: "extension";
4927
5003
  }>;
4928
5004
  sourceId: _$zod.ZodOptional<_$zod.ZodString>;
4929
5005
  }, _$zod_v4_core0.$strip>>;
@@ -4941,9 +5017,9 @@ declare const SessionSchemas: {
4941
5017
  error: _$zod.ZodOptional<_$zod.ZodString>;
4942
5018
  initiator: _$zod.ZodOptional<_$zod.ZodObject<{
4943
5019
  source: _$zod.ZodEnum<{
5020
+ extension: "extension";
4944
5021
  user: "user";
4945
5022
  system: "system";
4946
- extension: "extension";
4947
5023
  }>;
4948
5024
  sourceId: _$zod.ZodOptional<_$zod.ZodString>;
4949
5025
  }, _$zod_v4_core0.$strip>>;
@@ -5066,6 +5142,10 @@ declare const SessionSchemas: {
5066
5142
  }>;
5067
5143
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
5068
5144
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
5145
+ contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
5146
+ "parent-history": "parent-history";
5147
+ none: "none";
5148
+ }>>;
5069
5149
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
5070
5150
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
5071
5151
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -5087,7 +5167,7 @@ declare const SessionSchemas: {
5087
5167
  source: _$zod.ZodString;
5088
5168
  kind: _$zod.ZodString;
5089
5169
  observedAt: _$zod.ZodNumber;
5090
- payload: _$zod.ZodType<Record<string, unknown>, unknown, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, unknown>>;
5170
+ payload: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
5091
5171
  }, _$zod_v4_core0.$strip>>;
5092
5172
  isOrchestrated: _$zod.ZodOptional<_$zod.ZodBoolean>;
5093
5173
  title: _$zod.ZodOptional<_$zod.ZodString>;
@@ -5104,9 +5184,9 @@ declare const SessionSchemas: {
5104
5184
  fromMessageId: _$zod.ZodString;
5105
5185
  toMessageId: _$zod.ZodString;
5106
5186
  policy: _$zod.ZodEnum<{
5187
+ exclude: "exclude";
5107
5188
  verbatim: "verbatim";
5108
5189
  summarize: "summarize";
5109
- exclude: "exclude";
5110
5190
  }>;
5111
5191
  stripReasoning: _$zod.ZodOptional<_$zod.ZodBoolean>;
5112
5192
  stripToolOutputs: _$zod.ZodOptional<_$zod.ZodBoolean>;
@@ -5118,10 +5198,19 @@ declare const SessionSchemas: {
5118
5198
  executionTargetId: _$zod.ZodOptional<_$zod.ZodString>;
5119
5199
  spawningToolCallId: _$zod.ZodOptional<_$zod.ZodString>;
5120
5200
  approvalPolicyOverride: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodEnum<{
5121
- "always-ask": "always-ask";
5122
5201
  reject: "reject";
5202
+ "always-ask": "always-ask";
5123
5203
  "full-access": "full-access";
5124
5204
  }>>>;
5205
+ source: _$zod.ZodOptional<_$zod.ZodString>;
5206
+ parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
5207
+ logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
5208
+ discoveredAt: _$zod.ZodOptional<_$zod.ZodNumber>;
5209
+ importStatus: _$zod.ZodOptional<_$zod.ZodEnum<{
5210
+ discovered: "discovered";
5211
+ imported: "imported";
5212
+ tracking: "tracking";
5213
+ }>>;
5125
5214
  }, _$zod_v4_core0.$strip>>;
5126
5215
  agents: _$zod.ZodArray<_$zod.ZodObject<{
5127
5216
  agentId: _$zod.ZodString;
@@ -5239,9 +5328,9 @@ declare const SessionSchemas: {
5239
5328
  startedAt: _$zod.ZodNumber;
5240
5329
  completedAt: _$zod.ZodOptional<_$zod.ZodNumber>;
5241
5330
  status: _$zod.ZodEnum<{
5242
- completed: "completed";
5243
5331
  error: "error";
5244
5332
  active: "active";
5333
+ completed: "completed";
5245
5334
  }>;
5246
5335
  error: _$zod.ZodOptional<_$zod.ZodString>;
5247
5336
  usage: _$zod.ZodOptional<_$zod.ZodObject<{
@@ -5409,9 +5498,9 @@ declare const SessionSchemas: {
5409
5498
  }, _$zod_v4_core0.$strip>]>;
5410
5499
  agentIds: _$zod.ZodArray<_$zod.ZodString>;
5411
5500
  source: _$zod.ZodOptional<_$zod.ZodEnum<{
5501
+ extension: "extension";
5412
5502
  user: "user";
5413
5503
  system: "system";
5414
- extension: "extension";
5415
5504
  }>>;
5416
5505
  origin: _$zod.ZodOptional<_$zod.ZodEnum<{
5417
5506
  text: "text";
@@ -5443,11 +5532,11 @@ declare const SessionSchemas: {
5443
5532
  messageId: _$zod.ZodString;
5444
5533
  agentId: _$zod.ZodString;
5445
5534
  outcome: _$zod.ZodEnum<{
5535
+ error: "error";
5446
5536
  completed: "completed";
5537
+ cancelled: "cancelled";
5447
5538
  superseded: "superseded";
5448
5539
  merged: "merged";
5449
- cancelled: "cancelled";
5450
- error: "error";
5451
5540
  rejected: "rejected";
5452
5541
  }>;
5453
5542
  supersededBy: _$zod.ZodOptional<_$zod.ZodString>;
@@ -5467,9 +5556,9 @@ declare const SessionSchemas: {
5467
5556
  agentIds: _$zod.ZodArray<_$zod.ZodString>;
5468
5557
  initiator: _$zod.ZodOptional<_$zod.ZodObject<{
5469
5558
  source: _$zod.ZodEnum<{
5559
+ extension: "extension";
5470
5560
  user: "user";
5471
5561
  system: "system";
5472
- extension: "extension";
5473
5562
  }>;
5474
5563
  sourceId: _$zod.ZodOptional<_$zod.ZodString>;
5475
5564
  }, _$zod_v4_core0.$strip>>;
@@ -5487,9 +5576,9 @@ declare const SessionSchemas: {
5487
5576
  error: _$zod.ZodOptional<_$zod.ZodString>;
5488
5577
  initiator: _$zod.ZodOptional<_$zod.ZodObject<{
5489
5578
  source: _$zod.ZodEnum<{
5579
+ extension: "extension";
5490
5580
  user: "user";
5491
5581
  system: "system";
5492
- extension: "extension";
5493
5582
  }>;
5494
5583
  sourceId: _$zod.ZodOptional<_$zod.ZodString>;
5495
5584
  }, _$zod_v4_core0.$strip>>;
@@ -5626,7 +5715,7 @@ declare const SessionSchemas: {
5626
5715
  source: _$zod.ZodString;
5627
5716
  kind: _$zod.ZodString;
5628
5717
  observedAt: _$zod.ZodNumber;
5629
- payload: _$zod.ZodType<Record<string, unknown>, unknown, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, unknown>>;
5718
+ payload: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
5630
5719
  }, _$zod_v4_core0.$strip>;
5631
5720
  }, _$zod_v4_core0.$strip>;
5632
5721
  'connectorSwap.editRequested': _$zod.ZodObject<{
@@ -5647,14 +5736,27 @@ declare const SessionSchemas: {
5647
5736
  maxTokens: _$zod.ZodNumber;
5648
5737
  percentage: _$zod.ZodNumber;
5649
5738
  level: _$zod.ZodEnum<{
5650
- critical: "critical";
5651
5739
  warn: "warn";
5652
5740
  ok: "ok";
5741
+ critical: "critical";
5653
5742
  }>;
5654
5743
  lastUpdatedAt: _$zod.ZodNumber;
5655
5744
  }, _$zod_v4_core0.$strip>>;
5656
5745
  }, _$zod_v4_core0.$strip>;
5657
5746
  };
5747
+ importStatusChanged: _$zod.ZodObject<{
5748
+ sessionId: _$zod.ZodString;
5749
+ importStatus: _$zod.ZodEnum<{
5750
+ discovered: "discovered";
5751
+ imported: "imported";
5752
+ tracking: "tracking";
5753
+ }>;
5754
+ }, _$zod_v4_core0.$strip>;
5755
+ 'import.completed': _$zod.ZodObject<{
5756
+ sessionId: _$zod.ZodString;
5757
+ adapterSessionId: _$zod.ZodString;
5758
+ source: _$zod.ZodString;
5759
+ }, _$zod_v4_core0.$strip>;
5658
5760
  event: _$zod.ZodUnion<readonly [_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
5659
5761
  sessionId: _$zod.ZodString;
5660
5762
  eventId: _$zod.ZodString;
@@ -5807,9 +5909,9 @@ declare const SessionSchemas: {
5807
5909
  }, _$zod_v4_core0.$strip>]>;
5808
5910
  agentIds: _$zod.ZodArray<_$zod.ZodString>;
5809
5911
  source: _$zod.ZodOptional<_$zod.ZodEnum<{
5912
+ extension: "extension";
5810
5913
  user: "user";
5811
5914
  system: "system";
5812
- extension: "extension";
5813
5915
  }>>;
5814
5916
  origin: _$zod.ZodOptional<_$zod.ZodEnum<{
5815
5917
  text: "text";
@@ -5841,11 +5943,11 @@ declare const SessionSchemas: {
5841
5943
  messageId: _$zod.ZodString;
5842
5944
  agentId: _$zod.ZodString;
5843
5945
  outcome: _$zod.ZodEnum<{
5946
+ error: "error";
5844
5947
  completed: "completed";
5948
+ cancelled: "cancelled";
5845
5949
  superseded: "superseded";
5846
5950
  merged: "merged";
5847
- cancelled: "cancelled";
5848
- error: "error";
5849
5951
  rejected: "rejected";
5850
5952
  }>;
5851
5953
  supersededBy: _$zod.ZodOptional<_$zod.ZodString>;
@@ -5865,9 +5967,9 @@ declare const SessionSchemas: {
5865
5967
  agentIds: _$zod.ZodArray<_$zod.ZodString>;
5866
5968
  initiator: _$zod.ZodOptional<_$zod.ZodObject<{
5867
5969
  source: _$zod.ZodEnum<{
5970
+ extension: "extension";
5868
5971
  user: "user";
5869
5972
  system: "system";
5870
- extension: "extension";
5871
5973
  }>;
5872
5974
  sourceId: _$zod.ZodOptional<_$zod.ZodString>;
5873
5975
  }, _$zod_v4_core0.$strip>>;
@@ -5885,9 +5987,9 @@ declare const SessionSchemas: {
5885
5987
  error: _$zod.ZodOptional<_$zod.ZodString>;
5886
5988
  initiator: _$zod.ZodOptional<_$zod.ZodObject<{
5887
5989
  source: _$zod.ZodEnum<{
5990
+ extension: "extension";
5888
5991
  user: "user";
5889
5992
  system: "system";
5890
- extension: "extension";
5891
5993
  }>;
5892
5994
  sourceId: _$zod.ZodOptional<_$zod.ZodString>;
5893
5995
  }, _$zod_v4_core0.$strip>>;
@@ -6011,6 +6113,10 @@ declare const SessionSchemas: {
6011
6113
  }>;
6012
6114
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
6013
6115
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
6116
+ contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
6117
+ "parent-history": "parent-history";
6118
+ none: "none";
6119
+ }>>;
6014
6120
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
6015
6121
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
6016
6122
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -6032,7 +6138,7 @@ declare const SessionSchemas: {
6032
6138
  source: _$zod.ZodString;
6033
6139
  kind: _$zod.ZodString;
6034
6140
  observedAt: _$zod.ZodNumber;
6035
- payload: _$zod.ZodType<Record<string, unknown>, unknown, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, unknown>>;
6141
+ payload: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
6036
6142
  }, _$zod_v4_core0.$strip>>;
6037
6143
  isOrchestrated: _$zod.ZodOptional<_$zod.ZodBoolean>;
6038
6144
  title: _$zod.ZodOptional<_$zod.ZodString>;
@@ -6049,9 +6155,9 @@ declare const SessionSchemas: {
6049
6155
  fromMessageId: _$zod.ZodString;
6050
6156
  toMessageId: _$zod.ZodString;
6051
6157
  policy: _$zod.ZodEnum<{
6158
+ exclude: "exclude";
6052
6159
  verbatim: "verbatim";
6053
6160
  summarize: "summarize";
6054
- exclude: "exclude";
6055
6161
  }>;
6056
6162
  stripReasoning: _$zod.ZodOptional<_$zod.ZodBoolean>;
6057
6163
  stripToolOutputs: _$zod.ZodOptional<_$zod.ZodBoolean>;
@@ -6063,10 +6169,19 @@ declare const SessionSchemas: {
6063
6169
  executionTargetId: _$zod.ZodOptional<_$zod.ZodString>;
6064
6170
  spawningToolCallId: _$zod.ZodOptional<_$zod.ZodString>;
6065
6171
  approvalPolicyOverride: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodEnum<{
6066
- "always-ask": "always-ask";
6067
6172
  reject: "reject";
6173
+ "always-ask": "always-ask";
6068
6174
  "full-access": "full-access";
6069
6175
  }>>>;
6176
+ source: _$zod.ZodOptional<_$zod.ZodString>;
6177
+ parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
6178
+ logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
6179
+ discoveredAt: _$zod.ZodOptional<_$zod.ZodNumber>;
6180
+ importStatus: _$zod.ZodOptional<_$zod.ZodEnum<{
6181
+ discovered: "discovered";
6182
+ imported: "imported";
6183
+ tracking: "tracking";
6184
+ }>>;
6070
6185
  preview: _$zod.ZodOptional<_$zod.ZodObject<{
6071
6186
  messageCount: _$zod.ZodNumber;
6072
6187
  firstUserMessage: _$zod.ZodNullable<_$zod.ZodString>;
@@ -6132,6 +6247,10 @@ declare const SessionSchemas: {
6132
6247
  }>;
6133
6248
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
6134
6249
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
6250
+ contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
6251
+ "parent-history": "parent-history";
6252
+ none: "none";
6253
+ }>>;
6135
6254
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
6136
6255
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
6137
6256
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -6153,7 +6272,7 @@ declare const SessionSchemas: {
6153
6272
  source: _$zod.ZodString;
6154
6273
  kind: _$zod.ZodString;
6155
6274
  observedAt: _$zod.ZodNumber;
6156
- payload: _$zod.ZodType<Record<string, unknown>, unknown, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, unknown>>;
6275
+ payload: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
6157
6276
  }, _$zod_v4_core0.$strip>>;
6158
6277
  isOrchestrated: _$zod.ZodOptional<_$zod.ZodBoolean>;
6159
6278
  title: _$zod.ZodOptional<_$zod.ZodString>;
@@ -6170,9 +6289,9 @@ declare const SessionSchemas: {
6170
6289
  fromMessageId: _$zod.ZodString;
6171
6290
  toMessageId: _$zod.ZodString;
6172
6291
  policy: _$zod.ZodEnum<{
6292
+ exclude: "exclude";
6173
6293
  verbatim: "verbatim";
6174
6294
  summarize: "summarize";
6175
- exclude: "exclude";
6176
6295
  }>;
6177
6296
  stripReasoning: _$zod.ZodOptional<_$zod.ZodBoolean>;
6178
6297
  stripToolOutputs: _$zod.ZodOptional<_$zod.ZodBoolean>;
@@ -6184,10 +6303,19 @@ declare const SessionSchemas: {
6184
6303
  executionTargetId: _$zod.ZodOptional<_$zod.ZodString>;
6185
6304
  spawningToolCallId: _$zod.ZodOptional<_$zod.ZodString>;
6186
6305
  approvalPolicyOverride: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodEnum<{
6187
- "always-ask": "always-ask";
6188
6306
  reject: "reject";
6307
+ "always-ask": "always-ask";
6189
6308
  "full-access": "full-access";
6190
6309
  }>>>;
6310
+ source: _$zod.ZodOptional<_$zod.ZodString>;
6311
+ parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
6312
+ logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
6313
+ discoveredAt: _$zod.ZodOptional<_$zod.ZodNumber>;
6314
+ importStatus: _$zod.ZodOptional<_$zod.ZodEnum<{
6315
+ discovered: "discovered";
6316
+ imported: "imported";
6317
+ tracking: "tracking";
6318
+ }>>;
6191
6319
  preview: _$zod.ZodOptional<_$zod.ZodObject<{
6192
6320
  messageCount: _$zod.ZodNumber;
6193
6321
  firstUserMessage: _$zod.ZodNullable<_$zod.ZodString>;
@@ -6244,6 +6372,10 @@ declare const SessionSchemas: {
6244
6372
  }>;
6245
6373
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
6246
6374
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
6375
+ contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
6376
+ "parent-history": "parent-history";
6377
+ none: "none";
6378
+ }>>;
6247
6379
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
6248
6380
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
6249
6381
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -6265,7 +6397,7 @@ declare const SessionSchemas: {
6265
6397
  source: _$zod.ZodString;
6266
6398
  kind: _$zod.ZodString;
6267
6399
  observedAt: _$zod.ZodNumber;
6268
- payload: _$zod.ZodType<Record<string, unknown>, unknown, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, unknown>>;
6400
+ payload: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
6269
6401
  }, _$zod_v4_core0.$strip>>;
6270
6402
  isOrchestrated: _$zod.ZodOptional<_$zod.ZodBoolean>;
6271
6403
  title: _$zod.ZodOptional<_$zod.ZodString>;
@@ -6282,9 +6414,9 @@ declare const SessionSchemas: {
6282
6414
  fromMessageId: _$zod.ZodString;
6283
6415
  toMessageId: _$zod.ZodString;
6284
6416
  policy: _$zod.ZodEnum<{
6417
+ exclude: "exclude";
6285
6418
  verbatim: "verbatim";
6286
6419
  summarize: "summarize";
6287
- exclude: "exclude";
6288
6420
  }>;
6289
6421
  stripReasoning: _$zod.ZodOptional<_$zod.ZodBoolean>;
6290
6422
  stripToolOutputs: _$zod.ZodOptional<_$zod.ZodBoolean>;
@@ -6296,10 +6428,19 @@ declare const SessionSchemas: {
6296
6428
  executionTargetId: _$zod.ZodOptional<_$zod.ZodString>;
6297
6429
  spawningToolCallId: _$zod.ZodOptional<_$zod.ZodString>;
6298
6430
  approvalPolicyOverride: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodEnum<{
6299
- "always-ask": "always-ask";
6300
6431
  reject: "reject";
6432
+ "always-ask": "always-ask";
6301
6433
  "full-access": "full-access";
6302
6434
  }>>>;
6435
+ source: _$zod.ZodOptional<_$zod.ZodString>;
6436
+ parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
6437
+ logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
6438
+ discoveredAt: _$zod.ZodOptional<_$zod.ZodNumber>;
6439
+ importStatus: _$zod.ZodOptional<_$zod.ZodEnum<{
6440
+ discovered: "discovered";
6441
+ imported: "imported";
6442
+ tracking: "tracking";
6443
+ }>>;
6303
6444
  }, _$zod_v4_core0.$strip>>;
6304
6445
  }, _$zod_v4_core0.$strip>;
6305
6446
  };
@@ -6307,6 +6448,10 @@ declare const SessionSchemas: {
6307
6448
  request: _$zod.ZodObject<{
6308
6449
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
6309
6450
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
6451
+ contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
6452
+ "parent-history": "parent-history";
6453
+ none: "none";
6454
+ }>>;
6310
6455
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
6311
6456
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
6312
6457
  fork: "fork";
@@ -6327,9 +6472,9 @@ declare const SessionSchemas: {
6327
6472
  fromMessageId: _$zod.ZodString;
6328
6473
  toMessageId: _$zod.ZodString;
6329
6474
  policy: _$zod.ZodEnum<{
6475
+ exclude: "exclude";
6330
6476
  verbatim: "verbatim";
6331
6477
  summarize: "summarize";
6332
- exclude: "exclude";
6333
6478
  }>;
6334
6479
  stripReasoning: _$zod.ZodOptional<_$zod.ZodBoolean>;
6335
6480
  stripToolOutputs: _$zod.ZodOptional<_$zod.ZodBoolean>;
@@ -6386,8 +6531,8 @@ declare const SessionSchemas: {
6386
6531
  sessionId: _$zod.ZodString;
6387
6532
  executionTargetId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
6388
6533
  approvalPolicyOverride: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodEnum<{
6389
- "always-ask": "always-ask";
6390
6534
  reject: "reject";
6535
+ "always-ask": "always-ask";
6391
6536
  "full-access": "full-access";
6392
6537
  }>>>;
6393
6538
  title: _$zod.ZodOptional<_$zod.ZodString>;
@@ -6444,6 +6589,10 @@ declare const SessionSchemas: {
6444
6589
  }>;
6445
6590
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
6446
6591
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
6592
+ contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
6593
+ "parent-history": "parent-history";
6594
+ none: "none";
6595
+ }>>;
6447
6596
  rootSessionId: _$zod.ZodOptional<_$zod.ZodString>;
6448
6597
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
6449
6598
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -6465,7 +6614,7 @@ declare const SessionSchemas: {
6465
6614
  source: _$zod.ZodString;
6466
6615
  kind: _$zod.ZodString;
6467
6616
  observedAt: _$zod.ZodNumber;
6468
- payload: _$zod.ZodType<Record<string, unknown>, unknown, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, unknown>>;
6617
+ payload: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
6469
6618
  }, _$zod_v4_core0.$strip>>;
6470
6619
  isOrchestrated: _$zod.ZodOptional<_$zod.ZodBoolean>;
6471
6620
  title: _$zod.ZodOptional<_$zod.ZodString>;
@@ -6482,9 +6631,9 @@ declare const SessionSchemas: {
6482
6631
  fromMessageId: _$zod.ZodString;
6483
6632
  toMessageId: _$zod.ZodString;
6484
6633
  policy: _$zod.ZodEnum<{
6634
+ exclude: "exclude";
6485
6635
  verbatim: "verbatim";
6486
6636
  summarize: "summarize";
6487
- exclude: "exclude";
6488
6637
  }>;
6489
6638
  stripReasoning: _$zod.ZodOptional<_$zod.ZodBoolean>;
6490
6639
  stripToolOutputs: _$zod.ZodOptional<_$zod.ZodBoolean>;
@@ -6496,10 +6645,19 @@ declare const SessionSchemas: {
6496
6645
  executionTargetId: _$zod.ZodOptional<_$zod.ZodString>;
6497
6646
  spawningToolCallId: _$zod.ZodOptional<_$zod.ZodString>;
6498
6647
  approvalPolicyOverride: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodEnum<{
6499
- "always-ask": "always-ask";
6500
6648
  reject: "reject";
6649
+ "always-ask": "always-ask";
6501
6650
  "full-access": "full-access";
6502
6651
  }>>>;
6652
+ source: _$zod.ZodOptional<_$zod.ZodString>;
6653
+ parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
6654
+ logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
6655
+ discoveredAt: _$zod.ZodOptional<_$zod.ZodNumber>;
6656
+ importStatus: _$zod.ZodOptional<_$zod.ZodEnum<{
6657
+ discovered: "discovered";
6658
+ imported: "imported";
6659
+ tracking: "tracking";
6660
+ }>>;
6503
6661
  }, _$zod_v4_core0.$strip>>;
6504
6662
  }, _$zod_v4_core0.$strip>;
6505
6663
  };
@@ -6515,7 +6673,7 @@ declare const SessionSchemas: {
6515
6673
  };
6516
6674
  };
6517
6675
  //#endregion
6518
- //#region packages/contracts/src/session/types.d.ts
6676
+ //#region core/contracts/src/session/types.d.ts
6519
6677
  /**
6520
6678
  * A makaio orchestration session.
6521
6679
  *
@@ -6616,4 +6774,4 @@ type KnownSessionEvent = { [K in RuntimeKnownSessionEventType]: SessionEventBase
6616
6774
  */
6617
6775
  declare function isKnownSessionEvent(event: MakaioSessionEvent$1): event is KnownSessionEvent;
6618
6776
  //#endregion
6619
- export { BranchKind$1 as $, ForkTransformsSchema$1 as A, SESSION_EVENT_TYPES as B, TurnStatus as C, UsageMetrics as D, TurnUsageSchema$1 as E, SessionUpdatedEvent as F, SendMessageRequest as G, SessionEventType as H, SessionUpdatedEventSchema as I, SessionUsageResponse as J, SendMessageResponse as K, ForkChildInfo as L, SegmentPolicySchema as M, SessionCreated as N, UsageMetricsSchema as O, SessionCreatedEventSchema as P, AgentRoleSchema as Q, ForkChildInfoSchema as R, TurnSchema$1 as S, TurnUsage as T, SessionEventTypeMap as U, SessionEventPayload as V, SessionEventTypeSchema as W, TurnInitiatorSchema as X, TurnInitiator$1 as Y, AgentRole as Z, SessionMessageOriginSchema as _, SessionPreviewData as a, SnapshotExportOptionsSchema as at, SessionMessageSchema$1 as b, SessionSchemas as c, safeValidateSnapshot as ct, MessageRoutingStatus as d, SessionPreviewDataSchema as dt, BranchKindSchema as et, MessageRoutingStatusSchema as f, SessionWithPreviewSchema as ft, SessionMessageOrigin as g, SessionMessageBlockSchema as h, MakaioSessionAgentSchema$1 as ht, MakaioSessionEvent$1 as i, SnapshotExportOptions as it, SegmentPolicy as j, ForkTransforms$1 as k, MessageRouting as l, validateSnapshot as lt, SessionMessageBlock$1 as m, AgentStatusSchema$1 as mt, KnownSessionEvent as n, SessionSnapshot as nt, SessionWithPreview as o, SnapshotImportConflictErrorData as ot, SessionMessage$1 as p, AgentStatus as pt, SessionUsagePayload as q, MakaioSessionAgent$1 as r, SessionSnapshotSchema as rt, isKnownSessionEvent as s, SnapshotPreviewData as st, IMakaioSession$1 as t, SNAPSHOT_VERSION as tt, MessageRoutingSchema$1 as u, MakaioSessionSchema as ut, SessionMessageRole as v, TurnStatusSchema$1 as w, Turn$1 as x, SessionMessageRoleSchema as y, MakaioSessionEventSchema as z };
6777
+ export { BranchKind$1 as $, ForkTransformsSchema$1 as A, SESSION_EVENT_TYPES as B, TurnStatus as C, UsageMetrics as D, TurnUsageSchema$1 as E, SessionUpdatedEvent as F, SendMessageRequest as G, SessionEventType as H, SessionUpdatedEventSchema as I, SessionUsageResponse as J, SendMessageResponse as K, ForkChildInfo as L, SegmentPolicySchema as M, SessionCreated as N, UsageMetricsSchema as O, SessionCreatedEventSchema as P, AgentRoleSchema as Q, ForkChildInfoSchema as R, TurnSchema$1 as S, TurnUsage as T, SessionEventTypeMap as U, SessionEventPayload as V, SessionEventTypeSchema as W, TurnInitiatorSchema as X, TurnInitiator$1 as Y, AgentRole as Z, SessionMessageOriginSchema as _, MakaioSessionAgentSchema$1 as _t, SessionPreviewData as a, SessionSnapshotSchema as at, SessionMessageSchema$1 as b, SessionSchemas as c, SnapshotImportConflictErrorData as ct, MessageRoutingStatus as d, validateSnapshot as dt, BranchKindSchema as et, MessageRoutingStatusSchema as f, MakaioSessionSchema as ft, SessionMessageOrigin as g, AgentStatusSchema$1 as gt, SessionMessageBlockSchema as h, AgentStatus as ht, MakaioSessionEvent$1 as i, SessionSnapshot as it, SegmentPolicy as j, ForkTransforms$1 as k, MessageRouting as l, SnapshotPreviewData as lt, SessionMessageBlock$1 as m, SessionWithPreviewSchema as mt, KnownSessionEvent as n, ImportStatusSchema as nt, SessionWithPreview as o, SnapshotExportOptions as ot, SessionMessage$1 as p, SessionPreviewDataSchema as pt, SessionUsagePayload as q, MakaioSessionAgent$1 as r, SNAPSHOT_VERSION as rt, isKnownSessionEvent as s, SnapshotExportOptionsSchema as st, IMakaioSession$1 as t, ImportStatus as tt, MessageRoutingSchema$1 as u, safeValidateSnapshot as ut, SessionMessageRole as v, TurnStatusSchema$1 as w, Turn$1 as x, SessionMessageRoleSchema as y, MakaioSessionEventSchema as z };