@makaio/framework 1.0.0-dev-1788966380232 → 1.0.0-dev-1789000242829

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 (244) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/{2020-CpDjcHDh.mjs → 2020-DvDj4r_K.mjs} +1 -1
  3. package/dist/{account-identity-D00LLclm.mjs → account-identity-CNdiLYaM.mjs} +1 -1
  4. package/dist/{adapter-D92pfm_b.mjs → adapter-BdMny6vw.mjs} +1 -1
  5. package/dist/adapters/claude/index.d.mts +24 -24
  6. package/dist/adapters/index.mjs +1 -1
  7. package/dist/artifact-Cxm5ZX7L.mjs +1 -0
  8. package/dist/{auth-CB4an9bh.mjs → auth-BIgwGHp-.mjs} +1 -1
  9. package/dist/authority-state-bootstrap-DVFYemDL.mjs +1 -0
  10. package/dist/{automation-trigger-xNDX0Am_.mjs → automation-trigger-CQNQpzkA.mjs} +1 -1
  11. package/dist/bus/index.mjs +8 -1
  12. package/dist/{caller-owned-adapter-stub-oM1G1KvC.mjs → caller-owned-adapter-stub-NiR7KT2N.mjs} +1 -1
  13. package/dist/{canonical-model-D7Cg0l2R.mjs → canonical-model-BMnzRhG_.mjs} +1 -1
  14. package/dist/{capabilities-D2ggcMem.mjs → capabilities-CEwSeTB3.mjs} +1 -1
  15. package/dist/{client-CpUVfDxa.mjs → client-C0HcPzvw.mjs} +1 -1
  16. package/dist/{code-execution-CMqsHnGg.mjs → code-execution-BhUo84eg.mjs} +1 -1
  17. package/dist/{compression-Civ-rf-O.mjs → compression-DvPXSBWS.mjs} +1 -1
  18. package/dist/{config-namespace-CQnsvr77.mjs → config-namespace-CE3KasJn.mjs} +1 -1
  19. package/dist/contracts/adapter/index.d.mts +1 -1
  20. package/dist/contracts/adapter/index.mjs +1 -1
  21. package/dist/contracts/artifact/index.d.mts +3 -3
  22. package/dist/contracts/artifact/index.mjs +1 -1
  23. package/dist/contracts/auth/index.mjs +1 -1
  24. package/dist/contracts/automation-trigger/index.mjs +1 -1
  25. package/dist/contracts/canonical-model/index.mjs +1 -1
  26. package/dist/contracts/capabilities/index.d.mts +1 -1
  27. package/dist/contracts/capabilities/index.mjs +1 -1
  28. package/dist/contracts/client/index.d.mts +1 -1
  29. package/dist/contracts/client/index.mjs +1 -1
  30. package/dist/contracts/code-execution/index.mjs +1 -1
  31. package/dist/contracts/common/index.mjs +1 -1
  32. package/dist/contracts/config/index.mjs +1 -1
  33. package/dist/contracts/extension/index.d.mts +2 -2
  34. package/dist/contracts/extension/index.mjs +1 -1
  35. package/dist/contracts/facet/index.d.mts +1 -1
  36. package/dist/contracts/facet/index.mjs +1 -1
  37. package/dist/contracts/harness/index.d.mts +1 -1
  38. package/dist/contracts/harness/index.mjs +1 -1
  39. package/dist/contracts/host/index.mjs +1 -1
  40. package/dist/contracts/index.d.mts +92 -226
  41. package/dist/contracts/index.mjs +1 -1
  42. package/dist/contracts/materialization/index.d.mts +2 -2
  43. package/dist/contracts/materialization/index.mjs +1 -1
  44. package/dist/contracts/model-registry/index.mjs +1 -1
  45. package/dist/contracts/native-session-supervisor/index.mjs +1 -1
  46. package/dist/contracts/platform/index.mjs +1 -1
  47. package/dist/contracts/provider/index.mjs +1 -1
  48. package/dist/contracts/reaction/index.mjs +1 -1
  49. package/dist/contracts/session/index.d.mts +2 -2
  50. package/dist/contracts/session/index.mjs +1 -1
  51. package/dist/contracts/shared/index.mjs +1 -1
  52. package/dist/contracts/skill/index.mjs +1 -1
  53. package/dist/contracts/telemetry/index.mjs +1 -1
  54. package/dist/contracts/timeout/index.mjs +1 -1
  55. package/dist/contracts/toast/index.mjs +1 -1
  56. package/dist/contracts/variant/index.d.mts +1 -1
  57. package/dist/contracts/variant/index.mjs +1 -1
  58. package/dist/contracts/worker/index.d.mts +1 -1
  59. package/dist/contracts/worker/index.mjs +1 -1
  60. package/dist/contracts/workflow/index.d.mts +3 -3
  61. package/dist/contracts/workflow/index.mjs +1 -1
  62. package/dist/{definition-Dqw0YJdi.mjs → definition-o5Dfg5j-.mjs} +1 -1
  63. package/dist/{dist-DeI9zYMP.mjs → dist-DMIaE8sg.mjs} +1 -1
  64. package/dist/{execution-attempt-repository--RVils5-.d.mts → execution-attempt-repository-DSpz2kyW.d.mts} +7 -25
  65. package/dist/{execution-target-_oVNW6Zm.mjs → execution-target-Ba7b_UmX.mjs} +1 -1
  66. package/dist/{extension-CAi7bbyv.mjs → extension-D9D8tJQY.mjs} +1 -1
  67. package/dist/{extension-CrghVa93.mjs → extension-GQEL-NCV.mjs} +1 -1
  68. package/dist/{framework-packages-BOPhhtK7.mjs → framework-packages-DdCJ4JsE.mjs} +1 -1
  69. package/dist/{handlers-YPTyZDhF.mjs → handlers-CqL2TWbk.mjs} +1 -1
  70. package/dist/{harness-Ds1I4smU.mjs → harness-CYzkReGi.mjs} +1 -1
  71. package/dist/{index-LjLUr3Dm.d.mts → index-BIlFSGnW.d.mts} +10 -10
  72. package/dist/{index-BqR2xDu6.d.mts → index-BTluq4-E.d.mts} +151 -108
  73. package/dist/{index-nJvYTAbD.d.mts → index-BfwHYuRf.d.mts} +1 -1
  74. package/dist/{index-MtDz_goH.d.mts → index-BxJRljy-.d.mts} +274 -86
  75. package/dist/{index-BKwYE1Qk.d.mts → index-Bzxs2nVR.d.mts} +5 -5
  76. package/dist/{index-BkQlL0Pl.d.mts → index-CCNCo440.d.mts} +5 -5
  77. package/dist/{index-v9TbeVee2.d.mts → index-CRM23ToM2.d.mts} +5 -5
  78. package/dist/{index-Bxq_zO2E.d.mts → index-CilWtThn.d.mts} +4 -4
  79. package/dist/{index-B7wjmaev.d.mts → index-CjMMvZch.d.mts} +12 -12
  80. package/dist/{index-ud9i9pue.d.mts → index-DCHdW5g-.d.mts} +16 -16
  81. package/dist/{index-BT5qcsEf2.d.mts → index-DR308wUB2.d.mts} +18 -18
  82. package/dist/{index-DU9Y9tes2.d.mts → index-Dckvm0Ml2.d.mts} +12 -12
  83. package/dist/{index-Bnm0QvJ4.d.mts → index-DvoitgXV.d.mts} +9 -9
  84. package/dist/{index-DzlGAEws.d.mts → index-Dzozmb5u.d.mts} +1 -1
  85. package/dist/{index-DO633_D-.d.mts → index-GTCM4lXx.d.mts} +38 -38
  86. package/dist/{index-09eal6WI2.d.mts → index-hm8NV4CJ2.d.mts} +7 -7
  87. package/dist/kernel/cli/index.mjs +1 -1
  88. package/dist/kernel/cli/register.mjs +1 -1
  89. package/dist/kernel/cli/schemas.mjs +1 -1
  90. package/dist/kernel/extension/index.d.mts +1 -1
  91. package/dist/kernel/extension/index.mjs +1 -1
  92. package/dist/kernel/index.d.mts +2 -2
  93. package/dist/kernel/index.mjs +1 -1
  94. package/dist/kernel/namespace/index.mjs +1 -1
  95. package/dist/kernel/observability/index.d.mts +1 -1
  96. package/dist/kernel/observability/index.mjs +1 -1
  97. package/dist/kernel/providers/index.mjs +1 -1
  98. package/dist/kernel/window/index.mjs +1 -1
  99. package/dist/kind-registration-BanX_UAF.mjs +1 -0
  100. package/dist/{materialization-BwC7pVg2.mjs → materialization--bg6ZwQd.mjs} +1 -1
  101. package/dist/mcp-http-server/index.mjs +1 -1
  102. package/dist/model-Dya0clsM.mjs +1 -0
  103. package/dist/{namespace-wuGMWlyz.d.mts → namespace-B0_Sg-1m.d.mts} +2 -2
  104. package/dist/{namespace-CnRcpgJ8.mjs → namespace-CD9mJGhU.mjs} +1 -1
  105. package/dist/{namespace-BYsKOw-g.d.mts → namespace-CY-9Evdf.d.mts} +3 -3
  106. package/dist/{namespace-B1sjokHd.d.mts → namespace-CfA0C0JR.d.mts} +2 -2
  107. package/dist/namespace-D53UGrP6.mjs +1 -0
  108. package/dist/{namespace-Cy62a3YP.d.mts → namespace-Dmbm2JzV.d.mts} +2 -2
  109. package/dist/{native-session-supervisor-B0rziwHI.mjs → native-session-supervisor-i3PeijHn.mjs} +1 -1
  110. package/dist/{orchestrator-shared-CmS8iU9_.mjs → orchestrator-shared-DMldWEah.mjs} +1 -1
  111. package/dist/{ownership-memory-handler-DMirNILL.mjs → ownership-memory-handler-LXaweX6V.mjs} +1 -1
  112. package/dist/{package-Co36_pRw.mjs → package-BFto8lbP.mjs} +1 -1
  113. package/dist/package-BT94BLu4.mjs +7 -0
  114. package/dist/{package-Bl0mcGb8.d.mts → package-BaTrCWZl.d.mts} +46 -42
  115. package/dist/package.json +1 -1
  116. package/dist/packages-DAw3Z011.mjs +1 -0
  117. package/dist/{profile-C9RV7ao-.mjs → profile-Cjq4QnUQ.mjs} +1 -1
  118. package/dist/{provider-context-BPITm0cn.mjs → provider-context-BpabfMlj.mjs} +1 -1
  119. package/dist/{provider-context-CyGvwXPz.mjs → provider-context-CYUUoI6x.mjs} +1 -1
  120. package/dist/{resolved-M6PyrgFr.mjs → resolved-XQTiHgrA.mjs} +1 -1
  121. package/dist/runtime-node/index.d.mts +1 -1
  122. package/dist/runtime-node/index.mjs +1 -1
  123. package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -1
  124. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  125. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  126. package/dist/{schema-DrHrto2J.mjs → schema-BVbkNHVQ.mjs} +1 -1
  127. package/dist/{schemas-DGKWi7mk.d.mts → schemas-CQe4xCRn.d.mts} +2 -2
  128. package/dist/{schemas-D2HmGmCt.d.mts → schemas-CSeLgroC.d.mts} +1 -1
  129. package/dist/{schemas-DRho446W.mjs → schemas-NKlV5jqJ.mjs} +1 -1
  130. package/dist/{schemas-DyZNwquY.mjs → schemas-QEr2LI43.mjs} +1 -1
  131. package/dist/{schemas-CvUe_yff.d.mts → schemas-bcDK-fK3.d.mts} +18 -9
  132. package/dist/{schemas-CQKfd2Xd.mjs → schemas-pHboaOxJ.mjs} +1 -1
  133. package/dist/{schemas-BYyT43gX.d.mts → schemas-yXs929kr.d.mts} +3 -3
  134. package/dist/{selection-BDs7K53w.mjs → selection-D7V0wyHX.mjs} +1 -1
  135. package/dist/services/adapter-runtime/index.d.mts +3 -3
  136. package/dist/services/adapter-runtime/index.mjs +1 -1
  137. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  138. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  139. package/dist/services/adapter-subsystem/index.mjs +1 -1
  140. package/dist/services/adapter-subsystem/namespace.mjs +1 -1
  141. package/dist/services/agent-runtime/index.d.mts +2 -2
  142. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  143. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  144. package/dist/services/context-rules/index.d.mts +3 -3
  145. package/dist/services/execution-target/index.mjs +1 -1
  146. package/dist/services/execution-target/namespace.mjs +1 -1
  147. package/dist/services/execution-target/schemas.mjs +1 -1
  148. package/dist/services/harness/index.d.mts +3 -3
  149. package/dist/services/index.d.mts +14 -14
  150. package/dist/services/index.mjs +1 -1
  151. package/dist/services/materialization/index.mjs +1 -1
  152. package/dist/services/provider-context/index.mjs +1 -1
  153. package/dist/services/session/handlers/index.mjs +1 -1
  154. package/dist/services/session/index.d.mts +1 -1
  155. package/dist/services/session/index.mjs +1 -1
  156. package/dist/services/session/messages/namespace.d.mts +1 -1
  157. package/dist/services/session/messages/namespace.mjs +1 -1
  158. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  159. package/dist/services/session/session-events/namespace.mjs +1 -1
  160. package/dist/services/session/testing/index.mjs +1 -1
  161. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  162. package/dist/services/session/turns/namespace.mjs +1 -1
  163. package/dist/services/session-editor/index.mjs +1 -1
  164. package/dist/services/settings/index.mjs +1 -1
  165. package/dist/services/settings/storage/clients-namespace.mjs +1 -1
  166. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  167. package/dist/services/settings/storage/index.mjs +1 -1
  168. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  169. package/dist/services/subagent/index.mjs +1 -1
  170. package/dist/services/subagent-template/index.d.mts +2 -2
  171. package/dist/services/subagent-template/namespace.d.mts +1 -1
  172. package/dist/services/subagent-template/schemas.d.mts +1 -1
  173. package/dist/services/tool-approval/index.mjs +1 -1
  174. package/dist/services/tools/index.mjs +1 -1
  175. package/dist/services/workflow-transitions/index.mjs +1 -1
  176. package/dist/{session-Cn8z1hxD.mjs → session-CAKfa5o8.mjs} +1 -1
  177. package/dist/{session-9C42TPQq.mjs → session-CODDwsGa.mjs} +1 -1
  178. package/dist/{shared-DqvfJVYk.mjs → shared-CkCrHz66.mjs} +1 -1
  179. package/dist/{skill-BmRp8GhW.mjs → skill-91kZNQnF.mjs} +1 -1
  180. package/dist/{tool-approval-service-DchkAdAr.mjs → tool-approval-service-BV3WxxX6.mjs} +1 -1
  181. package/dist/{tools-r50UBPJ9.mjs → tools-CElCajoS.mjs} +1 -1
  182. package/dist/{transition-CgsrmsfE.d.mts → transition-bYkXnLY2.d.mts} +1 -1
  183. package/dist/{types-ZvPhKp3j.d.mts → types-BNKqcHfP.d.mts} +5 -5
  184. package/dist/{version-sDSWOMn_.mjs → version-DdGhNoY5.mjs} +1 -1
  185. package/dist/{view-builder-D54kvyf7.d.mts → view-builder-CA5qUx85.d.mts} +10 -10
  186. package/dist/{visibility-syKffo3e.mjs → visibility-cMXbf9nY.mjs} +1 -1
  187. package/dist/{worker-DRQGyWAS.mjs → worker-B0xwfo9-.mjs} +1 -1
  188. package/dist/{worker-DzbPk2YI.mjs → worker-Cx1JDOB9.mjs} +1 -1
  189. package/dist/{workflow-D-yrAZW8.mjs → workflow-5yHn_Knq.mjs} +1 -1
  190. package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
  191. package/dist/workflow-engine/index.d.mts +70 -70
  192. package/dist/workflow-engine/index.mjs +1 -1
  193. package/dist/workflow-engine/package.d.mts +1 -1
  194. package/dist/workflow-engine/package.mjs +1 -1
  195. package/dist/workflow-engine/provider-operation.d.mts +1 -1
  196. package/dist/workflow-engine/testing/conformance.d.mts +1 -1
  197. package/dist/workflow-engine/testing/index.d.mts +15 -4
  198. package/dist/workflow-engine/testing/index.mjs +1 -1
  199. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  200. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  201. package/dist/{workflow-transitions-D5RvMSnf.mjs → workflow-transitions-DH246j6E.mjs} +1 -1
  202. package/dist/workflow-worker-BAO7pQpx.mjs +2 -0
  203. package/package.json +1 -1
  204. package/dist/artifact-_pN73_7c.mjs +0 -1
  205. package/dist/authority-state-bootstrap-DgoHPc9J.mjs +0 -1
  206. package/dist/kind-registration-DggkrLkv.mjs +0 -1
  207. package/dist/model-Cn1IFEP8.mjs +0 -1
  208. package/dist/namespace-DFc1nkal.mjs +0 -1
  209. package/dist/package-B-xpYKe8.mjs +0 -7
  210. package/dist/packages-COqPg5TI.mjs +0 -1
  211. package/dist/workflow-worker-CrnDwpkP.mjs +0 -2
  212. /package/dist/{ajv-IlnfOGAj.mjs → ajv-Dz-0DD7m.mjs} +0 -0
  213. /package/dist/{attach-error-DOlUtquX.mjs → attach-error-D5BWfaBO.mjs} +0 -0
  214. /package/dist/{capability-BQHyskJB.mjs → capability-BnQx1BWc.mjs} +0 -0
  215. /package/dist/{common-CylczUIW.mjs → common-Bta2ivrd.mjs} +0 -0
  216. /package/dist/{definitions-2T95Q-y6.mjs → definitions-CyFaNG_c.mjs} +0 -0
  217. /package/dist/{extension-namespace-CWfV3IiR.mjs → extension-namespace-AaHKv6tQ.mjs} +0 -0
  218. /package/dist/{facet-6tnSbjXc.mjs → facet-De-2AP_o.mjs} +0 -0
  219. /package/dist/{host-D7v3YlDG.mjs → host-CbaJg6D4.mjs} +0 -0
  220. /package/dist/{identity-CxMRRAXx.mjs → identity-B6RqbCn7.mjs} +0 -0
  221. /package/dist/{model-registry-BTjKBCCw.mjs → model-registry-DVTFd0RF.mjs} +0 -0
  222. /package/dist/{modes-Bo9Vv5c9.mjs → modes-Dc9_sSbr.mjs} +0 -0
  223. /package/dist/{namespace-DX3QsYpv.mjs → namespace-BZ7UQmW4.mjs} +0 -0
  224. /package/dist/{namespace-Dyxpur8_.mjs → namespace-BnNBM94X.mjs} +0 -0
  225. /package/dist/{namespace-DORNUF0_.mjs → namespace-DGi7tw_W.mjs} +0 -0
  226. /package/dist/{namespace-BCSJz417.mjs → namespace-KYIbWPvl.mjs} +0 -0
  227. /package/dist/{ownership-recovery-guard-CYA5CsiO.mjs → ownership-recovery-guard-BIB5uqgz.mjs} +0 -0
  228. /package/dist/{platform-BdLHWgVc.mjs → platform-BObC-WJA.mjs} +0 -0
  229. /package/dist/{providers-DGTA-lki.mjs → providers-BysYiNMO.mjs} +0 -0
  230. /package/dist/{reaction-aQJGWUWl.mjs → reaction-Cev6JNcb.mjs} +0 -0
  231. /package/dist/{schema-mXXJcaQT.mjs → schema-bfw9nz8B.mjs} +0 -0
  232. /package/dist/{schema-introspection-BsWP1vGC.mjs → schema-introspection-BTS7FZT_.mjs} +0 -0
  233. /package/dist/{schemas-HffXbw8C.mjs → schemas-A2hlgeNu.mjs} +0 -0
  234. /package/dist/{schemas-NYUz8K9Q.mjs → schemas-B3UNnzKG.mjs} +0 -0
  235. /package/dist/{schemas-7fHmNUQc.mjs → schemas-BEDq3Psz.mjs} +0 -0
  236. /package/dist/{schemas-MIYusvwn.mjs → schemas-mLjTSUvJ.mjs} +0 -0
  237. /package/dist/{semver-_h8-BJ8k.mjs → semver-ByPlHR3P.mjs} +0 -0
  238. /package/dist/{shared-schemas-CaL1iEk6.mjs → shared-schemas-CKsgVsGX.mjs} +0 -0
  239. /package/dist/{storage-namespace-definition-4UYuij1r.mjs → storage-namespace-definition-Ct9ohqU0.mjs} +0 -0
  240. /package/dist/{telemetry-BLYrkonr.mjs → telemetry-Be3u4I7b.mjs} +0 -0
  241. /package/dist/{timeout-d0dzIY3V.mjs → timeout-Bscg1B-y.mjs} +0 -0
  242. /package/dist/{ui-config-CsH94fwa.mjs → ui-config-Bl2Wbkr-.mjs} +0 -0
  243. /package/dist/{variant-BZ9UcJBi.mjs → variant-B5j5wR2p.mjs} +0 -0
  244. /package/dist/{window-registry-DQkv5wM9.mjs → window-registry-DWHz8TA5.mjs} +0 -0
