@skaile/workspaces 5.11.0 → 5.13.0

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 (472) hide show
  1. package/CHANGELOG.md +193 -0
  2. package/README.md +4 -4
  3. package/dist/{asset-feeds-CXGQIDFR.js → asset-feeds-ALMTHLPV.js} +26 -23
  4. package/dist/asset-feeds-ALMTHLPV.js.map +1 -0
  5. package/dist/asset-manager/catalog-deployer.js +10 -10
  6. package/dist/asset-manager/fragments.js +1 -1
  7. package/dist/asset-manager/index.js +18 -18
  8. package/dist/asset-manager/installer.js +13 -13
  9. package/dist/asset-manager/renderers.js +11 -11
  10. package/dist/asset-manager/src/fragments.d.ts +5 -0
  11. package/dist/asset-manager/src/fragments.d.ts.map +1 -1
  12. package/dist/asset-manager/src/index.d.ts +140 -12
  13. package/dist/asset-manager/src/index.d.ts.map +1 -1
  14. package/dist/asset-manager/src/install-agent.d.ts +9 -1
  15. package/dist/asset-manager/src/install-agent.d.ts.map +1 -1
  16. package/dist/asset-manager/src/installer.d.ts.map +1 -1
  17. package/dist/asset-manager/src/renderers.d.ts +5 -0
  18. package/dist/asset-manager/src/renderers.d.ts.map +1 -1
  19. package/dist/bridge/drivers/claude-sdk.js +21 -16
  20. package/dist/bridge/drivers/claude-sdk.js.map +1 -1
  21. package/dist/bridge/drivers/codex.js +101 -29
  22. package/dist/bridge/drivers/codex.js.map +1 -1
  23. package/dist/bridge/drivers/continue.js +12 -12
  24. package/dist/bridge/drivers/echo.js +2 -2
  25. package/dist/bridge/drivers/gemini.js +7 -7
  26. package/dist/bridge/drivers/goose.js +12 -12
  27. package/dist/bridge/drivers/omp.js +135 -33
  28. package/dist/bridge/drivers/omp.js.map +1 -1
  29. package/dist/bridge/drivers/opencode.js +12 -12
  30. package/dist/bridge/drivers/qwen.js +7 -7
  31. package/dist/bridge/index.js +14 -14
  32. package/dist/bridge/src/codex/config-toml.d.ts +16 -3
  33. package/dist/bridge/src/codex/config-toml.d.ts.map +1 -1
  34. package/dist/bridge/src/codex/managed-driver.d.ts.map +1 -1
  35. package/dist/bridge/src/drivers/claude-sdk.d.ts +1 -1
  36. package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
  37. package/dist/bridge/src/drivers/codex.d.ts +6 -0
  38. package/dist/bridge/src/drivers/codex.d.ts.map +1 -1
  39. package/dist/bridge/src/drivers/omp-models-yml.d.ts +32 -0
  40. package/dist/bridge/src/drivers/omp-models-yml.d.ts.map +1 -1
  41. package/dist/bridge/src/drivers/omp.d.ts +29 -6
  42. package/dist/bridge/src/drivers/omp.d.ts.map +1 -1
  43. package/dist/bridge/src/provider-materialize/credential-env.d.ts +15 -0
  44. package/dist/bridge/src/provider-materialize/credential-env.d.ts.map +1 -1
  45. package/dist/{chunk-T42WRQ4O.js → chunk-2BIESC6S.js} +3 -3
  46. package/dist/{chunk-T42WRQ4O.js.map → chunk-2BIESC6S.js.map} +1 -1
  47. package/dist/{chunk-CPWLNZGJ.js → chunk-4DLQESIY.js} +3 -3
  48. package/dist/{chunk-CPWLNZGJ.js.map → chunk-4DLQESIY.js.map} +1 -1
  49. package/dist/{chunk-HZXUXHIV.js → chunk-4L4R5LV3.js} +89 -12
  50. package/dist/chunk-4L4R5LV3.js.map +1 -0
  51. package/dist/{chunk-CAHB6MHA.js → chunk-4NJ3QQHZ.js} +5 -5
  52. package/dist/{chunk-CAHB6MHA.js.map → chunk-4NJ3QQHZ.js.map} +1 -1
  53. package/dist/{chunk-ZCAJZ4B2.js → chunk-57SF6W6E.js} +147 -4
  54. package/dist/chunk-57SF6W6E.js.map +1 -0
  55. package/dist/{chunk-FH7W6TJ4.js → chunk-5FYOM4RF.js} +106 -25
  56. package/dist/chunk-5FYOM4RF.js.map +1 -0
  57. package/dist/{chunk-R7NHYEJF.js → chunk-5SKVCMRC.js} +15 -7
  58. package/dist/chunk-5SKVCMRC.js.map +1 -0
  59. package/dist/{chunk-CJERAGFY.js → chunk-6GICC4RJ.js} +44 -13
  60. package/dist/chunk-6GICC4RJ.js.map +1 -0
  61. package/dist/{chunk-G4FFOV3N.js → chunk-6JKIOPT3.js} +4 -4
  62. package/dist/{chunk-G4FFOV3N.js.map → chunk-6JKIOPT3.js.map} +1 -1
  63. package/dist/{chunk-T7CTHHG7.js → chunk-6NQDDCIL.js} +3 -3
  64. package/dist/{chunk-T7CTHHG7.js.map → chunk-6NQDDCIL.js.map} +1 -1
  65. package/dist/{chunk-XUSALIEI.js → chunk-7SMP4GNW.js} +6 -6
  66. package/dist/{chunk-XUSALIEI.js.map → chunk-7SMP4GNW.js.map} +1 -1
  67. package/dist/{chunk-Y3HTGHJC.js → chunk-AHCI4V5L.js} +3 -3
  68. package/dist/{chunk-Y3HTGHJC.js.map → chunk-AHCI4V5L.js.map} +1 -1
  69. package/dist/{chunk-M3B6EIJD.js → chunk-B7CZYFB2.js} +4 -4
  70. package/dist/{chunk-M3B6EIJD.js.map → chunk-B7CZYFB2.js.map} +1 -1
  71. package/dist/{chunk-PBBPZYVG.js → chunk-BF422IDP.js} +112 -46
  72. package/dist/chunk-BF422IDP.js.map +1 -0
  73. package/dist/{chunk-47U4GZ4M.js → chunk-BVJU2GKE.js} +20 -3
  74. package/dist/chunk-BVJU2GKE.js.map +1 -0
  75. package/dist/{chunk-PMECEZK3.js → chunk-D54T2F54.js} +5 -4
  76. package/dist/chunk-D54T2F54.js.map +1 -0
  77. package/dist/{chunk-2F5AWQX5.js → chunk-DKGEV6SQ.js} +192 -42
  78. package/dist/chunk-DKGEV6SQ.js.map +1 -0
  79. package/dist/{chunk-DALV4HHP.js → chunk-DKXNKFKP.js} +3 -2
  80. package/dist/{chunk-DALV4HHP.js.map → chunk-DKXNKFKP.js.map} +1 -1
  81. package/dist/chunk-FB3NREF7.js +649 -0
  82. package/dist/chunk-FB3NREF7.js.map +1 -0
  83. package/dist/{chunk-QZNJOHN6.js → chunk-FHDK3BFD.js} +3 -3
  84. package/dist/{chunk-QZNJOHN6.js.map → chunk-FHDK3BFD.js.map} +1 -1
  85. package/dist/{chunk-3SM2DL2T.js → chunk-GMDSRSGI.js} +21 -11
  86. package/dist/chunk-GMDSRSGI.js.map +1 -0
  87. package/dist/chunk-H5U7LNTJ.js +122 -0
  88. package/dist/chunk-H5U7LNTJ.js.map +1 -0
  89. package/dist/{chunk-VLTQGE2E.js → chunk-HBZD3MIW.js} +269 -81
  90. package/dist/chunk-HBZD3MIW.js.map +1 -0
  91. package/dist/{chunk-S3O3GKB7.js → chunk-HWGYJMME.js} +4 -4
  92. package/dist/{chunk-S3O3GKB7.js.map → chunk-HWGYJMME.js.map} +1 -1
  93. package/dist/{chunk-CPSIPIX7.js → chunk-IG5LZ3WU.js} +8 -6
  94. package/dist/chunk-IG5LZ3WU.js.map +1 -0
  95. package/dist/{chunk-ZPWTOUTK.js → chunk-IY5E7Y5W.js} +61 -8
  96. package/dist/chunk-IY5E7Y5W.js.map +1 -0
  97. package/dist/{chunk-6O2X3GPW.js → chunk-J4DB5G36.js} +7 -5
  98. package/dist/chunk-J4DB5G36.js.map +1 -0
  99. package/dist/{chunk-BNMZVPYA.js → chunk-J4OYIYFQ.js} +2 -2
  100. package/dist/{chunk-BNMZVPYA.js.map → chunk-J4OYIYFQ.js.map} +1 -1
  101. package/dist/{chunk-ALEYHUC5.js → chunk-L3ZGYSWY.js} +182 -41
  102. package/dist/chunk-L3ZGYSWY.js.map +1 -0
  103. package/dist/{chunk-SBSA3IQA.js → chunk-M3P4BYRK.js} +49 -14
  104. package/dist/chunk-M3P4BYRK.js.map +1 -0
  105. package/dist/{chunk-IER3KIPH.js → chunk-NDUYFYJB.js} +5 -5
  106. package/dist/{chunk-IER3KIPH.js.map → chunk-NDUYFYJB.js.map} +1 -1
  107. package/dist/{chunk-CGYEHQOX.js → chunk-NOA6EJXE.js} +11 -2
  108. package/dist/chunk-NOA6EJXE.js.map +1 -0
  109. package/dist/{chunk-J4RBUFGM.js → chunk-NVO6WECE.js} +9 -8
  110. package/dist/chunk-NVO6WECE.js.map +1 -0
  111. package/dist/{chunk-OBYKJB4U.js → chunk-O2SYFJWP.js} +79 -5
  112. package/dist/chunk-O2SYFJWP.js.map +1 -0
  113. package/dist/{chunk-5LKOAX7I.js → chunk-OQ5MKDS3.js} +21 -5
  114. package/dist/chunk-OQ5MKDS3.js.map +1 -0
  115. package/dist/{chunk-NWDSLXOX.js → chunk-PHRNUTSG.js} +118 -118
  116. package/dist/chunk-PHRNUTSG.js.map +1 -0
  117. package/dist/chunk-PN44DOGP.js +345 -0
  118. package/dist/chunk-PN44DOGP.js.map +1 -0
  119. package/dist/{chunk-COH6FQAG.js → chunk-PXDWTJ3P.js} +5 -5
  120. package/dist/{chunk-COH6FQAG.js.map → chunk-PXDWTJ3P.js.map} +1 -1
  121. package/dist/{chunk-GV4DZ6MT.js → chunk-PYTTF754.js} +22 -6
  122. package/dist/chunk-PYTTF754.js.map +1 -0
  123. package/dist/chunk-PZOO7L26.js +64 -0
  124. package/dist/chunk-PZOO7L26.js.map +1 -0
  125. package/dist/{chunk-EDYHEMJA.js → chunk-QO7CR3KB.js} +10 -5
  126. package/dist/chunk-QO7CR3KB.js.map +1 -0
  127. package/dist/{chunk-XDKH7XSA.js → chunk-R6QHJEHE.js} +5 -5
  128. package/dist/{chunk-XDKH7XSA.js.map → chunk-R6QHJEHE.js.map} +1 -1
  129. package/dist/chunk-U27JRO5L.js +13 -0
  130. package/dist/chunk-U27JRO5L.js.map +1 -0
  131. package/dist/{chunk-X77SUM4P.js → chunk-USHB5KEY.js} +3 -3
  132. package/dist/{chunk-X77SUM4P.js.map → chunk-USHB5KEY.js.map} +1 -1
  133. package/dist/{chunk-QVFAS5IO.js → chunk-V5JHD4I2.js} +3 -3
  134. package/dist/{chunk-QVFAS5IO.js.map → chunk-V5JHD4I2.js.map} +1 -1
  135. package/dist/{chunk-PQFHMQHQ.js → chunk-VLBIME5L.js} +6 -6
  136. package/dist/{chunk-PQFHMQHQ.js.map → chunk-VLBIME5L.js.map} +1 -1
  137. package/dist/{chunk-D3B36CYC.js → chunk-X3RMRJNR.js} +4 -3
  138. package/dist/chunk-X3RMRJNR.js.map +1 -0
  139. package/dist/{chunk-TCHRMVTO.js → chunk-XBYSURMK.js} +4 -4
  140. package/dist/{chunk-TCHRMVTO.js.map → chunk-XBYSURMK.js.map} +1 -1
  141. package/dist/{chunk-MZG34MBZ.js → chunk-XJYBCDY2.js} +3 -3
  142. package/dist/{chunk-MZG34MBZ.js.map → chunk-XJYBCDY2.js.map} +1 -1
  143. package/dist/{chunk-4A4OD24G.js → chunk-Y4Z7LGSH.js} +9 -9
  144. package/dist/{chunk-4A4OD24G.js.map → chunk-Y4Z7LGSH.js.map} +1 -1
  145. package/dist/{chunk-DZMNFCWB.js → chunk-Y7WKXPWS.js} +816 -143
  146. package/dist/chunk-Y7WKXPWS.js.map +1 -0
  147. package/dist/{chunk-HCEVNYSH.js → chunk-YTZFSKWL.js} +3 -3
  148. package/dist/{chunk-HCEVNYSH.js.map → chunk-YTZFSKWL.js.map} +1 -1
  149. package/dist/{chunk-WSBKB4CJ.js → chunk-ZSMMX3JD.js} +167 -25
  150. package/dist/chunk-ZSMMX3JD.js.map +1 -0
  151. package/dist/{chunk-GCHPUTA3.js → chunk-ZU24LWBI.js} +3 -3
  152. package/dist/{chunk-GCHPUTA3.js.map → chunk-ZU24LWBI.js.map} +1 -1
  153. package/dist/cli/index.js +1427 -605
  154. package/dist/cli/index.js.map +1 -1
  155. package/dist/cli/src/agent-checks.d.ts +40 -0
  156. package/dist/cli/src/agent-checks.d.ts.map +1 -0
  157. package/dist/cli/src/asset-feeds.d.ts.map +1 -1
  158. package/dist/cli/src/commands/asset-cmd.d.ts.map +1 -1
  159. package/dist/cli/src/commands/catalog-cmd.d.ts.map +1 -1
  160. package/dist/cli/src/commands/catalog.d.ts +26 -0
  161. package/dist/cli/src/commands/catalog.d.ts.map +1 -1
  162. package/dist/cli/src/commands/config.d.ts.map +1 -1
  163. package/dist/cli/src/commands/diff.d.ts +1 -1
  164. package/dist/cli/src/commands/diff.d.ts.map +1 -1
  165. package/dist/cli/src/commands/integration.d.ts.map +1 -1
  166. package/dist/cli/src/commands/library-cmd.d.ts.map +1 -1
  167. package/dist/cli/src/commands/library-index.d.ts +10 -0
  168. package/dist/cli/src/commands/library-index.d.ts.map +1 -1
  169. package/dist/cli/src/commands/library-publish.d.ts.map +1 -1
  170. package/dist/cli/src/commands/mcp-server.d.ts +1 -1
  171. package/dist/cli/src/commands/migrate-assets.d.ts +2 -1
  172. package/dist/cli/src/commands/migrate-assets.d.ts.map +1 -1
  173. package/dist/cli/src/commands/migrate.d.ts.map +1 -1
  174. package/dist/cli/src/commands/plugin/claude-code.d.ts +1 -1
  175. package/dist/cli/src/commands/plugin/claude-code.d.ts.map +1 -1
  176. package/dist/cli/src/commands/plugin/types.d.ts +3 -1
  177. package/dist/cli/src/commands/plugin/types.d.ts.map +1 -1
  178. package/dist/cli/src/commands/plugin-registry-cmd.d.ts.map +1 -1
  179. package/dist/cli/src/commands/preset-apply.d.ts.map +1 -1
  180. package/dist/cli/src/commands/project.d.ts +8 -0
  181. package/dist/cli/src/commands/project.d.ts.map +1 -1
  182. package/dist/cli/src/commands/publish-core.d.ts +5 -0
  183. package/dist/cli/src/commands/publish-core.d.ts.map +1 -1
  184. package/dist/cli/src/commands/run.d.ts +11 -1
  185. package/dist/cli/src/commands/run.d.ts.map +1 -1
  186. package/dist/cli/src/commands/serve-preflight.d.ts +23 -0
  187. package/dist/cli/src/commands/serve-preflight.d.ts.map +1 -0
  188. package/dist/cli/src/commands/serve.d.ts.map +1 -1
  189. package/dist/cli/src/commands/source-manifest-publish.d.ts.map +1 -1
  190. package/dist/cli/src/commands/source-manifest.d.ts +1 -0
  191. package/dist/cli/src/commands/source-manifest.d.ts.map +1 -1
  192. package/dist/cli/src/commands/source.d.ts +9 -1
  193. package/dist/cli/src/commands/source.d.ts.map +1 -1
  194. package/dist/cli/src/commands/store.d.ts.map +1 -1
  195. package/dist/cli/src/commands/tree.d.ts.map +1 -1
  196. package/dist/cli/src/commands/update.d.ts.map +1 -1
  197. package/dist/cli/src/commands/validate-instances.d.ts.map +1 -1
  198. package/dist/cli/src/commands/validate.d.ts +3 -2
  199. package/dist/cli/src/commands/validate.d.ts.map +1 -1
  200. package/dist/cli/src/commands/why.d.ts.map +1 -1
  201. package/dist/cli/src/curated-manifests.d.ts +21 -0
  202. package/dist/cli/src/curated-manifests.d.ts.map +1 -0
  203. package/dist/cli/src/driver-error.d.ts +7 -0
  204. package/dist/cli/src/driver-error.d.ts.map +1 -1
  205. package/dist/cli/src/helpers.d.ts +6 -0
  206. package/dist/cli/src/helpers.d.ts.map +1 -1
  207. package/dist/cli/src/index-busy.d.ts +8 -0
  208. package/dist/cli/src/index-busy.d.ts.map +1 -0
  209. package/dist/cli/src/plugin-store/index.d.ts +1 -1
  210. package/dist/cli/src/plugin-store/index.d.ts.map +1 -1
  211. package/dist/cli/src/plugin-store/paths.d.ts +7 -3
  212. package/dist/cli/src/plugin-store/paths.d.ts.map +1 -1
  213. package/dist/cli/src/plugin-store/reconcile.d.ts +24 -4
  214. package/dist/cli/src/plugin-store/reconcile.d.ts.map +1 -1
  215. package/dist/cli/src/skill-checks.d.ts +27 -3
  216. package/dist/cli/src/skill-checks.d.ts.map +1 -1
  217. package/dist/cli/src/store-addable.d.ts +17 -0
  218. package/dist/cli/src/store-addable.d.ts.map +1 -0
  219. package/dist/connectors/config.js +6 -6
  220. package/dist/connectors/index.js +18 -18
  221. package/dist/connectors/src/config.d.ts.map +1 -1
  222. package/dist/{connectors-4QWAKPHB.js → connectors-GFKMKAXV.js} +21 -21
  223. package/dist/{connectors-4QWAKPHB.js.map → connectors-GFKMKAXV.js.map} +1 -1
  224. package/dist/core/driver-targets.js +1 -1
  225. package/dist/core/index.js +9 -9
  226. package/dist/core/logging.js +1 -1
  227. package/dist/core/manifest.js +2 -2
  228. package/dist/core/models.js +1 -1
  229. package/dist/core/publish-manifest.js +4 -2
  230. package/dist/core/ref.js +1 -1
  231. package/dist/core/runtime-assets.js +6 -6
  232. package/dist/core/src/agent-instances.d.ts +5 -0
  233. package/dist/core/src/agent-instances.d.ts.map +1 -1
  234. package/dist/core/src/driver-targets.d.ts.map +1 -1
  235. package/dist/core/src/index.d.ts +6 -5
  236. package/dist/core/src/index.d.ts.map +1 -1
  237. package/dist/core/src/lock.d.ts +15 -5
  238. package/dist/core/src/lock.d.ts.map +1 -1
  239. package/dist/core/src/logging/sinks/sqlite-sink.d.ts.map +1 -1
  240. package/dist/core/src/manifest.d.ts +14 -3
  241. package/dist/core/src/manifest.d.ts.map +1 -1
  242. package/dist/core/src/models.d.ts +11 -3
  243. package/dist/core/src/models.d.ts.map +1 -1
  244. package/dist/core/src/package-manager.d.ts +19 -0
  245. package/dist/core/src/package-manager.d.ts.map +1 -0
  246. package/dist/core/src/publish-manifest.d.ts +38 -1
  247. package/dist/core/src/publish-manifest.d.ts.map +1 -1
  248. package/dist/core/src/repo-manager.d.ts +19 -3
  249. package/dist/core/src/repo-manager.d.ts.map +1 -1
  250. package/dist/core/src/runtime-assets.d.ts.map +1 -1
  251. package/dist/core/src/settings.d.ts +26 -6
  252. package/dist/core/src/settings.d.ts.map +1 -1
  253. package/dist/core/src/store.d.ts +4 -0
  254. package/dist/core/src/store.d.ts.map +1 -1
  255. package/dist/core/src/walker.d.ts +8 -1
  256. package/dist/core/src/walker.d.ts.map +1 -1
  257. package/dist/core/src/workspace-config.d.ts +24 -2
  258. package/dist/core/src/workspace-config.d.ts.map +1 -1
  259. package/dist/core/store.js +2 -2
  260. package/dist/core/workspace-config.js +5 -5
  261. package/dist/deploy/index.js +9 -9
  262. package/dist/discovery/index.js +5 -5
  263. package/dist/discovery/src/parse-manifest.d.ts.map +1 -1
  264. package/dist/discovery/src/source-config.d.ts +5 -3
  265. package/dist/discovery/src/source-config.d.ts.map +1 -1
  266. package/dist/{ensure-sources-2RONZKCU.js → ensure-sources-VUKHL65L.js} +21 -21
  267. package/dist/{ensure-sources-2RONZKCU.js.map → ensure-sources-VUKHL65L.js.map} +1 -1
  268. package/dist/factory-assets/README.md +1 -1
  269. package/dist/factory-assets/connectors/box.js +18 -18
  270. package/dist/factory-assets/connectors/deploy.js +18 -18
  271. package/dist/factory-assets/connectors/devserver.js +18 -18
  272. package/dist/factory-assets/connectors/flow/adapter.js +18 -18
  273. package/dist/factory-assets/connectors/flow/contract/normalize.d.ts.map +1 -1
  274. package/dist/factory-assets/connectors/flow/contract.js +1 -1
  275. package/dist/factory-assets/connectors/flow/engine.js +11 -11
  276. package/dist/factory-assets/connectors/flow/run-flow.d.ts.map +1 -1
  277. package/dist/factory-assets/connectors/flow/run-flow.js +20 -20
  278. package/dist/factory-assets/connectors/flow.js +18 -18
  279. package/dist/factory-assets/connectors/git.js +18 -18
  280. package/dist/factory-assets/connectors/gmail.js +18 -18
  281. package/dist/factory-assets/connectors/googledrive.js +18 -18
  282. package/dist/factory-assets/connectors/local.js +18 -18
  283. package/dist/factory-assets/connectors/mattermost.js +18 -18
  284. package/dist/factory-assets/connectors/memory.js +18 -18
  285. package/dist/factory-assets/connectors/minio.js +18 -18
  286. package/dist/factory-assets/connectors/postgres.js +18 -18
  287. package/dist/factory-assets/connectors/s3.js +18 -18
  288. package/dist/factory-assets/connectors/sharepoint.js +18 -18
  289. package/dist/factory-assets/connectors/sqlite.js +18 -18
  290. package/dist/factory-assets/connectors/static-server.js +18 -18
  291. package/dist/factory-assets/connectors/tunnel.js +18 -18
  292. package/dist/factory-assets/connectors/webdav.js +18 -18
  293. package/dist/factory-assets/connectors/xstate-store.js +18 -18
  294. package/dist/factory-assets/connectors/xstate.js +18 -18
  295. package/dist/factory-assets/skills/authoring-skaile-assets/SKILL.md +10 -8
  296. package/dist/factory-assets/skills/authoring-skaile-manifests/SKILL.md +15 -11
  297. package/dist/factory-assets/skills/authoring-skaile-manifests/references/dependency-standard.md +12 -9
  298. package/dist/factory-assets/skills/skaile-author-asset/SKILL.md +2 -2
  299. package/dist/flows-A4YALSZY.js +26 -0
  300. package/dist/{flows-EQF2CH4U.js.map → flows-A4YALSZY.js.map} +1 -1
  301. package/dist/helpers-53XZW7KF.js +34 -0
  302. package/dist/{helpers-CFK6YP6R.js.map → helpers-53XZW7KF.js.map} +1 -1
  303. package/dist/library/index.js +14 -14
  304. package/dist/library/install.js +6 -4
  305. package/dist/library/src/index.d.ts +2 -2
  306. package/dist/library/src/index.d.ts.map +1 -1
  307. package/dist/library/src/install/source-fetch-github.d.ts.map +1 -1
  308. package/dist/library/src/local/db.d.ts +2 -0
  309. package/dist/library/src/local/db.d.ts.map +1 -1
  310. package/dist/library/src/local/library-manager.d.ts +5 -0
  311. package/dist/library/src/local/library-manager.d.ts.map +1 -1
  312. package/dist/library/src/local/library.d.ts +5 -3
  313. package/dist/library/src/local/library.d.ts.map +1 -1
  314. package/dist/library/src/local/local-catalog-source.d.ts +6 -0
  315. package/dist/library/src/local/local-catalog-source.d.ts.map +1 -1
  316. package/dist/library/src/local/store-paths.d.ts +9 -0
  317. package/dist/library/src/local/store-paths.d.ts.map +1 -1
  318. package/dist/library/src/manifest-writer.d.ts +1 -1
  319. package/dist/library/src/manifest-writer.d.ts.map +1 -1
  320. package/dist/library/src/remote/index.d.ts +1 -1
  321. package/dist/library/src/remote/index.d.ts.map +1 -1
  322. package/dist/library/src/remote/remote-catalog-source.d.ts +17 -0
  323. package/dist/library/src/remote/remote-catalog-source.d.ts.map +1 -1
  324. package/dist/library/src/sync/git-driver.d.ts.map +1 -1
  325. package/dist/library/src/user-library.d.ts +2 -0
  326. package/dist/library/src/user-library.d.ts.map +1 -1
  327. package/dist/{library-publish-53UTB3MB.js → library-publish-FFIPWIRM.js} +50 -39
  328. package/dist/library-publish-FFIPWIRM.js.map +1 -0
  329. package/dist/open-library-PZAT3TJA.js +40 -0
  330. package/dist/{open-library-BOSPJVID.js.map → open-library-PZAT3TJA.js.map} +1 -1
  331. package/dist/open-registry-W46UXZ3I.js +32 -0
  332. package/dist/{open-registry-4FI7HKET.js.map → open-registry-W46UXZ3I.js.map} +1 -1
  333. package/dist/paths-KKY3NSBZ.js +22 -0
  334. package/dist/{paths-SUS4S4YT.js.map → paths-KKY3NSBZ.js.map} +1 -1
  335. package/dist/plugin-store-CK7YWRIC.js +227 -0
  336. package/dist/plugin-store-CK7YWRIC.js.map +1 -0
  337. package/dist/plugins/src/catalog-source.d.ts +6 -0
  338. package/dist/plugins/src/catalog-source.d.ts.map +1 -1
  339. package/dist/project-EZUH7PUJ.js +79 -0
  340. package/dist/{project-I55A4O2T.js.map → project-EZUH7PUJ.js.map} +1 -1
  341. package/dist/resolver/index.js +10 -10
  342. package/dist/runner/index.js +35 -35
  343. package/dist/runner/src/agent.d.ts.map +1 -1
  344. package/dist/runner/src/agents/in-process-host.d.ts.map +1 -1
  345. package/dist/runner/src/composition/index.d.ts +2 -1
  346. package/dist/runner/src/composition/index.d.ts.map +1 -1
  347. package/dist/runner/src/composition/prompt-sections.d.ts +20 -5
  348. package/dist/runner/src/composition/prompt-sections.d.ts.map +1 -1
  349. package/dist/runner/src/composition/resolve.d.ts +10 -1
  350. package/dist/runner/src/composition/resolve.d.ts.map +1 -1
  351. package/dist/runner/src/composition/verify.d.ts +29 -0
  352. package/dist/runner/src/composition/verify.d.ts.map +1 -0
  353. package/dist/runner/src/credential-notice.d.ts +14 -0
  354. package/dist/runner/src/credential-notice.d.ts.map +1 -0
  355. package/dist/runner/src/environment.d.ts.map +1 -1
  356. package/dist/runner/src/final-text.d.ts +17 -0
  357. package/dist/runner/src/final-text.d.ts.map +1 -0
  358. package/dist/runner/src/index.d.ts +2 -0
  359. package/dist/runner/src/index.d.ts.map +1 -1
  360. package/dist/runner/src/resource-handler.d.ts.map +1 -1
  361. package/dist/runner/src/serve.d.ts +13 -0
  362. package/dist/runner/src/serve.d.ts.map +1 -1
  363. package/dist/runner/src/session-builder.d.ts.map +1 -1
  364. package/dist/runner/src/session.d.ts +2 -0
  365. package/dist/runner/src/session.d.ts.map +1 -1
  366. package/dist/runner/src/ws-auth-warning.d.ts +17 -0
  367. package/dist/runner/src/ws-auth-warning.d.ts.map +1 -0
  368. package/dist/sdk/asset-manager.js +18 -18
  369. package/dist/sdk/bridge.js +14 -14
  370. package/dist/sdk/core.js +9 -9
  371. package/dist/sdk/flow.js +11 -11
  372. package/dist/sdk/index.js +38 -36
  373. package/dist/sdk/index.js.map +1 -1
  374. package/dist/sdk/resolver.js +10 -10
  375. package/dist/sdk/runner.js +35 -35
  376. package/dist/sdk/src/local-runtime.d.ts.map +1 -1
  377. package/dist/sdk/transport/ws/client.js +1 -1
  378. package/dist/sdk/transport/ws/server.js +1 -1
  379. package/dist/sdk/transport/ws.js +2 -2
  380. package/dist/sdk/transport.js +2 -2
  381. package/dist/serve-preflight-F7MYF747.js +64 -0
  382. package/dist/serve-preflight-F7MYF747.js.map +1 -0
  383. package/dist/{setup-7DQJKHUI.js → setup-L632QIHV.js} +26 -26
  384. package/dist/{setup-7DQJKHUI.js.map → setup-L632QIHV.js.map} +1 -1
  385. package/dist/skills-OY3Y5GKA.js +26 -0
  386. package/dist/{skills-NUEN5NDX.js.map → skills-OY3Y5GKA.js.map} +1 -1
  387. package/dist/source-36FHMN5V.js +42 -0
  388. package/dist/{source-G2LV5LVD.js.map → source-36FHMN5V.js.map} +1 -1
  389. package/dist/source-fetch-github-PIO6EMMF.js +4 -0
  390. package/dist/{source-fetch-github-QN4LLTL5.js.map → source-fetch-github-PIO6EMMF.js.map} +1 -1
  391. package/dist/{source-manifest-publish-6RM7SWLZ.js → source-manifest-publish-NIXJSJ22.js} +30 -28
  392. package/dist/source-manifest-publish-NIXJSJ22.js.map +1 -0
  393. package/dist/transport/index.js +2 -2
  394. package/dist/transport/src/ws/client.d.ts +6 -0
  395. package/dist/transport/src/ws/client.d.ts.map +1 -1
  396. package/dist/transport/src/ws/server.d.ts +4 -0
  397. package/dist/transport/src/ws/server.d.ts.map +1 -1
  398. package/dist/transport/ws/client.js +1 -1
  399. package/dist/transport/ws/server.js +1 -1
  400. package/dist/transport/ws.js +2 -2
  401. package/dist/tui/index.js +77 -50
  402. package/dist/tui/index.js.map +1 -1
  403. package/dist/tui/src/repl-session.d.ts +1 -1
  404. package/dist/tui/src/repl-session.d.ts.map +1 -1
  405. package/dist/tui/src/repl.d.ts +3 -0
  406. package/dist/tui/src/repl.d.ts.map +1 -1
  407. package/dist/types/manifests.js +1 -1
  408. package/dist/types/src/lifecycle.d.ts +2 -1
  409. package/dist/types/src/lifecycle.d.ts.map +1 -1
  410. package/dist/types/src/manifests/agent-composition.d.ts +20 -0
  411. package/dist/types/src/manifests/agent-composition.d.ts.map +1 -1
  412. package/dist/types/src/manifests/agent.d.ts.map +1 -1
  413. package/dist/types/src/manifests/cron.d.ts +15 -0
  414. package/dist/types/src/manifests/cron.d.ts.map +1 -0
  415. package/dist/types/src/manifests/index.d.ts +3 -2
  416. package/dist/types/src/manifests/index.d.ts.map +1 -1
  417. package/dist/types/src/manifests/preset.d.ts +6 -1
  418. package/dist/types/src/manifests/preset.d.ts.map +1 -1
  419. package/dist/workspace-plugin/adapters/mcp.js +25 -25
  420. package/dist/workspace-plugin/adapters/omp.js +106 -51
  421. package/dist/workspace-plugin/adapters/omp.js.map +1 -1
  422. package/dist/workspace-plugin/index.js +2 -2
  423. package/dist/workspace-plugin/src/adapters/claude-code.d.ts.map +1 -1
  424. package/dist/workspace-plugin/src/adapters/omp.d.ts +11 -2
  425. package/dist/workspace-plugin/src/adapters/omp.d.ts.map +1 -1
  426. package/package.json +1 -1
  427. package/dist/asset-feeds-CXGQIDFR.js.map +0 -1
  428. package/dist/chunk-2F5AWQX5.js.map +0 -1
  429. package/dist/chunk-3SM2DL2T.js.map +0 -1
  430. package/dist/chunk-47U4GZ4M.js.map +0 -1
  431. package/dist/chunk-5LKOAX7I.js.map +0 -1
  432. package/dist/chunk-6O2X3GPW.js.map +0 -1
  433. package/dist/chunk-ALEYHUC5.js.map +0 -1
  434. package/dist/chunk-CGYEHQOX.js.map +0 -1
  435. package/dist/chunk-CJERAGFY.js.map +0 -1
  436. package/dist/chunk-CPSIPIX7.js.map +0 -1
  437. package/dist/chunk-D3B36CYC.js.map +0 -1
  438. package/dist/chunk-DZMNFCWB.js.map +0 -1
  439. package/dist/chunk-EDYHEMJA.js.map +0 -1
  440. package/dist/chunk-FH7W6TJ4.js.map +0 -1
  441. package/dist/chunk-GV4DZ6MT.js.map +0 -1
  442. package/dist/chunk-HZXUXHIV.js.map +0 -1
  443. package/dist/chunk-J4RBUFGM.js.map +0 -1
  444. package/dist/chunk-NWDSLXOX.js.map +0 -1
  445. package/dist/chunk-OBYKJB4U.js.map +0 -1
  446. package/dist/chunk-PBBPZYVG.js.map +0 -1
  447. package/dist/chunk-PMECEZK3.js.map +0 -1
  448. package/dist/chunk-R7FOF242.js +0 -59
  449. package/dist/chunk-R7FOF242.js.map +0 -1
  450. package/dist/chunk-R7NHYEJF.js.map +0 -1
  451. package/dist/chunk-RYYLMBA2.js +0 -392
  452. package/dist/chunk-RYYLMBA2.js.map +0 -1
  453. package/dist/chunk-SBSA3IQA.js.map +0 -1
  454. package/dist/chunk-VLTQGE2E.js.map +0 -1
  455. package/dist/chunk-WSBKB4CJ.js.map +0 -1
  456. package/dist/chunk-YOH2L76X.js +0 -505
  457. package/dist/chunk-YOH2L76X.js.map +0 -1
  458. package/dist/chunk-ZCAJZ4B2.js.map +0 -1
  459. package/dist/chunk-ZPWTOUTK.js.map +0 -1
  460. package/dist/flows-EQF2CH4U.js +0 -26
  461. package/dist/helpers-CFK6YP6R.js +0 -34
  462. package/dist/library-publish-53UTB3MB.js.map +0 -1
  463. package/dist/open-library-BOSPJVID.js +0 -40
  464. package/dist/open-registry-4FI7HKET.js +0 -32
  465. package/dist/paths-SUS4S4YT.js +0 -22
  466. package/dist/plugin-store-AGQDMING.js +0 -149
  467. package/dist/plugin-store-AGQDMING.js.map +0 -1
  468. package/dist/project-I55A4O2T.js +0 -41
  469. package/dist/skills-NUEN5NDX.js +0 -26
  470. package/dist/source-G2LV5LVD.js +0 -41
  471. package/dist/source-fetch-github-QN4LLTL5.js +0 -4
  472. package/dist/source-manifest-publish-6RM7SWLZ.js.map +0 -1
