@skaile/workspaces 5.7.0 → 5.9.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 (419) hide show
  1. package/CHANGELOG.md +120 -0
  2. package/dist/app-sdk/index.js +1 -1
  3. package/dist/{asset-feeds-K36CR52Q.js → asset-feeds-XMKKUUK6.js} +54 -30
  4. package/dist/asset-feeds-XMKKUUK6.js.map +1 -0
  5. package/dist/asset-manager/catalog-deployer.js +9 -9
  6. package/dist/asset-manager/index.js +15 -15
  7. package/dist/asset-manager/installer.js +11 -11
  8. package/dist/asset-manager/renderers.js +10 -10
  9. package/dist/asset-manager/src/index.d.ts +268 -24
  10. package/dist/asset-manager/src/index.d.ts.map +1 -1
  11. package/dist/asset-manager/src/install-agent.d.ts +11 -0
  12. package/dist/asset-manager/src/install-agent.d.ts.map +1 -1
  13. package/dist/asset-manager/src/installer.d.ts +2 -2
  14. package/dist/asset-manager/src/installer.d.ts.map +1 -1
  15. package/dist/bridge/drivers/claude-sdk.js +301 -212
  16. package/dist/bridge/drivers/claude-sdk.js.map +1 -1
  17. package/dist/bridge/drivers/codex.js +92 -66
  18. package/dist/bridge/drivers/codex.js.map +1 -1
  19. package/dist/bridge/drivers/continue.js +14 -15
  20. package/dist/bridge/drivers/continue.js.map +1 -1
  21. package/dist/bridge/drivers/echo.js +4 -4
  22. package/dist/bridge/drivers/gemini.js +8 -8
  23. package/dist/bridge/drivers/goose.js +14 -15
  24. package/dist/bridge/drivers/goose.js.map +1 -1
  25. package/dist/bridge/drivers/omp.js +70 -104
  26. package/dist/bridge/drivers/omp.js.map +1 -1
  27. package/dist/bridge/drivers/opencode.js +14 -15
  28. package/dist/bridge/drivers/opencode.js.map +1 -1
  29. package/dist/bridge/drivers/qwen.js +8 -8
  30. package/dist/bridge/index.js +16 -17
  31. package/dist/bridge/src/codex/managed-driver.d.ts +13 -10
  32. package/dist/bridge/src/codex/managed-driver.d.ts.map +1 -1
  33. package/dist/bridge/src/drivers/_subprocess-cli.d.ts +12 -2
  34. package/dist/bridge/src/drivers/_subprocess-cli.d.ts.map +1 -1
  35. package/dist/bridge/src/drivers/claude-sdk.d.ts +67 -62
  36. package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
  37. package/dist/bridge/src/drivers/claude-tool-allowlist.d.ts +43 -0
  38. package/dist/bridge/src/drivers/claude-tool-allowlist.d.ts.map +1 -0
  39. package/dist/bridge/src/drivers/codex.d.ts +26 -10
  40. package/dist/bridge/src/drivers/codex.d.ts.map +1 -1
  41. package/dist/bridge/src/drivers/continue.d.ts +2 -2
  42. package/dist/bridge/src/drivers/continue.d.ts.map +1 -1
  43. package/dist/bridge/src/drivers/gemini.d.ts +2 -2
  44. package/dist/bridge/src/drivers/gemini.d.ts.map +1 -1
  45. package/dist/bridge/src/drivers/goose.d.ts +2 -2
  46. package/dist/bridge/src/drivers/goose.d.ts.map +1 -1
  47. package/dist/bridge/src/drivers/omp.d.ts +24 -35
  48. package/dist/bridge/src/drivers/omp.d.ts.map +1 -1
  49. package/dist/bridge/src/drivers/opencode.d.ts +2 -2
  50. package/dist/bridge/src/drivers/opencode.d.ts.map +1 -1
  51. package/dist/bridge/src/drivers/recovery-policy.d.ts +79 -0
  52. package/dist/bridge/src/drivers/recovery-policy.d.ts.map +1 -0
  53. package/dist/bridge/src/index.d.ts +1 -0
  54. package/dist/bridge/src/index.d.ts.map +1 -1
  55. package/dist/bridge/src/reconfigure-ledger.d.ts +117 -0
  56. package/dist/bridge/src/reconfigure-ledger.d.ts.map +1 -0
  57. package/dist/bridge/src/types.d.ts +77 -7
  58. package/dist/bridge/src/types.d.ts.map +1 -1
  59. package/dist/{chunk-WIEC3ZE4.js → chunk-2FRUUDZY.js} +5 -5
  60. package/dist/{chunk-WIEC3ZE4.js.map → chunk-2FRUUDZY.js.map} +1 -1
  61. package/dist/{chunk-NARITJS2.js → chunk-2H73V6XR.js} +3 -3
  62. package/dist/{chunk-NARITJS2.js.map → chunk-2H73V6XR.js.map} +1 -1
  63. package/dist/{chunk-O4Z7MAW7.js → chunk-2LWYNQK7.js} +3 -3
  64. package/dist/{chunk-O4Z7MAW7.js.map → chunk-2LWYNQK7.js.map} +1 -1
  65. package/dist/{chunk-OOLT6HGP.js → chunk-36AFURKZ.js} +7 -7
  66. package/dist/{chunk-OOLT6HGP.js.map → chunk-36AFURKZ.js.map} +1 -1
  67. package/dist/{chunk-DFFD4BFG.js → chunk-4MQS7CAF.js} +174 -86
  68. package/dist/chunk-4MQS7CAF.js.map +1 -0
  69. package/dist/{chunk-RNPHRRLG.js → chunk-4PTSR4UU.js} +3 -3
  70. package/dist/{chunk-RNPHRRLG.js.map → chunk-4PTSR4UU.js.map} +1 -1
  71. package/dist/{chunk-BTK7ECLH.js → chunk-5NNNV76P.js} +41 -8
  72. package/dist/chunk-5NNNV76P.js.map +1 -0
  73. package/dist/{chunk-IZLQ4GDO.js → chunk-7AI3Q5AQ.js} +43 -21
  74. package/dist/chunk-7AI3Q5AQ.js.map +1 -0
  75. package/dist/{chunk-NFGRW3L7.js → chunk-7RGTAEG6.js} +3 -3
  76. package/dist/{chunk-NFGRW3L7.js.map → chunk-7RGTAEG6.js.map} +1 -1
  77. package/dist/{chunk-XBSQ4KMC.js → chunk-B4X2N7JQ.js} +205 -3
  78. package/dist/chunk-B4X2N7JQ.js.map +1 -0
  79. package/dist/{chunk-FRHE7FFB.js → chunk-B6GIW55K.js} +5 -3
  80. package/dist/chunk-B6GIW55K.js.map +1 -0
  81. package/dist/{chunk-RVIZQ5XD.js → chunk-BTE2V4IW.js} +3 -3
  82. package/dist/{chunk-RVIZQ5XD.js.map → chunk-BTE2V4IW.js.map} +1 -1
  83. package/dist/{chunk-EB4XN3KE.js → chunk-CGT45WN7.js} +3 -3
  84. package/dist/{chunk-EB4XN3KE.js.map → chunk-CGT45WN7.js.map} +1 -1
  85. package/dist/{chunk-FAP63KV7.js → chunk-CKQEIY43.js} +4 -4
  86. package/dist/{chunk-FAP63KV7.js.map → chunk-CKQEIY43.js.map} +1 -1
  87. package/dist/{chunk-NWQB7UTY.js → chunk-DNZYOKOJ.js} +3 -3
  88. package/dist/{chunk-NWQB7UTY.js.map → chunk-DNZYOKOJ.js.map} +1 -1
  89. package/dist/{chunk-AVCUPPG6.js → chunk-EF7NPDDU.js} +4 -4
  90. package/dist/{chunk-AVCUPPG6.js.map → chunk-EF7NPDDU.js.map} +1 -1
  91. package/dist/chunk-EPBKISS5.js +84 -0
  92. package/dist/chunk-EPBKISS5.js.map +1 -0
  93. package/dist/{chunk-DMLDYFDS.js → chunk-F4NJDSR7.js} +9 -5
  94. package/dist/chunk-F4NJDSR7.js.map +1 -0
  95. package/dist/{chunk-PSA6ONFB.js → chunk-FVJK4QWM.js} +4 -4
  96. package/dist/{chunk-PSA6ONFB.js.map → chunk-FVJK4QWM.js.map} +1 -1
  97. package/dist/{chunk-KNWCFEWU.js → chunk-FYXZRVID.js} +20 -7
  98. package/dist/{chunk-KNWCFEWU.js.map → chunk-FYXZRVID.js.map} +1 -1
  99. package/dist/{chunk-LBQ4BBX4.js → chunk-FZNG4V4J.js} +16 -30
  100. package/dist/chunk-FZNG4V4J.js.map +1 -0
  101. package/dist/{chunk-SWO25LTO.js → chunk-GB7WDMH2.js} +4 -4
  102. package/dist/{chunk-SWO25LTO.js.map → chunk-GB7WDMH2.js.map} +1 -1
  103. package/dist/{chunk-EU3Q5AQ4.js → chunk-GKMZ6THE.js} +23 -32
  104. package/dist/chunk-GKMZ6THE.js.map +1 -0
  105. package/dist/{chunk-TTPSDC2G.js → chunk-GTILM2CI.js} +34 -13
  106. package/dist/chunk-GTILM2CI.js.map +1 -0
  107. package/dist/{chunk-LXY4BUA3.js → chunk-GXLQLPE5.js} +9 -5
  108. package/dist/chunk-GXLQLPE5.js.map +1 -0
  109. package/dist/{chunk-D5HOETOB.js → chunk-IMKSM5NL.js} +981 -126
  110. package/dist/chunk-IMKSM5NL.js.map +1 -0
  111. package/dist/{chunk-6UFFKMVC.js → chunk-IR33D6EP.js} +6 -6
  112. package/dist/{chunk-6UFFKMVC.js.map → chunk-IR33D6EP.js.map} +1 -1
  113. package/dist/{chunk-CT6NQSA4.js → chunk-ISHJITXJ.js} +3 -3
  114. package/dist/{chunk-CT6NQSA4.js.map → chunk-ISHJITXJ.js.map} +1 -1
  115. package/dist/chunk-IZCR27MU.js +60 -0
  116. package/dist/chunk-IZCR27MU.js.map +1 -0
  117. package/dist/{chunk-GWXFSLBK.js → chunk-J7U3PIOE.js} +4 -4
  118. package/dist/{chunk-GWXFSLBK.js.map → chunk-J7U3PIOE.js.map} +1 -1
  119. package/dist/{chunk-LCU5U5IW.js → chunk-JAKOMFC6.js} +67 -19
  120. package/dist/chunk-JAKOMFC6.js.map +1 -0
  121. package/dist/{chunk-THEJJBOU.js → chunk-JZ5EHBPI.js} +3 -3
  122. package/dist/{chunk-THEJJBOU.js.map → chunk-JZ5EHBPI.js.map} +1 -1
  123. package/dist/{chunk-BWZF2ZIF.js → chunk-K3CVFRVS.js} +3 -3
  124. package/dist/{chunk-BWZF2ZIF.js.map → chunk-K3CVFRVS.js.map} +1 -1
  125. package/dist/{chunk-VOOI7B2L.js → chunk-LAMCXQGA.js} +241 -73
  126. package/dist/chunk-LAMCXQGA.js.map +1 -0
  127. package/dist/{chunk-37FTLYFP.js → chunk-LNFKL23K.js} +3 -3
  128. package/dist/{chunk-37FTLYFP.js.map → chunk-LNFKL23K.js.map} +1 -1
  129. package/dist/{chunk-XUUYAS3Z.js → chunk-M3WPBTGJ.js} +3 -3
  130. package/dist/{chunk-XUUYAS3Z.js.map → chunk-M3WPBTGJ.js.map} +1 -1
  131. package/dist/{chunk-QZLWJETK.js → chunk-MGGFBZWA.js} +3 -3
  132. package/dist/{chunk-QZLWJETK.js.map → chunk-MGGFBZWA.js.map} +1 -1
  133. package/dist/{chunk-34C42MJX.js → chunk-MR5HBOUF.js} +5 -5
  134. package/dist/{chunk-34C42MJX.js.map → chunk-MR5HBOUF.js.map} +1 -1
  135. package/dist/{chunk-QCI6D7E4.js → chunk-NUELZWCF.js} +266 -170
  136. package/dist/chunk-NUELZWCF.js.map +1 -0
  137. package/dist/{chunk-GIC3G5YG.js → chunk-P67WJVP4.js} +7 -13
  138. package/dist/chunk-P67WJVP4.js.map +1 -0
  139. package/dist/{chunk-G67BOI2J.js → chunk-PMECEZK3.js} +15 -9
  140. package/dist/chunk-PMECEZK3.js.map +1 -0
  141. package/dist/{chunk-OKGUDNDT.js → chunk-Q6E6FM7P.js} +35 -33
  142. package/dist/chunk-Q6E6FM7P.js.map +1 -0
  143. package/dist/{chunk-CWM3MYGX.js → chunk-QVEKLSEH.js} +8 -9
  144. package/dist/chunk-QVEKLSEH.js.map +1 -0
  145. package/dist/{chunk-O7VPNKYN.js → chunk-QVNRCDTV.js} +23 -7
  146. package/dist/chunk-QVNRCDTV.js.map +1 -0
  147. package/dist/{chunk-UX3K4RKE.js → chunk-S53LOR7B.js} +3 -3
  148. package/dist/{chunk-UX3K4RKE.js.map → chunk-S53LOR7B.js.map} +1 -1
  149. package/dist/{chunk-53MSCGR2.js → chunk-SCOT677Q.js} +5 -5
  150. package/dist/{chunk-53MSCGR2.js.map → chunk-SCOT677Q.js.map} +1 -1
  151. package/dist/{chunk-SZWRPEF7.js → chunk-TTRYE6AC.js} +39 -29
  152. package/dist/chunk-TTRYE6AC.js.map +1 -0
  153. package/dist/{chunk-KM7XWC4Y.js → chunk-UAROCOXF.js} +3 -3
  154. package/dist/{chunk-KM7XWC4Y.js.map → chunk-UAROCOXF.js.map} +1 -1
  155. package/dist/{chunk-MKLBK7HI.js → chunk-UM7RIAHO.js} +17 -13
  156. package/dist/chunk-UM7RIAHO.js.map +1 -0
  157. package/dist/{chunk-JMKB7IB4.js → chunk-UMVKJM4Q.js} +4 -4
  158. package/dist/chunk-UMVKJM4Q.js.map +1 -0
  159. package/dist/{chunk-JLSCA5T5.js → chunk-UO7WPLDY.js} +3 -3
  160. package/dist/{chunk-JLSCA5T5.js.map → chunk-UO7WPLDY.js.map} +1 -1
  161. package/dist/{chunk-HCYS7GFP.js → chunk-V2DXZYBB.js} +3 -3
  162. package/dist/{chunk-HCYS7GFP.js.map → chunk-V2DXZYBB.js.map} +1 -1
  163. package/dist/{chunk-47ZD34KB.js → chunk-VMKMFS2Q.js} +28 -7
  164. package/dist/chunk-VMKMFS2Q.js.map +1 -0
  165. package/dist/{chunk-IUUYRXT6.js → chunk-W5DWWE4Y.js} +4 -4
  166. package/dist/{chunk-IUUYRXT6.js.map → chunk-W5DWWE4Y.js.map} +1 -1
  167. package/dist/{chunk-FK6HPLQA.js → chunk-X4BAYGMT.js} +3 -3
  168. package/dist/{chunk-FK6HPLQA.js.map → chunk-X4BAYGMT.js.map} +1 -1
  169. package/dist/{chunk-OJ4N4T4H.js → chunk-XDVR7QIT.js} +20 -6
  170. package/dist/chunk-XDVR7QIT.js.map +1 -0
  171. package/dist/{chunk-7FJQT3GT.js → chunk-Y4N2NUZD.js} +4 -4
  172. package/dist/{chunk-7FJQT3GT.js.map → chunk-Y4N2NUZD.js.map} +1 -1
  173. package/dist/{chunk-6VRJH4MR.js → chunk-Y7QA2OLD.js} +6 -6
  174. package/dist/{chunk-6VRJH4MR.js.map → chunk-Y7QA2OLD.js.map} +1 -1
  175. package/dist/{chunk-74EEFB52.js → chunk-YSHVQGUS.js} +115 -27
  176. package/dist/chunk-YSHVQGUS.js.map +1 -0
  177. package/dist/{chunk-6C654TFI.js → chunk-ZAOGFXDO.js} +36 -8
  178. package/dist/chunk-ZAOGFXDO.js.map +1 -0
  179. package/dist/{chunk-N6FBTXQ5.js → chunk-ZTBAYUDY.js} +2 -2
  180. package/dist/{chunk-N6FBTXQ5.js.map → chunk-ZTBAYUDY.js.map} +1 -1
  181. package/dist/cli/index.js +373 -188
  182. package/dist/cli/index.js.map +1 -1
  183. package/dist/cli/src/asset-feeds.d.ts +5 -2
  184. package/dist/cli/src/asset-feeds.d.ts.map +1 -1
  185. package/dist/cli/src/commands/asset-cmd.d.ts.map +1 -1
  186. package/dist/cli/src/commands/catalog.d.ts +15 -2
  187. package/dist/cli/src/commands/catalog.d.ts.map +1 -1
  188. package/dist/cli/src/commands/library-cmd.d.ts.map +1 -1
  189. package/dist/cli/src/commands/library-index.d.ts +8 -0
  190. package/dist/cli/src/commands/library-index.d.ts.map +1 -1
  191. package/dist/cli/src/commands/library-publish.d.ts.map +1 -1
  192. package/dist/cli/src/commands/manage.d.ts.map +1 -1
  193. package/dist/cli/src/commands/outdated.d.ts +7 -2
  194. package/dist/cli/src/commands/outdated.d.ts.map +1 -1
  195. package/dist/cli/src/commands/project.d.ts +2 -0
  196. package/dist/cli/src/commands/project.d.ts.map +1 -1
  197. package/dist/cli/src/commands/publish-core.d.ts +10 -1
  198. package/dist/cli/src/commands/publish-core.d.ts.map +1 -1
  199. package/dist/cli/src/commands/session.d.ts.map +1 -1
  200. package/dist/cli/src/commands/source.d.ts +14 -0
  201. package/dist/cli/src/commands/source.d.ts.map +1 -1
  202. package/dist/cli/src/commands/tree.d.ts.map +1 -1
  203. package/dist/cli/src/commands/update.d.ts.map +1 -1
  204. package/dist/cli/src/commands/validate.d.ts.map +1 -1
  205. package/dist/cli/src/flow-discovery.d.ts +8 -5
  206. package/dist/cli/src/flow-discovery.d.ts.map +1 -1
  207. package/dist/cli/src/open-library.d.ts +0 -11
  208. package/dist/cli/src/open-library.d.ts.map +1 -1
  209. package/dist/cli/src/skill-checks.d.ts +11 -2
  210. package/dist/cli/src/skill-checks.d.ts.map +1 -1
  211. package/dist/client/index.js +1 -1
  212. package/dist/client/src/client.d.ts +10 -3
  213. package/dist/client/src/client.d.ts.map +1 -1
  214. package/dist/connectors/config.js +5 -5
  215. package/dist/connectors/index.js +25 -26
  216. package/dist/connectors/src/access-policy.d.ts +33 -0
  217. package/dist/connectors/src/access-policy.d.ts.map +1 -0
  218. package/dist/connectors/src/connector-manager.d.ts.map +1 -1
  219. package/dist/connectors/src/index.d.ts +2 -0
  220. package/dist/connectors/src/index.d.ts.map +1 -1
  221. package/dist/connectors-C7UQ73BK.js +44 -0
  222. package/dist/{connectors-SSOTIDHT.js.map → connectors-C7UQ73BK.js.map} +1 -1
  223. package/dist/connectors-shared/index.js +2 -2
  224. package/dist/core/index.js +8 -8
  225. package/dist/core/logging.js +1 -1
  226. package/dist/core/manifest.js +2 -2
  227. package/dist/core/models.js +1 -1
  228. package/dist/core/publish-manifest.js +2 -2
  229. package/dist/core/ref.js +1 -1
  230. package/dist/core/runtime-assets.js +5 -5
  231. package/dist/core/src/index.d.ts +3 -3
  232. package/dist/core/src/index.d.ts.map +1 -1
  233. package/dist/core/src/logging/config.d.ts +9 -1
  234. package/dist/core/src/logging/config.d.ts.map +1 -1
  235. package/dist/core/src/manifest.d.ts +11 -1
  236. package/dist/core/src/manifest.d.ts.map +1 -1
  237. package/dist/core/src/models.d.ts +14 -6
  238. package/dist/core/src/models.d.ts.map +1 -1
  239. package/dist/core/src/repo-manager.d.ts +41 -6
  240. package/dist/core/src/repo-manager.d.ts.map +1 -1
  241. package/dist/core/src/store.d.ts +16 -2
  242. package/dist/core/src/store.d.ts.map +1 -1
  243. package/dist/core/src/workspace-config.d.ts +10 -1
  244. package/dist/core/src/workspace-config.d.ts.map +1 -1
  245. package/dist/core/store.js +1 -1
  246. package/dist/core/workspace-config.js +4 -4
  247. package/dist/deploy/index.js +8 -8
  248. package/dist/discovery/index.js +5 -5
  249. package/dist/{ensure-sources-277VI7R3.js → ensure-sources-SRC2DVR5.js} +18 -18
  250. package/dist/{ensure-sources-277VI7R3.js.map → ensure-sources-SRC2DVR5.js.map} +1 -1
  251. package/dist/factory-assets/connectors/box.js +25 -26
  252. package/dist/factory-assets/connectors/deploy.js +25 -26
  253. package/dist/factory-assets/connectors/devserver.js +25 -26
  254. package/dist/factory-assets/connectors/flow/adapter.d.ts +6 -0
  255. package/dist/factory-assets/connectors/flow/adapter.d.ts.map +1 -1
  256. package/dist/factory-assets/connectors/flow/adapter.js +25 -26
  257. package/dist/factory-assets/connectors/flow/contract/expression.d.ts +3 -0
  258. package/dist/factory-assets/connectors/flow/contract/expression.d.ts.map +1 -1
  259. package/dist/factory-assets/connectors/flow/contract/output-fields.d.ts +1 -1
  260. package/dist/factory-assets/connectors/flow/contract/output-fields.d.ts.map +1 -1
  261. package/dist/factory-assets/connectors/flow/contract/schema.d.ts.map +1 -1
  262. package/dist/factory-assets/connectors/flow/contract.js +4 -4
  263. package/dist/factory-assets/connectors/flow/engine/flow-output.d.ts +4 -3
  264. package/dist/factory-assets/connectors/flow/engine/flow-output.d.ts.map +1 -1
  265. package/dist/factory-assets/connectors/flow/engine/output-schema.d.ts +6 -1
  266. package/dist/factory-assets/connectors/flow/engine/output-schema.d.ts.map +1 -1
  267. package/dist/factory-assets/connectors/flow/engine.js +12 -12
  268. package/dist/factory-assets/connectors/flow/inline-sub-flow-host.d.ts.map +1 -1
  269. package/dist/factory-assets/connectors/flow/prompt-fragments.js +3 -3
  270. package/dist/factory-assets/connectors/flow/run-flow.d.ts.map +1 -1
  271. package/dist/factory-assets/connectors/flow/run-flow.js +27 -28
  272. package/dist/factory-assets/connectors/flow.js +25 -26
  273. package/dist/factory-assets/connectors/git/config.d.ts.map +1 -1
  274. package/dist/factory-assets/connectors/git.js +25 -26
  275. package/dist/factory-assets/connectors/gmail.js +25 -26
  276. package/dist/factory-assets/connectors/googledrive.js +25 -26
  277. package/dist/factory-assets/connectors/local.js +25 -26
  278. package/dist/factory-assets/connectors/mattermost.js +25 -26
  279. package/dist/factory-assets/connectors/memory.js +25 -26
  280. package/dist/factory-assets/connectors/minio.js +25 -26
  281. package/dist/factory-assets/connectors/postgres.js +25 -26
  282. package/dist/factory-assets/connectors/s3.js +25 -26
  283. package/dist/factory-assets/connectors/sharepoint.js +25 -26
  284. package/dist/factory-assets/connectors/sqlite.js +25 -26
  285. package/dist/factory-assets/connectors/static-server.js +25 -26
  286. package/dist/factory-assets/connectors/tunnel.js +25 -26
  287. package/dist/factory-assets/connectors/webdav.js +25 -26
  288. package/dist/factory-assets/connectors/xstate-store.js +25 -26
  289. package/dist/factory-assets/connectors/xstate.js +25 -26
  290. package/dist/factory-assets/skills/skaile-author-asset/SKILL.md +10 -7
  291. package/dist/{flows-J2UEU2QM.js → flows-CBYRSAGS.js} +13 -13
  292. package/dist/{flows-J2UEU2QM.js.map → flows-CBYRSAGS.js.map} +1 -1
  293. package/dist/{helpers-KC5O7CML.js → helpers-XAEKCZKT.js} +18 -18
  294. package/dist/{helpers-KC5O7CML.js.map → helpers-XAEKCZKT.js.map} +1 -1
  295. package/dist/library/index.js +12 -12
  296. package/dist/library/install.js +3 -3
  297. package/dist/library/src/index.d.ts +3 -1
  298. package/dist/library/src/index.d.ts.map +1 -1
  299. package/dist/library/src/local/scan-authoring-libraries.d.ts +43 -0
  300. package/dist/library/src/local/scan-authoring-libraries.d.ts.map +1 -0
  301. package/dist/library/src/manifest-writer.d.ts +26 -3
  302. package/dist/library/src/manifest-writer.d.ts.map +1 -1
  303. package/dist/library/src/sync/git-driver.d.ts.map +1 -1
  304. package/dist/{library-publish-FGXF5TJO.js → library-publish-VJSWMOLH.js} +73 -37
  305. package/dist/library-publish-VJSWMOLH.js.map +1 -0
  306. package/dist/open-library-DB2PNL2X.js +40 -0
  307. package/dist/{open-library-P3D337NH.js.map → open-library-DB2PNL2X.js.map} +1 -1
  308. package/dist/open-registry-ZUZJ7MS7.js +32 -0
  309. package/dist/{open-registry-Z3P2X2AB.js.map → open-registry-ZUZJ7MS7.js.map} +1 -1
  310. package/dist/paths-FQ64OLJG.js +22 -0
  311. package/dist/{paths-JKEKXM52.js.map → paths-FQ64OLJG.js.map} +1 -1
  312. package/dist/{plugin-store-WI4MZJLP.js → plugin-store-MPAMD5OT.js} +10 -10
  313. package/dist/{plugin-store-WI4MZJLP.js.map → plugin-store-MPAMD5OT.js.map} +1 -1
  314. package/dist/project-I6NX3NFB.js +41 -0
  315. package/dist/{project-WFUDVYNN.js.map → project-I6NX3NFB.js.map} +1 -1
  316. package/dist/resolver/index.js +9 -9
  317. package/dist/runner/index.js +40 -41
  318. package/dist/runner/src/context-usage/compose.d.ts.map +1 -1
  319. package/dist/runner/src/logging-bootstrap.d.ts +6 -0
  320. package/dist/runner/src/logging-bootstrap.d.ts.map +1 -1
  321. package/dist/runner/src/platform-blocks.d.ts +55 -0
  322. package/dist/runner/src/platform-blocks.d.ts.map +1 -0
  323. package/dist/runner/src/reconfigure-handler.d.ts +38 -17
  324. package/dist/runner/src/reconfigure-handler.d.ts.map +1 -1
  325. package/dist/runner/src/serve.d.ts.map +1 -1
  326. package/dist/runner/src/session-builder.d.ts.map +1 -1
  327. package/dist/runner/src/session-capability-wiring.d.ts +0 -2
  328. package/dist/runner/src/session-capability-wiring.d.ts.map +1 -1
  329. package/dist/sdk/asset-manager.js +15 -15
  330. package/dist/sdk/bridge.js +16 -17
  331. package/dist/sdk/client.js +1 -1
  332. package/dist/sdk/core.js +8 -8
  333. package/dist/sdk/flow.js +12 -12
  334. package/dist/sdk/index.js +69 -46
  335. package/dist/sdk/index.js.map +1 -1
  336. package/dist/sdk/resolver.js +9 -9
  337. package/dist/sdk/runner.js +40 -41
  338. package/dist/sdk/session.js +2 -2
  339. package/dist/sdk/src/agent-session.d.ts +8 -0
  340. package/dist/sdk/src/agent-session.d.ts.map +1 -1
  341. package/dist/sdk/store.js +2 -1
  342. package/dist/sdk/types.js +1 -1
  343. package/dist/session/index.js +2 -2
  344. package/dist/session/src/dispatcher.d.ts +25 -4
  345. package/dist/session/src/dispatcher.d.ts.map +1 -1
  346. package/dist/session/src/index.d.ts +1 -1
  347. package/dist/session/src/index.d.ts.map +1 -1
  348. package/dist/{setup-RAMLTORM.js → setup-B7JUHYJW.js} +26 -27
  349. package/dist/setup-B7JUHYJW.js.map +1 -0
  350. package/dist/skills-TVO26Y4V.js +26 -0
  351. package/dist/{skills-EOHZ2DZ4.js.map → skills-TVO26Y4V.js.map} +1 -1
  352. package/dist/source-PJBMDCKX.js +41 -0
  353. package/dist/{source-FYVSFYEI.js.map → source-PJBMDCKX.js.map} +1 -1
  354. package/dist/{source-manifest-publish-4FPIPPLV.js → source-manifest-publish-LLJWXGID.js} +27 -27
  355. package/dist/{source-manifest-publish-4FPIPPLV.js.map → source-manifest-publish-LLJWXGID.js.map} +1 -1
  356. package/dist/store/index.js +2 -1
  357. package/dist/store/src/store.d.ts +8 -5
  358. package/dist/store/src/store.d.ts.map +1 -1
  359. package/dist/tui/index.js +40 -41
  360. package/dist/tui/index.js.map +1 -1
  361. package/dist/types/index.js +1 -1
  362. package/dist/types/manifests.js +1 -1
  363. package/dist/types/src/ask-slots.d.ts +68 -0
  364. package/dist/types/src/ask-slots.d.ts.map +1 -0
  365. package/dist/types/src/delivery.d.ts.map +1 -1
  366. package/dist/types/src/events.d.ts +30 -2
  367. package/dist/types/src/events.d.ts.map +1 -1
  368. package/dist/types/src/index.d.ts +3 -3
  369. package/dist/types/src/index.d.ts.map +1 -1
  370. package/dist/types/src/manifests/index.d.ts +1 -1
  371. package/dist/types/src/manifests/index.d.ts.map +1 -1
  372. package/dist/types/src/manifests/preset.d.ts +4 -0
  373. package/dist/types/src/manifests/preset.d.ts.map +1 -1
  374. package/dist/types/src/protocol.d.ts +43 -1
  375. package/dist/types/src/protocol.d.ts.map +1 -1
  376. package/dist/types/src/version.d.ts +28 -1
  377. package/dist/types/src/version.d.ts.map +1 -1
  378. package/dist/workspace-plugin/adapters/mcp.js +32 -33
  379. package/dist/workspace-plugin/adapters/omp.js +14 -14
  380. package/dist/workspace-plugin/index.js +2 -2
  381. package/package.json +1 -1
  382. package/dist/asset-feeds-K36CR52Q.js.map +0 -1
  383. package/dist/chunk-47ZD34KB.js.map +0 -1
  384. package/dist/chunk-6C654TFI.js.map +0 -1
  385. package/dist/chunk-74EEFB52.js.map +0 -1
  386. package/dist/chunk-BTK7ECLH.js.map +0 -1
  387. package/dist/chunk-CWM3MYGX.js.map +0 -1
  388. package/dist/chunk-D5HOETOB.js.map +0 -1
  389. package/dist/chunk-DFFD4BFG.js.map +0 -1
  390. package/dist/chunk-DMLDYFDS.js.map +0 -1
  391. package/dist/chunk-EINLFFP6.js +0 -59
  392. package/dist/chunk-EINLFFP6.js.map +0 -1
  393. package/dist/chunk-EU3Q5AQ4.js.map +0 -1
  394. package/dist/chunk-FRHE7FFB.js.map +0 -1
  395. package/dist/chunk-G67BOI2J.js.map +0 -1
  396. package/dist/chunk-GIC3G5YG.js.map +0 -1
  397. package/dist/chunk-IZLQ4GDO.js.map +0 -1
  398. package/dist/chunk-JMKB7IB4.js.map +0 -1
  399. package/dist/chunk-LBQ4BBX4.js.map +0 -1
  400. package/dist/chunk-LCU5U5IW.js.map +0 -1
  401. package/dist/chunk-LXY4BUA3.js.map +0 -1
  402. package/dist/chunk-MKLBK7HI.js.map +0 -1
  403. package/dist/chunk-O7VPNKYN.js.map +0 -1
  404. package/dist/chunk-OJ4N4T4H.js.map +0 -1
  405. package/dist/chunk-OKGUDNDT.js.map +0 -1
  406. package/dist/chunk-QCI6D7E4.js.map +0 -1
  407. package/dist/chunk-SZWRPEF7.js.map +0 -1
  408. package/dist/chunk-TTPSDC2G.js.map +0 -1
  409. package/dist/chunk-VOOI7B2L.js.map +0 -1
  410. package/dist/chunk-XBSQ4KMC.js.map +0 -1
  411. package/dist/connectors-SSOTIDHT.js +0 -45
  412. package/dist/library-publish-FGXF5TJO.js.map +0 -1
  413. package/dist/open-library-P3D337NH.js +0 -40
  414. package/dist/open-registry-Z3P2X2AB.js +0 -32
  415. package/dist/paths-JKEKXM52.js +0 -22
  416. package/dist/project-WFUDVYNN.js +0 -41
  417. package/dist/setup-RAMLTORM.js.map +0 -1
  418. package/dist/skills-EOHZ2DZ4.js +0 -26
  419. package/dist/source-FYVSFYEI.js +0 -41
