@skaile/workspaces 6.14.0 → 6.16.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 (447) hide show
  1. package/CHANGELOG.md +83 -0
  2. package/dist/agent-file-refresh-76NNFB4W.js +89 -0
  3. package/dist/agent-file-refresh-76NNFB4W.js.map +1 -0
  4. package/dist/ai-sdk.js +8 -7
  5. package/dist/ai-sdk.js.map +1 -1
  6. package/dist/app-sdk/index.js +1 -1
  7. package/dist/{asset-feeds-DOG5FK7T.js → asset-feeds-ON7FYHHF.js} +25 -23
  8. package/dist/asset-feeds-ON7FYHHF.js.map +1 -0
  9. package/dist/asset-manager/catalog-deployer.js +8 -7
  10. package/dist/asset-manager/history.js +7 -6
  11. package/dist/asset-manager/index.js +17 -15
  12. package/dist/asset-manager/installer.js +16 -9
  13. package/dist/asset-manager/renderers.js +8 -8
  14. package/dist/asset-manager/src/add-remove/add.d.ts +134 -0
  15. package/dist/asset-manager/src/add-remove/add.d.ts.map +1 -0
  16. package/dist/asset-manager/src/add-remove/remove.d.ts +329 -0
  17. package/dist/asset-manager/src/add-remove/remove.d.ts.map +1 -0
  18. package/dist/asset-manager/src/agent-render.d.ts +116 -0
  19. package/dist/asset-manager/src/agent-render.d.ts.map +1 -0
  20. package/dist/asset-manager/src/composed-blocks.d.ts +40 -0
  21. package/dist/asset-manager/src/composed-blocks.d.ts.map +1 -0
  22. package/dist/asset-manager/src/config/core.d.ts +297 -0
  23. package/dist/asset-manager/src/config/core.d.ts.map +1 -0
  24. package/dist/asset-manager/src/config/edit.d.ts +161 -0
  25. package/dist/asset-manager/src/config/edit.d.ts.map +1 -0
  26. package/dist/asset-manager/src/index.d.ts +31 -2961
  27. package/dist/asset-manager/src/index.d.ts.map +1 -1
  28. package/dist/asset-manager/src/install/clone-commit-fetcher.d.ts +11 -0
  29. package/dist/asset-manager/src/install/clone-commit-fetcher.d.ts.map +1 -0
  30. package/dist/asset-manager/src/install/install.d.ts +151 -0
  31. package/dist/asset-manager/src/install/install.d.ts.map +1 -0
  32. package/dist/asset-manager/src/install/restore.d.ts +76 -0
  33. package/dist/asset-manager/src/install/restore.d.ts.map +1 -0
  34. package/dist/asset-manager/src/install-agent.d.ts +52 -4
  35. package/dist/asset-manager/src/install-agent.d.ts.map +1 -1
  36. package/dist/asset-manager/src/install-instances.d.ts +70 -2
  37. package/dist/asset-manager/src/install-instances.d.ts.map +1 -1
  38. package/dist/asset-manager/src/installer.d.ts +54 -4
  39. package/dist/asset-manager/src/installer.d.ts.map +1 -1
  40. package/dist/asset-manager/src/lock/copies.d.ts +156 -0
  41. package/dist/asset-manager/src/lock/copies.d.ts.map +1 -0
  42. package/dist/asset-manager/src/lock/library.d.ts +261 -0
  43. package/dist/asset-manager/src/lock/library.d.ts.map +1 -0
  44. package/dist/asset-manager/src/mcp-render.d.ts +86 -0
  45. package/dist/asset-manager/src/mcp-render.d.ts.map +1 -0
  46. package/dist/asset-manager/src/omp-sweep.d.ts +25 -0
  47. package/dist/asset-manager/src/omp-sweep.d.ts.map +1 -0
  48. package/dist/asset-manager/src/read/diff.d.ts +109 -0
  49. package/dist/asset-manager/src/read/diff.d.ts.map +1 -0
  50. package/dist/asset-manager/src/read/doctor.d.ts +116 -0
  51. package/dist/asset-manager/src/read/doctor.d.ts.map +1 -0
  52. package/dist/asset-manager/src/read/gaps.d.ts +120 -0
  53. package/dist/asset-manager/src/read/gaps.d.ts.map +1 -0
  54. package/dist/asset-manager/src/read/graph.d.ts +69 -0
  55. package/dist/asset-manager/src/read/graph.d.ts.map +1 -0
  56. package/dist/asset-manager/src/read/outdated.d.ts +152 -0
  57. package/dist/asset-manager/src/read/outdated.d.ts.map +1 -0
  58. package/dist/asset-manager/src/read/state.d.ts +265 -0
  59. package/dist/asset-manager/src/read/state.d.ts.map +1 -0
  60. package/dist/asset-manager/src/renderers.d.ts +11 -1
  61. package/dist/asset-manager/src/renderers.d.ts.map +1 -1
  62. package/dist/asset-manager/src/resolve/guards.d.ts +167 -0
  63. package/dist/asset-manager/src/resolve/guards.d.ts.map +1 -0
  64. package/dist/asset-manager/src/resolve/scan.d.ts +222 -0
  65. package/dist/asset-manager/src/resolve/scan.d.ts.map +1 -0
  66. package/dist/asset-manager/src/resolve/stores.d.ts +176 -0
  67. package/dist/asset-manager/src/resolve/stores.d.ts.map +1 -0
  68. package/dist/asset-manager/src/shared/files.d.ts +42 -0
  69. package/dist/asset-manager/src/shared/files.d.ts.map +1 -0
  70. package/dist/asset-manager/src/shared/library-hooks.d.ts +16 -0
  71. package/dist/asset-manager/src/shared/library-hooks.d.ts.map +1 -0
  72. package/dist/asset-manager/src/shared/library.d.ts +96 -0
  73. package/dist/asset-manager/src/shared/library.d.ts.map +1 -0
  74. package/dist/asset-manager/src/shared/refs.d.ts +101 -0
  75. package/dist/asset-manager/src/shared/refs.d.ts.map +1 -0
  76. package/dist/asset-manager/src/shared/types.d.ts +399 -0
  77. package/dist/asset-manager/src/shared/types.d.ts.map +1 -0
  78. package/dist/bridge/harnesses/claude-sdk.js +13 -19
  79. package/dist/bridge/harnesses/claude-sdk.js.map +1 -1
  80. package/dist/bridge/harnesses/codex.js +10 -10
  81. package/dist/bridge/harnesses/continue.js +12 -16
  82. package/dist/bridge/harnesses/continue.js.map +1 -1
  83. package/dist/bridge/harnesses/echo.js +5 -10
  84. package/dist/bridge/harnesses/echo.js.map +1 -1
  85. package/dist/bridge/harnesses/gemini.js +5 -5
  86. package/dist/bridge/harnesses/goose.js +13 -17
  87. package/dist/bridge/harnesses/goose.js.map +1 -1
  88. package/dist/bridge/harnesses/omp.js +7 -13
  89. package/dist/bridge/harnesses/omp.js.map +1 -1
  90. package/dist/bridge/harnesses/opencode.js +13 -17
  91. package/dist/bridge/harnesses/opencode.js.map +1 -1
  92. package/dist/bridge/harnesses/qwen.js +6 -11
  93. package/dist/bridge/harnesses/qwen.js.map +1 -1
  94. package/dist/bridge/index.js +18 -18
  95. package/dist/bridge/src/codex/managed-harness.d.ts.map +1 -1
  96. package/dist/bridge/src/driver-contract.d.ts +72 -0
  97. package/dist/bridge/src/driver-contract.d.ts.map +1 -0
  98. package/dist/bridge/src/harness-model-check.d.ts +1 -1
  99. package/dist/bridge/src/harness-model-check.d.ts.map +1 -1
  100. package/dist/bridge/src/harnesses/_subprocess-cli.d.ts +8 -0
  101. package/dist/bridge/src/harnesses/_subprocess-cli.d.ts.map +1 -1
  102. package/dist/bridge/src/harnesses/claude-sdk.d.ts.map +1 -1
  103. package/dist/bridge/src/harnesses/codex.d.ts +2 -0
  104. package/dist/bridge/src/harnesses/codex.d.ts.map +1 -1
  105. package/dist/bridge/src/harnesses/continue.d.ts.map +1 -1
  106. package/dist/bridge/src/harnesses/echo.d.ts.map +1 -1
  107. package/dist/bridge/src/harnesses/gemini.d.ts.map +1 -1
  108. package/dist/bridge/src/harnesses/goose.d.ts.map +1 -1
  109. package/dist/bridge/src/harnesses/omp.d.ts.map +1 -1
  110. package/dist/bridge/src/harnesses/opencode.d.ts.map +1 -1
  111. package/dist/bridge/src/harnesses/qwen.d.ts.map +1 -1
  112. package/dist/bridge/src/index.d.ts +2 -0
  113. package/dist/bridge/src/index.d.ts.map +1 -1
  114. package/dist/bridge/src/preflight.d.ts +114 -0
  115. package/dist/bridge/src/preflight.d.ts.map +1 -0
  116. package/dist/bridge/src/registry.d.ts +12 -0
  117. package/dist/bridge/src/registry.d.ts.map +1 -1
  118. package/dist/{chunk-7UBCUKJO.js → chunk-2JUCWMIS.js} +8808 -8337
  119. package/dist/chunk-2JUCWMIS.js.map +1 -0
  120. package/dist/{chunk-VS6XC5JE.js → chunk-2MTRRK37.js} +3 -3
  121. package/dist/{chunk-VS6XC5JE.js.map → chunk-2MTRRK37.js.map} +1 -1
  122. package/dist/chunk-2PJYJPDE.js +3 -0
  123. package/dist/chunk-2PJYJPDE.js.map +1 -0
  124. package/dist/{chunk-ZQL6HGTW.js → chunk-2SSG5B24.js} +4 -4
  125. package/dist/{chunk-ZQL6HGTW.js.map → chunk-2SSG5B24.js.map} +1 -1
  126. package/dist/{chunk-WDG5IVEA.js → chunk-2ZDZJ7XQ.js} +3 -3
  127. package/dist/{chunk-WDG5IVEA.js.map → chunk-2ZDZJ7XQ.js.map} +1 -1
  128. package/dist/{chunk-V2VDTQ7A.js → chunk-3A7JUOY2.js} +3 -3
  129. package/dist/{chunk-V2VDTQ7A.js.map → chunk-3A7JUOY2.js.map} +1 -1
  130. package/dist/chunk-3LAJJURV.js +26 -0
  131. package/dist/chunk-3LAJJURV.js.map +1 -0
  132. package/dist/{chunk-X66KSHZF.js → chunk-3UYKT62L.js} +5 -5
  133. package/dist/{chunk-X66KSHZF.js.map → chunk-3UYKT62L.js.map} +1 -1
  134. package/dist/{chunk-J3FJTH3V.js → chunk-4X5WXQV7.js} +4 -4
  135. package/dist/{chunk-J3FJTH3V.js.map → chunk-4X5WXQV7.js.map} +1 -1
  136. package/dist/chunk-4ZNKEDYH.js +887 -0
  137. package/dist/chunk-4ZNKEDYH.js.map +1 -0
  138. package/dist/{chunk-DYH3VSPU.js → chunk-65SOXO7I.js} +20 -14
  139. package/dist/chunk-65SOXO7I.js.map +1 -0
  140. package/dist/{chunk-MVUXBWNW.js → chunk-6HTN2UIJ.js} +3 -3
  141. package/dist/{chunk-MVUXBWNW.js.map → chunk-6HTN2UIJ.js.map} +1 -1
  142. package/dist/{chunk-4SSTREBO.js → chunk-6KV34G6A.js} +8 -8
  143. package/dist/{chunk-4SSTREBO.js.map → chunk-6KV34G6A.js.map} +1 -1
  144. package/dist/{chunk-YNQRVTXH.js → chunk-6M44OQKH.js} +40 -44
  145. package/dist/chunk-6M44OQKH.js.map +1 -0
  146. package/dist/{chunk-B6W5DCH5.js → chunk-72DYHOO2.js} +24 -25
  147. package/dist/chunk-72DYHOO2.js.map +1 -0
  148. package/dist/{chunk-RRAXV5LE.js → chunk-7IW5E6LB.js} +43 -48
  149. package/dist/chunk-7IW5E6LB.js.map +1 -0
  150. package/dist/{chunk-BNLXZXZN.js → chunk-BRAOB37W.js} +97 -47
  151. package/dist/chunk-BRAOB37W.js.map +1 -0
  152. package/dist/{chunk-ZLDAPZIX.js → chunk-BTMSHGN3.js} +4 -4
  153. package/dist/{chunk-ZLDAPZIX.js.map → chunk-BTMSHGN3.js.map} +1 -1
  154. package/dist/{chunk-7K73MCI6.js → chunk-CU5WY6HN.js} +3 -3
  155. package/dist/{chunk-7K73MCI6.js.map → chunk-CU5WY6HN.js.map} +1 -1
  156. package/dist/{chunk-G2ZWIYZR.js → chunk-DFFJKGCW.js} +3 -3
  157. package/dist/{chunk-G2ZWIYZR.js.map → chunk-DFFJKGCW.js.map} +1 -1
  158. package/dist/{chunk-CG63XGVV.js → chunk-EGKCKWWE.js} +3 -3
  159. package/dist/{chunk-CG63XGVV.js.map → chunk-EGKCKWWE.js.map} +1 -1
  160. package/dist/{chunk-CJO3XKO7.js → chunk-ETGC2MEM.js} +4 -4
  161. package/dist/{chunk-CJO3XKO7.js.map → chunk-ETGC2MEM.js.map} +1 -1
  162. package/dist/{chunk-CFRHYD4C.js → chunk-FPG36VC4.js} +8 -13
  163. package/dist/chunk-FPG36VC4.js.map +1 -0
  164. package/dist/{chunk-SBAUZ7XH.js → chunk-H3PY5DFL.js} +4 -4
  165. package/dist/{chunk-SBAUZ7XH.js.map → chunk-H3PY5DFL.js.map} +1 -1
  166. package/dist/{chunk-7HRZACI4.js → chunk-HW4BDJPC.js} +17 -6
  167. package/dist/chunk-HW4BDJPC.js.map +1 -0
  168. package/dist/{chunk-GJT2Q5XD.js → chunk-HXST2IYJ.js} +3 -3
  169. package/dist/{chunk-GJT2Q5XD.js.map → chunk-HXST2IYJ.js.map} +1 -1
  170. package/dist/{chunk-7VBD5XUM.js → chunk-IG4YQ7ER.js} +32 -90
  171. package/dist/chunk-IG4YQ7ER.js.map +1 -0
  172. package/dist/{chunk-DWPQBMCY.js → chunk-JPV4WE5L.js} +2 -2
  173. package/dist/{chunk-DWPQBMCY.js.map → chunk-JPV4WE5L.js.map} +1 -1
  174. package/dist/{chunk-OC3AIMZH.js → chunk-KDRA6FYE.js} +120 -211
  175. package/dist/chunk-KDRA6FYE.js.map +1 -0
  176. package/dist/{chunk-KOI7QFDH.js → chunk-M7XIYHWB.js} +3 -3
  177. package/dist/{chunk-KOI7QFDH.js.map → chunk-M7XIYHWB.js.map} +1 -1
  178. package/dist/{chunk-7LJUK5JK.js → chunk-MG6QD7GE.js} +201 -43
  179. package/dist/chunk-MG6QD7GE.js.map +1 -0
  180. package/dist/{chunk-XHLRMUMO.js → chunk-NAQXDTF3.js} +3 -3
  181. package/dist/{chunk-XHLRMUMO.js.map → chunk-NAQXDTF3.js.map} +1 -1
  182. package/dist/{chunk-YJAKSCCN.js → chunk-NJ6UCY2B.js} +3 -3
  183. package/dist/{chunk-YJAKSCCN.js.map → chunk-NJ6UCY2B.js.map} +1 -1
  184. package/dist/{chunk-OKPITFE3.js → chunk-NNJQQYHY.js} +2 -2
  185. package/dist/{chunk-OKPITFE3.js.map → chunk-NNJQQYHY.js.map} +1 -1
  186. package/dist/{chunk-QNHW26AT.js → chunk-OD4N5O7V.js} +4 -4
  187. package/dist/{chunk-QNHW26AT.js.map → chunk-OD4N5O7V.js.map} +1 -1
  188. package/dist/{chunk-F7WMHDTV.js → chunk-P6FJDT35.js} +27 -7
  189. package/dist/chunk-P6FJDT35.js.map +1 -0
  190. package/dist/{chunk-IOXFT5D7.js → chunk-PD42JZWI.js} +3 -3
  191. package/dist/{chunk-IOXFT5D7.js.map → chunk-PD42JZWI.js.map} +1 -1
  192. package/dist/{chunk-MS2IXLTC.js → chunk-PMXTBWFD.js} +27 -7
  193. package/dist/chunk-PMXTBWFD.js.map +1 -0
  194. package/dist/{chunk-NAAFRZTA.js → chunk-PPSSDUN6.js} +3 -3
  195. package/dist/{chunk-NAAFRZTA.js.map → chunk-PPSSDUN6.js.map} +1 -1
  196. package/dist/{chunk-LMUNQYJQ.js → chunk-PRB67LCK.js} +127 -18
  197. package/dist/chunk-PRB67LCK.js.map +1 -0
  198. package/dist/{chunk-RLV3FF4I.js → chunk-QUIK7L3Z.js} +11 -11
  199. package/dist/{chunk-RLV3FF4I.js.map → chunk-QUIK7L3Z.js.map} +1 -1
  200. package/dist/{chunk-DRUAQ7IY.js → chunk-QUPZKTF3.js} +9 -8
  201. package/dist/chunk-QUPZKTF3.js.map +1 -0
  202. package/dist/{chunk-7FXOOUOC.js → chunk-RPRMD7XV.js} +27 -11
  203. package/dist/chunk-RPRMD7XV.js.map +1 -0
  204. package/dist/{chunk-3BRBTQ6M.js → chunk-S3UOZBGE.js} +20 -3
  205. package/dist/chunk-S3UOZBGE.js.map +1 -0
  206. package/dist/{chunk-LQWOU7S2.js → chunk-SFBLZOV5.js} +3 -3
  207. package/dist/{chunk-LQWOU7S2.js.map → chunk-SFBLZOV5.js.map} +1 -1
  208. package/dist/{chunk-EB2LKPI6.js → chunk-SMFZ5YGN.js} +4 -4
  209. package/dist/{chunk-EB2LKPI6.js.map → chunk-SMFZ5YGN.js.map} +1 -1
  210. package/dist/{chunk-243Z3BNB.js → chunk-SX54OQQT.js} +4 -4
  211. package/dist/{chunk-243Z3BNB.js.map → chunk-SX54OQQT.js.map} +1 -1
  212. package/dist/{chunk-2PVYDAFN.js → chunk-T65N4CIZ.js} +3 -3
  213. package/dist/{chunk-2PVYDAFN.js.map → chunk-T65N4CIZ.js.map} +1 -1
  214. package/dist/{chunk-QBLS7X3Z.js → chunk-TVRL3IPZ.js} +3 -3
  215. package/dist/{chunk-QBLS7X3Z.js.map → chunk-TVRL3IPZ.js.map} +1 -1
  216. package/dist/{chunk-2URJ7W5X.js → chunk-TW5AP6IF.js} +5 -5
  217. package/dist/{chunk-2URJ7W5X.js.map → chunk-TW5AP6IF.js.map} +1 -1
  218. package/dist/{chunk-F6LDWA2N.js → chunk-TYK752MU.js} +3 -3
  219. package/dist/{chunk-F6LDWA2N.js.map → chunk-TYK752MU.js.map} +1 -1
  220. package/dist/{chunk-HPQ2WDYC.js → chunk-U2WPJHRA.js} +5 -5
  221. package/dist/{chunk-HPQ2WDYC.js.map → chunk-U2WPJHRA.js.map} +1 -1
  222. package/dist/{chunk-MEU2HHGV.js → chunk-U7P22GEB.js} +386 -46
  223. package/dist/chunk-U7P22GEB.js.map +1 -0
  224. package/dist/{chunk-6ISJMEDX.js → chunk-VFEZUSB6.js} +4 -4
  225. package/dist/{chunk-6ISJMEDX.js.map → chunk-VFEZUSB6.js.map} +1 -1
  226. package/dist/{chunk-5FO4U3OL.js → chunk-WW22FS74.js} +75 -67
  227. package/dist/chunk-WW22FS74.js.map +1 -0
  228. package/dist/{chunk-WCUT3EQR.js → chunk-Z23I2JA6.js} +7 -7
  229. package/dist/{chunk-WCUT3EQR.js.map → chunk-Z23I2JA6.js.map} +1 -1
  230. package/dist/{chunk-VKGNMXGZ.js → chunk-Z7HLX4V2.js} +4 -4
  231. package/dist/{chunk-VKGNMXGZ.js.map → chunk-Z7HLX4V2.js.map} +1 -1
  232. package/dist/{chunk-LZCX2TCZ.js → chunk-ZII54C3E.js} +355 -1075
  233. package/dist/chunk-ZII54C3E.js.map +1 -0
  234. package/dist/{chunk-CVUMZTNO.js → chunk-ZQPBYLCS.js} +4 -4
  235. package/dist/{chunk-CVUMZTNO.js.map → chunk-ZQPBYLCS.js.map} +1 -1
  236. package/dist/{claude-code-LFAOJ3UQ.js → claude-code-VL6UM7BZ.js} +4 -4
  237. package/dist/{claude-code-LFAOJ3UQ.js.map → claude-code-VL6UM7BZ.js.map} +1 -1
  238. package/dist/cli/index.js +494 -301
  239. package/dist/cli/index.js.map +1 -1
  240. package/dist/cli/src/agent-file-refresh.d.ts +25 -0
  241. package/dist/cli/src/agent-file-refresh.d.ts.map +1 -0
  242. package/dist/cli/src/commands/asset-cmd.d.ts.map +1 -1
  243. package/dist/cli/src/commands/catalog.d.ts +9 -2
  244. package/dist/cli/src/commands/catalog.d.ts.map +1 -1
  245. package/dist/cli/src/commands/config.d.ts.map +1 -1
  246. package/dist/cli/src/commands/harness.d.ts +1 -1
  247. package/dist/cli/src/commands/harness.d.ts.map +1 -1
  248. package/dist/cli/src/commands/library-cmd.d.ts.map +1 -1
  249. package/dist/cli/src/commands/library-index.d.ts +5 -7
  250. package/dist/cli/src/commands/library-index.d.ts.map +1 -1
  251. package/dist/cli/src/commands/library-publish.d.ts.map +1 -1
  252. package/dist/cli/src/commands/preset-export.d.ts.map +1 -1
  253. package/dist/cli/src/commands/project.d.ts.map +1 -1
  254. package/dist/cli/src/commands/run.d.ts.map +1 -1
  255. package/dist/cli/src/commands/serve-preflight.d.ts +27 -48
  256. package/dist/cli/src/commands/serve-preflight.d.ts.map +1 -1
  257. package/dist/cli/src/commands/serve.d.ts.map +1 -1
  258. package/dist/cli/src/commands/source.d.ts +6 -9
  259. package/dist/cli/src/commands/source.d.ts.map +1 -1
  260. package/dist/cli/src/commands/validate.d.ts +6 -0
  261. package/dist/cli/src/commands/validate.d.ts.map +1 -1
  262. package/dist/cli/src/config-checks.d.ts.map +1 -1
  263. package/dist/cli/src/harness-error.d.ts +11 -9
  264. package/dist/cli/src/harness-error.d.ts.map +1 -1
  265. package/dist/cli/src/skill-checks.d.ts +48 -74
  266. package/dist/cli/src/skill-checks.d.ts.map +1 -1
  267. package/dist/connectors/config.js +5 -5
  268. package/dist/connectors/index.js +22 -22
  269. package/dist/{connectors-KPF4UUDS.js → connectors-7EPJRVLJ.js} +25 -25
  270. package/dist/{connectors-KPF4UUDS.js.map → connectors-7EPJRVLJ.js.map} +1 -1
  271. package/dist/connectors-shared/index.js +2 -2
  272. package/dist/core/index.js +7 -6
  273. package/dist/core/manifest.js +2 -2
  274. package/dist/core/models.js +1 -1
  275. package/dist/core/publish-manifest.js +3 -3
  276. package/dist/core/ref.js +1 -1
  277. package/dist/core/runtime-assets.js +5 -5
  278. package/dist/core/src/agent-prompt-sections.d.ts +96 -4
  279. package/dist/core/src/agent-prompt-sections.d.ts.map +1 -1
  280. package/dist/core/src/check-asset.d.ts +115 -0
  281. package/dist/core/src/check-asset.d.ts.map +1 -0
  282. package/dist/core/src/harness-model.d.ts +20 -0
  283. package/dist/core/src/harness-model.d.ts.map +1 -0
  284. package/dist/core/src/index.d.ts +10 -6
  285. package/dist/core/src/index.d.ts.map +1 -1
  286. package/dist/core/src/lock.d.ts +12 -10
  287. package/dist/core/src/lock.d.ts.map +1 -1
  288. package/dist/core/src/models.d.ts +42 -11
  289. package/dist/core/src/models.d.ts.map +1 -1
  290. package/dist/core/src/publish-manifest.d.ts +17 -0
  291. package/dist/core/src/publish-manifest.d.ts.map +1 -1
  292. package/dist/core/src/repo-identity.d.ts +41 -0
  293. package/dist/core/src/repo-identity.d.ts.map +1 -0
  294. package/dist/core/src/repo-manager.d.ts +3 -9
  295. package/dist/core/src/repo-manager.d.ts.map +1 -1
  296. package/dist/core/src/walker.d.ts.map +1 -1
  297. package/dist/core/src/workspace-config.d.ts.map +1 -1
  298. package/dist/core/workspace-config.js +4 -4
  299. package/dist/deploy/index.js +7 -6
  300. package/dist/deploy/index.js.map +1 -1
  301. package/dist/discovery/index.js +5 -5
  302. package/dist/discovery/src/source-config.d.ts.map +1 -1
  303. package/dist/{ensure-sources-FOMEGCQ5.js → ensure-sources-CI3JQJST.js} +32 -30
  304. package/dist/ensure-sources-CI3JQJST.js.map +1 -0
  305. package/dist/factory-assets/connectors/box.js +22 -22
  306. package/dist/factory-assets/connectors/deploy.js +22 -22
  307. package/dist/factory-assets/connectors/devserver.js +22 -22
  308. package/dist/factory-assets/connectors/flow/adapter.js +22 -22
  309. package/dist/factory-assets/connectors/flow/engine.js +8 -7
  310. package/dist/factory-assets/connectors/flow/run-flow.js +24 -24
  311. package/dist/factory-assets/connectors/flow.js +22 -22
  312. package/dist/factory-assets/connectors/git.js +22 -22
  313. package/dist/factory-assets/connectors/gmail.js +22 -22
  314. package/dist/factory-assets/connectors/googledrive.js +22 -22
  315. package/dist/factory-assets/connectors/local.js +22 -22
  316. package/dist/factory-assets/connectors/mattermost.js +22 -22
  317. package/dist/factory-assets/connectors/memory.js +22 -22
  318. package/dist/factory-assets/connectors/minio.js +22 -22
  319. package/dist/factory-assets/connectors/postgres.js +22 -22
  320. package/dist/factory-assets/connectors/s3.js +22 -22
  321. package/dist/factory-assets/connectors/sharepoint.js +22 -22
  322. package/dist/factory-assets/connectors/sqlite.js +22 -22
  323. package/dist/factory-assets/connectors/static-server.js +22 -22
  324. package/dist/factory-assets/connectors/tunnel.js +22 -22
  325. package/dist/factory-assets/connectors/webdav.js +22 -22
  326. package/dist/factory-assets/connectors/xstate-store.js +22 -22
  327. package/dist/factory-assets/connectors/xstate.js +22 -22
  328. package/dist/{flows-J64L5MGJ.js → flows-6XQAYQS4.js} +12 -11
  329. package/dist/{flows-J64L5MGJ.js.map → flows-6XQAYQS4.js.map} +1 -1
  330. package/dist/{helpers-ZJ67FO3Z.js → helpers-26MR5QPO.js} +32 -30
  331. package/dist/{helpers-ZJ67FO3Z.js.map → helpers-26MR5QPO.js.map} +1 -1
  332. package/dist/library/index.js +10 -10
  333. package/dist/library/install.js +4 -4
  334. package/dist/library/src/index.d.ts +1 -1
  335. package/dist/library/src/index.d.ts.map +1 -1
  336. package/dist/library/src/local/db.d.ts.map +1 -1
  337. package/dist/library/src/local/library-manager.d.ts.map +1 -1
  338. package/dist/library/src/local/library.d.ts.map +1 -1
  339. package/dist/library/src/local/schema.d.ts +19 -0
  340. package/dist/library/src/local/schema.d.ts.map +1 -1
  341. package/dist/library/src/user-library.d.ts +18 -0
  342. package/dist/library/src/user-library.d.ts.map +1 -1
  343. package/dist/{library-publish-RGVXGTY4.js → library-publish-F3AKF66O.js} +74 -68
  344. package/dist/library-publish-F3AKF66O.js.map +1 -0
  345. package/dist/model-endpoint/index.js +10 -9
  346. package/dist/{open-library-I5JHL37T.js → open-library-FVV6GG4I.js} +35 -33
  347. package/dist/{open-library-I5JHL37T.js.map → open-library-FVV6GG4I.js.map} +1 -1
  348. package/dist/{open-registry-4HNCWOCN.js → open-registry-VX2BVMS5.js} +16 -16
  349. package/dist/{open-registry-4HNCWOCN.js.map → open-registry-VX2BVMS5.js.map} +1 -1
  350. package/dist/{paths-PXBWY532.js → paths-PIWSSUUG.js} +10 -9
  351. package/dist/{paths-PXBWY532.js.map → paths-PIWSSUUG.js.map} +1 -1
  352. package/dist/{plugin-store-ZC3EGZ3D.js → plugin-store-MVTW6G7J.js} +10 -9
  353. package/dist/{plugin-store-ZC3EGZ3D.js.map → plugin-store-MVTW6G7J.js.map} +1 -1
  354. package/dist/{project-K5JWPIJ6.js → project-GFQP4TW6.js} +50 -48
  355. package/dist/{project-K5JWPIJ6.js.map → project-GFQP4TW6.js.map} +1 -1
  356. package/dist/resolver/index.js +8 -7
  357. package/dist/runner/composition-content.d.ts +2 -0
  358. package/dist/runner/composition-content.js +29 -0
  359. package/dist/runner/composition-content.js.map +1 -0
  360. package/dist/runner/index.js +40 -39
  361. package/dist/runner/src/compaction/prompt.d.ts.map +1 -1
  362. package/dist/runner/src/composition/content-entry.d.ts +15 -0
  363. package/dist/runner/src/composition/content-entry.d.ts.map +1 -0
  364. package/dist/runner/src/composition/content-source.d.ts +7 -0
  365. package/dist/runner/src/composition/content-source.d.ts.map +1 -1
  366. package/dist/runner/src/composition/dry-run.d.ts +5 -1
  367. package/dist/runner/src/composition/dry-run.d.ts.map +1 -1
  368. package/dist/runner/src/composition/index.d.ts +1 -1
  369. package/dist/runner/src/composition/index.d.ts.map +1 -1
  370. package/dist/runner/src/composition/prompt-sections.d.ts +47 -20
  371. package/dist/runner/src/composition/prompt-sections.d.ts.map +1 -1
  372. package/dist/runner/src/context-usage/compose.d.ts.map +1 -1
  373. package/dist/runner/src/session-builder.d.ts +3 -8
  374. package/dist/runner/src/session-builder.d.ts.map +1 -1
  375. package/dist/runner/src/work-practices.d.ts +9 -0
  376. package/dist/runner/src/work-practices.d.ts.map +1 -0
  377. package/dist/sdk/asset-manager.js +17 -15
  378. package/dist/sdk/bridge.js +18 -18
  379. package/dist/sdk/core.js +7 -6
  380. package/dist/sdk/flow.js +8 -7
  381. package/dist/sdk/index.js +40 -39
  382. package/dist/sdk/index.js.map +1 -1
  383. package/dist/sdk/resolver.js +8 -7
  384. package/dist/sdk/runner.js +40 -39
  385. package/dist/sdk/session.js +2 -2
  386. package/dist/sdk/transport/ws/server.js +8 -7
  387. package/dist/sdk/transport/ws.js +8 -7
  388. package/dist/sdk/transport.js +8 -7
  389. package/dist/sdk/types.js +1 -1
  390. package/dist/serve-preflight-XJS5OZML.js +138 -0
  391. package/dist/serve-preflight-XJS5OZML.js.map +1 -0
  392. package/dist/session/index.js +2 -2
  393. package/dist/{setup-RXTNGML5.js → setup-BFEBJLYF.js} +33 -31
  394. package/dist/setup-BFEBJLYF.js.map +1 -0
  395. package/dist/{skills-5D4KDVPJ.js → skills-OCG7B5CL.js} +13 -12
  396. package/dist/{skills-5D4KDVPJ.js.map → skills-OCG7B5CL.js.map} +1 -1
  397. package/dist/source-P6JPZYWP.js +93 -0
  398. package/dist/{source-2LP5W3ST.js.map → source-P6JPZYWP.js.map} +1 -1
  399. package/dist/{source-manifest-publish-EZNCTSQF.js → source-manifest-publish-XBFHEURV.js} +54 -52
  400. package/dist/source-manifest-publish-XBFHEURV.js.map +1 -0
  401. package/dist/transport/index.js +8 -7
  402. package/dist/transport/ws/server.js +8 -7
  403. package/dist/transport/ws.js +8 -7
  404. package/dist/tui/index.js +40 -39
  405. package/dist/tui/index.js.map +1 -1
  406. package/dist/types/index.js +1 -1
  407. package/dist/types/src/context-usage.d.ts +1 -1
  408. package/dist/types/src/events.d.ts +3 -2
  409. package/dist/types/src/events.d.ts.map +1 -1
  410. package/dist/types/src/runtime.d.ts +6 -0
  411. package/dist/types/src/runtime.d.ts.map +1 -1
  412. package/dist/workspace-plugin/adapters/mcp.js +29 -29
  413. package/dist/workspace-plugin/adapters/omp.js +14 -14
  414. package/dist/workspace-plugin/index.js +1 -1
  415. package/package.json +7 -1
  416. package/dist/asset-feeds-DOG5FK7T.js.map +0 -1
  417. package/dist/chunk-3BRBTQ6M.js.map +0 -1
  418. package/dist/chunk-5FO4U3OL.js.map +0 -1
  419. package/dist/chunk-7FXOOUOC.js.map +0 -1
  420. package/dist/chunk-7HRZACI4.js.map +0 -1
  421. package/dist/chunk-7LJUK5JK.js.map +0 -1
  422. package/dist/chunk-7UBCUKJO.js.map +0 -1
  423. package/dist/chunk-7VBD5XUM.js.map +0 -1
  424. package/dist/chunk-A7TM4PZZ.js +0 -110
  425. package/dist/chunk-A7TM4PZZ.js.map +0 -1
  426. package/dist/chunk-B6W5DCH5.js.map +0 -1
  427. package/dist/chunk-BNLXZXZN.js.map +0 -1
  428. package/dist/chunk-CFRHYD4C.js.map +0 -1
  429. package/dist/chunk-DRUAQ7IY.js.map +0 -1
  430. package/dist/chunk-DYH3VSPU.js.map +0 -1
  431. package/dist/chunk-F7WMHDTV.js.map +0 -1
  432. package/dist/chunk-LMUNQYJQ.js.map +0 -1
  433. package/dist/chunk-LZCX2TCZ.js.map +0 -1
  434. package/dist/chunk-MEU2HHGV.js.map +0 -1
  435. package/dist/chunk-MS2IXLTC.js.map +0 -1
  436. package/dist/chunk-OC3AIMZH.js.map +0 -1
  437. package/dist/chunk-RRAXV5LE.js.map +0 -1
  438. package/dist/chunk-YNQRVTXH.js.map +0 -1
  439. package/dist/cli/src/commands/harness-preflight.d.ts +0 -40
  440. package/dist/cli/src/commands/harness-preflight.d.ts.map +0 -1
  441. package/dist/ensure-sources-FOMEGCQ5.js.map +0 -1
  442. package/dist/library-publish-RGVXGTY4.js.map +0 -1
  443. package/dist/serve-preflight-L6VVCDM5.js +0 -61
  444. package/dist/serve-preflight-L6VVCDM5.js.map +0 -1
  445. package/dist/setup-RXTNGML5.js.map +0 -1
  446. package/dist/source-2LP5W3ST.js +0 -91
  447. package/dist/source-manifest-publish-EZNCTSQF.js.map +0 -1