@@ -17,8 +17,8 @@ declare const ClientExecutionContextSchema: z.ZodObject<{
17
17
  env: z.ZodRecord<z.ZodString, z.ZodString>;
18
18
  configDir: z.ZodNullable<z.ZodString>;
19
19
  source: z.ZodEnum<{
20
- managed: "managed";
21
20
  global: "global";
21
+ managed: "managed";
22
22
  }>;
23
23
  version: z.ZodNullable<z.ZodString>;
24
24
  }, z.core.$strip>;
@@ -39,8 +39,8 @@ declare const ClientResolveBinarySchema: {
39
39
  sessionId: z.ZodOptional<z.ZodString>;
40
40
  projectDir: z.ZodOptional<z.ZodString>;
41
41
  preferSource: z.ZodOptional<z.ZodEnum<{
42
- managed: "managed";
43
42
  global: "global";
43
+ managed: "managed";
44
44
  }>>;
45
45
  harnessId: z.ZodOptional<z.ZodString>;
46
46
  }, z.core.$strip>;
@@ -49,8 +49,8 @@ declare const ClientResolveBinarySchema: {
49
49
  env: z.ZodRecord<z.ZodString, z.ZodString>;
50
50
  configDir: z.ZodNullable<z.ZodString>;
51
51
  source: z.ZodEnum<{
52
- managed: "managed";
53
52
  global: "global";
53
+ managed: "managed";
54
54
  }>;
55
55
  version: z.ZodNullable<z.ZodString>;
56
56
  }, z.core.$strip>;