@@ -1,14 +1,13 @@
1
1
  import { checkToolInputSchema } from '../../chunk-X5O56UO4.js';
2
- import { entrySurface } from '../../chunk-JLSCA5T5.js';
3
- import { scopeReconfigureModel } from '../../chunk-EINLFFP6.js';
4
- import { dispatchCapability } from '../../chunk-NARITJS2.js';
5
- import { stripRunnerPrivateEnv, classifyGenericErrorMessage } from '../../chunk-XBSQ4KMC.js';
2
+ import { entrySurface } from '../../chunk-UO7WPLDY.js';
3
+ import { dispatchCapability } from '../../chunk-2H73V6XR.js';
4
+ import { ReconfigureLedger, stripRunnerPrivateEnv, classifyGenericErrorMessage } from '../../chunk-B4X2N7JQ.js';
6
5
  import { wrapAgentCommand, resolveAgentExec } from '../../chunk-YROR332M.js';
7
- import { BUILTIN_DRIVER_CATALOG, AgentDriver, getBridgeLogger, registryDriverConfig, entryCredentialValue, providerCredentialEnvName } from '../../chunk-BTK7ECLH.js';
6
+ import { BUILTIN_DRIVER_CATALOG, AgentDriver, getBridgeLogger, TOOL_ALLOWLIST_UNSUPPORTED, registryDriverConfig, entryCredentialValue, providerCredentialEnvName } from '../../chunk-5NNNV76P.js';
8
7
  import '../../chunk-6E6PKKAD.js';
