@makaio/framework 1.0.0-dev-1789609124644 → 1.0.0-dev-1790066089222

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 (361) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/{adapter-C4v_gNTI.mjs → adapter-DSRgsh2d.mjs} +1 -1
  3. package/dist/adapter-subsystem/index.d.mts +15 -7
  4. package/dist/adapter-subsystem/index.mjs +1 -1
  5. package/dist/adapters/claude/index.mjs +3 -3
  6. package/dist/adapters/config/index.d.mts +1 -1
  7. package/dist/adapters/index.d.mts +2 -2
  8. package/dist/adapters/node.d.mts +1 -1
  9. package/dist/{attempt-record-codec-DaQ3WHUs.mjs → attempt-record-codec-DXpdMgyI.mjs} +1 -1
  10. package/dist/bus/index.d.mts +120 -8
  11. package/dist/bus/index.mjs +1 -1
  12. package/dist/bus-ceMF9rsq.mjs +9 -0
  13. package/dist/client-DWSwtFyI.mjs +1 -0
  14. package/dist/clients/index.d.mts +179 -12
  15. package/dist/clients/index.mjs +1 -1
  16. package/dist/clients/managed-install.d.mts +1 -1
  17. package/dist/code-execution/worker-entry.d.mts +1 -1
  18. package/dist/code-execution/worker-entry.mjs +1 -1
  19. package/dist/{code-execution-pUF4IO462.mjs → code-execution-DWSux6k1.mjs} +1 -1
  20. package/dist/contracts/adapter/index.d.mts +2 -2
  21. package/dist/contracts/adapter/index.mjs +1 -1
  22. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  23. package/dist/contracts/artifact/index.d.mts +2 -2
  24. package/dist/contracts/auth/index.d.mts +2 -2
  25. package/dist/contracts/automation-trigger/index.d.mts +3 -3
  26. package/dist/contracts/canonical-model/index.d.mts +1 -1
  27. package/dist/contracts/capabilities/index.d.mts +1 -1
  28. package/dist/contracts/client/index.d.mts +3 -3
  29. package/dist/contracts/client/index.mjs +1 -1
  30. package/dist/contracts/code-execution/index.d.mts +1 -1
  31. package/dist/contracts/common/index.d.mts +1 -1
  32. package/dist/contracts/config/index.d.mts +2 -47
  33. package/dist/contracts/context-projection/index.d.mts +232 -0
  34. package/dist/contracts/context-projection/index.mjs +1 -0
  35. package/dist/contracts/extension/index.d.mts +6 -6
  36. package/dist/contracts/extension/index.mjs +1 -1
  37. package/dist/contracts/facet/index.d.mts +1 -1
  38. package/dist/contracts/harness/index.d.mts +1 -1
  39. package/dist/contracts/host/index.d.mts +1 -1
  40. package/dist/contracts/index.d.mts +43 -43
  41. package/dist/contracts/index.mjs +1 -1
  42. package/dist/contracts/materialization/index.d.mts +2 -2
  43. package/dist/contracts/model-registry/index.d.mts +1 -1
  44. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  45. package/dist/contracts/platform/index.d.mts +1 -1
  46. package/dist/contracts/provider/index.d.mts +2 -2
  47. package/dist/contracts/reaction/index.d.mts +1 -1
  48. package/dist/contracts/session/index.d.mts +3 -3
  49. package/dist/contracts/session/index.mjs +1 -1
  50. package/dist/contracts/shared/index.d.mts +2 -2
  51. package/dist/contracts/skill/index.d.mts +1 -1
  52. package/dist/contracts/telemetry/index.d.mts +1 -1
  53. package/dist/contracts/timeout/index.d.mts +1 -1
  54. package/dist/contracts/variant/index.d.mts +1 -1
  55. package/dist/contracts/worker/index.d.mts +2 -2
  56. package/dist/contracts/workflow/index.d.mts +2 -2
  57. package/dist/{contribution-DDbHzCPF.d.mts → contribution-1GL7Rjaq.d.mts} +2 -2
  58. package/dist/credential-ref-w4ZYpYW0.d.mts +49 -0
  59. package/dist/{definition-CuaBQyde.d.mts → definition-DeIGoROj.d.mts} +1 -1
  60. package/dist/{descriptor-to-package-Dw8dnl5E.mjs → descriptor-to-package-BPIArq6N.mjs} +1 -1
  61. package/dist/{detached-extension-handle-DN3aqLyq.mjs → detached-extension-handle-W5_yfCyE.mjs} +1 -1
  62. package/dist/drizzle/0040_session_generation.sql +1 -0
  63. package/dist/drizzle/0041_session_principal_owner.sql +1 -0
  64. package/dist/drizzle/meta/_journal.json +14 -0
  65. package/dist/{execution-attempt-owner-recovery-CE_rvHKE.mjs → execution-attempt-owner-recovery-BZOEVYFH.mjs} +1 -1
  66. package/dist/extension-C6ANjR33.mjs +1 -0
  67. package/dist/{extension-context-BH31eOMv.d.mts → extension-context-pQ7Uio_s.d.mts} +44 -1
  68. package/dist/{extension-discovery-CA2IhDRo.d.mts → extension-discovery-Rup-gANp.d.mts} +114 -15
  69. package/dist/extension-kOwzAMud.mjs +1 -0
  70. package/dist/extension-namespace-CeRpt6C8.mjs +1 -0
  71. package/dist/{framework-packages-Bg4edkkM.mjs → framework-packages-U4Xhouxe.mjs} +1 -1
  72. package/dist/{hook-responses-Dq16X3Cb.d.mts → hook-responses-B882RcQc.d.mts} +48 -5
  73. package/dist/{index-Dm3d490n.d.mts → index-B2bxgKiK.d.mts} +1 -1
  74. package/dist/{index-7CVumCjj.d.mts → index-BTpkpHIS.d.mts} +65 -9
  75. package/dist/{index-Bh57xARQ.d.mts → index-BUv9gfRT.d.mts} +3 -3
  76. package/dist/{index-C6e9cwAl2.d.mts → index-BjQtqMxP2.d.mts} +4 -4
  77. package/dist/{index-B-u0Tu8X.d.mts → index-Bqi44ODz.d.mts} +37 -37
  78. package/dist/{index-CIzvBH8O.d.mts → index-C8two8wz.d.mts} +1 -1
  79. package/dist/{index-oxZt93RL.d.mts → index-CESqYf8a.d.mts} +2 -2
  80. package/dist/{index-C87P0WpY2.d.mts → index-CmCLAMNs.d.mts} +1 -1
  81. package/dist/index-CyEE1RI5.d.mts +869 -0
  82. package/dist/{index-De_oh9M-2.d.mts → index-D6Uq1btG.d.mts} +87 -10
  83. package/dist/{index-CRZ1jrxp.d.mts → index-DDSt0uS2.d.mts} +160 -12
  84. package/dist/{index-B6WkHnCQ.d.mts → index-DRxgmrad.d.mts} +1 -1
  85. package/dist/{index-U--ajOHy.d.mts → index-DUYjTfHD.d.mts} +1 -1
  86. package/dist/{index-HJkz7i4E.d.mts → index-DdJKsdya.d.mts} +188 -10
  87. package/dist/{index-B4pPwpKk.d.mts → index-DfREUyAk.d.mts} +1 -1
  88. package/dist/{index-ClKwF6LE.d.mts → index-Di-R1gmo.d.mts} +2 -2
  89. package/dist/{index-DWANFpTG.d.mts → index-Jdju2W3y.d.mts} +1 -1
  90. package/dist/{index-DQKVQPUS.d.mts → index-L6mssyeZ.d.mts} +1 -1
  91. package/dist/{index-B8v1-2-V2.d.mts → index-anIxF_eT.d.mts} +1 -1
  92. package/dist/{index-iVisrVdC2.d.mts → index-bYBnDBl32.d.mts} +539 -4
  93. package/dist/{index-Bg3WVL8n.d.mts → index-gNdH1F6r.d.mts} +531 -26
  94. package/dist/{index-zmDRR8gv2.d.mts → index-m5ZQFglW2.d.mts} +1 -1
  95. package/dist/{index-mTaFX2HH2.d.mts → index-uk8icWON2.d.mts} +419 -19
  96. package/dist/kernel/cli/index.d.mts +2 -2
  97. package/dist/kernel/cli/register.d.mts +1 -1
  98. package/dist/kernel/extension/index.d.mts +3 -2
  99. package/dist/kernel/extension/index.mjs +1 -1
  100. package/dist/kernel/index.d.mts +6 -6
  101. package/dist/kernel/index.mjs +1 -1
  102. package/dist/kernel/namespace/index.d.mts +1 -1
  103. package/dist/kernel/observability/index.d.mts +2 -2
  104. package/dist/kernel/observability/index.mjs +1 -1
  105. package/dist/kernel/providers/index.d.mts +1 -1
  106. package/dist/kernel/window/index.d.mts +1 -1
  107. package/dist/{lib-BF5XBSfw.mjs → lib-BdyGVjpO.mjs} +1 -1
  108. package/dist/{lib-Dljw2Cqh.mjs → lib-DxP3tPm9.mjs} +1 -1
  109. package/dist/load-extensions-BGfSWW_R.mjs +1 -0
  110. package/dist/{load-extensions-DGstT4_p.d.mts → load-extensions-Be_lOjm_.d.mts} +27 -14
  111. package/dist/mcp-http-server/index.mjs +1 -1
  112. package/dist/{namespace-BMdYJN_t.mjs → namespace-CqJhR19O.mjs} +1 -1
  113. package/dist/{namespace-Cmu-5_P9.d.mts → namespace-DudchWPb.d.mts} +457 -0
  114. package/dist/{namespace-BEbQb19g.d.mts → namespace-Eir1wQ_r.d.mts} +2 -2
  115. package/dist/node/bus-server/index.d.mts +1 -1
  116. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  117. package/dist/node/transports/index.d.mts +102 -4
  118. package/dist/node/transports/index.mjs +2 -2
  119. package/dist/{orchestrator-shared-CtPB6PAr.mjs → orchestrator-shared-CF-jPH91.mjs} +1 -1
  120. package/dist/ownership-memory-handler-C-y9zQf8.mjs +1 -0
  121. package/dist/package-AlsbnlSt.mjs +159 -0
  122. package/dist/{package-CDj3F-L3.d.mts → package-CwyC-Krg.d.mts} +1 -1
  123. package/dist/{package-DYScYC0D.mjs → package-kkPGlxMm.mjs} +1 -1
  124. package/dist/package.json +1 -1
  125. package/dist/{registry-DNMjJ-Oj.mjs → registry-DtaRGU8i.mjs} +1 -0
  126. package/dist/rules/index.d.mts +1 -1
  127. package/dist/rules/index.mjs +1 -1
  128. package/dist/rules/schemas.d.mts +1 -1
  129. package/dist/runtime-bun/index.d.mts +2 -2
  130. package/dist/runtime-bun/index.mjs +1 -1
  131. package/dist/runtime-node/boot-config.d.mts +45 -0
  132. package/dist/runtime-node/boot-config.mjs +1 -0
  133. package/dist/runtime-node/code-execution/index.d.mts +2 -2
  134. package/dist/runtime-node/code-execution/index.mjs +1 -1
  135. package/dist/runtime-node/extension-discovery.d.mts +2 -2
  136. package/dist/runtime-node/extension-discovery.mjs +1 -1
  137. package/dist/runtime-node/extension-validation.d.mts +1 -1
  138. package/dist/runtime-node/extension-validation.mjs +1 -1
  139. package/dist/runtime-node/index.d.mts +345 -27
  140. package/dist/runtime-node/index.mjs +21 -24
  141. package/dist/runtime-node/makaio-config.d.mts +1 -1
  142. package/dist/runtime-node/makaio-config.mjs +1 -1
  143. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  144. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  145. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  146. package/dist/{schema-BA1cHBbc.d.mts → schema-FY0EakKe.d.mts} +56 -0
  147. package/dist/schemas-CkxAK13D.mjs +1 -0
  148. package/dist/{schemas-CaYEFzK_.d.mts → schemas-FgVQek-j.d.mts} +2 -2
  149. package/dist/services/adapter-runtime/index.d.mts +3 -3
  150. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  151. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  152. package/dist/services/adapter-subsystem/index.d.mts +3 -3
  153. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  154. package/dist/services/agent-runtime/index.d.mts +2 -2
  155. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  156. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  157. package/dist/services/automation-trigger/index.d.mts +19 -0
  158. package/dist/services/capability/index.d.mts +2 -2
  159. package/dist/services/code-execution/index.d.mts +1 -1
  160. package/dist/services/codebase/index.d.mts +2 -2
  161. package/dist/services/codebase/namespace.d.mts +1 -1
  162. package/dist/services/codebase/schemas.d.mts +1 -1
  163. package/dist/services/compression/index.d.mts +2 -2
  164. package/dist/services/compression/namespace.d.mts +1 -1
  165. package/dist/services/compression/schemas.d.mts +1 -1
  166. package/dist/services/context-projection/index.d.mts +94 -0
  167. package/dist/services/context-projection/index.mjs +1 -0
  168. package/dist/services/context-rules/index.d.mts +1 -1
  169. package/dist/services/execution-target/index.d.mts +3 -3
  170. package/dist/services/execution-target/namespace.d.mts +1 -1
  171. package/dist/services/execution-target/schemas.d.mts +1 -1
  172. package/dist/services/filesystem/index.d.mts +1 -1
  173. package/dist/services/index.d.mts +45 -40
  174. package/dist/services/index.mjs +1 -1
  175. package/dist/services/log-import/browser.d.mts +2 -2
  176. package/dist/services/log-import/index.d.mts +2 -2
  177. package/dist/services/log-import/log-import.d.mts +1 -1
  178. package/dist/services/materialization/index.d.mts +1 -1
  179. package/dist/services/model-registry/index.d.mts +1 -1
  180. package/dist/services/preferences/index.d.mts +2 -2
  181. package/dist/services/preferences/schemas.d.mts +1 -1
  182. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  183. package/dist/services/provider-context/index.d.mts +1 -1
  184. package/dist/services/session/handlers/index.d.mts +1 -1
  185. package/dist/services/session/index.d.mts +9 -9
  186. package/dist/services/session/index.mjs +1 -1
  187. package/dist/services/session/messages/namespace.d.mts +1 -1
  188. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  189. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  190. package/dist/services/session/session-events/namespace.d.mts +1 -1
  191. package/dist/services/session/storage/namespace.d.mts +1 -1
  192. package/dist/services/session/storage/schema.d.mts +1 -1
  193. package/dist/services/session/storage/schema.mjs +1 -1
  194. package/dist/services/session/testing/index.mjs +4 -2
  195. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  196. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  197. package/dist/services/session/turns/namespace.d.mts +1 -1
  198. package/dist/services/session-editor/index.d.mts +1 -1
  199. package/dist/services/settings/index.d.mts +3 -3
  200. package/dist/services/settings/namespace.d.mts +232 -3
  201. package/dist/services/settings/namespace.mjs +1 -1
  202. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  203. package/dist/services/settings/storage/index.d.mts +3 -3
  204. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  205. package/dist/services/subagent/index.d.mts +1 -1
  206. package/dist/services/subagent-template/index.d.mts +2 -2
  207. package/dist/services/subagent-template/namespace.d.mts +1 -1
  208. package/dist/services/subagent-template/schemas.d.mts +1 -1
  209. package/dist/services/tool-approval/index.d.mts +1 -1
  210. package/dist/services/tool-approval/index.mjs +1 -1
  211. package/dist/services/tools/index.d.mts +1 -1
  212. package/dist/services/tools/index.mjs +1 -1
  213. package/dist/services/tray-menu/index.d.mts +3 -3
  214. package/dist/services/tray-menu/namespace.d.mts +1 -1
  215. package/dist/services/tray-menu/schemas.d.mts +1 -1
  216. package/dist/services/turn/index.d.mts +1 -1
  217. package/dist/services/turn/namespace.d.mts +1 -1
  218. package/dist/services/workflow-transitions/index.d.mts +1 -1
  219. package/dist/services/workflow-transitions/index.mjs +1 -1
  220. package/dist/session-BNiMZnfF.mjs +1 -0
  221. package/dist/session-CMbztxNO.mjs +95 -0
  222. package/dist/src-BZdw54VU.mjs +1 -0
  223. package/dist/{src-CbAw9kjJ.mjs → src-C0sw_Vs_.mjs} +1 -1
  224. package/dist/{src-Xn6SS74f.mjs → src-CqQSqLQI.mjs} +1 -1
  225. package/dist/storage/drizzle/client.d.mts +1 -1
  226. package/dist/storage/drizzle/client.mjs +1 -1
  227. package/dist/storage/drizzle/index.d.mts +1 -1
  228. package/dist/storage/drizzle/index.mjs +1 -1
  229. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  230. package/dist/storage/handlers/index.d.mts +1 -1
  231. package/dist/{tool-approval-service-pbkGcAV8.mjs → tool-approval-service-CRo3fZRF.mjs} +1 -1
  232. package/dist/{tools-C5Gy0IQG.mjs → tools-CKaxi3Mb.mjs} +1 -1
  233. package/dist/{transition-D-Lgbp1j.d.mts → transition-DMv8cgEd.d.mts} +2 -2
  234. package/dist/{types-CjYcHDPo2.d.mts → types-7L3BrU9m2.d.mts} +1 -1
  235. package/dist/{types-DhbllltK.d.mts → types-DNYO_Rxj.d.mts} +12 -3
  236. package/dist/ui-hooks/index.d.mts +17 -24
  237. package/dist/ui-hooks/index.mjs +1 -1
  238. package/dist/ui-kernel/index.d.mts +11 -2
  239. package/dist/ui-kernel/index.mjs +1 -1
  240. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  241. package/dist/ui-views/index.mjs +1 -1
  242. package/dist/utils/index.d.mts +31 -1
  243. package/dist/utils/index.mjs +2 -2
  244. package/dist/{view-builder-CHUTXJDl.d.mts → view-builder-DJGz9I-u.d.mts} +2 -2
  245. package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
  246. package/dist/workflow-engine/execution-attempt-repository.mjs +1 -1
  247. package/dist/workflow-engine/index.d.mts +2 -2
  248. package/dist/workflow-engine/index.mjs +1 -1
  249. package/dist/workflow-engine/package.d.mts +1 -1
  250. package/dist/workflow-engine/package.mjs +1 -1
  251. package/dist/workflow-engine/provider-operation.d.mts +1 -1
  252. package/dist/workflow-engine/testing/conformance.d.mts +1 -1
  253. package/dist/workflow-engine/testing/conformance.mjs +1 -1
  254. package/dist/workflow-engine/testing/index.d.mts +1 -1
  255. package/dist/workflow-engine/testing/index.mjs +1 -1
  256. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  257. package/dist/workflow-engine/testing/sqlite.mjs +1 -1
  258. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  259. package/dist/{workflow-transitions-C0sg3kar.mjs → workflow-transitions-t0ORS1F5.mjs} +1 -1
  260. package/dist/workflow-worker-DXCXb3g-.mjs +3 -0
  261. package/package.json +9 -1
  262. package/dist/bus-BQ64i3DN.mjs +0 -9
  263. package/dist/client-Bg3_IdaF.mjs +0 -1
  264. package/dist/extension-CfrTp3rC.mjs +0 -1
  265. package/dist/extension-CnNcY1hR.mjs +0 -1
  266. package/dist/extension-namespace-Ct9L6SKr.mjs +0 -1
  267. package/dist/index-D_j_T3nS.d.mts +0 -435
  268. package/dist/load-extensions-BVgxTj_y.mjs +0 -1
  269. package/dist/ownership-memory-handler-xex7sLiX.mjs +0 -1
  270. package/dist/schemas-ClkcU_N5.mjs +0 -1
  271. package/dist/session-6UG5udTX.mjs +0 -95
  272. package/dist/session-BB0s7c2B.mjs +0 -1
  273. package/dist/workflow-worker-ChrMIcKm.mjs +0 -2
  274. /package/dist/{adapter-binding-BxjUfkOn.d.mts → adapter-binding-CaYBrIkL.d.mts} +0 -0
  275. /package/dist/{attempt-control-evidence-7lwRG73Y.mjs → attempt-control-evidence-CHBnJoqN.mjs} +0 -0
  276. /package/dist/{attempt-fixtures-DHdYmr3o.mjs → attempt-fixtures-D3IsP0KH.mjs} +0 -0
  277. /package/dist/{authority-state-bootstrap-CvuWPywM.mjs → authority-state-bootstrap-4F5Wc_6l.mjs} +0 -0
  278. /package/dist/{base-orchestrator-CrXiMJzf.d.mts → base-orchestrator-1ofFsqUz.d.mts} +0 -0
  279. /package/dist/{bootstrap-start-client-C1ZHbv6e.mjs → bootstrap-start-client-9nOdeDYl.mjs} +0 -0
  280. /package/dist/{capability-service-CQ1aw_p-.d.mts → capability-service-CUN0MIS7.d.mts} +0 -0
  281. /package/dist/{client-ByjHcS78.d.mts → client-BY3sBW2L.d.mts} +0 -0
  282. /package/dist/{client-binary-version-verifier-C4fEAUdo.d.mts → client-binary-version-verifier-BeO4Eptw.d.mts} +0 -0
  283. /package/dist/{clients-namespace-D4BxF2Nw.d.mts → clients-namespace-D92YsbKI.d.mts} +0 -0
  284. /package/dist/{config-namespace-B1zyOYwH.d.mts → config-namespace-OEckUfVE.d.mts} +0 -0
  285. /package/dist/{create-static-mount-Dgxgi4W3.mjs → create-static-mount-4B-mNtx1.mjs} +0 -0
  286. /package/dist/{cross-spawn-BMCAyqrN.mjs → cross-spawn-DGqEuNyT.mjs} +0 -0
  287. /package/dist/{definition-ClWxAKQ2.d.mts → definition-DLJg-P4G.d.mts} +0 -0
  288. /package/dist/{esm-Ccx-3z8E.mjs → esm-DwiWcwH0.mjs} +0 -0
  289. /package/dist/{execution-attempt-repository-aabFKcXN.mjs → execution-attempt-repository-CY289HlC.mjs} +0 -0
  290. /package/dist/{execution-attempt-repository-BUah8hma.d.mts → execution-attempt-repository-DOb5V4N2.d.mts} +0 -0
  291. /package/dist/{extension-package-provenance-C7oO5JAE.mjs → extension-package-provenance-ClpN3GHp.mjs} +0 -0
  292. /package/dist/{filesystem-service-CDYoiwWY.d.mts → filesystem-service-BmavE-uO.d.mts} +0 -0
  293. /package/dist/{index-BbkcbY6d.d.mts → index--gbsE1W0.d.mts} +0 -0
  294. /package/dist/{index-DdVpWkaI.d.mts → index-B36rL4gp.d.mts} +0 -0
  295. /package/dist/{index-DM72_93s.d.mts → index-BD1SbHpP.d.mts} +0 -0
  296. /package/dist/{index-KdlZRuTp.d.mts → index-BDcK7jqJ2.d.mts} +0 -0
  297. /package/dist/{index-DAaQ--ki.d.mts → index-BQYGOXY5.d.mts} +0 -0
  298. /package/dist/{index-gAyARaKS.d.mts → index-BneZFJ7x.d.mts} +0 -0
  299. /package/dist/{index-D8ELwT5y.d.mts → index-BujgCaKt.d.mts} +0 -0
  300. /package/dist/{index-DfU8s_xP.d.mts → index-C2StVLk4.d.mts} +0 -0
  301. /package/dist/{index-BGnQ0EyD.d.mts → index-CCTzitBA.d.mts} +0 -0
  302. /package/dist/{index-CVRT01082.d.mts → index-Cj_V1aRL.d.mts} +0 -0
  303. /package/dist/{index-nkix3hP7.d.mts → index-CpN2C9jq.d.mts} +0 -0
  304. /package/dist/{index-D6p17KPs.d.mts → index-CsRPJ9FV.d.mts} +0 -0
  305. /package/dist/{index-BPNfYEA22.d.mts → index-CvdvuhTL2.d.mts} +0 -0
  306. /package/dist/{index-DmX9W3xH2.d.mts → index-D3peNmHN2.d.mts} +0 -0
  307. /package/dist/{index-DiZ4LmyE.d.mts → index-D7smT-YD.d.mts} +0 -0
  308. /package/dist/{index-B78CRVi9.d.mts → index-DEx4ZFkz.d.mts} +0 -0
  309. /package/dist/{index-CjDQn6lw.d.mts → index-DGoJayJg.d.mts} +0 -0
  310. /package/dist/{index-F7cVpFJ9.d.mts → index-DTvYp2GT.d.mts} +0 -0
  311. /package/dist/{index-Htfr-K5U2.d.mts → index-DqliLe_D2.d.mts} +0 -0
  312. /package/dist/{index-BCU5oByg.d.mts → index-DubyRZD9.d.mts} +0 -0
  313. /package/dist/{index-DjSUOMlr.d.mts → index-DwOpaQAE.d.mts} +0 -0
  314. /package/dist/{index-BZoOYV-y.d.mts → index-DxkSkszz.d.mts} +0 -0
  315. /package/dist/{index-tbjIqwa3.d.mts → index-TBJ1kIGA.d.mts} +0 -0
  316. /package/dist/{index-DXQTkwLB.d.mts → index-YOXWpZAS.d.mts} +0 -0
  317. /package/dist/{index-CXpgL3gz2.d.mts → index-aIJ7A4DC2.d.mts} +0 -0
  318. /package/dist/{index-D6liU_KS.d.mts → index-fxh7TB0q.d.mts} +0 -0
  319. /package/dist/{index-xsaaa85T.d.mts → index-qczb9Yx3.d.mts} +0 -0
  320. /package/dist/{index-C_kOkO3E.d.mts → index-zqo2mX_Z.d.mts} +0 -0
  321. /package/dist/{json-value-Ymw2f8i_.d.mts → json-value-Bjl8jzom.d.mts} +0 -0
  322. /package/dist/{jsonl-transport-Bg033Ng0.mjs → jsonl-transport-Ct1RWs0h.mjs} +0 -0
  323. /package/dist/{lib-BizqbepU.mjs → lib-DomKag_k.mjs} +0 -0
  324. /package/dist/{namespace-rJ3ycPMg.d.mts → namespace-Bhx72V7S.d.mts} +0 -0
  325. /package/dist/{namespace-BCVKdu-U.d.mts → namespace-CxEQv9iZ.d.mts} +0 -0
  326. /package/dist/{namespace-COHHDh2I.d.mts → namespace-D09uQ231.d.mts} +0 -0
  327. /package/dist/{namespace-UFcDEBJB.d.mts → namespace-D5DkpaaN.d.mts} +0 -0
  328. /package/dist/{namespace-CvK86QFk.d.mts → namespace-DHLwz4o3.d.mts} +0 -0
  329. /package/dist/{namespace-B5IFLQc-.d.mts → namespace-DHbrNQYD.d.mts} +0 -0
  330. /package/dist/{namespace-s0e215xO.d.mts → namespace-DyD06b5-.d.mts} +0 -0
  331. /package/dist/{namespace-C1pPZKtI.d.mts → namespace-Dz5_Hrz7.d.mts} +0 -0
  332. /package/dist/{namespace-Phxf0Lep.d.mts → namespace-Lkv2nyzb.d.mts} +0 -0
  333. /package/dist/{namespace-DM5vykb7.d.mts → namespace-hlhPqSsw.d.mts} +0 -0
  334. /package/dist/{namespace-DlOQmhgX.d.mts → namespace-x-gk5SmK.d.mts} +0 -0
  335. /package/dist/{namespace-f6Kz5cwX.d.mts → namespace-zusFEJPh.d.mts} +0 -0
  336. /package/dist/{orchestrator-shared--srEeSaY.d.mts → orchestrator-shared-ChU5qRSe.d.mts} +0 -0
  337. /package/dist/{packages-B98-WETs.d.mts → packages-D2s51nGU.d.mts} +0 -0
  338. /package/dist/{providers-namespace-DRcl03bo.d.mts → providers-namespace-BLVt8OyP.d.mts} +0 -0
  339. /package/dist/{runtime-inputs-DBtVIy9h.d.mts → runtime-inputs-BU_kBrP7.d.mts} +0 -0
  340. /package/dist/{schemas-CEJe8O6P.d.mts → schemas-3KTmPuZg.d.mts} +0 -0
  341. /package/dist/{schemas-D_-iXLQ9.d.mts → schemas-B-5_Dp4_.d.mts} +0 -0
  342. /package/dist/{schemas-CeItAAQM.d.mts → schemas-BLxdGZkr.d.mts} +0 -0
  343. /package/dist/{schemas-Cj6Gbqch.d.mts → schemas-BegArpU_.d.mts} +0 -0
  344. /package/dist/{schemas-Ca5RILd-2.d.mts → schemas-BzB6z9oX2.d.mts} +0 -0
  345. /package/dist/{schemas-CtzZDp29.d.mts → schemas-CBBzvIh0.d.mts} +0 -0
  346. /package/dist/{schemas-Cq1d5tid.d.mts → schemas-CD3Mq-jC.d.mts} +0 -0
  347. /package/dist/{schemas-LiiyNNpr.d.mts → schemas-Cl7fPlRv.d.mts} +0 -0
  348. /package/dist/{schemas-DJ2vMsgm.d.mts → schemas-CqawCYTY.d.mts} +0 -0
  349. /package/dist/{schemas-2_D4iVbb.d.mts → schemas-DEg6R9ph.d.mts} +0 -0
  350. /package/dist/{schemas-JjyFxrC0.d.mts → schemas-rMUsvzeJ.d.mts} +0 -0
  351. /package/dist/{server-lifecycle-DUKp1Fbf.d.mts → server-lifecycle-CTJvpdeL.d.mts} +0 -0
  352. /package/dist/{session-lineage-C3myyt5x.d.mts → session-lineage-BuGN3RZs.d.mts} +0 -0
  353. /package/dist/{storage-namespace-IvLOIP7j.d.mts → storage-namespace-B5r_ScUz.d.mts} +0 -0
  354. /package/dist/{storage-namespace-definition-Cv0XiTXb.d.mts → storage-namespace-definition-DiYr8UNl.d.mts} +0 -0
  355. /package/dist/{types-hkExapGH.d.mts → types-BSx8YYlc.d.mts} +0 -0
  356. /package/dist/{types-BYEybzjX.d.mts → types-CpEoQapk.d.mts} +0 -0
  357. /package/dist/{types-QRSc2AUU.d.mts → types-Cuhnt15L.d.mts} +0 -0
  358. /package/dist/{types-QsyX4H21.d.mts → types-DEGuc-fn.d.mts} +0 -0
  359. /package/dist/{types-BRM1AZaP.d.mts → types-DciLiPMd.d.mts} +0 -0
  360. /package/dist/{types-CsmvIK25.mjs → types-wwuw7RkB.mjs} +0 -0
  361. /package/dist/{window-registry-DeG37kt8.d.mts → window-registry-C3W2wtlX.d.mts} +0 -0
