@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
@@ -1,4 +1,4 @@
1
- import { G as ArtifactRepresentations, L as ArtifactRef$1, U as ArtifactRelationTarget, Y as ArtifactScope, a as ResolvedArtifactContextWire$1, j as ArtifactObservation$1, k as ArtifactKindRegistration$1, l as ArtifactProjectionPolicy$1, q as ArtifactRevision$1, r as ArtifactContextUnresolvedReason, x as ArtifactActor, z as ArtifactRelation } from "./context-resolution-ya9TXKg-.mjs";
1
+ import { G as ArtifactRepresentations, L as ArtifactRef$1, U as ArtifactRelationTarget, Y as ArtifactScope, a as ResolvedArtifactContextWire$1, j as ArtifactObservation$1, k as ArtifactKindRegistration$1, l as ArtifactProjectionPolicy$1, q as ArtifactRevision$1, r as ArtifactContextUnresolvedReason, x as ArtifactActor, z as ArtifactRelation } from "./context-resolution-841T7jBI.mjs";
2
2
  import { z } from "zod";
3
3
  import * as _$_makaio_core0 from "@makaio/framework/core";
4
4
  import { MakaioBusLike } from "@makaio/framework/core";
@@ -817,16 +817,6 @@ declare const ArtifactSchemas: {
817
817
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
818
818
  kind: z.ZodString;
819
819
  createdAt: z.ZodOptional<z.ZodNumber>;
820
- scope: z.ZodObject<{
821
- level: z.ZodString;
822
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
823
- }, z.core.$strip>;
824
- schemaVersion: z.ZodString;
825
- actor: z.ZodObject<{
826
- kind: z.ZodString;
827
- id: z.ZodString;
828
- displayName: z.ZodOptional<z.ZodString>;
829
- }, z.core.$strip>;
830
820
  relations: z.ZodArray<z.ZodObject<{
831
821
  type: z.ZodString;
832
822
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -851,6 +841,16 @@ declare const ArtifactSchemas: {
851
841
  locator: z.ZodOptional<z.ZodString>;
852
842
  }, z.core.$strip>], "refClass">>;
853
843
  }, z.core.$strip>>;
