@skaile/workspaces 5.2.0 → 5.4.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 (274) hide show
  1. package/CHANGELOG.md +72 -0
  2. package/README.md +9 -2
  3. package/dist/{asset-feeds-WDIB3E6H.js → asset-feeds-3MVRNS5U.js} +12 -12
  4. package/dist/{asset-feeds-WDIB3E6H.js.map → asset-feeds-3MVRNS5U.js.map} +1 -1
  5. package/dist/asset-manager/catalog-deployer.js +9 -9
  6. package/dist/asset-manager/index.js +13 -13
  7. package/dist/asset-manager/installer.js +9 -9
  8. package/dist/asset-manager/src/index.d.ts +22 -3
  9. package/dist/asset-manager/src/index.d.ts.map +1 -1
  10. package/dist/asset-manager/src/installer.d.ts +9 -1
  11. package/dist/asset-manager/src/installer.d.ts.map +1 -1
  12. package/dist/bridge/drivers/claude-sdk.js +11 -11
  13. package/dist/bridge/drivers/codex.js +10 -10
  14. package/dist/bridge/drivers/continue.js +12 -12
  15. package/dist/bridge/drivers/echo.js +1 -1
  16. package/dist/bridge/drivers/gemini.js +5 -5
  17. package/dist/bridge/drivers/goose.js +12 -12
  18. package/dist/bridge/drivers/omp.js +2 -2
  19. package/dist/bridge/drivers/opencode.js +12 -12
  20. package/dist/bridge/drivers/qwen.js +5 -5
  21. package/dist/bridge/index.js +12 -12
  22. package/dist/{chunk-WMEPS6S4.js → chunk-2XXAVTTO.js} +3 -3
  23. package/dist/{chunk-WMEPS6S4.js.map → chunk-2XXAVTTO.js.map} +1 -1
  24. package/dist/{chunk-KGGT6MUM.js → chunk-37DN45RR.js} +19 -7
  25. package/dist/chunk-37DN45RR.js.map +1 -0
  26. package/dist/chunk-5NH3U6N5.js +15 -0
  27. package/dist/{chunk-BZXR6SW5.js.map → chunk-5NH3U6N5.js.map} +1 -1
  28. package/dist/{chunk-P2EM6FNQ.js → chunk-6IGFSUTE.js} +23 -36
  29. package/dist/chunk-6IGFSUTE.js.map +1 -0
  30. package/dist/{chunk-EOGNW74K.js → chunk-7KITVWXK.js} +25 -23
  31. package/dist/chunk-7KITVWXK.js.map +1 -0
  32. package/dist/{chunk-S6KNDUAU.js → chunk-A67BHJCH.js} +5 -5
  33. package/dist/{chunk-S6KNDUAU.js.map → chunk-A67BHJCH.js.map} +1 -1
  34. package/dist/{chunk-3E2TIPBZ.js → chunk-AE42DHSH.js} +2 -2
  35. package/dist/{chunk-3E2TIPBZ.js.map → chunk-AE42DHSH.js.map} +1 -1
  36. package/dist/{chunk-L257BENF.js → chunk-BATL2CWI.js} +128 -32
  37. package/dist/chunk-BATL2CWI.js.map +1 -0
  38. package/dist/{chunk-2MEMXBLC.js → chunk-BHUHGLNS.js} +5 -5
  39. package/dist/{chunk-2MEMXBLC.js.map → chunk-BHUHGLNS.js.map} +1 -1
  40. package/dist/{chunk-XIYXBHLN.js → chunk-DTV7HL5R.js} +2 -2
  41. package/dist/{chunk-XIYXBHLN.js.map → chunk-DTV7HL5R.js.map} +1 -1
  42. package/dist/{chunk-BJQUSAGB.js → chunk-GCYD4EGY.js} +4 -4
  43. package/dist/{chunk-BJQUSAGB.js.map → chunk-GCYD4EGY.js.map} +1 -1
  44. package/dist/{chunk-EB6OPURC.js → chunk-HTKZ4AOW.js} +3 -3
  45. package/dist/{chunk-EB6OPURC.js.map → chunk-HTKZ4AOW.js.map} +1 -1
  46. package/dist/{chunk-OFNXRI4L.js → chunk-IDUGP4V7.js} +3 -3
  47. package/dist/{chunk-OFNXRI4L.js.map → chunk-IDUGP4V7.js.map} +1 -1
  48. package/dist/{chunk-ANWHAGM7.js → chunk-JAJG4G5E.js} +3 -3
  49. package/dist/{chunk-ANWHAGM7.js.map → chunk-JAJG4G5E.js.map} +1 -1
  50. package/dist/{chunk-PU5VY7KF.js → chunk-JCATNLY3.js} +4 -4
  51. package/dist/{chunk-PU5VY7KF.js.map → chunk-JCATNLY3.js.map} +1 -1
  52. package/dist/{chunk-77GKEZ2R.js → chunk-JEA32KB6.js} +3 -3
  53. package/dist/{chunk-77GKEZ2R.js.map → chunk-JEA32KB6.js.map} +1 -1
  54. package/dist/{chunk-7Y43UXKA.js → chunk-JELTQ4H7.js} +3 -3
  55. package/dist/{chunk-7Y43UXKA.js.map → chunk-JELTQ4H7.js.map} +1 -1
  56. package/dist/{chunk-R3QW7CA5.js → chunk-JF26V3BC.js} +7 -7
  57. package/dist/chunk-JF26V3BC.js.map +1 -0
  58. package/dist/{chunk-XOTJVCJB.js → chunk-JKWU6ULI.js} +3 -3
  59. package/dist/{chunk-XOTJVCJB.js.map → chunk-JKWU6ULI.js.map} +1 -1
  60. package/dist/{chunk-ARUJBGAH.js → chunk-KXTO7HON.js} +3 -3
  61. package/dist/{chunk-ARUJBGAH.js.map → chunk-KXTO7HON.js.map} +1 -1
  62. package/dist/{chunk-2QZG5VJQ.js → chunk-LAI7X6I2.js} +3 -3
  63. package/dist/{chunk-2QZG5VJQ.js.map → chunk-LAI7X6I2.js.map} +1 -1
  64. package/dist/{chunk-YANDJSMN.js → chunk-LFMX2UEF.js} +3 -3
  65. package/dist/{chunk-YANDJSMN.js.map → chunk-LFMX2UEF.js.map} +1 -1
  66. package/dist/{chunk-BUNBKRJZ.js → chunk-LUBS5DXY.js} +3 -3
  67. package/dist/{chunk-BUNBKRJZ.js.map → chunk-LUBS5DXY.js.map} +1 -1
  68. package/dist/{chunk-TLKM4M47.js → chunk-MFHKHXDE.js} +6 -3
  69. package/dist/chunk-MFHKHXDE.js.map +1 -0
  70. package/dist/chunk-NESV47MF.js +20 -0
  71. package/dist/chunk-NESV47MF.js.map +1 -0
  72. package/dist/{chunk-6OWIEFZ2.js → chunk-OANSNVCP.js} +5 -5
  73. package/dist/{chunk-6OWIEFZ2.js.map → chunk-OANSNVCP.js.map} +1 -1
  74. package/dist/{chunk-MGHUSFYQ.js → chunk-ONWTPXVU.js} +8 -8
  75. package/dist/{chunk-MGHUSFYQ.js.map → chunk-ONWTPXVU.js.map} +1 -1
  76. package/dist/{chunk-DD3OZLRD.js → chunk-OXE5A6H6.js} +3 -3
  77. package/dist/{chunk-DD3OZLRD.js.map → chunk-OXE5A6H6.js.map} +1 -1
  78. package/dist/{chunk-BIMEKYOE.js → chunk-QEXEHXX5.js} +15 -18
  79. package/dist/chunk-QEXEHXX5.js.map +1 -0
  80. package/dist/{chunk-TVJBJLXR.js → chunk-QK756IRJ.js} +13 -13
  81. package/dist/{chunk-TVJBJLXR.js.map → chunk-QK756IRJ.js.map} +1 -1
  82. package/dist/{chunk-UDBN3LZU.js → chunk-RD6GE4HU.js} +4 -4
  83. package/dist/{chunk-UDBN3LZU.js.map → chunk-RD6GE4HU.js.map} +1 -1
  84. package/dist/{chunk-IOUIC2ZD.js → chunk-SQBPE66C.js} +8 -8
  85. package/dist/{chunk-IOUIC2ZD.js.map → chunk-SQBPE66C.js.map} +1 -1
  86. package/dist/{chunk-YRF5CYHR.js → chunk-SR4RFKHM.js} +36 -5
  87. package/dist/chunk-SR4RFKHM.js.map +1 -0
  88. package/dist/{chunk-BWOLP6KQ.js → chunk-U6ORGQHZ.js} +3 -3
  89. package/dist/{chunk-BWOLP6KQ.js.map → chunk-U6ORGQHZ.js.map} +1 -1
  90. package/dist/{chunk-RXPC4KBW.js → chunk-UAAAERXI.js} +3 -3
  91. package/dist/{chunk-RXPC4KBW.js.map → chunk-UAAAERXI.js.map} +1 -1
  92. package/dist/chunk-UKDFOOEG.js +22 -0
  93. package/dist/chunk-UKDFOOEG.js.map +1 -0
  94. package/dist/{chunk-6ZCVROWW.js → chunk-UNRZCQD4.js} +6 -6
  95. package/dist/{chunk-6ZCVROWW.js.map → chunk-UNRZCQD4.js.map} +1 -1
  96. package/dist/{chunk-ZSFTCMZL.js → chunk-VETH6MDG.js} +19 -19
  97. package/dist/{chunk-ZSFTCMZL.js.map → chunk-VETH6MDG.js.map} +1 -1
  98. package/dist/{chunk-4YE7OYTB.js → chunk-VKSA2CDJ.js} +5 -6
  99. package/dist/chunk-VKSA2CDJ.js.map +1 -0
  100. package/dist/{chunk-OABIGSUY.js → chunk-WX74MVNA.js} +2 -2
  101. package/dist/chunk-WX74MVNA.js.map +1 -0
  102. package/dist/{chunk-U6K3I3AX.js → chunk-XGIS325V.js} +3 -3
  103. package/dist/{chunk-U6K3I3AX.js.map → chunk-XGIS325V.js.map} +1 -1
  104. package/dist/{chunk-FJTC5YFO.js → chunk-XMQAV6T3.js} +3 -3
  105. package/dist/{chunk-FJTC5YFO.js.map → chunk-XMQAV6T3.js.map} +1 -1
  106. package/dist/{chunk-B4J4RGNY.js → chunk-Y5OCUOXF.js} +34 -19
  107. package/dist/chunk-Y5OCUOXF.js.map +1 -0
  108. package/dist/{chunk-LZ5RH6LD.js → chunk-Y7UBRRKG.js} +89 -128
  109. package/dist/chunk-Y7UBRRKG.js.map +1 -0
  110. package/dist/{chunk-PHKFFJ4I.js → chunk-ZIYYMR6Y.js} +3 -3
  111. package/dist/{chunk-PHKFFJ4I.js.map → chunk-ZIYYMR6Y.js.map} +1 -1
  112. package/dist/{chunk-JPR7EPIM.js → chunk-ZUZ5LLZ2.js} +4 -4
  113. package/dist/{chunk-JPR7EPIM.js.map → chunk-ZUZ5LLZ2.js.map} +1 -1
  114. package/dist/cli/index.js +796 -583
  115. package/dist/cli/index.js.map +1 -1
  116. package/dist/cli/src/commands/asset-cmd.d.ts.map +1 -1
  117. package/dist/cli/src/commands/catalog-cmd.d.ts.map +1 -1
  118. package/dist/cli/src/commands/catalog.d.ts +33 -3
  119. package/dist/cli/src/commands/catalog.d.ts.map +1 -1
  120. package/dist/cli/src/commands/library-cmd.d.ts.map +1 -1
  121. package/dist/cli/src/commands/library-index.d.ts +57 -1
  122. package/dist/cli/src/commands/library-index.d.ts.map +1 -1
  123. package/dist/cli/src/commands/library-publish.d.ts.map +1 -1
  124. package/dist/cli/src/commands/npx.d.ts.map +1 -1
  125. package/dist/cli/src/commands/outdated.d.ts +3 -1
  126. package/dist/cli/src/commands/outdated.d.ts.map +1 -1
  127. package/dist/cli/src/commands/project.d.ts.map +1 -1
  128. package/dist/cli/src/commands/skailify-lib.d.ts +3 -2
  129. package/dist/cli/src/commands/skailify-lib.d.ts.map +1 -1
  130. package/dist/cli/src/commands/update.d.ts.map +1 -1
  131. package/dist/cli/src/commands/validate.d.ts.map +1 -1
  132. package/dist/cli/src/setup.d.ts.map +1 -1
  133. package/dist/cli/src/skill-checks.d.ts +21 -0
  134. package/dist/cli/src/skill-checks.d.ts.map +1 -0
  135. package/dist/cli/src/spinner.d.ts +24 -0
  136. package/dist/cli/src/spinner.d.ts.map +1 -0
  137. package/dist/connectors/config.js +6 -6
  138. package/dist/connectors/index.js +15 -15
  139. package/dist/{connectors-GUN4MRWR.js → connectors-OB3OAZTK.js} +18 -18
  140. package/dist/{connectors-GUN4MRWR.js.map → connectors-OB3OAZTK.js.map} +1 -1
  141. package/dist/core/index.js +8 -8
  142. package/dist/core/manifest.js +2 -2
  143. package/dist/core/models.js +1 -1
  144. package/dist/core/publish-manifest.js +2 -2
  145. package/dist/core/ref.js +1 -1
  146. package/dist/core/runtime-assets.js +6 -6
  147. package/dist/core/src/asset-roots.d.ts +8 -0
  148. package/dist/core/src/asset-roots.d.ts.map +1 -1
  149. package/dist/core/src/cache-paths.d.ts +6 -0
  150. package/dist/core/src/cache-paths.d.ts.map +1 -1
  151. package/dist/core/src/index.d.ts +2 -2
  152. package/dist/core/src/index.d.ts.map +1 -1
  153. package/dist/core/src/lock.d.ts.map +1 -1
  154. package/dist/core/src/models.d.ts +7 -0
  155. package/dist/core/src/models.d.ts.map +1 -1
  156. package/dist/core/src/publish-manifest.d.ts +26 -2
  157. package/dist/core/src/publish-manifest.d.ts.map +1 -1
  158. package/dist/core/src/repo-manager.d.ts.map +1 -1
  159. package/dist/core/src/walker.d.ts.map +1 -1
  160. package/dist/core/store.js +2 -2
  161. package/dist/core/workspace-config.js +5 -5
  162. package/dist/deploy/index.js +8 -8
  163. package/dist/discovery/index.js +4 -4
  164. package/dist/discovery/src/discover-manifest.d.ts.map +1 -1
  165. package/dist/discovery/src/discover.d.ts.map +1 -1
  166. package/dist/discovery/src/hash.d.ts +45 -23
  167. package/dist/discovery/src/hash.d.ts.map +1 -1
  168. package/dist/discovery/src/index.d.ts +2 -0
  169. package/dist/discovery/src/index.d.ts.map +1 -1
  170. package/dist/discovery/src/parse-manifest.d.ts +27 -0
  171. package/dist/discovery/src/parse-manifest.d.ts.map +1 -0
  172. package/dist/discovery/src/tree-entries.d.ts.map +1 -1
  173. package/dist/{ensure-sources-VCPA762L.js → ensure-sources-Z3KKLEM6.js} +16 -16
  174. package/dist/{ensure-sources-VCPA762L.js.map → ensure-sources-Z3KKLEM6.js.map} +1 -1
  175. package/dist/factory-assets/README.md +2 -2
  176. package/dist/factory-assets/connectors/box.js +15 -15
  177. package/dist/factory-assets/connectors/deploy.js +15 -15
  178. package/dist/factory-assets/connectors/devserver.js +15 -15
  179. package/dist/factory-assets/connectors/flow/adapter.js +15 -15
  180. package/dist/factory-assets/connectors/flow/engine.js +9 -9
  181. package/dist/factory-assets/connectors/flow/run-flow.js +17 -17
  182. package/dist/factory-assets/connectors/flow.js +15 -15
  183. package/dist/factory-assets/connectors/git.js +15 -15
  184. package/dist/factory-assets/connectors/gmail.js +15 -15
  185. package/dist/factory-assets/connectors/googledrive.js +15 -15
  186. package/dist/factory-assets/connectors/local.js +15 -15
  187. package/dist/factory-assets/connectors/mattermost.js +15 -15
  188. package/dist/factory-assets/connectors/memory.js +15 -15
  189. package/dist/factory-assets/connectors/minio.js +15 -15
  190. package/dist/factory-assets/connectors/postgres.js +15 -15
  191. package/dist/factory-assets/connectors/s3.js +15 -15
  192. package/dist/factory-assets/connectors/sharepoint.js +15 -15
  193. package/dist/factory-assets/connectors/sqlite.js +15 -15
  194. package/dist/factory-assets/connectors/static-server.js +15 -15
  195. package/dist/factory-assets/connectors/tunnel.js +15 -15
  196. package/dist/factory-assets/connectors/webdav.js +15 -15
  197. package/dist/factory-assets/connectors/xstate-store.js +15 -15
  198. package/dist/factory-assets/connectors/xstate.js +15 -15
  199. package/dist/factory-assets/skills/authoring-skaile-assets/SKILL.md +17 -15
  200. package/dist/factory-assets/skills/authoring-skaile-manifests/SKILL.md +20 -17
  201. package/dist/factory-assets/skills/skaile-author-asset/SKILL.md +82 -71
  202. package/dist/factory-assets/skills/skaile-manage-workspace/SKILL.md +17 -11
  203. package/dist/factory-assets/skills/skailify/SKILL.md +8 -4
  204. package/dist/{flows-BOB5YA5R.js → flows-DTADYIXH.js} +13 -13
  205. package/dist/{flows-BOB5YA5R.js.map → flows-DTADYIXH.js.map} +1 -1
  206. package/dist/{helpers-ZGK4R5MZ.js → helpers-F2RFRT5D.js} +16 -16
  207. package/dist/{helpers-ZGK4R5MZ.js.map → helpers-F2RFRT5D.js.map} +1 -1
  208. package/dist/library/index.js +11 -11
  209. package/dist/library/install.js +3 -2
  210. package/dist/library/src/config.d.ts +5 -4
  211. package/dist/library/src/config.d.ts.map +1 -1
  212. package/dist/library/src/index.d.ts +1 -1
  213. package/dist/library/src/index.d.ts.map +1 -1
  214. package/dist/library/src/install/install-from-manifest.d.ts.map +1 -1
  215. package/dist/library/src/local/install-library-asset.d.ts +3 -2
  216. package/dist/library/src/local/install-library-asset.d.ts.map +1 -1
  217. package/dist/library/src/local/library.d.ts.map +1 -1
  218. package/dist/library/src/manifest-writer.d.ts +6 -0
  219. package/dist/library/src/manifest-writer.d.ts.map +1 -1
  220. package/dist/library/src/sync/git-driver.d.ts +8 -0
  221. package/dist/library/src/sync/git-driver.d.ts.map +1 -1
  222. package/dist/{library-publish-RIP6NBYA.js → library-publish-62RFU74A.js} +47 -26
  223. package/dist/library-publish-62RFU74A.js.map +1 -0
  224. package/dist/{open-library-4IJTBVTR.js → open-library-NVG3CZUO.js} +19 -19
  225. package/dist/{open-library-4IJTBVTR.js.map → open-library-NVG3CZUO.js.map} +1 -1
  226. package/dist/open-registry-IYH6W6CN.js +32 -0
  227. package/dist/{open-registry-G5DI4RPU.js.map → open-registry-IYH6W6CN.js.map} +1 -1
  228. package/dist/paths-STQO4FYF.js +22 -0
  229. package/dist/{paths-L5XLUC3D.js.map → paths-STQO4FYF.js.map} +1 -1
  230. package/dist/{plugin-store-QENDYZ63.js → plugin-store-2DTEIJTG.js} +10 -10
  231. package/dist/{plugin-store-QENDYZ63.js.map → plugin-store-2DTEIJTG.js.map} +1 -1
  232. package/dist/{project-4INCIIZI.js → project-44LM6SRV.js} +18 -17
  233. package/dist/{project-4INCIIZI.js.map → project-44LM6SRV.js.map} +1 -1
  234. package/dist/resolver/index.js +9 -9
  235. package/dist/runner/index.js +25 -25
  236. package/dist/sdk/asset-manager.js +13 -13
  237. package/dist/sdk/bridge.js +12 -12
  238. package/dist/sdk/core.js +8 -8
  239. package/dist/sdk/flow.js +9 -9
  240. package/dist/sdk/index.js +25 -25
  241. package/dist/sdk/resolver.js +9 -9
  242. package/dist/sdk/runner.js +25 -25
  243. package/dist/secrets/index.js +2 -2
  244. package/dist/{setup-RG4PJJUW.js → setup-4BV5ZWOZ.js} +24 -23
  245. package/dist/setup-4BV5ZWOZ.js.map +1 -0
  246. package/dist/skills-M7OU3WMP.js +26 -0
  247. package/dist/{skills-CL45F7AG.js.map → skills-M7OU3WMP.js.map} +1 -1
  248. package/dist/{source-LJOI5AXU.js → source-HTT6CXUP.js} +20 -20
  249. package/dist/{source-LJOI5AXU.js.map → source-HTT6CXUP.js.map} +1 -1
  250. package/dist/{source-manifest-publish-QEJML4VS.js → source-manifest-publish-CPXUX3CL.js} +22 -22
  251. package/dist/{source-manifest-publish-QEJML4VS.js.map → source-manifest-publish-CPXUX3CL.js.map} +1 -1
  252. package/dist/tui/index.js +25 -25
  253. package/dist/workspace-plugin/adapters/mcp.js +22 -22
  254. package/dist/workspace-plugin/adapters/omp.js +14 -14
  255. package/dist/workspace-plugin/index.js +1 -1
  256. package/package.json +1 -1
  257. package/dist/chunk-4YE7OYTB.js.map +0 -1
  258. package/dist/chunk-B4J4RGNY.js.map +0 -1
  259. package/dist/chunk-BIMEKYOE.js.map +0 -1
  260. package/dist/chunk-BZXR6SW5.js +0 -15
  261. package/dist/chunk-EOGNW74K.js.map +0 -1
  262. package/dist/chunk-KGGT6MUM.js.map +0 -1
  263. package/dist/chunk-L257BENF.js.map +0 -1
  264. package/dist/chunk-LZ5RH6LD.js.map +0 -1
  265. package/dist/chunk-OABIGSUY.js.map +0 -1
  266. package/dist/chunk-P2EM6FNQ.js.map +0 -1
  267. package/dist/chunk-R3QW7CA5.js.map +0 -1
  268. package/dist/chunk-TLKM4M47.js.map +0 -1
  269. package/dist/chunk-YRF5CYHR.js.map +0 -1
  270. package/dist/library-publish-RIP6NBYA.js.map +0 -1
  271. package/dist/open-registry-G5DI4RPU.js +0 -32
  272. package/dist/paths-L5XLUC3D.js +0 -22
  273. package/dist/setup-RG4PJJUW.js.map +0 -1
  274. package/dist/skills-CL45F7AG.js +0 -26