@@ -1,36 +1,36 @@
1
- import { WorkspacePlugin } from './chunk-6O2X3GPW.js';
2
- import { buildWorkspaceToolDefs } from './chunk-IER3KIPH.js';
3
- import { findAiAssetsRoot } from './chunk-T42WRQ4O.js';
4
- import { WebSocketServerTransport } from './chunk-5LKOAX7I.js';
1
+ import { WorkspacePlugin } from './chunk-J4DB5G36.js';
2
+ import { buildWorkspaceToolDefs } from './chunk-NDUYFYJB.js';
3
+ import { findAiAssetsRoot } from './chunk-2BIESC6S.js';
4
+ import { WebSocketServerTransport } from './chunk-OQ5MKDS3.js';
5
5
  import { assembleSystemPrompt, buildCapabilitiesPromptSection } from './chunk-W3UDISS2.js';
6
- import { prepareNativePolicy, codexInstanceEnvironment, parseCodexCredential, parseCodexRefreshInput, parseCodexRefreshResult } from './chunk-NWDSLXOX.js';
7
- import { resolveFlowPath } from './chunk-3SM2DL2T.js';
8
- import { findAiAssetsRoot as findAiAssetsRoot$1, deployCatalogEntry, undeployCatalogEntry } from './chunk-GCHPUTA3.js';
9
- import { ConnectFailureCarryOver, registerBuiltinConnectors, buildConnectorPromptSection, findMissingPackages, installNpmPackages, ConnectorManager, buildSdkConnectorTools, buildLazySdkFlowTools, describeFlowOperations, buildConnectorToolDefs, buildFlowToolDefs, SessionNodeExecutor, SessionSubpromptRunner, ClassifierSubpromptRunner, SessionInlineSubFlowRunner, driveOrchestratorTurn, buildSdkFlowTools } from './chunk-4A4OD24G.js';
10
- import { loadYamlConnectorDeclarations, withMaterializedConnectorDeclarations, SecretProviderChain, ConnectorStartupError, isKnownSecretRef, EnvSecretProvider, PreMintedSecretProvider, InMemorySecretProvider, resolvedConfigToDeclarations, deriveSingleMaterializedConnectorDeclaration } from './chunk-R7NHYEJF.js';
11
- import { EventNormalizer } from './chunk-T7CTHHG7.js';
12
- import { probeResumeTranscript, transcriptStoreForRuntime } from './chunk-HCEVNYSH.js';
6
+ import { prepareNativePolicy, codexInstanceEnvironment, parseCodexCredential, parseCodexRefreshInput, parseCodexRefreshResult } from './chunk-PHRNUTSG.js';
7
+ import { resolveFlowPath } from './chunk-GMDSRSGI.js';
8
+ import { findAiAssetsRoot as findAiAssetsRoot$1, deployCatalogEntry, undeployCatalogEntry } from './chunk-ZU24LWBI.js';
9
+ import { ConnectFailureCarryOver, registerBuiltinConnectors, buildConnectorPromptSection, findMissingPackages, installNpmPackages, ConnectorManager, buildSdkConnectorTools, buildLazySdkFlowTools, describeFlowOperations, buildConnectorToolDefs, buildFlowToolDefs, SessionNodeExecutor, SessionSubpromptRunner, ClassifierSubpromptRunner, SessionInlineSubFlowRunner, driveOrchestratorTurn, buildSdkFlowTools } from './chunk-Y4Z7LGSH.js';
10
+ import { loadYamlConnectorDeclarations, withMaterializedConnectorDeclarations, SecretProviderChain, ConnectorStartupError, isKnownSecretRef, EnvSecretProvider, PreMintedSecretProvider, InMemorySecretProvider, resolvedConfigToDeclarations, deriveSingleMaterializedConnectorDeclaration } from './chunk-5SKVCMRC.js';
11
+ import { EventNormalizer } from './chunk-6NQDDCIL.js';
12
+ import { probeResumeTranscript, transcriptStoreForRuntime } from './chunk-YTZFSKWL.js';
13
13
  import { CodexNativeStateUnavailable } from './chunk-LOO5CB5M.js';
