@makaio/framework 1.0.0-dev-1781081952714 → 1.0.0-dev-1781117225170

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 (257) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/acp-client/index.d.mts +4 -4
  3. package/dist/adapters/config/index.d.mts +1 -1
  4. package/dist/adapters/index.d.mts +3 -3
  5. package/dist/adapters/index.mjs +1 -1
  6. package/dist/adapters/node.d.mts +1 -1
  7. package/dist/adapters/node.mjs +1 -1
  8. package/dist/ajv-0JG5NFEd.mjs +8 -0
  9. package/dist/bus/index.d.mts +19 -19
  10. package/dist/contracts/adapter/index.d.mts +2 -2
  11. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  12. package/dist/contracts/artifact/index.d.mts +1 -1
  13. package/dist/contracts/client/index.d.mts +2 -2
  14. package/dist/contracts/common/index.d.mts +1 -1
  15. package/dist/contracts/config/index.d.mts +1 -1
  16. package/dist/contracts/extension/index.d.mts +3 -3
  17. package/dist/contracts/facet/index.d.mts +1 -1
  18. package/dist/contracts/harness/index.d.mts +1 -1
  19. package/dist/contracts/host/index.d.mts +1 -1
  20. package/dist/contracts/index.d.mts +237 -237
  21. package/dist/contracts/materialization/index.d.mts +3 -3
  22. package/dist/contracts/model-registry/index.d.mts +1 -1
  23. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  24. package/dist/contracts/platform/index.d.mts +1 -1
  25. package/dist/contracts/provider/index.d.mts +2 -2
  26. package/dist/contracts/session/index.d.mts +2 -2
  27. package/dist/contracts/shared/index.d.mts +1 -1
  28. package/dist/contracts/skill/index.d.mts +1 -1
  29. package/dist/contracts/telemetry/index.d.mts +1 -1
  30. package/dist/contracts/timeout/index.d.mts +1 -1
  31. package/dist/contracts/variant/index.d.mts +1 -1
  32. package/dist/{cursor-storage-C_WTAESV.mjs → cursor-storage-YikwAZR5.mjs} +1 -1
  33. package/dist/{definition-DqJOg6Lv.d.mts → definition-Cp-5xJp_.d.mts} +1 -1
  34. package/dist/{detached-extension-handle-CxEBQnSa.mjs → detached-extension-handle-oXbjv1tA.mjs} +1 -1
  35. package/dist/esm-CglYG5aA.mjs +1 -0
  36. package/dist/expression/index.d.mts +11 -2
  37. package/dist/expression/index.mjs +4 -4
  38. package/dist/{filesystem-service-DH9zlxyd.mjs → filesystem-service-CBJT7A5w.mjs} +1 -1
  39. package/dist/git/index.mjs +14 -14
  40. package/dist/{globby-4SrlyIlj.mjs → globby-C0lgTOUl.mjs} +1 -1
  41. package/dist/{index-IekAD8Gp.d.mts → index-BELri1Hy.d.mts} +8 -8
  42. package/dist/{index-jlQ4IhR5.d.mts → index-BY-fz0Jy.d.mts} +342 -342
  43. package/dist/{index-Bw_zL7Rs.d.mts → index-Bw8SkcWG.d.mts} +1 -1
  44. package/dist/{index-BmV60tMf.d.mts → index-C1uZLARQ.d.mts} +17 -17
  45. package/dist/{index-D6bw4qJp.d.mts → index-CXfWW8cP.d.mts} +98 -98
  46. package/dist/{index-fVgKVvta.d.mts → index-C_jIVT40.d.mts} +1 -1
  47. package/dist/{index-C3zfJg6s.d.mts → index-ClgVA8Rz.d.mts} +6 -6
  48. package/dist/{index-BheaEhyI.d.mts → index-CmGvjpUG.d.mts} +6 -6
  49. package/dist/{index-Bibt5jAX.d.mts → index-Dsu1tPHm.d.mts} +8 -8
  50. package/dist/{index-BYkOUd0x.d.mts → index-SFkbbDxs.d.mts} +1 -1
  51. package/dist/{index-DETxgKS2.d.mts → index-hWzUQtDn.d.mts} +8 -8
  52. package/dist/{index-YDfOv0GT.d.mts → index-i7o6FtS0.d.mts} +33 -7
  53. package/dist/{index-CwKzQuIX.d.mts → index-kLBWooVu.d.mts} +24 -24
  54. package/dist/{index-CNOTkyGw.d.mts → index-t9Vt4Jbb.d.mts} +306 -382
  55. package/dist/{index-BAhJKQLX.d.mts → index-uQl_1wQO.d.mts} +8 -8
  56. package/dist/{index-Db0uJ_Cg2.d.mts → index-v2kRZnfw2.d.mts} +3 -3
  57. package/dist/kernel/cli/index.d.mts +2 -2
  58. package/dist/kernel/cli/register.d.mts +1 -1
  59. package/dist/kernel/extension/index.d.mts +1 -1
  60. package/dist/kernel/index.d.mts +5 -5
  61. package/dist/kernel/namespace/index.d.mts +1 -1
  62. package/dist/kernel/observability/index.d.mts +1 -1
  63. package/dist/kernel/providers/index.d.mts +1 -1
  64. package/dist/kernel/window/index.d.mts +1 -1
  65. package/dist/{lib-B9kVK_1_.mjs → lib-CaOdTS9F.mjs} +1 -1
  66. package/dist/lib-IkUYa2Qs.mjs +2 -0
  67. package/dist/{lib-DPruLs5D.mjs → lib-zuQKc8ym.mjs} +19 -22
  68. package/dist/{load-extensions-C-TqCwzL.mjs → load-extensions-CwxilDj1.mjs} +1 -1
  69. package/dist/{load-extensions-D9nbDIiW.d.mts → load-extensions-DE8qDIqi.d.mts} +1 -1
  70. package/dist/mcp-http-server/index.mjs +1 -1
  71. package/dist/{namespace-Ds6HkJEU.d.mts → namespace-13uMtVGj.d.mts} +134 -134
  72. package/dist/{namespace-ByyuIFpL.d.mts → namespace-CZPu_jvy.d.mts} +58 -58
  73. package/dist/{namespace-aBIAWxY3.d.mts → namespace-Da_dHfdm.d.mts} +10 -10
  74. package/dist/{namespace-BlS_i9KT.d.mts → namespace-ffepZB8Y.d.mts} +5 -5
  75. package/dist/node/bus-server/index.d.mts +1 -1
  76. package/dist/node/bus-server/index.mjs +1 -1
  77. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  78. package/dist/node/bus-server/server-lifecycle.mjs +1 -1
  79. package/dist/{out-CvZYgczi.mjs → out-CiFds_ap.mjs} +1 -1
  80. package/dist/{package-1DS4bXg5.mjs → package-C9wOiMK9.mjs} +1 -1
  81. package/dist/package.json +1 -1
  82. package/dist/primitive-runtime-1Z3JbRUj.mjs +1 -0
  83. package/dist/rules/index.d.mts +1 -1
  84. package/dist/rules/index.mjs +1 -1
  85. package/dist/rules/schemas.d.mts +1 -1
  86. package/dist/runtime-bun/index.mjs +1 -1
  87. package/dist/runtime-node/extension-discovery.d.mts +1 -1
  88. package/dist/runtime-node/extension-validation.d.mts +1 -1
  89. package/dist/runtime-node/extension-validation.mjs +1 -1
  90. package/dist/runtime-node/index.d.mts +3 -3
  91. package/dist/runtime-node/index.mjs +3 -3
  92. package/dist/runtime-node/makaio-config.d.mts +1 -1
  93. package/dist/runtime-node/makaio-config.mjs +1 -1
  94. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  95. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  96. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  97. package/dist/{schema-CDL_pyyM.d.mts → schema-CfuF2cXW.d.mts} +3 -3
  98. package/dist/{schemas-t1VR6_b_.d.mts → schemas-BiMxSTUx.d.mts} +3 -3
  99. package/dist/{schemas-on3_N5HP.d.mts → schemas-DdZwjeF0.d.mts} +134 -134
  100. package/dist/{schemas-Exixg77V2.d.mts → schemas-SPI-Y87l2.d.mts} +14 -14
  101. package/dist/services/adapter-runtime/index.d.mts +3 -3
  102. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  103. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  104. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  105. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  106. package/dist/services/agent-runtime/index.d.mts +2 -2
  107. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  108. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  109. package/dist/services/capability/index.d.mts +1 -1
  110. package/dist/services/codebase/index.d.mts +2 -2
  111. package/dist/services/codebase/namespace.d.mts +1 -1
  112. package/dist/services/codebase/schemas.d.mts +1 -1
  113. package/dist/services/compression/index.d.mts +2 -2
  114. package/dist/services/compression/namespace.d.mts +1 -1
  115. package/dist/services/compression/schemas.d.mts +1 -1
  116. package/dist/services/context-rules/index.d.mts +4 -4
  117. package/dist/services/execution-target/index.d.mts +3 -3
  118. package/dist/services/execution-target/namespace.d.mts +1 -1
  119. package/dist/services/execution-target/schemas.d.mts +1 -1
  120. package/dist/services/filesystem/index.d.mts +1 -1
  121. package/dist/services/filesystem/index.mjs +1 -1
  122. package/dist/services/filesystem/namespace.d.mts +6 -6
  123. package/dist/services/filesystem/schemas.d.mts +3 -3
  124. package/dist/services/harness/index.d.mts +3 -3
  125. package/dist/services/index.d.mts +120 -120
  126. package/dist/services/index.mjs +1 -1
  127. package/dist/services/log-import/browser.d.mts +2 -2
  128. package/dist/services/log-import/index.d.mts +2 -2
  129. package/dist/services/log-import/log-import.d.mts +1 -1
  130. package/dist/services/model-registry/index.d.mts +1 -1
  131. package/dist/services/preferences/index.d.mts +2 -2
  132. package/dist/services/preferences/schemas.d.mts +1 -1
  133. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  134. package/dist/services/provider-context/index.d.mts +1 -1
  135. package/dist/services/session/handlers/index.d.mts +1 -1
  136. package/dist/services/session/index.d.mts +9 -9
  137. package/dist/services/session/messages/namespace.d.mts +1 -1
  138. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  139. package/dist/services/session/session-events/namespace.d.mts +1 -1
  140. package/dist/services/session/storage/namespace.d.mts +1 -1
  141. package/dist/services/session/storage/schema.d.mts +1 -1
  142. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  143. package/dist/services/session/turns/namespace.d.mts +1 -1
  144. package/dist/services/session-editor/index.d.mts +1 -1
  145. package/dist/services/settings/index.d.mts +3 -3
  146. package/dist/services/settings/namespace.d.mts +14 -14
  147. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  148. package/dist/services/settings/storage/index.d.mts +3 -3
  149. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  150. package/dist/services/subagent/index.d.mts +1 -1
  151. package/dist/services/subagent-template/index.d.mts +2 -2
  152. package/dist/services/subagent-template/namespace.d.mts +1 -1
  153. package/dist/services/subagent-template/schemas.d.mts +1 -1
  154. package/dist/services/tool-approval/index.d.mts +1 -1
  155. package/dist/services/tools/index.d.mts +1 -1
  156. package/dist/services/tools/index.mjs +1 -1
  157. package/dist/services/tray-menu/index.d.mts +3 -3
  158. package/dist/services/tray-menu/namespace.d.mts +1 -1
  159. package/dist/services/tray-menu/schemas.d.mts +1 -1
  160. package/dist/services/turn/index.d.mts +1 -1
  161. package/dist/services/turn/namespace.d.mts +1 -1
  162. package/dist/{src-Dvp41Cg2.mjs → src-DI5TcYUW.mjs} +1 -1
  163. package/dist/storage/drizzle/client.d.mts +1 -1
  164. package/dist/storage/drizzle/index.d.mts +1 -1
  165. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  166. package/dist/storage/handlers/index.d.mts +1 -1
  167. package/dist/style.css +540 -540
  168. package/dist/{tools-DC4KrqI1.mjs → tools-B8d8Iqqx.mjs} +1 -1
  169. package/dist/{types-CmMesAgR.d.mts → types-0u6hpELc.d.mts} +1 -1
  170. package/dist/{types-D0fPFh-D.d.mts → types-C5Uy3WEy.d.mts} +1 -1
  171. package/dist/{types-DiGqpZOD.d.mts → types-CZHV05Lu.d.mts} +219 -219
  172. package/dist/ui-components/index.d.mts +1 -1
  173. package/dist/ui-components/index.mjs +2 -2
  174. package/dist/ui-hooks/index.d.mts +6 -6
  175. package/dist/ui-kernel/index.d.mts +1 -1
  176. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  177. package/dist/ui-views/index.mjs +2 -2
  178. package/dist/workflow-engine/index.d.mts +36 -36
  179. package/dist/workflow-engine/index.mjs +1 -1
  180. package/dist/workflow-engine/package.d.mts +1 -1
  181. package/dist/workflow-engine/package.mjs +1 -1
  182. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  183. package/dist/workflow-worker-hDaQzTBl.mjs +1 -0
  184. package/package.json +1 -1
  185. package/dist/ajv-BJsabpMb.mjs +0 -8
  186. package/dist/esm-BdLRFEUy.mjs +0 -3
  187. package/dist/fast-uri-BF2Xuiop.mjs +0 -1
  188. package/dist/lib-aRogYLqg.mjs +0 -5
  189. package/dist/primitive-runtime-DcYYWy_6.mjs +0 -8
  190. package/dist/workflow-worker-DvP753UN.mjs +0 -1
  191. /package/dist/{await-trigger-DREnXCEJ.mjs → await-trigger-CHuOd5co.mjs} +0 -0
  192. /package/dist/{base-orchestrator-M5mAB5-w.d.mts → base-orchestrator-D-S9v5VY.d.mts} +0 -0
  193. /package/dist/{clients-namespace-SFk7OTop.d.mts → clients-namespace-E97p_GKF.d.mts} +0 -0
  194. /package/dist/{config-namespace-BzAvE2nY.d.mts → config-namespace-R_34Wfps.d.mts} +0 -0
  195. /package/dist/{create-static-mount-CFGo91CI.mjs → create-static-mount-B9Szo_7y.mjs} +0 -0
  196. /package/dist/{cross-spawn-BL6EvJBv.mjs → cross-spawn-CTptpCy4.mjs} +0 -0
  197. /package/dist/{definition-BSghHJpQ.d.mts → definition-CYzWS2eR.d.mts} +0 -0
  198. /package/dist/{definition-q6iLw11H.d.mts → definition-CvOuzWNT.d.mts} +0 -0
  199. /package/dist/{descriptor-to-package-CY8oc2gl.mjs → descriptor-to-package-9nrAH_D5.mjs} +0 -0
  200. /package/dist/{extension-discovery-CkV_VRdJ.d.mts → extension-discovery-BD1-oNU_.d.mts} +0 -0
  201. /package/dist/{filesystem-service-Ddngll0j.d.mts → filesystem-service-BcwRp4k1.d.mts} +0 -0
  202. /package/dist/{index-C6BhKRnH.d.mts → index--0CnhN0g.d.mts} +0 -0
  203. /package/dist/{index-BxFA1XcP.d.mts → index-9KnLzPYu.d.mts} +0 -0
  204. /package/dist/{index-C33Tq1ei2.d.mts → index-AZ4iLe7O2.d.mts} +0 -0
  205. /package/dist/{index-BnQSPC6c.d.mts → index-B6RGNugn.d.mts} +0 -0
  206. /package/dist/{index-CGJjA-hR2.d.mts → index-BDlpFEsp2.d.mts} +0 -0
  207. /package/dist/{index-BKKNWqkP2.d.mts → index-BFaeVdsn2.d.mts} +0 -0
  208. /package/dist/{index-CDU_s69P.d.mts → index-BV8rSmDZ.d.mts} +0 -0
  209. /package/dist/{index-DSV1aFgK.d.mts → index-BYxgW2i0.d.mts} +0 -0
  210. /package/dist/{index-D0SUjZmU.d.mts → index-C-YBGCCG.d.mts} +0 -0
  211. /package/dist/{index-Buo9H8RK.d.mts → index-CF7dnqQj.d.mts} +0 -0
  212. /package/dist/{index-BBvcP-P0.d.mts → index-CNYPKkyH.d.mts} +0 -0
  213. /package/dist/{index-Clut1ljB.d.mts → index-CT-zFurA.d.mts} +0 -0
  214. /package/dist/{index-BbCjtc3h.d.mts → index-CdNDnxXR.d.mts} +0 -0
  215. /package/dist/{index-Bsp0O_sI.d.mts → index-ChG8ZUNP.d.mts} +0 -0
  216. /package/dist/{index-9IDJUJ4X.d.mts → index-DJQew2k-.d.mts} +0 -0
  217. /package/dist/{index-Cz9JMjZK.d.mts → index-DNGUXQGC.d.mts} +0 -0
  218. /package/dist/{index-BpXX9WZJ.d.mts → index-DUPZKsd3.d.mts} +0 -0
  219. /package/dist/{index-BpniJgxu.d.mts → index-DUhXk_q6.d.mts} +0 -0
  220. /package/dist/{index-Dsq2zKvu.d.mts → index-Dbwm5Y-Q.d.mts} +0 -0
  221. /package/dist/{index-BCKRUuI2.d.mts → index-DfUBcVtG.d.mts} +0 -0
  222. /package/dist/{index-BMpRB6iE.d.mts → index-Dn9Uum3F.d.mts} +0 -0
  223. /package/dist/{index-D6Iyvz9T.d.mts → index-yNb7G73-.d.mts} +0 -0
  224. /package/dist/{index-DOfq0qqv.d.mts → index-ziQTLYUO.d.mts} +0 -0
  225. /package/dist/{jsonl-transport-BxNXizIm.mjs → jsonl-transport-DBHQgcIm.mjs} +0 -0
  226. /package/dist/{namespace-CHMszppN.d.mts → namespace-BaJJxBsI.d.mts} +0 -0
  227. /package/dist/{namespace-nlsvvMtD.d.mts → namespace-CTrNKkxY.d.mts} +0 -0
  228. /package/dist/{namespace-BBVtD1gu.d.mts → namespace-DfYutvMT.d.mts} +0 -0
  229. /package/dist/{namespace-D1Iw_d1P.d.mts → namespace-Dik_dNeE.d.mts} +0 -0
  230. /package/dist/{namespace-uuR0Fg5r.d.mts → namespace-DkDvQJhB.d.mts} +0 -0
  231. /package/dist/{namespace-B60mn8J-2.d.mts → namespace-DnZ4rS6T2.d.mts} +0 -0
  232. /package/dist/{namespace-DBKWNrk7.d.mts → namespace-DvHoeMUV.d.mts} +0 -0
  233. /package/dist/{namespace-XTGCaSXj.d.mts → namespace-QTFnJWHC.d.mts} +0 -0
  234. /package/dist/{namespace-DzVf1hVH.d.mts → namespace-TfZGCy7N.d.mts} +0 -0
  235. /package/dist/{namespace-CqUGzG53.d.mts → namespace-uGw5nK6d.d.mts} +0 -0
  236. /package/dist/{orchestrator-shared-D91Wk7z-.d.mts → orchestrator-shared-BZVeoRfr.d.mts} +0 -0
  237. /package/dist/{package-BSnp1zOR.d.mts → package-B2HkKyRz.d.mts} +0 -0
  238. /package/dist/{providers-namespace-BqWYkydw.d.mts → providers-namespace-Cc9FQ-Zt.d.mts} +0 -0
  239. /package/dist/{schemas-B5ToLwIs.d.mts → schemas-BD-1NGmS.d.mts} +0 -0
  240. /package/dist/{schemas-lqvZ6UpK.d.mts → schemas-BFeP62V4.d.mts} +0 -0
  241. /package/dist/{schemas-C792eVAZ.d.mts → schemas-BzK1I1eX.d.mts} +0 -0
  242. /package/dist/{schemas-Chyj6HuZ.d.mts → schemas-CYS6bkht.d.mts} +0 -0
  243. /package/dist/{schemas-Dyk7JuVl.d.mts → schemas-CsjB6gel.d.mts} +0 -0
  244. /package/dist/{schemas-Kq33MTPY.d.mts → schemas-DFWGb4uj.d.mts} +0 -0
  245. /package/dist/{schemas-DZUaRcYl.d.mts → schemas-DL_bGYyZ.d.mts} +0 -0
  246. /package/dist/{schemas-B77Gi8Xr.d.mts → schemas-Hy-lsBpg.d.mts} +0 -0
  247. /package/dist/{server-lifecycle-47mygK3E.d.mts → server-lifecycle-DVAbXQzg.d.mts} +0 -0
  248. /package/dist/{server-lifecycle-Cg47L59Q.mjs → server-lifecycle-JTFuSJhg.mjs} +0 -0
  249. /package/dist/{session-lineage-CKg6mErA.d.mts → session-lineage-CxHc3_bm.d.mts} +0 -0
  250. /package/dist/{src-Z3vAZJfw.mjs → src-4_2jBceX.mjs} +0 -0
  251. /package/dist/{storage-namespace-BXmMUd7a.d.mts → storage-namespace-I30TaZP7.d.mts} +0 -0
  252. /package/dist/{storage-namespace-definition-C3XbpiP8.d.mts → storage-namespace-definition-ZNBL3v2h.d.mts} +0 -0
  253. /package/dist/{types-5Gw3iVpK.d.mts → types-11QnNmpW.d.mts} +0 -0
  254. /package/dist/{types-B0BtvVAq.d.mts → types-BKNpS4Xw.d.mts} +0 -0
  255. /package/dist/{types-D-bP8RRE.d.mts → types-BtMNh2FS.d.mts} +0 -0
  256. /package/dist/{types-BhXRffJ_.d.mts → types-yTKQTAok.d.mts} +0 -0
  257. /package/dist/{window-registry-CfEi_Ji4.d.mts → window-registry-QD1rTk_f.d.mts} +0 -0