844
+ scope: z.ZodObject<{
845
+ level: z.ZodString;
846
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
847
+ }, z.core.$strip>;
848
+ schemaVersion: z.ZodString;
849
+ actor: z.ZodObject<{
850
+ kind: z.ZodString;
851
+ id: z.ZodString;
852
+ displayName: z.ZodOptional<z.ZodString>;
853
+ }, z.core.$strip>;
854
854
  confidence: z.ZodOptional<z.ZodObject<{
855
855
  level: z.ZodEnum<{
856
856
  inferred: "inferred";
@@ -999,16 +999,6 @@ declare const ArtifactSchemas: {
999
999
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1000
1000
  kind: z.ZodString;
1001
1001
  createdAt: z.ZodOptional<z.ZodNumber>;
1002
- scope: z.ZodObject<{
1003
- level: z.ZodString;
1004
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1005
- }, z.core.$strip>;
1006
- schemaVersion: z.ZodString;
1007
- actor: z.ZodObject<{
1008
- kind: z.ZodString;
1009
- id: z.ZodString;
1010
- displayName: z.ZodOptional<z.ZodString>;
1011
- }, z.core.$strip>;
1012
1002
  relations: z.ZodArray<z.ZodObject<{
1013
1003
  type: z.ZodString;
1014
1004
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1033,6 +1023,16 @@ declare const ArtifactSchemas: {
1033
1023
  locator: z.ZodOptional<z.ZodString>;
1034
1024
  }, z.core.$strip>], "refClass">>;
1035
1025
  }, z.core.$strip>>;
1026
+ scope: z.ZodObject<{
1027
+ level: z.ZodString;
1028
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1029
+ }, z.core.$strip>;
1030
+ schemaVersion: z.ZodString;
1031
+ actor: z.ZodObject<{
1032
+ kind: z.ZodString;
1033
+ id: z.ZodString;
1034
+ displayName: z.ZodOptional<z.ZodString>;
1035
+ }, z.core.$strip>;
1036
1036
  confidence: z.ZodOptional<z.ZodObject<{
1037
1037
  level: z.ZodEnum<{
1038
1038
  inferred: "inferred";
@@ -1319,7 +1319,7 @@ declare const ArtifactSchemas: {
1319
1319
  verified: "verified";
1320
1320
  }>>;
1321
1321
  }, z.core.$strip>>;
1322
- indexed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
1322
+ indexed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
1323
1323
  limit: z.ZodOptional<z.ZodNumber>;
1324
1324
  }, z.core.$strip>;
1325
1325
  response: z.ZodObject<{
@@ -2270,16 +2270,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
2270
2270
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
2271
2271
  kind: z.ZodString;
2272
2272
  createdAt: z.ZodOptional<z.ZodNumber>;
2273
- scope: z.ZodObject<{
2274
- level: z.ZodString;
2275
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2276
- }, z.core.$strip>;
2277
- schemaVersion: z.ZodString;
2278
- actor: z.ZodObject<{
2279
- kind: z.ZodString;
2280
- id: z.ZodString;
2281
- displayName: z.ZodOptional<z.ZodString>;
2282
- }, z.core.$strip>;
2283
2273
  relations: z.ZodArray<z.ZodObject<{
2284
2274
  type: z.ZodString;
2285
2275
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2304,6 +2294,16 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
2304
2294
  locator: z.ZodOptional<z.ZodString>;
2305
2295
  }, z.core.$strip>], "refClass">>;
2306
2296
  }, z.core.$strip>>;
2297
+ scope: z.ZodObject<{
2298
+ level: z.ZodString;
2299
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2300
+ }, z.core.$strip>;
2301
+ schemaVersion: z.ZodString;
2302
+ actor: z.ZodObject<{
2303
+ kind: z.ZodString;
2304
+ id: z.ZodString;
2305
+ displayName: z.ZodOptional<z.ZodString>;
2306
+ }, z.core.$strip>;
2307
2307
  confidence: z.ZodOptional<z.ZodObject<{
2308
2308
  level: z.ZodEnum<{
2309
2309
  inferred: "inferred";
@@ -2452,16 +2452,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
2452
2452
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
2453
2453
  kind: z.ZodString;
2454
2454
  createdAt: z.ZodOptional<z.ZodNumber>;
2455
- scope: z.ZodObject<{
2456
- level: z.ZodString;
2457
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2458
- }, z.core.$strip>;
2459
- schemaVersion: z.ZodString;
2460
- actor: z.ZodObject<{
2461
- kind: z.ZodString;
2462
- id: z.ZodString;
2463
- displayName: z.ZodOptional<z.ZodString>;
2464
- }, z.core.$strip>;
2465
2455
  relations: z.ZodArray<z.ZodObject<{
2466
2456
  type: z.ZodString;
2467
2457
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2486,6 +2476,16 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
2486
2476
  locator: z.ZodOptional<z.ZodString>;
2487
2477
  }, z.core.$strip>], "refClass">>;
2488
2478
  }, z.core.$strip>>;
2479
+ scope: z.ZodObject<{
2480
+ level: z.ZodString;
2481
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2482
+ }, z.core.$strip>;
2483
+ schemaVersion: z.ZodString;
2484
+ actor: z.ZodObject<{
2485
+ kind: z.ZodString;
2486
+ id: z.ZodString;
2487
+ displayName: z.ZodOptional<z.ZodString>;
2488
+ }, z.core.$strip>;
2489
2489
  confidence: z.ZodOptional<z.ZodObject<{
2490
2490
  level: z.ZodEnum<{
2491
2491
  inferred: "inferred";
@@ -2772,7 +2772,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
2772
2772
  verified: "verified";
2773
2773
  }>>;
2774
2774
  }, z.core.$strip>>;
2775
- indexed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
2775
+ indexed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
2776
2776
  limit: z.ZodOptional<z.ZodNumber>;
2777
2777
  }, z.core.$strip>;
2778
2778
  response: z.ZodObject<{
@@ -3737,16 +3737,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
3737
3737
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
3738
3738
  kind: z.ZodString;
3739
3739
  createdAt: z.ZodOptional<z.ZodNumber>;
3740
- scope: z.ZodObject<{
3741
- level: z.ZodString;
3742
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3743
- }, z.core.$strip>;
3744
- schemaVersion: z.ZodString;
3745
- actor: z.ZodObject<{
3746
- kind: z.ZodString;
3747
- id: z.ZodString;
3748
- displayName: z.ZodOptional<z.ZodString>;
3749
- }, z.core.$strip>;
3750
3740
  relations: z.ZodArray<z.ZodObject<{
3751
3741
  type: z.ZodString;
3752
3742
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3771,6 +3761,16 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
3771
3761
  locator: z.ZodOptional<z.ZodString>;
3772
3762
  }, z.core.$strip>], "refClass">>;
3773
3763
  }, z.core.$strip>>;
3764
+ scope: z.ZodObject<{
3765
+ level: z.ZodString;
3766
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3767
+ }, z.core.$strip>;
3768
+ schemaVersion: z.ZodString;
3769
+ actor: z.ZodObject<{
3770
+ kind: z.ZodString;
3771
+ id: z.ZodString;
3772
+ displayName: z.ZodOptional<z.ZodString>;
3773
+ }, z.core.$strip>;
3774
3774
  confidence: z.ZodOptional<z.ZodObject<{
3775
3775
  level: z.ZodEnum<{
3776
3776
  inferred: "inferred";
@@ -3919,16 +3919,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
3919
3919
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
3920
3920
  kind: z.ZodString;
3921
3921
  createdAt: z.ZodOptional<z.ZodNumber>;
3922
- scope: z.ZodObject<{
3923
- level: z.ZodString;
3924
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3925
- }, z.core.$strip>;
3926
- schemaVersion: z.ZodString;
3927
- actor: z.ZodObject<{
3928
- kind: z.ZodString;
3929
- id: z.ZodString;
3930
- displayName: z.ZodOptional<z.ZodString>;
3931
- }, z.core.$strip>;
3932
3922
  relations: z.ZodArray<z.ZodObject<{
3933
3923
  type: z.ZodString;
3934
3924
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3953,6 +3943,16 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
3953
3943
  locator: z.ZodOptional<z.ZodString>;
3954
3944
  }, z.core.$strip>], "refClass">>;
3955
3945
  }, z.core.$strip>>;