14
14
  import { dispatchCapability } from './chunk-2H73V6XR.js';
15
15
  import { classifyClaudeSdkError } from './chunk-B4X2N7JQ.js';
16
16
  import { agentExecRequested } from './chunk-YROR332M.js';
17
- import { driverCapabilities, toAgentEffort, createDriver, catalogLayer, providerCredentialEnvName, toMergedRegistry, registryCredentialEnv, AI_PROVIDER_PRESETS, supportsLiveToolUpdates } from './chunk-47U4GZ4M.js';
18
- import { loadFlow } from './chunk-TCHRMVTO.js';
19
- import { parseFlowDefinition } from './chunk-D3B36CYC.js';
17
+ import { unresolvedProviderCredentials, driverCapabilities, toAgentEffort, createDriver, catalogLayer, providerCredentialEnvName, toMergedRegistry, registryCredentialEnv, AI_PROVIDER_PRESETS, supportsLiveToolUpdates } from './chunk-BVJU2GKE.js';
18
+ import { loadFlow } from './chunk-XBYSURMK.js';
19
+ import { parseFlowDefinition } from './chunk-X3RMRJNR.js';
20
20
  import { renderStimulusPrompt } from './chunk-M3WPBTGJ.js';
21
21
  import { TERMINAL_AGENT_RUN_STATUSES, withActivityLabelJsonSchema, TOOL_ACTIVITY_PROMPT_SECTION, SESSION_ROOT_CONNECTOR_ID, PLATFORM_BLOCKS_RUNTIME_FEATURE, PROTOCOL_VERSION, deliveryClassOf } from './chunk-F4NJDSR7.js';