@@ -1,2 +1,2 @@
1
- import { D as WorkflowWorkerEntryResolverOptions, E as WorkflowWorkerEntryMode, O as resolveWorkflowWorkerEntry, _ as WorkflowRunResult, a as InProcessWorkflowRunnerOptions, c as WorkerNodeRunner, d as NodeWorkflowRunnerPackageOptions, f as createNodeWorkflowRunner, g as ThinWorkflowPiscinaRunnerOptions, h as IWorkflowRunner, i as InProcessWorkflowRunner, l as WorkerNodeRunnerOptions, m as ThinWorkflowPiscinaRunner, n as loadWorkflowModules, o as PiscinaThinWorkflowProvider, p as createNodeWorkflowRunnerPackageOptions, r as loadWorkflowFromConfig, s as PiscinaThinWorkflowProviderOptions, t as loadWorkflowModule, u as CreateNodeWorkflowRunnerPackageOptionsParams } from "../../index-YDfOv0GT.mjs";
1
+ import { D as WorkflowWorkerEntryResolverOptions, E as WorkflowWorkerEntryMode, O as resolveWorkflowWorkerEntry, _ as WorkflowRunResult, a as InProcessWorkflowRunnerOptions, c as WorkerNodeRunner, d as NodeWorkflowRunnerPackageOptions, f as createNodeWorkflowRunner, g as ThinWorkflowPiscinaRunnerOptions, h as IWorkflowRunner, i as InProcessWorkflowRunner, l as WorkerNodeRunnerOptions, m as ThinWorkflowPiscinaRunner, n as loadWorkflowModules, o as PiscinaThinWorkflowProvider, p as createNodeWorkflowRunnerPackageOptions, r as loadWorkflowFromConfig, s as PiscinaThinWorkflowProviderOptions, t as loadWorkflowModule, u as CreateNodeWorkflowRunnerPackageOptionsParams } from "../../index-i7o6FtS0.mjs";
2
2
  export { CreateNodeWorkflowRunnerPackageOptionsParams, IWorkflowRunner, InProcessWorkflowRunner, InProcessWorkflowRunnerOptions, NodeWorkflowRunnerPackageOptions, PiscinaThinWorkflowProvider, PiscinaThinWorkflowProviderOptions, ThinWorkflowPiscinaRunner, ThinWorkflowPiscinaRunnerOptions, WorkerNodeRunner, WorkerNodeRunnerOptions, WorkflowRunResult, WorkflowWorkerEntryMode, WorkflowWorkerEntryResolverOptions, createNodeWorkflowRunner, createNodeWorkflowRunnerPackageOptions, loadWorkflowFromConfig, loadWorkflowModule, loadWorkflowModules, resolveWorkflowWorkerEntry };
