@makaio/framework 1.0.0-dev-1787670559522 → 1.0.0-dev-1787949057928

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 (527) hide show
  1. package/README.md +2 -0
  2. package/dist/.makaio-build.json +2 -2
  3. package/dist/{account-identity-DGpXd8h_.mjs → account-identity-B3vLwm9O.mjs} +1 -1
  4. package/dist/adapter-Dz1fX5Wa.mjs +1 -0
  5. package/dist/adapter-subsystem/index.d.mts +118 -76
  6. package/dist/adapter-subsystem/index.mjs +1 -1
  7. package/dist/adapters/claude/index.d.mts +5 -5
  8. package/dist/adapters/config/index.d.mts +1 -1
  9. package/dist/adapters/config/index.mjs +1 -1
  10. package/dist/adapters/index.d.mts +73 -53
  11. package/dist/adapters/index.mjs +6 -6
  12. package/dist/adapters/node.d.mts +1 -1
  13. package/dist/adapters/node.mjs +1 -1
  14. package/dist/adapters/stream-session/index.mjs +1 -1
  15. package/dist/{artifact-k3veR4Yx.mjs → artifact-Btbuib48.mjs} +1 -1
  16. package/dist/attach-error-Cb3GbeKe.mjs +1 -0
  17. package/dist/{auth-A1K_7q-8.mjs → auth-C6tVtaOX.mjs} +1 -1
  18. package/dist/{authority-state-bootstrap-YwtEImIB.mjs → authority-state-bootstrap-CLYus369.mjs} +1 -1
  19. package/dist/{automation-trigger-CuSdQwir.mjs → automation-trigger-ByjNlClm.mjs} +1 -1
  20. package/dist/bus/index.d.mts +22 -4
  21. package/dist/bus/index.mjs +1 -1
  22. package/dist/{bus-CqgrphNE.mjs → bus-D6NoBhIV.mjs} +1 -1
  23. package/dist/bus-UgFdHybD.mjs +1 -0
  24. package/dist/caller-owned-adapter-stub-C1M7FKrv.mjs +1 -0
  25. package/dist/{canonical-model-DJASlL4m.mjs → canonical-model-DXOvCaVg.mjs} +1 -1
  26. package/dist/capabilities-BUwuA7XX.mjs +1 -0
  27. package/dist/capability-j3NekkIu.mjs +1 -0
  28. package/dist/{client-BL5__WT0.mjs → client-BkznbdsO.mjs} +1 -1
  29. package/dist/clients/index.d.mts +1 -1
  30. package/dist/clients/index.mjs +1 -1
  31. package/dist/clients/managed-install.d.mts +1 -1
  32. package/dist/clients/managed-install.mjs +1 -1
  33. package/dist/code-execution/worker-entry.d.mts +21 -0
  34. package/dist/code-execution/worker-entry.mjs +1 -0
  35. package/dist/code-execution-Ckmn8OZu.mjs +1 -0
  36. package/dist/code-execution-CweDSWco.mjs +1 -0
  37. package/dist/code-execution-DqkQjKa1.mjs +1 -0
  38. package/dist/{compression-BbttSqm8.mjs → compression-CtgeVLpP.mjs} +1 -1
  39. package/dist/{config-namespace-CyzeLWSg.mjs → config-namespace-CjWvw8ij.mjs} +1 -1
  40. package/dist/{context-resolution-ya9TXKg-.d.mts → context-resolution-841T7jBI.d.mts} +1 -1
  41. package/dist/contracts/adapter/index.d.mts +3 -3
  42. package/dist/contracts/adapter/index.mjs +1 -1
  43. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  44. package/dist/contracts/artifact/index.d.mts +2 -2
  45. package/dist/contracts/artifact/index.mjs +1 -1
  46. package/dist/contracts/auth/index.d.mts +2 -2
  47. package/dist/contracts/auth/index.mjs +1 -1
  48. package/dist/contracts/automation-trigger/index.d.mts +3 -3
  49. package/dist/contracts/automation-trigger/index.mjs +1 -1
  50. package/dist/contracts/canonical-model/index.d.mts +1 -1
  51. package/dist/contracts/canonical-model/index.mjs +1 -1
  52. package/dist/contracts/capabilities/index.d.mts +1 -1
  53. package/dist/contracts/capabilities/index.mjs +1 -1
  54. package/dist/contracts/client/index.d.mts +2 -2
  55. package/dist/contracts/client/index.mjs +1 -1
  56. package/dist/contracts/code-execution/index.d.mts +2 -0
  57. package/dist/contracts/code-execution/index.mjs +1 -0
  58. package/dist/contracts/common/index.d.mts +1 -1
  59. package/dist/contracts/config/index.d.mts +1 -1
  60. package/dist/contracts/config/index.mjs +1 -1
  61. package/dist/contracts/extension/index.d.mts +5 -5
  62. package/dist/contracts/extension/index.mjs +1 -1
  63. package/dist/contracts/facet/index.d.mts +1 -1
  64. package/dist/contracts/facet/index.mjs +1 -1
  65. package/dist/contracts/harness/index.d.mts +1 -1
  66. package/dist/contracts/harness/index.mjs +1 -1
  67. package/dist/contracts/host/index.d.mts +1 -1
  68. package/dist/contracts/host/index.mjs +1 -1
  69. package/dist/contracts/index.d.mts +62 -52
  70. package/dist/contracts/index.mjs +1 -1
  71. package/dist/contracts/materialization/index.d.mts +3 -3
  72. package/dist/contracts/materialization/index.mjs +1 -1
  73. package/dist/contracts/model-registry/index.d.mts +1 -1
  74. package/dist/contracts/model-registry/index.mjs +1 -1
  75. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  76. package/dist/contracts/native-session-supervisor/index.mjs +1 -1
  77. package/dist/contracts/platform/index.d.mts +1 -1
  78. package/dist/contracts/platform/index.mjs +1 -1
  79. package/dist/contracts/provider/index.d.mts +2 -2
  80. package/dist/contracts/provider/index.mjs +1 -1
  81. package/dist/contracts/reaction/index.d.mts +1 -1
  82. package/dist/contracts/reaction/index.mjs +1 -1
  83. package/dist/contracts/session/index.d.mts +3 -3
  84. package/dist/contracts/session/index.mjs +1 -1
  85. package/dist/contracts/shared/index.d.mts +3 -3
  86. package/dist/contracts/shared/index.mjs +1 -1
  87. package/dist/contracts/skill/index.d.mts +1 -1
  88. package/dist/contracts/skill/index.mjs +1 -1
  89. package/dist/contracts/telemetry/index.d.mts +1 -1
  90. package/dist/contracts/telemetry/index.mjs +1 -1
  91. package/dist/contracts/timeout/index.d.mts +1 -1
  92. package/dist/contracts/timeout/index.mjs +1 -1
  93. package/dist/contracts/toast/index.mjs +1 -1
  94. package/dist/contracts/variant/index.d.mts +1 -1
  95. package/dist/contracts/variant/index.mjs +1 -1
  96. package/dist/contracts/worker-node/index.d.mts +1 -1
  97. package/dist/contracts/worker-node/index.mjs +1 -1
  98. package/dist/contracts/workflow/index.d.mts +2 -2
  99. package/dist/contracts/workflow/index.mjs +1 -1
  100. package/dist/{contribution-BB5bjx3f.d.mts → contribution-CUHLVLsT.d.mts} +2 -2
  101. package/dist/core/index.d.mts +25 -2
  102. package/dist/{definition-CDg-Jq1T.mjs → definition-BH4QLGLI.mjs} +1 -1
  103. package/dist/{definition-BYgHlmMw.d.mts → definition-DyGImhyi.d.mts} +1 -1
  104. package/dist/{detached-extension-handle-DKd17UB6.mjs → detached-extension-handle-D0aI0pJA.mjs} +1 -1
  105. package/dist/drizzle/0034_m_msha1388.sql +41 -0
  106. package/dist/drizzle/0035_m_mshgj6x7.sql +40 -0
  107. package/dist/drizzle/0036_m_msivwbgm.sql +1 -0
  108. package/dist/drizzle/0037_runtime_instance_incarnation_counter.sql +6 -0
  109. package/dist/drizzle/meta/_journal.json +28 -0
  110. package/dist/event-B8ELuk6k.mjs +1 -0
  111. package/dist/{execution-attempt-repository-DFyAnchJ.d.mts → execution-attempt-repository-BJ2W6wwx.d.mts} +1 -1
  112. package/dist/{execution-target-ByNwZh5-.mjs → execution-target-H0RWV7Py.mjs} +1 -1
  113. package/dist/{extension-DUmibvMk.mjs → extension-Bfkr2DBs.mjs} +1 -1
  114. package/dist/{extension-DMdmj9gi.mjs → extension-Cz39YNXy.mjs} +1 -1
  115. package/dist/{extension-discovery-Fhps4icD.d.mts → extension-discovery-Dhu3WplO.d.mts} +9 -1
  116. package/dist/{filesystem-service-FAtd9gWH.mjs → filesystem-service-CiUw0YN5.mjs} +1 -1
  117. package/dist/framework-packages-BHgul8Kl.mjs +1 -0
  118. package/dist/git/index.mjs +2 -2
  119. package/dist/{globby-BBLuT_vy.mjs → globby-QBDqstzq.mjs} +1 -1
  120. package/dist/handlers-BsHAFtye.mjs +57 -0
  121. package/dist/{harness-KxbWGL4I.mjs → harness-YQ2ewID9.mjs} +1 -1
  122. package/dist/{hook-responses-uCXAICTU.d.mts → hook-responses-9Ywsqzzq.d.mts} +1 -1
  123. package/dist/identity-OjRlG6dZ.mjs +1 -0
  124. package/dist/{index-CfiCJPP6.d.mts → index-B0VO0rAl.d.mts} +1 -1
  125. package/dist/{index-DI7-tIL3.d.mts → index-B0yMCJW8.d.mts} +39 -14
  126. package/dist/{index-CER64zYO.d.mts → index-B9io6JAL.d.mts} +15 -15
  127. package/dist/{index-CqQYgsbB.d.mts → index-BNzUyVwV.d.mts} +513 -170
  128. package/dist/{index-1UcQWrZy.d.mts → index-BUwDmh1I.d.mts} +142 -142
  129. package/dist/{index-CM75k-Ff.d.mts → index-BkbnC65b.d.mts} +189 -17
  130. package/dist/index-Bqk0pJBQ2.d.mts +138 -0
  131. package/dist/{index-C-JzEkqs.d.mts → index-C146Eq_J.d.mts} +535 -1801
  132. package/dist/{index-C__EQfKa.d.mts → index-CIEycZrt.d.mts} +1 -1
  133. package/dist/{index-DxYDRoDE2.d.mts → index-CMekqu_D.d.mts} +28 -8
  134. package/dist/{index-nydhGvXa.d.mts → index-CPRQ4dWX.d.mts} +0 -23
  135. package/dist/{index-BSQ30wYP.d.mts → index-CPi0UpRh.d.mts} +1 -1
  136. package/dist/{index-BtdK8HeH.d.mts → index-CVNbBtA-.d.mts} +72 -197
  137. package/dist/{index-BMVZs6pm.d.mts → index-CYjgoYeX.d.mts} +3 -3
  138. package/dist/{index-CSN_0sCo.d.mts → index-CmwAJ8-5.d.mts} +1 -1
  139. package/dist/index-Cny5RvjO.d.mts +800 -0
  140. package/dist/{index-B0xJgTi-.d.mts → index-D8D-yibS2.d.mts} +4 -4
  141. package/dist/index-DHnSLGP4.d.mts +268 -0
  142. package/dist/index-DQ8o3JGi.d.mts +132 -0
  143. package/dist/index-DWBkiiXH.d.mts +18 -0
  144. package/dist/{index-cPqSpWQC.d.mts → index-DfUpqwBa2.d.mts} +16 -16
  145. package/dist/index-Dg11JxKZ.d.mts +496 -0
  146. package/dist/{index-Bl7KWFod.d.mts → index-NUByQvlg.d.mts} +15 -15
  147. package/dist/{index-e4Txan9i.d.mts → index-cLB38AWX.d.mts} +64 -64
  148. package/dist/json-value-BBZ6uGwc.mjs +1 -0
  149. package/dist/json-value-DPqb-SJ8.d.mts +177 -0
  150. package/dist/kernel/cli/index.d.mts +2 -2
  151. package/dist/kernel/cli/index.mjs +1 -1
  152. package/dist/kernel/cli/register.d.mts +1 -1
  153. package/dist/kernel/cli/register.mjs +1 -1
  154. package/dist/kernel/cli/schemas.mjs +1 -1
  155. package/dist/kernel/extension/index.d.mts +1 -1
  156. package/dist/kernel/extension/index.mjs +1 -1
  157. package/dist/kernel/index.d.mts +5 -5
  158. package/dist/kernel/index.mjs +1 -1
  159. package/dist/kernel/namespace/index.d.mts +1 -1
  160. package/dist/kernel/namespace/index.mjs +1 -1
  161. package/dist/kernel/observability/index.d.mts +1 -1
  162. package/dist/kernel/observability/index.mjs +1 -1
  163. package/dist/kernel/providers/index.d.mts +1 -1
  164. package/dist/kernel/providers/index.mjs +1 -1
  165. package/dist/kernel/window/index.d.mts +1 -1
  166. package/dist/kernel/window/index.mjs +1 -1
  167. package/dist/{lib-CnOAtohU.mjs → lib-BpGvHZye.mjs} +2 -2
  168. package/dist/{lib-B_rJ6r0T.mjs → lib-Cm-uEoC1.mjs} +1 -1
  169. package/dist/{load-extensions-DUpaMQ7G.d.mts → load-extensions-BQoXaHhR.d.mts} +1 -1
  170. package/dist/{load-extensions-CW9uzNR5.mjs → load-extensions-DG5LvPyM.mjs} +1 -1
  171. package/dist/{materialization-CcpCDhXh.mjs → materialization-lVd9_-jr.mjs} +1 -1
  172. package/dist/mcp-http-server/index.mjs +1 -1
  173. package/dist/model-DrzPt3ou.mjs +1 -0
  174. package/dist/{namespace-B7bntOB8.mjs → namespace-BL7lHlmg.mjs} +1 -1
  175. package/dist/{namespace-BgEiY7r1.d.mts → namespace-BNp7n_gu.d.mts} +3 -3
  176. package/dist/{namespace-DSlfFhB1.d.mts → namespace-BRuHzhPo.d.mts} +154 -2
  177. package/dist/{namespace-ChnRTUG4.d.mts → namespace-C06lJSuj.d.mts} +6 -6
  178. package/dist/{namespace-C6CVEGH8.d.mts → namespace-DknCutQZ.d.mts} +50 -0
  179. package/dist/namespace-sCPb79-7.mjs +1 -0
  180. package/dist/{native-session-supervisor-fZYPUk0-.mjs → native-session-supervisor-LKio8XZn.mjs} +1 -1
  181. package/dist/node/bus-server/index.d.mts +1 -1
  182. package/dist/node/bus-server/index.mjs +1 -1
  183. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  184. package/dist/node/bus-server/server-lifecycle.mjs +1 -1
  185. package/dist/npm-package-name-DuTYVICk.mjs +1 -0
  186. package/dist/orchestrator-shared-BGlN-m-V.mjs +1 -0
  187. package/dist/{orchestrator-shared-B-KRW1Z0.d.mts → orchestrator-shared-CNHSImNY.d.mts} +9 -10
  188. package/dist/ownership-memory-handler-BpGdR_uG.mjs +1 -0
  189. package/dist/ownership-recovery-guard-DyW5vGBr.mjs +1 -0
  190. package/dist/{package-ypz4rKvn.mjs → package-B01gmu75.mjs} +1 -1
  191. package/dist/{package-Bf3hyuzs.d.mts → package-BNFTUFLB.d.mts} +2 -2
  192. package/dist/package-DttKA9wN.mjs +1 -0
  193. package/dist/{package-CddkNbZI.mjs → package-JtjbO-Oi.mjs} +1 -1
  194. package/dist/package.json +1 -1
  195. package/dist/{profile-BtznZlq3.mjs → profile-N5qGUpF0.mjs} +1 -1
  196. package/dist/{provider-context-Dh-VOOYF.mjs → provider-context-CG42JlP9.mjs} +1 -1
  197. package/dist/{provider-context-BrLZYnDW.mjs → provider-context-zTDSH2x9.mjs} +1 -1
  198. package/dist/{reaction-BS0k4eNN.mjs → reaction-D3TNwPK8.mjs} +1 -1
  199. package/dist/{registry-BO_bOoky.mjs → registry-Dk12tAfv.mjs} +1 -1
  200. package/dist/{resolved-DMByz1_2.mjs → resolved-sq8RXNDf.mjs} +1 -1
  201. package/dist/rules/index.d.mts +1 -1
  202. package/dist/rules/index.mjs +1 -1
  203. package/dist/rules/schemas.d.mts +1 -1
  204. package/dist/rules/schemas.mjs +1 -1
  205. package/dist/runtime-bun/index.mjs +1 -1
  206. package/dist/runtime-node/code-execution/index.d.mts +3 -0
  207. package/dist/runtime-node/code-execution/index.mjs +1 -0
  208. package/dist/runtime-node/extension-discovery.d.mts +2 -2
  209. package/dist/runtime-node/extension-discovery.mjs +1 -1
  210. package/dist/runtime-node/extension-validation.d.mts +1 -1
  211. package/dist/runtime-node/extension-validation.mjs +1 -1
  212. package/dist/runtime-node/index.d.mts +6 -4
  213. package/dist/runtime-node/index.mjs +24 -24
  214. package/dist/runtime-node/makaio-config.d.mts +1 -1
  215. package/dist/runtime-node/makaio-config.mjs +1 -1
  216. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  217. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  218. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  219. package/dist/{schema-DKTzriEY.d.mts → schema-B3Pf7JP7.d.mts} +250 -3
  220. package/dist/{schema-DBG7Jq5_.mjs → schema-Dq-7si8u.mjs} +1 -1
  221. package/dist/{schemas-DvMbcABQ.d.mts → schemas-BAv9RB9M.d.mts} +4 -4
  222. package/dist/{schemas-DSkBOdx_.mjs → schemas-BfO5jkrL.mjs} +1 -1
  223. package/dist/{schemas-B7zo7Zcx.d.mts → schemas-C1mxTfd7.d.mts} +60 -4
  224. package/dist/schemas-C3kyQWGf.mjs +1 -0
  225. package/dist/{schemas-B3bfVYcL.d.mts → schemas-CF8QwRqt.d.mts} +2 -0
  226. package/dist/{schemas-DZH9lpxs.d.mts → schemas-OWvBn7AH.d.mts} +4 -4
  227. package/dist/{schemas-CsjN7cmM.mjs → schemas-QWDnauKX.mjs} +1 -1
  228. package/dist/schemas-TK29KWx-.mjs +1 -0
  229. package/dist/schemas-_2Syo_01.mjs +1 -0
  230. package/dist/scoped-bus-DoPmCJeM.mjs +1 -0
  231. package/dist/{selection-7Ku8DBnh.mjs → selection-DL3ric7K.mjs} +1 -1
  232. package/dist/services/adapter-runtime/index.d.mts +4 -4
  233. package/dist/services/adapter-runtime/index.mjs +1 -1
  234. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  235. package/dist/services/adapter-runtime/schemas.d.mts +2 -2
  236. package/dist/services/adapter-runtime/schemas.mjs +1 -1
  237. package/dist/services/adapter-subsystem/index.d.mts +3 -3
  238. package/dist/services/adapter-subsystem/index.mjs +1 -1
  239. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  240. package/dist/services/adapter-subsystem/namespace.mjs +1 -1
  241. package/dist/services/agent-runtime/index.d.mts +2 -2
  242. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  243. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  244. package/dist/services/automation-trigger/index.mjs +1 -1
  245. package/dist/services/capability/index.d.mts +3 -2
  246. package/dist/services/capability/index.mjs +1 -1
  247. package/dist/services/code-execution/index.d.mts +2 -0
  248. package/dist/services/code-execution/index.mjs +1 -0
  249. package/dist/services/codebase/index.d.mts +2 -2
  250. package/dist/services/codebase/namespace.d.mts +1 -1
  251. package/dist/services/codebase/schemas.d.mts +1 -1
  252. package/dist/services/compression/index.d.mts +2 -2
  253. package/dist/services/compression/namespace.d.mts +1 -1
  254. package/dist/services/compression/schemas.d.mts +1 -1
  255. package/dist/services/context-rules/index.d.mts +1 -1
  256. package/dist/services/context-rules/index.mjs +1 -1
  257. package/dist/services/execution-target/index.d.mts +3 -3
  258. package/dist/services/execution-target/index.mjs +1 -1
  259. package/dist/services/execution-target/namespace.d.mts +1 -1
  260. package/dist/services/execution-target/namespace.mjs +1 -1
  261. package/dist/services/execution-target/schemas.d.mts +1 -1
  262. package/dist/services/execution-target/schemas.mjs +1 -1
  263. package/dist/services/filesystem/index.d.mts +1 -1
  264. package/dist/services/filesystem/index.mjs +1 -1
  265. package/dist/services/filesystem/namespace.d.mts +6 -6
  266. package/dist/services/filesystem/schemas.d.mts +3 -3
  267. package/dist/services/git/namespace.d.mts +18 -0
  268. package/dist/services/git/namespace.mjs +1 -1
  269. package/dist/services/git/schemas.d.mts +10 -1
  270. package/dist/services/git/schemas.mjs +1 -1
  271. package/dist/services/harness/index.mjs +1 -1
  272. package/dist/services/index.d.mts +160 -60
  273. package/dist/services/index.mjs +1 -1
  274. package/dist/services/log-import/browser.d.mts +2 -2
  275. package/dist/services/log-import/index.d.mts +2 -2
  276. package/dist/services/log-import/log-import.d.mts +1 -1
  277. package/dist/services/log-import/log-import.mjs +1 -1
  278. package/dist/services/log-import/namespace.mjs +1 -1
  279. package/dist/services/log-import/schemas.mjs +1 -1
  280. package/dist/services/materialization/index.d.mts +1 -1
  281. package/dist/services/materialization/index.mjs +1 -1
  282. package/dist/services/model-registry/index.d.mts +1 -1
  283. package/dist/services/model-registry/index.mjs +1 -1
  284. package/dist/services/preferences/index.d.mts +2 -2
  285. package/dist/services/preferences/schemas.d.mts +1 -1
  286. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  287. package/dist/services/provider-context/index.d.mts +1 -1
  288. package/dist/services/provider-context/index.mjs +1 -1
  289. package/dist/services/provider-runtime/index.mjs +1 -1
  290. package/dist/services/session/handlers/index.d.mts +1 -1
  291. package/dist/services/session/handlers/index.mjs +1 -1
  292. package/dist/services/session/index.d.mts +10 -10
  293. package/dist/services/session/index.mjs +1 -1
  294. package/dist/services/session/messages/namespace.d.mts +1 -1
  295. package/dist/services/session/messages/namespace.mjs +1 -1
  296. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  297. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  298. package/dist/services/session/session-events/namespace.d.mts +1 -1
  299. package/dist/services/session/session-events/namespace.mjs +1 -1
  300. package/dist/services/session/storage/namespace.d.mts +1 -1
  301. package/dist/services/session/storage/schema.d.mts +2 -2
  302. package/dist/services/session/storage/schema.mjs +1 -1
  303. package/dist/services/session/testing/index.d.mts +22 -1
  304. package/dist/services/session/testing/index.mjs +38 -14
  305. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  306. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  307. package/dist/services/session/turns/namespace.d.mts +1 -1
  308. package/dist/services/session/turns/namespace.mjs +1 -1
  309. package/dist/services/session-editor/index.d.mts +1 -1
  310. package/dist/services/session-editor/index.mjs +1 -1
  311. package/dist/services/settings/index.d.mts +3 -3
  312. package/dist/services/settings/index.mjs +1 -1
  313. package/dist/services/settings/namespace.d.mts +4 -4
  314. package/dist/services/settings/namespace.mjs +1 -1
  315. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  316. package/dist/services/settings/storage/clients-namespace.mjs +1 -1
  317. package/dist/services/settings/storage/index.d.mts +3 -3
  318. package/dist/services/settings/storage/index.mjs +1 -1
  319. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  320. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  321. package/dist/services/subagent/index.d.mts +1 -1
  322. package/dist/services/subagent/index.mjs +1 -1
  323. package/dist/services/subagent-template/index.d.mts +2 -2
  324. package/dist/services/subagent-template/namespace.d.mts +1 -1
  325. package/dist/services/subagent-template/schemas.d.mts +1 -1
  326. package/dist/services/tool-approval/index.d.mts +1 -1
  327. package/dist/services/tool-approval/index.mjs +1 -1
  328. package/dist/services/tools/index.d.mts +1 -1
  329. package/dist/services/tools/index.mjs +1 -1
  330. package/dist/services/tray-menu/index.d.mts +3 -3
  331. package/dist/services/tray-menu/index.mjs +1 -1
  332. package/dist/services/tray-menu/namespace.d.mts +1 -1
  333. package/dist/services/tray-menu/schemas.d.mts +1 -1
  334. package/dist/services/turn/index.d.mts +1 -1
  335. package/dist/services/turn/namespace.d.mts +1 -1
  336. package/dist/services/workflow-transitions/index.d.mts +1 -1
  337. package/dist/services/workflow-transitions/index.mjs +1 -1
  338. package/dist/session-BOpTI79g.mjs +1 -0
  339. package/dist/session-CXOPk3yg.mjs +95 -0
  340. package/dist/{shared-BFVuCDPx.mjs → shared-B9AWRm9A.mjs} +1 -1
  341. package/dist/{skill-C1D51nhh.mjs → skill-DGNtc_ww.mjs} +1 -1
  342. package/dist/{src-xbmzokNe.mjs → src-BmSQ3rlz.mjs} +1 -1
  343. package/dist/storage/drizzle/client.d.mts +1 -1
  344. package/dist/storage/drizzle/client.mjs +1 -1
  345. package/dist/storage/drizzle/index.d.mts +41 -2
  346. package/dist/storage/drizzle/index.mjs +1 -1
  347. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  348. package/dist/storage/handlers/drizzle/index.mjs +1 -1
  349. package/dist/storage/handlers/index.d.mts +1 -1
  350. package/dist/storage/handlers/index.mjs +1 -1
  351. package/dist/tool-approval-service-BFDOFUGC.mjs +1 -0
  352. package/dist/{tools-DxwHox1a.mjs → tools-DWKWX3eV.mjs} +1 -1
  353. package/dist/{transition-C_Ka6b0-.d.mts → transition-D3zUBTPc.d.mts} +6 -6
  354. package/dist/{types-BNjPhj_a.d.mts → types-CtDGkyLx2.d.mts} +1 -1
  355. package/dist/types-Cwza95hS.mjs +1 -0
  356. package/dist/{types-CwvN4uN2.d.mts → types-DcxBYlPA.d.mts} +3018 -38
  357. package/dist/types-DnK6Wa_Y.d.mts +260 -0
  358. package/dist/{types-ClpEaoAm.d.mts → types-OKJCOjme.d.mts} +24 -4
  359. package/dist/ui-kernel/index.d.mts +1 -1
  360. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  361. package/dist/utils/index.d.mts +22 -1
  362. package/dist/utils/index.mjs +2 -2
  363. package/dist/utils/project-manifest.mjs +1 -1
  364. package/dist/{version-BfNnVAGr.mjs → version-BYeVh1pI.mjs} +1 -1
  365. package/dist/{view-builder-KYsPqV-5.d.mts → view-builder-B0j9p5C0.d.mts} +4 -4
  366. package/dist/{visibility-Dl1o2I01.mjs → visibility-DtDLRBdr.mjs} +1 -1
  367. package/dist/worker-node-CjuQb9hl.mjs +1 -0
  368. package/dist/{worker-node-DJ41Tr-F.mjs → worker-node-Dtf9ilsR.mjs} +1 -1
  369. package/dist/workflow-C4mck_NW.mjs +1 -0
  370. package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
  371. package/dist/workflow-engine/index.d.mts +88 -88
  372. package/dist/workflow-engine/index.mjs +1 -1
  373. package/dist/workflow-engine/package.d.mts +1 -1
  374. package/dist/workflow-engine/package.mjs +1 -1
  375. package/dist/workflow-engine/provider-operation.d.mts +1 -1
  376. package/dist/workflow-engine/testing/index.d.mts +2 -2
  377. package/dist/workflow-engine/testing/index.mjs +1 -1
  378. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  379. package/dist/workflow-engine/testing/sqlite.mjs +1 -1
  380. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  381. package/dist/{workflow-transitions-DM0fN_eP.mjs → workflow-transitions-c_VQbyV0.mjs} +1 -1
  382. package/dist/workflow-worker-aNbdgqml.mjs +1 -0
  383. package/package.json +18 -1
  384. package/dist/adapter-BkdJaOOG.mjs +0 -1
  385. package/dist/agent-namespace-D51PODFf.mjs +0 -1
  386. package/dist/attach-error-BSlc7JfL.mjs +0 -1
  387. package/dist/bus-BIj0_aG6.mjs +0 -1
  388. package/dist/capabilities-Bqckjh7G.mjs +0 -1
  389. package/dist/capability-service-CJHNkjvm.mjs +0 -1
  390. package/dist/event-DR8U9Efx.mjs +0 -1
  391. package/dist/framework-packages-D_2hBZ-p.mjs +0 -1
  392. package/dist/handlers-2yd00VEq.mjs +0 -57
  393. package/dist/identity-DC3Pk0ps.mjs +0 -1
  394. package/dist/index-OsbtyMgx2.d.mts +0 -98
  395. package/dist/json-value-C1RGgS0a.d.mts +0 -72
  396. package/dist/json-value-D57aJhVn.mjs +0 -1
  397. package/dist/model-ZH3L1dPW.mjs +0 -1
  398. package/dist/namespace-CxrOLeeP.mjs +0 -1
  399. package/dist/orchestrator-shared-CTCZc6Vl.mjs +0 -1
  400. package/dist/ownership-memory-handler-Bblp93YC.mjs +0 -1
  401. package/dist/schemas-BqD8LlQw.mjs +0 -1
  402. package/dist/schemas-CvHFbzdy.mjs +0 -1
  403. package/dist/schemas-DplrlAyR.mjs +0 -1
  404. package/dist/scoped-bus-ClwTWqX8.mjs +0 -1
  405. package/dist/session-BMy2kRpX.mjs +0 -90
  406. package/dist/session-Cipx34j6.mjs +0 -1
  407. package/dist/tool-approval-service-BVgN9Q1r.mjs +0 -1
  408. package/dist/worker-node-BDOYPEpi.mjs +0 -1
  409. package/dist/workflow-Hzc5jlnV.mjs +0 -1
  410. package/dist/workflow-worker-DARC7UZl.mjs +0 -1
  411. /package/dist/{adapter-auth-runtime-D9Lnl7cc.mjs → adapter-auth-runtime-DHHppU4f.mjs} +0 -0
  412. /package/dist/{adapter-binding-B-FBoCys.d.mts → adapter-binding-CATvmGuz.d.mts} +0 -0
  413. /package/dist/{ajv-L5fKxaia.mjs → ajv-krzJXh1X.mjs} +0 -0
  414. /package/dist/{attempt-record-codec-DaFLKR5C.mjs → attempt-record-codec-BYfYkj4M.mjs} +0 -0
  415. /package/dist/{await-trigger-ph1S0zVI.mjs → await-trigger-Bkg2BQfg.mjs} +0 -0
  416. /package/dist/{base-orchestrator-D9u4NyiM.d.mts → base-orchestrator-B4YW6z_Q.d.mts} +0 -0
  417. /package/dist/{index-Ol9RBB0W2.d.mts → capability-service-BW1-teFU.d.mts} +0 -0
  418. /package/dist/{client-4ihewPUm.d.mts → client-BG0WX5Vz.d.mts} +0 -0
  419. /package/dist/{client-binary-version-verifier-DJajc_Ff.mjs → client-binary-version-verifier-0lCKZOTg.mjs} +0 -0
  420. /package/dist/{client-binary-version-verifier-jDDZ64Ah.d.mts → client-binary-version-verifier-lcv83Hq3.d.mts} +0 -0
  421. /package/dist/{clients-namespace-DFWuUawf.d.mts → clients-namespace-DLAjOTTb.d.mts} +0 -0
  422. /package/dist/{config-namespace-D1kyZj0B.d.mts → config-namespace-CH7sJZ4f.d.mts} +0 -0
  423. /package/dist/{create-static-mount-9tnGpIeK.mjs → create-static-mount-DxuixuLZ.mjs} +0 -0
  424. /package/dist/{cross-spawn-BIgueAqr.mjs → cross-spawn-CZygZJMH.mjs} +0 -0
  425. /package/dist/{cursor-storage-ROWfiTh1.mjs → cursor-storage-bsc9lZKk.mjs} +0 -0
  426. /package/dist/{definition-DB-kKc0d.d.mts → definition-BrgzUuFk.d.mts} +0 -0
  427. /package/dist/{definitions-CF6YmEhL.mjs → definitions-CRpdnHYM.mjs} +0 -0
  428. /package/dist/{descriptor-to-package-BecVCopf.mjs → descriptor-to-package-CcjdoWP4.mjs} +0 -0
  429. /package/dist/{drizzle-CPv3vdTE.mjs → drizzle-Bzc-OGVI.mjs} +0 -0
  430. /package/dist/{esm-CBFWM8u_.mjs → esm-i-S5TW72.mjs} +0 -0
  431. /package/dist/{extension-context-DzB7ydM3.d.mts → extension-context-QmFuHdq5.d.mts} +0 -0
  432. /package/dist/{extension-namespace-B554RmCp.mjs → extension-namespace-QoTTwKPt.mjs} +0 -0
  433. /package/dist/{extension-package-provenance-Dh_-Z-tE.mjs → extension-package-provenance-aYrZuS4W.mjs} +0 -0
  434. /package/dist/{facet-DVsW12iF.mjs → facet-BnMh7Jyc.mjs} +0 -0
  435. /package/dist/{filesystem-service-Cm2RHKBa.d.mts → filesystem-service-ZJ43SbBi.d.mts} +0 -0
  436. /package/dist/{handler-Bqlk-6BY.mjs → handler-DF1fVDpf.mjs} +0 -0
  437. /package/dist/{host-k5yoyKHg.mjs → host-B-_ntOMH.mjs} +0 -0
  438. /package/dist/{index--atUpi5l2.d.mts → index-8NdPPzUh2.d.mts} +0 -0
  439. /package/dist/{index-DwLRZscE.d.mts → index-8y4hT9WL.d.mts} +0 -0
  440. /package/dist/{index-C7HcDpHE.d.mts → index-B-3I98nw.d.mts} +0 -0
  441. /package/dist/{index-BcvqDfcN.d.mts → index-B2Y1Wvbh.d.mts} +0 -0
  442. /package/dist/{index-BRCrFirq.d.mts → index-B4svZC6L.d.mts} +0 -0
  443. /package/dist/{index-CQuRTeRa.d.mts → index-B5dP8rj6.d.mts} +0 -0
  444. /package/dist/{index-CRmE88hi.d.mts → index-BC-6qNeo.d.mts} +0 -0
  445. /package/dist/{index-CxSSdIZz.d.mts → index-BFWvT0NG.d.mts} +0 -0
  446. /package/dist/{index-DP3o_13U.d.mts → index-BM56936c.d.mts} +0 -0
  447. /package/dist/{index-BVcQcphK.d.mts → index-BMRB9yhF.d.mts} +0 -0
  448. /package/dist/{index-bIe_57cL.d.mts → index-BTEJfzjE.d.mts} +0 -0
  449. /package/dist/{index-DgOfgjx3.d.mts → index-BfV8U4XX.d.mts} +0 -0
  450. /package/dist/{index-DBadVauL.d.mts → index-BmevAPME2.d.mts} +0 -0
  451. /package/dist/{index-OADt3xlS.d.mts → index-BuMsrli0.d.mts} +0 -0
  452. /package/dist/{index-BJAB-BW_.d.mts → index-C4V8Pmi4.d.mts} +0 -0
  453. /package/dist/{index-aoxdnhJ42.d.mts → index-CL0Jo1b92.d.mts} +0 -0
  454. /package/dist/{index-CvW9_SzR.d.mts → index-CVpaGijY.d.mts} +0 -0
  455. /package/dist/{index-E4SET1AA.d.mts → index-CmbkCxj-.d.mts} +0 -0
  456. /package/dist/{index-BgGe9WZz.d.mts → index-CqdMbYmR.d.mts} +0 -0
  457. /package/dist/{index-BQprJNA_.d.mts → index-D037TVsm.d.mts} +0 -0
  458. /package/dist/{index-BeENojSx2.d.mts → index-DgspOUa72.d.mts} +0 -0
  459. /package/dist/{index-42UdYStR.d.mts → index-Ek4y8M9J2.d.mts} +0 -0
  460. /package/dist/{index-Beo_Ik8-.d.mts → index-VzLAV0Yt.d.mts} +0 -0
  461. /package/dist/{index-BSbGB23v.d.mts → index-jxPncqWZ2.d.mts} +0 -0
  462. /package/dist/{index-Bqm0ahTQ.d.mts → index-kzIjbrS02.d.mts} +0 -0
  463. /package/dist/{index-BJMezANn.d.mts → index-l01zsChf.d.mts} +0 -0
  464. /package/dist/{index-CK3f0bAL.d.mts → index-pvX-BIpr2.d.mts} +0 -0
  465. /package/dist/{jsonl-transport-Bp_6pB2a.mjs → jsonl-transport-Cyyh5Wje.mjs} +0 -0
  466. /package/dist/{lib-Bwdd2m81.mjs → lib-BqV8hYtk.mjs} +0 -0
  467. /package/dist/{model-registry-yURX738J.mjs → model-registry-C9rFu3kV.mjs} +0 -0
  468. /package/dist/{model-registry-Y854mUml.mjs → model-registry-Cixxx2jv.mjs} +0 -0
  469. /package/dist/{modes-DmUsjHdV.mjs → modes-DwsJ3yVl.mjs} +0 -0
  470. /package/dist/{namespace-ByP1Iipi.d.mts → namespace-B0ftHlK3.d.mts} +0 -0
  471. /package/dist/{namespace-C1D77w7U.d.mts → namespace-BGRHcrmp.d.mts} +0 -0
  472. /package/dist/{namespace-Bi3CmYQy.d.mts → namespace-BUYDmd0r.d.mts} +0 -0
  473. /package/dist/{namespace-CkBbNFSU.mjs → namespace-BW3Bfu9h.mjs} +0 -0
  474. /package/dist/{namespace-DX1Ec15L.d.mts → namespace-BdAK0lD8.d.mts} +0 -0
  475. /package/dist/{namespace-Dgg0uoe6.d.mts → namespace-CPG6u60N.d.mts} +0 -0
  476. /package/dist/{namespace-BusZERU8.d.mts → namespace-CVFaZv8x.d.mts} +0 -0
  477. /package/dist/{namespace-yREpGJgG.d.mts → namespace-DBO1OzYB.d.mts} +0 -0
  478. /package/dist/{namespace-CrDlawqu.d.mts → namespace-DOezqDti.d.mts} +0 -0
  479. /package/dist/{namespace-CfIW0hpQ.mjs → namespace-DiwqpB-c.mjs} +0 -0
  480. /package/dist/{namespace-s2y_NFKf.d.mts → namespace-DqZweTbX.d.mts} +0 -0
  481. /package/dist/{namespace-CFjdyNXG.mjs → namespace-Du0accdE.mjs} +0 -0
  482. /package/dist/{namespace-BFqkUTJp.mjs → namespace-NXm_zvL1.mjs} +0 -0
  483. /package/dist/{namespace-B9FEGuEu.mjs → namespace-jVTsuZHX.mjs} +0 -0
  484. /package/dist/{namespace-DwZwGXgF.d.mts → namespace-l-HG1rLF.d.mts} +0 -0
  485. /package/dist/{namespace-DbNWsPFY.mjs → namespace-tjoxekmf.mjs} +0 -0
  486. /package/dist/{out-DrhwCgqM.mjs → out-8bOYN6EF.mjs} +0 -0
  487. /package/dist/{package-CBdvjyyZ.mjs → package-EGTn-Ng1.mjs} +0 -0
  488. /package/dist/{packages-FBv3fAOR.mjs → packages-Bp124-gx.mjs} +0 -0
  489. /package/dist/{packages-N3-2Kl-Y.d.mts → packages-CxPMEg8D.d.mts} +0 -0
  490. /package/dist/{platform-BrsMv_S3.mjs → platform-CxyYPrkf.mjs} +0 -0
  491. /package/dist/{provider-operation-DJ_TLZFf.d.mts → provider-operation-DbdyFwNm.d.mts} +0 -0
  492. /package/dist/{providers-CCcn4Ndp.mjs → providers-C-eekMxD.mjs} +0 -0
  493. /package/dist/{providers-namespace-DeJBh6MP.d.mts → providers-namespace-CfZKp-C0.d.mts} +0 -0
  494. /package/dist/{quick-lru-uwB0hP-y.mjs → quick-lru-CCEnf7y6.mjs} +0 -0
  495. /package/dist/{schema-jIapW8Kb.mjs → schema-C0opCPww.mjs} +0 -0
  496. /package/dist/{schema-introspection-C1wvklj9.mjs → schema-introspection-6-r_KEJQ.mjs} +0 -0
  497. /package/dist/{schemas-CeUI2i5j.d.mts → schemas-B50oWBuj.d.mts} +0 -0
  498. /package/dist/{schemas-CD0wOQxx.d.mts → schemas-B6Q-qdmn.d.mts} +0 -0
  499. /package/dist/{schemas-DgwEVUt-.mjs → schemas-B8hKbBwI.mjs} +0 -0
  500. /package/dist/{schemas-sMoRnBdZ.d.mts → schemas-BGvkTiCx.d.mts} +0 -0
  501. /package/dist/{schemas-BNdiVBWh.mjs → schemas-BivbWRkG.mjs} +0 -0
  502. /package/dist/{schemas-Cg-Kwp8c.d.mts → schemas-ChmQldVH.d.mts} +0 -0
  503. /package/dist/{schemas-VbB1FTxx.d.mts → schemas-D7ScxLrf.d.mts} +0 -0
  504. /package/dist/{schemas-Cv3rR9Sz.d.mts → schemas-Pe892GgN.d.mts} +0 -0
  505. /package/dist/{schemas-qA279_j_.d.mts → schemas-bfZNpl0B.d.mts} +0 -0
  506. /package/dist/{schemas-mLpOfMoN.mjs → schemas-scyC2tFF.mjs} +0 -0
  507. /package/dist/{semver-DTXuyLcK.mjs → semver-BI7kTNsY.mjs} +0 -0
  508. /package/dist/{server-lifecycle-DKx_fWlq.mjs → server-lifecycle-B_OZnoe-.mjs} +0 -0
  509. /package/dist/{server-lifecycle-C_8iKgat.d.mts → server-lifecycle-L8zja8t8.d.mts} +0 -0
  510. /package/dist/{session-lineage-D5E142LU.d.mts → session-lineage-bUkd3fqx.d.mts} +0 -0
  511. /package/dist/{shared-schemas-aahW97QW.mjs → shared-schemas-CQ6blrEW.mjs} +0 -0
  512. /package/dist/{src-DHqsl5Pg.mjs → src-BacfeiI4.mjs} +0 -0
  513. /package/dist/{storage-namespace-Dz2jsssp.mjs → storage-namespace-BZce8kkW.mjs} +0 -0
  514. /package/dist/{storage-namespace-Tf3P5yJ5.d.mts → storage-namespace-YmE8XCCL.d.mts} +0 -0
  515. /package/dist/{storage-namespace-definition-CDef0E20.mjs → storage-namespace-definition-Cca-zwXU.mjs} +0 -0
  516. /package/dist/{supports-color-i7OTnKcZ.mjs → supports-color-SV_FgSN2.mjs} +0 -0
  517. /package/dist/{telemetry-BvCBUjFg.mjs → telemetry-BqoC87F-.mjs} +0 -0
  518. /package/dist/{timeout-B0nYjLc8.mjs → timeout-DVlN2Zhy.mjs} +0 -0
  519. /package/dist/{tray-menu-service-Deo6yyP8.mjs → tray-menu-service-eVVxgPLc.mjs} +0 -0
  520. /package/dist/{types-xCdGghb2.d.mts → types-BlB23n4f.d.mts} +0 -0
  521. /package/dist/{types-CNS55jvt.d.mts → types-DdpSEmTO.d.mts} +0 -0
  522. /package/dist/{types-Ce6LL25v.d.mts → types-tyv0B605.d.mts} +0 -0
  523. /package/dist/{ui-config-BIyGzMNL.mjs → ui-config-B35GloSX.mjs} +0 -0
  524. /package/dist/{variant-B4uWdxW7.mjs → variant-Dwnge3J_.mjs} +0 -0
  525. /package/dist/{window-registry-CoBJq3u4.mjs → window-registry-CKiMJjId.mjs} +0 -0
  526. /package/dist/{window-registry-BLtVx3Iw.d.mts → window-registry-Pcf35cac.d.mts} +0 -0
  527. /package/dist/{zod-json-schema-BAGAFfCN.mjs → zod-json-schema-Dixc-B1T.mjs} +0 -0