@@ -1,6 +1,6 @@
1
- import { Hn as BranchKind$1, bn as SessionMessage$1 } from "./types-DhbllltK.mjs";
2
- import { o as Message$1 } from "./index-De_oh9M-2.mjs";
3
- import { t as ContractStorageNamespaceDefinition } from "./storage-namespace-definition-Cv0XiTXb.mjs";
1
+ import { Hn as BranchKind$1, bn as SessionMessage$1 } from "./types-DNYO_Rxj.mjs";
2
+ import { o as Message$1 } from "./index-D6Uq1btG.mjs";
3
+ import { t as ContractStorageNamespaceDefinition } from "./storage-namespace-definition-DiYr8UNl.mjs";
4
4
  import * as _$zod from "zod";
5
5
  import { z } from "zod";
6
6
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -2611,6 +2611,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
2611
2611
  coordinator: "coordinator";
2612
2612
  aside: "aside";
2613
2613
  }>>;
2614
+ generation: _$zod.ZodOptional<_$zod.ZodNumber>;
2614
2615
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
2615
2616
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2616
2617
  currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3283,6 +3284,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
3283
3284
  coordinator: "coordinator";
3284
3285
  aside: "aside";
3285
3286
  }>>;
3287
+ generation: _$zod.ZodOptional<_$zod.ZodNumber>;
3286
3288
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
3287
3289
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3288
3290
  currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -4472,6 +4474,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