22
- import { knowledgeKindProvider, scanLibraryRoot } from './chunk-2F5AWQX5.js';
23
- import { createDefaultKindRegistry } from './chunk-J4RBUFGM.js';
24
- import { BindingSchema, effectiveComposes, AgentManifestSchema, AgentTriggerSchema } from './chunk-ZCAJZ4B2.js';
25
- import { readLock, buildAgentPromptSections, resolveSettings, loadProviderRegistry, resolveLibraryDir } from './chunk-PBBPZYVG.js';
26
- import { resolveRuntimeAssets } from './chunk-EDYHEMJA.js';
22
+ import { knowledgeKindProvider, scanLibraryRoot } from './chunk-DKGEV6SQ.js';
23
+ import { createDefaultKindRegistry } from './chunk-NVO6WECE.js';
24
+ import { BindingSchema, effectiveComposes, AgentManifestSchema, AgentTriggerSchema } from './chunk-57SF6W6E.js';
25
+ import { readLock, buildAgentPromptSections, resolveSettings, loadProviderRegistry, resolveLibraryDir } from './chunk-BF422IDP.js';
26
+ import { resolveRuntimeAssets } from './chunk-QO7CR3KB.js';
27
27
  import { DEFAULT_DRIVER_ID, resolveDriverPaths } from './chunk-5BEFNLOR.js';