@@ -118,7 +118,7 @@ declare const ArtifactViewResolveResponseSchema: z.ZodDiscriminatedUnion<[z.ZodO
118
118
  }, z.core.$strip>, z.ZodObject<{
119
119
  type: z.ZodLiteral<"raw">;
120
120
  title: z.ZodString;
121
- json: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
121
+ json: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
122
122
  }, z.core.$strip>, z.ZodObject<{
123
123
  type: z.ZodLiteral<"code">;
124
124
  title: z.ZodString;
@@ -367,7 +367,7 @@ declare const MaterializationSchemas: {
367
367
  }, z.core.$strip>, z.ZodObject<{
368
368
  type: z.ZodLiteral<"raw">;
369
369
  title: z.ZodString;
370
- json: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
370
+ json: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
371
371
  }, z.core.$strip>, z.ZodObject<{
372
372
  type: z.ZodLiteral<"code">;
373
373
  title: z.ZodString;
@@ -605,7 +605,7 @@ declare const MaterializationNamespace: _$_makaio_core0.BusNamespaceDefinition<"
605
605
  }, z.core.$strip>, z.ZodObject<{
606
606
  type: z.ZodLiteral<"raw">;
607
607
  title: z.ZodString;
608
- json: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
608
+ json: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
609
609
  }, z.core.$strip>, z.ZodObject<{
610
610
  type: z.ZodLiteral<"code">;
611
611
  title: z.ZodString;
@@ -855,7 +855,7 @@ declare const MaterializationSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_c
855
855
  }, z.core.$strip>, z.ZodObject<{
856
856
  type: z.ZodLiteral<"raw">;
857
857
  title: z.ZodString;
858
- json: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
858
+ json: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
859
859
  }, z.core.$strip>, z.ZodObject<{
860
860
  type: z.ZodLiteral<"code">;
861
861
  title: z.ZodString;
@@ -0,0 +1,268 @@
1
+ import { t as CapabilityService } from "./capability-service-BW1-teFU.mjs";
2
+ import { IMakaioBus } from "@makaio/framework/bus";
3
+ import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
4
+ import { CodeExecutionAbortReason, CodeExecutionProviderContext, CodeExecutionRequirements, ICapabilityProvider, ICodeExecutionProvider, MakaioNodeExtension } from "@makaio/framework/contracts";
5
+ import { BaseService } from "@makaio/framework/service-base";
6
+
7
+ //#region services/core/src/code-execution/code-execution-service.d.ts
8
+ /**
9
+ * Framework router for the `code-execution.execute` subject.
10
+ *
11
+ * Routes one prepared, JSON-safe invocation to exactly one locally registered
12
+ * provider and returns one normalized terminal outcome. The service owns
13
+ * three things and nothing else:
14
+ *
15
+ * - **Selection.** Providers live in the capability registry's
16
+ * `code-execution` bucket as live objects; this service never keeps a
17
+ * second registry and re-reads the bucket for every invocation, so
18
+ * registrations that arrive or disappear between invocations are honored.
19
+ * - **Budget.** One effective signal combines the request budget, the
20
+ * inherited request deadline, and caller cancellation, and is what the
21
+ * provider observes.
22
+ * - **Normalization.** Every path — missing provider, malformed
23
+ * registration, provider throw, non-conforming outcome, timeout,
24
+ * cancellation — resolves to a schema-valid outcome. The handler does not
25
+ * reject.
26
+ *
27
+ * There is deliberately **no fallback after admission**: once a provider has
28
+ * been handed the invocation, its failure is normalized, never retried
29
+ * against a second provider. Retrying would run submitted code twice under a
30
+ * different trust level than the one selection admitted.
31
+ */
32
+ declare class CodeExecutionService extends BaseService {
33
+ private readonly capabilities;
34
+ /**
35
+ * @param bus - Bus instance the execute handler is registered on.
36
+ * @param capabilities - Live capability registry holding the provider bucket.
37
+ */
38
+ constructor(bus: IMakaioBus, capabilities: CapabilityService);
39
+ protected onInit(): void;
40
+ /**
41
+ * Validate the delivered payload, then route it.
42
+ *
43
+ * The caller-facing input already carries typed JSON fields, but parsing
44
+ * remains the router's own runtime trust boundary: a handler chain can
45
+ * replace a payload after the bus validated it, and a subject that executes
46
+ * submitted code must not hand an unvalidated program to a provider on that
47
+ * basis.
48
+ * @param payload - Payload as delivered to this handler.
49
+ * @param callerSignal - Caller cancellation signal; present only for local dispatch.
50
+ * @param requestDeadlineEpochMs - Absolute deadline inherited from the request, when any.
51
+ * @returns Exactly one normalized terminal outcome.
52
+ */
53
+ private dispatch;
54
+ /**
55
+ * Route one invocation to a single provider and normalize its outcome.
56
+ *
57
+ * Budget ownership is established *before* selection, and deliberately so.
58
+ * An invocation whose caller already went away, or whose inherited deadline
59
+ * had already passed, was never going to run no matter what the registry
60
+ * holds; reporting `provider_unavailable` or `invalid_provider` for it would
61
+ * name a local composition fault as the cause of something the caller
62
+ * decided. The signal is released on every path, including selection
63
+ * failure.
64
+ * @param request - Prepared, JSON-safe invocation to execute.
65
+ * @param callerSignal - Caller cancellation signal; present only for local dispatch.
66
+ * @param requestDeadlineEpochMs - Absolute deadline inherited from the request, when any.
67
+ * @returns Exactly one normalized terminal outcome.
68
+ */
69
+ private route;
70
+ /**
71
+ * Validate what one admitted provider produced.
72
+ *
73
+ * Never rejects: a provider throw and a non-conforming outcome both
74
+ * normalize here, so the caller's race only ever sees terminal outcomes.
75
+ * A settlement observed after the effective signal aborted is reported as
76
+ * that abort rather than as a provider fault — the provider was stopped, it
77
+ * did not fail.
78
+ *
79
+ * INVARIANT: nothing this function holds while suspended may be proportional
80
+ * to the request. A provider is free to ignore its abort signal and never
81
+ * settle, in which case the race in {@link route} answers the caller and *this*
82
+ * frame stays suspended for the life of the process — a suspended async
83
+ * function retains its parameters, so a `CodeExecutionRequest` parameter would
84
+ * pin that invocation's whole program and arguments, megabytes apiece, once per
85
+ * timed-out call. It therefore receives the two bounded strings the post-await
86
+ * code actually needs instead of the request they came from, and the provider
87
+ * call itself is started by {@link callProvider} in the caller so that neither
88
+ * the request nor the selection result is a parameter here. `settlement` is the
89
+ * provider's own promise: whatever *it* retains is the provider's to answer for,
90
+ * and is what the abort signal exists to cut short.
91
+ * @param settlement - Promise the admitted entry point produced, already started.
92
+ * @param providerId - Identifier selection snapshotted for the admitted provider.
93
+ * @param invocationId - Correlation identifier, for local diagnostics only.
94
+ * @param signal - Effective cancellation and deadline ownership for this execution.
95
+ * @returns The provider's validated outcome, or its normalized failure.
96
+ */
97
+ private invoke;
98
+ /**
99
+ * Record the detailed cause of a provider fault locally.
100
+ *
101
+ * Causes stay here on purpose: the outcome that crosses the bus carries a
102
+ * bounded summary, so stack traces, paths, and provider-internal error
103
+ * objects never leave the host that observed them.
104
+ * @param invocationId - Correlation identifier of the invocation whose provider faulted.
105
+ * @param providerId - Identifier the selector snapshotted for the faulting provider.
106
+ * @param summary - What the provider did wrong.
107
+ * @param cause - Original thrown value or validation error, retained only in the log.
108
+ */
109
+ private logDiagnostic;
110
+ }
111
+ //#endregion
112
+ //#region services/core/src/code-execution/package.d.ts
113
+ /** Token for the code-execution routing service. */
114
+ declare const CodeExecutionServiceToken: _$_makaio_contracts0.ExtensionToken<CodeExecutionService>;
115
+ /**
116
+ * Opt-in package that registers the `code-execution.execute` handler.
117
+ *
118
+ * Deliberately **not** part of the framework core package list. The subject's
119
+ * namespace is always registered, so any host can route and validate it, but
120
+ * composing a handler for it means this host is willing to execute submitted
121
+ * code with whatever trust its registered providers declare. That is a
122
+ * composition decision, and it is made by naming this package.
123
+ *
124
+ * The capability registry is a hard dependency rather than a lazy bus lookup:
125
+ * without it there is no provider bucket to select from, and a router that
126
+ * started anyway would answer every invocation with `provider_unavailable`
127
+ * while looking healthy.
128
+ */
129
+ declare const codeExecutionPackage: MakaioNodeExtension<IMakaioBus>;
130
+ //#endregion
131
+ //#region services/core/src/code-execution/execution-signal.d.ts
132
+ /** Inputs from which one effective execution signal is derived. */
133
+ interface EffectiveExecutionSignalOptions {
134
+ /**
135
+ * Wall-clock execution budget declared by the request, in milliseconds.
136
+ *
137
+ * Must be finite and non-negative; a budget of zero is an already-exhausted
138
+ * one and settles as a timeout immediately.
139
+ */
140
+ readonly timeoutMs: number;
141
+ /** Absolute deadline inherited from the dispatching request, when it carried one. */
142
+ readonly requestDeadlineEpochMs?: number;
143
+ /** Caller cancellation signal; present only for local dispatch. */
144
+ readonly callerSignal?: AbortSignal;
145
+ }
146
+ /**
147
+ * One execution's effective cancellation and deadline ownership.
148
+ *
149
+ * Combines the request budget, the inherited request deadline, and caller
150
+ * cancellation into the single authoritative signal the provider observes,
151
+ * and records which of them settled it.
152
+ */
153
+ interface EffectiveExecutionSignal {
154
+ /** Provider-facing context carrying the effective signal and deadline. */
155
+ readonly context: CodeExecutionProviderContext;
156
+ /** Reason the signal aborted, or `undefined` while the execution is live. */
157
+ readonly abortReason: CodeExecutionAbortReason | undefined;
158
+ /**
159
+ * Resolves with the abort reason once the signal aborts; never rejects.
160
+ *
161
+ * Stays pending forever when the execution settles first, so callers race
162
+ * it against the provider rather than awaiting it.
163
+ */
164
+ readonly aborted: Promise<CodeExecutionAbortReason>;
165
+ /**
166
+ * Detach the caller listener and clear the deadline timer.
167
+ *
168
+ * Idempotent, and safe to call on every settlement path — including after
169
+ * the signal already aborted.
170
+ */
171
+ release(): void;
172
+ }
173
+ /**
174
+ * Create the effective cancellation and deadline ownership for one execution.
175
+ *
176
+ * The returned signal aborts at the earliest of the request budget, the
177
+ * inherited request deadline, and caller cancellation. Caller cancellation
178
+ * is checked before the deadline so an already-abandoned invocation reports
179
+ * `cancellation` rather than a timeout it never got the chance to exceed.
180
+ *
181
+ * Every listener and timer this installs is removed by
182
+ * {@link EffectiveExecutionSignal.release}, which the caller must invoke on
183
+ * every settlement path.
184
+ *
185
+ * The budget is validated before anything is armed. The bus path already
186
+ * rejects an unusable one through the request schema, but this factory is
187
+ * exported for direct composition too, and there is no signal to hand back for
188
+ * a budget that yields no deadline.
189
+ * @param options - Request budget, inherited deadline, and caller signal.
190
+ * @returns The provider-facing context, the settling reason, and its release.
191
+ * @throws {@link TypeError} When `timeoutMs` is not a finite, non-negative number.
192
+ */
193
+ declare function createEffectiveExecutionSignal(options: EffectiveExecutionSignalOptions): EffectiveExecutionSignal;
194
+ //#endregion
195
+ //#region services/core/src/code-execution/provider-selection.d.ts
196
+ /**
197
+ * Failure codes the selector can produce when no provider is admitted.
198
+ *
199
+ * Both are `failed`-outcome codes, so the router can hand a rejection
200
+ * straight to its failure normalization without re-mapping.
201
+ */
202
+ type CodeExecutionSelectionFailureCode = 'provider_unavailable' | 'invalid_provider';
203
+ /** Selection result admitting exactly one provider for the invocation. */
204
+ interface CodeExecutionProviderSelected {
205
+ /** Discriminant: a provider was admitted. */
206
+ readonly admitted: true;
207
+ /**
208
+ * The admitted provider's identifier, as read during selection.
209
+ *
210
+ * Carried out of the selector rather than re-read from `provider` at the
211
+ * point of use. Selection reads every field exactly once under containment,
212
+ * but a registration whose `id` accessor throws — or answers something else —
213
+ * on a *later* read would otherwise turn a diagnostic or a failure summary
214
+ * into a rejected bus handler. The identifier a caller reports is therefore
215
+ * the identifier selection actually admitted.
216
+ */
217
+ readonly id: string;
218
+ /**
219
+ * The entry point selection validated, carried out of the selector.
220
+ *
221
+ * Read once during selection and never read off `provider` again, for the
222
+ * same reason {@link id} is not: a registration is free to answer a *different*
223
+ * function on a later read — or to throw — and the callable that runs must be
224
+ * the callable admission checked. It is invoked with `provider` as its `this`,
225
+ * so a class-based registration keeps its own binding.
226
+ */
227
+ readonly execute: ICodeExecutionProvider['execute'];
228
+ /** The single provider admitted for this invocation, used as the `this` binding. */
229
+ readonly provider: ICodeExecutionProvider;
230
+ }
231
+ /** Selection result admitting no provider, carrying the failure classification. */
232
+ interface CodeExecutionProviderRejected {
233
+ /** Discriminant: no provider was admitted. */
234
+ readonly admitted: false;
235
+ /** Failure classification for the normalized outcome. */
236
+ readonly code: CodeExecutionSelectionFailureCode;
237
+ }
238
+ /** Discriminated result of one selection pass over the live provider bucket. */
239
+ type CodeExecutionProviderSelection = CodeExecutionProviderSelected | CodeExecutionProviderRejected;
240
+ /**
241
+ * Select the single provider that will execute one invocation.
242
+ *
243
+ * Pure over the live bucket: the input array is never reordered or mutated,
244
+ * because it is the capability registry's own storage. Malformed
245
+ * registrations — including ones whose property accessors throw — are
246
+ * excluded from selection rather than invoked, so this function is total: it
247
+ * returns a classification for every bucket instead of throwing at its caller.
248
+ *
249
+ * Every field of every registration is read exactly once, into snapshots;
250
+ * validation, requirement filtering, and ordering then all run on those plain
251
+ * values. The admitted provider's live object leaves this function so it is
252
+ * invoked with its own `this` binding — accompanied by its snapshotted `id` and
253
+ * `execute`, so no caller has to read a field off that live object again, either
254
+ * to describe it or to invoke it.
255
+ *
256
+ * Duplicate snapshot IDs are always `invalid_provider`, before requirement
257
+ * filtering can hide the ambiguity. When no provider is otherwise admitted,
258
+ * `invalid_provider` takes precedence over `provider_unavailable` whenever the
259
+ * bucket held at least one malformed registration. Both are actionable local
260
+ * composition faults, and reporting "no provider available" for either would
261
+ * hide the only signal that something was registered wrongly.
262
+ * @param candidates - Live `code-execution` bucket from the capability registry.
263
+ * @param requirements - Exact-match constraints declared by the request, when any.
264
+ * @returns The admitted provider, or the failure code to normalize.
265
+ */
266
+ declare function selectCodeExecutionProvider(candidates: readonly ICapabilityProvider[], requirements: CodeExecutionRequirements | undefined): CodeExecutionProviderSelection;
267
+ //#endregion
268
+ export { selectCodeExecutionProvider as a, createEffectiveExecutionSignal as c, CodeExecutionService as d, CodeExecutionSelectionFailureCode as i, CodeExecutionServiceToken as l, CodeExecutionProviderSelected as n, EffectiveExecutionSignal as o, CodeExecutionProviderSelection as r, EffectiveExecutionSignalOptions as s, CodeExecutionProviderRejected as t, codeExecutionPackage as u };
@@ -0,0 +1,132 @@
1
+ import * as _$zod from "zod";
2
+ import { z } from "zod";
3
+ import * as _$_makaio_core0 from "@makaio/framework/core";
4
+ import * as _$zod_v4_core0 from "zod/v4/core";
5
+
6
+ //#region core/contracts/src/capability/types.d.ts
7
+ /**
8
+ * Base interface all capability providers must implement.
9
+ *
10
+ * Capability providers are registered by extensions to provide
11
+ * platform-specific or service-specific functionality.
12
+ */
13
+ interface ICapabilityProvider {
14
+ /** Unique identifier for this provider instance */
15
+ readonly id: string;
16
+ /** Human-readable name for display in UI */
17
+ readonly displayName: string;
18
+ /**
19
+ * Stable provider identity used for joins across registries.
20
+ *
21
+ * Unlike {@link id}, this should remain stable across runtime re-registration.
22
+ */
23
+ readonly providerKey?: string;
24
+ /**
25
+ * Optional validation method to check provider configuration/credentials.
26
+ * @returns Validation result with optional error message
27
+ */
28
+ validate?(): Promise<{
29
+ valid: boolean;
30
+ error?: string;
31
+ }>;
32
+ }
33
+ /**
34
+ * Interface for capability-based services that can be auto-wired by the runtime.
35
+ *
36
+ * Services implementing this interface can be registered declaratively
37
+ * and the runtime will handle initialization and shutdown automatically.
38
+ */
39
+ interface ICapabilityBasedService {
40
+ /** The capability ID this service handles */
41
+ readonly capabilityId: string;
42
+ /** Initialize the service and register bus handlers */
43
+ init(): Promise<void>;
44
+ /** Destroy the service and cleanup handlers. Async teardown is allowed. */
45
+ destroy(): Promise<void> | void;
46
+ }
47
+ //#endregion
48
+ //#region core/contracts/src/capability/schemas.d.ts
49
+ /**
50
+ * Provider summary for list responses.
51
+ */
52
+ declare const ProviderSummarySchema: z.ZodObject<{
53
+ id: z.ZodString;
54
+ displayName: z.ZodString;
55
+ providerKey: z.ZodOptional<z.ZodString>;
56
+ }, z.core.$strip>;
57
+ /**
58
+ * Validation result for a single provider.
59
+ */
60
+ /**
61
+ * Capability provider registration payload.
62
+ *
63
+ * Note: Provider is typed as unknown at the Zod level because providers
64
+ * are runtime objects with methods that Zod cannot validate.
65
+ * Type safety is enforced via typed registration helpers in service packages.
66
+ */
67
+ declare const ProviderRegistrationSchema: z.ZodObject<{
68
+ capabilityId: z.ZodString;
69
+ provider: z.ZodUnknown;
70
+ }, z.core.$strip>;
71
+ /**
72
+ * Capability provider unregistration payload.
73
+ */
74
+ declare const ProviderUnregistrationSchema: z.ZodObject<{
75
+ capabilityId: z.ZodString;
76
+ providerId: z.ZodString;
77
+ }, z.core.$strip>;
78
+ /**
79
+ * Capability domain schemas.
80
+ *
81
+ * Subjects for capability-related bus communication.
82
+ * Each key becomes a subject identifier as: `capability.{key}`
83
+ * @example
84
+ * ```typescript
85
+ * // List all push notification providers
86
+ * const result = await bus.request(CapabilitySubjects.listProviders, {
87
+ * capabilityId: 'push-notification',
88
+ * });
89
+ * ```
90
+ */
91
+ /** Type exports for external use */
92
+ type ProviderSummary = z.infer<typeof ProviderSummarySchema>;
93
+ type ProviderRegistration = z.infer<typeof ProviderRegistrationSchema>;
94
+ type ProviderUnregistration = z.infer<typeof ProviderUnregistrationSchema>;
95
+ //#endregion
96
+ //#region core/contracts/src/capability/namespace.d.ts
97
+ declare const CapabilitySubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"capability", {
98
+ listProviders: {
99
+ request: _$zod.ZodObject<{
100
+ capabilityId: _$zod.ZodString;
101
+ }, _$zod_v4_core0.$strip>;
102
+ response: _$zod.ZodObject<{
103
+ providers: _$zod.ZodArray<_$zod.ZodObject<{
104
+ id: _$zod.ZodString;
105
+ displayName: _$zod.ZodString;
106
+ providerKey: _$zod.ZodOptional<_$zod.ZodString>;
107
+ }, _$zod_v4_core0.$strip>>;
108
+ }, _$zod_v4_core0.$strip>;
109
+ };
110
+ validate: {
111
+ request: _$zod.ZodObject<{
112
+ capabilityId: _$zod.ZodString;
113
+ }, _$zod_v4_core0.$strip>;
114
+ response: _$zod.ZodObject<{
115
+ results: _$zod.ZodArray<_$zod.ZodObject<{
116
+ id: _$zod.ZodString;
117
+ valid: _$zod.ZodBoolean;
118
+ error: _$zod.ZodOptional<_$zod.ZodString>;
119
+ }, _$zod_v4_core0.$strip>>;
120
+ }, _$zod_v4_core0.$strip>;
121
+ };
122
+ register: _$zod.ZodObject<{
123
+ capabilityId: _$zod.ZodString;
124
+ provider: _$zod.ZodUnknown;
125
+ }, _$zod_v4_core0.$strip>;
126
+ unregister: _$zod.ZodObject<{
127
+ capabilityId: _$zod.ZodString;
128
+ providerId: _$zod.ZodString;
129
+ }, _$zod_v4_core0.$strip>;
130
+ }>, "capability">;
131
+ //#endregion
132
+ export { ICapabilityBasedService as a, ProviderUnregistration as i, ProviderRegistration as n, ICapabilityProvider as o, ProviderSummary as r, CapabilitySubjects as t };
@@ -0,0 +1,18 @@
1
+ import { t as CapabilityService } from "./capability-service-BW1-teFU.mjs";
2
+ import { IMakaioBus } from "@makaio/framework/bus";
3
+ import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
4
+ import { MakaioNodeExtension } from "@makaio/framework/contracts";
5
+
6
+ //#region services/core/src/capability/package.d.ts
7
+ /** Token for the capability registry service. */
8
+ declare const CapabilityToken: _$_makaio_contracts0.ExtensionToken<CapabilityService>;
9
+ /**
10
+ * Package that starts the framework capability registry.
11
+ *
12
+ * The token and package live with the service rather than in the aggregate
13
+ * package list so that a domain depending on the capability registry can
14
+ * resolve the token without importing every other framework package.
15
+ */
16
+ declare const capabilityPackage: MakaioNodeExtension<IMakaioBus>;
17
+ //#endregion
18
+ export { capabilityPackage as n, CapabilityToken as t };
@@ -35,7 +35,7 @@ declare const WorkerNodeDispatchRequestSchema: z.ZodObject<{
35
35
  outputSchema: 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>>>>;
36
36
  state: z.ZodOptional<z.ZodObject<{
37
37
  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>>>;
38
- initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
38
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>;
39
39
  }, z.core.$strip>>;
40
40
  artifact: z.ZodOptional<z.ZodObject<{
41
41
  kind: z.ZodString;
@@ -93,7 +93,7 @@ declare const WorkerNodeDispatchRequestSchema: z.ZodObject<{
93
93
  kind: z.ZodString;
94
94
  id: z.ZodString;
95
95
  }, z.core.$strict>], "type">>;
96
- canvasLayout: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
96
+ canvasLayout: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
97
97
  source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
98
98
  kind: z.ZodLiteral<"editor">;
99
99
  }, z.core.$strict>, z.ZodObject<{
@@ -133,7 +133,7 @@ declare const WorkerNodeDispatchRequestSchema: z.ZodObject<{
133
133
  immediate: "immediate";
134
134
  "await-trigger": "await-trigger";
135
135
  }>>;
136
- inputs: z.ZodDefault<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
136
+ inputs: z.ZodDefault<z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>;
137
137
  config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
138
138
  artifactRef: z.ZodOptional<z.ZodObject<{
139
139
  kind: z.ZodString;
@@ -168,8 +168,8 @@ declare const WorkerNodeDispatchRequestSchema: z.ZodObject<{
168
168
  "exit-and-resume": "exit-and-resume";
169
169
  }>>;
170
170
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
171
- worker: "worker";
172
171
  authority: "authority";
172
+ worker: "worker";
173
173
  }>>;
174
174
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
175
175
  kind: z.ZodLiteral<"local-directory">;
@@ -272,7 +272,7 @@ declare const WorkerNodeSchemas: {
272
272
  outputSchema: 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>>>>;
273
273
  state: z.ZodOptional<z.ZodObject<{
274
274
  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>>>;
275
- initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
275
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>;
276
276
  }, z.core.$strip>>;
277
277
  artifact: z.ZodOptional<z.ZodObject<{
278
278
  kind: z.ZodString;
@@ -330,7 +330,7 @@ declare const WorkerNodeSchemas: {
330
330
  kind: z.ZodString;
331
331
  id: z.ZodString;
332
332
  }, z.core.$strict>], "type">>;
333
- canvasLayout: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
333
+ canvasLayout: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
334
334
  source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
335
335
  kind: z.ZodLiteral<"editor">;
336
336
  }, z.core.$strict>, z.ZodObject<{
@@ -370,7 +370,7 @@ declare const WorkerNodeSchemas: {
370
370
  immediate: "immediate";
371
371
  "await-trigger": "await-trigger";
372
372
  }>>;
373
- inputs: z.ZodDefault<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
373
+ inputs: z.ZodDefault<z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>;
374
374
  config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
375
375
  artifactRef: z.ZodOptional<z.ZodObject<{
376
376
  kind: z.ZodString;
@@ -405,8 +405,8 @@ declare const WorkerNodeSchemas: {
405
405
  "exit-and-resume": "exit-and-resume";
406
406
  }>>;
407
407
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
408
- worker: "worker";
409
408
  authority: "authority";
409
+ worker: "worker";
410
410
  }>>;
411
411
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
412
412
  kind: z.ZodLiteral<"local-directory">;
@@ -762,7 +762,7 @@ declare const WorkerNodeNamespace: _$_makaio_core0.BusNamespaceDefinition<"worke
762
762
  outputSchema: _$zod.ZodOptional<_$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>>>>;
763
763
  state: _$zod.ZodOptional<_$zod.ZodObject<{
764
764
  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>>>;
765
- initial: _$zod.ZodOptional<_$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
765
+ initial: _$zod.ZodOptional<_$zod.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>;
766
766
  }, _$zod_v4_core0.$strip>>;
767
767
  artifact: _$zod.ZodOptional<_$zod.ZodObject<{
768
768
  kind: _$zod.ZodString;
@@ -820,7 +820,7 @@ declare const WorkerNodeNamespace: _$_makaio_core0.BusNamespaceDefinition<"worke
820
820
  kind: _$zod.ZodString;
821
821
  id: _$zod.ZodString;
822
822
  }, _$zod_v4_core0.$strict>], "type">>;
823
- canvasLayout: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
823
+ canvasLayout: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
824
824
  source: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
825
825
  kind: _$zod.ZodLiteral<"editor">;
826
826
  }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
@@ -860,7 +860,7 @@ declare const WorkerNodeNamespace: _$_makaio_core0.BusNamespaceDefinition<"worke
860
860
  immediate: "immediate";
861
861
  "await-trigger": "await-trigger";
862
862
  }>>;
863
- inputs: _$zod.ZodDefault<_$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
863
+ inputs: _$zod.ZodDefault<_$zod.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>;
864
864
  config: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
865
865
  artifactRef: _$zod.ZodOptional<_$zod.ZodObject<{
866
866
  kind: _$zod.ZodString;
@@ -895,8 +895,8 @@ declare const WorkerNodeNamespace: _$_makaio_core0.BusNamespaceDefinition<"worke
895
895
  "exit-and-resume": "exit-and-resume";
896
896
  }>>;
897
897
  terminalAuthority: _$zod.ZodOptional<_$zod.ZodEnum<{
898
- worker: "worker";
899
898
  authority: "authority";
899
+ worker: "worker";
900
900
  }>>;
901
901
  materializationSpec: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
902
902
  kind: _$zod.ZodLiteral<"local-directory">;
@@ -1167,7 +1167,7 @@ declare const WorkerNodeSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.
1167
1167
  outputSchema: _$zod.ZodOptional<_$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>>>>;
1168
1168
  state: _$zod.ZodOptional<_$zod.ZodObject<{
1169
1169
  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>>>;
1170
- initial: _$zod.ZodOptional<_$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
1170
+ initial: _$zod.ZodOptional<_$zod.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>;
1171
1171
  }, _$zod_v4_core0.$strip>>;
1172
1172
  artifact: _$zod.ZodOptional<_$zod.ZodObject<{
1173
1173
  kind: _$zod.ZodString;
@@ -1225,7 +1225,7 @@ declare const WorkerNodeSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.
1225
1225
  kind: _$zod.ZodString;
1226
1226
  id: _$zod.ZodString;
1227
1227
  }, _$zod_v4_core0.$strict>], "type">>;
1228
- canvasLayout: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
1228
+ canvasLayout: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
1229
1229
  source: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1230
1230
  kind: _$zod.ZodLiteral<"editor">;
1231
1231
  }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
@@ -1265,7 +1265,7 @@ declare const WorkerNodeSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.
1265
1265
  immediate: "immediate";
1266
1266
  "await-trigger": "await-trigger";
1267
1267
  }>>;
1268
- inputs: _$zod.ZodDefault<_$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
1268
+ inputs: _$zod.ZodDefault<_$zod.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>;
1269
1269
  config: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1270
1270
  artifactRef: _$zod.ZodOptional<_$zod.ZodObject<{
1271
1271
  kind: _$zod.ZodString;
@@ -1300,8 +1300,8 @@ declare const WorkerNodeSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.
1300
1300
  "exit-and-resume": "exit-and-resume";
1301
1301
  }>>;
1302
1302
  terminalAuthority: _$zod.ZodOptional<_$zod.ZodEnum<{
1303
- worker: "worker";
1304
1303
  authority: "authority";
1304
+ worker: "worker";
1305
1305
  }>>;
1306
1306
  materializationSpec: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1307
1307
  kind: _$zod.ZodLiteral<"local-directory">;