3946
+ scope: z.ZodObject<{
3947
+ level: z.ZodString;
3948
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3949
+ }, z.core.$strip>;
3950
+ schemaVersion: z.ZodString;
3951
+ actor: z.ZodObject<{
3952
+ kind: z.ZodString;
3953
+ id: z.ZodString;
3954
+ displayName: z.ZodOptional<z.ZodString>;
3955
+ }, z.core.$strip>;
3956
3956
  confidence: z.ZodOptional<z.ZodObject<{
3957
3957
  level: z.ZodEnum<{
3958
3958
  inferred: "inferred";
@@ -4239,7 +4239,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
4239
4239
  verified: "verified";
4240
4240
  }>>;
4241
4241
  }, z.core.$strip>>;
4242
- indexed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
4242
+ indexed: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
4243
4243
  limit: z.ZodOptional<z.ZodNumber>;
4244
4244
  }, z.core.$strip>;
4245
4245
  response: z.ZodObject<{
@@ -0,0 +1 @@
1
+ import{z as e}from"zod";const t=e.lazy(()=>e.union([e.string(),e.number().finite(),e.boolean(),e.null(),e.array(t),e.record(e.string(),t)])),n=2**32-2,r=128;function i(e){let t=Number(e);return Number.isInteger(t)&&t>=0&&t<=n&&String(t)===e}function a(e){return`ok`in e&&!e.ok}var o=class{ancestors=new Set;completed=new Map;snapshot(e){return this.visit(e,[],0)}failure(e,t){return{ok:!1,violation:{kind:e,path:t}}}visit(e,t,n){if(typeof e==`number`&&Object.is(e,-0))return this.failure(`negative-zero`,t);if(typeof e!=`object`||!e)return{ok:!0,value:e};let r=n+1;if(r>128)return this.failure(`nesting-too-deep`,t);if(this.ancestors.has(e))return this.failure(`cyclic-reference`,t);if(this.completed.has(e))return this.copyCompletedTree(this.completed.get(e),t,r);let i=this.describe(e,t);return a(i)?i:this.visitObject(e,i,t,r)}describe(e,t){try{let n=Reflect.ownKeys(e);if(n.some(e=>typeof e==`symbol`))return this.failure(`symbol-key`,t);if(n.includes(`__proto__`))return this.failure(`prototype-key`,[...t,`__proto__`]);let r=Array.isArray(e);return!r&&!s(e)?this.failure(`non-plain-object`,t):this.describeProperties(e,n,r,t)}catch{return this.failure(`unreadable-value`,t)}}describeProperties(e,t,n,r){let a=new Map;for(let o of t){if(typeof o!=`string`)continue;let t=Object.getOwnPropertyDescriptor(e,o);if(t===void 0)return this.failure(`unreadable-value`,[...r,o]);if((!n||o!==`length`)&&!t.enumerable)return this.failure(`non-enumerable-key`,[...r,o]);if(n&&o!==`length`&&!i(o))return this.failure(`extra-array-key`,[...r,o]);a.set(o,t)}return{isArray:n,descriptors:a}}visitObject(e,t,n,r){this.ancestors.add(e);try{let i=t.isArray?this.snapshotArray(e,t.descriptors,n,r):this.snapshotRecord(e,t.descriptors,n,r);return i.ok&&this.completed.set(e,i.value),i}finally{this.ancestors.delete(e)}}snapshotArray(e,t,n,r){let i=t.get(`length`)?.value;if(typeof i!=`number`)return this.failure(`unreadable-value`,[...n,`length`]);let a=[];for(let o=0;o<i;o+=1){let i=t.get(String(o));if(i===void 0)a.push(void 0);else{let t=this.snapshotProperty(e,i,[...n,o],r);if(!t.ok)return t;a.push(t.value)}}return{ok:!0,value:a}}snapshotRecord(e,t,n,r){let i={};for(let[a,o]of t){let t=this.snapshotProperty(e,o,[...n,a],r);if(!t.ok)return t;c(i,a,t.value)}return{ok:!0,value:i}}snapshotProperty(e,t,n,r){let i=this.readDescriptor(e,t,n);return a(i)?i:this.visit(i.value,n,r)}readDescriptor(e,t,n){try{return{ok:!0,value:`value`in t?t.value:Reflect.apply(t.get??(()=>void 0),e,[])}}catch{return this.failure(`unreadable-value`,n)}}copyCompletedTree(e,t,n){if(Array.isArray(e)){let r=[];for(let i=0;i<e.length;i+=1){let a=this.copyCompletedValue(e[i],[...t,i],n);if(!a.ok)return a;r.push(a.value)}return{ok:!0,value:r}}if(typeof e!=`object`||!e)return{ok:!0,value:e};let r={};for(let[i,a]of Object.entries(e)){let e=this.copyCompletedValue(a,[...t,i],n);if(!e.ok)return e;c(r,i,e.value)}return{ok:!0,value:r}}copyCompletedValue(e,t,n){if(typeof e==`number`&&Object.is(e,-0))return this.failure(`negative-zero`,t);if(typeof e!=`object`||!e)return{ok:!0,value:e};let r=n+1;return r>128?this.failure(`nesting-too-deep`,t):this.copyCompletedTree(e,t,r)}};function s(e){let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function c(e,t,n){Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0})}function l(e){return new o().snapshot(e)}function u(t,n){let r={"prototype-key":n.prototypeKey,"non-plain-object":n.nonPlainObject,"symbol-key":n.symbolKey,"non-enumerable-key":n.nonEnumerableKey,"extra-array-key":n.extraArrayKey,"cyclic-reference":`the value contains a cyclic reference and cannot be transported as JSON`,"nesting-too-deep":`the value exceeds the maximum JSON container nesting of 128`,"negative-zero":`the value contains -0, which cannot be transported as JSON without becoming 0`,"unreadable-value":`the value could not be read into a stable JSON boundary snapshot`};return e.preprocess((e,t)=>{let n=l(e);if(!n.ok){t.addIssue({code:`custom`,message:r[n.violation.kind],path:[...n.violation.path],input:e});return}return n.value},t)}const d=e.record(e.string(),t),f=d,p=e.record(e.string(),t),m=p;export{m as a,l as c,p as i,f as n,t as o,d as r,u as s,r as t};
@@ -0,0 +1,177 @@
1
+ import { z } from "zod";
2
+
3
+ //#region core/contracts/src/shared/json-value.d.ts
4
+ /**
5
+ * JSON-safe value type shared by storage and runtime context contracts.
6
+ *
7
+ * Restricting persisted values to JSON keeps the storage contracts aligned
8
+ * with the actual serialization boundary instead of accepting runtime-only
9
+ * values such as functions, Maps, or `undefined`.
10
+ *
11
+ * The object branch intentionally stays broad (`object`) instead of requiring
12
+ * an index signature. The runtime Zod schema remains the source of truth for
13
+ * JSON validation, while the broader TypeScript type keeps regular DTOs and
14
+ * typed fixtures assignable without forcing every interface in the codebase to
15
+ * declare `[key: string]: ...`.
16
+ */
17
+ type JsonValue = string | number | boolean | null | JsonValue[] | object;
18
+ /**
19
+ * Recursive JSON-safe value schema.
20
+ *
21
+ * Uses `z.lazy()` so arrays and objects can reference the same schema without
22
+ * widening the contract to arbitrary `unknown`.
23
+ */
24
+ declare const JsonValueSchema: z.ZodType<JsonValue, JsonValue>;
25
+ /**
26
+ * Structural reason a raw value cannot cross a JSON boundary unchanged.
27
+ *
28
+ * - `prototype-key`: a `__proto__` own key the record parse drops instead of
29
+ * copying onto the output object.
30
+ * - `non-plain-object`: an object the record parse would rebuild from its own
31
+ * enumerable string-keyed fields alone, which is not what the value is.
32
+ * - `symbol-key`: an own symbol-keyed property that neither the record parse
33
+ * nor the array rebuild includes, since JSON has no symbol representation.
34
+ * The {@link JsonFidelityViolation.path} ends at the containing object —
35
+ * a symbol cannot appear in a JSON path.
36
+ * - `non-enumerable-key`: a non-enumerable own string property that
37
+ * `Object.entries` skips, so the rebuilt record omits the key entirely.
38
+ * The {@link JsonFidelityViolation.path} extends to the key name so the
39
+ * caller knows exactly which property was hidden.
40
+ * - `extra-array-key`: an own string property on an array beyond its canonical
41
+ * array indices and `length`. `z.array()` rebuilds from indexed elements only,
42
+ * so the property is silently dropped. The path extends to the property name.
43
+ * - `cyclic-reference`: the object graph cannot be represented by a finite JSON
44
+ * tree. Repeated references outside the current ancestor chain are valid and
45
+ * copied into the detached tree independently.
46
+ * - `nesting-too-deep`: the JSON tree exceeds the finite container nesting the
47
+ * boundary can inspect without unbounded recursion.
48
+ * - `negative-zero`: JavaScript's `-0` would cross a JSON wire as `0`, so it is
49
+ * not a value the boundary can reproduce unchanged.
50
+ * - `unreadable-value`: inspecting an object or evaluating one of its enumerable
51
+ * accessors threw, so no stable boundary snapshot can be produced.
52
+ */
53
+ type JsonFidelityViolationKind = 'prototype-key' | 'non-plain-object' | 'symbol-key' | 'non-enumerable-key' | 'extra-array-key' | 'cyclic-reference' | 'nesting-too-deep' | 'negative-zero' | 'unreadable-value';
54
+ /** Where a raw value stops being reproducible, and why. */
55
+ interface JsonFidelityViolation {
56
+ /** What about the value cannot be reproduced. */
57
+ readonly kind: JsonFidelityViolationKind;
58
+ /** Path from the inspected root to the offending value; empty when it is the root. */
59
+ readonly path: readonly (string | number)[];
60
+ }
61
+ /** A detached JSON-tree snapshot, or the first reason it could not be made. */
62
+ type JsonBoundarySnapshot = {
63
+ readonly ok: true;
64
+ readonly value: unknown;
65
+ } | {
66
+ readonly ok: false;
67
+ readonly violation: JsonFidelityViolation;
68
+ };
69
+ /**
70
+ * Maximum number of nested arrays and records accepted at a JSON boundary.
71
+ *
72
+ * The root container counts as one. A tree with 128 nested containers is
73
+ * accepted; its 129th container is rejected before it is inspected further.
74
+ */
75
+ declare const JSON_BOUNDARY_MAX_CONTAINER_NESTING = 128;
76
+ /**
77
+ * Create one detached, finite JSON tree for a boundary.
78
+ *
79
+ * An admissible enumerable accessor is read once. Objects must be plain records
80
+ * or arrays; cycles and properties JSON cannot reproduce are rejected. Shared,
81
+ * acyclic references are copied into the resulting JSON tree.
82
+ * @param value - Raw input at the boundary, before schema parsing.
83
+ * @returns A detached tree or a stable structural rejection; never throws.
84
+ */
85
+ declare function snapshotJsonBoundary(value: unknown): JsonBoundarySnapshot;
86
+ /** Issue messages describing what a rewritten value would have carried. */
87
+ interface LossyJsonValueMessages {
88
+ /** Message for a `__proto__` own key the parse would drop. */
89
+ readonly prototypeKey: string;
90
+ /** Message for an object the parse would reduce to its own enumerable fields. */
91
+ readonly nonPlainObject: string;
92
+ /** Message for an own symbol-keyed property neither the record nor array rebuild includes. */
93
+ readonly symbolKey: string;
94
+ /** Message for a non-enumerable own string property the record rebuild skips. */
95
+ readonly nonEnumerableKey: string;
96
+ /** Message for an extra own string property on an array that the array rebuild drops. */
97
+ readonly extraArrayKey: string;
98
+ }
99
+ /**
100
+ * Wrap a schema so a value the parse would *rewrite* is rejected instead.
101
+ *
102
+ * Zod drops a `__proto__` own key while parsing a record, and rebuilds an object
103
+ * from its own enumerable string-keyed fields, so for those two shapes the
104
+ * parsed value differs from what the producer submitted — silently, and at any
105
+ * depth. A post-parse `refine` cannot see either difference, because by then the
106
+ * value has already been rebuilt; only a preprocess step observes the raw input.
107
+ * Any boundary whose payload was authored on the far side of a trust boundary
108
+ * and must reach this side unaltered wraps its object-admitting fields in this.
109
+ *
110
+ * It lives beside {@link JsonValueSchema} rather than inside it: turning the silent rewrite
111
+ * into a rejection repo-wide would change the accepted input of every contract
112
+ * built on that schema, so boundaries opt in explicitly.
113
+ *
114
+ * The wrapper is transparent in every other respect, and both halves of that
115
+ * are contract, not coincidence:
116
+ *
117
+ * - It preserves the wrapped schema's declared input type. `z.preprocess` would
118
+ * otherwise widen it to `unknown`, even though this wrapper accepts exactly
119
+ * the same public input domain before applying its stricter runtime boundary.
120
+ * - A rejected value produces exactly one issue. `z.preprocess` is a pipe, and a
121
+ * pipe whose first stage reported an issue never runs its second, so the inner
122
+ * schema never adds to a fidelity rejection. `fatal: true` would be
123
+ * redundant: the abort is structural, not a property of the issue.
124
+ * @param schema - Schema to guard, applied only to the detached snapshot.
125
+ * @param messages - Issue messages naming what the field would have carried.
126
+ * @typeParam TSchema - Schema being guarded; its output type is preserved.
127
+ * @returns The schema, preceded by the raw-input fidelity rejection.
128
+ */
129
+ declare function rejectingLossyJsonValues<TSchema extends z.ZodType>(schema: TSchema, messages: LossyJsonValueMessages): z.ZodType<z.output<TSchema>, z.input<TSchema>>;
130
+ /**
131
+ * JSON object helper for map-like persisted configuration records.
132
+ *
133
+ * The runtime validation stays strict, while the public TypeScript surface
134
+ * remains `Record<string, unknown>` so opaque config bags do not force callers
135
+ * to thread `JsonValue` through every intermediate type.
136
+ */
137
+ declare const JsonObjectSchema: z.ZodType<Record<string, unknown>>;
138
+ /**
139
+ * Contract-friendly JSON object schema for opaque config bags.
140
+ *
141
+ * Uses the strict runtime validator above and only narrows the public Zod
142
+ * type. Keeping the underlying schema as `z.record()` is important for
143
+ * protocol exports: `z.custom()` validates correctly at runtime but cannot be
144
+ * represented as JSON Schema.
145
+ */
146
+ declare const JsonObjectContractSchema: z.ZodType<Record<string, unknown>, Record<string, unknown>>;
147
+ /**
148
+ * Generic JSON-compatible parameter record.
149
+ *
150
+ * Use this schema when the field carries arbitrary JSON key-value pairs that
151
+ * are NOT a JSON Schema document — for example, binding parameter maps or
152
+ * opaque configuration payloads. The underlying validator rejects functions,
153
+ * `undefined`, and other non-serializable values.
154
+ *
155
+ * Distinct from {@link JsonSchemaRecordSchema}, which carries the narrower
156
+ * semantic of "a JSON Schema document" used for `inputSchema` / `outputSchema`
157
+ * / `configSchema` fields.
158
+ */
159
+ declare const JsonRecordSchema: z.ZodType<Record<string, JsonValue>, Record<string, JsonValue>>;
160
+ /**
161
+ * Serializable JSON Schema record used for `inputSchema`, `outputSchema`, and
162
+ * `configSchema` fields on persisted workflow definitions and node primitives.
163
+ *
164
+ * A JSON Schema document is itself a JSON object, so this is a
165
+ * `Record<string, JsonValue>` — identical at runtime to {@link JsonObjectContractSchema}
166
+ * but carries a semantically narrower name to distinguish "a JSON Schema document"
167
+ * from "an arbitrary JSON payload".
168
+ *
169
+ * The underlying `z.record(z.string(), JsonValueSchema)` validator rejects
170
+ * functions, `undefined`, and other non-serializable values, keeping persisted
171
+ * workflow definitions purely JSON-safe.
172
+ *
173
+ * For non-schema JSON records (e.g. parameter maps), use {@link JsonRecordSchema}.
174
+ */
175
+ declare const JsonSchemaRecordSchema: z.ZodType<Record<string, JsonValue>, Record<string, JsonValue>>;
176
+ //#endregion
177
+ export { JsonObjectContractSchema as a, JsonSchemaRecordSchema as c, LossyJsonValueMessages as d, rejectingLossyJsonValues as f, JsonFidelityViolationKind as i, JsonValue as l, JsonBoundarySnapshot as n, JsonObjectSchema as o, snapshotJsonBoundary as p, JsonFidelityViolation as r, JsonRecordSchema as s, JSON_BOUNDARY_MAX_CONTAINER_NESTING as t, JsonValueSchema as u };
@@ -1,5 +1,5 @@
1
- import { a as CliSubcommandDefinition, c as EmbeddedBusHandle, d as ProvideBusContext, f as defineCliSubcommand, i as CliContribution, l as INTERACTIVE_SUBCOMMAND, n as BeforeRunContext, o as CliSubcommandEntry, p as requireBus, r as BeforeRunResult, s as CommandContext, t as ALWAYS_PROCEED, u as OutputWriter } from "../../types-Ce6LL25v.mjs";
2
- import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-Bi3CmYQy.mjs";
1
+ import { a as CliSubcommandDefinition, c as EmbeddedBusHandle, d as ProvideBusContext, f as defineCliSubcommand, i as CliContribution, l as INTERACTIVE_SUBCOMMAND, n as BeforeRunContext, o as CliSubcommandEntry, p as requireBus, r as BeforeRunResult, s as CommandContext, t as ALWAYS_PROCEED, u as OutputWriter } from "../../types-tyv0B605.mjs";
2
+ import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-BUYDmd0r.mjs";
3
3
  import { z } from "zod";