9
- import { withActivityLabelJsonSchema } from '../../chunk-DMLDYFDS.js';
8
+ import { withActivityLabelJsonSchema } from '../../chunk-F4NJDSR7.js';
10
9
  import '../../chunk-ICSCSM5D.js';
11
- import '../../chunk-JMKB7IB4.js';
10
+ import '../../chunk-UMVKJM4Q.js';
12
11
  import { AI_PROVIDER_SURFACES, registryEntries, isEntryEnabled, parseModelRef, normalizeEntryBaseUrl, resolveEntryBaseUrl } from '../../chunk-MJHSLODD.js';
13
12
  import '../../chunk-C3CAXQMA.js';
14
13
  import '../../chunk-BOFL7GIF.js';
@@ -520,119 +519,75 @@ var OmpDriver = class extends AgentDriver {
520
519
  return this.config.model;
521
520
  }
522
521
  /**
523
- * What the running omp process was last told, by config snapshot: `model`,
524
- * `thinking` and `effort` are the config values those settings came from (also
525
- * the rollback targets when omp rejects a change), `level` the omp thinking
526
- * level sent. Set at spawn, updated on each successful `set_*`.
522
+ * Owns the desired config, drift and ordering of live reconfigures. Its
523
+ * snapshot is what the running omp process was last told: the config values
524
+ * `model`, `modelRef`, `thinking` and `effort` came from (the rollback targets
525
+ * when omp refuses a change) and the omp thinking `level` sent. Set at spawn,
526
+ * updated on each successful `set_*`.
527
527
  */