28
- import { matchPin, DEFAULT_AGENT_INSTANCE_ID, effectiveAgentInstances, resolveSkWorkspaceConfig, resolveAgentDir, loadMcpServerDeclarations, COMPACTION_DEFAULTS, resolveCompactionThresholdPercent, getGlobalCacheDir, sourceCacheKey, resolveAgentDefinitionDir, AgentRefResolutionError, validateAssetRecipeAttr, deriveSingleMaterializedMcpDeclaration, stageMaterializedSkills, readSkillAllowList, isStagedSkillMarkerFor, unstageSkill, STAGED_SKILL_MARKER } from './chunk-ALEYHUC5.js';
28
+ import { matchPin, DEFAULT_AGENT_INSTANCE_ID, effectiveAgentInstances, resolveSkWorkspaceConfig, resolveAgentDir, loadMcpServerDeclarations, COMPACTION_DEFAULTS, resolveCompactionThresholdPercent, getGlobalCacheDir, sourceCacheKey, resolveAgentDefinitionDir, AgentRefResolutionError, validateAssetRecipeAttr, deriveSingleMaterializedMcpDeclaration, stageMaterializedSkills, readSkillAllowList, isStagedSkillMarkerFor, unstageSkill, STAGED_SKILL_MARKER } from './chunk-L3ZGYSWY.js';
29
29
  import { globalSkaileDir } from './chunk-L5VSIPQD.js';
30
- import { driverTargetForDriver, SUPPORTED_DRIVER_TARGETS, DRIVER_TARGETS } from './chunk-CPSIPIX7.js';
31
- import { withFsDeadline, FsDeadlineError, fsDeadlineMs, parseFrontmatter, tryWithFsDeadline } from './chunk-SBSA3IQA.js';
32
- import { parseAssetRef } from './chunk-BNMZVPYA.js';
33
- import { resolveLogStoreConfig, createLogStoreFromConfig, OnLogBridgeSink, WsLogSink, resolveLogsRetention, enforceLogsRetention } from './chunk-DALV4HHP.js';
30
+ import { driverTargetForDriver, SUPPORTED_DRIVER_TARGETS, DRIVER_TARGETS } from './chunk-IG5LZ3WU.js';
31
+ import { withFsDeadline, FsDeadlineError, fsDeadlineMs, parseFrontmatter, tryWithFsDeadline } from './chunk-M3P4BYRK.js';
32
+ import { parseAssetRef } from './chunk-J4OYIYFQ.js';
33
+ import { resolveLogStoreConfig, createLogStoreFromConfig, OnLogBridgeSink, WsLogSink, resolveLogsRetention, enforceLogsRetention } from './chunk-DKXNKFKP.js';
34
34
  import { pickRegistryEntries, registryEntries, resolveEntryBaseUrl, parseModelRef, isEntryEnabled, parseCredentialRef } from './chunk-MJHSLODD.js';
35
35
  import { getLogStore, registerLogStore, createLogger, resetLogStore, isUnwritableStreamError, markStreamBroken, isBrokenPipeError, redactCredentials } from './chunk-BOFL7GIF.js';
36
36
  import { __require } from './chunk-NSBPE2FW.js';
@@ -61,6 +61,39 @@ import mime from 'mime';
61
61
  import { homedir } from 'os';
62
62
  import { Worker } from 'worker_threads';
63
63
 
64
+ // runner/src/final-text.ts
65
+ function messageText(message) {
66
+ if (!message) return "";
67
+ if (typeof message.content === "string") return message.content;
68
+ if (!Array.isArray(message.content)) return "";
69
+ return message.content.filter((block) => block.type === "text" && block.text).map((block) => block.text).join("");
70
+ }
71
+ function createFinalTextFallback(write) {
72
+ let streamed = false;
73
+ return (event) => {
74
+ if (event.type === "message_start") {
75
+ streamed = false;
76
+ } else if (event.type === "message_update") {
77
+ if (event._textDelta) streamed = true;
78
+ } else if (event.type === "message_end") {
79
+ const hadStream = streamed;
80
+ streamed = false;
81
+ if (hadStream || event.message?.role !== "assistant") return;
82
+ const text2 = messageText(event.message);
83
+ if (text2) write(text2);
84
+ }
85
+ };
86
+ }
87
+
88
+ // runner/src/credential-notice.ts
89
+ function unresolvedCredentialNotices(session) {
90
+ if (session.driverType !== "omp") return [];
91
+ return unresolvedProviderCredentials(session.registry, {
92
+ env: { ...process.env, ...session.credentialEnv }
93
+ }).map(
94
+ (u) => `provider '${u.providerId}' is not used: ${u.reason}; omp falls back to its own login (check with \`skaile providers test ${u.providerId}\`)`
95
+ );
96
+ }
64
97
  var PreInitRingSink = class {
65
98
  ring = [];
66
99
  cap;
@@ -1138,12 +1171,31 @@ async function resolveItem(item, binding, source, compileManifest, runSnapshot,
1138
1171
  item.ref
1139
1172
  );
1140
1173
  }
1174
+ if (implicit) await assertConventionItemUnedited(item, compiled2, source);
1141
1175
  return asResolved(item, binding, compiled2, "compiled");
1142
1176
  }
1143
- if (binding === "discoverable" && compiled2)
1177
+ if (binding === "discoverable" && compiled2) {
1178
+ if (implicit) await assertConventionItemUnedited(item, compiled2, source);
1144
1179
  return asResolved(item, binding, compiled2, "compiled");
1180
+ }
1145
1181
  return fromSource(item, binding, source);
1146
1182
  }