4
4
  import { CliArgManifest } from "@makaio/framework/contracts/extension";
5
5
 
@@ -1 +1 @@
1
- import{n as e,t}from"../../namespace-CxrOLeeP.mjs";import{i as n,n as r,r as i,t as a}from"../../schema-introspection-C1wvklj9.mjs";const o=`__interactive__`,s={proceed:!0};function c(e){if(!e.bus)throw Error(`This command requires a running Makaio server.`);return e.bus}function l(e,t,n,r){return{name:e,description:t,schema:n,handler:r}}export{s as ALWAYS_PROCEED,t as CliNamespace,e as CliRpcSubjects,o as INTERACTIVE_SUBCOMMAND,l as defineCliSubcommand,r as getMeta,i as isBooleanSchema,n as isNumberSchema,c as requireBus,a as toCliArgManifests};
1
+ import{n as e,t}from"../../namespace-sCPb79-7.mjs";import{i as n,n as r,r as i,t as a}from"../../schema-introspection-6-r_KEJQ.mjs";const o=`__interactive__`,s={proceed:!0};function c(e){if(!e.bus)throw Error(`This command requires a running Makaio server.`);return e.bus}function l(e,t,n,r){return{name:e,description:t,schema:n,handler:r}}export{s as ALWAYS_PROCEED,t as CliNamespace,e as CliRpcSubjects,o as INTERACTIVE_SUBCOMMAND,l as defineCliSubcommand,r as getMeta,i as isBooleanSchema,n as isNumberSchema,c as requireBus,a as toCliArgManifests};
@@ -1,2 +1,2 @@
1
- import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-Bi3CmYQy.mjs";
1
+ import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-BUYDmd0r.mjs";
2
2
  export { CliNamespace, CliRpcSubjects };