@@ -1 +1 @@
1
- import{i as e,n as t,r as n}from"../../await-trigger-DREnXCEJ.mjs";import{a as r,i,n as a,o,r as s,s as c,t as l}from"../../workflow-worker-DvP753UN.mjs";export{i as InProcessWorkflowRunner,l as PiscinaThinWorkflowProvider,c as ThinWorkflowPiscinaRunner,r as WorkerNodeRunner,a as createNodeWorkflowRunner,s as createNodeWorkflowRunnerPackageOptions,t as loadWorkflowFromConfig,n as loadWorkflowModule,e as loadWorkflowModules,o as resolveWorkflowWorkerEntry};
1
+ import{i as e,n as t,r as n}from"../../await-trigger-CHuOd5co.mjs";import{a as r,i,n as a,o,r as s,s as c,t as l}from"../../workflow-worker-hDaQzTBl.mjs";export{i as InProcessWorkflowRunner,l as PiscinaThinWorkflowProvider,c as ThinWorkflowPiscinaRunner,r as WorkerNodeRunner,a as createNodeWorkflowRunner,s as createNodeWorkflowRunnerPackageOptions,t as loadWorkflowFromConfig,n as loadWorkflowModule,e as loadWorkflowModules,o as resolveWorkflowWorkerEntry};
@@ -1 +1 @@
1
- import{a as e,n as t,t as n}from"../../await-trigger-DREnXCEJ.mjs";import*as r from"node:path";import{createBusInstance as i,waitForSubscriptionPropagation as a}from"@makaio/framework/bus";import{FrameworkContractNamespaces as o,FrameworkStorageNamespaces as s,WorkflowWorkerConfigSchema as c,createWorkflowCancelSubject as l}from"@makaio/framework/contracts";import{HmacAuth as u,WebSocketClientTransport as d}from"@makaio/framework/node/transports";import{parentPort as f}from"node:worker_threads";import{runWorkflowOrchestrator as p}from"@makaio/framework/workflow-engine/workflow-orchestrator";import{McpServerBridgeService as m}from"@makaio/framework/mcp-http-server";import{ToolRegistry as h}from"@makaio/framework/services/tools";async function g(e){let t=i();if(t.registerNamespaces(o),t.registerNamespaces(s),!e.busUrl)return{bus:t,close(){}};let n=e.busAuth.kind===`hmac`?new u({secret:e.busAuth.secret}):void 0,r=new d({url:e.busUrl,auth:n,autoReconnect:!1});return t.registerTransport(r),await t.connect(),{bus:t,async close(){await t.disconnect()}}}async function _(e,t){let n=new h({bus:e.bus}),r=new m(e.bus),i=async()=>{try{await r.destroy()}finally{n.dispose()}};try{await r.init();for(let e of t.toolsets)await v(n,e)}catch(e){throw await i(),e}return{close:i}}async function v(e,t){await e.register(t)}function y(e){if(typeof e!=`object`||!e)return!1;let t=e;return typeof t.name==`string`?typeof t.tools==`object`&&t.tools!==null||Array.isArray(t.adapters):!1}function b(e,t){if(y(e.default))return e.default;for(let t of Object.keys(e))if(t!==`default`&&y(e[t]))return e[t]}function x(e){return Object.freeze({bus:e?.bus,identity:Object.freeze({extensionName:`__worker__`}),dataDir:``,machineId:``,platform:process.platform,homedir:``,makaioHome:``,username:``,signal:e?.signal??new AbortController().signal,tryImport:async()=>null,getService:()=>{throw Error(`Worker-local contribution context does not expose host services.`)},hasExtension:()=>!1})}async function S(e,t){let n=await Promise.all(e.packages.map(e=>T(e,t))),r=[];for(let e of n)e&&r.push(...e.toolsets);return{toolsets:r}}function C(e,t){if(t!==void 0&&!r.isAbsolute(e)&&(e.startsWith(`./`)||e.startsWith(`../`))){let n=r.resolve(t),i=r.resolve(n,e);if(!w(n,i))throw Error(`importPath escapes makaioHome: ${e}`);return i}return e}function w(e,t){let n=r.relative(e,t);return n===``||!n.startsWith(`..`)&&!r.isAbsolute(n)}async function T(e,t){let n=e.importPath,r;try{n=C(e.importPath,t?.makaioHome),r=await import(n)}catch(t){let r=t instanceof Error?t.message:String(t);console.warn(`[worker-contributions] Failed to import "${e.name}" from "${n}": ${r}`);return}let i=b(r,e.name);if(!i){console.warn(`[worker-contributions] No recognizable extension export in "${e.name}" (${n})`);return}let a=[];if(i.tools?.createToolsets)try{let e=i.tools.createToolsets(x(t));a.push(...e)}catch(t){let n=t instanceof Error?t.message:String(t);console.warn(`[worker-contributions] createToolsets() failed for "${e.name}": ${n}`)}return{toolsets:a}}async function E(r){let i=c.parse(r.config),o=new AbortController,s=()=>o.abort(),u=r.signal??o.signal;u!==o.signal&&(u.aborted?o.abort():u.addEventListener(`abort`,s,{once:!0}));let d,m,h;try{d=await g(i),h=d.bus.on(l(i.cancelSubject),()=>{o.abort()}),await a(h);let s=await S(r.manifest,{bus:d.bus,signal:o.signal,makaioHome:i.context.makaioHome});s.toolsets.length>0&&(m=await _(d,s)),f?.postMessage(e(i.executionId,i.cancelSubject));let c=await t(i);return await p({config:await n(i,c,d.bus,o.signal),loaded:c,bus:d.bus,signal:o.signal})}finally{h?.(),u.removeEventListener(`abort`,s);try{m&&await m.close()}finally{d&&await d.close()}}}export{E as default,E as runWorkflowInWorker};
1
+ import{a as e,n as t,t as n}from"../../await-trigger-CHuOd5co.mjs";import*as r from"node:path";import{createBusInstance as i,waitForSubscriptionPropagation as a}from"@makaio/framework/bus";import{FrameworkContractNamespaces as o,FrameworkStorageNamespaces as s,WorkflowWorkerConfigSchema as c,createWorkflowCancelSubject as l}from"@makaio/framework/contracts";import{HmacAuth as u,WebSocketClientTransport as d}from"@makaio/framework/node/transports";import{parentPort as f}from"node:worker_threads";import{runWorkflowOrchestrator as p}from"@makaio/framework/workflow-engine/workflow-orchestrator";import{McpServerBridgeService as m}from"@makaio/framework/mcp-http-server";import{ToolRegistry as h}from"@makaio/framework/services/tools";async function g(e){let t=i();if(t.registerNamespaces(o),t.registerNamespaces(s),!e.busUrl)return{bus:t,close(){}};let n=e.busAuth.kind===`hmac`?new u({secret:e.busAuth.secret}):void 0,r=new d({url:e.busUrl,auth:n,autoReconnect:!1});return t.registerTransport(r),await t.connect(),{bus:t,async close(){await t.disconnect()}}}async function _(e,t){let n=new h({bus:e.bus}),r=new m(e.bus),i=async()=>{try{await r.destroy()}finally{n.dispose()}};try{await r.init();for(let e of t.toolsets)await v(n,e)}catch(e){throw await i(),e}return{close:i}}async function v(e,t){await e.register(t)}function y(e){if(typeof e!=`object`||!e)return!1;let t=e;return typeof t.name==`string`?typeof t.tools==`object`&&t.tools!==null||Array.isArray(t.adapters):!1}function b(e,t){if(y(e.default))return e.default;for(let t of Object.keys(e))if(t!==`default`&&y(e[t]))return e[t]}function x(e){return Object.freeze({bus:e?.bus,identity:Object.freeze({extensionName:`__worker__`}),dataDir:``,machineId:``,platform:process.platform,homedir:``,makaioHome:``,username:``,signal:e?.signal??new AbortController().signal,tryImport:async()=>null,getService:()=>{throw Error(`Worker-local contribution context does not expose host services.`)},hasExtension:()=>!1})}async function S(e,t){let n=await Promise.all(e.packages.map(e=>T(e,t))),r=[];for(let e of n)e&&r.push(...e.toolsets);return{toolsets:r}}function C(e,t){if(t!==void 0&&!r.isAbsolute(e)&&(e.startsWith(`./`)||e.startsWith(`../`))){let n=r.resolve(t),i=r.resolve(n,e);if(!w(n,i))throw Error(`importPath escapes makaioHome: ${e}`);return i}return e}function w(e,t){let n=r.relative(e,t);return n===``||!n.startsWith(`..`)&&!r.isAbsolute(n)}async function T(e,t){let n=e.importPath,r;try{n=C(e.importPath,t?.makaioHome),r=await import(n)}catch(t){let r=t instanceof Error?t.message:String(t);console.warn(`[worker-contributions] Failed to import "${e.name}" from "${n}": ${r}`);return}let i=b(r,e.name);if(!i){console.warn(`[worker-contributions] No recognizable extension export in "${e.name}" (${n})`);return}let a=[];if(i.tools?.createToolsets)try{let e=i.tools.createToolsets(x(t));a.push(...e)}catch(t){let n=t instanceof Error?t.message:String(t);console.warn(`[worker-contributions] createToolsets() failed for "${e.name}": ${n}`)}return{toolsets:a}}async function E(r){let i=c.parse(r.config),o=new AbortController,s=()=>o.abort(),u=r.signal??o.signal;u!==o.signal&&(u.aborted?o.abort():u.addEventListener(`abort`,s,{once:!0}));let d,m,h;try{d=await g(i),h=d.bus.on(l(i.cancelSubject),()=>{o.abort()}),await a(h);let s=await S(r.manifest,{bus:d.bus,signal:o.signal,makaioHome:i.context.makaioHome});s.toolsets.length>0&&(m=await _(d,s)),f?.postMessage(e(i.executionId,i.cancelSubject));let c=await t(i);return await p({config:await n(i,c,d.bus,o.signal),loaded:c,bus:d.bus,signal:o.signal})}finally{h?.(),u.removeEventListener(`abort`,s);try{m&&await m.close()}finally{d&&await d.close()}}}export{E as default,E as runWorkflowInWorker};
@@ -72,7 +72,7 @@ declare const sessions: _$drizzle_orm_sqlite_core0.SQLiteTableWithColumns<{
72
72
  tableName: "sessions";
73
73
  dataType: "string";
74
74
  columnType: "SQLiteText";
75
- data: "closed" | "active" | "archived" | "discovered";
75
+ data: "discovered" | "closed" | "active" | "archived";
76
76
  driverParam: string;
77
77
  notNull: true;
78
78
  hasDefault: false;
@@ -186,7 +186,7 @@ declare const sessions: _$drizzle_orm_sqlite_core0.SQLiteTableWithColumns<{
186
186
  tableName: "sessions";
187
187
  dataType: "string";
188
188
  columnType: "SQLiteText";
189
- data: "fork" | "branch" | "subagent" | "compress" | "rewrite" | "coordinator" | "aside";
189
+ data: "fork" | "subagent" | "compress" | "branch" | "rewrite" | "coordinator" | "aside";
190
190
  driverParam: string;
191
191
  notNull: false;
192
192
  hasDefault: false;
@@ -878,7 +878,7 @@ declare const agents: _$drizzle_orm_sqlite_core0.SQLiteTableWithColumns<{
878
878
  tableName: "agents";
879
879
  dataType: "string";
880
880
  columnType: "SQLiteText";
881
- data: "idle" | "active" | "dead" | "disposed";
881
+ data: "active" | "idle" | "dead" | "disposed";
882
882
  driverParam: string;
883
883
  notNull: true;
884
884
  hasDefault: false;
@@ -64,9 +64,9 @@ declare const SurfaceBindingRegistrationSchema: z.ZodObject<{
64
64
  template: z.ZodString;
65
65
  }, z.core.$strip>], "kind">;
66
66
  appliesTo: z.ZodArray<z.ZodEnum<{
67
+ artifact: "artifact";
67
68
  surface: "surface";
68
69
  workpiece: "workpiece";
69
- artifact: "artifact";
70
70
  }>>;
71
71
  valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
72
72
  description: z.ZodOptional<z.ZodString>;
@@ -108,8 +108,8 @@ declare const ArtifactProjectionPolicySchema: z.ZodObject<{
108
108
  comment: "comment";
109
109
  }>;
110
110
  defaultRole: z.ZodOptional<z.ZodEnum<{
111
- workpiece: "workpiece";
112
111
  artifact: "artifact";
112
+ workpiece: "workpiece";
113
113
  }>>;
114
114
  semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
115
115
  created: "created";
@@ -141,8 +141,8 @@ declare const ArtifactMaterializationRefSchema: z.ZodObject<{
141
141
  externalId: z.ZodString;
142
142
  externalUrl: z.ZodOptional<z.ZodString>;
143
143
  surfaceRole: z.ZodEnum<{
144
- workpiece: "workpiece";
145
144
  artifact: "artifact";
145
+ workpiece: "workpiece";
146
146
  }>;
147
147
  lastSyncedRevision: z.ZodOptional<z.ZodString>;
148
148
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -37,25 +37,6 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
37
37
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
38
38
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
39
39
  sessionId: z.ZodString;
40
- directTools: z.ZodArray<z.ZodObject<{
41
- fullName: z.ZodString;
42
- originalName: z.ZodString;
43
- serverName: z.ZodString;
44
- description: z.ZodOptional<z.ZodString>;
45
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
46
- exposureMode: z.ZodEnum<{
47
- direct: "direct";
48
- discovery: "discovery";
49
- hidden: "hidden";
50
- }>;
51
- enabled: z.ZodBoolean;
52
- enabledBy: z.ZodOptional<z.ZodEnum<{
53
- discovery: "discovery";
54
- toolset: "toolset";
55
- }>>;
56
- enabledAt: z.ZodOptional<z.ZodNumber>;
57
- exposed: z.ZodBoolean;
58
- }, z.core.$strip>>;
59
40
  servers: z.ZodArray<z.ZodObject<{
60
41
  name: z.ZodString;
61
42
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -96,6 +77,25 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
96
77
  discovery: "discovery";
97
78
  }>;
98
79
  }, z.core.$strip>>;
80
+ directTools: z.ZodArray<z.ZodObject<{
81
+ fullName: z.ZodString;
82
+ originalName: z.ZodString;
83
+ serverName: z.ZodString;
84
+ description: z.ZodOptional<z.ZodString>;
85
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
86
+ exposureMode: z.ZodEnum<{
87
+ direct: "direct";
88
+ discovery: "discovery";
89
+ hidden: "hidden";
90
+ }>;
91
+ enabled: z.ZodBoolean;
92
+ enabledBy: z.ZodOptional<z.ZodEnum<{
93
+ discovery: "discovery";
94
+ toolset: "toolset";
95
+ }>>;
96
+ enabledAt: z.ZodOptional<z.ZodNumber>;
97
+ exposed: z.ZodBoolean;
98
+ }, z.core.$strip>>;
99
99
  discoverableTools: z.ZodArray<z.ZodObject<{
100
100
  fullName: z.ZodString;
101
101
  originalName: z.ZodString;
@@ -133,18 +133,6 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
133
133
  env?: Record<string, string> | undefined;
134
134
  mcpSessionContext?: {
135
135
  sessionId: string;
136
- directTools: {
137
- fullName: string;
138
- originalName: string;
139
- serverName: string;
140
- inputSchema: Record<string, unknown>;
141
- exposureMode: "direct" | "discovery" | "hidden";
142
- enabled: boolean;
143
- exposed: boolean;
144
- description?: string | undefined;
145
- enabledBy?: "discovery" | "toolset" | undefined;
146
- enabledAt?: number | undefined;
147
- }[];
148
136
  servers: {
149
137
  name: string;
150
138
  transport: {
@@ -174,6 +162,18 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
174
162
  };
175
163
  exposureMode: "direct" | "discovery";
176
164
  }[];
165
+ directTools: {
166
+ fullName: string;
167
+ originalName: string;
168
+ serverName: string;
169
+ inputSchema: Record<string, unknown>;
170
+ exposureMode: "direct" | "discovery" | "hidden";
171
+ enabled: boolean;
172
+ exposed: boolean;
173
+ description?: string | undefined;
174
+ enabledBy?: "discovery" | "toolset" | undefined;
175
+ enabledAt?: number | undefined;
176
+ }[];
177
177
  discoverableTools: {
178
178
  fullName: string;
179
179
  originalName: string;
@@ -206,18 +206,6 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
206
206
  env?: Record<string, string> | undefined;
207
207
  mcpSessionContext?: {
208
208
  sessionId: string;
209
- directTools: {
210
- fullName: string;
211
- originalName: string;
212
- serverName: string;
213
- inputSchema: Record<string, unknown>;
214
- exposureMode: "direct" | "discovery" | "hidden";
215
- enabled: boolean;
216
- exposed: boolean;
217
- description?: string | undefined;
218
- enabledBy?: "discovery" | "toolset" | undefined;
219
- enabledAt?: number | undefined;
220
- }[];
221
209
  servers: {
222
210
  name: string;
223
211
  transport: {
@@ -247,6 +235,18 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
247
235
  };
248
236
  exposureMode: "direct" | "discovery";
249
237
  }[];
238
+ directTools: {
239
+ fullName: string;
240
+ originalName: string;
241
+ serverName: string;
242
+ inputSchema: Record<string, unknown>;
243
+ exposureMode: "direct" | "discovery" | "hidden";
244
+ enabled: boolean;
245
+ exposed: boolean;
246
+ description?: string | undefined;
247
+ enabledBy?: "discovery" | "toolset" | undefined;
248
+ enabledAt?: number | undefined;
249
+ }[];
250
250
  discoverableTools: {
251
251
  fullName: string;
252
252
  originalName: string;
@@ -277,18 +277,6 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
277
277
  env?: Record<string, string> | undefined;
278
278
  mcpSessionContext?: {
279
279
  sessionId: string;
280
- directTools: {
281
- fullName: string;
282
- originalName: string;
283
- serverName: string;
284
- inputSchema: Record<string, unknown>;
285
- exposureMode: "direct" | "discovery" | "hidden";
286
- enabled: boolean;
287
- exposed: boolean;
288
- description?: string | undefined;
289
- enabledBy?: "discovery" | "toolset" | undefined;
290
- enabledAt?: number | undefined;
291
- }[];
292
280
  servers: {
293
281
  name: string;
294
282
  transport: {
@@ -318,6 +306,18 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
318
306
  };
319
307
  exposureMode: "direct" | "discovery";
320
308
  }[];
309
+ directTools: {
310
+ fullName: string;
311
+ originalName: string;
312
+ serverName: string;
313
+ inputSchema: Record<string, unknown>;
314
+ exposureMode: "direct" | "discovery" | "hidden";
315
+ enabled: boolean;
316
+ exposed: boolean;
317
+ description?: string | undefined;
318
+ enabledBy?: "discovery" | "toolset" | undefined;
319
+ enabledAt?: number | undefined;
320
+ }[];
321
321
  discoverableTools: {
322
322
  fullName: string;
323
323
  originalName: string;
@@ -350,18 +350,6 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
350
350
  env?: Record<string, string> | undefined;
351
351
  mcpSessionContext?: {
352
352
  sessionId: string;
353
- directTools: {
354
- fullName: string;
355
- originalName: string;
356
- serverName: string;
357
- inputSchema: Record<string, unknown>;
358
- exposureMode: "direct" | "discovery" | "hidden";
359
- enabled: boolean;
360
- exposed: boolean;
361
- description?: string | undefined;
362
- enabledBy?: "discovery" | "toolset" | undefined;
363
- enabledAt?: number | undefined;
364
- }[];
365
353
  servers: {
366
354
  name: string;
367
355
  transport: {
@@ -391,6 +379,18 @@ declare const AgentRuntimeSelectionSchema: z.ZodObject<{
391
379
  };
392
380
  exposureMode: "direct" | "discovery";
393
381
  }[];
382
+ directTools: {
383
+ fullName: string;
384
+ originalName: string;
385
+ serverName: string;
386
+ inputSchema: Record<string, unknown>;
387
+ exposureMode: "direct" | "discovery" | "hidden";
388
+ enabled: boolean;
389
+ exposed: boolean;
390
+ description?: string | undefined;
391
+ enabledBy?: "discovery" | "toolset" | undefined;
392
+ enabledAt?: number | undefined;
393
+ }[];
394
394
  discoverableTools: {
395
395
  fullName: string;
396
396
  originalName: string;
@@ -483,25 +483,6 @@ declare const AgentRuntimeSchemas: {
483
483
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
484
484
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
485
485
  sessionId: z.ZodString;
486
- directTools: z.ZodArray<z.ZodObject<{
487
- fullName: z.ZodString;
488
- originalName: z.ZodString;
489
- serverName: z.ZodString;
490
- description: z.ZodOptional<z.ZodString>;
491
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
492
- exposureMode: z.ZodEnum<{
493
- direct: "direct";
494
- discovery: "discovery";
495
- hidden: "hidden";
496
- }>;
497
- enabled: z.ZodBoolean;
498
- enabledBy: z.ZodOptional<z.ZodEnum<{
499
- discovery: "discovery";
500
- toolset: "toolset";
501
- }>>;
502
- enabledAt: z.ZodOptional<z.ZodNumber>;
503
- exposed: z.ZodBoolean;
504
- }, z.core.$strip>>;
505
486
  servers: z.ZodArray<z.ZodObject<{
506
487
  name: z.ZodString;
507
488
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -542,6 +523,25 @@ declare const AgentRuntimeSchemas: {
542
523
  discovery: "discovery";
543
524
  }>;
544
525
  }, z.core.$strip>>;
526
+ directTools: z.ZodArray<z.ZodObject<{
527
+ fullName: z.ZodString;
528
+ originalName: z.ZodString;
529
+ serverName: z.ZodString;
530
+ description: z.ZodOptional<z.ZodString>;
531
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
532
+ exposureMode: z.ZodEnum<{
533
+ direct: "direct";
534
+ discovery: "discovery";
535
+ hidden: "hidden";
536
+ }>;
537
+ enabled: z.ZodBoolean;
538
+ enabledBy: z.ZodOptional<z.ZodEnum<{
539
+ discovery: "discovery";
540
+ toolset: "toolset";
541
+ }>>;
542
+ enabledAt: z.ZodOptional<z.ZodNumber>;
543
+ exposed: z.ZodBoolean;
544
+ }, z.core.$strip>>;
545
545
  discoverableTools: z.ZodArray<z.ZodObject<{
546
546
  fullName: z.ZodString;
547
547
  originalName: z.ZodString;
@@ -579,18 +579,6 @@ declare const AgentRuntimeSchemas: {
579
579
  env?: Record<string, string> | undefined;
580
580
  mcpSessionContext?: {
581
581
  sessionId: string;
582
- directTools: {
583
- fullName: string;
584
- originalName: string;
585
- serverName: string;
586
- inputSchema: Record<string, unknown>;
587
- exposureMode: "direct" | "discovery" | "hidden";
588
- enabled: boolean;
589
- exposed: boolean;
590
- description?: string | undefined;
591
- enabledBy?: "discovery" | "toolset" | undefined;
592
- enabledAt?: number | undefined;
593
- }[];
594
582
  servers: {
595
583
  name: string;
596
584
  transport: {
@@ -620,6 +608,18 @@ declare const AgentRuntimeSchemas: {
620
608
  };
621
609
  exposureMode: "direct" | "discovery";
622
610
  }[];
611
+ directTools: {
612
+ fullName: string;
613
+ originalName: string;
614
+ serverName: string;
615
+ inputSchema: Record<string, unknown>;
616
+ exposureMode: "direct" | "discovery" | "hidden";
617
+ enabled: boolean;
618
+ exposed: boolean;
619
+ description?: string | undefined;
620
+ enabledBy?: "discovery" | "toolset" | undefined;
621
+ enabledAt?: number | undefined;
622
+ }[];
623
623
  discoverableTools: {
624
624
  fullName: string;
625
625
  originalName: string;
@@ -652,18 +652,6 @@ declare const AgentRuntimeSchemas: {
652
652
  env?: Record<string, string> | undefined;
653
653
  mcpSessionContext?: {
654
654
  sessionId: string;
655
- directTools: {
656
- fullName: string;
657
- originalName: string;
658
- serverName: string;
659
- inputSchema: Record<string, unknown>;
660
- exposureMode: "direct" | "discovery" | "hidden";
661
- enabled: boolean;
662
- exposed: boolean;
663
- description?: string | undefined;
664
- enabledBy?: "discovery" | "toolset" | undefined;
665
- enabledAt?: number | undefined;
666
- }[];
667
655
  servers: {
668
656
  name: string;
669
657
  transport: {
@@ -693,6 +681,18 @@ declare const AgentRuntimeSchemas: {
693
681
  };
694
682
  exposureMode: "direct" | "discovery";
695
683
  }[];
684
+ directTools: {
685
+ fullName: string;
686
+ originalName: string;
687
+ serverName: string;
688
+ inputSchema: Record<string, unknown>;
689
+ exposureMode: "direct" | "discovery" | "hidden";
690
+ enabled: boolean;
691
+ exposed: boolean;
692
+ description?: string | undefined;
693
+ enabledBy?: "discovery" | "toolset" | undefined;
694
+ enabledAt?: number | undefined;
695
+ }[];
696
696
  discoverableTools: {
697
697
  fullName: string;
698
698
  originalName: string;
@@ -723,18 +723,6 @@ declare const AgentRuntimeSchemas: {
723
723
  env?: Record<string, string> | undefined;
724
724
  mcpSessionContext?: {
725
725
  sessionId: string;
726
- directTools: {
727
- fullName: string;
728
- originalName: string;
729
- serverName: string;
730
- inputSchema: Record<string, unknown>;
731
- exposureMode: "direct" | "discovery" | "hidden";
732
- enabled: boolean;
733
- exposed: boolean;
734
- description?: string | undefined;
735
- enabledBy?: "discovery" | "toolset" | undefined;
736
- enabledAt?: number | undefined;
737
- }[];
738
726
  servers: {
739
727
  name: string;
740
728
  transport: {
@@ -764,6 +752,18 @@ declare const AgentRuntimeSchemas: {
764
752
  };
765
753
  exposureMode: "direct" | "discovery";
766
754
  }[];
755
+ directTools: {
756
+ fullName: string;
757
+ originalName: string;
758
+ serverName: string;
759
+ inputSchema: Record<string, unknown>;
760
+ exposureMode: "direct" | "discovery" | "hidden";
761
+ enabled: boolean;
762
+ exposed: boolean;
763
+ description?: string | undefined;
764
+ enabledBy?: "discovery" | "toolset" | undefined;
765
+ enabledAt?: number | undefined;
766
+ }[];
767
767
  discoverableTools: {
768
768
  fullName: string;
769
769
  originalName: string;
@@ -796,18 +796,6 @@ declare const AgentRuntimeSchemas: {
796
796
  env?: Record<string, string> | undefined;
797
797
  mcpSessionContext?: {
798
798
  sessionId: string;
799
- directTools: {
800
- fullName: string;
801
- originalName: string;
802
- serverName: string;
803
- inputSchema: Record<string, unknown>;
804
- exposureMode: "direct" | "discovery" | "hidden";
805
- enabled: boolean;
806
- exposed: boolean;
807
- description?: string | undefined;
808
- enabledBy?: "discovery" | "toolset" | undefined;
809
- enabledAt?: number | undefined;
810
- }[];
811
799
  servers: {
812
800
  name: string;
813
801
  transport: {
@@ -837,6 +825,18 @@ declare const AgentRuntimeSchemas: {
837
825
  };
838
826
  exposureMode: "direct" | "discovery";
839
827
  }[];
828
+ directTools: {
829
+ fullName: string;
830
+ originalName: string;
831
+ serverName: string;
832
+ inputSchema: Record<string, unknown>;
833
+ exposureMode: "direct" | "discovery" | "hidden";
834
+ enabled: boolean;
835
+ exposed: boolean;
836
+ description?: string | undefined;
837
+ enabledBy?: "discovery" | "toolset" | undefined;
838
+ enabledAt?: number | undefined;
839
+ }[];
840
840
  discoverableTools: {
841
841
  fullName: string;
842
842
  originalName: string;
@@ -44,18 +44,18 @@ type SubagentTemplateSummary = z.infer<typeof SubagentTemplateSummarySchema>;
44
44
  */
45
45
  declare const SubagentTemplateCreateSchema: z.ZodObject<{
46
46
  name: z.ZodString;
47
- contextMode: z.ZodDefault<z.ZodEnum<{
48
- fork: "fork";
49
- fresh: "fresh";
50
- }>>;
51
- adapterName: z.ZodString;
52
- providerConfigId: z.ZodOptional<z.ZodString>;
53
47
  model: z.ZodOptional<z.ZodString>;
48
+ providerConfigId: z.ZodOptional<z.ZodString>;
54
49
  systemPrompt: z.ZodOptional<z.ZodString>;
55
50
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
56
51
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
57
- allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
58
52
  enabled: z.ZodDefault<z.ZodBoolean>;
53
+ allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
54
+ adapterName: z.ZodString;
55
+ contextMode: z.ZodDefault<z.ZodEnum<{
56
+ fork: "fork";
57
+ fresh: "fresh";
58
+ }>>;
59
59
  }, z.core.$strip>;
60
60
  type SubagentTemplateCreate = z.infer<typeof SubagentTemplateCreateSchema>;
61
61
  /**
@@ -129,18 +129,18 @@ declare const SubagentTemplateSettingsSchemas: {
129
129
  create: {
130
130
  request: z.ZodObject<{
131
131
  name: z.ZodString;
132
- contextMode: z.ZodDefault<z.ZodEnum<{
133
- fork: "fork";
134
- fresh: "fresh";
135
- }>>;
136
- adapterName: z.ZodString;
137
- providerConfigId: z.ZodOptional<z.ZodString>;
138
132
  model: z.ZodOptional<z.ZodString>;
133
+ providerConfigId: z.ZodOptional<z.ZodString>;
139
134
  systemPrompt: z.ZodOptional<z.ZodString>;
140
135
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
141
136
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
142
- allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
143
137
  enabled: z.ZodDefault<z.ZodBoolean>;
138
+ allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
139
+ adapterName: z.ZodString;
140
+ contextMode: z.ZodDefault<z.ZodEnum<{
141
+ fork: "fork";
142
+ fresh: "fresh";
143
+ }>>;
144
144
  }, z.core.$strip>;
145
145
  response: z.ZodObject<{
146
146
  id: z.ZodString;
@@ -1,4 +1,4 @@
1
- import { a as ResolveIdResponseSchema, c as ResolveNameResponse, i as ResolveIdResponse, l as ResolveNameResponseSchema, n as ResolveIdRequest, o as ResolveNameRequest, r as ResolveIdRequestSchema, s as ResolveNameRequestSchema, t as AdapterRuntimeSchemas } from "../../schemas-Kq33MTPY.mjs";
2
- import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-nlsvvMtD.mjs";
3
- import { a as resolveDeterministicAdapterId, i as registerAdapterRuntimeIdentityHandlers, n as RegisteredAdapterRuntimeIdentityHandlers, r as buildDeterministicAdapterId, t as AdapterIdentityRegistry } from "../../index-Bw_zL7Rs.mjs";
1
+ import { a as ResolveIdResponseSchema, c as ResolveNameResponse, i as ResolveIdResponse, l as ResolveNameResponseSchema, n as ResolveIdRequest, o as ResolveNameRequest, r as ResolveIdRequestSchema, s as ResolveNameRequestSchema, t as AdapterRuntimeSchemas } from "../../schemas-DFWGb4uj.mjs";
2
+ import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-CTrNKkxY.mjs";
3
+ import { a as resolveDeterministicAdapterId, i as registerAdapterRuntimeIdentityHandlers, n as RegisteredAdapterRuntimeIdentityHandlers, r as buildDeterministicAdapterId, t as AdapterIdentityRegistry } from "../../index-Bw8SkcWG.mjs";
4
4
  export { AdapterIdentityRegistry, AdapterRuntimeNamespace, AdapterRuntimeSchemas, AdapterRuntimeSubjects, RegisteredAdapterRuntimeIdentityHandlers, ResolveIdRequest, ResolveIdRequestSchema, ResolveIdResponse, ResolveIdResponseSchema, ResolveNameRequest, ResolveNameRequestSchema, ResolveNameResponse, ResolveNameResponseSchema, buildDeterministicAdapterId, registerAdapterRuntimeIdentityHandlers, resolveDeterministicAdapterId };
@@ -1,2 +1,2 @@
1
- import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-nlsvvMtD.mjs";
1
+ import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-CTrNKkxY.mjs";
2
2
  export { AdapterRuntimeNamespace, AdapterRuntimeSubjects };
@@ -1,2 +1,2 @@
1
- import { a as ResolveIdResponseSchema, c as ResolveNameResponse, i as ResolveIdResponse, l as ResolveNameResponseSchema, n as ResolveIdRequest, o as ResolveNameRequest, r as ResolveIdRequestSchema, s as ResolveNameRequestSchema, t as AdapterRuntimeSchemas } from "../../schemas-Kq33MTPY.mjs";
1
+ import { a as ResolveIdResponseSchema, c as ResolveNameResponse, i as ResolveIdResponse, l as ResolveNameResponseSchema, n as ResolveIdRequest, o as ResolveNameRequest, r as ResolveIdRequestSchema, s as ResolveNameRequestSchema, t as AdapterRuntimeSchemas } from "../../schemas-DFWGb4uj.mjs";
2
2
  export { AdapterRuntimeSchemas, ResolveIdRequest, ResolveIdRequestSchema, ResolveIdResponse, ResolveIdResponseSchema, ResolveNameRequest, ResolveNameRequestSchema, ResolveNameResponse, ResolveNameResponseSchema };
@@ -1,3 +1,3 @@
1
- import { S as ProviderConfigFileRecordSchema, _ as BindingRecord, a as CanonicalProviderConfigPatchSchema, b as EffectiveAdapterSchema, c as CreateCanonicalProviderConfigInputSchema, d as ProviderConfigFileSet, f as AdapterFileConfig, g as AdapterSubsystemSchemas, h as AdapterReadinessSchema, i as CanonicalProviderConfigPatch, l as AdapterFileConfigSet, m as AdapterReadiness, n as CanonicalProviderConfigCredentialRefsPayload, o as CreateCanonicalProviderConfigInput, p as AdapterFileConfigSchema, r as CanonicalProviderConfigCredentialRefsSchema, s as CreateCanonicalProviderConfigInputPayload, t as CanonicalProviderConfigCredentialRefs, u as IAdapterConfigRepository, v as BindingRecordSchema, x as ProviderConfigFileRecord, y as EffectiveAdapter } from "../../index-BpniJgxu.mjs";
2
- import { n as AdapterSubsystemSubjects, t as AdapterSubsystemNamespace } from "../../namespace-CHMszppN.mjs";
1
+ import { S as ProviderConfigFileRecordSchema, _ as BindingRecord, a as CanonicalProviderConfigPatchSchema, b as EffectiveAdapterSchema, c as CreateCanonicalProviderConfigInputSchema, d as ProviderConfigFileSet, f as AdapterFileConfig, g as AdapterSubsystemSchemas, h as AdapterReadinessSchema, i as CanonicalProviderConfigPatch, l as AdapterFileConfigSet, m as AdapterReadiness, n as CanonicalProviderConfigCredentialRefsPayload, o as CreateCanonicalProviderConfigInput, p as AdapterFileConfigSchema, r as CanonicalProviderConfigCredentialRefsSchema, s as CreateCanonicalProviderConfigInputPayload, t as CanonicalProviderConfigCredentialRefs, u as IAdapterConfigRepository, v as BindingRecordSchema, x as ProviderConfigFileRecord, y as EffectiveAdapter } from "../../index-DUhXk_q6.mjs";
2
+ import { n as AdapterSubsystemSubjects, t as AdapterSubsystemNamespace } from "../../namespace-BaJJxBsI.mjs";
3
3
  export { AdapterFileConfig, AdapterFileConfigSchema, AdapterFileConfigSet, AdapterReadiness, AdapterReadinessSchema, AdapterSubsystemNamespace, AdapterSubsystemSchemas, AdapterSubsystemSubjects, BindingRecord, BindingRecordSchema, CanonicalProviderConfigCredentialRefs, CanonicalProviderConfigCredentialRefsPayload, CanonicalProviderConfigCredentialRefsSchema, CanonicalProviderConfigPatch, CanonicalProviderConfigPatchSchema, CreateCanonicalProviderConfigInput, CreateCanonicalProviderConfigInputPayload, CreateCanonicalProviderConfigInputSchema, EffectiveAdapter, EffectiveAdapterSchema, IAdapterConfigRepository, ProviderConfigFileRecord, ProviderConfigFileRecordSchema, ProviderConfigFileSet };
@@ -1,2 +1,2 @@
1
- import { n as AdapterSubsystemSubjects, t as AdapterSubsystemNamespace } from "../../namespace-CHMszppN.mjs";
1
+ import { n as AdapterSubsystemSubjects, t as AdapterSubsystemNamespace } from "../../namespace-BaJJxBsI.mjs";
2
2
  export { AdapterSubsystemNamespace, AdapterSubsystemSubjects };
@@ -1,3 +1,3 @@
1
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-on3_N5HP.mjs";
2
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-Ds6HkJEU.mjs";
1
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-DdZwjeF0.mjs";
2
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-13uMtVGj.mjs";
3
3
  export { type AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeNamespace, AgentRuntimeSchemas, type AgentRuntimeSelection, AgentRuntimeSelectionSchema, AgentRuntimeSubjects };
@@ -1,2 +1,2 @@
1
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-Ds6HkJEU.mjs";
1
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-13uMtVGj.mjs";
2
2
  export { AgentRuntimeNamespace, AgentRuntimeSubjects };
@@ -1,2 +1,2 @@
1
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-on3_N5HP.mjs";
1
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-DdZwjeF0.mjs";
2
2
  export { AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeSchemas, AgentRuntimeSelection, AgentRuntimeSelectionSchema };
@@ -1,2 +1,2 @@
1
- import { t as CapabilityService } from "../../index-BnQSPC6c.mjs";
1
+ import { t as CapabilityService } from "../../index-B6RGNugn.mjs";
2
2
  export { CapabilityService };
@@ -1,3 +1,3 @@
1
- import { n as CodebaseSubjects, t as CodebaseNamespace } from "../../namespace-XTGCaSXj.mjs";
2
- import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../../schemas-B77Gi8Xr.mjs";
1
+ import { n as CodebaseSubjects, t as CodebaseNamespace } from "../../namespace-QTFnJWHC.mjs";
2
+ import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../../schemas-Hy-lsBpg.mjs";
3
3
  export { type CodebaseChangedEvent, CodebaseChangedEventSchema, CodebaseNamespace, CodebaseSchemas, CodebaseSubjects };
@@ -1,2 +1,2 @@
1
- import { n as CodebaseSubjects, t as CodebaseNamespace } from "../../namespace-XTGCaSXj.mjs";
1
+ import { n as CodebaseSubjects, t as CodebaseNamespace } from "../../namespace-QTFnJWHC.mjs";
2
2
  export { CodebaseNamespace, CodebaseSubjects };
@@ -1,2 +1,2 @@
1
- import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../../schemas-B77Gi8Xr.mjs";
1
+ import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../../schemas-Hy-lsBpg.mjs";
2
2
  export { CodebaseChangedEvent, CodebaseChangedEventSchema, CodebaseSchemas };
@@ -1,3 +1,3 @@
1
- import { a as CompressResponse, c as CompressionEventSchema, d as ExtractedContextSchema, f as TechnicalDetails, h as TodoEntrySchema, i as CompressRequestSchema, l as CompressionSchemas, m as TodoEntry, n as BugEntrySchema, o as CompressResponseSchema, p as TechnicalDetailsSchema, r as CompressRequest, s as CompressionEvent, t as BugEntry, u as ExtractedContext } from "../../schemas-Dyk7JuVl.mjs";
2
- import { n as CompressionSubjects, t as CompressionNamespace } from "../../namespace-uuR0Fg5r.mjs";
1
+ import { a as CompressResponse, c as CompressionEventSchema, d as ExtractedContextSchema, f as TechnicalDetails, h as TodoEntrySchema, i as CompressRequestSchema, l as CompressionSchemas, m as TodoEntry, n as BugEntrySchema, o as CompressResponseSchema, p as TechnicalDetailsSchema, r as CompressRequest, s as CompressionEvent, t as BugEntry, u as ExtractedContext } from "../../schemas-CsjB6gel.mjs";
2
+ import { n as CompressionSubjects, t as CompressionNamespace } from "../../namespace-DkDvQJhB.mjs";
3
3
  export { type BugEntry, BugEntrySchema, type CompressRequest, CompressRequestSchema, type CompressResponse, CompressResponseSchema, type CompressionEvent, CompressionEventSchema, CompressionNamespace, CompressionSchemas, CompressionSubjects, type ExtractedContext, ExtractedContextSchema, type TechnicalDetails, TechnicalDetailsSchema, type TodoEntry, TodoEntrySchema };
@@ -1,2 +1,2 @@
1
- import { n as CompressionSubjects, t as CompressionNamespace } from "../../namespace-uuR0Fg5r.mjs";
1
+ import { n as CompressionSubjects, t as CompressionNamespace } from "../../namespace-DkDvQJhB.mjs";
2
2
  export { CompressionNamespace, CompressionSubjects };
@@ -1,2 +1,2 @@
1
- import { a as CompressResponse, c as CompressionEventSchema, d as ExtractedContextSchema, f as TechnicalDetails, h as TodoEntrySchema, i as CompressRequestSchema, l as CompressionSchemas, m as TodoEntry, n as BugEntrySchema, o as CompressResponseSchema, p as TechnicalDetailsSchema, r as CompressRequest, s as CompressionEvent, t as BugEntry, u as ExtractedContext } from "../../schemas-Dyk7JuVl.mjs";
1
+ import { a as CompressResponse, c as CompressionEventSchema, d as ExtractedContextSchema, f as TechnicalDetails, h as TodoEntrySchema, i as CompressRequestSchema, l as CompressionSchemas, m as TodoEntry, n as BugEntrySchema, o as CompressResponseSchema, p as TechnicalDetailsSchema, r as CompressRequest, s as CompressionEvent, t as BugEntry, u as ExtractedContext } from "../../schemas-CsjB6gel.mjs";
2
2
  export { BugEntry, BugEntrySchema, CompressRequest, CompressRequestSchema, CompressResponse, CompressResponseSchema, CompressionEvent, CompressionEventSchema, CompressionSchemas, ExtractedContext, ExtractedContextSchema, TechnicalDetails, TechnicalDetailsSchema, TodoEntry, TodoEntrySchema };