@@ -1,12 +1,14 @@
1
1
  /**
2
2
  * Per-asset checks shared by `skaile validate`, `skaile library index` and the
3
- * `library publish` plan, so all three give the same verdict for the same asset
4
- * file: {@link checkAsset} returns the errors (semver, kind schema, flow
5
- * definition) and the advisories (agentskills.io conformance, untouched scaffold).
3
+ * `library publish` plan, `library create`, `asset import` and `asset migrate`, so all six
4
+ * give the same verdict for the same asset file: {@link runAssetChecks} gives the pipeline of
5
+ * `core/src/check-asset.ts` the stages that need the kind registry, the semver rule and the
6
+ * flow and agent definition parsers, and returns the errors and the warnings.
6
7
  */
7
- import { type AssetEntry } from "@skaile/workspaces/core";
8
+ import { type AssetCheckResult, type AssetCommand, type AssetEntry, type AssetFinding, type CheckInput, type CheckOptions } from "@skaile/workspaces/core";
8
9
  import type { IAssetKindRegistry } from "@skaile/workspaces/plugins";
9
10
  import { type ComposeRefContext } from "./agent-checks.ts";
11
+ export type { AssetCheckResult, AssetFinding };
10
12
  /** Per-type regex patterns for deterministic asset discovery. */