4472
4474
  coordinator: "coordinator";
4473
4475
  aside: "aside";
4474
4476
  }>>;
4477
+ generation: _$zod.ZodOptional<_$zod.ZodNumber>;
4475
4478
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
4476
4479
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
4477
4480
  currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -4630,6 +4633,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
4630
4633
  coordinator: "coordinator";
4631
4634
  aside: "aside";
4632
4635
  }>>;
4636
+ generation: _$zod.ZodOptional<_$zod.ZodNumber>;
4633
4637
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
4634
4638
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
4635
4639
  currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -4779,6 +4783,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
4779
4783
  coordinator: "coordinator";
4780
4784
  aside: "aside";
4781
4785
  }>>;
4786
+ generation: _$zod.ZodOptional<_$zod.ZodNumber>;
4782
4787
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
4783
4788
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
4784
4789
  currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -5042,6 +5047,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
5042
5047
  coordinator: "coordinator";
5043
5048
  aside: "aside";
5044
5049
  }>>;
5050
+ generation: _$zod.ZodOptional<_$zod.ZodNumber>;
5045
5051
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
5046
5052
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
5047
5053
  currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -7722,6 +7728,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
7722
7728
  coordinator: "coordinator";
7723
7729
  aside: "aside";
7724
7730
  }>>;