@@ -1 +1 @@
1
- import{n as e,t}from"../../namespace-CxrOLeeP.mjs";export{t as CliNamespace,e as CliRpcSubjects};
1
+ import{n as e,t}from"../../namespace-sCPb79-7.mjs";export{t as CliNamespace,e as CliRpcSubjects};
@@ -1 +1 @@
1
- import{t as e}from"../../schemas-BNdiVBWh.mjs";export{e as CliSchemas};
1
+ import{t as e}from"../../schemas-BivbWRkG.mjs";export{e as CliSchemas};
@@ -1,2 +1,2 @@
1
- import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-BMVZs6pm.mjs";
1
+ import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-CYjgoYeX.mjs";
2
2
  export { ContributionProcessor, ExtensionCoordinator, ExtensionCoordinatorOptions, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, RuntimeEnvironment, coalesceExtensionOverrides, filterEligibleExtensions };
@@ -1 +1 @@
1
- import{n as e,r as t,t as n}from"../../extension-DUmibvMk.mjs";export{n as ExtensionCoordinator,e as coalesceExtensionOverrides,t as filterEligibleExtensions};
1
+ import{n as e,r as t,t as n}from"../../extension-Bfkr2DBs.mjs";export{n as ExtensionCoordinator,e as coalesceExtensionOverrides,t as filterEligibleExtensions};
@@ -1,8 +1,8 @@
1
- import { c as ExtensionInfo, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, s as ComponentStateSchema, t as ExtensionNamespace } from "../index--atUpi5l2.mjs";
2
- import { c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../index-BMVZs6pm.mjs";
3
- import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-BLtVx3Iw.mjs";
4
- import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../index-DwLRZscE.mjs";
5
- import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-BeENojSx2.mjs";
1
+ import { c as ExtensionInfo, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, s as ComponentStateSchema, t as ExtensionNamespace } from "../index-8NdPPzUh2.mjs";
2
+ import { c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../index-CYjgoYeX.mjs";
3
+ import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-Pcf35cac.mjs";
4
+ import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../index-8y4hT9WL.mjs";
5
+ import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-DgspOUa72.mjs";
6
6
  import { z } from "zod";
7
7
  import * as _$_makaio_core0 from "@makaio/framework/core";
8
8
 
@@ -1 +1 @@
1
- import{n as e,r as t,t as n}from"../namespace-CFjdyNXG.mjs";import{n as r,t as i}from"../window-registry-CoBJq3u4.mjs";import"./window/index.mjs";import{n as a,r as o,t as s}from"../providers-CCcn4Ndp.mjs";import{a as c,i as l,n as u,o as d,r as f,t as p}from"../extension-DUmibvMk.mjs";import{a as m,c as h,n as g,o as _,t as v}from"../extension-namespace-B554RmCp.mjs";import"./observability/index.mjs";function y(e){let t=null;return()=>(t??=(async()=>{let t=[];for(let n of e)try{await n()}catch(e){t.push(e)}if(t.length>0)throw AggregateError(t,`Shutdown completed with ${t.length} of ${e.length} steps failing`)})(),t)}export{c as BootNamespace,d as BootSubjects,m as ComponentStateSchema,s as EphemeralIdentityProvider,p as ExtensionCoordinator,_ as ExtensionInfoSchema,v as ExtensionNamespace,g as ExtensionSubjects,n as KernelNamespace,t as KernelSchemas,e as KernelSubjects,o as MemoryStorageProvider,a as NoTransportProvider,i as STYLE_DEFAULTS,h as ServiceInfoSchema,l as ServiceSkipError,r as WindowRegistry,u as coalesceExtensionOverrides,y as createShutdownSequence,f as filterEligibleExtensions};
1
+ import{n as e,r as t,t as n}from"../namespace-Du0accdE.mjs";import{n as r,t as i}from"../window-registry-CKiMJjId.mjs";import"./window/index.mjs";import{n as a,r as o,t as s}from"../providers-C-eekMxD.mjs";import{a as c,i as l,n as u,o as d,r as f,t as p}from"../extension-Bfkr2DBs.mjs";import{a as m,c as h,n as g,o as _,t as v}from"../extension-namespace-QoTTwKPt.mjs";import"./observability/index.mjs";function y(e){let t=null;return()=>(t??=(async()=>{let t=[];for(let n of e)try{await n()}catch(e){t.push(e)}if(t.length>0)throw AggregateError(t,`Shutdown completed with ${t.length} of ${e.length} steps failing`)})(),t)}export{c as BootNamespace,d as BootSubjects,m as ComponentStateSchema,s as EphemeralIdentityProvider,p as ExtensionCoordinator,_ as ExtensionInfoSchema,v as ExtensionNamespace,g as ExtensionSubjects,n as KernelNamespace,t as KernelSchemas,e as KernelSubjects,o as MemoryStorageProvider,a as NoTransportProvider,i as STYLE_DEFAULTS,h as ServiceInfoSchema,l as ServiceSkipError,r as WindowRegistry,u as coalesceExtensionOverrides,y as createShutdownSequence,f as filterEligibleExtensions};
@@ -1,2 +1,2 @@
1
- import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../../index-DwLRZscE.mjs";
1
+ import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../../index-8y4hT9WL.mjs";
2
2
  export { KernelNamespace, KernelSchemas, KernelSubjects };
@@ -1 +1 @@
1
- import{n as e,r as t,t as n}from"../../namespace-CFjdyNXG.mjs";export{n as KernelNamespace,t as KernelSchemas,e as KernelSubjects};
1
+ import{n as e,r as t,t as n}from"../../namespace-Du0accdE.mjs";export{n as KernelNamespace,t as KernelSchemas,e as KernelSubjects};
@@ -1,2 +1,2 @@
1
- import { a as ComponentInfoSchema, c as ExtensionInfo, d as ExtensionWarningEntrySchema, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, r as ComponentIdentitySchema, s as ComponentStateSchema, t as ExtensionNamespace, u as ExtensionWarningEntry } from "../../index--atUpi5l2.mjs";
1
+ import { a as ComponentInfoSchema, c as ExtensionInfo, d as ExtensionWarningEntrySchema, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, r as ComponentIdentitySchema, s as ComponentStateSchema, t as ExtensionNamespace, u as ExtensionWarningEntry } from "../../index-8NdPPzUh2.mjs";
2
2
  export { ComponentIdentitySchema, ComponentInfo, ComponentInfoSchema, ComponentState, ComponentStateSchema, ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, ExtensionSubjects, ExtensionWarningEntry, ExtensionWarningEntrySchema, ServiceInfo, ServiceInfoSchema };
@@ -1 +1 @@
1
- import{a as e,c as t,i as n,n as r,o as i,r as a,s as o,t as s}from"../../extension-namespace-B554RmCp.mjs";export{a as ComponentIdentitySchema,n as ComponentInfoSchema,e as ComponentStateSchema,i as ExtensionInfoSchema,s as ExtensionNamespace,r as ExtensionSubjects,o as ExtensionWarningEntrySchema,t as ServiceInfoSchema};
1
+ import{a as e,c as t,i as n,n as r,o as i,r as a,s as o,t as s}from"../../extension-namespace-QoTTwKPt.mjs";export{a as ComponentIdentitySchema,n as ComponentInfoSchema,e as ComponentStateSchema,i as ExtensionInfoSchema,s as ExtensionNamespace,r as ExtensionSubjects,o as ExtensionWarningEntrySchema,t as ServiceInfoSchema};
@@ -1,2 +1,2 @@
1
- import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../../index-BeENojSx2.mjs";
1
+ import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../../index-DgspOUa72.mjs";
2
2
  export { EphemeralIdentityProvider, IdentityProvider, MachineIdentity, MemoryStorageProvider, NoTransportProvider, StorageCleanup, StorageProvider, TransportProvider };
@@ -1 +1 @@
1
- import{n as e,r as t,t as n}from"../../providers-CCcn4Ndp.mjs";export{n as EphemeralIdentityProvider,t as MemoryStorageProvider,e as NoTransportProvider};
1
+ import{n as e,r as t,t as n}from"../../providers-C-eekMxD.mjs";export{n as EphemeralIdentityProvider,t as MemoryStorageProvider,e as NoTransportProvider};
@@ -1,2 +1,2 @@
1
- import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../../window-registry-BLtVx3Iw.mjs";
1
+ import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../../window-registry-Pcf35cac.mjs";
2
2
  export { STYLE_DEFAULTS, type WindowRegistration, WindowRegistry, type WindowStyle };
@@ -1 +1 @@
1
- import{n as e,t}from"../../window-registry-CoBJq3u4.mjs";export{t as STYLE_DEFAULTS,e as WindowRegistry};
1
+ import{n as e,t}from"../../window-registry-CKiMJjId.mjs";export{t as STYLE_DEFAULTS,e as WindowRegistry};