package/CHANGELOG.md CHANGED
@@ -1,5 +1,77 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1018](https://github.com/skaile-ai/workspaces/pull/1018) [`7a44505`](https://github.com/skaile-ai/workspaces/commit/7a445051d6f10410641becd9b2cac50739c63efe) Thanks [@mortegro](https://github.com/mortegro)! - `skaile asset import` and `asset migrate` now take `--library <name>`, matching `library create`; `--to` keeps working as a hidden alias (conflicting values are refused). `skaile asset show <ref>` also accepts `--json` (same JSON output as before).
8
+
9
+ - [#1018](https://github.com/skaile-ai/workspaces/pull/1018) [`7a44505`](https://github.com/skaile-ai/workspaces/commit/7a445051d6f10410641becd9b2cac50739c63efe) Thanks [@mortegro](https://github.com/mortegro)! - `skaile library index` and `skaile validate` now warn once when `DOMAIN.md` files remain (domains were removed in 5.0; delete them and group assets with `.claude-plugin/marketplace.json`), and `skaile library domain …` prints that migration pointer and exits 1 instead of "unknown command".
10
+
11
+ - [#1018](https://github.com/skaile-ai/workspaces/pull/1018) [`7a44505`](https://github.com/skaile-ai/workspaces/commit/7a445051d6f10410641becd9b2cac50739c63efe) Thanks [@mortegro](https://github.com/mortegro)! - `skaile library init <name>` on an existing git clone with an `origin` remote now registers it as a git library tracking that origin. Whenever `init` registers a directory that already holds content (an adopted folder, an existing clone or a non-empty `--git` remote) it indexes the assets right away, so `skaile search --local` finds them without a separate `library index`, and it warns about leftover `DOMAIN.md` files.
12
+
13
+ - [#1018](https://github.com/skaile-ai/workspaces/pull/1018) [`7a44505`](https://github.com/skaile-ai/workspaces/commit/7a445051d6f10410641becd9b2cac50739c63efe) Thanks [@mortegro](https://github.com/mortegro)! - `skaile add kind:@publisher/name#<version>` now finds the version in any registered library, not only the library holding the highest one, and locks the library it came from. When several libraries hold the same ref, an unversioned `add` takes the highest version (equal versions: default library, then name) and prints one warning naming the libraries and the chosen one. The `add` success line names the library, e.g. `✓ skill:@acme/a#0.1.0 (library acme-copy)`; `AssetManager.add` gains an `onLibraryOrigin` option.
14
+
15
+ - [#1018](https://github.com/skaile-ai/workspaces/pull/1018) [`7a44505`](https://github.com/skaile-ai/workspaces/commit/7a445051d6f10410641becd9b2cac50739c63efe) Thanks [@mortegro](https://github.com/mortegro)! - `skaile library publish` / `register` (and `--dry-run`) now print the same per-skill warnings as `skaile validate` — such as a `SKILL.md` that still has the scaffold body "Skill prompt goes here." — one line per affected asset in the publish plan. The exit code is unchanged.
16
+
17
+ ### Patch Changes
18
+
19
+ - [#1015](https://github.com/skaile-ai/workspaces/pull/1015) [`2ec9c40`](https://github.com/skaile-ai/workspaces/commit/2ec9c40dd12ff69a1c223e01a20b293e8b37b734) Thanks [@mortegro](https://github.com/mortegro)! - `skaile asset install` no longer installs an asset whose index row has no hash: it fails with `<ref> has no indexed hash in library "<name>"` and the command that re-indexes it, instead of copying the library's current bytes unverified. Every index a current version writes stores a hash, so only a stale index is affected. A `hash mismatch` for a source library now suggests `skaile source sync`, as the not-found error already did, instead of `skaile library index`. `MIGRATION.md` now lists the exports the architecture deepening removed and their replacements.
20
+
21
+ - [#1018](https://github.com/skaile-ai/workspaces/pull/1018) [`7a44505`](https://github.com/skaile-ai/workspaces/commit/7a445051d6f10410641becd9b2cac50739c63efe) Thanks [@mortegro](https://github.com/mortegro)! - The bundled authoring skills (`skaile-author-asset`, `skaile-manage-workspace`, `skailify`, `authoring-skaile-assets`, `authoring-skaile-manifests`) now teach only commands the CLI accepts: `library publish <library>` takes a library name (not an asset ref), refs use `kind:@<publisher>/<name>#<version>`, the curator flow is `skaile source manifest init|rebuild|verify|publish` (not the non-existent `source build-manifest` / `verify-manifest`), and the library manifest is `skaile.manifest.yaml`. A new test checks every `skaile …` command in the factory skills against the real CLI.
22
+
23
+ - [#1018](https://github.com/skaile-ai/workspaces/pull/1018) [`7a44505`](https://github.com/skaile-ai/workspaces/commit/7a445051d6f10410641becd9b2cac50739c63efe) Thanks [@mortegro](https://github.com/mortegro)! - `skaile add skill:@installed/<name>` no longer resolves an asset that `skaile install <ref>` placed under `~/.skaile/libraries/installed`. That reserved folder is not a library, so it is skipped when `add` and `install` look up local libraries; global installs stay reachable by their real ref (`skill:@<publisher>/<name>#<version>`).
24
+
25
+ - [#1018](https://github.com/skaile-ai/workspaces/pull/1018) [`7a44505`](https://github.com/skaile-ai/workspaces/commit/7a445051d6f10410641becd9b2cac50739c63efe) Thanks [@mortegro](https://github.com/mortegro)! - `skaile library push`, `pull` and `sync` on a non-git library now exit 1 with "only applies to git-backed libraries", like `library commit`, instead of printing `Pushed (0)` and exiting 0.
26
+
27
+ - [#1018](https://github.com/skaile-ai/workspaces/pull/1018) [`7a44505`](https://github.com/skaile-ai/workspaces/commit/7a445051d6f10410641becd9b2cac50739c63efe) Thanks [@mortegro](https://github.com/mortegro)! - Commands that name a missing library (`skaile library show nope`, `skaile asset import <path> --to nope`) now print one `✗ Library not found: nope` line and exit 1 instead of a raw stack trace; the CLI entry reports any uncaught library sync error this way.
28
+
29
+ - [#1016](https://github.com/skaile-ai/workspaces/pull/1016) [`96833fe`](https://github.com/skaile-ai/workspaces/commit/96833fe5ae46a4403f40e571e9467437706a47f5) Thanks [@mortegro](https://github.com/mortegro)! - `skaile outdated` now reports git sources that have new commits, and `skaile show` shows them as `[remote] N behind`. `AssetManager` declares every `sources:` entry as a `path:` into the clone cache, and `checkRepoStatus` treated every `path:` as a local checkout: no fetch, always up to date. A `path:` into the clone cache that has a `url:` is now fetched like a `url:` source. A user-owned `path:` and the bundled factory source stay local. An asset that is both behind and missing its deployed copy is listed once.
30
+
31
+ - [#1018](https://github.com/skaile-ai/workspaces/pull/1018) [`7a44505`](https://github.com/skaile-ai/workspaces/commit/7a445051d6f10410641becd9b2cac50739c63efe) Thanks [@mortegro](https://github.com/mortegro)! - `skaile add`, `install`, `update`, `npx` and the setup wizard no longer write every spinner animation frame into piped or CI output. When stdout is not a TTY, each step now prints a single plain line (e.g. `Done`) instead of `◒ Adding …◐ Adding …`.
32
+
33
+ - [#1018](https://github.com/skaile-ai/workspaces/pull/1018) [`7a44505`](https://github.com/skaile-ai/workspaces/commit/7a445051d6f10410641becd9b2cac50739c63efe) Thanks [@mortegro](https://github.com/mortegro)! - `skaile search` local tables now fit the terminal width even with long refs: the description shrinks first (and is dropped below 10 columns), the header rule never exceeds the width, and a ref wider than the terminal is printed on its own line with the description and version indented below it.
34
+
35
+ - [#1018](https://github.com/skaile-ai/workspaces/pull/1018) [`7a44505`](https://github.com/skaile-ai/workspaces/commit/7a445051d6f10410641becd9b2cac50739c63efe) Thanks [@mortegro](https://github.com/mortegro)! - `skaile search <word>` (e.g. `skaile search --local myskill`) now treats a single argument that is not an asset kind as the query across all kinds, instead of reading it as a kind. `search <kind>` and `search <kind> <query>` are unchanged.
36
+
37
+ - [#1018](https://github.com/skaile-ai/workspaces/pull/1018) [`7a44505`](https://github.com/skaile-ai/workspaces/commit/7a445051d6f10410641becd9b2cac50739c63efe) Thanks [@mortegro](https://github.com/mortegro)! - `skaile-cli` now pins `@skaile/workspaces` to the exact same version instead of a caret range, so `npm i -D skaile-cli@X` always installs CLI X (previously a newer `@skaile/workspaces` could be resolved and `skaile --version` reported a different version).
38
+
39
+ ## 5.3.0
40
+
41
+ ### Minor Changes
42
+
43
+ - [#1013](https://github.com/skaile-ai/workspaces/pull/1013) [`e758b50`](https://github.com/skaile-ai/workspaces/commit/e758b50113b5aee0b70b9aba770723b4d3a52a45) Thanks [@mortegro](https://github.com/mortegro)! - `skaile library create` and `asset import` print one warning when the publisher is the library-name fallback (no `--publisher`, no manifest publisher, no store login), naming `--publisher`, `skaile store login` and `skaile library set <lib> publisher=<slug>`. New `library set <lib> publisher=<slug>` field rewrites the manifest's top-level `publisher` and re-indexes, so you no longer edit `skaile.manifest.yaml` by hand.
44
+
45
+ - [#1013](https://github.com/skaile-ai/workspaces/pull/1013) [`e758b50`](https://github.com/skaile-ai/workspaces/commit/e758b50113b5aee0b70b9aba770723b4d3a52a45) Thanks [@mortegro](https://github.com/mortegro)! - `skaile library init installed`, `library init <name> --path <libraries dir>/installed`, `library rename <lib> installed` and `library set <lib> path=<that folder>` are refused with a one-line error. That folder (`~/.skaile/libraries/installed`, now named once as `GLOBAL_INSTALL_DIR_NAME` / `globalInstallDir()` in `@skaile/workspaces/core`) holds the assets `skaile install <ref>` stores globally; adopting it as an owner library let a store asset be re-indexed and republished under a new publisher, and `library remove --purge` would have deleted every global install.
46
+
47
+ - [#1013](https://github.com/skaile-ai/workspaces/pull/1013) [`e758b50`](https://github.com/skaile-ai/workspaces/commit/e758b50113b5aee0b70b9aba770723b4d3a52a45) Thanks [@mortegro](https://github.com/mortegro)! - One asset now has one content hash, whichever origin the lock records. Adding a library skill on one machine and the same skill from a git clone of that library on another used to write two different `sha256` values for identical `SKILL.md` bytes, because the library index hashed `<path>\0<bytes>\0` with paths relative to the skill folder while git sources hashed `<path>:<file sha256>` rows with paths relative to the repo root. Discovery, the library lock, the provenance walker and the store install manifest now all use the second form, so `skaile asset show` and a `library:` lock entry carry the same digest as the `source:` entry for the same bytes. Re-run `skaile library index <name>` and `skaile install` once to refresh old `library:` lock entries (`install --locked` tells you to); git-source locks are unchanged.
48
+
49
+ - [#1013](https://github.com/skaile-ai/workspaces/pull/1013) [`e758b50`](https://github.com/skaile-ai/workspaces/commit/e758b50113b5aee0b70b9aba770723b4d3a52a45) Thanks [@mortegro](https://github.com/mortegro)! - Success lines of `skaile add`, `install`, `update` and `asset import` print the canonical `kind:@publisher/name#version` ref instead of `kind:name`; `deployAll` and `InstallResult.deployed` now return canonical refs (new optional `CatalogEntry.canonicalRef` carries the real ref for clone-sourced entries). The npm README install example uses a valid ref. `asset show`'s `id` stays the index's storage key (documented as such), `ref` is the one to copy.
50
+
51
+ - [#1013](https://github.com/skaile-ai/workspaces/pull/1013) [`e758b50`](https://github.com/skaile-ai/workspaces/commit/e758b50113b5aee0b70b9aba770723b4d3a52a45) Thanks [@mortegro](https://github.com/mortegro)! - `skaile path` now prints the resolved skaile home, `config.yaml`, `index.db`, `libraries/`, `store/` and cache dir (honouring `SKAILE_HOME`, `SKAILE_INDEX_PATH`, `SKAILE_LIBRARIES_DIR` and `SKAILE_CACHE_DIR`) next to `ai-assets` and `patches-dir`. Error and hint messages that tell you to edit the user config (catalog refresh, `catalog test`, `store`, `info`, REST-framed `install`) name the file that is actually read, `$SKAILE_HOME/config.yaml`, instead of a hard-coded `~/.skaile/config.yaml`.
52
+
53
+ - [#1013](https://github.com/skaile-ai/workspaces/pull/1013) [`e758b50`](https://github.com/skaile-ai/workspaces/commit/e758b50113b5aee0b70b9aba770723b4d3a52a45) Thanks [@mortegro](https://github.com/mortegro)! - `skaile validate` and `skaile library index` now agree on what a manifest is. Validate used to skip a markdown manifest it could not read as frontmatter (an empty `SKILL.md`) and print `All manifests valid`, while the indexer rejected the same file with `ManifestSchemaError` and skipped the asset. Both now parse manifests through one shared `parseManifestFile` (exported from `@skaile/workspaces/discovery`; the three discovery copies are gone), so an unparsable manifest is a `validate` error naming the file. `library index` still indexes the remaining assets but now prints each unparsable asset as an error and exits 1 instead of 0 (the walk and remote-tree discovery paths report the same `ManifestSchemaError` text), so a broken asset no longer slips through `library commit` and `push`.
54
+
55
+ ### Patch Changes
56
+
57
+ - [#1013](https://github.com/skaile-ai/workspaces/pull/1013) [`e758b50`](https://github.com/skaile-ai/workspaces/commit/e758b50113b5aee0b70b9aba770723b4d3a52a45) Thanks [@mortegro](https://github.com/mortegro)! - `skaile asset import` now produces what `skaile library create` produces: it stamps the resolved publisher (new `--publisher`, else the manifest's, the store login, the library name), writes the same manifest entry shape (no `description:` on the entry), indexes the skill so `skaile search skill <name> --local` and `skaile add` find it at once, and prints the full `skill:@publisher/name#version` ref. A skill without `keywords` no longer gets an empty `metadata.tags: []` (and the "metadata.tags is an array, not a string" warning that came with it).
58
+
59
+ - [#1013](https://github.com/skaile-ai/workspaces/pull/1013) [`e758b50`](https://github.com/skaile-ai/workspaces/commit/e758b50113b5aee0b70b9aba770723b4d3a52a45) Thanks [@mortegro](https://github.com/mortegro)! - `skaile diff <ref>` now diffs from the deployed copy to the source (`---` deployed, `+++` source), so a line the library or repository added upstream shows as `+` — what `skaile update` would add — instead of as a removal. A `-` line is in the deployed copy only, such as a local edit `update` would overwrite.
60
+
61
+ - [#1012](https://github.com/skaile-ai/workspaces/pull/1012) [`58f543d`](https://github.com/skaile-ai/workspaces/commit/58f543d0fbb7c5c1a8262429ee1d6e8104ca3710) Thanks [@mortegro](https://github.com/mortegro)! - fix(asset-manager): `skaile doctor` no longer reports installed dependencies as `not found`. Canonical `requires` refs keep their publisher scope (`contract:@skaile-ai/shared-contracts`), and `doctor()` joined that scoped name into the deploy path (`.claude/contracts/@skaile-ai/shared-contracts`), so every installed dep read as missing on every harness. It now strips the scope before the on-disk check and the source lookup, so a dep that is in a source but not installed shows as `fixable` again.
62
+
63
+ - [#1013](https://github.com/skaile-ai/workspaces/pull/1013) [`e758b50`](https://github.com/skaile-ai/workspaces/commit/e758b50113b5aee0b70b9aba770723b4d3a52a45) Thanks [@mortegro](https://github.com/mortegro)! - `library create --description` help and docs no longer claim the description lands in the manifest. It is written into the asset's own frontmatter (e.g. `SKILL.md`), not the `skaile.manifest.yaml` inventory entry.
64
+
65
+ - [#1013](https://github.com/skaile-ai/workspaces/pull/1013) [`e758b50`](https://github.com/skaile-ai/workspaces/commit/e758b50113b5aee0b70b9aba770723b4d3a52a45) Thanks [@mortegro](https://github.com/mortegro)! - `skaile library publish <lib> --dry-run` while not signed in printed a full plan and exited 0 without saying the namespace check was skipped. The plan now includes `! namespace check skipped: not signed in (run `skaile store login`)`; when signed in the per-namespace availability lines print as before.
66
+
67
+ - [#1013](https://github.com/skaile-ai/workspaces/pull/1013) [`e758b50`](https://github.com/skaile-ai/workspaces/commit/e758b50113b5aee0b70b9aba770723b4d3a52a45) Thanks [@mortegro](https://github.com/mortegro)! - `skaile library publish` / `register` on a library whose remote is not a GitHub url no longer tells you to run `skaile library link <lib> https://github.com/...` (which refuses a git-backed library). The error now says to repoint it with `skaile library set <lib> backendConfig.url=https://github.com/<owner>/<repo>`.
68
+
69
+ - [#1013](https://github.com/skaile-ai/workspaces/pull/1013) [`e758b50`](https://github.com/skaile-ai/workspaces/commit/e758b50113b5aee0b70b9aba770723b4d3a52a45) Thanks [@mortegro](https://github.com/mortegro)! - `skaile library push` printed `Pushed (0).` after `library set <lib> backendConfig.url=<new empty repo>` while sending every commit: it counted against the remote-tracking ref of the old remote. Pointing `origin` at a different url now deletes `refs/remotes/origin/*` (offline; the next pull or push recreates them), so the count is taken against the new remote. Setting the same url keeps the refs.
70
+
71
+ - [#1013](https://github.com/skaile-ai/workspaces/pull/1013) [`e758b50`](https://github.com/skaile-ai/workspaces/commit/e758b50113b5aee0b70b9aba770723b4d3a52a45) Thanks [@mortegro](https://github.com/mortegro)! - After `skaile library rename`, a lock entry still points at the old library name. `skaile install --locked` no longer prints `Nothing to install (already up to date).` next to a `Missing:` line (the message is now printed only when nothing was missing, for the project and `--global` install), and the `Missing:` line now says the library is not registered (renamed or removed?) and to re-lock with `skaile install`. The lock keeps resolving a library by its name rather than by its index id: the id is minted per machine, so it would not match on CI or a teammate's checkout, and the lock format stays at `schema_version` 3/4. `skaile outdated` no longer answers `All assets are up to date` for such an asset: it lists a locked asset whose library is not registered, or whose deployed copy is gone, with the problem and a `skaile install` hint. `OutdatedEntry` gains an optional `problem` string for these rows.
72
+
73
+ - [#1013](https://github.com/skaile-ai/workspaces/pull/1013) [`e758b50`](https://github.com/skaile-ai/workspaces/commit/e758b50113b5aee0b70b9aba770723b4d3a52a45) Thanks [@mortegro](https://github.com/mortegro)! - The package README's quick start lists skills with `skaile search skill` instead of the removed `skill list` command.
74
+
3
75
  ## 5.2.0
4
76
 
5
77
  ### Minor Changes
package/README.md CHANGED
@@ -77,10 +77,17 @@ cli (top-level CLI — orchestrates everything below)
77
77
  ## Quick Start
78
78
 
79
79
  ```bash
80
- # From the repo root; the CLI imports the built dist/, so build first
80
+ # Installed from npm (npm i -D skaile-cli)
81
+ npx skaile --help # run the skaile CLI
82
+ npx skaile search skill # list available skills
83
+ npx skaile run mvp # run a flow
84
+ ```
85
+
86
+ ```bash
87
+ # From a checkout of the monorepo root; the CLI imports the built dist/, so build first
81
88
  bun run build
82
89
  bun packages/workspaces/cli/src/index.ts --help # run the skaile CLI
83
- bun packages/workspaces/cli/src/index.ts skill list # list available skills
90
+ bun packages/workspaces/cli/src/index.ts search skill # list available skills
84
91
  bun packages/workspaces/cli/src/index.ts run mvp # run a flow
85
92
  ```
86
93
 
@@ -1,16 +1,16 @@
1
- import './chunk-BIMEKYOE.js';
1
+ import './chunk-QEXEHXX5.js';
2
2
  import './chunk-4GY63JU6.js';
3
- import { factoryAssetRoots } from './chunk-PU5VY7KF.js';
4
- import './chunk-U6K3I3AX.js';
3
+ import { factoryAssetRoots } from './chunk-JCATNLY3.js';
4
+ import './chunk-XGIS325V.js';
5
5
  import './chunk-5BEFNLOR.js';
6
6
  import './chunk-A2ULN3KX.js';
7
- import { scanRepo } from './chunk-P2EM6FNQ.js';
8
- import './chunk-TLKM4M47.js';
7
+ import { scanRepo } from './chunk-6IGFSUTE.js';
8
+ import './chunk-MFHKHXDE.js';
9
9
  import './chunk-TOSHZX4C.js';
10
- import './chunk-YRF5CYHR.js';
10
+ import './chunk-SR4RFKHM.js';
11
11
  import './chunk-RVRB27AN.js';
12
- import './chunk-YANDJSMN.js';
13
- import './chunk-OABIGSUY.js';
12
+ import './chunk-LFMX2UEF.js';
13
+ import './chunk-WX74MVNA.js';
14
14
  import './chunk-ICSCSM5D.js';
15
15
  import './chunk-JMKB7IB4.js';
16
16
  import './chunk-MJHSLODD.js';
@@ -23,7 +23,7 @@ import * as path from 'path';
23
23
  async function libraryAssets() {
24
24
  const notes = [];
25
25
  try {
26
- const { openLibraryManager, authoringLibraries } = await import('./open-library-4IJTBVTR.js');
26
+ const { openLibraryManager, authoringLibraries } = await import('./open-library-NVG3CZUO.js');
27
27
  const { manager, close } = await openLibraryManager();
28
28
  try {
29
29
  const libs = authoringLibraries(await manager.listLibraries());
@@ -48,7 +48,7 @@ async function libraryAssets() {
48
48
  async function storeAssets(projectDir) {
49
49
  const notes = [];
50
50
  try {
51
- const { resolveCatalogSource } = await import('./open-library-4IJTBVTR.js');
51
+ const { resolveCatalogSource } = await import('./open-library-NVG3CZUO.js');
52
52
  const { source, close } = await resolveCatalogSource({ projectDir });
53
53
  try {
54
54
  const assets = await source.listAssets();
@@ -127,5 +127,5 @@ async function gatherAssetFeeds(am, projectDir) {
127
127
  }
128
128
 
129
129
  export { gatherAssetFeeds };
130
- //# sourceMappingURL=asset-feeds-WDIB3E6H.js.map
131
- //# sourceMappingURL=asset-feeds-WDIB3E6H.js.map
130
+ //# sourceMappingURL=asset-feeds-3MVRNS5U.js.map
131
+ //# sourceMappingURL=asset-feeds-3MVRNS5U.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../cli/src/asset-feeds.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAkEA,eAAe,aAAA,GAGZ;AACD,EAAA,MAAM,QAAoB,EAAC;AAC3B,EAAA,IAAI;AACF,IAAA,MAAM,EAAE,kBAAA,EAAoB,kBAAA,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,CAAM,KAAA,EAAO,GAAG,OAAA,CAAQ,KAAK;AAAA,GACzD;AACF","file":"asset-feeds-WDIB3E6H.js","sourcesContent":["/**\n * asset-feeds.ts — gather installable assets from every feed the manage TUI\n * surfaces.\n *\n * Four feeds, normalized into `CatalogEntry`:\n * - **Project sources** — `skaile.yaml` `sources:` entries (scanned via\n * `AssetManager.search()`; the new `sources:` field is merged into the\n * legacy repositories map in `AssetManager.loadConfig`).\n * - **Local libraries** — user authoring places from `LocalIndex` (filesystem\n * scan of each library's `path`).\n * - **Factory assets** — the bundled first-party `factory-assets` tree\n * (`factoryAssetRoots()`), scanned from disk. Always present; no network.\n * - **Remote store** — the configured catalog source when `catalog.url` is\n * not `local`. Failures are non-fatal — they surface as notes.\n */\n\nimport { existsSync } from \"node:fs\";\nimport * as path from \"node:path\";\nimport {\n type AssetKind,\n type CatalogEntry,\n factoryAssetRoots,\n scanRepo,\n} from \"@skaile/workspaces/core\";\n\n/** One non-fatal note returned to the caller for surfacing in the UI. */\nexport interface FeedNote {\n feed: \"sources\" | \"libraries\" | \"store\" | \"factory\";\n message: string;\n}\n\n/**\n * Which feed an asset came from. This is the top-level grouping axis in the\n * manage TUI (\"where is this skill coming from?\") and is intentionally distinct\n * from `publisher` (asset-intrinsic identity): the same publisher can legitimately\n * appear under more than one origin (e.g. a github repo you added as a `source`\n * that is also listed in the remote `store`).\n */\nexport type AssetOrigin = \"source\" | \"library\" | \"factory\" | \"store\";\n\n/** A catalog entry tagged with the feed it was gathered from. */\nexport interface OriginEntry {\n origin: AssetOrigin;\n entry: CatalogEntry;\n /**\n * Second-level grouping label for the manage tree. Defaults (when unset) to the\n * entry's `publisher`; the source feed sets it to the source's short repo name\n * so the Sources band groups by source — \"which repo did this come from\" — not\n * by the asset-intrinsic publisher.\n */\n group?: string;\n}\n\nexport interface AssetFeedResult {\n entries: OriginEntry[];\n notes: FeedNote[];\n}\n\n/**\n * Pull assets from local libraries (the authoring places under\n * `~/.skaile/libraries/<name>/`, not the `~/.skaile/cache/sources/` cache). Each\n * library's `path` is scanned with `scanRepo` and grouped under the bare library\n * name (`group: <name>`) so the manage TUI shows a clean `<name>` band — no\n * `library:` prefix (mirrors the source feed). Plugin grouping (`entry.plugin`)\n * is stamped by `scanRepo`.\n */\nasync function libraryAssets(): Promise<{\n entries: OriginEntry[];\n notes: FeedNote[];\n}> {\n const notes: FeedNote[] = [];\n try {\n const { openLibraryManager, authoringLibraries } = await import(\"./open-library.ts\");\n const { manager, close } = await openLibraryManager();\n try {\n // Authoring libraries are the rows that are NOT source clones.\n const libs = authoringLibraries(await manager.listLibraries());\n const entries: OriginEntry[] = [];\n for (const lib of libs) {\n if (!existsSync(lib.path)) continue;\n const libEntries = [...(await scanRepo(lib.path, lib.name))];\n for (const entry of libEntries) entries.push({ origin: \"library\", entry, group: lib.name });\n }\n return { entries, notes };\n } finally {\n close();\n }\n } catch (err) {\n notes.push({\n feed: \"libraries\",\n message: err instanceof Error ? err.message : String(err),\n });\n return { entries: [], notes };\n }\n}\n\n/**\n * Pull a (best-effort) snapshot of the connected remote store catalog.\n *\n * - Returns no entries when the resolved catalog is local-only or the host\n * is unreachable (the failure becomes a note, not an exception).\n * - Maps `CatalogAsset` → `CatalogEntry`, carrying `publisher`, `repo`, and\n * `category` straight through and using `source = \"store://<id>\"`; per-file\n * `source` paths are not available for remote assets so the canonical ref is\n * a stable placeholder.\n */\nasync function storeAssets(projectDir: string): Promise<{\n entries: CatalogEntry[];\n notes: FeedNote[];\n}> {\n const notes: FeedNote[] = [];\n try {\n const { resolveCatalogSource } = await import(\"./open-library.ts\");\n const { source, close } = await resolveCatalogSource({ projectDir });\n try {\n const assets = await source.listAssets();\n const entries: CatalogEntry[] = assets.map((a) => ({\n name: a.name,\n kind: (a.kind as AssetKind) ?? \"skill\",\n description: a.description ?? \"\",\n source: `store://${a.id}`,\n publisher: a.publisher,\n repo: a.repo,\n plugin: a.plugin,\n category: a.category,\n version: a.version,\n requires: [],\n dependencies: [],\n }));\n return { entries, notes };\n } finally {\n close();\n }\n } catch (err) {\n const msg = err instanceof Error ? err.message : String(err);\n // Local-only catalog throws a recognizable message — silence it; absence\n // is the user's choice, not an error.\n if (!/local/i.test(msg)) {\n notes.push({ feed: \"store\", message: msg });\n }\n return { entries: [], notes };\n }\n}\n\n/** The slice of `AssetManager` the source feed needs (kept narrow for tests). */\ninterface AssetManagerLike {\n search: () => Promise<CatalogEntry[]>;\n searchRepoRoots: () => { repoName: string; root: string }[];\n}\n\n/**\n * Project-source feed: leans on `AssetManager.search()`, which merges\n * `skaile.yaml`'s `sources:` field into the repositories map. Plugin grouping\n * (`entry.plugin`) is stamped by the scanner, so entries pass through as-is.\n */\nasync function sourceAssets(am: AssetManagerLike): Promise<OriginEntry[]> {\n // The bundled factory tree is injected into the repositories map as an implicit\n // source, so `am.search()` returns it too. It has its own `factory` origin band,\n // so drop it here — otherwise the same first-party skills list twice under Sources.\n const factoryPrefixes = factoryAssetRoots().map((r) => (r.endsWith(path.sep) ? r : r + path.sep));\n const isFactoryPath = (p: string) =>\n factoryPrefixes.some((fp) => p === fp.slice(0, -1) || p.startsWith(fp));\n\n const all = (await am.search()).filter((e) => !isFactoryPath(e.source));\n const entries: OriginEntry[] = [];\n // Group each source's entries under the source node (its short repo name), not\n // the publisher: under Sources the navigational question is \"which repo did\n // this come from\". Each entry's `source` (absolute manifest path) lives under\n // exactly one declared root, so group by prefix. The cache slug is\n // URL-keyed `github.com/<org>/<repo>` — take the trailing segment.\n for (const { repoName, root } of am.searchRepoRoots()) {\n if (isFactoryPath(root)) continue;\n const prefix = root.endsWith(path.sep) ? root : root + path.sep;\n const owned = all.filter((e) => e.source === root || e.source.startsWith(prefix));\n if (owned.length === 0) continue;\n const sourceName = repoName.split(\"/\").pop() || repoName;\n for (const entry of owned) entries.push({ origin: \"source\", entry, group: sourceName });\n }\n return entries;\n}\n\n/**\n * Factory-asset feed: scan the bundled first-party `factory-assets` tree(s)\n * resolved by `factoryAssetRoots()` (the `SKAILE_FACTORY_ASSETS_DIR` override\n * layer ahead of the bundled tree). Local disk only, no network — the entries are\n * the built-in skills / connectors / bundles that ship with `@skaile/workspaces`.\n * `factoryAssetRoots()` already dedupes, so the env override pointing at the\n * bundled dir collapses to one root.\n */\nasync function factoryAssets(): Promise<{\n entries: CatalogEntry[];\n notes: FeedNote[];\n}> {\n const notes: FeedNote[] = [];\n try {\n const entries: CatalogEntry[] = [];\n for (const root of factoryAssetRoots()) {\n entries.push(...(await scanRepo(root, \"skaile-factory\")));\n }\n return { entries, notes };\n } catch (err) {\n notes.push({\n feed: \"factory\",\n message: err instanceof Error ? err.message : String(err),\n });\n return { entries: [], notes };\n }\n}\n\n/** Tag a flat entry list with a single origin. */\nfunction tag(origin: AssetOrigin, entries: CatalogEntry[]): OriginEntry[] {\n return entries.map((entry) => ({ origin, entry }));\n}\n\n/**\n * Run all feeds and return a single normalized result.\n *\n * Feeds run in parallel where possible — the store fetch is the slow one\n * (one HTTP call) and is fired alongside the local library walk. The factory\n * scan is local disk only, so it runs inline.\n */\nexport async function gatherAssetFeeds(\n am: AssetManagerLike,\n projectDir: string,\n): Promise<AssetFeedResult> {\n const [libs, store] = await Promise.all([libraryAssets(), storeAssets(projectDir)]);\n const factory = await factoryAssets();\n const src = await sourceAssets(am);\n return {\n entries: [\n ...src,\n ...libs.entries,\n ...tag(\"factory\", factory.entries),\n ...tag(\"store\", store.entries),\n ],\n notes: [...libs.notes, ...store.notes, ...factory.notes],\n };\n}\n"]}
1
+ {"version":3,"sources":["../cli/src/asset-feeds.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAkEA,eAAe,aAAA,GAGZ;AACD,EAAA,MAAM,QAAoB,EAAC;AAC3B,EAAA,IAAI;AACF,IAAA,MAAM,EAAE,kBAAA,EAAoB,kBAAA,EAAmB,GAAI,MAAM,OAAO,4BAAmB,CAAA;AACnF,IAAA,MAAM,EAAE,OAAA,EAAS,KAAA,EAAM,GAAI,MAAM,kBAAA,EAAmB;AACpD,I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from every feed the manage TUI\n * surfaces.\n *\n * Four feeds, normalized into `CatalogEntry`:\n * - **Project sources** — `skaile.yaml` `sources:` entries (scanned via\n * `AssetManager.search()`; the new `sources:` field is merged into the\n * legacy repositories map in `AssetManager.loadConfig`).\n * - **Local libraries** — user authoring places from `LocalIndex` (filesystem\n * scan of each library's `path`).\n * - **Factory assets** — the bundled first-party `factory-assets` tree\n * (`factoryAssetRoots()`), scanned from disk. Always present; no network.\n * - **Remote store** — the configured catalog source when `catalog.url` is\n * not `local`. Failures are non-fatal — they surface as notes.\n */\n\nimport { existsSync } from \"node:fs\";\nimport * as path from \"node:path\";\nimport {\n type AssetKind,\n type CatalogEntry,\n factoryAssetRoots,\n scanRepo,\n} from \"@skaile/workspaces/core\";\n\n/** One non-fatal note returned to the caller for surfacing in the UI. */\nexport interface FeedNote {\n feed: \"sources\" | \"libraries\" | \"store\" | \"factory\";\n message: string;\n}\n\n/**\n * Which feed an asset came from. This is the top-level grouping axis in the\n * manage TUI (\"where is this skill coming from?\") and is intentionally distinct\n * from `publisher` (asset-intrinsic identity): the same publisher can legitimately\n * appear under more than one origin (e.g. a github repo you added as a `source`\n * that is also listed in the remote `store`).\n */\nexport type AssetOrigin = \"source\" | \"library\" | \"factory\" | \"store\";\n\n/** A catalog entry tagged with the feed it was gathered from. */\nexport interface OriginEntry {\n origin: AssetOrigin;\n entry: CatalogEntry;\n /**\n * Second-level grouping label for the manage tree. Defaults (when unset) to the\n * entry's `publisher`; the source feed sets it to the source's short repo name\n * so the Sources band groups by source — \"which repo did this come from\" — not\n * by the asset-intrinsic publisher.\n */\n group?: string;\n}\n\nexport interface AssetFeedResult {\n entries: OriginEntry[];\n notes: FeedNote[];\n}\n\n/**\n * Pull assets from local libraries (the authoring places under\n * `~/.skaile/libraries/<name>/`, not the `~/.skaile/cache/sources/` cache). Each\n * library's `path` is scanned with `scanRepo` and grouped under the bare library\n * name (`group: <name>`) so the manage TUI shows a clean `<name>` band — no\n * `library:` prefix (mirrors the source feed). Plugin grouping (`entry.plugin`)\n * is stamped by `scanRepo`.\n */\nasync function libraryAssets(): Promise<{\n entries: OriginEntry[];\n notes: FeedNote[];\n}> {\n const notes: FeedNote[] = [];\n try {\n const { openLibraryManager, authoringLibraries } = await import(\"./open-library.ts\");\n const { manager, close } = await openLibraryManager();\n try {\n // Authoring libraries are the rows that are NOT source clones.\n const libs = authoringLibraries(await manager.listLibraries());\n const entries: OriginEntry[] = [];\n for (const lib of libs) {\n if (!existsSync(lib.path)) continue;\n const libEntries = [...(await scanRepo(lib.path, lib.name))];\n for (const entry of libEntries) entries.push({ origin: \"library\", entry, group: lib.name });\n }\n return { entries, notes };\n } finally {\n close();\n }\n } catch (err) {\n notes.push({\n feed: \"libraries\",\n message: err instanceof Error ? err.message : String(err),\n });\n return { entries: [], notes };\n }\n}\n\n/**\n * Pull a (best-effort) snapshot of the connected remote store catalog.\n *\n * - Returns no entries when the resolved catalog is local-only or the host\n * is unreachable (the failure becomes a note, not an exception).\n * - Maps `CatalogAsset` → `CatalogEntry`, carrying `publisher`, `repo`, and\n * `category` straight through and using `source = \"store://<id>\"`; per-file\n * `source` paths are not available for remote assets so the canonical ref is\n * a stable placeholder.\n */\nasync function storeAssets(projectDir: string): Promise<{\n entries: CatalogEntry[];\n notes: FeedNote[];\n}> {\n const notes: FeedNote[] = [];\n try {\n const { resolveCatalogSource } = await import(\"./open-library.ts\");\n const { source, close } = await resolveCatalogSource({ projectDir });\n try {\n const assets = await source.listAssets();\n const entries: CatalogEntry[] = assets.map((a) => ({\n name: a.name,\n kind: (a.kind as AssetKind) ?? \"skill\",\n description: a.description ?? \"\",\n source: `store://${a.id}`,\n publisher: a.publisher,\n repo: a.repo,\n plugin: a.plugin,\n category: a.category,\n version: a.version,\n requires: [],\n dependencies: [],\n }));\n return { entries, notes };\n } finally {\n close();\n }\n } catch (err) {\n const msg = err instanceof Error ? err.message : String(err);\n // Local-only catalog throws a recognizable message — silence it; absence\n // is the user's choice, not an error.\n if (!/local/i.test(msg)) {\n notes.push({ feed: \"store\", message: msg });\n }\n return { entries: [], notes };\n }\n}\n\n/** The slice of `AssetManager` the source feed needs (kept narrow for tests). */\ninterface AssetManagerLike {\n search: () => Promise<CatalogEntry[]>;\n searchRepoRoots: () => { repoName: string; root: string }[];\n}\n\n/**\n * Project-source feed: leans on `AssetManager.search()`, which merges\n * `skaile.yaml`'s `sources:` field into the repositories map. Plugin grouping\n * (`entry.plugin`) is stamped by the scanner, so entries pass through as-is.\n */\nasync function sourceAssets(am: AssetManagerLike): Promise<OriginEntry[]> {\n // The bundled factory tree is injected into the repositories map as an implicit\n // source, so `am.search()` returns it too. It has its own `factory` origin band,\n // so drop it here — otherwise the same first-party skills list twice under Sources.\n const factoryPrefixes = factoryAssetRoots().map((r) => (r.endsWith(path.sep) ? r : r + path.sep));\n const isFactoryPath = (p: string) =>\n factoryPrefixes.some((fp) => p === fp.slice(0, -1) || p.startsWith(fp));\n\n const all = (await am.search()).filter((e) => !isFactoryPath(e.source));\n const entries: OriginEntry[] = [];\n // Group each source's entries under the source node (its short repo name), not\n // the publisher: under Sources the navigational question is \"which repo did\n // this come from\". Each entry's `source` (absolute manifest path) lives under\n // exactly one declared root, so group by prefix. The cache slug is\n // URL-keyed `github.com/<org>/<repo>` — take the trailing segment.\n for (const { repoName, root } of am.searchRepoRoots()) {\n if (isFactoryPath(root)) continue;\n const prefix = root.endsWith(path.sep) ? root : root + path.sep;\n const owned = all.filter((e) => e.source === root || e.source.startsWith(prefix));\n if (owned.length === 0) continue;\n const sourceName = repoName.split(\"/\").pop() || repoName;\n for (const entry of owned) entries.push({ origin: \"source\", entry, group: sourceName });\n }\n return entries;\n}\n\n/**\n * Factory-asset feed: scan the bundled first-party `factory-assets` tree(s)\n * resolved by `factoryAssetRoots()` (the `SKAILE_FACTORY_ASSETS_DIR` override\n * layer ahead of the bundled tree). Local disk only, no network — the entries are\n * the built-in skills / connectors / bundles that ship with `@skaile/workspaces`.\n * `factoryAssetRoots()` already dedupes, so the env override pointing at the\n * bundled dir collapses to one root.\n */\nasync function factoryAssets(): Promise<{\n entries: CatalogEntry[];\n notes: FeedNote[];\n}> {\n const notes: FeedNote[] = [];\n try {\n const entries: CatalogEntry[] = [];\n for (const root of factoryAssetRoots()) {\n entries.push(...(await scanRepo(root, \"skaile-factory\")));\n }\n return { entries, notes };\n } catch (err) {\n notes.push({\n feed: \"factory\",\n message: err instanceof Error ? err.message : String(err),\n });\n return { entries: [], notes };\n }\n}\n\n/** Tag a flat entry list with a single origin. */\nfunction tag(origin: AssetOrigin, entries: CatalogEntry[]): OriginEntry[] {\n return entries.map((entry) => ({ origin, entry }));\n}\n\n/**\n * Run all feeds and return a single normalized result.\n *\n * Feeds run in parallel where possible — the store fetch is the slow one\n * (one HTTP call) and is fired alongside the local library walk. The factory\n * scan is local disk only, so it runs inline.\n */\nexport async function gatherAssetFeeds(\n am: AssetManagerLike,\n projectDir: string,\n): Promise<AssetFeedResult> {\n const [libs, store] = await Promise.all([libraryAssets(), storeAssets(projectDir)]);\n const factory = await factoryAssets();\n const src = await sourceAssets(am);\n return {\n entries: [\n ...src,\n ...libs.entries,\n ...tag(\"factory\", factory.entries),\n ...tag(\"store\", store.entries),\n ],\n notes: [...libs.notes, ...store.notes, ...factory.notes],\n };\n}\n"]}
@@ -1,17 +1,17 @@
1
- export { WORKSPACE_MOUNT_ENV_VAR, deployAll, deployCatalogEntry, findAiAssetsRoot, isUnderWorkspaceMount, resolveFlowSkills, undeployCatalogEntry, workspaceMountDirs } from '../chunk-XOTJVCJB.js';
2
- import '../chunk-BIMEKYOE.js';
1
+ export { WORKSPACE_MOUNT_ENV_VAR, deployAll, deployCatalogEntry, findAiAssetsRoot, isUnderWorkspaceMount, resolveFlowSkills, undeployCatalogEntry, workspaceMountDirs } from '../chunk-JKWU6ULI.js';
2
+ import '../chunk-QEXEHXX5.js';
3
3
  import '../chunk-4GY63JU6.js';
4
- import '../chunk-PU5VY7KF.js';
5
- import '../chunk-U6K3I3AX.js';
4
+ import '../chunk-JCATNLY3.js';
5
+ import '../chunk-XGIS325V.js';
6
6
  import '../chunk-5BEFNLOR.js';
7
7
  import '../chunk-A2ULN3KX.js';
8
- import '../chunk-P2EM6FNQ.js';
9
- import '../chunk-TLKM4M47.js';
8
+ import '../chunk-6IGFSUTE.js';
9
+ import '../chunk-MFHKHXDE.js';
10
10
  import '../chunk-TOSHZX4C.js';
11
- import '../chunk-YRF5CYHR.js';
11
+ import '../chunk-SR4RFKHM.js';
12
12
  import '../chunk-RVRB27AN.js';
13
- import '../chunk-YANDJSMN.js';
14
- import '../chunk-OABIGSUY.js';
13
+ import '../chunk-LFMX2UEF.js';
14
+ import '../chunk-WX74MVNA.js';
15
15
  import '../chunk-ICSCSM5D.js';
16
16
  import '../chunk-JMKB7IB4.js';
17
17
  import '../chunk-MJHSLODD.js';
@@ -1,24 +1,24 @@
1
- export { AssetManager, FACTORY_SOURCE_URL, MissingManifestError, NON_DEPLOYABLE_KINDS, normalizeRepoUrl, parseCanonicalLockKey, parseRefTolerant, renderMcpServerConfig, softDepName } from '../chunk-L257BENF.js';
2
- import '../chunk-B4J4RGNY.js';
3
- import '../chunk-LZ5RH6LD.js';
4
- import '../chunk-4YE7OYTB.js';
1
+ export { AssetManager, FACTORY_SOURCE_URL, MissingManifestError, NON_DEPLOYABLE_KINDS, normalizeRepoUrl, parseCanonicalLockKey, parseRefTolerant, renderMcpServerConfig, softDepName } from '../chunk-BATL2CWI.js';
2
+ import '../chunk-Y5OCUOXF.js';
3
+ import '../chunk-Y7UBRRKG.js';
4
+ import '../chunk-VKSA2CDJ.js';
5
5
  import '../chunk-R7FOF242.js';
6
6
  import '../chunk-ZDKJHQY2.js';
7
- export { createScaffold, deployAll, installAgent, removeAsset } from '../chunk-KGGT6MUM.js';
7
+ export { createScaffold, deployAll, installAgent, removeAsset } from '../chunk-37DN45RR.js';
8
8
  export { BUILT_IN_FRAGMENTS, loadPromptExtensions, resolveFragments } from '../chunk-CGYEHQOX.js';
9
- import '../chunk-BIMEKYOE.js';
9
+ import '../chunk-QEXEHXX5.js';
10
10
  import '../chunk-4GY63JU6.js';
11
- import '../chunk-PU5VY7KF.js';
12
- import '../chunk-U6K3I3AX.js';
11
+ import '../chunk-JCATNLY3.js';
12
+ import '../chunk-XGIS325V.js';
13
13
  import '../chunk-5BEFNLOR.js';
14
14
  import '../chunk-A2ULN3KX.js';
15
- import '../chunk-P2EM6FNQ.js';
16
- import '../chunk-TLKM4M47.js';
15
+ import '../chunk-6IGFSUTE.js';
16
+ import '../chunk-MFHKHXDE.js';
17
17
  import '../chunk-TOSHZX4C.js';
18
- import '../chunk-YRF5CYHR.js';
18
+ import '../chunk-SR4RFKHM.js';
19
19
  import '../chunk-RVRB27AN.js';
20
- import '../chunk-YANDJSMN.js';
21
- import '../chunk-OABIGSUY.js';
20
+ import '../chunk-LFMX2UEF.js';
21
+ import '../chunk-WX74MVNA.js';
22
22
  import '../chunk-ICSCSM5D.js';
23
23
  import '../chunk-JMKB7IB4.js';
24
24
  import '../chunk-MJHSLODD.js';
@@ -1,18 +1,18 @@
1
- export { createScaffold, deployAll, deployAsset, removeAsset } from '../chunk-KGGT6MUM.js';
1
+ export { canonicalEntryRef, createScaffold, deployAll, deployAsset, removeAsset } from '../chunk-37DN45RR.js';
2
2
  import '../chunk-CGYEHQOX.js';
3
- import '../chunk-BIMEKYOE.js';
3
+ import '../chunk-QEXEHXX5.js';
4
4
  import '../chunk-4GY63JU6.js';
5
- import '../chunk-PU5VY7KF.js';
6
- import '../chunk-U6K3I3AX.js';
5
+ import '../chunk-JCATNLY3.js';
6
+ import '../chunk-XGIS325V.js';
7
7
  import '../chunk-5BEFNLOR.js';
8
8
  import '../chunk-A2ULN3KX.js';
9
- import '../chunk-P2EM6FNQ.js';
10
- import '../chunk-TLKM4M47.js';
9
+ import '../chunk-6IGFSUTE.js';
10
+ import '../chunk-MFHKHXDE.js';
11
11
  import '../chunk-TOSHZX4C.js';
12
- import '../chunk-YRF5CYHR.js';
12
+ import '../chunk-SR4RFKHM.js';
13
13
  import '../chunk-RVRB27AN.js';
14
- import '../chunk-YANDJSMN.js';
15
- import '../chunk-OABIGSUY.js';
14
+ import '../chunk-LFMX2UEF.js';
15
+ import '../chunk-WX74MVNA.js';
16
16
  import '../chunk-ICSCSM5D.js';
17
17
  import '../chunk-JMKB7IB4.js';
18
18
  import '../chunk-MJHSLODD.js';
@@ -188,7 +188,7 @@ export interface RepoStatusInfo {
188
188
  * @docLink packages/asset-manager/concepts#asset-manager
189
189
  */
190
190
  export interface InstallResult {
191
- /** Asset refs (`kind:name`) successfully deployed in this run. */
191
+ /** Canonical refs (`kind:@publisher/name#version`) successfully deployed in this run. */
192
192
  deployed: string[];
193
193
  /** Asset refs (`kind:name`) removed because they are no longer in the resolved set. */
194
194
  removed: string[];
@@ -228,6 +228,12 @@ export interface OutdatedEntry {
228
228
  latestVersion?: string;
229
229
  /** Library-origin asset only: name of the library the asset was locked from. */
230
230
  library?: string;
231
+ /**
232
+ * Set when the locked asset cannot be checked or is not in place: its library is
233
+ * not registered (renamed or removed), or its deployed copy is gone. Such a row
234
+ * has no `latestVersion`.
235
+ */
236
+ problem?: string;
231
237
  }
232
238
  /**
233
239
  * Outcome of `AssetManager.diff()` — distinguishes an unknown ref from a real
@@ -488,6 +494,13 @@ export declare class AssetManager {
488
494
  * each entry's originating library name.
489
495
  */
490
496
  private resolveLibraryEntries;
497
+ /** Collision messages already printed by this instance (one warning per ref + library set). */
498
+ private readonly warnedLibraryCollisions;
499
+ /**
500
+ * Warn once when `key` is held by more than one library: names every library
501
+ * with its version and the one chosen, so a silent pick can't surprise.
502
+ */
503
+ private warnLibraryCollision;
491
504
  /**
492
505
  * Open the local index and snapshot its libraries + asset definitions.
493
506
  * Best-effort: no index file (never indexed), or any open/guard failure,
@@ -639,11 +652,14 @@ export declare class AssetManager {
639
652
  * @param opts.link - When `true`, symlink local-path assets instead of copying them
640
653
  * (the author dev-loop). Machine-local / not for committing; a no-op for
641
654
  * store/factory sources. Defaults to copy.
655
+ * @param opts.onLibraryOrigin - Called once per deployed library-origin asset with its
656
+ * canonical ref and the name of the library it was resolved from.
642
657
  * @returns Array of asset refs that were deployed in this call.
643
658
  * @throws When the asset cannot be found in any configured repository.
644
659
  */
645
660
  add(ref: string, opts?: {
646
661
  link?: boolean;
662
+ onLibraryOrigin?: (deployedRef: string, library: string) => void;
647
663
  }): Promise<string[]>;
648
664
  /**
649
665
  * Report the body-link **soft dependencies** of the given assets that are not
@@ -915,9 +931,12 @@ export declare class AssetManager {
915
931
  */
916
932
  outdated(): Promise<OutdatedEntry[]>;
917
933
  /**
918
- * Produce a unified diff between the deployed asset and its catalog source.
934
+ * Produce a unified diff from the deployed asset to its catalog source: `-` lines
935
+ * are in the deployed copy only (local edits `update` would overwrite), `+` lines
936
+ * are in the source only (what `update` would add).
919
937
  *
920
- * Useful for detecting manual edits to deployed files or verifying that a patch
938
+ * Useful for detecting manual edits to deployed files or seeing what an upstream
939
+ * change would bring in; also for verifying that a patch
921
940
  * was applied correctly.
922
941
  *
923
942
  * @param ref - Asset ref in `kind:name` form.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../asset-manager/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAcH,OAAO,KAAK,EAEV,QAAQ,EACR,YAAY,EACZ,YAAY,EAEZ,QAAQ,EAQR,YAAY,EACb,MAAM,yBAAyB,CAAC;AAiDjC,OAAO,KAAK,EAAmB,YAAY,EAAW,MAAM,4BAA4B,CAAC;AAMzF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD,OAAO,KAAK,EAAiB,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAIrE;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAQpD;AAqDD;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,aAM/B,CAAC;AAuJH;;;;;;;;;;;;;;GAcG;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EAAE,MAAM,CAAA;KAAE;IAahC;;;;;OAKG;IACH,OAAO,CAAC,KAAK,SAAK,GAAG,YAAY,EAAE;IAInC;;OAEG;IACH,YAAY,IAAI,IAAI;IAMpB;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,IAAI,CAAC,EAAE;QAAE,GAAG,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG;QAC/B,OAAO,EAAE,MAAM,EAAE,CAAC;QAClB,OAAO,EAAE,KAAK,CAAC;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QAChD,SAAS,EAAE,MAAM,EAAE,CAAC;KACrB;IAYD;;;OAGG;IACH,OAAO,CAAC,yBAAyB;IA2BjC;;;OAGG;IACH,OAAO,CAAC,sBAAsB;IAoB9B,qFAAqF;IACrF,OAAO,CAAC,qBAAqB;IAyB7B;;;;;OAKG;IACH,OAAO,CAAC,qBAAqB;IAgB7B;;;OAGG;IACH,OAAO,CAAC,0BAA0B;IA2BlC,OAAO,CAAC,cAAc;CAqBvB;AAID,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAIlD,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACzF,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,aAAa,EACb,0BAA0B,EAC1B,WAAW,GACZ,MAAM,gBAAgB,CAAC;AAIxB,YAAY,EACV,UAAU,EACV,YAAY,EACZ,WAAW,EACX,eAAe,EACf,UAAU,GACX,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -5,6 +5,13 @@
5
5
  import type { CatalogEntry, DriverTarget, SourceDeclaration } from "@skaile/workspaces/core";
6
6
  import type { Log } from "./renderers.js";
7
7
  export type { Log } from "./renderers.js";
8
+ /**
9
+ * The printable canonical ref of a resolved entry — `kind:@publisher/name#version`,
10
+ * the one ref grammar the CLI shows. An entry whose `publisher` is a clone key
11
+ * carries the real ref in `canonicalRef`; with neither a `canonicalRef` nor a
12
+ * publisher there is nothing to namespace it by, so it falls back to `kind:name`.
13
+ */
14
+ export declare function canonicalEntryRef(entry: CatalogEntry): string;
8
15
  /**
9
16
  * Options controlling where and how assets are deployed.
10
17
  *
@@ -58,7 +65,8 @@ export declare function deployAsset(entry: CatalogEntry, repositories: Record<st
58
65
  * @param patches - Map of `kind:name` → patch file path for patch application.
59
66
  * @param opts - Deployment target options.
60
67
  * @param log - Optional logger callback for progress messages.
61
- * @returns Array of asset refs (`kind:name`) that were newly deployed in this call.
68
+ * @returns Canonical refs (`kind:@publisher/name[#version]`; bare `kind:name`
69
+ * when the entry carries no publisher) of the assets newly deployed in this call.
62
70
  * @docLink packages/asset-manager/api-reference#installer
63
71
  */
64
72
  export declare function deployAll(resolved: CatalogEntry[], repositories: Record<string, SourceDeclaration>, patches: Record<string, string>, opts?: DeployOptions, log?: Log): string[];
@@ -1 +1 @@
1
- {"version":3,"file":"installer.d.ts","sourceRoot":"","sources":["../../../asset-manager/src/installer.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAcH,OAAO,KAAK,EAEV,YAAY,EACZ,YAAY,EACZ,iBAAiB,EAClB,MAAM,yBAAyB,CAAC;AAgBjC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAE1C,YAAY,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAmD1C;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,+GAA+G;IAC/G,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,wFAAwF;IACxF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,wEAAwE;IACxE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAID;;;;;;;;;;;;;;;;;;GAkBG;AACH,w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ppedToolsNotice, filterInProcessMcpServerTools, checkToolPropertyKeys } from '../../chunk-X5O56UO4.js';
2
- import { scrubPoisonedTranscript, transcriptStoreForRuntime, resolveClaudeConfigDir, claudeEndpointMode, buildClaudeEndpointEnv } from '../../chunk-2QZG5VJQ.js';
2
+ import { scrubPoisonedTranscript, transcriptStoreForRuntime, resolveClaudeConfigDir, claudeEndpointMode, buildClaudeEndpointEnv } from '../../chunk-LAI7X6I2.js';
3
3
  import { scopeReconfigureModel } from '../../chunk-EINLFFP6.js';
4
4
  import { dispatchCapability } from '../../chunk-BNUZEYC3.js';
5
- import { fetchProviderModels } from '../../chunk-BUNBKRJZ.js';
5
+ import { fetchProviderModels } from '../../chunk-LUBS5DXY.js';
6
6
  import { AuthError, stripRunnerPrivateEnv, classifyClaudeSdkError, reclassifyAuthAsAccountUnavailable, AccountUnavailableError, isLongContextEntitlementRejection, LONG_CONTEXT_CREDITS_API_ERROR } from '../../chunk-XBSQ4KMC.js';
7
7
  import { agentExecRequested, wrapAgentCommand, resolveAgentExec } from '../../chunk-YROR332M.js';
8
- import { BUILTIN_DRIVER_CATALOG, AgentDriver, getBridgeLogger, entryCredentialValue, registryDriverConfig } from '../../chunk-3E2TIPBZ.js';
8
+ import { BUILTIN_DRIVER_CATALOG, AgentDriver, getBridgeLogger, entryCredentialValue, registryDriverConfig } from '../../chunk-AE42DHSH.js';
9
9
  import '../../chunk-6E6PKKAD.js';
10
10
  import { withActivityLabelShape } from '../../chunk-K2K7OF4P.js';
11
- import '../../chunk-BIMEKYOE.js';
11
+ import '../../chunk-QEXEHXX5.js';
12
12
  import '../../chunk-4GY63JU6.js';
13
- import '../../chunk-PU5VY7KF.js';
14
- import '../../chunk-U6K3I3AX.js';
13
+ import '../../chunk-JCATNLY3.js';
14
+ import '../../chunk-XGIS325V.js';
15
15
  import '../../chunk-5BEFNLOR.js';
16
16
  import '../../chunk-A2ULN3KX.js';
17
- import '../../chunk-P2EM6FNQ.js';
18
- import '../../chunk-TLKM4M47.js';
17
+ import '../../chunk-6IGFSUTE.js';
18
+ import '../../chunk-MFHKHXDE.js';
19
19
  import '../../chunk-TOSHZX4C.js';
20
- import '../../chunk-YRF5CYHR.js';
20
+ import '../../chunk-SR4RFKHM.js';
21
21
  import '../../chunk-RVRB27AN.js';
22
- import '../../chunk-YANDJSMN.js';
23
- import '../../chunk-OABIGSUY.js';
22
+ import '../../chunk-LFMX2UEF.js';
23
+ import '../../chunk-WX74MVNA.js';
24
24
  import '../../chunk-ICSCSM5D.js';
25
25
  import '../../chunk-JMKB7IB4.js';
26
26
  import { mergeRegistries, parseModelRef, isEntryEnabled, resolveEntryBaseUrl } from '../../chunk-MJHSLODD.js';
@@ -1,24 +1,24 @@
1
1
  import { CodexAppServerClient } from '../../chunk-K4O6L3WH.js';
2
2
  import { managedCodexRegistryViolation, parseCodexCredential, prepareNativePolicy, prepareCodexInstance, codexInstanceEnvironment, isNativeApprovalPolicyActive, activateNativeApprovalPolicy, parseCodexRefreshResult, allowsNativeApprovalPath } from '../../chunk-HCYS7GFP.js';
3
3
  import { CodexNativeStateUnavailable } from '../../chunk-LOO5CB5M.js';
4
- import { fetchProviderModels } from '../../chunk-BUNBKRJZ.js';
4
+ import { fetchProviderModels } from '../../chunk-LUBS5DXY.js';
5
5
  import { stripRunnerPrivateEnv, classifyGenericErrorMessage } from '../../chunk-XBSQ4KMC.js';
6
6
  import '../../chunk-YROR332M.js';
7
- import { BUILTIN_DRIVER_CATALOG, AgentDriver, getBridgeLogger, registryCredentialEnv, entryCredentialValue, registryDriverConfig, getProviderPreset, providerCredentialEnvName } from '../../chunk-3E2TIPBZ.js';
7
+ import { BUILTIN_DRIVER_CATALOG, AgentDriver, getBridgeLogger, registryCredentialEnv, entryCredentialValue, registryDriverConfig, getProviderPreset, providerCredentialEnvName } from '../../chunk-AE42DHSH.js';
8
8
  import '../../chunk-6E6PKKAD.js';
9
- import '../../chunk-BIMEKYOE.js';
9
+ import '../../chunk-QEXEHXX5.js';
10
10
  import '../../chunk-4GY63JU6.js';
11
- import '../../chunk-PU5VY7KF.js';
12
- import '../../chunk-U6K3I3AX.js';
11
+ import '../../chunk-JCATNLY3.js';
12
+ import '../../chunk-XGIS325V.js';
13
13
  import '../../chunk-5BEFNLOR.js';
14
14
  import '../../chunk-A2ULN3KX.js';
15
- import '../../chunk-P2EM6FNQ.js';
16
- import { globalSkaileDir } from '../../chunk-TLKM4M47.js';
15
+ import '../../chunk-6IGFSUTE.js';
16
+ import { globalSkaileDir } from '../../chunk-MFHKHXDE.js';
17
17
  import '../../chunk-TOSHZX4C.js';
18
- import '../../chunk-YRF5CYHR.js';
18
+ import '../../chunk-SR4RFKHM.js';
19
19
  import '../../chunk-RVRB27AN.js';
20
- import '../../chunk-YANDJSMN.js';
21
- import '../../chunk-OABIGSUY.js';
20
+ import '../../chunk-LFMX2UEF.js';
21
+ import '../../chunk-WX74MVNA.js';
22
22
  import '../../chunk-ICSCSM5D.js';
23
23
  import '../../chunk-JMKB7IB4.js';
24
24
  import { resolveEntryBaseUrl, registryEntries, parseModelRef, isEntryEnabled } from '../../chunk-MJHSLODD.js';
@@ -1,23 +1,23 @@
1
- import { driverSessionConfigHome, removeSessionConfigFile, writeSessionConfigFile } from '../../chunk-ARUJBGAH.js';
2
- import { SubprocessCliDriver, extractText, extractCost, extractTokens } from '../../chunk-WMEPS6S4.js';
3
- import { resolveEnvDriverSession, continueRoleBinding, credentialsForEveryProvider, registryModelEntries, selectableEntries, entrySurface, harnessProviderName, entryBaseUrl, versionedAnthropicBaseUrl } from '../../chunk-PHKFFJ4I.js';
1
+ import { driverSessionConfigHome, removeSessionConfigFile, writeSessionConfigFile } from '../../chunk-KXTO7HON.js';
2
+ import { SubprocessCliDriver, extractText, extractCost, extractTokens } from '../../chunk-2XXAVTTO.js';
3
+ import { resolveEnvDriverSession, continueRoleBinding, credentialsForEveryProvider, registryModelEntries, selectableEntries, entrySurface, harnessProviderName, entryBaseUrl, versionedAnthropicBaseUrl } from '../../chunk-ZIYYMR6Y.js';
4
4
  import '../../chunk-XBSQ4KMC.js';
5
5
  import '../../chunk-YROR332M.js';
6
- import { BUILTIN_DRIVER_CATALOG, getBridgeLogger, entryCredentialValue, registryDriverConfig, providerCredentialEnvName } from '../../chunk-3E2TIPBZ.js';
6
+ import { BUILTIN_DRIVER_CATALOG, getBridgeLogger, entryCredentialValue, registryDriverConfig, providerCredentialEnvName } from '../../chunk-AE42DHSH.js';
7
7
  import '../../chunk-6E6PKKAD.js';
8
- import '../../chunk-BIMEKYOE.js';
8
+ import '../../chunk-QEXEHXX5.js';
9
9
  import '../../chunk-4GY63JU6.js';
10
- import '../../chunk-PU5VY7KF.js';
11
- import '../../chunk-U6K3I3AX.js';
10
+ import '../../chunk-JCATNLY3.js';
11
+ import '../../chunk-XGIS325V.js';
12
12
  import '../../chunk-5BEFNLOR.js';
13
13
  import '../../chunk-A2ULN3KX.js';
14
- import '../../chunk-P2EM6FNQ.js';
15
- import '../../chunk-TLKM4M47.js';
14
+ import '../../chunk-6IGFSUTE.js';
15
+ import '../../chunk-MFHKHXDE.js';
16
16
  import '../../chunk-TOSHZX4C.js';
17
- import '../../chunk-YRF5CYHR.js';
17
+ import '../../chunk-SR4RFKHM.js';
18
18
  import '../../chunk-RVRB27AN.js';
19
- import '../../chunk-YANDJSMN.js';
20
- import '../../chunk-OABIGSUY.js';
19
+ import '../../chunk-LFMX2UEF.js';
20
+ import '../../chunk-WX74MVNA.js';
21
21
  import '../../chunk-ICSCSM5D.js';
22
22
  import '../../chunk-JMKB7IB4.js';
23
23
  import { parseModelRef } from '../../chunk-MJHSLODD.js';