7731
+ generation: _$zod.ZodOptional<_$zod.ZodNumber>;
7725
7732
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
7726
7733
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
7727
7734
  currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -8394,6 +8401,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
8394
8401
  coordinator: "coordinator";
8395
8402
  aside: "aside";
8396
8403
  }>>;
8404
+ generation: _$zod.ZodOptional<_$zod.ZodNumber>;
8397
8405
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
8398
8406
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
8399
8407
  currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -9583,6 +9591,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
9583
9591
  coordinator: "coordinator";
9584
9592
  aside: "aside";
9585
9593
  }>>;
9594
+ generation: _$zod.ZodOptional<_$zod.ZodNumber>;
9586
9595
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
9587
9596
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
9588
9597
  currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -9741,6 +9750,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
9741
9750
  coordinator: "coordinator";
9742
9751
  aside: "aside";
9743
9752
  }>>;
9753
+ generation: _$zod.ZodOptional<_$zod.ZodNumber>;
9744
9754
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
9745
9755
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
9746
9756
  currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -9890,6 +9900,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
9890
9900
  coordinator: "coordinator";
9891
9901
  aside: "aside";
9892
9902
  }>>;
9903
+ generation: _$zod.ZodOptional<_$zod.ZodNumber>;
9893
9904
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
9894
9905
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
9895
9906
  currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -10153,6 +10164,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
10153
10164
  coordinator: "coordinator";
10154
10165
  aside: "aside";
10155
10166
  }>>;
10167
+ generation: _$zod.ZodOptional<_$zod.ZodNumber>;
10156
10168
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
10157
10169
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
10158
10170
  currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -15862,6 +15874,7 @@ declare const SessionStorageSetSessionSchema: z.ZodObject<{
15862
15874
  coordinator: "coordinator";
15863
15875
  aside: "aside";
15864
15876
  }>>;
15877
+ generation: z.ZodOptional<z.ZodNumber>;
15865
15878
  adapterName: z.ZodOptional<z.ZodString>;
15866
15879
  adapterSessionId: z.ZodOptional<z.ZodString>;
15867
15880
  currentAdapterSessionId: z.ZodOptional<z.ZodString>;
@@ -16001,6 +16014,7 @@ declare const SessionStorageSetRequestSchema$1: z.ZodObject<{
16001
16014
  coordinator: "coordinator";
16002
16015
  aside: "aside";
16003
16016
  }>>;
16017
+ generation: z.ZodOptional<z.ZodNumber>;
16004
16018
  adapterName: z.ZodOptional<z.ZodString>;
16005
16019
  adapterSessionId: z.ZodOptional<z.ZodString>;
16006
16020
  currentAdapterSessionId: z.ZodOptional<z.ZodString>;
@@ -16124,6 +16138,7 @@ declare const SessionStorageUpdateSchema$1: {
16124
16138
  metadata: z.ZodOptional<z.ZodNullable<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>>>>>;
16125
16139
  spawningToolCallId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16126
16140
  machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16141
+ advanceGeneration: z.ZodOptional<z.ZodLiteral<true>>;
16127
16142
  identity: z.ZodOptional<z.ZodObject<{
16128
16143
  adapterName: z.ZodString;
16129
16144
  adapterId: z.ZodString;
@@ -16261,6 +16276,168 @@ declare const ImportUpsertRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16261
16276
  forkPointMessageId: z.ZodNull;
16262
16277
  }, z.core.$strip>], "kind">;
16263
16278
  type ImportUpsertRequest = z.infer<typeof ImportUpsertRequestSchema>;