@@ -698,8 +698,8 @@ declare const ClientSchemas: {
698
698
  sessionId: z.ZodOptional<z.ZodString>;
699
699
  projectDir: z.ZodOptional<z.ZodString>;
700
700
  preferSource: z.ZodOptional<z.ZodEnum<{
701
- managed: "managed";
702
701
  global: "global";
702
+ managed: "managed";
703
703
  }>>;
704
704
  harnessId: z.ZodOptional<z.ZodString>;
705
705
  }, z.core.$strip>;
@@ -708,8 +708,8 @@ declare const ClientSchemas: {
708
708
  env: z.ZodRecord<z.ZodString, z.ZodString>;
709
709
  configDir: z.ZodNullable<z.ZodString>;
710
710
  source: z.ZodEnum<{
711
- managed: "managed";
712
711
  global: "global";
712
+ managed: "managed";
713
713
  }>;
714
714
  version: z.ZodNullable<z.ZodString>;
715
715
  }, z.core.$strip>;
@@ -2268,8 +2268,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2268
2268
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2269
2269
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
2270
2270
  preferSource: _$zod.ZodOptional<_$zod.ZodEnum<{
2271
- managed: "managed";
2272
2271
  global: "global";
2272
+ managed: "managed";
2273
2273
  }>>;
2274
2274
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
2275
2275
  }, _$zod_v4_core0.$strip>;
@@ -2278,8 +2278,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2278
2278
  env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
2279
2279
  configDir: _$zod.ZodNullable<_$zod.ZodString>;
2280
2280
  source: _$zod.ZodEnum<{
2281
- managed: "managed";
2282
2281
  global: "global";
2282
+ managed: "managed";
2283
2283
  }>;
2284
2284
  version: _$zod.ZodNullable<_$zod.ZodString>;
2285
2285
  }, _$zod_v4_core0.$strip>;
@@ -2908,8 +2908,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2908
2908
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2909
2909
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
2910
2910
  preferSource: _$zod.ZodOptional<_$zod.ZodEnum<{
2911
- managed: "managed";
2912
2911
  global: "global";
2912
+ managed: "managed";
2913
2913
  }>>;
2914
2914
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
2915
2915
  }, _$zod_v4_core0.$strip>;
@@ -2918,8 +2918,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2918
2918
  env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
2919
2919
  configDir: _$zod.ZodNullable<_$zod.ZodString>;
2920
2920
  source: _$zod.ZodEnum<{
2921
- managed: "managed";
2922
2921
  global: "global";
2922
+ managed: "managed";
2923
2923
  }>;
2924
2924
  version: _$zod.ZodNullable<_$zod.ZodString>;
2925
2925
  }, _$zod_v4_core0.$strip>;
@@ -1,5 +1,5 @@
1
1
  import { i as CliContribution } from "./types-nor1SQLZ.mjs";
2
- import { c as ExtensionInfo } from "./index-DU9Y9tes2.mjs";
2
+ import { c as ExtensionInfo } from "./index-Dckvm0Ml2.mjs";
3
3
  import { r as WindowRegistry } from "./window-registry-DQ7udUzI.mjs";
4
4
  import { ExtensionContributionProcessor, ExtensionService, ExtensionToken, MakaioExtension, NodeExtensionContext, StorageDialect, TrayManifest, VersionLiteral } from "@makaio/framework/contracts";
5
5
  import { IMakaioBus } from "@makaio/framework/bus";
@@ -1,6 +1,6 @@
1
1
  import { a as JsonObjectContractSchema } from "./json-value-BKUDMT7k.mjs";
2
2
  import { o as ICapabilityProvider } from "./index-Du-eXjEN.mjs";
3
- import { Qt as WorkerContributionManifest, ln as WorkflowWorkerConfig, sn as WorkflowWorkerBusAuth } from "./index-MtDz_goH.mjs";
3
+ import { Qt as WorkerContributionManifest, fn as WorkflowWorkerConfig, un as WorkflowWorkerBusAuth } from "./index-BxJRljy-.mjs";
4
4
  import { t as WorkerRuntimeInputs } from "./runtime-inputs-DeOea-ab.mjs";
5
5
  import * as _$zod from "zod";
6
6
  import { z } from "zod";