528
- ompApplied = {};
529
- /** Serialises live reconfigure RPCs so concurrent patches never interleave. */
530
- reconfigureChain = Promise.resolve();
528
+ reconfig;
531
529
  /**
532
- * Apply `model` / `thinking` / `effort` to this driver and, when the process
533
- * is up and idle, to the running omp session (`set_model` /
534
- * `set_thinking_level`). The base contract is synchronous and void, so the
535
- * RPCs are fire-and-forget: a rejected change is surfaced as an `error`
536
- * agent event and the config rolls back, keeping {@link getModel} honest.
537
- *
538
- * A patch that arrives mid-turn or before `ready` is not lost: config is the
539
- * source of truth, flushed before the next `prompt()` and read by the next
540
- * spawn. A model `set_model` cannot express live (no `provider/` prefix) is
541
- * rejected the same way as one omp refuses: an `error` event and a rollback,
542
- * since the running process cannot switch to it. In registry mode the patch
543
- * also replaces `modelRef`, so a respawn (crash, `resetSession()`) starts the
544
- * reconfigured model; models.yml already lists every enabled provider.
530
+ * Apply `model` / `thinking` / `effort`: the {@link ReconfigureLedger} writes
531
+ * the desired config and, when the process is up and idle, pushes it through
532
+ * {@link applyLive} (`set_model` / `set_thinking_level`), answering from omp's
533
+ * reply. A patch that arrives mid-turn or before `ready` is not lost: config is
534
+ * the source of truth, flushed before the next `prompt()` and read by the next
535
+ * spawn. A refusal (omp's, or a model `set_model` cannot express live: no
536
+ * `provider/` prefix) rolls the config back and answers `rejected`. In registry
537
+ * mode the patch also replaces `modelRef`, so a respawn (crash, `resetSession()`)
538
+ * starts the reconfigured model; models.yml already lists every enabled provider.
545
539
  */