1183
+ async function assertConventionItemUnedited(item, compiled2, source) {
1184
+ let live;
1185
+ try {
1186
+ live = await source.load(item.ref, item.kind);
1187
+ } catch (err) {
1188
+ if (err instanceof CompositionError && err.code === "composition_asset_missing") return;
1189
+ throw err;
1190
+ }
1191
+ if (live.sha256 === compiled2.hash) return;
1192
+ throw new CompositionError(
1193
+ "composition_conflict",
1194
+ "hash_mismatch",
1195
+ `"${item.ref}" (${item.kind}): the file hashes to ${live.sha256.slice(0, 12)}\u2026 but compile_manifest.json records ${compiled2.hash.slice(0, 12)}\u2026 \u2014 it was edited after \`skaile rebuild\`; run \`skaile rebuild\` to pin the edit or restore the file with \`skaile install\``,
1196
+ item.ref
1197
+ );
1198
+ }
1147
1199
  async function resolveSubagentItem(item, binding, source, compileManifest, runSnapshot) {
1148
1200
  const captured = findEntry(runSnapshot?.items, item, void 0);
1149
1201
  if (captured) return asResolved(item, binding, captured, "run-snapshot");
@@ -3671,7 +3723,11 @@ function nestedLauncher(deps) {
3671
3723
  agentDir: target.agentDir,
3672
3724
  sessionId: ctx.run.sessionId,
3673
3725
  ...Number.isFinite(maxTurns) ? { maxTurns } : {},
3674
- ...modelPreferred ? { modelRef: modelPreferred } : {}
3726
+ // `model` is what the primary session hands the driver (`--model`); a registry
3727
+ // session resolves `modelRef` first. Both are set, so the role runs on its own
3728
+ // `model.preferred` whether or not a provider registry is configured, not on the
3729
+ // parent's model or the driver default.
3730
+ ...modelPreferred ? { model: modelPreferred, modelRef: modelPreferred } : {}
3675
3731
  });