16279
+ /**
16280
+ * Atomically create an imported session for a principal, or verify the
16281
+ * principal already owns the matching row without enriching that row.
16282
+ */
16283
+ declare const SessionStorageRegisterOwnedImportRequestSchema: z.ZodObject<{
16284
+ ownerPrincipalId: z.ZodString;
16285
+ import: z.ZodDiscriminatedUnion<[z.ZodObject<{
16286
+ externalSessionId: z.ZodString;
16287
+ source: z.ZodString;
16288
+ clientId: z.ZodOptional<z.ZodString>;
16289
+ adapterId: z.ZodOptional<z.ZodString>;
16290
+ cwd: z.ZodNullable<z.ZodString>;
16291
+ logFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16292
+ startedAt: z.ZodOptional<z.ZodNumber>;
16293
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16294
+ metadata: z.ZodOptional<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>>>>;
16295
+ lastClientIdentityObservation: z.ZodOptional<z.ZodObject<{
16296
+ clientId: z.ZodString;
16297
+ source: z.ZodString;
16298
+ kind: z.ZodString;
16299
+ observedAt: z.ZodNumber;
16300
+ payload: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
16301
+ }, z.core.$strip>>;
16302
+ importStatus: z.ZodOptional<z.ZodEnum<{
16303
+ discovered: "discovered";
16304
+ tracking: "tracking";
16305
+ }>>;
16306
+ activation: z.ZodOptional<z.ZodEnum<{
16307
+ live: "live";
16308
+ }>>;
16309
+ isSidechain: z.ZodOptional<z.ZodBoolean>;
16310
+ machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16311
+ kind: z.ZodLiteral<"root">;
16312
+ parentAdapterSessionId: z.ZodNull;
16313
+ forkPointMessageId: z.ZodNull;
16314
+ }, z.core.$strip>, z.ZodObject<{
16315
+ externalSessionId: z.ZodString;
16316
+ source: z.ZodString;
16317
+ clientId: z.ZodOptional<z.ZodString>;
16318
+ adapterId: z.ZodOptional<z.ZodString>;
16319
+ cwd: z.ZodNullable<z.ZodString>;
16320
+ logFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16321
+ startedAt: z.ZodOptional<z.ZodNumber>;
16322
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16323
+ metadata: z.ZodOptional<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>>>>;
16324
+ lastClientIdentityObservation: z.ZodOptional<z.ZodObject<{
16325
+ clientId: z.ZodString;
16326
+ source: z.ZodString;
16327
+ kind: z.ZodString;
16328
+ observedAt: z.ZodNumber;
16329
+ payload: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
16330
+ }, z.core.$strip>>;
16331
+ importStatus: z.ZodOptional<z.ZodEnum<{
16332
+ discovered: "discovered";
16333
+ tracking: "tracking";
16334
+ }>>;
16335
+ activation: z.ZodOptional<z.ZodEnum<{
16336
+ live: "live";
16337
+ }>>;
16338
+ isSidechain: z.ZodOptional<z.ZodBoolean>;
16339
+ machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16340
+ kind: z.ZodLiteral<"fork">;
16341
+ parentAdapterSessionId: z.ZodString;
16342
+ forkPointMessageId: z.ZodNullable<z.ZodString>;
16343
+ }, z.core.$strip>, z.ZodObject<{
16344
+ externalSessionId: z.ZodString;
16345
+ source: z.ZodString;
16346
+ clientId: z.ZodOptional<z.ZodString>;
16347
+ adapterId: z.ZodOptional<z.ZodString>;
16348
+ cwd: z.ZodNullable<z.ZodString>;
16349
+ logFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16350
+ startedAt: z.ZodOptional<z.ZodNumber>;
16351
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16352
+ metadata: z.ZodOptional<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>>>>;
16353
+ lastClientIdentityObservation: z.ZodOptional<z.ZodObject<{
16354
+ clientId: z.ZodString;
16355
+ source: z.ZodString;
16356
+ kind: z.ZodString;
16357
+ observedAt: z.ZodNumber;
16358
+ payload: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
16359
+ }, z.core.$strip>>;
16360
+ importStatus: z.ZodOptional<z.ZodEnum<{
16361
+ discovered: "discovered";
16362
+ tracking: "tracking";
16363
+ }>>;
16364
+ activation: z.ZodOptional<z.ZodEnum<{
16365
+ live: "live";
16366
+ }>>;
16367
+ isSidechain: z.ZodOptional<z.ZodBoolean>;
16368
+ machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16369
+ kind: z.ZodLiteral<"subagent">;
16370
+ parentAdapterSessionId: z.ZodString;
16371
+ forkPointMessageId: z.ZodNull;
16372
+ }, z.core.$strip>, z.ZodObject<{
16373
+ externalSessionId: z.ZodString;
16374
+ source: z.ZodString;
16375
+ clientId: z.ZodOptional<z.ZodString>;
16376
+ adapterId: z.ZodOptional<z.ZodString>;
16377
+ cwd: z.ZodNullable<z.ZodString>;
16378
+ logFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16379
+ startedAt: z.ZodOptional<z.ZodNumber>;
16380
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16381
+ metadata: z.ZodOptional<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>>>>;
16382
+ lastClientIdentityObservation: z.ZodOptional<z.ZodObject<{
16383
+ clientId: z.ZodString;
16384
+ source: z.ZodString;
16385
+ kind: z.ZodString;
16386
+ observedAt: z.ZodNumber;
16387
+ payload: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
16388
+ }, z.core.$strip>>;
16389
+ importStatus: z.ZodOptional<z.ZodEnum<{
16390
+ discovered: "discovered";
16391
+ tracking: "tracking";
16392
+ }>>;
16393
+ activation: z.ZodOptional<z.ZodEnum<{
16394
+ live: "live";
16395
+ }>>;
16396
+ isSidechain: z.ZodOptional<z.ZodBoolean>;
16397
+ machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16398
+ kind: z.ZodLiteral<"compress">;
16399
+ parentAdapterSessionId: z.ZodString;
16400
+ forkPointMessageId: z.ZodNull;
16401
+ }, z.core.$strip>], "kind">;
16402
+ }, z.core.$strip>;
16403
+ type SessionStorageRegisterOwnedImportRequest = z.infer<typeof SessionStorageRegisterOwnedImportRequestSchema>;
16404
+ /**
16405
+ * Outcome of atomically registering a principal-owned imported session.
16406
+ *
16407
+ * Ownership identities remain storage-private; callers receive only their
16408
+ * relationship to the row and never the stored owner principal ID.
16409
+ */
16410
+ declare const SessionStorageRegisterOwnedImportResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16411
+ outcome: z.ZodLiteral<"created">;
16412
+ sessionId: z.ZodString;
16413
+ }, z.core.$strip>, z.ZodObject<{
16414
+ outcome: z.ZodLiteral<"owned">;
16415
+ sessionId: z.ZodString;
16416
+ }, z.core.$strip>, z.ZodObject<{
16417
+ outcome: z.ZodLiteral<"unowned">;
16418
+ }, z.core.$strip>, z.ZodObject<{
16419
+ outcome: z.ZodLiteral<"foreign">;
16420
+ }, z.core.$strip>, z.ZodObject<{
16421
+ outcome: z.ZodLiteral<"missing">;
16422
+ }, z.core.$strip>], "outcome">;
16423
+ type SessionStorageRegisterOwnedImportResult = z.infer<typeof SessionStorageRegisterOwnedImportResponseSchema>;
16424
+ /** Verify whether a principal owns a stored session without disclosing its owner. */
16425
+ declare const SessionStorageVerifyOwnerRequestSchema: z.ZodObject<{
16426
+ sessionId: z.ZodString;
16427
+ ownerPrincipalId: z.ZodString;
16428
+ }, z.core.$strip>;
16429
+ type SessionStorageVerifyOwnerRequest = z.infer<typeof SessionStorageVerifyOwnerRequestSchema>;
16430
+ /** Ownership relationship of a principal to a stored session. */
16431
+ declare const SessionStorageVerifyOwnerResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16432
+ outcome: z.ZodLiteral<"owned">;
16433
+ }, z.core.$strip>, z.ZodObject<{
16434
+ outcome: z.ZodLiteral<"unowned">;
16435
+ }, z.core.$strip>, z.ZodObject<{
16436
+ outcome: z.ZodLiteral<"foreign">;
16437
+ }, z.core.$strip>, z.ZodObject<{
16438
+ outcome: z.ZodLiteral<"missing">;
16439
+ }, z.core.$strip>], "outcome">;
16440
+ type SessionStorageVerifyOwnerResult = z.infer<typeof SessionStorageVerifyOwnerResponseSchema>;
16264
16441
  /**
16265
16442
  * Request payload for `storage:session.rebindObserved`.
16266
16443
  *
@@ -16283,6 +16460,10 @@ declare const SessionStorageRebindObservedRequestSchema: z.ZodObject<{
16283
16460
  cwd: z.ZodOptional<z.ZodString>;
16284
16461
  logFilePath: z.ZodOptional<z.ZodString>;
16285
16462
  machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16463
+ startMode: z.ZodOptional<z.ZodEnum<{
16464
+ resume: "resume";
16465
+ compact: "compact";
16466
+ }>>;
16286
16467
  }, z.core.$strip>;
16287
16468
  type SessionStorageRebindObservedRequest = z.infer<typeof SessionStorageRebindObservedRequestSchema>;
16288
16469
  /**
@@ -16401,6 +16582,7 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
16401
16582
  coordinator: "coordinator";
16402
16583
  aside: "aside";
16403
16584
  }>>;
16585
+ generation: z.ZodOptional<z.ZodNumber>;
16404
16586
  adapterName: z.ZodOptional<z.ZodString>;
16405
16587
  adapterSessionId: z.ZodOptional<z.ZodString>;
16406
16588
  currentAdapterSessionId: z.ZodOptional<z.ZodString>;
@@ -16549,6 +16731,7 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
16549
16731
  coordinator: "coordinator";
16550
16732
  aside: "aside";
16551
16733
  }>>;
16734
+ generation: z.ZodOptional<z.ZodNumber>;
16552
16735
  adapterName: z.ZodOptional<z.ZodString>;
16553
16736
  adapterSessionId: z.ZodOptional<z.ZodString>;
16554
16737
  currentAdapterSessionId: z.ZodOptional<z.ZodString>;
@@ -16728,6 +16911,7 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
16728
16911
  coordinator: "coordinator";
16729
16912
  aside: "aside";
16730
16913
  }>>;
16914
+ generation: z.ZodOptional<z.ZodNumber>;
16731
16915
  adapterName: z.ZodOptional<z.ZodString>;
16732
16916
  adapterSessionId: z.ZodOptional<z.ZodString>;
16733
16917
  currentAdapterSessionId: z.ZodOptional<z.ZodString>;
@@ -16923,6 +17107,7 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
16923
17107
  coordinator: "coordinator";
16924
17108
  aside: "aside";
16925
17109
  }>>;
17110
+ generation: z.ZodOptional<z.ZodNumber>;
16926
17111
  adapterName: z.ZodOptional<z.ZodString>;
16927
17112
  adapterSessionId: z.ZodOptional<z.ZodString>;
16928
17113
  currentAdapterSessionId: z.ZodOptional<z.ZodString>;
@@ -17054,6 +17239,7 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
17054
17239
  metadata: z.ZodOptional<z.ZodNullable<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>>>>>;
17055
17240
  spawningToolCallId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17056
17241
  machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17242
+ advanceGeneration: z.ZodOptional<z.ZodLiteral<true>>;
17057
17243
  identity: z.ZodOptional<z.ZodObject<{
17058
17244
  adapterName: z.ZodString;
17059
17245
  adapterId: z.ZodString;
@@ -17159,6 +17345,7 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
17159
17345
  coordinator: "coordinator";
17160
17346
  aside: "aside";
17161
17347
  }>>;
17348
+ generation: z.ZodOptional<z.ZodNumber>;
17162
17349
  adapterName: z.ZodOptional<z.ZodString>;
17163
17350
  adapterSessionId: z.ZodOptional<z.ZodString>;
17164
17351
  currentAdapterSessionId: z.ZodOptional<z.ZodString>;
@@ -17374,6 +17561,171 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
17374
17561
  created: z.ZodBoolean;
17375
17562
  }, z.core.$strip>;
17376
17563
  };
17564
+ /**
17565
+ * Atomically register an imported session to a principal, creating the row
17566
+ * only when absent. An existing row is checked but never enriched or
17567
+ * otherwise modified by this operation.
17568
+ *
17569
+ * Subject: `storage:session.registerOwnedImport`
17570
+ * Type: Request (RPC)
17571
+ */
17572
+ registerOwnedImport: {
17573
+ request: z.ZodObject<{
17574
+ ownerPrincipalId: z.ZodString;
17575
+ import: z.ZodDiscriminatedUnion<[z.ZodObject<{
17576
+ externalSessionId: z.ZodString;
17577
+ source: z.ZodString;
17578
+ clientId: z.ZodOptional<z.ZodString>;
17579
+ adapterId: z.ZodOptional<z.ZodString>;
17580
+ cwd: z.ZodNullable<z.ZodString>;
17581
+ logFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17582
+ startedAt: z.ZodOptional<z.ZodNumber>;
17583
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17584
+ metadata: z.ZodOptional<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>>>>;
17585
+ lastClientIdentityObservation: z.ZodOptional<z.ZodObject<{
17586
+ clientId: z.ZodString;
17587
+ source: z.ZodString;
17588
+ kind: z.ZodString;
17589
+ observedAt: z.ZodNumber;
17590
+ payload: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
17591
+ }, z.core.$strip>>;
17592
+ importStatus: z.ZodOptional<z.ZodEnum<{
17593
+ discovered: "discovered";
17594
+ tracking: "tracking";
17595
+ }>>;
17596
+ activation: z.ZodOptional<z.ZodEnum<{
17597
+ live: "live";
17598
+ }>>;
17599
+ isSidechain: z.ZodOptional<z.ZodBoolean>;
17600
+ machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17601
+ kind: z.ZodLiteral<"root">;
17602
+ parentAdapterSessionId: z.ZodNull;
17603
+ forkPointMessageId: z.ZodNull;
17604
+ }, z.core.$strip>, z.ZodObject<{
17605
+ externalSessionId: z.ZodString;
17606
+ source: z.ZodString;
17607
+ clientId: z.ZodOptional<z.ZodString>;
17608
+ adapterId: z.ZodOptional<z.ZodString>;
17609
+ cwd: z.ZodNullable<z.ZodString>;
17610
+ logFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17611
+ startedAt: z.ZodOptional<z.ZodNumber>;
17612
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17613
+ metadata: z.ZodOptional<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>>>>;
17614
+ lastClientIdentityObservation: z.ZodOptional<z.ZodObject<{
17615
+ clientId: z.ZodString;
17616
+ source: z.ZodString;
17617
+ kind: z.ZodString;
17618
+ observedAt: z.ZodNumber;
17619
+ payload: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
17620
+ }, z.core.$strip>>;
17621
+ importStatus: z.ZodOptional<z.ZodEnum<{
17622
+ discovered: "discovered";
17623
+ tracking: "tracking";
17624
+ }>>;
17625
+ activation: z.ZodOptional<z.ZodEnum<{
17626
+ live: "live";
17627
+ }>>;
17628
+ isSidechain: z.ZodOptional<z.ZodBoolean>;
17629
+ machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17630
+ kind: z.ZodLiteral<"fork">;
17631
+ parentAdapterSessionId: z.ZodString;
17632
+ forkPointMessageId: z.ZodNullable<z.ZodString>;
17633
+ }, z.core.$strip>, z.ZodObject<{
17634
+ externalSessionId: z.ZodString;
17635
+ source: z.ZodString;
17636
+ clientId: z.ZodOptional<z.ZodString>;
17637
+ adapterId: z.ZodOptional<z.ZodString>;
17638
+ cwd: z.ZodNullable<z.ZodString>;
17639
+ logFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17640
+ startedAt: z.ZodOptional<z.ZodNumber>;
17641
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17642
+ metadata: z.ZodOptional<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>>>>;
17643
+ lastClientIdentityObservation: z.ZodOptional<z.ZodObject<{
17644
+ clientId: z.ZodString;
17645
+ source: z.ZodString;
17646
+ kind: z.ZodString;
17647
+ observedAt: z.ZodNumber;
17648
+ payload: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
17649
+ }, z.core.$strip>>;
17650
+ importStatus: z.ZodOptional<z.ZodEnum<{
17651
+ discovered: "discovered";
17652
+ tracking: "tracking";
17653
+ }>>;
17654
+ activation: z.ZodOptional<z.ZodEnum<{
17655
+ live: "live";
17656
+ }>>;
17657
+ isSidechain: z.ZodOptional<z.ZodBoolean>;
17658
+ machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17659
+ kind: z.ZodLiteral<"subagent">;
17660
+ parentAdapterSessionId: z.ZodString;
17661
+ forkPointMessageId: z.ZodNull;
17662
+ }, z.core.$strip>, z.ZodObject<{
17663
+ externalSessionId: z.ZodString;
17664
+ source: z.ZodString;
17665
+ clientId: z.ZodOptional<z.ZodString>;
17666
+ adapterId: z.ZodOptional<z.ZodString>;
17667
+ cwd: z.ZodNullable<z.ZodString>;
17668
+ logFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17669
+ startedAt: z.ZodOptional<z.ZodNumber>;
17670
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17671
+ metadata: z.ZodOptional<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>>>>;
17672
+ lastClientIdentityObservation: z.ZodOptional<z.ZodObject<{
17673
+ clientId: z.ZodString;
17674
+ source: z.ZodString;
17675
+ kind: z.ZodString;
17676
+ observedAt: z.ZodNumber;
17677
+ payload: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
17678
+ }, z.core.$strip>>;
17679
+ importStatus: z.ZodOptional<z.ZodEnum<{
17680
+ discovered: "discovered";
17681
+ tracking: "tracking";
17682
+ }>>;
17683
+ activation: z.ZodOptional<z.ZodEnum<{
17684
+ live: "live";
17685
+ }>>;
17686
+ isSidechain: z.ZodOptional<z.ZodBoolean>;
17687
+ machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17688
+ kind: z.ZodLiteral<"compress">;
17689
+ parentAdapterSessionId: z.ZodString;
17690
+ forkPointMessageId: z.ZodNull;
17691
+ }, z.core.$strip>], "kind">;
17692
+ }, z.core.$strip>;
17693
+ response: z.ZodDiscriminatedUnion<[z.ZodObject<{
17694
+ outcome: z.ZodLiteral<"created">;
17695
+ sessionId: z.ZodString;
17696
+ }, z.core.$strip>, z.ZodObject<{
17697
+ outcome: z.ZodLiteral<"owned">;
17698
+ sessionId: z.ZodString;
17699
+ }, z.core.$strip>, z.ZodObject<{
17700
+ outcome: z.ZodLiteral<"unowned">;
17701
+ }, z.core.$strip>, z.ZodObject<{
17702
+ outcome: z.ZodLiteral<"foreign">;
17703
+ }, z.core.$strip>, z.ZodObject<{
17704
+ outcome: z.ZodLiteral<"missing">;
17705
+ }, z.core.$strip>], "outcome">;
17706
+ };
17707
+ /**
17708
+ * Verify a principal's relationship to a session without disclosing the
17709
+ * session's stored owner.
17710
+ *
17711
+ * Subject: `storage:session.verifyOwner`
17712
+ * Type: Request (RPC)
17713
+ */
17714
+ verifyOwner: {
17715
+ request: z.ZodObject<{
17716
+ sessionId: z.ZodString;
17717
+ ownerPrincipalId: z.ZodString;
17718
+ }, z.core.$strip>;
17719
+ response: z.ZodDiscriminatedUnion<[z.ZodObject<{
17720
+ outcome: z.ZodLiteral<"owned">;
17721
+ }, z.core.$strip>, z.ZodObject<{
17722
+ outcome: z.ZodLiteral<"unowned">;
17723
+ }, z.core.$strip>, z.ZodObject<{
17724
+ outcome: z.ZodLiteral<"foreign">;
17725
+ }, z.core.$strip>, z.ZodObject<{
17726
+ outcome: z.ZodLiteral<"missing">;
17727
+ }, z.core.$strip>], "outcome">;
17728
+ };
17377
17729
  /**
17378
17730
  * Rebind an already known observed session to the runtime that just
17379
17731
  * continued it (resume/compact).
@@ -17391,6 +17743,10 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
17391
17743
  cwd: z.ZodOptional<z.ZodString>;
17392
17744
  logFilePath: z.ZodOptional<z.ZodString>;
17393
17745
  machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17746
+ startMode: z.ZodOptional<z.ZodEnum<{
17747
+ resume: "resume";
17748
+ compact: "compact";
17749
+ }>>;
17394
17750
  }, z.core.$strip>;
17395
17751
  response: z.ZodDiscriminatedUnion<[z.ZodObject<{
17396
17752
  outcome: z.ZodLiteral<"rebound">;
@@ -17484,6 +17840,7 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
17484
17840
  coordinator: "coordinator";
17485
17841
  aside: "aside";
17486
17842
  }>>;
17843
+ generation: z.ZodOptional<z.ZodNumber>;
17487
17844
  adapterName: z.ZodOptional<z.ZodString>;
17488
17845
  adapterSessionId: z.ZodOptional<z.ZodString>;
17489
17846
  currentAdapterSessionId: z.ZodOptional<z.ZodString>;
@@ -17639,6 +17996,7 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
17639
17996
  coordinator: "coordinator";
17640
17997
  aside: "aside";
17641
17998
  }>>;
17999
+ generation: z.ZodOptional<z.ZodNumber>;
17642
18000
  adapterName: z.ZodOptional<z.ZodString>;
17643
18001
  adapterSessionId: z.ZodOptional<z.ZodString>;
17644
18002
  currentAdapterSessionId: z.ZodOptional<z.ZodString>;
@@ -17832,6 +18190,7 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
17832
18190
  coordinator: "coordinator";
17833
18191
  aside: "aside";
17834
18192
  }>>;
18193
+ generation: z.ZodOptional<z.ZodNumber>;
17835
18194
  adapterName: z.ZodOptional<z.ZodString>;
17836
18195
  adapterSessionId: z.ZodOptional<z.ZodString>;
17837
18196
  currentAdapterSessionId: z.ZodOptional<z.ZodString>;
@@ -17980,6 +18339,7 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
17980
18339
  coordinator: "coordinator";
17981
18340
  aside: "aside";
17982
18341
  }>>;
18342
+ generation: z.ZodOptional<z.ZodNumber>;
17983
18343
  adapterName: z.ZodOptional<z.ZodString>;
17984
18344
  adapterSessionId: z.ZodOptional<z.ZodString>;
17985
18345
  currentAdapterSessionId: z.ZodOptional<z.ZodString>;
@@ -18159,6 +18519,7 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
18159
18519
  coordinator: "coordinator";
18160
18520
  aside: "aside";
18161
18521
  }>>;
18522
+ generation: z.ZodOptional<z.ZodNumber>;
18162
18523
  adapterName: z.ZodOptional<z.ZodString>;
18163
18524
  adapterSessionId: z.ZodOptional<z.ZodString>;
18164
18525
  currentAdapterSessionId: z.ZodOptional<z.ZodString>;
@@ -18354,6 +18715,7 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
18354
18715
  coordinator: "coordinator";
18355
18716
  aside: "aside";
18356
18717
  }>>;
18718
+ generation: z.ZodOptional<z.ZodNumber>;
18357
18719
  adapterName: z.ZodOptional<z.ZodString>;
18358
18720
  adapterSessionId: z.ZodOptional<z.ZodString>;
18359
18721
  currentAdapterSessionId: z.ZodOptional<z.ZodString>;
@@ -18485,6 +18847,7 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
18485
18847
  metadata: z.ZodOptional<z.ZodNullable<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>>>>>;
18486
18848
  spawningToolCallId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18487
18849
  machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18850
+ advanceGeneration: z.ZodOptional<z.ZodLiteral<true>>;
18488
18851
  identity: z.ZodOptional<z.ZodObject<{
18489
18852
  adapterName: z.ZodString;
18490
18853
  adapterId: z.ZodString;
@@ -18590,6 +18953,7 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
18590
18953
  coordinator: "coordinator";
18591
18954
  aside: "aside";
18592
18955
  }>>;
18956
+ generation: z.ZodOptional<z.ZodNumber>;
18593
18957
  adapterName: z.ZodOptional<z.ZodString>;
18594
18958
  adapterSessionId: z.ZodOptional<z.ZodString>;
18595
18959
  currentAdapterSessionId: z.ZodOptional<z.ZodString>;
@@ -18805,6 +19169,171 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
18805
19169
  created: z.ZodBoolean;
18806
19170
  }, z.core.$strip>;
18807
19171
  };
19172
+ /**
19173
+ * Atomically register an imported session to a principal, creating the row
19174
+ * only when absent. An existing row is checked but never enriched or
19175
+ * otherwise modified by this operation.
19176
+ *
19177
+ * Subject: `storage:session.registerOwnedImport`
19178
+ * Type: Request (RPC)
19179
+ */
19180
+ registerOwnedImport: {
19181
+ request: z.ZodObject<{
19182
+ ownerPrincipalId: z.ZodString;
19183
+ import: z.ZodDiscriminatedUnion<[z.ZodObject<{
19184
+ externalSessionId: z.ZodString;
19185
+ source: z.ZodString;
19186
+ clientId: z.ZodOptional<z.ZodString>;
19187
+ adapterId: z.ZodOptional<z.ZodString>;
19188
+ cwd: z.ZodNullable<z.ZodString>;
19189
+ logFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19190
+ startedAt: z.ZodOptional<z.ZodNumber>;
19191
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19192
+ metadata: z.ZodOptional<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>>>>;
19193
+ lastClientIdentityObservation: z.ZodOptional<z.ZodObject<{
19194
+ clientId: z.ZodString;
19195
+ source: z.ZodString;
19196
+ kind: z.ZodString;
19197
+ observedAt: z.ZodNumber;
19198
+ payload: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
19199
+ }, z.core.$strip>>;
19200
+ importStatus: z.ZodOptional<z.ZodEnum<{
19201
+ discovered: "discovered";
19202
+ tracking: "tracking";
19203
+ }>>;
19204
+ activation: z.ZodOptional<z.ZodEnum<{
19205
+ live: "live";
19206
+ }>>;
19207
+ isSidechain: z.ZodOptional<z.ZodBoolean>;
19208
+ machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19209
+ kind: z.ZodLiteral<"root">;
19210
+ parentAdapterSessionId: z.ZodNull;
19211
+ forkPointMessageId: z.ZodNull;
19212
+ }, z.core.$strip>, z.ZodObject<{
19213
+ externalSessionId: z.ZodString;
19214
+ source: z.ZodString;
19215
+ clientId: z.ZodOptional<z.ZodString>;
19216
+ adapterId: z.ZodOptional<z.ZodString>;
19217
+ cwd: z.ZodNullable<z.ZodString>;
19218
+ logFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19219
+ startedAt: z.ZodOptional<z.ZodNumber>;
19220
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19221
+ metadata: z.ZodOptional<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>>>>;
19222
+ lastClientIdentityObservation: z.ZodOptional<z.ZodObject<{
19223
+ clientId: z.ZodString;
19224
+ source: z.ZodString;
19225
+ kind: z.ZodString;
19226
+ observedAt: z.ZodNumber;
19227
+ payload: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
19228
+ }, z.core.$strip>>;
19229
+ importStatus: z.ZodOptional<z.ZodEnum<{
19230
+ discovered: "discovered";
19231
+ tracking: "tracking";
19232
+ }>>;
19233
+ activation: z.ZodOptional<z.ZodEnum<{
19234
+ live: "live";
19235
+ }>>;
19236
+ isSidechain: z.ZodOptional<z.ZodBoolean>;
19237
+ machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19238
+ kind: z.ZodLiteral<"fork">;
19239
+ parentAdapterSessionId: z.ZodString;
19240
+ forkPointMessageId: z.ZodNullable<z.ZodString>;
19241
+ }, z.core.$strip>, z.ZodObject<{
19242
+ externalSessionId: z.ZodString;
19243
+ source: z.ZodString;
19244
+ clientId: z.ZodOptional<z.ZodString>;
19245
+ adapterId: z.ZodOptional<z.ZodString>;
19246
+ cwd: z.ZodNullable<z.ZodString>;
19247
+ logFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19248
+ startedAt: z.ZodOptional<z.ZodNumber>;
19249
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19250
+ metadata: z.ZodOptional<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>>>>;
19251
+ lastClientIdentityObservation: z.ZodOptional<z.ZodObject<{
19252
+ clientId: z.ZodString;
19253
+ source: z.ZodString;
19254
+ kind: z.ZodString;
19255
+ observedAt: z.ZodNumber;
19256
+ payload: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
19257
+ }, z.core.$strip>>;
19258
+ importStatus: z.ZodOptional<z.ZodEnum<{
19259
+ discovered: "discovered";
19260
+ tracking: "tracking";
19261
+ }>>;
19262
+ activation: z.ZodOptional<z.ZodEnum<{
19263
+ live: "live";
19264
+ }>>;
19265
+ isSidechain: z.ZodOptional<z.ZodBoolean>;
19266
+ machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19267
+ kind: z.ZodLiteral<"subagent">;
19268
+ parentAdapterSessionId: z.ZodString;
19269
+ forkPointMessageId: z.ZodNull;
19270
+ }, z.core.$strip>, z.ZodObject<{
19271
+ externalSessionId: z.ZodString;
19272
+ source: z.ZodString;
19273
+ clientId: z.ZodOptional<z.ZodString>;
19274
+ adapterId: z.ZodOptional<z.ZodString>;
19275
+ cwd: z.ZodNullable<z.ZodString>;
19276
+ logFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19277
+ startedAt: z.ZodOptional<z.ZodNumber>;
19278
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19279
+ metadata: z.ZodOptional<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>>>>;
19280
+ lastClientIdentityObservation: z.ZodOptional<z.ZodObject<{
19281
+ clientId: z.ZodString;
19282
+ source: z.ZodString;
19283
+ kind: z.ZodString;
19284
+ observedAt: z.ZodNumber;
19285
+ payload: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
19286
+ }, z.core.$strip>>;
19287
+ importStatus: z.ZodOptional<z.ZodEnum<{
19288
+ discovered: "discovered";
19289
+ tracking: "tracking";
19290
+ }>>;
19291
+ activation: z.ZodOptional<z.ZodEnum<{
19292
+ live: "live";
19293
+ }>>;
19294
+ isSidechain: z.ZodOptional<z.ZodBoolean>;
19295
+ machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19296
+ kind: z.ZodLiteral<"compress">;
19297
+ parentAdapterSessionId: z.ZodString;
19298
+ forkPointMessageId: z.ZodNull;
19299
+ }, z.core.$strip>], "kind">;
19300
+ }, z.core.$strip>;
19301
+ response: z.ZodDiscriminatedUnion<[z.ZodObject<{
19302
+ outcome: z.ZodLiteral<"created">;
19303
+ sessionId: z.ZodString;
19304
+ }, z.core.$strip>, z.ZodObject<{
19305
+ outcome: z.ZodLiteral<"owned">;
19306
+ sessionId: z.ZodString;
19307
+ }, z.core.$strip>, z.ZodObject<{
19308
+ outcome: z.ZodLiteral<"unowned">;
19309
+ }, z.core.$strip>, z.ZodObject<{
19310
+ outcome: z.ZodLiteral<"foreign">;
19311
+ }, z.core.$strip>, z.ZodObject<{
19312
+ outcome: z.ZodLiteral<"missing">;
19313
+ }, z.core.$strip>], "outcome">;
19314
+ };
19315
+ /**
19316
+ * Verify a principal's relationship to a session without disclosing the
19317
+ * session's stored owner.
19318
+ *
19319
+ * Subject: `storage:session.verifyOwner`
19320
+ * Type: Request (RPC)
19321
+ */
19322
+ verifyOwner: {
19323
+ request: z.ZodObject<{
19324
+ sessionId: z.ZodString;
19325
+ ownerPrincipalId: z.ZodString;
19326
+ }, z.core.$strip>;
19327
+ response: z.ZodDiscriminatedUnion<[z.ZodObject<{
19328
+ outcome: z.ZodLiteral<"owned">;
19329
+ }, z.core.$strip>, z.ZodObject<{
19330
+ outcome: z.ZodLiteral<"unowned">;
19331
+ }, z.core.$strip>, z.ZodObject<{
19332
+ outcome: z.ZodLiteral<"foreign">;
19333
+ }, z.core.$strip>, z.ZodObject<{
19334
+ outcome: z.ZodLiteral<"missing">;
19335
+ }, z.core.$strip>], "outcome">;
19336
+ };
18808
19337
  /**
18809
19338
  * Rebind an already known observed session to the runtime that just
18810
19339
  * continued it (resume/compact).
@@ -18822,6 +19351,10 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
18822
19351
  cwd: z.ZodOptional<z.ZodString>;
18823
19352
  logFilePath: z.ZodOptional<z.ZodString>;
18824
19353
  machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19354
+ startMode: z.ZodOptional<z.ZodEnum<{
19355
+ resume: "resume";
19356
+ compact: "compact";
19357
+ }>>;
18825
19358
  }, z.core.$strip>;
18826
19359
  response: z.ZodDiscriminatedUnion<[z.ZodObject<{
18827
19360
  outcome: z.ZodLiteral<"rebound">;
@@ -18915,6 +19448,7 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
18915
19448
  coordinator: "coordinator";
18916
19449
  aside: "aside";
18917
19450
  }>>;
19451
+ generation: z.ZodOptional<z.ZodNumber>;
18918
19452
  adapterName: z.ZodOptional<z.ZodString>;
18919
19453
  adapterSessionId: z.ZodOptional<z.ZodString>;
18920
19454
  currentAdapterSessionId: z.ZodOptional<z.ZodString>;
@@ -19070,6 +19604,7 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
19070
19604
  coordinator: "coordinator";
19071
19605
  aside: "aside";
19072
19606
  }>>;
19607
+ generation: z.ZodOptional<z.ZodNumber>;
19073
19608
  adapterName: z.ZodOptional<z.ZodString>;
19074
19609
  adapterSessionId: z.ZodOptional<z.ZodString>;
19075
19610
  currentAdapterSessionId: z.ZodOptional<z.ZodString>;
@@ -19343,4 +19878,4 @@ declare function isExtractionExcluded(metadata: Record<string, unknown> | undefi
19343
19878
  */