@@ -311,8 +311,8 @@ declare const VCSCheckRunSchema: z.ZodObject<{
311
311
  conclusion: z.ZodNullable<z.ZodEnum<{
312
312
  success: "success";
313
313
  cancelled: "cancelled";
314
- timed_out: "timed_out";
315
314
  failure: "failure";
315
+ timed_out: "timed_out";
316
316
  neutral: "neutral";
317
317
  skipped: "skipped";
318
318
  action_required: "action_required";
@@ -567,8 +567,8 @@ declare const VCSSchemas: {
567
567
  conclusion: z.ZodNullable<z.ZodEnum<{
568
568
  success: "success";
569
569
  cancelled: "cancelled";
570
- timed_out: "timed_out";
571
570
  failure: "failure";
571
+ timed_out: "timed_out";
572
572
  neutral: "neutral";
573
573
  skipped: "skipped";
574
574
  action_required: "action_required";
@@ -1129,8 +1129,8 @@ declare const VCSNamespace: _$_makaio_core0.BusNamespaceDefinition<"vcs", {
1129
1129
  conclusion: _$zod.ZodNullable<_$zod.ZodEnum<{
1130
1130
  success: "success";
1131
1131
  cancelled: "cancelled";
1132
- timed_out: "timed_out";
1133
1132
  failure: "failure";
1133
+ timed_out: "timed_out";
1134
1134
  neutral: "neutral";
1135
1135
  skipped: "skipped";
1136
1136
  action_required: "action_required";
@@ -1422,8 +1422,8 @@ declare const VCSSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubje
1422
1422
  conclusion: _$zod.ZodNullable<_$zod.ZodEnum<{
1423
1423
  success: "success";
1424
1424
  cancelled: "cancelled";
1425
- timed_out: "timed_out";
1426
1425
  failure: "failure";
1426
+ timed_out: "timed_out";
1427
1427
  neutral: "neutral";
1428
1428
  skipped: "skipped";
1429
1429
  action_required: "action_required";
@@ -1648,8 +1648,8 @@ declare function unregisterVCSProvider(bus: MakaioBusLike, providerId: string):
1648
1648
  * Lifecycle states for a review finding.
1649
1649
  */
1650
1650
  declare const FindingStatusSchema: z.ZodEnum<{
1651
- open: "open";
1652
1651
  verified: "verified";
1652
+ open: "open";
1653
1653
  addressed: "addressed";
1654
1654
  dismissed: "dismissed";
1655
1655
  deferred: "deferred";
@@ -1733,8 +1733,8 @@ declare const ReviewFindingSchema: z.ZodObject<{
1733
1733
  newCode: z.ZodString;
1734
1734
  }, z.core.$strip>>;
1735
1735
  status: z.ZodEnum<{
1736
- open: "open";
1737
1736
  verified: "verified";
1737
+ open: "open";
1738
1738
  addressed: "addressed";
1739
1739
  dismissed: "dismissed";
1740
1740
  deferred: "deferred";
@@ -1911,8 +1911,8 @@ declare const ReviewSchemas: {
1911
1911
  newCode: z.ZodString;
1912
1912
  }, z.core.$strip>>;
1913
1913
  status: z.ZodEnum<{
1914
- open: "open";
1915
1914
  verified: "verified";
1915
+ open: "open";
1916
1916
  addressed: "addressed";
1917
1917
  dismissed: "dismissed";
1918
1918
  deferred: "deferred";
@@ -1943,8 +1943,8 @@ declare const ReviewSchemas: {
1943
1943
  headSha: z.ZodOptional<z.ZodString>;
1944
1944
  }, z.core.$strip>;
1945
1945
  status: z.ZodOptional<z.ZodEnum<{
1946
- open: "open";
1947
1946
  verified: "verified";
1947
+ open: "open";
1948
1948
  addressed: "addressed";
1949
1949
  dismissed: "dismissed";
1950
1950
  deferred: "deferred";
@@ -1986,8 +1986,8 @@ declare const ReviewSchemas: {
1986
1986
  newCode: z.ZodString;
1987
1987
  }, z.core.$strip>>;
1988
1988
  status: z.ZodEnum<{
1989
- open: "open";
1990
1989
  verified: "verified";
1990
+ open: "open";
1991
1991
  addressed: "addressed";
1992
1992
  dismissed: "dismissed";
1993
1993
  deferred: "deferred";
@@ -2048,8 +2048,8 @@ declare const ReviewSchemas: {
2048
2048
  }>;
2049
2049
  id: z.ZodString;
2050
2050
  status: z.ZodEnum<{
2051
- open: "open";
2052
2051
  verified: "verified";
2052
+ open: "open";
2053
2053
  addressed: "addressed";
2054
2054
  dismissed: "dismissed";
2055
2055
  deferred: "deferred";
@@ -2113,8 +2113,8 @@ declare const ReviewSchemas: {
2113
2113
  newCode: z.ZodString;
2114
2114
  }, z.core.$strip>>;
2115
2115
  status: z.ZodEnum<{
2116
- open: "open";
2117
2116
  verified: "verified";
2117
+ open: "open";
2118
2118
  addressed: "addressed";
2119
2119
  dismissed: "dismissed";
2120
2120
  deferred: "deferred";
@@ -2144,8 +2144,8 @@ declare const ReviewSchemas: {
2144
2144
  headSha: z.ZodOptional<z.ZodString>;
2145
2145
  }, z.core.$strip>;
2146
2146
  status: z.ZodEnum<{
2147
- open: "open";
2148
2147
  verified: "verified";
2148
+ open: "open";
2149
2149
  addressed: "addressed";
2150
2150
  dismissed: "dismissed";
2151
2151
  deferred: "deferred";
@@ -2190,8 +2190,8 @@ declare const ReviewSchemas: {
2190
2190
  newCode: z.ZodString;
2191
2191
  }, z.core.$strip>>;
2192
2192
  status: z.ZodEnum<{
2193
- open: "open";
2194
2193
  verified: "verified";
2194
+ open: "open";
2195
2195
  addressed: "addressed";
2196
2196
  dismissed: "dismissed";
2197
2197
  deferred: "deferred";
@@ -2247,8 +2247,8 @@ declare const ReviewSchemas: {
2247
2247
  newCode: z.ZodString;
2248
2248
  }, z.core.$strip>>;
2249
2249
  status: z.ZodEnum<{
2250
- open: "open";
2251
2250
  verified: "verified";
2251
+ open: "open";
2252
2252
  addressed: "addressed";
2253
2253
  dismissed: "dismissed";
2254
2254
  deferred: "deferred";
@@ -2262,8 +2262,8 @@ declare const ReviewSchemas: {
2262
2262
  rawCommentId: z.ZodNullable<z.ZodNumber>;
2263
2263
  }, z.core.$strip>;
2264
2264
  previousStatus: z.ZodEnum<{
2265
- open: "open";
2266
2265
  verified: "verified";
2266
+ open: "open";
2267
2267
  addressed: "addressed";
2268
2268
  dismissed: "dismissed";
2269
2269
  deferred: "deferred";
@@ -2607,8 +2607,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2607
2607
  newCode: _$zod.ZodString;
2608
2608
  }, _$zod_v4_core0.$strip>>;
2609
2609
  status: _$zod.ZodEnum<{
2610
- open: "open";
2611
2610
  verified: "verified";
2611
+ open: "open";
2612
2612
  addressed: "addressed";
2613
2613
  dismissed: "dismissed";
2614
2614
  deferred: "deferred";
@@ -2634,8 +2634,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2634
2634
  headSha: _$zod.ZodOptional<_$zod.ZodString>;
2635
2635
  }, _$zod_v4_core0.$strip>;
2636
2636
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
2637
- open: "open";
2638
2637
  verified: "verified";
2638
+ open: "open";
2639
2639
  addressed: "addressed";
2640
2640
  dismissed: "dismissed";
2641
2641
  deferred: "deferred";
@@ -2677,8 +2677,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2677
2677
  newCode: _$zod.ZodString;
2678
2678
  }, _$zod_v4_core0.$strip>>;
2679
2679
  status: _$zod.ZodEnum<{
2680
- open: "open";
2681
2680
  verified: "verified";
2681
+ open: "open";
2682
2682
  addressed: "addressed";
2683
2683
  dismissed: "dismissed";
2684
2684
  deferred: "deferred";
@@ -2725,8 +2725,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2725
2725
  }>;
2726
2726
  id: _$zod.ZodString;
2727
2727
  status: _$zod.ZodEnum<{
2728
- open: "open";
2729
2728
  verified: "verified";
2729
+ open: "open";
2730
2730
  addressed: "addressed";
2731
2731
  dismissed: "dismissed";
2732
2732
  deferred: "deferred";
@@ -2790,8 +2790,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2790
2790
  newCode: _$zod.ZodString;
2791
2791
  }, _$zod_v4_core0.$strip>>;
2792
2792
  status: _$zod.ZodEnum<{
2793
- open: "open";
2794
2793
  verified: "verified";
2794
+ open: "open";
2795
2795
  addressed: "addressed";
2796
2796
  dismissed: "dismissed";
2797
2797
  deferred: "deferred";
@@ -2816,8 +2816,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2816
2816
  headSha: _$zod.ZodOptional<_$zod.ZodString>;
2817
2817
  }, _$zod_v4_core0.$strip>;
2818
2818
  status: _$zod.ZodEnum<{
2819
- open: "open";
2820
2819
  verified: "verified";
2820
+ open: "open";
2821
2821
  addressed: "addressed";
2822
2822
  dismissed: "dismissed";
2823
2823
  deferred: "deferred";
@@ -2862,8 +2862,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2862
2862
  newCode: _$zod.ZodString;
2863
2863
  }, _$zod_v4_core0.$strip>>;
2864
2864
  status: _$zod.ZodEnum<{
2865
- open: "open";
2866
2865
  verified: "verified";
2866
+ open: "open";
2867
2867
  addressed: "addressed";
2868
2868
  dismissed: "dismissed";
2869
2869
  deferred: "deferred";
@@ -2914,8 +2914,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2914
2914
  newCode: _$zod.ZodString;
2915
2915
  }, _$zod_v4_core0.$strip>>;
2916
2916
  status: _$zod.ZodEnum<{
2917
- open: "open";
2918
2917
  verified: "verified";
2918
+ open: "open";
2919
2919
  addressed: "addressed";
2920
2920
  dismissed: "dismissed";
2921
2921
  deferred: "deferred";
@@ -2929,8 +2929,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2929
2929
  rawCommentId: _$zod.ZodNullable<_$zod.ZodNumber>;
2930
2930
  }, _$zod_v4_core0.$strip>;
2931
2931
  previousStatus: _$zod.ZodEnum<{
2932
- open: "open";
2933
2932
  verified: "verified";
2933
+ open: "open";
2934
2934
  addressed: "addressed";
2935
2935
  dismissed: "dismissed";
2936
2936
  deferred: "deferred";
@@ -3059,8 +3059,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3059
3059
  newCode: _$zod.ZodString;
3060
3060
  }, _$zod_v4_core0.$strip>>;
3061
3061
  status: _$zod.ZodEnum<{
3062
- open: "open";
3063
3062
  verified: "verified";
3063
+ open: "open";
3064
3064
  addressed: "addressed";
3065
3065
  dismissed: "dismissed";
3066
3066
  deferred: "deferred";
@@ -3086,8 +3086,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3086
3086
  headSha: _$zod.ZodOptional<_$zod.ZodString>;
3087
3087
  }, _$zod_v4_core0.$strip>;
3088
3088
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
3089
- open: "open";
3090
3089
  verified: "verified";
3090
+ open: "open";
3091
3091
  addressed: "addressed";
3092
3092
  dismissed: "dismissed";
3093
3093
  deferred: "deferred";
@@ -3129,8 +3129,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3129
3129
  newCode: _$zod.ZodString;
3130
3130
  }, _$zod_v4_core0.$strip>>;
3131
3131
  status: _$zod.ZodEnum<{
3132
- open: "open";
3133
3132
  verified: "verified";
3133
+ open: "open";
3134
3134
  addressed: "addressed";
3135
3135
  dismissed: "dismissed";
3136
3136
  deferred: "deferred";
@@ -3177,8 +3177,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3177
3177
  }>;
3178
3178
  id: _$zod.ZodString;
3179
3179
  status: _$zod.ZodEnum<{
3180
- open: "open";
3181
3180
  verified: "verified";
3181
+ open: "open";
3182
3182
  addressed: "addressed";
3183
3183
  dismissed: "dismissed";
3184
3184
  deferred: "deferred";
@@ -3242,8 +3242,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3242
3242
  newCode: _$zod.ZodString;
3243
3243
  }, _$zod_v4_core0.$strip>>;
3244
3244
  status: _$zod.ZodEnum<{
3245
- open: "open";
3246
3245
  verified: "verified";
3246
+ open: "open";
3247
3247
  addressed: "addressed";
3248
3248
  dismissed: "dismissed";
3249
3249
  deferred: "deferred";
@@ -3268,8 +3268,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3268
3268
  headSha: _$zod.ZodOptional<_$zod.ZodString>;
3269
3269
  }, _$zod_v4_core0.$strip>;
3270
3270
  status: _$zod.ZodEnum<{
3271
- open: "open";
3272
3271
  verified: "verified";
3272
+ open: "open";
3273
3273
  addressed: "addressed";
3274
3274
  dismissed: "dismissed";
3275
3275
  deferred: "deferred";
@@ -3314,8 +3314,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3314
3314
  newCode: _$zod.ZodString;
3315
3315
  }, _$zod_v4_core0.$strip>>;
3316
3316
  status: _$zod.ZodEnum<{
3317
- open: "open";
3318
3317
  verified: "verified";
3318
+ open: "open";
3319
3319
  addressed: "addressed";
3320
3320
  dismissed: "dismissed";
3321
3321
  deferred: "deferred";
@@ -3366,8 +3366,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3366
3366
  newCode: _$zod.ZodString;
3367
3367
  }, _$zod_v4_core0.$strip>>;
3368
3368
  status: _$zod.ZodEnum<{
3369
- open: "open";
3370
3369
  verified: "verified";
3370
+ open: "open";
3371
3371
  addressed: "addressed";
3372
3372
  dismissed: "dismissed";
3373
3373
  deferred: "deferred";
@@ -3381,8 +3381,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3381
3381
  rawCommentId: _$zod.ZodNullable<_$zod.ZodNumber>;
3382
3382
  }, _$zod_v4_core0.$strip>;
3383
3383
  previousStatus: _$zod.ZodEnum<{
3384
- open: "open";
3385
3384
  verified: "verified";
3385
+ open: "open";
3386
3386
  addressed: "addressed";
3387
3387
  dismissed: "dismissed";
3388
3388
  deferred: "deferred";
@@ -6143,9 +6143,9 @@ declare const ALLOCATION_STATES: readonly ["unknown", "provisioning", "ready", "
6143
6143
  */
6144
6144
  declare const AllocationStateSchema: z.ZodEnum<{
6145
6145
  unknown: "unknown";
6146
+ running: "running";
6146
6147
  provisioning: "provisioning";
6147
6148
  ready: "ready";
6148
- running: "running";
6149
6149
  suspended: "suspended";
6150
6150
  terminal: "terminal";
6151
6151
  absent: "absent";
@@ -6170,9 +6170,9 @@ type AllocationState = z.infer<typeof AllocationStateSchema>;
6170
6170
  declare const AllocationInspectionSchema: z.ZodObject<{
6171
6171
  state: z.ZodEnum<{
6172
6172
  unknown: "unknown";
6173
+ running: "running";
6173
6174
  provisioning: "provisioning";
6174
6175
  ready: "ready";
6175
- running: "running";
6176
6176
  suspended: "suspended";
6177
6177
  terminal: "terminal";
6178
6178
  absent: "absent";
@@ -6797,9 +6797,9 @@ type OutcomeAckDecision = 'accepted' | 'duplicate' | 'conflict' | 'fenced';
6797
6797
  * Zod schema for outcome ACK decisions.
6798
6798
  */
6799
6799
  declare const OutcomeAckDecisionSchema: z.ZodEnum<{
6800
- duplicate: "duplicate";
6801
- fenced: "fenced";
6802
6800
  accepted: "accepted";
6801
+ fenced: "fenced";
6802
+ duplicate: "duplicate";
6803
6803
  conflict: "conflict";
6804
6804
  }>;
6805
6805
  /**
@@ -27,8 +27,8 @@ type MakaioVariant = z.infer<typeof MakaioVariantSchema>;
27
27
  */
28
28
  declare const VariantUpgradeStatusSchema: z.ZodEnum<{
29
29
  error: "error";
30
- downloading: "downloading";
31
30
  progress: "progress";
31
+ downloading: "downloading";
32
32
  applying: "applying";
33
33
  complete: "complete";
34
34
  }>;
@@ -58,8 +58,8 @@ declare const VariantSchemas: {
58
58
  }>;
59
59
  bundleCEF: z.ZodBoolean;
60
60
  defaultRenderer: z.ZodEnum<{
61
- cef: "cef";
62
61
  native: "native";
62
+ cef: "cef";
63
63
  }>;
64
64
  }, z.core.$strip>;
65
65
  };
@@ -101,8 +101,8 @@ declare const VariantSchemas: {
101
101
  upgradeProgress: z.ZodObject<{
102
102
  status: z.ZodEnum<{
103
103
  error: "error";
104
- downloading: "downloading";
105
104
  progress: "progress";
105
+ downloading: "downloading";
106
106
  applying: "applying";
107
107
  complete: "complete";
108
108
  }>;
@@ -134,8 +134,8 @@ declare const VariantNamespace: _$_makaio_core0.BusNamespaceDefinition<"host:var
134
134
  }>;
135
135
  bundleCEF: _$zod.ZodBoolean;
136
136
  defaultRenderer: _$zod.ZodEnum<{
137
- cef: "cef";
138
137
  native: "native";
138
+ cef: "cef";
139
139
  }>;
140
140
  }, _$zod_v4_core0.$strip>;
141
141
  };
@@ -158,8 +158,8 @@ declare const VariantNamespace: _$_makaio_core0.BusNamespaceDefinition<"host:var
158
158
  upgradeProgress: _$zod.ZodObject<{
159
159
  status: _$zod.ZodEnum<{
160
160
  error: "error";
161
- downloading: "downloading";
162
161
  progress: "progress";
162
+ downloading: "downloading";
163
163
  applying: "applying";
164
164
  complete: "complete";
165
165
  }>;
@@ -181,8 +181,8 @@ declare const VariantSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
181
181
  }>;
182
182
  bundleCEF: _$zod.ZodBoolean;
183
183
  defaultRenderer: _$zod.ZodEnum<{
184
- cef: "cef";
185
184
  native: "native";
185
+ cef: "cef";
186
186
  }>;
187
187
  }, _$zod_v4_core0.$strip>;
188
188
  };
@@ -205,8 +205,8 @@ declare const VariantSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
205
205
  upgradeProgress: _$zod.ZodObject<{
206
206
  status: _$zod.ZodEnum<{
207
207
  error: "error";
208
- downloading: "downloading";
209
208
  progress: "progress";
209
+ downloading: "downloading";
210
210
  applying: "applying";
211
211
  complete: "complete";
212
212
  }>;
@@ -1 +1 @@
1
- import{n as e,t}from"../../namespace-DFc1nkal.mjs";import{i as n,n as r,r as i,t as a}from"../../schema-introspection-BsWP1vGC.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-D53UGrP6.mjs";import{i as n,n as r,r as i,t as a}from"../../schema-introspection-BTS7FZT_.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 +1 @@
1
- import{n as e,t}from"../../namespace-DFc1nkal.mjs";export{t as CliNamespace,e as CliRpcSubjects};
1
+ import{n as e,t}from"../../namespace-D53UGrP6.mjs";export{t as CliNamespace,e as CliRpcSubjects};
@@ -1 +1 @@
1
- import{t as e}from"../../schemas-7fHmNUQc.mjs";export{e as CliSchemas};
1
+ import{t as e}from"../../schemas-BEDq3Psz.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-DzlGAEws.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-Dzozmb5u.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-CAi7bbyv.mjs";export{n as ExtensionCoordinator,e as coalesceExtensionOverrides,t as filterEligibleExtensions};
1
+ import{n as e,r as t,t as n}from"../../extension-D9D8tJQY.mjs";export{n as ExtensionCoordinator,e as coalesceExtensionOverrides,t as filterEligibleExtensions};
@@ -1,5 +1,5 @@
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-DU9Y9tes2.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-DzlGAEws.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-Dckvm0Ml2.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-Dzozmb5u.mjs";
3
3
  import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-DQ7udUzI.mjs";
4
4
  import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../index-Bk0Xjk-B.mjs";
5
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-krTCFThl2.mjs";
@@ -1 +1 @@
1
- import{n as e,r as t,t as n}from"../namespace-DORNUF0_.mjs";import{n as r,t as i}from"../window-registry-DQkv5wM9.mjs";import"./window/index.mjs";import{n as a,r as o,t as s}from"../providers-DGTA-lki.mjs";import{a as c,i as l,n as u,o as d,r as f,t as p}from"../extension-CAi7bbyv.mjs";import{a as m,c as h,n as g,o as _,t as v}from"../extension-namespace-CWfV3IiR.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-DGi7tw_W.mjs";import{n as r,t as i}from"../window-registry-DWHz8TA5.mjs";import"./window/index.mjs";import{n as a,r as o,t as s}from"../providers-BysYiNMO.mjs";import{a as c,i as l,n as u,o as d,r as f,t as p}from"../extension-D9D8tJQY.mjs";import{a as m,c as h,n as g,o as _,t as v}from"../extension-namespace-AaHKv6tQ.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 +1 @@
1
- import{n as e,r as t,t as n}from"../../namespace-DORNUF0_.mjs";export{n as KernelNamespace,t as KernelSchemas,e as KernelSubjects};
1
+ import{n as e,r as t,t as n}from"../../namespace-DGi7tw_W.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-DU9Y9tes2.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-Dckvm0Ml2.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-CWfV3IiR.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-AaHKv6tQ.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 +1 @@
1
- import{n as e,r as t,t as n}from"../../providers-DGTA-lki.mjs";export{n as EphemeralIdentityProvider,t as MemoryStorageProvider,e as NoTransportProvider};
1
+ import{n as e,r as t,t as n}from"../../providers-BysYiNMO.mjs";export{n as EphemeralIdentityProvider,t as MemoryStorageProvider,e as NoTransportProvider};
@@ -1 +1 @@
1
- import{n as e,t}from"../../window-registry-DQkv5wM9.mjs";export{t as STYLE_DEFAULTS,e as WindowRegistry};
1
+ import{n as e,t}from"../../window-registry-DWHz8TA5.mjs";export{t as STYLE_DEFAULTS,e as WindowRegistry};
@@ -0,0 +1 @@
1
+ import{n as e}from"./json-value-DM-EjTC1.mjs";import{z as t}from"zod";function n(e){return r(e)?e:void 0}function r(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function i(e,t){return Object.keys(t).length===0?e:e?t:!1}function a(e,t){if(t===`#`)return e;if(!t.startsWith(`#/`))return;let r=e;for(let e of t.slice(2).split(`/`)){let t=n(r),i=e.replace(/~1/g,`/`).replace(/~0/g,`~`);if(!t||!Object.hasOwn(t,i))return;r=t[i]}return r}function o(e,t){let r=t.$ref;if(typeof r!=`string`)return;let o=a(e,r);if(typeof o==`boolean`){if(e.$schema!==`https://json-schema.org/draft/2020-12/schema`)return o;let{$ref:n,...r}=t;return i(o,r)}let s=n(o);if(!s||e.$schema!==`https://json-schema.org/draft/2020-12/schema`)return s;let{$ref:c,...l}=t;return Object.keys(l).length===0?s:{...s,allOf:[l,...Array.isArray(s.allOf)?s.allOf:[]]}}function s(e,t){for(let[n,r]of Object.entries(t))e[n]=Object.hasOwn(e,n)?{allOf:[e[n],r]}:r}function c(e){return Array.isArray(e.required)?e.required.filter(e=>typeof e==`string`):[]}function l(e,t){let r=n(e.properties);if(!r||!Object.hasOwn(r,t))return;let i=r[t];return typeof i==`boolean`?i:n(i)}function u(e,t,i){if(typeof t.$ref==`string`){if(i.has(t.$ref))return;let n=o(e,t);return r(n)?u(e,n,new Set([...i,t.$ref])):void 0}if(!Array.isArray(t.allOf))return t;let{allOf:a,...l}=t,d={},f={},p=new Set;for(let t of[l,...a]){let r=n(t),a=r?u(e,r,i):void 0;if(!a||a.anyOf||a.oneOf)return;if(a.type!==void 0){if(d.type!==void 0&&d.type!==a.type)return;d.type=a.type}s(f,n(a.properties)??{});for(let e of c(a))p.add(e)}return{...d,properties:f,required:[...p]}}function d(e,t,n,r,i,a,s){if(a.has(n))return;let c=o(e,t);return typeof c==`boolean`?r.length===0?[c]:void 0:c?f(e,c,r,i,new Set([...a,n]),s):void 0}function f(e,t,r,i,a=new Set,o=!1){if(typeof t.$ref==`string`)return d(e,t,t.$ref,r,i,a,o);let s=Array.isArray(t.anyOf)?`anyOf`:`oneOf`,p=t[s];if(Array.isArray(p)){let{[s]:c,...l}=t,u=p.map(t=>{let s=n(t);if(s)return f(e,typeof s.$ref==`string`?{allOf:[l,s]}:{...s,allOf:[l,...Array.isArray(s.allOf)?s.allOf:[]]},r,i,a,o)});return u.every(e=>e!==void 0)?u.flatMap(e=>e??[]):void 0}if(Array.isArray(t.allOf)){let n=u(e,t,a);return n?f(e,n,r,i,a,o):void 0}if(r.length===0)return[t];if(t.type!==`object`&&!(t.type===void 0&&o))return;let[m,...h]=r;if(!m||i&&!c(t).includes(m))return;let g=l(t,m);return typeof g==`boolean`?h.length===0?[g]:void 0:g?f(e,g,h,i):void 0}function p(e,t){return f(e,e,t.split(`.`),!1,new Set,!0)}function m(e,t){return p(e,t)!==void 0}function h(e){let t=[],r=(e,r)=>{let i=n(e);i&&t.push({node:i,path:r})};for(let t of[`properties`,`patternProperties`,`$defs`,`definitions`,`dependentSchemas`,`dependencies`])for(let[i,a]of Object.entries(n(e[t])??{}))r(a,[t,i]);for(let t of[`allOf`,`anyOf`,`oneOf`,`prefixItems`,`items`]){let n=e[t];Array.isArray(n)&&n.forEach((e,n)=>r(e,[t,n]))}for(let t of[`items`,`additionalItems`,`additionalProperties`,`unevaluatedItems`,`unevaluatedProperties`,`propertyNames`,`contains`,`not`,`if`,`then`,`else`,`contentSchema`])r(e[t],[t]);return t}function g(e,t=[`dataSchema`]){if(Array.isArray(e.prefixItems)||Array.isArray(e.items))throw Error(`Unsupported tuple serialization at ${t.join(`.`)}: use an array schema or an explicit JSON Schema registration`);for(let n of h(e))g(n.node,[...t,...n.path])}function _(e,t,n=new Set){if(t.additionalProperties===!1)return!0;if(typeof t.$ref==`string`&&!n.has(t.$ref)){let i=o(e,t);if(i===void 0||r(i)&&_(e,i,new Set([...n,t.$ref])))return!0}return h(t).some(t=>_(e,t.node,n))}function v(e,t,r,i){if(Object.hasOwn(t,`$ref`)&&typeof t.$ref!=`string`&&r.addIssue({code:`custom`,path:[...i,`$ref`],message:`Schema reference must be a string`}),typeof t.$ref==`string`&&!t.$ref.startsWith(`#`)&&r.addIssue({code:`custom`,path:[...i,`$ref`],message:`Only fragment schema references are supported; absolute and document-relative references are outside the artifact registration profile`}),Object.hasOwn(t,`$anchor`)&&r.addIssue({code:`custom`,path:[...i,`$anchor`],message:`Named schema anchors are not supported; use local JSON Pointer references`}),typeof t.$ref==`string`&&t.$ref.startsWith(`#`)&&t.$ref.length>1&&!t.$ref.startsWith(`#/`)&&r.addIssue({code:`custom`,path:[...i,`$ref`],message:`Named schema references are not supported; use local JSON Pointer references`}),typeof t.$ref==`string`&&(t.$ref===`#`||t.$ref.startsWith(`#/`))){let o=a(e,t.$ref);!n(o)&&typeof o!=`boolean`&&r.addIssue({code:`custom`,path:[...i,`$ref`],message:`Fragment schema reference must resolve to an existing object or boolean schema`})}}function y(e,t,n,r=[`dataSchema`]){Object.hasOwn(t,`$async`)&&t.$async!==!1&&n.addIssue({code:`custom`,path:[...r,`$async`],message:`Asynchronous artifact schemas are not supported`}),v(e,t,n,r);for(let e of[`anyOf`,`oneOf`]){let i=t[e];Array.isArray(i)&&i.some(e=>typeof e==`boolean`)&&n.addIssue({code:`custom`,path:[...r,e],message:`Unsupported boolean union alternative: use object schema declarations`})}Array.isArray(t.allOf)&&(_(e,t)||!u(e,t,new Set))&&n.addIssue({code:`custom`,path:[...r,`allOf`],message:`Unsupported intersection: use open compatible conjuncts or a single closed object schema`});for(let i of h(t))y(e,i.node,n,[...r,...i.path])}function b(e,t){y(e.dataSchema,e.dataSchema,t);let n=f(e.dataSchema,e.dataSchema,e.titlePath.split(`.`),!0,new Set,!0);(!n?.length||n.some(e=>!r(e)||e.type!==`string`))&&t.addIssue({code:`custom`,path:[`titlePath`],message:`titlePath must select a required string in every data schema variant`});let i=[...(e.indexedFields??[]).map((e,t)=>({path:e,location:[`indexedFields`,t]})),...(e.searchableFields??[]).map((e,t)=>({path:e,location:[`searchableFields`,t]})),...(e.uniqueness??[]).flatMap((e,t)=>e.by.flatMap((e,n)=>e.kind===`data`?[{path:e.path,location:[`uniqueness`,t,`by`,n,`path`]}]:[])),...Object.entries(e.views??{}).flatMap(([e,t])=>t.fields.map((t,n)=>({path:t,location:[`views`,e,`fields`,n]})))];for(let{path:n,location:r}of i)m(e.dataSchema,n)||t.addIssue({code:`custom`,path:r,message:`Data path ${n} must select a declared field`})}function x(e,t){let n=e;for(let e of t.split(`.`)){if(typeof n!=`object`||!n||Array.isArray(n)||!Object.hasOwn(n,e))throw Error(`Artifact title is missing at ${t}`);n=Reflect.get(n,e)}if(typeof n!=`string`||n.trim().length===0)throw Error(`Artifact title at ${t} must be a nonblank string`);return n}const S=t.number().int().positive(),C=t.enum([`knowledge`,`commitment`,`interaction`,`record`]),w=t.string().regex(/^[A-Za-z_$][\w$-]*(?:\.[A-Za-z_$][\w$-]*)*$/),T=t.strictObject({fields:t.array(w).min(1)}),E=new Set([`full`]),D={knowledge:[`valid`,`retired`],commitment:[`proposed`,`decided`,`fulfilled`,`revoked`],interaction:[`open`,`resolved`,`closed-without-resolution`],record:[]},O=t.enum([...D.knowledge,...D.commitment,...D.interaction]),k=t.strictObject({relationType:t.string().trim().min(1),targetKinds:t.array(t.string().trim().min(1)).min(1).optional(),minItems:t.number().int().nonnegative(),maxItems:t.number().int().nonnegative().optional()}).refine(e=>e.maxItems===void 0||e.maxItems>=e.minItems,{path:[`maxItems`],message:`maxItems must be at least minItems`}),A=t.discriminatedUnion(`kind`,[t.strictObject({kind:t.literal(`data`),path:w}),t.strictObject({kind:t.literal(`relation-target`),relationType:t.string().trim().min(1)})]),j=t.strictObject({by:t.array(A).min(1),lifecycleStates:t.array(O).min(1).optional()}),M=t.strictObject({minItems:t.number().int().nonnegative()}),N=t.enum([`http://json-schema.org/draft-07/schema#`,`https://json-schema.org/draft/2020-12/schema`]).optional(),P=t.strictObject({kind:t.string().trim().min(1),description:t.string().trim().min(1),schemaVersion:S,category:C,dataSchema:e,titlePath:w,relations:t.array(k).optional(),uniqueness:t.array(j).optional(),evidenceRequirements:M.optional(),indexedFields:t.array(w).optional(),searchableFields:t.array(w).optional(),views:t.record(t.string().trim().min(1),T).optional()}).superRefine((e,t)=>{N.safeParse(e.dataSchema.$schema).success||t.addIssue({code:`custom`,path:[`dataSchema`,`$schema`],message:`Unsupported data schema dialect: omit $schema for draft-7 or declare the supported draft-7 or 2020-12 URI`});let n=D[e.category];e.uniqueness?.forEach((r,i)=>{r.lifecycleStates?.some(e=>!n.includes(e))&&t.addIssue({code:`custom`,path:[`uniqueness`,i,`lifecycleStates`],message:`Lifecycle conditions are incompatible with category ${e.category}`})}),Object.keys(e.views??{}).forEach(e=>{E.has(e)&&t.addIssue({code:`custom`,path:[`views`,e],message:`Artifact kind view ${e} is reserved for the generic complete-payload view`})}),b(e,t)});export{P as a,k as c,A as d,g as f,M as i,S as l,x as m,C as n,T as o,m as p,w as r,O as s,D as t,j as u};
@@ -1 +1 @@
1
- import{n as e,o as t}from"./json-value-DM-EjTC1.mjs";import{C as n}from"./schemas-DRho446W.mjs";import{z as r}from"zod";import{createBusNamespace as i}from"@makaio/framework/core";const a=r.enum([`link`,`summary`,`full`]),o=r.object({artifactId:r.string().min(1).optional(),url:r.string().min(1).optional(),label:r.string().min(1)}),s=r.object({id:r.string().min(1),kind:r.string().min(1),revision:r.string().min(1),status:r.string().min(1).optional()}),c=r.object({breadcrumbs:r.array(o),related:r.array(o)}),l=r.object({dashboard:r.string().min(1).optional(),materialized:r.string().min(1).optional()}),u=r.object({type:r.literal(`summary`),title:r.string().min(1),text:r.string().min(1)}),d=r.object({type:r.literal(`properties`),title:r.string().min(1),rows:r.array(r.object({label:r.string().min(1),value:r.string()}))}),f=r.object({type:r.literal(`table`),title:r.string().min(1),columns:r.array(r.string().min(1)),rows:r.array(r.object({cells:r.array(r.string()),link:o.optional()}))}),p=r.object({type:r.literal(`relations`),title:r.string().min(1),groups:r.array(r.object({type:r.string().min(1),items:r.array(o)}))}),m=r.object({type:r.literal(`evidence`),title:r.string().min(1),items:r.array(r.object({kind:r.string().min(1),id:r.string().min(1),locator:r.string().min(1).optional()}))}),h=r.object({type:r.literal(`raw`),title:r.string().min(1),json:t}),g=r.object({type:r.literal(`code`),title:r.string().min(1),language:r.string().min(1),content:r.string()}),_=r.object({type:r.literal(`diagram`),title:r.string().min(1),notation:r.literal(`mermaid`),source:r.string().min(1)}),v=r.discriminatedUnion(`type`,[u,d,f,p,m,h,g,_]),y=r.object({title:r.string().min(1),artifact:s,navigation:c,sections:r.array(v),links:l}),b=e,x=r.object({level:a,params:b.optional()}),S=r.object({kind:r.literal(`entry`),via:r.string().min(1).optional(),collection:r.string().min(1).optional()});function C(e){return(t,n)=>{t.via!==void 0==(t.collection!==void 0)&&n.addIssue({code:r.ZodIssueCode.custom,message:`Entry ${e} must have exactly one of via or collection`})}}const w=r.discriminatedUnion(`kind`,[r.object({kind:r.literal(`own-view`)}),r.object({kind:r.literal(`inline`),hostRelation:r.string().min(1),as:a.optional()}),S.extend({title:r.string().min(1).optional(),hostRelation:r.string().min(1).optional()}).superRefine(C(`affordance`))]),T=r.discriminatedUnion(`kind`,[r.object({kind:r.literal(`own-view`)}),r.object({kind:r.literal(`inline`),hostRelation:r.string().min(1)}),S.superRefine(C(`request`))]);function E(e){return e}const D=r.enum([`title`,`summary`]),O=r.discriminatedUnion(`kind`,[r.object({kind:r.literal(`label`),prefix:r.string().min(1).optional()}),r.object({kind:r.literal(`field`),name:r.string().min(1),fieldId:r.string().min(1).optional()}),r.object({kind:r.literal(`issue-type`),name:r.string().min(1),typeId:r.string().min(1).optional()}),r.object({kind:r.literal(`body-fragment`),slot:r.string().min(1)}),r.object({kind:r.literal(`comment`),template:r.string().min(1)})]),k=r.object({id:r.string().min(1),provider:r.string().min(1),namespace:r.string().min(1),target:O,appliesTo:r.array(r.enum([`workpiece`,`artifact`,`surface`])).min(1),valueMapping:r.record(r.string(),r.string()).optional(),description:r.string().min(1).optional(),params:e.optional()}),A=r.enum([`status`,`workflow`,`priority`]),j=r.object({path:r.string().min(1),semantic:A.optional(),fromLevel:a.optional(),viewRole:D.optional()}),M=r.object({mode:r.enum([`none`,`surface`,`comment`]),defaultRole:r.enum([`workpiece`,`artifact`]).optional(),semanticEvents:r.array(r.enum([`created`,`revised`,`status-changed`,`observation-added`])).optional(),projectedFields:r.array(j).optional(),affordances:r.array(w).optional()}).superRefine((e,t)=>{if(!e.projectedFields)return;let n=0,i=0;for(let t of e.projectedFields)t.viewRole===`title`&&n++,t.viewRole===`summary`&&i++;n>1&&t.addIssue({code:r.ZodIssueCode.custom,path:[`projectedFields`],message:`At most one projected field may declare viewRole: title`}),i>1&&t.addIssue({code:r.ZodIssueCode.custom,path:[`projectedFields`],message:`At most one projected field may declare viewRole: summary`})}),N=r.object({artifactId:r.string().min(1),provider:r.string().min(1),externalId:r.string().min(1),externalUrl:r.string().optional(),surfaceRole:r.enum([`workpiece`,`artifact`]),lastSyncedRevision:r.string().optional(),metadata:r.record(r.string(),r.unknown()).optional()}),P=x.extend({ref:n,affordance:T}),F=r.discriminatedUnion(`status`,[r.object({status:r.literal(`ok`),view:y,builderVersion:r.number().int().positive(),sourceRevision:r.string().min(1)}),r.object({status:r.literal(`artifact-not-found`),view:r.null()}),r.object({status:r.literal(`not-rendered`),view:r.null()})]),I={"surfaceBinding.register":{request:k,response:r.object({registered:r.boolean()})},"surfaceBinding.list":{request:r.object({id:r.string().min(1).optional(),provider:r.string().min(1).optional(),namespace:r.string().min(1).optional()}),response:r.object({bindings:r.array(k)})},"surfaceBinding.changed":r.object({id:r.string().min(1),provider:r.string().min(1)}),"ref.changed":r.object({artifactId:r.string().min(1),provider:r.string().min(1),externalId:r.string().min(1),operation:r.enum([`upserted`,`deleted`]),origin:r.enum([`factory`,`external`]).optional()}),"capability.resolved":r.object({provider:r.string().min(1),surface:r.string().min(1),capabilities:r.record(r.string().min(1),r.boolean()),degraded:r.boolean()}),"artifact.view.resolve":{request:P,response:F}},L=i(`materialization`,I),R=L.subjects;function z(e){return{id:e.id,toRegistration:()=>({id:e.id,provider:e.provider,namespace:e.namespace,target:structuredClone(e.target),appliesTo:[...e.appliesTo],...e.valueMapping===void 0?{}:{valueMapping:{...e.valueMapping}},...e.description===void 0?{}:{description:e.description},...e.params===void 0?{}:{params:structuredClone(e.params)}})}}export{v as A,a as C,d as D,c as E,l as M,f as N,h as O,s as S,y as T,x as _,I as a,_ as b,M as c,D as d,k as f,b as g,T as h,L as i,u as j,p as k,j as l,w as m,P as n,R as o,O as p,F as r,N as s,z as t,A as u,E as v,o as w,m as x,g as y};
1
+ import{n as e,o as t}from"./json-value-DM-EjTC1.mjs";import{C as n}from"./schemas-NKlV5jqJ.mjs";import{z as r}from"zod";import{createBusNamespace as i}from"@makaio/framework/core";const a=r.enum([`link`,`summary`,`full`]),o=r.object({artifactId:r.string().min(1).optional(),url:r.string().min(1).optional(),label:r.string().min(1)}),s=r.object({id:r.string().min(1),kind:r.string().min(1),revision:r.string().min(1),status:r.string().min(1).optional()}),c=r.object({breadcrumbs:r.array(o),related:r.array(o)}),l=r.object({dashboard:r.string().min(1).optional(),materialized:r.string().min(1).optional()}),u=r.object({type:r.literal(`summary`),title:r.string().min(1),text:r.string().min(1)}),d=r.object({type:r.literal(`properties`),title:r.string().min(1),rows:r.array(r.object({label:r.string().min(1),value:r.string()}))}),f=r.object({type:r.literal(`table`),title:r.string().min(1),columns:r.array(r.string().min(1)),rows:r.array(r.object({cells:r.array(r.string()),link:o.optional()}))}),p=r.object({type:r.literal(`relations`),title:r.string().min(1),groups:r.array(r.object({type:r.string().min(1),items:r.array(o)}))}),m=r.object({type:r.literal(`evidence`),title:r.string().min(1),items:r.array(r.object({kind:r.string().min(1),id:r.string().min(1),locator:r.string().min(1).optional()}))}),h=r.object({type:r.literal(`raw`),title:r.string().min(1),json:t}),g=r.object({type:r.literal(`code`),title:r.string().min(1),language:r.string().min(1),content:r.string()}),_=r.object({type:r.literal(`diagram`),title:r.string().min(1),notation:r.literal(`mermaid`),source:r.string().min(1)}),v=r.discriminatedUnion(`type`,[u,d,f,p,m,h,g,_]),y=r.object({title:r.string().min(1),artifact:s,navigation:c,sections:r.array(v),links:l}),b=e,x=r.object({level:a,params:b.optional()}),S=r.object({kind:r.literal(`entry`),via:r.string().min(1).optional(),collection:r.string().min(1).optional()});function C(e){return(t,n)=>{t.via!==void 0==(t.collection!==void 0)&&n.addIssue({code:r.ZodIssueCode.custom,message:`Entry ${e} must have exactly one of via or collection`})}}const w=r.discriminatedUnion(`kind`,[r.object({kind:r.literal(`own-view`)}),r.object({kind:r.literal(`inline`),hostRelation:r.string().min(1),as:a.optional()}),S.extend({title:r.string().min(1).optional(),hostRelation:r.string().min(1).optional()}).superRefine(C(`affordance`))]),T=r.discriminatedUnion(`kind`,[r.object({kind:r.literal(`own-view`)}),r.object({kind:r.literal(`inline`),hostRelation:r.string().min(1)}),S.superRefine(C(`request`))]);function E(e){return e}const D=r.enum([`title`,`summary`]),O=r.discriminatedUnion(`kind`,[r.object({kind:r.literal(`label`),prefix:r.string().min(1).optional()}),r.object({kind:r.literal(`field`),name:r.string().min(1),fieldId:r.string().min(1).optional()}),r.object({kind:r.literal(`issue-type`),name:r.string().min(1),typeId:r.string().min(1).optional()}),r.object({kind:r.literal(`body-fragment`),slot:r.string().min(1)}),r.object({kind:r.literal(`comment`),template:r.string().min(1)})]),k=r.object({id:r.string().min(1),provider:r.string().min(1),namespace:r.string().min(1),target:O,appliesTo:r.array(r.enum([`workpiece`,`artifact`,`surface`])).min(1),valueMapping:r.record(r.string(),r.string()).optional(),description:r.string().min(1).optional(),params:e.optional()}),A=r.enum([`status`,`workflow`,`priority`]),j=r.object({path:r.string().min(1),semantic:A.optional(),fromLevel:a.optional(),viewRole:D.optional()}),M=r.object({mode:r.enum([`none`,`surface`,`comment`]),defaultRole:r.enum([`workpiece`,`artifact`]).optional(),semanticEvents:r.array(r.enum([`created`,`revised`,`status-changed`,`observation-added`])).optional(),projectedFields:r.array(j).optional(),affordances:r.array(w).optional()}).superRefine((e,t)=>{if(!e.projectedFields)return;let n=0,i=0;for(let t of e.projectedFields)t.viewRole===`title`&&n++,t.viewRole===`summary`&&i++;n>1&&t.addIssue({code:r.ZodIssueCode.custom,path:[`projectedFields`],message:`At most one projected field may declare viewRole: title`}),i>1&&t.addIssue({code:r.ZodIssueCode.custom,path:[`projectedFields`],message:`At most one projected field may declare viewRole: summary`})}),N=r.object({artifactId:r.string().min(1),provider:r.string().min(1),externalId:r.string().min(1),externalUrl:r.string().optional(),surfaceRole:r.enum([`workpiece`,`artifact`]),lastSyncedRevision:r.string().optional(),metadata:r.record(r.string(),r.unknown()).optional()}),P=x.extend({ref:n,affordance:T}),F=r.discriminatedUnion(`status`,[r.object({status:r.literal(`ok`),view:y,builderVersion:r.number().int().positive(),sourceRevision:r.string().min(1)}),r.object({status:r.literal(`artifact-not-found`),view:r.null()}),r.object({status:r.literal(`not-rendered`),view:r.null()})]),I={"surfaceBinding.register":{request:k,response:r.object({registered:r.boolean()})},"surfaceBinding.list":{request:r.object({id:r.string().min(1).optional(),provider:r.string().min(1).optional(),namespace:r.string().min(1).optional()}),response:r.object({bindings:r.array(k)})},"surfaceBinding.changed":r.object({id:r.string().min(1),provider:r.string().min(1)}),"ref.changed":r.object({artifactId:r.string().min(1),provider:r.string().min(1),externalId:r.string().min(1),operation:r.enum([`upserted`,`deleted`]),origin:r.enum([`factory`,`external`]).optional()}),"capability.resolved":r.object({provider:r.string().min(1),surface:r.string().min(1),capabilities:r.record(r.string().min(1),r.boolean()),degraded:r.boolean()}),"artifact.view.resolve":{request:P,response:F}},L=i(`materialization`,I),R=L.subjects;function z(e){return{id:e.id,toRegistration:()=>({id:e.id,provider:e.provider,namespace:e.namespace,target:structuredClone(e.target),appliesTo:[...e.appliesTo],...e.valueMapping===void 0?{}:{valueMapping:{...e.valueMapping}},...e.description===void 0?{}:{description:e.description},...e.params===void 0?{}:{params:structuredClone(e.params)}})}}export{v as A,a as C,d as D,c as E,l as M,f as N,h as O,s as S,y as T,x as _,I as a,_ as b,M as c,D as d,k as f,b as g,T as h,L as i,u as j,p as k,j as l,w as m,P as n,R as o,O as p,F as r,N as s,z as t,A as u,E as v,o as w,m as x,g as y};