3676
3732
  const release2 = async () => {
3677
3733
  session.driver.kill();
@@ -3868,10 +3924,17 @@ async function createStandaloneAgentSurface(opts) {
3868
3924
  }
3869
3925
 
3870
3926
  // runner/src/composition/prompt-sections.ts
3871
- function buildRunnerAgentSections(resolved, promptExtensions) {
3927
+ function buildRunnerAgentSections(resolved, promptExtensions, options = {}) {
3928
+ const blocks = resolved?.inlineBlocks ?? [];
3929
+ const memory = resolved?.memoryBlocks ?? [];
3930
+ const seedsFromSoul = memory.some((m) => m.source?.replace(/^\.\//, "") === "SOUL.md");
3931
+ const soul = options.includeSoul && !seedsFromSoul ? blocks.filter((block) => block.implicit && block.kind === "soul").map((block) => block.content.trim()).filter(Boolean).join("\n\n") : "";
3932
+ const duties = blocks.filter((block) => block.implicit && block.kind === "prompt").map((block) => block.content.trim()).filter(Boolean).join("\n\n");
3872
3933
  return buildAgentPromptSections({
3873
- memory: resolved?.memoryBlocks ?? [],
3874
- composed: (resolved?.inlineBlocks ?? []).filter((block) => !block.implicit).map((block) => ({ text: block.content, source: block.ref })),
3934
+ soul,
3935
+ memory,
3936
+ duties,
3937
+ composed: blocks.filter((block) => !block.implicit).map((block) => ({ text: block.content, source: block.ref })),
3875
3938
  promptExtensions: promptExtensions.map((e) => ({ text: e.value, source: e.source }))
3876
3939
  });
3877
3940
  }
@@ -3918,6 +3981,9 @@ function buildContextSection(context) {
3918
3981
  return lines.join("\n");
3919
3982
  }
3920
3983
  var execFileAsync = promisify(execFile);
3984
+ function runsInContainer() {
3985
+ return existsSync("/.dockerenv") || existsSync("/run/.containerenv") || process.env.KUBERNETES_SERVICE_HOST !== void 0;
3986
+ }
3921
3987
  var PROBE_TIMEOUT_MS = 1500;
3922
3988
  var VERSION_PROBES = [
3923
3989
  { label: "Python", bin: "python3", args: ["--version"] },
@@ -3976,7 +4042,7 @@ async function buildEnvironmentSection(projectDir) {
3976
4042
  const lines = [
3977
4043
  "## Environment",
3978
4044
  "",
3979
- "You are running inside an isolated container with the following tools available:",
4045
+ runsInContainer() ? "You are running inside an isolated container with the following tools available:" : "You are running on the user's machine with the following tools available:",
3980
4046
  ""
3981
4047
  ];
3982
4048
  if (runtimes.length > 0) {
@@ -6106,7 +6172,9 @@ async function createAgentSession(config) {
6106
6172
  log: sessionLog
6107
6173
  }) : null;
6108
6174
  composition = await withHostMemory(composition, config.loadHostMemory, sessionLog);
6109
- const agentSections = buildRunnerAgentSections(composition, promptExtensions);
6175
+ const agentSections = buildRunnerAgentSections(composition, promptExtensions, {
6176
+ includeSoul: driverType === "omp"
6177
+ });
6110
6178
  const disposeManagedTools = managed ? await registerCodexResourceTools({
6111
6179
  registry: config.capabilityRegistry,
6112
6180
  manager: resourceManager,
@@ -6441,7 +6509,7 @@ function createSessionDriver(args) {
6441
6509
  // runner/src/agent.ts
6442
6510
  var PROMPT_AGENT = `${pc.magenta(pc.bold("agent"))} ${pc.dim("\u25B6")} `;
6443
6511
  function stderrWarnings(line) {
6444
- if (line.startsWith("[warn]") || line.startsWith("[error]")) {
6512
+ if (line.startsWith("[warn]")) {
6445
6513
  process.stderr.write(`${line}
6446
6514
  `);
6447
6515
  }
@@ -6477,22 +6545,40 @@ async function runAgentChat(opts) {
6477
6545
  throw error;
6478
6546
  }
6479
6547
  const driver = agentSession.driver;
6548
+ for (const notice of unresolvedCredentialNotices(agentSession)) {
6549
+ console.error(` ${pc.yellow("!")} ${notice}`);
6550
+ }
6480
6551
  await driver.start();
6552
+ const bareAnswer = process.stdout.isTTY !== true;
6553
+ let plainAnswer = "";
6481
6554
  let firstChunk = true;
6482
6555
  const mdStream = new MarkdownStreamer();
6556
+ const writeText = (text2) => {
6557
+ if (bareAnswer) {
6558
+ plainAnswer += text2;
6559
+ return;
6560
+ }
6561
+ if (firstChunk) {
6562
+ process.stdout.write(PROMPT_AGENT);
6563
+ firstChunk = false;
6564
+ }
6565
+ mdStream.write(text2);
6566
+ };
6567
+ const printUnstreamed = createFinalTextFallback(writeText);
6483
6568
  driver.on("agent-event", (event) => {
6484
6569
  opts.onEvent?.(event);
6570
+ printUnstreamed(event);
6485
6571
  if (event.type === "message_update") {
6486
6572
  const delta = event._textDelta;
6487
- if (delta) {
6488
- if (firstChunk) {
6489
- process.stdout.write(PROMPT_AGENT);
6490
- firstChunk = false;
6573
+ if (delta) writeText(delta);
6574
+ } else if (event.type === "message_retract") {
6575
+ if (bareAnswer) {
6576
+ if (plainAnswer.endsWith(event.text)) {
6577
+ plainAnswer = plainAnswer.slice(0, plainAnswer.length - event.text.length);
6491
6578
  }
6492
- mdStream.write(delta);
6579
+ } else {
6580
+ mdStream.retract(event.text);
6493
6581
  }
6494
- } else if (event.type === "message_retract") {
6495
- mdStream.retract(event.text);
6496
6582
  }
6497
6583
  });
6498
6584
  let message = opts.message;
@@ -6503,14 +6589,23 @@ ${message}`;
6503
6589
  }
6504
6590
  try {
6505
6591
  await new Promise((resolve4, reject) => {
6592
+ let settled = false;
6506
6593
  const onEvent = (event) => {
6507
6594
  if (event.type === "agent_end") {
6595
+ settled = true;
6508
6596
  driver.off("agent-event", onEvent);
6509
- mdStream.end();
6510
- process.stdout.write("\n");
6597
+ if (bareAnswer) {
6598
+ const answer = plainAnswer.trim();
6599
+ if (answer) process.stdout.write(`${answer}
6600
+ `);
6601
+ } else {
6602
+ mdStream.end();
6603
+ process.stdout.write("\n");
6604
+ }
6511
6605
  driver.kill();
6512
6606
  resolve4();
6513
6607
  } else if (event.type === "error" && event.retrying !== true) {
6608
+ settled = true;
6514
6609
  driver.off("agent-event", onEvent);
6515
6610
  const err = Object.assign(new Error(String(event.error)), {
6516
6611
  detail: event.detail
@@ -6522,6 +6617,8 @@ ${message}`;
6522
6617
  };
6523
6618
  driver.on("agent-event", onEvent);
6524
6619
  driver.prompt(message).catch((err) => {
6620
+ if (settled) return;
6621
+ settled = true;
6525
6622
  driver.off("agent-event", onEvent);
6526
6623
  chatLog.error("prompt failed", err);
6527
6624
  driver.kill();
@@ -6671,6 +6768,38 @@ function deliveryFor(item, binding, target) {
6671
6768
  }
6672
6769
  return "unsupported";
6673
6770
  }
6771
+
6772
+ // runner/src/composition/verify.ts
6773
+ async function verifyConventionItems(opts) {
6774
+ const compileManifest = await loadCompileManifestFromDir(opts.agentDir);
6775
+ if (!compileManifest) return [];
6776
+ const files = await hashAgentFiles(opts.agentDir);
6777
+ const items = effectiveComposes(
6778
+ [],
6779
+ files.map((f) => f.path)
6780
+ );
6781
+ const source = createCompositionContentSource({
6782
+ agentDir: opts.agentDir,
6783
+ projectDir: opts.projectDir,
6784
+ registry: opts.registry
6785
+ });
6786
+ const drifted = [];
6787
+ for (const item of items) {
6788
+ const binding = resolveBinding(item);
6789
+ if (binding === "inline-live") continue;
6790
+ const compiled2 = compileManifest.entries.find(
6791
+ (e) => e.asset_ref === item.ref && e.kind === item.kind && e.binding === binding
6792
+ );
6793
+ if (!compiled2) continue;
6794
+ try {
6795
+ await assertConventionItemUnedited(item, compiled2, source);
6796
+ } catch (err) {
6797
+ if (err instanceof CompositionError) drifted.push(err);
6798
+ else throw err;
6799
+ }
6800
+ }
6801
+ return drifted;
6802
+ }
6674
6803
  var ResourceOperationError = class extends Error {
6675
6804
  constructor(message, code) {
6676
6805
  super(message);
@@ -7393,6 +7522,20 @@ async function handleSessionRootResourceRequest(command, rootDir, emit) {
7393
7522
  }
7394
7523
  async function dispatchResourceRequest(command, deps) {
7395
7524
  const { resourceManager, projectDir, emit } = deps;
7525
+ if (typeof command.connectorId !== "string" && "resourceId" in command) {
7526
+ const aliased = command.resourceId;
7527
+ if (typeof aliased === "string") command = { ...command, connectorId: aliased };
7528
+ }
7529
+ if (typeof command.connectorId !== "string" || command.connectorId.length === 0) {
7530
+ emit({
7531
+ type: "resource_response",
7532
+ requestId: command.requestId,
7533
+ resourceId: "",
7534
+ operation: command.operation,
7535
+ error: "resource_request needs a string `connectorId` (the connector or mount id)"
7536
+ });
7537
+ return;
7538
+ }
7396
7539
  if (command.connectorId === SESSION_ROOT_CONNECTOR_ID) {
7397
7540
  await handleSessionRootResourceRequest(command, projectDir, emit);
7398
7541
  return;
@@ -11621,6 +11764,18 @@ function takeRunnerWsAuthToken(env = process.env, fs9 = nodeFs) {
11621
11764
  return { source: "none" };
11622
11765
  }
11623
11766
 
11767
+ // runner/src/ws-auth-warning.ts
11768
+ function isLoopbackHost(host) {
11769
+ const h = host.startsWith("[") && host.endsWith("]") ? host.slice(1, -1) : host;
11770
+ return h === "localhost" || h === "::1" || /^127(?:\.\d{1,3}){3}$/.test(h);
11771
+ }
11772
+ function wsNoAuthWarning(port, host) {
11773
+ if (host !== void 0 && isLoopbackHost(host)) {
11774
+ return `WARNING: the WebSocket server on port ${port} listens on ${host}; local processes can drive this agent. Set SKAILE_WS_AUTH_TOKEN for a token.`;
11775
+ }
11776
+ return `WARNING: the WebSocket server on port ${port} listens on ${host ?? "all interfaces"} without authentication: any host that can reach the port can drive this agent. Set SKAILE_WS_AUTH_TOKEN, or bind 127.0.0.1 with --host.`;
11777
+ }
11778
+
11624
11779
  // runner/src/serve.ts
11625
11780
  function getSessionCatalogEntries(session) {
11626
11781
  return session?.runtimeAssets?.catalogEntries ?? [];
@@ -12460,6 +12615,7 @@ async function startAgentServer(opts) {
12460
12615
  projectDir: opts.projectDir,
12461
12616
  yamlBlock: wsConfig.logging,
12462
12617
  onLog: opts.onLog,
12618
+ ...opts.stdout === void 0 ? {} : { stdout: opts.stdout },
12463
12619
  // Broker mode has no host-side trim of this file; see logging-bootstrap.ts.
12464
12620
  enforceRetention: true
12465
12621
  });
@@ -12472,6 +12628,9 @@ async function startAgentServer(opts) {
12472
12628
  serverLog.info("ws auth token", {
12473
12629
  source: opts.authToken ? "caller" : takenAuthToken.source
12474
12630
  });
12631
+ if (!opts.transport && !authToken) {
12632
+ serverLog.warn(wsNoAuthWarning(opts.port ?? 8080, opts.host));
12633
+ }
12475
12634
  if (takenAuthToken.unlinkError)
12476
12635
  serverLog.warn("ws auth token file could not be removed", {
12477
12636
  code: takenAuthToken.unlinkError
@@ -12499,10 +12658,21 @@ async function startAgentServer(opts) {
12499
12658
  const agentDir = opts.agentDir ?? resolveAgentDir(opts.projectDir);
12500
12659
  if (agentDir) {
12501
12660
  serverLog.info("agent dir resolved", { agentDir });
12661
+ } else if (wsConfig.agent?.definition) {
12662
+ serverLog.warn(
12663
+ `agent.definition "${wsConfig.agent.definition}" in skaile.yaml did not resolve to a directory`
12664
+ );
12502
12665
  } else {
12503
- serverLog.warn("no agent definition found in skaile.yaml");
12666
+ serverLog.debug(
12667
+ "no agent definition (agent.definition) in skaile.yaml; running without a persona"
12668
+ );
12504
12669
  }
12505
- const transport = opts.transport ?? new WebSocketServerTransport({ port, onLog: log, ...authToken ? { authToken } : {} });
12670
+ const transport = opts.transport ?? new WebSocketServerTransport({
12671
+ port,
12672
+ onLog: log,
12673
+ ...opts.host ? { host: opts.host } : {},
12674
+ ...authToken ? { authToken } : {}
12675
+ });
12506
12676
  logStore.addSink(
12507
12677
  new WsLogSink({
12508
12678
  send: (event) => {
@@ -13805,6 +13975,29 @@ async function startAgentServer(opts) {
13805
13975
  return false;
13806
13976
  }
13807
13977
  }
13978
+ function wireRunnerCapabilities() {
13979
+ wireSessionCapabilities({
13980
+ capabilityRegistry,
13981
+ remoteCapabilityInvoker,
13982
+ getResourceManager: () => resourceManager,
13983
+ getPreMintedSecrets: () => preMintedSecrets,
13984
+ emitResourcesAvailable,
13985
+ driverPicksUpToolsLive,
13986
+ getOrCreateMcpManager: () => agentSession?.getOrCreateExternalMcpManager() ?? null,
13987
+ getCompactionOrchestrator: () => compactionOrchestrator,
13988
+ getProjectDir: () => opts.projectDir,
13989
+ attachSkillInstance,
13990
+ detachSkillInstance,
13991
+ registerLiveAttachedMcp,
13992
+ scheduleDriverRestartForToolChanges,
13993
+ getDriver: () => driver ?? null,
13994
+ rememberReconfigure: (patch) => {
13995
+ liveReconfigurePatch = { ...liveReconfigurePatch, ...patch };
13996
+ applyReconfigurePatch(sessionConfig, patch);
13997
+ },
13998
+ log
13999
+ });
14000
+ }
13808
14001
  async function buildSessionFromInit(secrets, fallbackConnectorDeclarations) {
13809
14002
  const wireRegistry = managedCodex ? void 0 : wireAgentConfig?.registry;
13810
14003
  const credentialEnv = wireRegistry ? registryCredentialEnv(wireRegistry, {
@@ -13859,27 +14052,6 @@ async function startAgentServer(opts) {
13859
14052
  needsWireAgentConfigRecreate = true;
13860
14053
  appliedWireAgentConfigKey = wireKey;
13861
14054
  }
13862
- wireSessionCapabilities({
13863
- capabilityRegistry,
13864
- remoteCapabilityInvoker,
13865
- getResourceManager: () => resourceManager,
13866
- getPreMintedSecrets: () => preMintedSecrets,
13867
- emitResourcesAvailable,
13868
- driverPicksUpToolsLive,
13869
- getOrCreateMcpManager: () => agentSession?.getOrCreateExternalMcpManager() ?? null,
13870
- getCompactionOrchestrator: () => compactionOrchestrator,
13871
- getProjectDir: () => opts.projectDir,
13872
- attachSkillInstance,
13873
- detachSkillInstance,
13874
- registerLiveAttachedMcp,
13875
- scheduleDriverRestartForToolChanges,
13876
- getDriver: () => driver ?? null,
13877
- rememberReconfigure: (patch) => {
13878
- liveReconfigurePatch = { ...liveReconfigurePatch, ...patch };
13879
- applyReconfigurePatch(sessionConfig, patch);
13880
- },
13881
- log
13882
- });
13883
14055
  return { needsWireFallbackRecreate, needsWireAgentConfigRecreate };
13884
14056
  }
13885
14057
  async function recreateAgentSession(overrides) {
@@ -14258,9 +14430,11 @@ async function startAgentServer(opts) {
14258
14430
  agentVersion: PROTOCOL_VERSION,
14259
14431
  platformVersion: cmd.protocolVersion
14260
14432
  });
14433
+ runtimeRejected = true;
14261
14434
  await cleanup();
14262
14435
  teardownProcessHandlers();
14263
14436
  disposeLogStore();
14437
+ await transport.close();
14264
14438
  return;
14265
14439
  }
14266
14440
  try {
@@ -14357,6 +14531,7 @@ async function startAgentServer(opts) {
14357
14531
  registerInitClientCapabilities(cmd.capabilities ?? []);
14358
14532
  capabilityRegistry.setRemoteInvoker(remoteCapabilityInvoker);
14359
14533
  await refreshAgentSurface(null);
14534
+ wireRunnerCapabilities();
14360
14535
  sendEvent({
14361
14536
  type: "protocol_info",
14362
14537
  version: PROTOCOL_VERSION,
@@ -15018,6 +15193,19 @@ async function startAgentServer(opts) {
15018
15193
  case "capability_approve":
15019
15194
  handleCapabilityApprove(cmd);
15020
15195
  break;
15196
+ default: {
15197
+ const raw = cmd;
15198
+ const unknownType = typeof raw === "object" && raw !== null && "type" in raw ? raw.type : void 0;
15199
+ const label = typeof unknownType === "string" ? `"${unknownType}"` : "(no type)";
15200
+ const hint = unknownType === "state_action" ? " `state_action` was removed in protocol v3; use the runner.set_state capability." : "";
15201
+ log(`[serve] dropping unknown command ${label}`);
15202
+ sendEvent({
15203
+ type: "error",
15204
+ fatal: false,
15205
+ category: "validation",
15206
+ message: `Unknown command ${label}: this runner does not handle it.${hint}`
15207
+ });
15208
+ }
15021
15209
  }
15022
15210
  }
15023
15211
  transport.onCommand((cmd) => {
@@ -15033,6 +15221,20 @@ async function startAgentServer(opts) {
15033
15221
  replayed: true
15034
15222
  });
15035
15223
  });
15224
+ transport.onConnect(() => {
15225
+ if (managedHost && !managedBootstrapClosed)
15226
+ sendEvent({
15227
+ type: "protocol_info",
15228
+ version: PROTOCOL_VERSION,
15229
+ runtimeFeatures: supportedRuntimeFeatures
15230
+ });
15231
+ else if (initAcknowledged && sessionReadyOutcome !== "rejected")
15232
+ sendEvent({
15233
+ type: "protocol_info",
15234
+ version: PROTOCOL_VERSION,
15235
+ runtimeFeatures: supportedRuntimeFeatures
15236
+ });
15237
+ });
15036
15238
  transport.onConnect(() => {
15037
15239
  if (!eventGapBuffer.hasPending) return;
15038
15240
  if (!initAcknowledged || sessionReadyOutcome === "rejected") {
@@ -15055,20 +15257,6 @@ async function startAgentServer(opts) {
15055
15257
  if (!initAcknowledged || managedCodex || aiProviderConfigId === void 0) return;
15056
15258
  aiCredentialRefreshScheduler.ensureArmed();
15057
15259
  });
15058
- transport.onConnect(() => {
15059
- if (managedHost && !managedBootstrapClosed)
15060
- sendEvent({
15061
- type: "protocol_info",
15062
- version: PROTOCOL_VERSION,
15063
- runtimeFeatures: supportedRuntimeFeatures
15064
- });
15065
- else if (initAcknowledged && sessionReadyOutcome !== "rejected")
15066
- sendEvent({
15067
- type: "protocol_info",
15068
- version: PROTOCOL_VERSION,
15069
- runtimeFeatures: supportedRuntimeFeatures
15070
- });
15071
- });
15072
15260
  await transport.listen();
15073
15261
  if (secretsMode === "env" && agentSession) {
15074
15262
  agentSession.startWatching();
@@ -15275,6 +15463,6 @@ function touchSession(state) {
15275
15463
  return { ...state, updatedAt: (/* @__PURE__ */ new Date()).toISOString() };
15276
15464
  }
15277
15465
 
15278
- export { AgentRunError, CLAUDE_CODE_CREDENTIALS_KEY, COMPILE_MANIFEST_FILENAME, CONNECTOR_MUTATE_NOT_READY, CapabilityRegistry, CompileManifestEntrySchema, CompositionError, DEFAULT_CAPABILITY_CALL_TIMEOUT_MS, DEFAULT_COALESCE_MS, DEFAULT_FLOW_MUTATE_CONNECTOR_WAIT_MS, DEFAULT_MAX_FINISHED_TREES, DEFAULT_RUN_LIMITS, MOUNT_LIST_MAX_DEPTH, MOUNT_LIST_MAX_ENTRIES, MOUNT_READ_DEADLINE_FACTOR, MOUNT_READ_MAX_CHUNK_BYTES, MOUNT_STAT_BUDGET_MS, MOUNT_STAT_MAX_ENTRIES, MOUNT_TREE_OP_DEADLINE_FACTOR, MOUNT_WRITE_MAX_CHUNK_BYTES, MarkdownStreamer, PreInitRingSink, ResourceOperationError, SESSION_ROOT_WRITABLE_DIRS, SESSION_ROOT_WRITABLE_FILES, UnknownCompositionKindError, WRITE_RANGE_PARTIAL_TTL_MS, WS_AUTH_TOKEN_ENV, WS_AUTH_TOKEN_FILE_ENV, agentDefinitionExists, bootstrapCapabilityRegistry, bootstrapRunnerLogStore, buildAgentResources, buildClientCapabilityHandler, buildCompositionRunSnapshot, buildConnectorTokenMediator, buildContextSection, buildEnvironmentSection, buildResourcesAvailablePayload, buildRunnerAgentSections, buildStoreSnapshotReplay, builtinCapabilities, canonicalJson, capabilityLogInstance, capabilitySignatureInputs, clearPreInitRingSink, clearSession, compileComposition, compositionRunSnapshotPath, computeCapabilitySignature, computeDirectoryTotals, computeRevisionHash, connectorRefreshKind, createAgentSession, createCompositionContentSource, createFlowConnectorReadiness, createInMemoryRunStore, createManagedCodexSubpromptDriver, createRunController, createSessionStimulusBus, defineCapability, deleteSession, describeComposition, dispatchResourceRequest, dispatchRunnerCapabilityInvocation, driverActiveAfterTurnEnd, emitSystemPromptComposed, ensureClaudeSettingsDisablesConnectors, ensureGitConfigInclude, executeConnectorMutate, extractClaudeAiOauthExpiresAt, flowStartNeedsDriverRestart, getPreInitRingSink, handleMountResourceRequest, handleResourceRequest, handleSessionRootResourceRequest, hasNonTerminalFlow, hashAgentFiles, hashContent, hostOpResumeStimulus, installPreInitRingSink, instanceForSession, isCompositionError, isEmptyKnowledgeIndex, isSessionRootPathAllowed, listSessions, loadAgentManifest, loadCompileManifest, loadCompileManifestFromDir, loadCompositionRunSnapshot, loadKnowledgeDir, loadManagedCodexHostConfig, loadSession, loadSessionById, mcpAuthSecretKey, newSession, nulTailPaddingLength, pickChatFlowTarget, pickFlowToolTarget, pickRepointedManager, planFlowMutate, prepareCodexTools, reconcilePendingDecisions, reconnectedRunNeedsAgentTurn, recreateKeepingLiveFlows, registerActiveFlow, registerCompositionCapabilities, rejectCapabilityOnApprovalDeny, rejectPendingCapabilityCallsOnDisconnect, resetRunnerLogStore, resolveAgentInstance, resolveBinding, resolveCapabilityCallTimeoutMs, resolveCapabilityResult, resolveComposition, resolveFlowMutateConnectorWaitMs, resolveMixin, restoredRunHasWorkToResume, runAgentChat, saveCompositionRunSnapshot, saveSession, setCurrentSession, setUpFlowConnector, startAgentServer, stimulusFromMetas, stripFrontmatter, takeRunnerWsAuthToken, toActiveFlowTarget, touchSession, validateInputResponse, writeClaudeCodeCredentialsFile, writeRangeChunk, writeRangePartialPath };
15279
- //# sourceMappingURL=chunk-VLTQGE2E.js.map
15280
- //# sourceMappingURL=chunk-VLTQGE2E.js.map
15466
+ export { AgentRunError, CLAUDE_CODE_CREDENTIALS_KEY, COMPILE_MANIFEST_FILENAME, CONNECTOR_MUTATE_NOT_READY, CapabilityRegistry, CompileManifestEntrySchema, CompositionError, DEFAULT_CAPABILITY_CALL_TIMEOUT_MS, DEFAULT_COALESCE_MS, DEFAULT_FLOW_MUTATE_CONNECTOR_WAIT_MS, DEFAULT_MAX_FINISHED_TREES, DEFAULT_RUN_LIMITS, MOUNT_LIST_MAX_DEPTH, MOUNT_LIST_MAX_ENTRIES, MOUNT_READ_DEADLINE_FACTOR, MOUNT_READ_MAX_CHUNK_BYTES, MOUNT_STAT_BUDGET_MS, MOUNT_STAT_MAX_ENTRIES, MOUNT_TREE_OP_DEADLINE_FACTOR, MOUNT_WRITE_MAX_CHUNK_BYTES, MarkdownStreamer, PreInitRingSink, ResourceOperationError, SESSION_ROOT_WRITABLE_DIRS, SESSION_ROOT_WRITABLE_FILES, UnknownCompositionKindError, WRITE_RANGE_PARTIAL_TTL_MS, WS_AUTH_TOKEN_ENV, WS_AUTH_TOKEN_FILE_ENV, agentDefinitionExists, bootstrapCapabilityRegistry, bootstrapRunnerLogStore, buildAgentResources, buildClientCapabilityHandler, buildCompositionRunSnapshot, buildConnectorTokenMediator, buildContextSection, buildEnvironmentSection, buildResourcesAvailablePayload, buildRunnerAgentSections, buildStoreSnapshotReplay, builtinCapabilities, canonicalJson, capabilityLogInstance, capabilitySignatureInputs, clearPreInitRingSink, clearSession, compileComposition, compositionRunSnapshotPath, computeCapabilitySignature, computeDirectoryTotals, computeRevisionHash, connectorRefreshKind, createAgentSession, createCompositionContentSource, createFinalTextFallback, createFlowConnectorReadiness, createInMemoryRunStore, createManagedCodexSubpromptDriver, createRunController, createSessionStimulusBus, defineCapability, deleteSession, describeComposition, dispatchResourceRequest, dispatchRunnerCapabilityInvocation, driverActiveAfterTurnEnd, emitSystemPromptComposed, ensureClaudeSettingsDisablesConnectors, ensureGitConfigInclude, executeConnectorMutate, extractClaudeAiOauthExpiresAt, flowStartNeedsDriverRestart, getPreInitRingSink, handleMountResourceRequest, handleResourceRequest, handleSessionRootResourceRequest, hasNonTerminalFlow, hashAgentFiles, hashContent, hostOpResumeStimulus, installPreInitRingSink, instanceForSession, isCompositionError, isEmptyKnowledgeIndex, isSessionRootPathAllowed, listSessions, loadAgentManifest, loadCompileManifest, loadCompileManifestFromDir, loadCompositionRunSnapshot, loadKnowledgeDir, loadManagedCodexHostConfig, loadSession, loadSessionById, mcpAuthSecretKey, newSession, nulTailPaddingLength, pickChatFlowTarget, pickFlowToolTarget, pickRepointedManager, planFlowMutate, prepareCodexTools, reconcilePendingDecisions, reconnectedRunNeedsAgentTurn, recreateKeepingLiveFlows, registerActiveFlow, registerCompositionCapabilities, rejectCapabilityOnApprovalDeny, rejectPendingCapabilityCallsOnDisconnect, resetRunnerLogStore, resolveAgentInstance, resolveBinding, resolveCapabilityCallTimeoutMs, resolveCapabilityResult, resolveComposition, resolveFlowMutateConnectorWaitMs, resolveMixin, restoredRunHasWorkToResume, runAgentChat, saveCompositionRunSnapshot, saveSession, setCurrentSession, setUpFlowConnector, startAgentServer, stimulusFromMetas, stripFrontmatter, takeRunnerWsAuthToken, toActiveFlowTarget, touchSession, unresolvedCredentialNotices, validateInputResponse, verifyConventionItems, writeClaudeCodeCredentialsFile, writeRangeChunk, writeRangePartialPath };
15467
+ //# sourceMappingURL=chunk-HBZD3MIW.js.map
15468
+ //# sourceMappingURL=chunk-HBZD3MIW.js.map