19344
19879
  declare function buildExtractionExclusionMetadata(): ExtractionExclusionMetadata;
19345
19880
  //#endregion
19346
- export { ResolveSystemPromptSchema as $, SessionEventStorageSubjects as A, CompressionMode as B, SessionStorageRebindObservedResponseSchema as C, SessionStorageSubjects$1 as D, SessionStorageSetSessionSchema as E, MessagePageCursor as F, isMergeable as G, BranchBehavior as H, MessagePageCursorSchema as I, SessionClientAccountChangedSchema as J, isNavigatingBranch as K, MessageStorageNamespace$1 as L, compareMessageCursorDesc$1 as M, messageCursorKey as N, SessionStorageUpdateSchema$1 as O, messageToCursor$1 as P, ResolveSystemPromptResponse as Q, MessageStorageSubjects$1 as R, SessionStorageRebindObservedRequestSchema as S, SessionSubjects$1 as St, SessionStorageSetRequestSchema$1 as T, getBranchBehavior as U, CompressionModeSchema$1 as V, isInViewBranch as W, SessionImportStatusChangedSchema as X, SessionImportStatusChanged as Y, ResolveSystemPromptRequest as Z, validateLeadDesignationMutation as _, ContextWindowState$1 as _t, isExtractionExcluded as a, isConnectorSwapCancelledError as at, SessionStorageNamespace$1 as b, SessionExtensionContextFactory as bt, AdapterSessionCurrencyTarget as c, ConnectorSwapWarningOptionId as ct, SessionOwnershipDesignationMutationCandidate as d, RequestCorrelationContext$1 as dt, ResolveAgentConfigRequest as et, SessionOwnershipLeadDesignationMutation as f, RequestCorrelationContextSchema$1 as ft, isPureLeadRestoration as g, SessionContextSchema$1 as gt, isPureLeadRelinquishment as h, SessionContext$1 as ht, buildExtractionExclusionMetadata as i, ConnectorSwapCancelledError as it, compareMessageCursorAsc$1 as j, SessionEventStorageNamespace$1 as k, AdapterSessionCurrencyTargetSchema as l, INTERACTIVE_DIALOG_TIMEOUT_MS as lt, isInactiveSafeLeadDesignationMutation$1 as m, CacheStrategy$1 as mt, ExtractionExclusionKey as n, ResolveAgentConfigSchema as nt, AdapterSessionCurrencySnapshot as o, CONNECTOR_SWAP_WARNING_OPTION_IDS as ot, getLeadDesignationMutationViolation as p, CACHE_STRATEGIES as pt, SessionClientAccountChanged as q, ExtractionExclusionMetadata as r, CONNECTOR_SWAP_CANCELLED_CODE as rt, AdapterSessionCurrencySnapshotSchema as s, CONNECTOR_SWAP_WARNING_SUPPRESSED_KEY as st, EXTRACTION_EXCLUSION_KEY as t, ResolveAgentConfigResponse as tt, resolveResumableAdapterSessionId$1 as u, UI_WARNINGS_CATEGORY as ut, ImportUpsertRequest as v, ForkOptions$1 as vt, SessionStorageRebindObservedResult as w, SessionStorageRebindObservedRequest as x, SessionNamespace as xt, ImportUpsertRequestSchema as y, SessionExtensionContext$1 as yt, SessionEnrichmentSchemas as z };
19881
+ export { isMergeable as $, SessionStorageSetSessionSchema as A, SessionSubjects$1 as At, compareMessageCursorDesc$1 as B, SessionStorageRebindObservedResponseSchema as C, SessionContext$1 as Ct, SessionStorageRegisterOwnedImportResponseSchema as D, SessionExtensionContext$1 as Dt, SessionStorageRegisterOwnedImportRequestSchema as E, ForkOptions$1 as Et, SessionStorageVerifyOwnerResponseSchema as F, MessageStorageNamespace$1 as G, messageToCursor$1 as H, SessionStorageVerifyOwnerResult as I, CompressionMode as J, MessageStorageSubjects$1 as K, SessionEventStorageNamespace$1 as L, SessionStorageUpdateSchema$1 as M, SessionStorageVerifyOwnerRequest as N, SessionStorageRegisterOwnedImportResult as O, SessionExtensionContextFactory as Ot, SessionStorageVerifyOwnerRequestSchema as P, isInViewBranch as Q, SessionEventStorageSubjects as R, SessionStorageRebindObservedRequestSchema as S, CacheStrategy$1 as St, SessionStorageRegisterOwnedImportRequest as T, ContextWindowState$1 as Tt, MessagePageCursor as U, messageCursorKey as V, MessagePageCursorSchema as W, BranchBehavior as X, CompressionModeSchema$1 as Y, getBranchBehavior as Z, validateLeadDesignationMutation as _, INTERACTIVE_DIALOG_TIMEOUT_MS as _t, isExtractionExcluded as a, ResolveSystemPromptRequest as at, SessionStorageNamespace$1 as b, RequestCorrelationContextSchema$1 as bt, AdapterSessionCurrencyTarget as c, ResolveAgentConfigRequest as ct, SessionOwnershipDesignationMutationCandidate as d, CONNECTOR_SWAP_CANCELLED_CODE as dt, isNavigatingBranch as et, SessionOwnershipLeadDesignationMutation as f, ConnectorSwapCancelledError as ft, isPureLeadRestoration as g, ConnectorSwapWarningOptionId as gt, isPureLeadRelinquishment as h, CONNECTOR_SWAP_WARNING_SUPPRESSED_KEY as ht, buildExtractionExclusionMetadata as i, SessionImportStatusChangedSchema as it, SessionStorageSubjects$1 as j, SessionStorageSetRequestSchema$1 as k, SessionNamespace as kt, AdapterSessionCurrencyTargetSchema as l, ResolveAgentConfigResponse as lt, isInactiveSafeLeadDesignationMutation$1 as m, CONNECTOR_SWAP_WARNING_OPTION_IDS as mt, ExtractionExclusionKey as n, SessionClientAccountChangedSchema as nt, AdapterSessionCurrencySnapshot as o, ResolveSystemPromptResponse as ot, getLeadDesignationMutationViolation as p, isConnectorSwapCancelledError as pt, SessionEnrichmentSchemas as q, ExtractionExclusionMetadata as r, SessionImportStatusChanged as rt, AdapterSessionCurrencySnapshotSchema as s, ResolveSystemPromptSchema as st, EXTRACTION_EXCLUSION_KEY as t, SessionClientAccountChanged as tt, resolveResumableAdapterSessionId$1 as u, ResolveAgentConfigSchema as ut, ImportUpsertRequest as v, UI_WARNINGS_CATEGORY as vt, SessionStorageRebindObservedResult as w, SessionContextSchema$1 as wt, SessionStorageRebindObservedRequest as x, CACHE_STRATEGIES as xt, ImportUpsertRequestSchema as y, RequestCorrelationContext$1 as yt, compareMessageCursorAsc$1 as z };