546
540
  reconfigure(patch) {
547
- if (patch.model !== void 0) {
548
- const scope = scopeReconfigureModel({
549
- model: patch.model,
550
- modelRef: this.config.modelRef,
551
- registry: this.config.registry,
552
- roles: this.config.roles
553
- });
554
- if (scope.ok) {
555
- this.config.model = patch.model;
556
- if (scope.modelRef !== void 0) this.config.modelRef = scope.modelRef;
557
- } else {
558
- this.log.warn("model change refused; keeping the current model", {
559
- model: patch.model,
560
- providerId: scope.providerId
561
- });
562
- }
563
- }
564
- if (patch.thinking !== void 0) this.config.thinking = patch.thinking;
565
- if (patch.effort !== void 0) this.config.effort = patch.effort;
566
- void this.syncReconfigure();
567
- }
568
- syncReconfigure() {
569
- this.reconfigureChain = this.reconfigureChain.then(() => this.applyReconfigure());
570
- return this.reconfigureChain;
571
- }
572
- /** Push config drift to the running process. Never rejects. */
573
- async applyReconfigure() {
574
- if (!this.proc || !this.ready || this.turnResolve) return;
575
- const applied = this.ompApplied;
576
- const model = this.config.model;
577
- if (model !== void 0 && model !== applied.model) {
578
- const target = splitOmpModel(model);
541
+ return this.reconfig.reconfigure(patch);
542
+ }
543
+ /** Push drifted model / thinking settings to the running process. Never rejects. */
544
+ async applyLive(delta, applied, { late }) {
545
+ if (delta.model !== void 0) {
546
+ const target = splitOmpModel(delta.model);
579
547
  if (!target) {
580
- this.log.warn("model has no provider prefix; set_model cannot apply it live", { model });
581
- this.emit("agent-event", {
582
- type: "error",
583
- error: `set_model cannot apply "${model}" live (no provider/ prefix); model unchanged`
548
+ const message = `set_model cannot apply "${delta.model}" live (no provider/ prefix); model unchanged`;
549
+ this.log.warn("model has no provider prefix; set_model cannot apply it live", {
550
+ model: delta.model
584
551
  });
585
- this.rollbackModel(model);
586
- } else if (await this.sendReconfigure({ type: "set_model", ...target })) {
587
- applied.model = model;
588
- applied.modelRef = this.config.modelRef;
589
- } else {
590
- this.rollbackModel(model);
552
+ if (!late) this.emit("agent-event", { type: "error", error: message });
553
+ return { rejected: message };
591
554
  }
555
+ const refusal = await this.sendReconfigure({ type: "set_model", ...target }, late);
556
+ if (refusal !== null) return { rejected: refusal };
557
+ applied.model = delta.model;
558
+ applied.modelRef = delta.modelRef ?? applied.modelRef;
592
559
  }
593
- await this.applyThinking();
594
- }
595
- /**
596
- * Restore the model the running process holds after a failed live switch —
597
- * unless a newer patch already replaced `model` (it will be applied next).
598
- */
599
- rollbackModel(attempted) {
600
- if (this.config.model !== attempted) return;
601
- this.config.model = this.ompApplied.model;
602
- this.config.modelRef = this.ompApplied.modelRef;
603
- }
604
- /** Push thinking/effort drift to the running process. Never rejects. */
605
- async applyThinking() {
606
- const applied = this.ompApplied;
607
- const { thinking, effort } = this.config;
608
- const level = ompThinkingLevel({ thinking, effort });
609
- if (level !== void 0 && level !== applied.level) {
610
- if (await this.sendReconfigure({ type: "set_thinking_level", level })) {
560
+ if (delta.thinking !== void 0 || delta.effort !== void 0) {
561
+ const level = ompThinkingLevel(this.config);
562
+ if (level !== void 0 && level !== applied.level) {
563
+ const refusal = await this.sendReconfigure({ type: "set_thinking_level", level }, late);
564
+ if (refusal !== null) return { rejected: refusal };
611
565
  applied.level = level;
612
- applied.thinking = thinking;
613
- applied.effort = effort;
614
- } else if (this.config.thinking === thinking && this.config.effort === effort) {
615
- this.config.thinking = applied.thinking;
616
- this.config.effort = applied.effort;
617
566
  }
618
567
  }
568
+ return "applied";
619
569
  }
620
570
  /**
621
- * Send one live-reconfigure request. A failed `response` is already emitted
622
- * as an `error` event by {@link handleEvent}; a transport failure (timeout,
623
- * process gone) is emitted here. Returns whether omp accepted it.
571
+ * Send one live-reconfigure request. A failed `response` is emitted as an
572
+ * `error` event by {@link handleEvent}, and a transport failure (timeout,
573
+ * process gone) here, unless `late`: a refusal of a patch already answered
574
+ * `ok` reaches the host as `reconfigure_rejected`, so it gets no `error`
575
+ * event as well. Returns `null` when omp accepted it, else why not.
624
576
  */
625
- async sendReconfigure(msg) {
577
+ async sendReconfigure(msg, late) {
626
578
  try {
627
- const resp = await this.request(msg);
628
- if (resp.success) return true;
579
+ const resp = await this.request(msg, { quiet: late });
580
+ if (resp.success) return null;
629
581
  this.log.warn("omp rejected reconfigure", { type: msg.type, error: resp.error });
582
+ return typeof resp.error === "string" ? resp.error : `omp refused ${msg.type}`;
630
583
  } catch (err) {
631
584
  const error = err instanceof Error ? err.message : String(err);
632
585
  this.log.warn("reconfigure request failed", { type: msg.type, error });
633
- this.emit("agent-event", { type: "error", error: `${msg.type} failed: ${error}` });
586
+ if (!late) {
587
+ this.emit("agent-event", { type: "error", error: `${msg.type} failed: ${error}` });
588
+ }
589
+ return `${msg.type} failed: ${error}`;
634
590
  }
635
- return false;
636
591
  }
637
592
  /**
638
593
  * @param config - Driver configuration. omp-relevant fields:
@@ -646,6 +601,14 @@ var OmpDriver = class extends AgentDriver {
646
601
  constructor(config) {
647
602
  super();
648
603
  this.config = config;
604
+ this.reconfig = new ReconfigureLedger({
605
+ config: () => this.config,
606
+ isLive: () => this.proc !== null && this.ready,
607
+ isIdle: () => !this.turnResolve,
608
+ applyLive: (delta, applied, context) => this.applyLive(delta, applied, context),
609
+ onLateRejection: (rollback) => this.emit("reconfigure-rollback", rollback),
610
+ log: this.log
611
+ });
649
612
  }
650
613
  async start() {
651
614
  if (this.startPromise) return this.startPromise;
@@ -682,13 +645,13 @@ var OmpDriver = class extends AgentDriver {
682
645
  if (modelArg) args.push("--model", modelArg);
683
646
  const thinkingLevel = ompThinkingLevel(this.config);
684
647
  if (thinkingLevel) args.push("--thinking", thinkingLevel);
685
- this.ompApplied = {
648
+ this.reconfig.setSnapshot({
686
649
  model: this.config.model,
687
650
  modelRef: this.config.modelRef,
688
651
  thinking: this.config.thinking,
689
652
  effort: this.config.effort,
690
653
  level: thinkingLevel
691
- };
654
+ });
692
655
  const toolArgs = buildOmpToolArgs(this.config.tools);
693
656
  if (toolArgs.length > 0) {
694
657
  this.log.info("applying tool restrictions", { args: toolArgs });
@@ -1065,7 +1028,7 @@ var OmpDriver = class extends AgentDriver {
1065
1028
  if (!pending || typeof answer !== "string") return false;
1066
1029
  if (requestId !== void 0 && requestId !== pending.id) return false;
1067
1030
  let index = question !== void 0 ? pending.questions.findIndex((q) => q.question === question) : -1;
1068
- if (index === -1) index = pending.answers.findIndex((a) => a === void 0);
1031
+ if (index === -1) index = pending.answers.indexOf(void 0);
1069
1032
  if (index === -1) return false;
1070
1033
  pending.answers[index] = answer;
1071
1034
  if (pending.answers.some((a) => a === void 0)) return true;
@@ -1435,6 +1398,8 @@ var OmpDriver = class extends AgentDriver {
1435
1398
  * Turn settlement is shared with {@link prompt}.
1436
1399
  */
1437
1400
  promptInput(input) {
1401
+ if (input.toolAllowlist !== void 0)
1402
+ return Promise.reject(new Error(TOOL_ALLOWLIST_UNSUPPORTED));
1438
1403
  return this.enqueuePrompt(async () => this.runPrompt(await this.buildPromptPayload(input)));
1439
1404
  }
1440
1405
  /** Resolve attachments into the `message` + `images` fields of an omp `prompt` frame. */
@@ -1488,7 +1453,7 @@ ${input.text}` : input.text;
1488
1453
  */
1489
1454
  async runPrompt(payload) {
1490
1455
  await this.start();
1491
- await this.syncReconfigure();
1456
+ await this.reconfig.flushBeforeTurn();
1492
1457
  const id = this.nextId();
1493
1458
  const turnPromise = new Promise((resolve, reject) => {
1494
1459
  this.turnResolve = resolve;
@@ -1600,6 +1565,7 @@ ${input.text}` : input.text;
1600
1565
  this.rl = null;
1601
1566
  this.proc = null;
1602
1567
  this.ready = false;
1568
+ this.reconfig.setSnapshot(null);
1603
1569
  this.startPromise = null;
1604
1570
  this.stderrBuffer = [];
1605
1571
  this.unsubscribeToolsChanged?.();