11
13
  export declare const MANIFEST_GLOBS: Array<{
12
14
  pattern: RegExp;
@@ -20,32 +22,6 @@ export declare function manifestKindOfFile(file: string): string | undefined;
20
22
  * own `<file> [<kind>] —` prefix, so the author reads the same cause and fix everywhere (p1206).
21
23
  */
22
24
  export declare function manifestParseErrorText(reason: string): string;
23
- /** One advisory finding, printed as `<file> [<tag>] — <text>`. */
24
- export interface AssetFinding {
25
- /** `skill conformance` for agentskills.io findings, else the asset kind. */
26
- tag: string;
27
- text: string;
28
- /** `true` for an agentskills.io conformance finding (`--strict-conformance` escalates these). */
29
- conformance: boolean;
30
- /** `true` for the untouched `library create` body: an error in `validate`, `library index` and the publish plan. */
31
- scaffoldBody?: true;
32
- /**
33
- * Set on a `requires:` entry no registered library holds (p1200): the canonical
34
- * `kind:@publisher/name` the publish plan asks the store about.
35
- */
36
- unheldRef?: string;
37
- }
38
- /**
39
- * Run the advisory checks for one parsed asset manifest: agentskills.io conformance
40
- * (skills only), keys nothing reads (every kind) and the untouched `library create` body (skill, agent, prompt, contract).
41
- * The flow and preset scaffolds are errors, see {@link checkAsset}. Other kinds yield no findings.
42
- *
43
- * @param kind Asset kind of the manifest.
44
- * @param parsed Parsed manifest (frontmatter for markdown kinds, the document for YAML).
45
- * @param body The markdown body after the frontmatter (`undefined` for YAML kinds).
46
- * @param dirName The manifest's parent folder name (enables the skill name==dir rule).
47
- */
48
- export declare function checkAssetManifest(kind: string, parsed: Record<string, unknown>, body: string | undefined, dirName: string): AssetFinding[];
49
25
  /** The version `library index` records for a parsed manifest: top-level `version`, else `metadata.version`. */
50
26
  export declare function declaredVersion(parsed: Record<string, unknown>): string | undefined;
51
27
  /** The refusal text for a version that is not semver, `undefined` when it is. */
@@ -68,21 +44,8 @@ export declare function versionProblemText(parsed: Record<string, unknown>, rawT
68
44
  * @param library The registered library name, for the re-run hint.
69
45
  */
70
46
  export declare function duplicateAssetMessage(kind: string, name: string, dir: string, detail: string, library: string): string;
71
- /** Result of {@link checkAsset}: what fails the asset, and what only warns. */
72
- export interface AssetCheckResult {
73
- /** Findings that fail `validate`, make `library index` exit 1 and the publish plan refuse the asset. */
74
- errors: AssetFinding[];
75
- /** Advisories ({@link checkAssetManifest}): printed as warnings, exit code unchanged. */
76
- advisories: AssetFinding[];
77
- }
78
47
  /** The version a manifest without one is read at: the default `library index` records. */
79
48
  export declare const DEFAULT_VERSION = "0.1.0";
80
- /**
81
- * The refusal for an asset name or id that breaks the canonical rule (lowercase kebab-case,
82
- * at most 64 characters), `undefined` when the identity is absent (the schema owns that) or valid.
83
- * An explicit `publisher:` in the manifest is checked as part of the ref it forms.
84
- */
85
- export declare function manifestIdentityError(kind: string, parsed: Record<string, unknown>): string | undefined;
86
49
  /**
87
50
  * One finding per `requires:` entry that no registered library holds, read offline (p1200): the
88
51
  * same check `dependencies:` in `skaile.manifest.yaml` gets (p119). The finding is a warning in
@@ -96,34 +59,39 @@ export declare function manifestIdentityError(kind: string, parsed: Record<strin
96
59
  * @param context What the refs are resolved against.
97
60
  */
98
61
  export declare function unheldRequiresFindings(kind: string, parsed: Record<string, unknown>, fileName: string | undefined, context: ComposeRefContext | undefined): AssetFinding[];
62
+ /** The asset a command hands to {@link runAssetChecks}: the parsed manifest and where it lives. */
63
+ export interface AssetCheckSubject extends CheckInput {
64
+ /** The kind registry that owns each kind's manifest schema. */
65
+ registry: IAssetKindRegistry;
66
+ /**
67
+ * Where the agent lives (`dir`) and the library holding it: an agent's local `composes[].ref`
68
+ * paths and memory sources are checked against them. With `fileName` `agent.yaml` the
69
+ * definition checks (composed kinds, slots, deprecated fields) run too, so every command
70
+ * refuses the same agents (p415). With `composeRefs` a `composes[]` ref no library holds
71
+ * fails the agent too.
72
+ */
73
+ agentFiles?: {
74
+ dir: string;
75
+ libraryRoot: string;
76
+ composeRefs?: ComposeRefContext;
77
+ };
78
+ }
99
79
  /**
100
- * The one per-asset check list behind `skaile validate`, `skaile library index`
101
- * and `skaile library publish`. Errors: an asset name that is not canonical (kebab-case,
102
- * at most 64 characters), a declared version that is not semver, the kind's manifest schema,
103
- * a `TODO:` scaffold description (every kind; the skill schema already refuses it), the
104
- * untouched flow/preset scaffold, and for flows the flow engine's own definition parser —
105
- * a flow the engine cannot load is no flow. A missing version reads as 0.1.0 and an empty
106
- * `metadata:` as absent for every scaffolded kind. Advisories (the untouched `library create` body,
107
- * agentskills.io conformance): {@link checkAssetManifest}.
80
+ * The one per-asset check list behind `library create`, `asset import`, `asset migrate`,
81
+ * `skaile validate`, `library publish` and `library index`: the pipeline of
82
+ * `core/src/check-asset.ts` with the stages this layer owns. Errors: an asset name or publisher
83
+ * that is not canonical, a declared version that is not semver, the kind's manifest schema, every
84
+ * untouched `library create` placeholder, the refs `add` would refuse, and for flows and agents
85
+ * the engine's own definition parsers: a flow the engine cannot load is no flow. A missing
86
+ * version reads as 0.1.0 and an empty `metadata:` as absent for every scaffolded kind. Warnings:
87
+ * agentskills.io conformance (errors under `strictConformance`), keys nothing reads, `requires:`
88
+ * entries no registered library holds.
108
89
  *
109
- * @param kind Asset kind of the manifest.
110
- * @param parsed Parsed manifest (frontmatter for markdown kinds, the document for YAML).
111
- * @param body The markdown body after the frontmatter (`undefined` for YAML kinds).
112
- * @param dirName The manifest's parent folder name (enables the skill name==dir rule).
113
- * @param registry The kind registry that owns each kind's manifest schema.
114
- * @param rawText The manifest file text, to show a yaml-number version as the author wrote it.
115
- * @param fileName Base name of the manifest file; a flow's `id:` must match its stem (p670).
116
- * @param agentFiles Where the agent lives (`dir`) and the library holding it: an agent's local
117
- * `composes[].ref` paths and memory sources are checked against them. With `fileName`
118
- * `agent.yaml` the definition checks (composed kinds, slots, deprecated fields) run too, so
119
- * `validate`, `library index` and the publish plan refuse the same agents (p415). With
120
- * `composeRefs` a `composes[]` ref no library holds fails the agent too.
90
+ * @param command The command asking; selects the check set.
91
+ * @param subject The asset, the kind registry and (for an agent) where its files live.
92
+ * @param opts `strictConformance` makes the agentskills.io findings errors.
121
93
  */
122
- export declare function checkAsset(kind: string, parsed: Record<string, unknown>, body: string | undefined, dirName: string, registry: IAssetKindRegistry, rawText?: string, fileName?: string, agentFiles?: {
123
- dir: string;
124
- libraryRoot: string;
125
- composeRefs?: ComposeRefContext;
126
- }): AssetCheckResult;
94
+ export declare function runAssetChecks(command: AssetCommand, subject: AssetCheckSubject, opts?: CheckOptions): AssetCheckResult;
127
95
  /**
128
96
  * Locate the manifest file of a first-party asset inside its `root` directory:
129
97
  * `SKILL.md`, `agent.yaml` / `AGENT.md`, `CONTRACT.md`, `PERSONA.md`, `RULESET.md`,
@@ -138,19 +106,25 @@ export declare function findAssetManifestFile(dir: string, kind: string, name: s
138
106
  */
139
107
  export declare function findEntryManifestFile(libraryPath: string, entry: Pick<AssetEntry, "kind" | "name" | "root" | "files" | "source">): string | null;
140
108
  /**
141
- * The {@link checkAsset} errors of one manifest file on disk — what `library index`
142
- * asks of each asset before it writes it into the manifest. A file that cannot be
143
- * read or parsed yields none: the parse failure is reported by whoever owns it.
144
- * The untouched `library create` body is an error too, for all six kinds: a passing
145
- * check means the asset can be published (p1020).
109
+ * The errors and warnings of one manifest file on disk for `command`, from {@link runAssetChecks}: what
110
+ * `library index` asks of each asset before it writes it into the manifest, and what the publish
111
+ * plan and `add` ask too. A file that cannot be read or parsed yields none: the parse failure is
112
+ * reported by whoever owns it. The untouched `library create` content is an error for all six
113
+ * kinds: a passing check means the asset can be published (p1020).
146
114
  *
115
+ * @param command The command asking; selects the check set.
147
116
  * @param file Absolute path of the manifest file.
148
117
  * @param kind Asset kind of the manifest.
149
118
  * @param registry The kind registry that owns each kind's manifest schema.
150
119
  * @param libraryRoot The library holding the asset; an agent's local files are checked against it.
151
120
  * @param composeRefs What an agent's `composes[]` refs resolve against; without it they are not checked.
152
121
  */
153
- export declare function checkAssetFile(file: string, kind: string, registry: IAssetKindRegistry, libraryRoot?: string, composeRefs?: ComposeRefContext): AssetFinding[];
122
+ export declare function checkAssetFileFull(command: AssetCommand, file: string, kind: string, registry: IAssetKindRegistry, libraryRoot?: string, composeRefs?: ComposeRefContext): AssetCheckResult;
123
+ /**
124
+ * The errors of {@link checkAssetFileFull}: what fails the asset in `command`. A file that cannot
125
+ * be read or parsed yields none; whoever owns that failure reports it.
126
+ */
127
+ export declare function checkAssetFile(command: AssetCommand, file: string, kind: string, registry: IAssetKindRegistry, libraryRoot?: string, composeRefs?: ComposeRefContext): AssetFinding[];
154
128
  /**
155
129
  * The lines `skaile validate` prints for a library asset that fails its kind checks, as `add` shows
156
130
  * them before it refuses the asset (p1550): `<file> [<tag>] — <text>`, the file relative to the
@@ -1 +1 @@
1
- {"version":3,"file":"skill-checks.d.ts","sourceRoot":"","sources":["../../../cli/src/skill-checks.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EACL,KAAK,UAAU,EAQhB,MAAM,yBAAyB,CAAC;AASjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAEL,KAAK,iBAAiB,EAGvB,MAAM,mBAAmB,CAAC;AAU3B,iEAAiE;AACjE,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA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oB,CAClC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,iBAAiB,GACzB,YAAY,EAAE,CAOhB"}
@@ -1,11 +1,11 @@
1
- export { LegacyAuthGrammarError, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations, loadYamlConnectorDeclarations, resolveAuthRef, resolveBackendAuthFor, resolvedConfigToDeclarations, withMaterializedConnectorDeclarations } from '../chunk-SBAUZ7XH.js';
2
- import '../chunk-BNLXZXZN.js';
1
+ export { LegacyAuthGrammarError, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations, loadYamlConnectorDeclarations, resolveAuthRef, resolveBackendAuthFor, resolvedConfigToDeclarations, withMaterializedConnectorDeclarations } from '../chunk-H3PY5DFL.js';
2
+ import '../chunk-BRAOB37W.js';
3
3
  import '../chunk-L5VSIPQD.js';
4
4
  import '../chunk-VTETQCR6.js';
5
- import '../chunk-MS2IXLTC.js';
6
- import '../chunk-VS6XC5JE.js';
5
+ import '../chunk-PMXTBWFD.js';
6
+ import '../chunk-2MTRRK37.js';
7
7
  import '../chunk-RVRB27AN.js';
8
- import '../chunk-7HRZACI4.js';
8
+ import '../chunk-HW4BDJPC.js';
9
9
  import '../chunk-C3CAXQMA.js';
10
10
  import '../chunk-BOFL7GIF.js';
11
11
  import '../chunk-NSBPE2FW.js';
@@ -1,47 +1,47 @@
1
- export { AbstractConnector, BUILTIN_CONNECTOR_CATALOG, CONNECT_FAILURE_CARRY_OVER_TTL_MS, ConnectFailureCarryOver, ConnectorConnectingError, ConnectorManager, FleetMountConnectingError, FlowAdapter, LogBuffer, ManagedGitconfigCollisionError, NO_ACTIVE_FLOW_ERROR, PortPool, TRUSTED_GIT_CA_ENV, atomicReplaceCredential, buildConnectorListPayload, buildConnectorPromptSection, buildLazyFlowToolDefs, buildLazySdkFlowTools, buildSdkConnectorTools, buildSdkFlowTools, checkFleetMountLiveness, classifyConnectError, createFsWatcher, createWorktree, defaultSpawn, ensureDirMode, ensureFleetMounted, ensureRefreshAttemptStamp, findGitRoot, findMissingPackages, fleetMountConnectingMessage, getConnector, installNpmPackages, isFleetManaged, isFleetMountConnectingError, isPackageResolvable, listConnectors, listWorktrees, missingTokenMediatorMessage, registerBuiltinConnectors, removeMountBlock, removeUnavailableMountBlock, renderCredentialHelperScript, resolveAccessPolicy, tryGetConnector, worktreeRegistry, writeHelperScript, writeMountBlock, writeUnavailableMountBlock, writeUserGitconfigInclude } from '../chunk-RLV3FF4I.js';
2
- export { CONNECT_ERROR_KIND_PROPERTY, ClassifiedConnectError, declaredConnectErrorKind, withConnectErrorKind } from '../chunk-MVUXBWNW.js';
3
- export { ConnectorFieldMissingError, ConnectorStartupError, EnvSecretProvider, ForgeSecretProvider, InMemorySecretProvider, LegacyAuthGrammarError, LockedSecretProvider, OAuthRequiredError, PreMintedSecretProvider, SecretProviderChain, createCliSecretProviderChain, createForgeSecretProviderChain, deriveSingleMaterializedConnectorDeclaration, fromMaterializedConnectorMd, isKnownSecretRef, loadConnectorDeclarations, loadMaterializedConnectorDeclarations, loadYamlConnectorDeclarations, readUnavailableMarker, resolveAuthRef, resolveBackendAuthFor, resolvedConfigToDeclarations, withMaterializedConnectorDeclarations } from '../chunk-SBAUZ7XH.js';
4
- import '../chunk-LMUNQYJQ.js';
5
- import '../chunk-ZQL6HGTW.js';
6
- import '../chunk-QNHW26AT.js';
7
- import '../chunk-B6W5DCH5.js';
1
+ export { AbstractConnector, BUILTIN_CONNECTOR_CATALOG, CONNECT_FAILURE_CARRY_OVER_TTL_MS, ConnectFailureCarryOver, ConnectorConnectingError, ConnectorManager, FleetMountConnectingError, FlowAdapter, LogBuffer, ManagedGitconfigCollisionError, NO_ACTIVE_FLOW_ERROR, PortPool, TRUSTED_GIT_CA_ENV, atomicReplaceCredential, buildConnectorListPayload, buildConnectorPromptSection, buildLazyFlowToolDefs, buildLazySdkFlowTools, buildSdkConnectorTools, buildSdkFlowTools, checkFleetMountLiveness, classifyConnectError, createFsWatcher, createWorktree, defaultSpawn, ensureDirMode, ensureFleetMounted, ensureRefreshAttemptStamp, findGitRoot, findMissingPackages, fleetMountConnectingMessage, getConnector, installNpmPackages, isFleetManaged, isFleetMountConnectingError, isPackageResolvable, listConnectors, listWorktrees, missingTokenMediatorMessage, registerBuiltinConnectors, removeMountBlock, removeUnavailableMountBlock, renderCredentialHelperScript, resolveAccessPolicy, tryGetConnector, worktreeRegistry, writeHelperScript, writeMountBlock, writeUnavailableMountBlock, writeUserGitconfigInclude } from '../chunk-QUIK7L3Z.js';
2
+ export { CONNECT_ERROR_KIND_PROPERTY, ClassifiedConnectError, declaredConnectErrorKind, withConnectErrorKind } from '../chunk-6HTN2UIJ.js';
3
+ export { ConnectorFieldMissingError, ConnectorStartupError, EnvSecretProvider, ForgeSecretProvider, InMemorySecretProvider, LegacyAuthGrammarError, LockedSecretProvider, OAuthRequiredError, PreMintedSecretProvider, SecretProviderChain, createCliSecretProviderChain, createForgeSecretProviderChain, deriveSingleMaterializedConnectorDeclaration, fromMaterializedConnectorMd, isKnownSecretRef, loadConnectorDeclarations, loadMaterializedConnectorDeclarations, loadYamlConnectorDeclarations, readUnavailableMarker, resolveAuthRef, resolveBackendAuthFor, resolvedConfigToDeclarations, withMaterializedConnectorDeclarations } from '../chunk-H3PY5DFL.js';
4
+ import '../chunk-PRB67LCK.js';
5
+ import '../chunk-2SSG5B24.js';
6
+ import '../chunk-OD4N5O7V.js';
7
+ import '../chunk-72DYHOO2.js';
8
8
  import '../chunk-5KSGZP3E.js';
9
9
  import '../chunk-7EKQDY2T.js';
10
- import '../chunk-GJT2Q5XD.js';
10
+ import '../chunk-HXST2IYJ.js';
11
11
  import '../chunk-U7EZ2WSC.js';
12
- import '../chunk-6ISJMEDX.js';
12
+ import '../chunk-VFEZUSB6.js';
13
13
  import '../chunk-NBAGV6L2.js';
14
- import '../chunk-NAAFRZTA.js';
14
+ import '../chunk-PPSSDUN6.js';
15
15
  import '../chunk-YKD2MYLU.js';
16
16
  import '../chunk-5DE3DGVR.js';
17
17
  import '../chunk-7DN6JKP2.js';
18
- import '../chunk-XHLRMUMO.js';
19
- import '../chunk-3BRBTQ6M.js';
18
+ import '../chunk-NAQXDTF3.js';
19
+ import '../chunk-S3UOZBGE.js';
20
20
  import '../chunk-G5SUWZEU.js';
21
- import '../chunk-CG63XGVV.js';
21
+ import '../chunk-EGKCKWWE.js';
22
22
  import '../chunk-6UP2EDFN.js';
23
23
  import '../chunk-IFGTRL2I.js';
24
- import '../chunk-WDG5IVEA.js';
24
+ import '../chunk-2ZDZJ7XQ.js';
25
25
  import '../chunk-WD3L5QSU.js';
26
26
  import '../chunk-7RGTAEG6.js';
27
- import '../chunk-DWPQBMCY.js';
27
+ import '../chunk-JPV4WE5L.js';
28
28
  import '../chunk-LNFKL23K.js';
29
29
  import '../chunk-JRN5QF4C.js';
30
30
  import '../chunk-NUELZWCF.js';
31
- import '../chunk-LCXQ4LVP.js';
32
- import '../chunk-MEU2HHGV.js';
31
+ import '../chunk-U7P22GEB.js';
33
32
  import '../chunk-4GY63JU6.js';
34
- import '../chunk-CJO3XKO7.js';
33
+ import '../chunk-ETGC2MEM.js';
35
34
  import '../chunk-5KRMNUL4.js';
36
35
  import '../chunk-C5HFK34M.js';
37
36
  import '../chunk-MWXYN6NY.js';
38
- import '../chunk-BNLXZXZN.js';
37
+ import '../chunk-BRAOB37W.js';
39
38
  import '../chunk-L5VSIPQD.js';
40
39
  import '../chunk-VTETQCR6.js';
41
- import '../chunk-MS2IXLTC.js';
42
- import '../chunk-VS6XC5JE.js';
40
+ import '../chunk-PMXTBWFD.js';
41
+ import '../chunk-2MTRRK37.js';
43
42
  import '../chunk-RVRB27AN.js';
44
- import '../chunk-7HRZACI4.js';
43
+ import '../chunk-HW4BDJPC.js';
44
+ import '../chunk-LCXQ4LVP.js';
45
45
  import '../chunk-VSX2G7LA.js';
46
46
  import '../chunk-RXGPFAMN.js';
47
47
  import '../chunk-RZL4TOK3.js';
@@ -1,54 +1,54 @@
1
- export { connectorDescribe, connectorExec, connectorList, connectorLoadSkill, connectorRead, connectorSearch, connectorWrite, mountList, mountRead, mountStatus, mountSync } from './chunk-QBLS7X3Z.js';
1
+ export { connectorDescribe, connectorExec, connectorList, connectorLoadSkill, connectorRead, connectorSearch, connectorWrite, mountList, mountRead, mountStatus, mountSync } from './chunk-TVRL3IPZ.js';
2
2
  import './chunk-3MWQKQUB.js';
3
- import './chunk-RLV3FF4I.js';
4
- import './chunk-MVUXBWNW.js';
5
- import './chunk-SBAUZ7XH.js';
6
- import './chunk-LMUNQYJQ.js';
7
- import './chunk-ZQL6HGTW.js';
8
- import './chunk-QNHW26AT.js';
9
- import './chunk-B6W5DCH5.js';
3
+ import './chunk-QUIK7L3Z.js';
4
+ import './chunk-6HTN2UIJ.js';
5
+ import './chunk-H3PY5DFL.js';
6
+ import './chunk-PRB67LCK.js';
7
+ import './chunk-2SSG5B24.js';
8
+ import './chunk-OD4N5O7V.js';
9
+ import './chunk-72DYHOO2.js';
10
10
  import './chunk-5KSGZP3E.js';
11
11
  import './chunk-7EKQDY2T.js';
12
- import './chunk-GJT2Q5XD.js';
12
+ import './chunk-HXST2IYJ.js';
13
13
  import './chunk-U7EZ2WSC.js';
14
- import './chunk-6ISJMEDX.js';
14
+ import './chunk-VFEZUSB6.js';
15
15
  import './chunk-NBAGV6L2.js';
16
- import './chunk-NAAFRZTA.js';
16
+ import './chunk-PPSSDUN6.js';
17
17
  import './chunk-YKD2MYLU.js';
18
18
  import './chunk-5DE3DGVR.js';
19
19
  import './chunk-7DN6JKP2.js';
20
- import './chunk-XHLRMUMO.js';
21
- import './chunk-3BRBTQ6M.js';
20
+ import './chunk-NAQXDTF3.js';
21
+ import './chunk-S3UOZBGE.js';
22
22
  import './chunk-G5SUWZEU.js';
23
- import './chunk-CG63XGVV.js';
23
+ import './chunk-EGKCKWWE.js';
24
24
  import './chunk-6UP2EDFN.js';
25
25
  import './chunk-IFGTRL2I.js';
26
- import './chunk-WDG5IVEA.js';
26
+ import './chunk-2ZDZJ7XQ.js';
27
27
  import './chunk-WD3L5QSU.js';
28
28
  import './chunk-7RGTAEG6.js';
29
- import './chunk-DWPQBMCY.js';
29
+ import './chunk-JPV4WE5L.js';
30
30
  import './chunk-LNFKL23K.js';
31
31
  import './chunk-JRN5QF4C.js';
32
32
  import './chunk-NUELZWCF.js';
33
- import './chunk-LCXQ4LVP.js';
34
- import './chunk-MEU2HHGV.js';
33
+ import './chunk-U7P22GEB.js';
35
34
  import './chunk-4GY63JU6.js';
36
- import './chunk-CJO3XKO7.js';
35
+ import './chunk-ETGC2MEM.js';
37
36
  import './chunk-5KRMNUL4.js';
38
37
  import './chunk-C5HFK34M.js';
39
38
  import './chunk-MWXYN6NY.js';
40
- import './chunk-BNLXZXZN.js';
39
+ import './chunk-BRAOB37W.js';
41
40
  import './chunk-L5VSIPQD.js';
42
41
  import './chunk-VTETQCR6.js';
43
- import './chunk-MS2IXLTC.js';
44
- import './chunk-VS6XC5JE.js';
42
+ import './chunk-PMXTBWFD.js';
43
+ import './chunk-2MTRRK37.js';
45
44
  import './chunk-RVRB27AN.js';
46
- import './chunk-7HRZACI4.js';
45
+ import './chunk-HW4BDJPC.js';
46
+ import './chunk-LCXQ4LVP.js';
47
47
  import './chunk-VSX2G7LA.js';
48
48
  import './chunk-RXGPFAMN.js';
49
49
  import './chunk-RZL4TOK3.js';
50
50
  import './chunk-C3CAXQMA.js';
51
51
  import './chunk-BOFL7GIF.js';
52
52
  import './chunk-NSBPE2FW.js';
53
- //# sourceMappingURL=connectors-KPF4UUDS.js.map
54
- //# sourceMappingURL=connectors-KPF4UUDS.js.map
53
+ //# sourceMappingURL=connectors-7EPJRVLJ.js.map
54
+ //# sourceMappingURL=connectors-7EPJRVLJ.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"connectors-KPF4UUDS.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"connectors-7EPJRVLJ.js"}
@@ -1,5 +1,5 @@
1
- export { CONNECT_ERROR_KIND_PROPERTY, ClassifiedConnectError, withConnectErrorKind } from '../chunk-MVUXBWNW.js';
2
- import '../chunk-DWPQBMCY.js';
1
+ export { CONNECT_ERROR_KIND_PROPERTY, ClassifiedConnectError, withConnectErrorKind } from '../chunk-6HTN2UIJ.js';
2
+ import '../chunk-JPV4WE5L.js';
3
3
  import '../chunk-NSBPE2FW.js';
4
4
  import * as z from 'zod';
5
5
 
@@ -1,16 +1,17 @@
1
- export { AGENT_PROMPT_SECTION_ORDER, FACTORY_SOURCE_URL, GLOBAL_INSTALL_DIR_NAME, LOCK_FACTORY_URL, LOCK_SCHEMA_VERSION, LockParseError, ManifestYamlEditor, PROVIDERS_FILENAME, SETTINGS_DEFAULTS, WorkspaceYamlEditor, aiResourceRoots, applyPatch, assertLockHashes, buildAgentPromptSections, buildLibraryLockEntries, buildLockFile, capMemoryContent, checkAgentSkillConformance, cloneBackedSources, computeHash, connectProbe, defaultLibraryDir, detectPackageManager, extractForPatch, findProjectPackageDir, generatePatch, globalInstallDir, globalSettingsPath, harnessSdkMissingError, holdsWildcard, installCommand, installCommandFor, isFactoryMemorySource, listPatches, listenWithProbe, loadHarnessSdk, loadHarnessSdkSubpath, loadProviderRegistry, loadProviderRegistryFile, loadSettings, mapLegacyFields, maskApiKey, mergeLockFile, migrateSettings, needsWildcardProbe, portIsHeld, probeHosts, projectAssetRoots, projectSettingsPath, readLock, readPatch, readPluginsLockSlice, renderMemorySection, resolveConfiguredHarnessName, resolveLibraryDir, resolveSettings, resolveSettingsWithSources, resyncLockSources, savePatch, saveProviderRegistryFile, saveSettings, sdkLookupPlaces, skaileInstallDir, userProviderRegistryPath, verifyLock, verifyLockEntry, walkForSettings, workspaceProviderRegistryPath, writeLock, writePluginsLockSlice } from '../chunk-MEU2HHGV.js';
1
+ export { AGENT_PROMPT_CARRIERS, AGENT_PROMPT_CARRIER_LABELS, AGENT_PROMPT_SECTION_ORDER, CHECK_SETS, FACTORY_SOURCE_URL, GLOBAL_INSTALL_DIR_NAME, LOCK_FACTORY_URL, LOCK_SCHEMA_VERSION, LockParseError, ManifestYamlEditor, PROVIDERS_FILENAME, SETTINGS_DEFAULTS, VALIDATE_SKIP_DIRS, WorkspaceYamlEditor, agentPromptCarrierHarness, aiResourceRoots, applyPatch, assembleAgent, assertLockHashes, assetPathProblem, buildAgentPromptSections, buildLibraryLockEntries, buildLockFile, capMemoryContent, checkAgentSkillConformance, checkAsset, cloneBackedSources, computeHash, connectProbe, defaultLibraryDir, detectPackageManager, extractForPatch, findProjectPackageDir, generatePatch, globalInstallDir, globalSettingsPath, harnessSdkMissingError, holdsWildcard, identityFindings, installCommand, installCommandFor, isFactoryMemorySource, listPatches, listenWithProbe, loadHarnessSdk, loadHarnessSdkSubpath, loadProviderRegistry, loadProviderRegistryFile, loadSettings, mapLegacyFields, maskApiKey, mergeLockFile, migrateSettings, modelForHarness, needsWildcardProbe, portIsHeld, probeHosts, projectAssetRoots, projectSettingsPath, readLock, readPatch, readPluginsLockSlice, renderAgentPromptCarrierTable, renderMemorySection, resolveConfiguredHarnessName, resolveLibraryDir, resolveSettings, resolveSettingsWithSources, resyncLockSources, savePatch, saveProviderRegistryFile, saveSettings, sdkLookupPlaces, skaileInstallDir, userProviderRegistryPath, verifyLock, verifyLockEntry, walkForSettings, workspaceProviderRegistryPath, writeLock, writePluginsLockSlice } from '../chunk-U7P22GEB.js';
2
2
  export { processAlive, processExited, processGroupAlive } from '../chunk-4GY63JU6.js';
3
- export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot } from '../chunk-CJO3XKO7.js';
3
+ export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot } from '../chunk-ETGC2MEM.js';
4
4
  export { deployedBase, deployedDir, deployedPaths, isDeployed } from '../chunk-5KRMNUL4.js';
5
5
  export { DEFAULT_HARNESS_ID, HARNESS_DEFAULTS, resolveHarnessPaths } from '../chunk-C5HFK34M.js';
6
6
  export { detectMonorepoRoot, findKindDirs } from '../chunk-MWXYN6NY.js';
7
- export { AGENT_INSTANCE_ID_PATTERN, AGENT_INSTANCE_LIFECYCLES, AGENT_INSTANCE_MEMORY_SCOPES, AGENT_INSTANCE_TRIGGER_KINDS, AGENT_PROFILE_FIELDS, AgentRefResolutionError, COMPACTION_DEFAULTS, CanonicalRefConflictError, ConfigParseError, DEFAULT_AGENT_INSTANCE_ID, DEFAULT_RECIPE_ATTR, LegacyKeyError, MAX_PRESET_DEPTH, PresetDepthError, SKAILE_YAML_DEFAULT, SKILL_ALLOWLIST_FILE, SKILL_ALLOWLIST_VERSION, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, STAGED_SKILL_MARKER, SourceEntryError, UnknownAssetKindError, agentBlockKeyDiagnostics, agentInstanceDiagnostics, agentSourceCacheDir, attachToBranch, buildProvenanceIndex, checkRepoStatus, checkoutPin, cloneIsOnPin, cloneOriginMismatch, cloneRepo, coerceVersion, configParseErrorOf, decodeSkaileYaml, deriveSingleMaterializedMcpDeclaration, discardUnclonedSourceDir, effectiveAgentInstances, encodeSkaileYaml, ensureRepo, findWorkspaceRoot, getGlobalCacheDir, getRepoCommit, instanceChoiceText, isCommitOnRemote, isInsideProject, isSameRemote, isSourceCloned, isStagedSkillMarkerFor, isWorkspaceConfigFilename, legacySourceCacheKey, linkRepo, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, localConnectorMountDir, matchPin, mcpDeclarationFromMdContent, mergeAgentInstances, mergeAgentPermissions, mergeSkWorkspaceConfigs, missingPinMessage, normalizeAgentInstances, normalizeConfig, parseSourceEntries, primaryAgentRef, priorSourceCacheKeys, priorStoreManifestSlugs, pullRepo, pullRepoResult, readLinks, readSkillAllowList, resolveAgentDefinitionDir, resolveAgentDir, resolveAll, resolveAsset, resolveCompactionThresholdPercent, resolveGlobalHarnesses as resolveGlobalBackends, resolveGlobalHarnesses, resolveGlobalSkWorkspaceConfig, resolveSkWorkspaceConfig, resolveSourcePublisher, saveSkWorkspaceConfig, scanRepo, slashGitSourceCacheKey, sourceCacheKey, sourceShortName, stageMaterializedSkills, stagedSkillMarkerState, storeManifestSlug, symlinkEscapeOfProject, unlinkRepo, unpublishedCommitAdvice, unselectedInstanceIds, unstageSkill, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, writeLinks } from '../chunk-BNLXZXZN.js';
7
+ export { AGENT_INSTANCE_ID_PATTERN, AGENT_INSTANCE_LIFECYCLES, AGENT_INSTANCE_MEMORY_SCOPES, AGENT_INSTANCE_TRIGGER_KINDS, AGENT_PROFILE_FIELDS, AgentRefResolutionError, COMPACTION_DEFAULTS, CanonicalRefConflictError, ConfigParseError, DEFAULT_AGENT_INSTANCE_ID, DEFAULT_RECIPE_ATTR, LegacyKeyError, MAX_PRESET_DEPTH, PresetDepthError, SKAILE_YAML_DEFAULT, SKILL_ALLOWLIST_FILE, SKILL_ALLOWLIST_VERSION, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, STAGED_SKILL_MARKER, SourceEntryError, UnknownAssetKindError, agentBlockKeyDiagnostics, agentInstanceDiagnostics, agentSourceCacheDir, attachToBranch, buildProvenanceIndex, checkRepoStatus, checkoutPin, cloneIsOnPin, cloneOriginMismatch, cloneRepo, coerceVersion, configParseErrorOf, decodeSkaileYaml, deriveSingleMaterializedMcpDeclaration, discardUnclonedSourceDir, effectiveAgentInstances, encodeSkaileYaml, ensureRepo, findWorkspaceRoot, getGlobalCacheDir, getRepoCommit, instanceChoiceText, isCommitOnRemote, isInsideProject, isSourceCloned, isStagedSkillMarkerFor, isWorkspaceConfigFilename, legacySourceCacheKey, linkRepo, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, localConnectorMountDir, matchPin, mcpDeclarationFromMdContent, mergeAgentInstances, mergeAgentPermissions, mergeSkWorkspaceConfigs, missingPinMessage, normalizeAgentInstances, normalizeConfig, parseSourceEntries, primaryAgentRef, priorSourceCacheKeys, priorStoreManifestSlugs, pullRepo, pullRepoResult, readLinks, readSkillAllowList, repoIdentity, resolveAgentDefinitionDir, resolveAgentDir, resolveAll, resolveAsset, resolveCompactionThresholdPercent, resolveGlobalHarnesses as resolveGlobalBackends, resolveGlobalHarnesses, resolveGlobalSkWorkspaceConfig, resolveSkWorkspaceConfig, resolveSourcePublisher, sameRepo, saveSkWorkspaceConfig, scanRepo, slashGitSourceCacheKey, sourceCacheKey, sourceShortName, stageMaterializedSkills, stagedSkillMarkerState, storeManifestSlug, symlinkEscapeOfProject, unlinkRepo, unpublishedCommitAdvice, unselectedInstanceIds, unstageSkill, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, writeLinks } from '../chunk-BRAOB37W.js';
8
8
  export { __resetCacheMigrationMemo, globalCacheRoot, globalSkaileDir, mergeLegacyEntriesInto, mergeLegacyEntriesKeyed, migrateLegacyDir, userConfigPath } from '../chunk-L5VSIPQD.js';
9
9
  export { HARNESS_TARGETS, SUPPORTED_HARNESSES, globalHarnessRoot as globalBackendRoot, globalHarnessRoot, harnessNameForHarnessId } from '../chunk-VTETQCR6.js';
10
- export { SKAILE_MANIFEST_FILENAME, decodeSkaileManifest, encodeSkaileManifest, loadSkPublishManifest } from '../chunk-MS2IXLTC.js';
11
- export { DEFAULT_FS_DEADLINE_MS, DEFAULT_WALK_BUDGET_MS, DEFAULT_WALK_MAX_DEPTH, DEFAULT_WALK_MAX_ENTRIES, FS_DEADLINE_ENV_VAR, FsDeadlineError, ManifestKindError, WALK_BUDGET_MS_ENV_VAR, WALK_MAX_DEPTH_ENV_VAR, WALK_MAX_ENTRIES_ENV_VAR, assetDepRefs, dedupeRequirementRefs, dedupeRequirements, fromAgentMd, fromAgentYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromMcpServerMd, fromMcpServerMdContent, fromPresetYaml, fromPromptMd, fromSkillMd, fsDeadlineMs, manifestKindDiagnostic, parseFrontmatter, parseRequires, presetItemRefs, readAssetBody, requirementKey, scanDirectory, setWalkTruncationSink, tryWithFsDeadline, walkDir, withFsDeadline } from '../chunk-VS6XC5JE.js';
10
+ export { SKAILE_MANIFEST_FILENAME, decodeSkaileManifest, encodeSkaileManifest, loadSkPublishManifest, manifestTextPublisherProblems } from '../chunk-PMXTBWFD.js';
11
+ export { DEFAULT_FS_DEADLINE_MS, DEFAULT_WALK_BUDGET_MS, DEFAULT_WALK_MAX_DEPTH, DEFAULT_WALK_MAX_ENTRIES, FS_DEADLINE_ENV_VAR, FsDeadlineError, ManifestKindError, WALK_BUDGET_MS_ENV_VAR, WALK_MAX_DEPTH_ENV_VAR, WALK_MAX_ENTRIES_ENV_VAR, assetDepRefs, dedupeRequirementRefs, dedupeRequirements, fromAgentMd, fromAgentYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromMcpServerMd, fromMcpServerMdContent, fromPresetYaml, fromPromptMd, fromSkillMd, fsDeadlineMs, manifestKindDiagnostic, parseFrontmatter, parseRequires, presetItemRefs, readAssetBody, requirementKey, scanDirectory, setWalkTruncationSink, tryWithFsDeadline, walkDir, withFsDeadline } from '../chunk-2MTRRK37.js';
12
12
  export { pluginTitle, readPluginGroupings } from '../chunk-RVRB27AN.js';
13
- export { ASSET_NAME_HINT, PUBLISHER_HINT, assetRefProblem, assetRefToDep, assetRefToStr, depToStr, entryFromRaw, entryToRaw, isValidAssetName, isValidPublisher, parseAssetRef, parseAssetRefLoose, parseDep, repositoryFromRaw, repositoryToRaw, slugifyAssetName } from '../chunk-7HRZACI4.js';
13
+ export { ASSET_NAME_HINT, PUBLISHER_HINT, assetRefProblem, assetRefToDep, assetRefToStr, depToStr, entryFromRaw, entryToRaw, isValidAssetName, parseAssetRef, parseAssetRefLoose, parseDep, parsePublisher, repositoryFromRaw, repositoryToRaw, slugifyAssetName } from '../chunk-HW4BDJPC.js';
14
+ import '../chunk-LCXQ4LVP.js';
14
15
  export { __resetCredentialCommandCache, portableSpawn, portableSpawnSync, resolveCredential } from '../chunk-VSX2G7LA.js';
15
16
  export { AI_PROVIDER_BASE_URL_TEMPLATES, AI_PROVIDER_CREDENTIAL_KINDS, AI_PROVIDER_DISCOVERY_TYPES, AI_PROVIDER_KINDS, AI_PROVIDER_LAYERS, AI_PROVIDER_SURFACES, AI_PROVIDER_TRANSPORTS, AI_PROVIDER_VOICE_KINDS, entryTransport, formatCredentialRef, isEntryEnabled, isSafeProviderId, looksLikeLiteralSecret, mergeRegistries, normalizeAnthropicBaseUrl, normalizeEntryBaseUrl, parseCredentialRef, parseModelRef, pickRegistryEntries, registryEntries, resolveEntryBaseUrl, validateMergedRegistry, validateRegistry } from '../chunk-RXGPFAMN.js';
16
17
  export { DEFAULT_LOGS_RETENTION, OnLogBridgeSink, RUN_STATE_GITIGNORE_ENTRIES, SqliteSink, WsLogSink, createLogStoreFromConfig, enforceLogsRetention, ensureRunStateIgnored, openSqlite, pathFingerprint, pathTag, resolveLogStoreConfig, resolveLogsRetention, scrubLogText } from '../chunk-RZL4TOK3.js';
@@ -1,5 +1,5 @@
1
- export { DEFAULT_WALK_BUDGET_MS, DEFAULT_WALK_MAX_DEPTH, DEFAULT_WALK_MAX_ENTRIES, ManifestKindError, WALK_BUDGET_MS_ENV_VAR, WALK_MAX_DEPTH_ENV_VAR, WALK_MAX_ENTRIES_ENV_VAR, agentYamlRequires, assetDepRefs, fromAgentMd, fromAgentYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromKnowledgeYaml, fromMcpServerMd, fromMcpServerMdContent, fromPresetYaml, fromPromptMd, fromSkillMd, frontmatterYamlProblem, isManifestName, manifestKindDiagnostic, parseFrontmatter, parseRequires, presetItemRefs, readAssetBody, scanDirectory, setWalkTruncationSink, walkDir, withYamlQuotingHint, yamlQuotingHint } from '../chunk-VS6XC5JE.js';
2
- import '../chunk-7HRZACI4.js';
1
+ export { DEFAULT_WALK_BUDGET_MS, DEFAULT_WALK_MAX_DEPTH, DEFAULT_WALK_MAX_ENTRIES, ManifestKindError, WALK_BUDGET_MS_ENV_VAR, WALK_MAX_DEPTH_ENV_VAR, WALK_MAX_ENTRIES_ENV_VAR, agentYamlRequires, assetDepRefs, fromAgentMd, fromAgentYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromKnowledgeYaml, fromMcpServerMd, fromMcpServerMdContent, fromPresetYaml, fromPromptMd, fromSkillMd, frontmatterYamlProblem, isManifestName, manifestKindDiagnostic, parseFrontmatter, parseRequires, presetItemRefs, readAssetBody, scanDirectory, setWalkTruncationSink, walkDir, withYamlQuotingHint, yamlQuotingHint } from '../chunk-2MTRRK37.js';
2
+ import '../chunk-HW4BDJPC.js';
3
3
  import '../chunk-BOFL7GIF.js';
4
4
  import '../chunk-NSBPE2FW.js';
5
5
  //# sourceMappingURL=manifest.js.map
@@ -1,4 +1,4 @@
1
- export { ASSET_NAME_HINT, PUBLISHER_HINT, assetRefProblem, assetRefToDep, assetRefToStr, depToStr, entryFromRaw, entryToRaw, isValidAssetName, isValidPublisher, parseAssetRef, parseAssetRefLoose, parseDep, repositoryFromRaw, repositoryToRaw, slugifyAssetName } from '../chunk-7HRZACI4.js';
1
+ export { ASSET_NAME_HINT, PUBLISHER_HINT, assetRefProblem, assetRefToDep, assetRefToStr, depToStr, entryFromRaw, entryToRaw, isValidAssetName, parseAssetRef, parseAssetRefLoose, parseDep, parsePublisher, repositoryFromRaw, repositoryToRaw, slugifyAssetName } from '../chunk-HW4BDJPC.js';
2
2
  import '../chunk-NSBPE2FW.js';
3
3
  //# sourceMappingURL=models.js.map
4
4
  //# sourceMappingURL=models.js.map
@@ -1,6 +1,6 @@
1
- export { ASSET_KEY_ORDER, LIBRARY_GITIGNORE, SKAILE_MANIFEST_FILENAME, compositeSha256, decodeSkaileManifest, encodeSkaileManifest, expandManifestFiles, expandManifestFilesFromPaths, gitPublishedFiles, isEnvFileName, isLibraryManifestAtAssetRoot, isNonAssetDir, isNonAssetFile, isNonAssetPath, isSecretFileName, librarySymlinkMessage, listAssetFiles, listLibrarySymlinks, listSecretFiles, listSkippedSymlinks, loadSkPublishManifest, onlyPublished, orderedAsset, sha256Hex } from '../chunk-MS2IXLTC.js';
2
- import '../chunk-VS6XC5JE.js';
3
- import '../chunk-7HRZACI4.js';
1
+ export { ASSET_KEY_ORDER, LIBRARY_GITIGNORE, SKAILE_MANIFEST_FILENAME, compositeSha256, decodeSkaileManifest, encodeSkaileManifest, expandManifestFiles, expandManifestFilesFromPaths, gitPublishedFiles, isEnvFileName, isLibraryManifestAtAssetRoot, isNonAssetDir, isNonAssetFile, isNonAssetPath, isSecretFileName, librarySymlinkMessage, listAssetFiles, listLibrarySymlinks, listSecretFiles, listSkippedSymlinks, loadSkPublishManifest, manifestTextPublisherProblems, onlyPublished, orderedAsset, sha256Hex } from '../chunk-PMXTBWFD.js';
2
+ import '../chunk-2MTRRK37.js';
3
+ import '../chunk-HW4BDJPC.js';
4
4
  import '../chunk-BOFL7GIF.js';
5
5
  import '../chunk-NSBPE2FW.js';
6
6
  //# sourceMappingURL=publish-manifest.js.map
package/dist/core/ref.js CHANGED
@@ -1,4 +1,4 @@
1
- export { ASSET_NAME_HINT, assetRefToStr, isValidAssetName, parseAssetRef } from '../chunk-7HRZACI4.js';
1
+ export { ASSET_NAME_HINT, assetRefToStr, isValidAssetName, parseAssetRef } from '../chunk-HW4BDJPC.js';
2
2
  import '../chunk-NSBPE2FW.js';
3
3
 
4
4
  // core/src/ref.ts
@@ -1,11 +1,11 @@
1
- export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot } from '../chunk-CJO3XKO7.js';
2
- import '../chunk-BNLXZXZN.js';
1
+ export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot } from '../chunk-ETGC2MEM.js';
2
+ import '../chunk-BRAOB37W.js';
3
3
  import '../chunk-L5VSIPQD.js';
4
4
  import '../chunk-VTETQCR6.js';
5
- import '../chunk-MS2IXLTC.js';
6
- import '../chunk-VS6XC5JE.js';
5
+ import '../chunk-PMXTBWFD.js';
6
+ import '../chunk-2MTRRK37.js';
7
7
  import '../chunk-RVRB27AN.js';
8
- import '../chunk-7HRZACI4.js';
8
+ import '../chunk-HW4BDJPC.js';
9
9
  import '../chunk-C3CAXQMA.js';
10
10
  import '../chunk-BOFL7GIF.js';
11
11
  import '../chunk-NSBPE2FW.js';
@@ -1,9 +1,11 @@
1
+ import { type HarnessName } from "./harness-targets.js";
1
2
  /**
2
- * The one system-prompt section builder for an agent definition. The install
3
+ * The one system-prompt assembler for an agent definition. The install
3
4
  * renderers (`asset-manager`, bake the prompt into `.claude/agents/<name>.md`
4
- * and friends) and the runner (`createAgentSession`, assembles the live
5
- * system prompt) both build the agent part of the prompt through
6
- * {@link buildAgentPromptSections}, so the two can never disagree on order.
5
+ * and friends), the runner (`createAgentSession`, assembles the live system
6
+ * prompt) and `skaile run --dry-run --print-prompt` all build the agent part
7
+ * of the prompt through {@link assembleAgent}, which wraps
8
+ * {@link buildAgentPromptSections}, so they can never disagree on order or text.
7
9
  *
8
10
  * Order — fixed here and nowhere else:
9
11
  *
@@ -30,12 +32,20 @@ export type AgentPromptPart = string | {
30
32
  /** One memory block as rendered in `<MEMORY>`. */
31
33
  export interface AgentPromptMemoryBlock {
32
34
  name: string;
35
+ /** Convention file the block is seeded from (`SOUL.md`). A block seeded from `SOUL.md` carries the soul. */
36
+ source?: string;
33
37
  /** `instance` | `user` | `workspace`. */
34
38
  scope: string;
35
39
  /** Hard cap on the rendered content (characters). */
36
40
  maxChars: number;
37
41
  /** Current block content: what the host holds, or the seed when the host holds nothing. */
38
42
  content: string;
43
+ /**
44
+ * `false` when nothing is stored for the block (`memory.scope: none`): the seed is all there is,
45
+ * so the native file may bake it. Absent or `true`: the host owns the content, the file never
46
+ * holds it.
47
+ */
48
+ persisted?: boolean;
39
49
  }
40
50
  export interface AgentPromptAbility {
41
51
  /** Slash-command name. */
@@ -87,4 +97,86 @@ export declare function renderMemorySection(blocks: readonly AgentPromptMemoryBl
87
97
  * (`\n\n` in the install renderers, the `---` rule in the runner).
88
98
  */
89
99
  export declare function buildAgentPromptSections(input: AgentPromptSectionsInput): AgentPromptSection[];
100
+ /**
101
+ * How one section reaches a harness's main session.
102
+ *
103
+ * - `file`: the native agent file carries it; the runner never adds it.
104
+ * - `file-or-runner`: the native file carries it (baked at install); the runner adds it
105
+ * only when the file does not hold its exact text (a file from before, a host-backed
106
+ * memory block, no file at all).
107
+ * - `runner`: only the runner adds it at session start.
108
+ * - `none`: no part of the main session carries it (it is in the rendered file, which
109
+ * the harness reads for sub-agents only, or in no file).
110
+ */
111
+ export type AgentPromptCarrier = "file" | "file-or-runner" | "runner" | "none";
112
+ /** The harness groups that differ in what they carry. `other` is every harness without a native agent file. */
113
+ export type AgentPromptCarrierHarness = HarnessName | "other";
114
+ /**
115
+ * Which part of a main session carries each section, per harness. The harness docs table
116
+ * (`docs/sections/bridge/harnesses.md`) is generated from this and a test fails when the two
117
+ * drift; the dry-run column of `skaile run --dry-run` reads it too.
118
+ *
119
+ * `claude-code` and `codex` read the native file in the main session. `omp` reads only
120
+ * `RULES.md` from its agent dir (not `SOUL.md`, not the rendered file), so the runner adds the
121
+ * rest it has; the rendered `.omp/agents/<name>.md` serves omp's sub-agent listing.
122
+ */
123
+ export declare const AGENT_PROMPT_CARRIERS: Record<AgentPromptCarrierHarness, Record<AgentPromptSectionId, AgentPromptCarrier>>;
124
+ /** The carrier group of a harness id (`claude-sdk`, `claude-code`, `codex`, `omp`, anything else); no id is `claude-code`. */
125
+ export declare function agentPromptCarrierHarness(harness?: string): AgentPromptCarrierHarness;
126
+ /** Options of {@link assembleAgent}. */
127
+ export interface AssembleAgentOptions {
128
+ /** Harness id or target name; decides which sections the runner adds ({@link AGENT_PROMPT_CARRIERS}). */
129
+ harness?: string;
130
+ /** Text of the native agent file the harness reads, when there is one; the runner skips what it holds. */
131
+ nativeFile?: string;
132
+ }
133
+ /** A block the native file holds, but with other text than the run resolves now (`skaile install` re-renders it). */
134
+ export interface StalePromptBlock {
135
+ section: AgentPromptSectionId;
136
+ /** What the notice names: `composed block ./rules.md`, `memory block notes`, `duties`. */
137
+ label: string;
138
+ }
139
+ /** The result of {@link assembleAgent}. */
140
+ export interface AssembledAgent {
141
+ /** Every non-empty section, in the fixed order. */
142
+ sections: AgentPromptSection[];
143
+ /**
144
+ * The assembled agent prompt: `sections` joined with a blank line. The native agent file body is
145
+ * this text plus a final newline; `skaile run --dry-run --print-prompt` prints it.
146
+ */
147
+ systemPrompt: string;
148
+ /**
149
+ * The part of the prompt the given harness is sent: `systemPrompt` without the sections its
150
+ * carrier column marks `not sent` ({@link AGENT_PROMPT_CARRIERS}).
151
+ */
152
+ sentPrompt: string;
153
+ /** Carrier of each section id for the harness. */
154
+ carriers: Record<AgentPromptSectionId, AgentPromptCarrier>;
155
+ /** The sections the runner adds to the live system prompt on top of the native file. */
156
+ runnerSections: AgentPromptSection[];
157
+ /**
158
+ * Blocks the native file holds with other text than this input. The runner does not add a second
159
+ * copy (the file is sent as it is); the caller prints one notice per entry.
160
+ */
161
+ stale: StalePromptBlock[];
162
+ }
163
+ /**
164
+ * Assemble the agent prompt from one input set. The install renderers call it for the text
165
+ * they bake, the runner for what it adds live, the CLI for `--print-prompt`.
166
+ *
167
+ * A memory block seeded from `SOUL.md` already carries the soul, so the soul section is left out
168
+ * (never twice). A block of the native file is found by its identity (a memory block by its name,
169
+ * the duties by their heading, a composed block or extension by its comment line), not by its
170
+ * text: a block the file holds with other text is reported in `stale`, never added a second time.
171
+ * Pure: no I/O.
172
+ */
173
+ export declare function assembleAgent(input: AgentPromptSectionsInput, options?: AssembleAgentOptions): AssembledAgent;
174
+ /** Wording of one carrier in the docs table and the dry-run column. */
175
+ export declare const AGENT_PROMPT_CARRIER_LABELS: Record<AgentPromptCarrier, string>;
176
+ /**
177
+ * The markdown table of {@link AGENT_PROMPT_CARRIERS}: one row per section in the fixed order, one
178
+ * column per harness group. `docs/sections/bridge/harnesses.md` holds exactly this text between its
179
+ * `carriers:start` and `carriers:end` markers.
180
+ */
181
+ export declare function renderAgentPromptCarrierTable(): string;
90
182
  //# sourceMappingURL=agent-prompt-sections.d.ts.map