@skaile/workspaces 4.39.0 → 5.1.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 (392) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/asset-feeds-TU5CS6QL.js +131 -0
  3. package/dist/asset-feeds-TU5CS6QL.js.map +1 -0
  4. package/dist/asset-manager/catalog-deployer.js +12 -11
  5. package/dist/asset-manager/index.js +17 -16
  6. package/dist/asset-manager/installer.js +12 -11
  7. package/dist/asset-manager/src/catalog-deployer.d.ts +1 -3
  8. package/dist/asset-manager/src/catalog-deployer.d.ts.map +1 -1
  9. package/dist/asset-manager/src/index.d.ts +8 -9
  10. package/dist/asset-manager/src/index.d.ts.map +1 -1
  11. package/dist/bridge/drivers/claude-sdk.js +25 -13
  12. package/dist/bridge/drivers/claude-sdk.js.map +1 -1
  13. package/dist/bridge/drivers/codex.js +13 -12
  14. package/dist/bridge/drivers/codex.js.map +1 -1
  15. package/dist/bridge/drivers/continue.js +14 -13
  16. package/dist/bridge/drivers/continue.js.map +1 -1
  17. package/dist/bridge/drivers/echo.js +2 -2
  18. package/dist/bridge/drivers/gemini.js +6 -6
  19. package/dist/bridge/drivers/goose.js +14 -13
  20. package/dist/bridge/drivers/goose.js.map +1 -1
  21. package/dist/bridge/drivers/omp.js +3 -3
  22. package/dist/bridge/drivers/opencode.js +14 -13
  23. package/dist/bridge/drivers/opencode.js.map +1 -1
  24. package/dist/bridge/drivers/qwen.js +6 -6
  25. package/dist/bridge/index.js +15 -14
  26. package/dist/bridge/src/drivers/claude-sdk.d.ts +4 -0
  27. package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
  28. package/dist/bridge/src/types.d.ts +7 -0
  29. package/dist/bridge/src/types.d.ts.map +1 -1
  30. package/dist/{chunk-NLKIW2VI.js → chunk-2Y6DSR36.js} +5 -4
  31. package/dist/chunk-2Y6DSR36.js.map +1 -0
  32. package/dist/{chunk-H7N6RWNF.js → chunk-3KSAFYD4.js} +9 -5
  33. package/dist/chunk-3KSAFYD4.js.map +1 -0
  34. package/dist/{chunk-SM6EUQMY.js → chunk-3NGPZC44.js} +11 -11
  35. package/dist/chunk-3NGPZC44.js.map +1 -0
  36. package/dist/{chunk-A5EDMBFG.js → chunk-43ZBF3WH.js} +5 -8
  37. package/dist/chunk-43ZBF3WH.js.map +1 -0
  38. package/dist/{chunk-P7BU6DAC.js → chunk-55RMUF4G.js} +76 -33
  39. package/dist/chunk-55RMUF4G.js.map +1 -0
  40. package/dist/{chunk-TQ6XNACF.js → chunk-6LDUA57J.js} +25 -26
  41. package/dist/chunk-6LDUA57J.js.map +1 -0
  42. package/dist/chunk-A2ULN3KX.js +40 -0
  43. package/dist/chunk-A2ULN3KX.js.map +1 -0
  44. package/dist/{chunk-DSB6X25D.js → chunk-AG44ZJ7W.js} +3 -3
  45. package/dist/{chunk-DSB6X25D.js.map → chunk-AG44ZJ7W.js.map} +1 -1
  46. package/dist/{chunk-YCMZHL4T.js → chunk-AGWYBS2E.js} +6 -6
  47. package/dist/{chunk-YCMZHL4T.js.map → chunk-AGWYBS2E.js.map} +1 -1
  48. package/dist/{chunk-35G4M33T.js → chunk-AOMWF2OE.js} +4 -4
  49. package/dist/chunk-AOMWF2OE.js.map +1 -0
  50. package/dist/{chunk-X4DKUGV4.js → chunk-AYNPGPT5.js} +9 -15
  51. package/dist/chunk-AYNPGPT5.js.map +1 -0
  52. package/dist/{chunk-SSCPTAFJ.js → chunk-CI6FQ654.js} +3 -3
  53. package/dist/{chunk-SSCPTAFJ.js.map → chunk-CI6FQ654.js.map} +1 -1
  54. package/dist/{chunk-6X4DHKHP.js → chunk-CT6NQSA4.js} +3 -3
  55. package/dist/{chunk-6X4DHKHP.js.map → chunk-CT6NQSA4.js.map} +1 -1
  56. package/dist/{chunk-5K2VT6E2.js → chunk-DXUQCMVT.js} +3 -3
  57. package/dist/{chunk-5K2VT6E2.js.map → chunk-DXUQCMVT.js.map} +1 -1
  58. package/dist/{chunk-3C3ODIDE.js → chunk-E3ZACBHD.js} +13 -16
  59. package/dist/chunk-E3ZACBHD.js.map +1 -0
  60. package/dist/{chunk-C75VKXAM.js → chunk-E67J56FJ.js} +3 -3
  61. package/dist/{chunk-C75VKXAM.js.map → chunk-E67J56FJ.js.map} +1 -1
  62. package/dist/{chunk-B4IAZTZZ.js → chunk-EB6OPURC.js} +3 -3
  63. package/dist/{chunk-B4IAZTZZ.js.map → chunk-EB6OPURC.js.map} +1 -1
  64. package/dist/{chunk-VXPFSZDT.js → chunk-EPHQWHOH.js} +6 -6
  65. package/dist/{chunk-VXPFSZDT.js.map → chunk-EPHQWHOH.js.map} +1 -1
  66. package/dist/chunk-F7JHP7JV.js +122 -0
  67. package/dist/chunk-F7JHP7JV.js.map +1 -0
  68. package/dist/{chunk-FTPKMJFD.js → chunk-G47EV3V6.js} +2 -2
  69. package/dist/{chunk-FTPKMJFD.js.map → chunk-G47EV3V6.js.map} +1 -1
  70. package/dist/{chunk-252TK4RU.js → chunk-G4T7MYTA.js} +12 -14
  71. package/dist/chunk-G4T7MYTA.js.map +1 -0
  72. package/dist/{chunk-2EL2PBRC.js → chunk-H4EGUQ7M.js} +3 -3
  73. package/dist/{chunk-2EL2PBRC.js.map → chunk-H4EGUQ7M.js.map} +1 -1
  74. package/dist/{chunk-YV3YI3TA.js → chunk-IWCCZL7C.js} +17 -11
  75. package/dist/chunk-IWCCZL7C.js.map +1 -0
  76. package/dist/{chunk-QVLQGXT6.js → chunk-IYIIT4R3.js} +5 -5
  77. package/dist/{chunk-QVLQGXT6.js.map → chunk-IYIIT4R3.js.map} +1 -1
  78. package/dist/{chunk-YYH5EVPM.js → chunk-JUXQUZOQ.js} +12 -4
  79. package/dist/{chunk-YYH5EVPM.js.map → chunk-JUXQUZOQ.js.map} +1 -1
  80. package/dist/{chunk-BCUVRJXV.js → chunk-KAYH6AXN.js} +3 -3
  81. package/dist/{chunk-BCUVRJXV.js.map → chunk-KAYH6AXN.js.map} +1 -1
  82. package/dist/{chunk-JEPSP6XK.js → chunk-MXXKTQXJ.js} +18 -12
  83. package/dist/chunk-MXXKTQXJ.js.map +1 -0
  84. package/dist/{chunk-UDFWBALP.js → chunk-NFGRW3L7.js} +3 -3
  85. package/dist/{chunk-UDFWBALP.js.map → chunk-NFGRW3L7.js.map} +1 -1
  86. package/dist/{chunk-WCWFS36P.js → chunk-P5UQ56RA.js} +3 -3
  87. package/dist/{chunk-WCWFS36P.js.map → chunk-P5UQ56RA.js.map} +1 -1
  88. package/dist/{chunk-ORH2BZEM.js → chunk-QCI6D7E4.js} +69 -22
  89. package/dist/chunk-QCI6D7E4.js.map +1 -0
  90. package/dist/{chunk-5RWL4L3X.js → chunk-QFZFZXQW.js} +171 -28
  91. package/dist/chunk-QFZFZXQW.js.map +1 -0
  92. package/dist/{chunk-DIQDYNXZ.js → chunk-QZLWJETK.js} +3 -3
  93. package/dist/{chunk-DIQDYNXZ.js.map → chunk-QZLWJETK.js.map} +1 -1
  94. package/dist/{chunk-TSVRKUGV.js → chunk-RDTHJSGY.js} +11 -2
  95. package/dist/chunk-RDTHJSGY.js.map +1 -0
  96. package/dist/{chunk-QBQITQAM.js → chunk-RNNUYFFD.js} +3 -3
  97. package/dist/{chunk-QBQITQAM.js.map → chunk-RNNUYFFD.js.map} +1 -1
  98. package/dist/chunk-RVRB27AN.js +64 -0
  99. package/dist/chunk-RVRB27AN.js.map +1 -0
  100. package/dist/{chunk-XU7JET5Z.js → chunk-SP47UJKE.js} +37 -109
  101. package/dist/chunk-SP47UJKE.js.map +1 -0
  102. package/dist/{chunk-EB4ZTESQ.js → chunk-TOSHZX4C.js} +8 -3
  103. package/dist/chunk-TOSHZX4C.js.map +1 -0
  104. package/dist/{chunk-5NYBY6ZE.js → chunk-TVOODIZE.js} +3 -3
  105. package/dist/{chunk-5NYBY6ZE.js.map → chunk-TVOODIZE.js.map} +1 -1
  106. package/dist/{chunk-EOKAFBJ7.js → chunk-TYUJB336.js} +3 -3
  107. package/dist/{chunk-EOKAFBJ7.js.map → chunk-TYUJB336.js.map} +1 -1
  108. package/dist/{chunk-KAJH3XPW.js → chunk-U6K3I3AX.js} +3 -3
  109. package/dist/{chunk-KAJH3XPW.js.map → chunk-U6K3I3AX.js.map} +1 -1
  110. package/dist/{chunk-7RC37XFW.js → chunk-UMSWQKCY.js} +59 -12
  111. package/dist/chunk-UMSWQKCY.js.map +1 -0
  112. package/dist/{chunk-OLMNDIAU.js → chunk-UVOJSWD2.js} +95 -320
  113. package/dist/chunk-UVOJSWD2.js.map +1 -0
  114. package/dist/{chunk-DOVURNRK.js → chunk-VDJKWKH2.js} +3 -3
  115. package/dist/chunk-VDJKWKH2.js.map +1 -0
  116. package/dist/{chunk-VDBP6Y5M.js → chunk-WCQMXBO5.js} +21 -47
  117. package/dist/chunk-WCQMXBO5.js.map +1 -0
  118. package/dist/{chunk-YQEF36D5.js → chunk-WKIOWDLQ.js} +4 -4
  119. package/dist/{chunk-YQEF36D5.js.map → chunk-WKIOWDLQ.js.map} +1 -1
  120. package/dist/{chunk-5LF27VUB.js → chunk-X6E7Y4JD.js} +17 -15
  121. package/dist/chunk-X6E7Y4JD.js.map +1 -0
  122. package/dist/chunk-XUQBVK4R.js +15 -0
  123. package/dist/chunk-XUQBVK4R.js.map +1 -0
  124. package/dist/{chunk-K3IBZ2UZ.js → chunk-XUUYAS3Z.js} +3 -3
  125. package/dist/{chunk-K3IBZ2UZ.js.map → chunk-XUUYAS3Z.js.map} +1 -1
  126. package/dist/{chunk-36ML6SFP.js → chunk-YDJZRLGN.js} +4 -4
  127. package/dist/{chunk-36ML6SFP.js.map → chunk-YDJZRLGN.js.map} +1 -1
  128. package/dist/{chunk-M7GPCWEV.js → chunk-YIVB7GIP.js} +3 -3
  129. package/dist/{chunk-M7GPCWEV.js.map → chunk-YIVB7GIP.js.map} +1 -1
  130. package/dist/{chunk-VJNTB4DN.js → chunk-YMOZC2D3.js} +4 -4
  131. package/dist/{chunk-VJNTB4DN.js.map → chunk-YMOZC2D3.js.map} +1 -1
  132. package/dist/{chunk-OQRB7JUS.js → chunk-YV4J7V53.js} +3 -3
  133. package/dist/{chunk-OQRB7JUS.js.map → chunk-YV4J7V53.js.map} +1 -1
  134. package/dist/{chunk-JXT46QFC.js → chunk-ZDKJHQY2.js} +2 -2
  135. package/dist/{chunk-JXT46QFC.js.map → chunk-ZDKJHQY2.js.map} +1 -1
  136. package/dist/cli/index.js +777 -1120
  137. package/dist/cli/index.js.map +1 -1
  138. package/dist/cli/src/asset-feeds.d.ts +1 -8
  139. package/dist/cli/src/asset-feeds.d.ts.map +1 -1
  140. package/dist/cli/src/commands/asset-cmd.d.ts.map +1 -1
  141. package/dist/cli/src/commands/catalog.d.ts.map +1 -1
  142. package/dist/cli/src/commands/flow.d.ts +5 -5
  143. package/dist/cli/src/commands/library-cmd.d.ts.map +1 -1
  144. package/dist/cli/src/commands/library-index.d.ts +5 -12
  145. package/dist/cli/src/commands/library-index.d.ts.map +1 -1
  146. package/dist/cli/src/commands/library-publish.d.ts.map +1 -1
  147. package/dist/cli/src/commands/manage.d.ts +74 -58
  148. package/dist/cli/src/commands/manage.d.ts.map +1 -1
  149. package/dist/cli/src/commands/project.d.ts.map +1 -1
  150. package/dist/cli/src/commands/publish-core.d.ts +10 -0
  151. package/dist/cli/src/commands/publish-core.d.ts.map +1 -1
  152. package/dist/cli/src/commands/run.d.ts.map +1 -1
  153. package/dist/cli/src/commands/show.d.ts +1 -1
  154. package/dist/cli/src/commands/skailify-lib.d.ts +17 -31
  155. package/dist/cli/src/commands/skailify-lib.d.ts.map +1 -1
  156. package/dist/cli/src/commands/source-manifest.d.ts.map +1 -1
  157. package/dist/cli/src/commands/validate.d.ts +20 -2
  158. package/dist/cli/src/commands/validate.d.ts.map +1 -1
  159. package/dist/cli/src/flow-discovery.d.ts +46 -3
  160. package/dist/cli/src/flow-discovery.d.ts.map +1 -1
  161. package/dist/cli/src/helpers.d.ts +6 -0
  162. package/dist/cli/src/helpers.d.ts.map +1 -1
  163. package/dist/cli/src/hooks/pre-commit-version.d.ts +1 -1
  164. package/dist/cli/src/open-library.d.ts +11 -0
  165. package/dist/cli/src/open-library.d.ts.map +1 -1
  166. package/dist/cli/src/skill-walker.d.ts +7 -10
  167. package/dist/cli/src/skill-walker.d.ts.map +1 -1
  168. package/dist/connectors/config.js +7 -6
  169. package/dist/connectors/index.js +23 -22
  170. package/dist/connectors/src/connector-manager.d.ts +53 -3
  171. package/dist/connectors/src/connector-manager.d.ts.map +1 -1
  172. package/dist/connectors/src/connector-prompt.d.ts +16 -2
  173. package/dist/connectors/src/connector-prompt.d.ts.map +1 -1
  174. package/dist/connectors/src/fleet-utils.d.ts +3 -4
  175. package/dist/connectors/src/fleet-utils.d.ts.map +1 -1
  176. package/dist/connectors/src/index.d.ts +3 -3
  177. package/dist/connectors/src/index.d.ts.map +1 -1
  178. package/dist/connectors-VX7YRFFS.js +45 -0
  179. package/dist/{connectors-T57XL7EA.js.map → connectors-VX7YRFFS.js.map} +1 -1
  180. package/dist/core/discovery.js +1 -1
  181. package/dist/core/driver-targets.js +1 -1
  182. package/dist/core/index.js +11 -10
  183. package/dist/core/manifest.js +2 -2
  184. package/dist/core/models.js +1 -1
  185. package/dist/core/plugin-groupings.d.ts +2 -0
  186. package/dist/core/plugin-groupings.js +4 -0
  187. package/dist/core/plugin-groupings.js.map +1 -0
  188. package/dist/core/publish-manifest.js +2 -2
  189. package/dist/core/ref.js +1 -1
  190. package/dist/core/runtime-assets.js +7 -6
  191. package/dist/core/src/discovery.d.ts +11 -51
  192. package/dist/core/src/discovery.d.ts.map +1 -1
  193. package/dist/core/src/driver-targets.d.ts +10 -0
  194. package/dist/core/src/driver-targets.d.ts.map +1 -1
  195. package/dist/core/src/index.d.ts +5 -4
  196. package/dist/core/src/index.d.ts.map +1 -1
  197. package/dist/core/src/models.d.ts +6 -33
  198. package/dist/core/src/models.d.ts.map +1 -1
  199. package/dist/core/src/plugin-groupings.d.ts +31 -0
  200. package/dist/core/src/plugin-groupings.d.ts.map +1 -0
  201. package/dist/core/src/repo-manager.d.ts.map +1 -1
  202. package/dist/core/src/settings.d.ts +14 -1
  203. package/dist/core/src/settings.d.ts.map +1 -1
  204. package/dist/core/src/workspace-config.d.ts +1 -1
  205. package/dist/core/store.js +2 -2
  206. package/dist/core/workspace-config.js +6 -5
  207. package/dist/deploy/index.js +11 -10
  208. package/dist/deploy/index.js.map +1 -1
  209. package/dist/discovery/index.js +6 -5
  210. package/dist/discovery/src/discover.d.ts +9 -25
  211. package/dist/discovery/src/discover.d.ts.map +1 -1
  212. package/dist/discovery/src/index.d.ts +0 -2
  213. package/dist/discovery/src/index.d.ts.map +1 -1
  214. package/dist/discovery/src/source-config.d.ts +13 -9
  215. package/dist/discovery/src/source-config.d.ts.map +1 -1
  216. package/dist/discovery/src/tree-entries.d.ts +6 -11
  217. package/dist/discovery/src/tree-entries.d.ts.map +1 -1
  218. package/dist/{ensure-sources-J5CDTQ36.js → ensure-sources-2XQS32WI.js} +20 -19
  219. package/dist/ensure-sources-2XQS32WI.js.map +1 -0
  220. package/dist/factory-assets/README.md +1 -1
  221. package/dist/factory-assets/connectors/box.js +23 -22
  222. package/dist/factory-assets/connectors/deploy.js +23 -22
  223. package/dist/factory-assets/connectors/devserver.js +23 -22
  224. package/dist/factory-assets/connectors/flow/CONNECTOR.md +6 -1
  225. package/dist/factory-assets/connectors/flow/adapter.d.ts.map +1 -1
  226. package/dist/factory-assets/connectors/flow/adapter.js +23 -22
  227. package/dist/factory-assets/connectors/flow/contract/flow.v2.schema.json +13 -3
  228. package/dist/factory-assets/connectors/flow/contract/index.d.ts +1 -0
  229. package/dist/factory-assets/connectors/flow/contract/index.d.ts.map +1 -1
  230. package/dist/factory-assets/connectors/flow/contract/output-fields.d.ts +21 -5
  231. package/dist/factory-assets/connectors/flow/contract/output-fields.d.ts.map +1 -1
  232. package/dist/factory-assets/connectors/flow/contract/schema.d.ts +2 -0
  233. package/dist/factory-assets/connectors/flow/contract/schema.d.ts.map +1 -1
  234. package/dist/factory-assets/connectors/flow/contract/sub-flow-output.d.ts +20 -0
  235. package/dist/factory-assets/connectors/flow/contract/sub-flow-output.d.ts.map +1 -0
  236. package/dist/factory-assets/connectors/flow/contract.js +4 -4
  237. package/dist/factory-assets/connectors/flow/engine/bindings.d.ts.map +1 -1
  238. package/dist/factory-assets/connectors/flow/engine/flow-output.d.ts +12 -0
  239. package/dist/factory-assets/connectors/flow/engine/flow-output.d.ts.map +1 -0
  240. package/dist/factory-assets/connectors/flow/engine/index.d.ts +1 -0
  241. package/dist/factory-assets/connectors/flow/engine/index.d.ts.map +1 -1
  242. package/dist/factory-assets/connectors/flow/engine/loader.d.ts +3 -3
  243. package/dist/factory-assets/connectors/flow/engine/locate.d.ts +2 -2
  244. package/dist/factory-assets/connectors/flow/engine/locate.d.ts.map +1 -1
  245. package/dist/factory-assets/connectors/flow/engine/types.d.ts +0 -2
  246. package/dist/factory-assets/connectors/flow/engine/types.d.ts.map +1 -1
  247. package/dist/factory-assets/connectors/flow/engine.js +15 -14
  248. package/dist/factory-assets/connectors/flow/inline-sub-flow-host.d.ts.map +1 -1
  249. package/dist/factory-assets/connectors/flow/prompt-fragments.js +3 -3
  250. package/dist/factory-assets/connectors/flow/run-flow.d.ts.map +1 -1
  251. package/dist/factory-assets/connectors/flow/run-flow.js +25 -24
  252. package/dist/factory-assets/connectors/flow/sub-flow-runner.d.ts +6 -5
  253. package/dist/factory-assets/connectors/flow/sub-flow-runner.d.ts.map +1 -1
  254. package/dist/factory-assets/connectors/flow.js +23 -22
  255. package/dist/factory-assets/connectors/git.js +23 -22
  256. package/dist/factory-assets/connectors/gmail.js +23 -22
  257. package/dist/factory-assets/connectors/googledrive.js +23 -22
  258. package/dist/factory-assets/connectors/local.js +23 -22
  259. package/dist/factory-assets/connectors/mattermost.js +23 -22
  260. package/dist/factory-assets/connectors/memory.js +23 -22
  261. package/dist/factory-assets/connectors/minio.js +23 -22
  262. package/dist/factory-assets/connectors/postgres.js +23 -22
  263. package/dist/factory-assets/connectors/s3.js +23 -22
  264. package/dist/factory-assets/connectors/sharepoint.js +23 -22
  265. package/dist/factory-assets/connectors/sqlite.js +23 -22
  266. package/dist/factory-assets/connectors/static-server.js +23 -22
  267. package/dist/factory-assets/connectors/tunnel.js +23 -22
  268. package/dist/factory-assets/connectors/webdav.js +23 -22
  269. package/dist/factory-assets/connectors/xstate-store.js +23 -22
  270. package/dist/factory-assets/connectors/xstate.js +23 -22
  271. package/dist/factory-assets/skills/skaile-author-asset/SKILL.md +37 -26
  272. package/dist/factory-assets/skills/skaile-manage-workspace/SKILL.md +2 -2
  273. package/dist/factory-assets/skills/skailify/SKILL.md +10 -19
  274. package/dist/flows-SVCCADGE.js +26 -0
  275. package/dist/{flows-PX53XFV7.js.map → flows-SVCCADGE.js.map} +1 -1
  276. package/dist/helpers-IELQGVGB.js +34 -0
  277. package/dist/{helpers-EP6H3O3S.js.map → helpers-IELQGVGB.js.map} +1 -1
  278. package/dist/library/index.js +15 -14
  279. package/dist/library/install.js +2 -2
  280. package/dist/library/src/index.d.ts +1 -1
  281. package/dist/library/src/index.d.ts.map +1 -1
  282. package/dist/library/src/local/db.d.ts.map +1 -1
  283. package/dist/library/src/local/library-manager.d.ts.map +1 -1
  284. package/dist/library/src/local/library.d.ts.map +1 -1
  285. package/dist/library/src/local/local-catalog-source.d.ts +14 -10
  286. package/dist/library/src/local/local-catalog-source.d.ts.map +1 -1
  287. package/dist/library/src/local/schema.d.ts +1 -20
  288. package/dist/library/src/local/schema.d.ts.map +1 -1
  289. package/dist/library/src/remote/remote-catalog-source.d.ts +1 -11
  290. package/dist/library/src/remote/remote-catalog-source.d.ts.map +1 -1
  291. package/dist/library/src/sync/manifest-writeback.d.ts +5 -5
  292. package/dist/library/src/sync/manifest-writeback.d.ts.map +1 -1
  293. package/dist/library/src/user-library.d.ts +1 -9
  294. package/dist/library/src/user-library.d.ts.map +1 -1
  295. package/dist/{library-publish-KKT73FJK.js → library-publish-TCFU3X5L.js} +39 -26
  296. package/dist/library-publish-TCFU3X5L.js.map +1 -0
  297. package/dist/open-library-SSBN4FX2.js +40 -0
  298. package/dist/{open-library-R62UBL6E.js.map → open-library-SSBN4FX2.js.map} +1 -1
  299. package/dist/open-registry-CHCWKV5W.js +32 -0
  300. package/dist/open-registry-CHCWKV5W.js.map +1 -0
  301. package/dist/paths-MKSI52PF.js +22 -0
  302. package/dist/{paths-W4LDORQQ.js.map → paths-MKSI52PF.js.map} +1 -1
  303. package/dist/{plugin-store-D45CREMJ.js → plugin-store-SVYV7L4C.js} +13 -12
  304. package/dist/plugin-store-SVYV7L4C.js.map +1 -0
  305. package/dist/plugins/index.js +1 -1
  306. package/dist/plugins/src/catalog-source.d.ts +4 -55
  307. package/dist/plugins/src/catalog-source.d.ts.map +1 -1
  308. package/dist/plugins/src/index.d.ts +1 -1
  309. package/dist/plugins/src/index.d.ts.map +1 -1
  310. package/dist/project-PJ37PM6N.js +35 -0
  311. package/dist/{project-GCW5DFAB.js.map → project-PJ37PM6N.js.map} +1 -1
  312. package/dist/resolver/index.js +12 -11
  313. package/dist/runner/index.js +35 -34
  314. package/dist/runner/src/compaction/orchestrator.d.ts +2 -1
  315. package/dist/runner/src/compaction/orchestrator.d.ts.map +1 -1
  316. package/dist/runner/src/compaction-gate.d.ts +13 -0
  317. package/dist/runner/src/compaction-gate.d.ts.map +1 -1
  318. package/dist/runner/src/fleet-health-flag-dispatcher.d.ts +14 -11
  319. package/dist/runner/src/fleet-health-flag-dispatcher.d.ts.map +1 -1
  320. package/dist/runner/src/serve.d.ts.map +1 -1
  321. package/dist/sdk/asset-manager.js +17 -16
  322. package/dist/sdk/bridge.js +15 -14
  323. package/dist/sdk/core.js +11 -10
  324. package/dist/sdk/flow.js +15 -14
  325. package/dist/sdk/index.js +35 -34
  326. package/dist/sdk/index.js.map +1 -1
  327. package/dist/sdk/resolver.js +12 -11
  328. package/dist/sdk/runner.js +35 -34
  329. package/dist/secrets/index.js +2 -2
  330. package/dist/{setup-Q3LXY5AE.js → setup-JW2ZGCUG.js} +25 -24
  331. package/dist/setup-JW2ZGCUG.js.map +1 -0
  332. package/dist/skills-7K2YO3KN.js +26 -0
  333. package/dist/{skills-R3RPIPWP.js.map → skills-7K2YO3KN.js.map} +1 -1
  334. package/dist/source-F2VO32W6.js +41 -0
  335. package/dist/{source-CFQESKJU.js.map → source-F2VO32W6.js.map} +1 -1
  336. package/dist/{source-manifest-publish-3TCBA2RV.js → source-manifest-publish-AXNII2J4.js} +29 -27
  337. package/dist/source-manifest-publish-AXNII2J4.js.map +1 -0
  338. package/dist/tui/index.js +35 -34
  339. package/dist/tui/index.js.map +1 -1
  340. package/dist/workspace-plugin/adapters/mcp.js +40 -18
  341. package/dist/workspace-plugin/adapters/omp.js +21 -21
  342. package/dist/workspace-plugin/adapters/omp.js.map +1 -1
  343. package/dist/workspace-plugin/index.js +1 -1
  344. package/dist/workspace-plugin/src/adapters/mcp.d.ts +4 -4
  345. package/dist/workspace-plugin/src/adapters/mcp.d.ts.map +1 -1
  346. package/dist/workspace-plugin/src/adapters/omp.d.ts +2 -2
  347. package/dist/workspace-plugin/src/tools/connectors.d.ts +1 -1
  348. package/dist/workspace-plugin/src/tools/connectors.d.ts.map +1 -1
  349. package/dist/workspace-plugin/src/tools/skills.d.ts +5 -17
  350. package/dist/workspace-plugin/src/tools/skills.d.ts.map +1 -1
  351. package/package.json +7 -1
  352. package/dist/asset-feeds-KXL45ALC.js +0 -210
  353. package/dist/asset-feeds-KXL45ALC.js.map +0 -1
  354. package/dist/chunk-252TK4RU.js.map +0 -1
  355. package/dist/chunk-35G4M33T.js.map +0 -1
  356. package/dist/chunk-3C3ODIDE.js.map +0 -1
  357. package/dist/chunk-5LF27VUB.js.map +0 -1
  358. package/dist/chunk-5RWL4L3X.js.map +0 -1
  359. package/dist/chunk-7RC37XFW.js.map +0 -1
  360. package/dist/chunk-A5EDMBFG.js.map +0 -1
  361. package/dist/chunk-DOVURNRK.js.map +0 -1
  362. package/dist/chunk-EB4ZTESQ.js.map +0 -1
  363. package/dist/chunk-H7N6RWNF.js.map +0 -1
  364. package/dist/chunk-JEPSP6XK.js.map +0 -1
  365. package/dist/chunk-NLKIW2VI.js.map +0 -1
  366. package/dist/chunk-OLMNDIAU.js.map +0 -1
  367. package/dist/chunk-ORH2BZEM.js.map +0 -1
  368. package/dist/chunk-P7BU6DAC.js.map +0 -1
  369. package/dist/chunk-QVZA2MDT.js +0 -81
  370. package/dist/chunk-QVZA2MDT.js.map +0 -1
  371. package/dist/chunk-SM6EUQMY.js.map +0 -1
  372. package/dist/chunk-TQ6XNACF.js.map +0 -1
  373. package/dist/chunk-TSVRKUGV.js.map +0 -1
  374. package/dist/chunk-VDBP6Y5M.js.map +0 -1
  375. package/dist/chunk-X4DKUGV4.js.map +0 -1
  376. package/dist/chunk-XU7JET5Z.js.map +0 -1
  377. package/dist/chunk-YV3YI3TA.js.map +0 -1
  378. package/dist/connectors-T57XL7EA.js +0 -5
  379. package/dist/discovery/src/domains.d.ts +0 -149
  380. package/dist/discovery/src/domains.d.ts.map +0 -1
  381. package/dist/ensure-sources-J5CDTQ36.js.map +0 -1
  382. package/dist/flows-PX53XFV7.js +0 -25
  383. package/dist/helpers-EP6H3O3S.js +0 -33
  384. package/dist/library-publish-KKT73FJK.js.map +0 -1
  385. package/dist/open-library-R62UBL6E.js +0 -38
  386. package/dist/paths-W4LDORQQ.js +0 -21
  387. package/dist/plugin-store-D45CREMJ.js.map +0 -1
  388. package/dist/project-GCW5DFAB.js +0 -34
  389. package/dist/setup-Q3LXY5AE.js.map +0 -1
  390. package/dist/skills-R3RPIPWP.js +0 -25
  391. package/dist/source-CFQESKJU.js +0 -39
  392. package/dist/source-manifest-publish-3TCBA2RV.js.map +0 -1
@@ -13,7 +13,7 @@
13
13
  * - **Remote store** — the configured catalog source when `catalog.url` is
14
14
  * not `local`. Failures are non-fatal — they surface as notes.
15
15
  */
16
- import { type CatalogDomain, type CatalogEntry } from "@skaile/workspaces/core";
16
+ import { type CatalogEntry } from "@skaile/workspaces/core";
17
17
  /** One non-fatal note returned to the caller for surfacing in the UI. */
18
18
  export interface FeedNote {
19
19
  feed: "sources" | "libraries" | "store" | "factory";
@@ -41,13 +41,6 @@ export interface OriginEntry {
41
41
  }
42
42
  export interface AssetFeedResult {
43
43
  entries: OriginEntry[];
44
- /**
45
- * Display-only domain metadata, keyed (by the consumer) on `slug`. Populated
46
- * from the store's `catalog.listDomains` when the connected catalog source
47
- * exposes it; empty otherwise. The manage TUI joins `entry.domainSlug` → a
48
- * domain for grouping headers, descriptions, and relation badges.
49
- */
50
- domains: CatalogDomain[];
51
44
  notes: FeedNote[];
52
45
  }
53
46
  /** The slice of `AssetManager` the source feed needs (kept narrow for tests). */
@@ -1 +1 @@
1
- {"version":3,"file":"asset-feeds.d.ts","sourceRoot":"","sources":["../../../cli/src/asset-feeds.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,YAAY,EAKlB,MAAM,yBAAyB,CAAC;AASjC,yEAAyE;AACzE,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,SAAS,CAAC;IACpD,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;GAMG;AACH,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAErE,iEAAiE;AACjE,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,YAAY,CAAC;IACpB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB;;;;;OAKG;IACH,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB;AA+LD,iFAAiF;AACjF,UAAU,gBA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E,EAAE,gBAAgB,EACpB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,eAAe,CAAC,CAa1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"asset-cmd.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/asset-cmd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAcH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA0DpC,wBAAgB,gBAAgB,IAAI,OAAO,CAqU1C"}
1
+ {"version":3,"file":"asset-cmd.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/asset-cmd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAcH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAoDpC,wBAAgB,gBAAgB,IAAI,OAAO,CA8S1C"}
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/catalog.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EACL,YAAY,EAOb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,KAAK,YAAY,EAMlB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAgB5C;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,CAAC,EAAE,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,WAAW,GAAG,MAAM,GAAG,SAAS,CAAC,GAC/D,MAAM,CAER;AAWD,8FAA8F;AAC9F,wBAAgB,aAAa,IAAI,MAAM,CAGtC;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAK9D;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG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CAAE,KAAK,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;AAErF,iFAAiF;AACjF,UAAU,eAAe;IACvB,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC,CAAC;IAChD,YAAY,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,YAAY,EAAE,CAAC;CAC7C;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,YAAY,GAAG,IAAI,CAAC;IAC3B,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAyBD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,gBAAgB,CACpC,EAAE,EAAE,eAAe,EACnB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,eAAe,CAAA;CAAE,GAC1D,OAAO,CAAC,gBAAgB,CAAC,CA0D3B;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,IAAI,CAAC,gBAAgB,EAAE,WAAW,GAAG,eAAe,CAAC,GAC5D,MAAM,CAOR;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,IAAI,OAAO,CAsCzC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAkB3C;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CA2B3C"}
@@ -1,13 +1,13 @@
1
1
  import { Command } from "commander";
2
2
  /**
3
- * Create the `skaile flow` command group.
4
- *
5
3
  * Browses flows discovered across every content root via {@link discoverFlows}
6
4
  * (the project's `.skaile/` install root, bundled factory-assets when installed /
7
5
  * the monorepo tree in dev, user libraries, and the global `~/.skaile/` install
8
- * root). Subcommands: `list` (print all available flows with their IDs, names,
9
- * and descriptions) and `show <id>` (print the flow's metadata and its skill
10
- * nodes in execution order, marking optional nodes).
6
+ * root) plus the flows of every registered local library
7
+ * ({@link discoverFlowsWithLibraries}), so a freshly `library create`d flow is
8
+ * listed before `skaile add`. Subcommands: `list` (print all available flows with
9
+ * their IDs, names, and descriptions) and `show <id>` (print the flow's metadata
10
+ * and its skill nodes in execution order, marking optional nodes).
11
11
  *
12
12
  * Both take `--project-dir` and forward it to discovery, so they list exactly the
13
13
  * flows `skaile run --project-dir <same>` can start.
@@ -1 +1 @@
1
- {"version":3,"file":"library-cmd.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/library-cmd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AA0BH,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAuF5C,wBAAgB,kBAAkB,IAAI,OAAO,CAkuB5C"}
1
+ {"version":3,"file":"library-cmd.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/library-cmd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AA2BH,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAkF5C,wBAAgB,kBAAkB,IAAI,OAAO,CAmoB5C"}
@@ -30,37 +30,30 @@ export interface IndexLibraryResult {
30
30
  * Returns the sync counters so a caller can report `Indexed N asset(s)`.
31
31
  */
32
32
  export declare function indexLibrary(lib: Library, index?: LocalIndex): Promise<IndexLibraryResult>;
33
- /**
34
- * Read a domain's declared publisher from `<lib>/<domain>/DOMAIN.md`.
35
- *
36
- * The DOMAIN.md frontmatter (written by `library domain create`) carries a
37
- * `publisher` field. Returns it when present, else `undefined` — the caller
38
- * falls through the resolution chain.
39
- */
40
- export declare function domainPublisher(libraryPath: string, domain: string): string | undefined;
41
33
  /**
42
34
  * Resolve the publisher for an asset created inside a library. Never throws.
43
35
  *
44
36
  * Fallback chain (first hit wins):
45
37
  * 1. `opts.publisher` (an explicit `--publisher`),
46
- * 2. the domain's DOMAIN.md publisher when the asset sits under a domain
47
- * (`domain` names a first-level dir carrying a DOMAIN.md),
38
+ * 2. the library manifest's top-level `publisher` (`skaile.manifest.yaml`),
48
39
  * 3. the author's verified store identity (`githubLogin`, else `username`)
49
40
  * when signed in — the publisher they can actually publish under,
50
41
  * 4. the kebab-cased library name (e.g. `My Lib` → `my-lib`) as a last resort.
51
42
  *
43
+ * The publisher is never derived from where the asset sits in the library:
44
+ * every asset inherits the library's publisher unless it sets its own.
45
+ *
52
46
  * Identity beats the library name because the library name is almost never a
53
47
  * namespace the author can publish; stamping it led to publishes that only
54
48
  * failed at the store. Passed in (not read here) to keep this pure + testable.
55
49
  *
56
50
  * @param lib - The target library.
57
51
  * @param opts - Optional explicit `--publisher`.
58
- * @param domain - Optional first-level directory the asset was placed under.
59
52
  * @param storeIdentity - The author's decoded store identity, or null when signed out.
60
53
  */
61
54
  export declare function resolveLibraryPublisher(lib: Pick<Library, "name" | "path">, opts: {
62
55
  publisher?: string;
63
- }, domain?: string, storeIdentity?: {
56
+ }, storeIdentity?: {
64
57
  username?: string;
65
58
  githubLogin?: string;
66
59
  } | null): string;
@@ -1 +1 @@
1
- {"version":3,"file":"library-index.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/library-index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAKtE,yDAAyD;AACzD,MAAM,WAAW,kBAAkB;IACjC,wDAAwD;IACxD,WAAW,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,aAAa,EAAE,MAAM,CAAC;IACtB,iDAAiD;IACjD,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;;;;;;GAQG;AACH,wBAAsB,YAAY,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAchG;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,WAAW,EA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1 @@
1
- {"version":3,"file":"library-publish.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/library-publish.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAY/C,OAAO,EAA2B,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAYtF,+EAA+E;AAC/E,KAAK,SAAS,GAAG,OAAO,SAAS,CAAC;AAoWlC;;;;GAIG;AACH,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE;IACJ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,EACD,MAAM,CAAC,EAAE,eAAe,EACxB,KAAK,GAAE,SAAqB,GAC3B,OAAO,CAAC,IAAI,CAAC,CAEf;AAED;;;;GAIG;AACH,wBAAsB,kBAAkB,CACtC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,EACxD,MAAM,CAAC,EAAE,eAAe,EACxB,KAAK,GAAE,SAAqB,GAC3B,OAAO,CAAC,IAAI,CAAC,CAEf;AAED;;;;GAIG;AACH,wBAAsB,cAAc,CAClC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,EACxB,MAAM,CAAC,EAAE,eAAe,GACvB,OAAO,CAAC,IAAI,CAAC,CAwDf"}
1
+ {"version":3,"file":"library-publish.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/library-publish.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAY/C,OAAO,EAA2B,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AActF,+EAA+E;AAC/E,KAAK,SAAS,GAAG,OAAO,SAAS,CAAC;AAkXlC;;;;GAIG;AACH,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE;IACJ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,EACD,MAAM,CAAC,EAAE,eAAe,EACxB,KAAK,GAAE,SAAqB,GAC3B,OAAO,CAAC,IAAI,CAAC,CAEf;AAED;;;;GAIG;AACH,wBAAsB,kBAAkB,CACtC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,EACxD,MAAM,CAAC,EAAE,eAAe,EACxB,KAAK,GAAE,SAAqB,GAC3B,OAAO,CAAC,IAAI,CAAC,CAEf;AAED;;;;GAIG;AACH,wBAAsB,cAAc,CAClC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,EACxB,MAAM,CAAC,EAAE,eAAe,GACvB,OAAO,CAAC,IAAI,CAAC,CAwDf"}
@@ -4,22 +4,24 @@
4
4
  * Tabs: [Assets] [Sources] [Libraries] [Pending] [Sync]
5
5
  *
6
6
  * - Assets — browse and queue install/remove for assets, grouped in a
7
- * `origin → publisher → domain → asset` tree. `origin` is the feed
7
+ * `origin → publisher → plugin → asset` tree. `origin` is the feed
8
8
  * the asset came from (Library / Sources / Skaile Factory Assets
9
9
  * / Store), the outermost collapsible band so it's clear where
10
10
  * each skill comes from.
11
- * `domain` is the sidecar `DOMAIN.md` grouping (display-only).
11
+ * `plugin` is the `.claude-plugin` manifest group the asset is
12
+ * listed in (display + select-all); unlisted assets fall under
13
+ * `Other` once the band has at least one plugin group.
12
14
  * - Sources — third-party github repos registered via `skaile source add`,
13
- * shown as a `Sources → org → repo → domain → asset` tree (the
15
+ * shown as a `Sources → org → repo → plugin → asset` tree (the
14
16
  * source-origin slice of the Assets feed, with an extra github-org
15
- * band). Domains default *collapsed*; install/remove works the
16
- * same as the Assets tab. CRUD stays in `skaile source …`.
17
+ * band). Plugin groups default *collapsed*; install/remove works
18
+ * the same as the Assets tab. CRUD stays in `skaile source …`.
17
19
  * - Libraries — user authoring places registered via `skaile library init`.
18
20
  * - Pending — staged adds/removes (rich rendering deferred to AF-LIB-TUI-RICH).
19
21
  * - Sync — bulk sync sources + libraries (deferred to AF-LIB-TUI-RICH).
20
22
  *
21
23
  * Keys: ↑↓/jk navigate, PgUp/PgDn/Home/End jump, ←/→ collapse/expand,
22
- * space/+/- select, a/Enter apply, d domain info, / search (assets),
24
+ * space/+/- select, a/Enter apply, / search (assets),
23
25
  * 1/2/3 filter to one origin · 0 clear, s sync, i info,
24
26
  * Tab switch, q/Esc quit
25
27
  *
@@ -29,77 +31,75 @@
29
31
  */
30
32
  import { type CatalogEntry } from "@skaile/workspaces/core";
31
33
  import { Command } from "commander";
32
- import type { AssetOrigin } from "../asset-feeds.ts";
34
+ import type { AssetOrigin, OriginEntry } from "../asset-feeds.ts";
33
35
  /**
34
36
  * A single row in the manage TUI asset list: an origin header, a publisher
35
- * header, a domain header, a domain info line, or an individual asset entry.
37
+ * header, a plugin header, or an individual asset entry.
36
38
  *
37
- * The tree is `origin → publisher → domain → asset`. `origin` (the feed the
39
+ * The tree is `origin → publisher → plugin → asset`. `origin` (the feed the
38
40
  * asset was gathered from — store / source / library / factory) is the outermost
39
41
  * band and is carried on **every** row, because the same group can appear
40
42
  * under more than one origin and must not collapse together. `source` holds the
41
43
  * **second-level group** — the publisher namespace for most origins, but the
42
44
  * source's short repo name under the Sources band (see {@link OriginEntry.group});
43
45
  * it is set on header rows **and** asset rows so grouping stays consistent.
44
- * `domainSlug` is the
45
- * navigational group from a sidecar `DOMAIN.md` (`""` = the synthetic "no
46
- * domain" group). A `repo` (`"<org>/<repo>"`) is no longer a grouping axis —
46
+ * `plugin` is the third-level group: the `.claude-plugin` manifest plugin an
47
+ * asset is listed in, or {@link OTHER_PLUGIN} for the unlisted remainder of a band
48
+ * that has at least one plugin group. It is set on `plugin-header` rows and on the
49
+ * asset rows rendered beneath one; `undefined` on an asset means it hangs directly
50
+ * under its band. A `repo` (`"<org>/<repo>"`) is no longer a grouping axis —
47
51
  * it rides on the asset row as a dim provenance badge only.
48
52
  *
49
- * A `domain-header` is **navigational**: it collapses/expands and toggles its
50
- * info region, but never bulk-installs (unlike origin/publisher headers).
53
+ * A `plugin-header` collapses/expands and bulk-selects its member assets, like
54
+ * the origin/publisher headers.
51
55
  *
52
56
  * @docLink cli/commands/manage#make-manage-command
53
57
  */
54
58
  export interface AssetRow {
55
- type: "origin-header" | "publisher-header" | "domain-header" | "domain-info" | "asset" | "source-root" | "org-header" | "repo-header" | "library-root" | "library-header";
59
+ type: "origin-header" | "publisher-header" | "plugin-header" | "asset" | "source-root" | "org-header" | "repo-header" | "library-root" | "library-header";
56
60
  origin?: AssetOrigin;
57
61
  source?: string;
58
62
  org?: string;
59
- domainSlug?: string;
63
+ plugin?: string;
60
64
  repo?: string;
61
65
  entry?: CatalogEntry;
62
66
  installed?: boolean;
63
- underDomain?: boolean;
64
- seq?: number;
65
67
  }
66
68
  /**
67
69
  * Filter the full asset row list to only rows that should be visible given the
68
- * current collapsed origin / publisher / domain sets, the per-domain info-expand
69
- * set, and the active origin filter. The tree is flat (`origin → publisher →
70
- * domain → asset`, domain slugs not nested), so collapse checks are exact set
71
- * membership — no prefix walking. Collapse keys are origin-namespaced so the
72
- * same publisher under two origins collapses independently.
70
+ * current collapsed origin / publisher / plugin sets and the active origin
71
+ * filter. The tree is flat (`origin → publisher → plugin → asset`), so collapse
72
+ * checks are exact set membership — no prefix walking. Collapse keys are
73
+ * origin-namespaced so the same publisher under two origins collapses
74
+ * independently.
73
75
  *
74
76
  * - Every row is hidden when an `originFilter` is set and the row's origin
75
77
  * doesn't match it.
76
78
  * - An `origin-header` is otherwise always visible.
77
79
  * - A `publisher-header` is hidden when its origin is collapsed.
78
- * - A `domain-header` is hidden when its origin or its `"origin:publisher"` key
79
- * is collapsed.
80
- * - A `domain-info` line follows the same rule as the domain's assets (shown
81
- * when the band is open). The `[d]` toggle changes only how it *renders*
82
- * (truncated ↔ full), not whether it shows.
83
- * - An asset under a real domain is hidden when that `"…:dom:<slug>"` key is
84
- * collapsed; a "no domain" asset only depends on its origin + publisher.
80
+ * - A `plugin-header` is hidden when its origin or its `"origin:publisher"` key
81
+ * is collapsed (a collapsed plugin hides its members, never its own header).
82
+ * - An asset under a plugin header is hidden when that `"…:plugin:<plugin>"` key
83
+ * is collapsed; a loose asset only depends on its origin + publisher.
85
84
  *
86
85
  * A non-empty `query` switches to **search mode**: only assets whose name,
87
86
  * publisher, or description contains it (case-insensitively) are kept, together
88
- * with the header / `domain-info` rows on their path. The collapse sets are
89
- * **ignored** while searching — search flattens the tree, otherwise matches
90
- * inside a default-collapsed band (e.g. `store`) would be invisible. The
91
- * `originFilter` still applies to every row (the two combine).
87
+ * with the header rows on their path (a plugin header stays iff a member
88
+ * matches). The collapse sets are **ignored** while searching — search flattens
89
+ * the tree, otherwise matches inside a default-collapsed band (e.g. `store`)
90
+ * would be invisible. The `originFilter` still applies to every row (the two
91
+ * combine).
92
92
  *
93
93
  * @param rows - Complete flat list of asset rows.
94
94
  * @param collapsedOrigins - Set of origins whose children are hidden.
95
95
  * @param collapsedSources - Set of `"origin:publisher"` keys whose children are hidden.
96
- * @param collapsedDomains - Set of `"origin:publisher:dom:<slug>"` keys whose assets are hidden.
96
+ * @param collapsedPlugins - Set of `"origin:publisher:plugin:<plugin>"` keys whose assets are hidden.
97
97
  * @param originFilter - When set, only rows of this origin are kept.
98
98
  * @param query - When non-empty, keep only matching assets + their ancestors (ignores collapse).
99
99
  * @returns Filtered array of visible rows.
100
100
  * @docLink cli/commands/manage#make-manage-command
101
101
  */
102
- export declare function buildVisibleRows(rows: AssetRow[], collapsedOrigins: Set<AssetOrigin>, collapsedSources: Set<string>, collapsedDomains: Set<string>, originFilter?: AssetOrigin | null, query?: string): AssetRow[];
102
+ export declare function buildVisibleRows(rows: AssetRow[], collapsedOrigins: Set<AssetOrigin>, collapsedSources: Set<string>, collapsedPlugins: Set<string>, originFilter?: AssetOrigin | null, query?: string): AssetRow[];
103
103
  /**
104
104
  * Split one raw stdin chunk into individual key presses.
105
105
  *
@@ -126,11 +126,11 @@ export declare function splitKeys(chunk: string): string[];
126
126
  export declare function originAssetRefs(rows: AssetRow[], origin: AssetOrigin): string[];
127
127
  /**
128
128
  * Return `kind:name` refs for all asset rows belonging to a specific
129
- * origin + publisher + domain slug (`""` = the "no domain" group).
129
+ * origin + publisher/group + plugin header ({@link OTHER_PLUGIN} = the `Other` bucket).
130
130
  *
131
131
  * @docLink cli/commands/manage#make-manage-command
132
132
  */
133
- export declare function domainAssetRefs(rows: AssetRow[], origin: AssetOrigin, publisher: string, slug: string): string[];
133
+ export declare function pluginAssetRefs(rows: AssetRow[], origin: AssetOrigin, group: string, plugin: string): string[];
134
134
  /**
135
135
  * Return `kind:name` refs for all asset rows belonging to a specific
136
136
  * origin + publisher (across its repos).
@@ -140,10 +140,12 @@ export declare function domainAssetRefs(rows: AssetRow[], origin: AssetOrigin, p
140
140
  export declare function sourceAssetRefs(rows: AssetRow[], origin: AssetOrigin, source: string): string[];
141
141
  /**
142
142
  * Build the flat Sources-tree row list from the source-origin asset rows.
143
- * Hierarchy: a single static "Sources" root → per github org → per repo → "no
144
- * domain" assets (directly under the repo) → per real domain (header + optional
145
- * info + assets). `registered` injects org/repo bands for sources that have no
146
- * discoverable assets yet, so a freshly-added source still shows up.
143
+ * Hierarchy: a single static "Sources" root → per github org → per repo → plugin
144
+ * groups (header + members) and, when the repo has at least one plugin group, an
145
+ * `Other` group for the unlisted assets; a repo with no plugin group stays flat
146
+ * (assets directly under the repo). `registered` injects org/repo bands for
147
+ * sources that have no discoverable assets yet, so a freshly-added source still
148
+ * shows up.
147
149
  *
148
150
  * @docLink cli/commands/manage#make-manage-command
149
151
  */
@@ -153,48 +155,62 @@ export declare function buildSourceTreeRows(assetRows: AssetRow[], registered?:
153
155
  }[]): AssetRow[];
154
156
  /**
155
157
  * Filter the flat Sources-tree rows to those visible given the collapsed
156
- * org / repo / domain sets. The root is always visible; an org-header hides
158
+ * org / repo / plugin sets. The root is always visible; an org-header hides
157
159
  * when no set applies above it; a repo-header hides under a collapsed org; a
158
- * domain-header hides under a collapsed org/repo; a domain-info / domained
159
- * asset hides under a collapsed domain (or any collapsed ancestor).
160
+ * plugin-header hides under a collapsed org/repo; an asset under a plugin
161
+ * header hides under a collapsed plugin (or any collapsed ancestor).
160
162
  *
161
163
  * @docLink cli/commands/manage#make-manage-command
162
164
  */
163
- export declare function buildVisibleSourceRows(rows: AssetRow[], collapsedOrgs: Set<string>, collapsedRepos: Set<string>, collapsedDomains: Set<string>): AssetRow[];
165
+ export declare function buildVisibleSourceRows(rows: AssetRow[], collapsedOrgs: Set<string>, collapsedRepos: Set<string>, collapsedPlugins: Set<string>): AssetRow[];
164
166
  /** Refs of all source-tree asset rows in a github org. */
165
167
  export declare function sourceOrgRefs(rows: AssetRow[], org: string): string[];
166
168
  /** Refs of all source-tree asset rows in a specific org + repo. */
167
169
  export declare function sourceRepoRefs(rows: AssetRow[], org: string, repo: string): string[];
168
- /** Refs of all source-tree asset rows in a specific org + repo + domain slug. */
169
- export declare function sourceDomainRefs(rows: AssetRow[], org: string, repo: string, slug: string): string[];
170
+ /** Refs of all source-tree asset rows under a plugin header in a specific org + repo. */
171
+ export declare function sourcePluginRefs(rows: AssetRow[], org: string, repo: string, plugin: string): string[];
170
172
  /**
171
173
  * Build the flat Libraries-tree row list from the library-origin asset rows.
172
- * Hierarchy: a single static "Libraries" root → per library band → "no domain"
173
- * assets (directly under the library) → per real domain (header + optional info
174
- * + assets). `registered` injects a band for each library that has no
175
- * discoverable assets yet, so a freshly-created library still shows up.
174
+ * Hierarchy: a single static "Libraries" root → per library band → plugin groups
175
+ * (header + members) and, when the library has at least one plugin group, an
176
+ * `Other` group for the unlisted assets; a library with no plugin group stays
177
+ * flat. `registered` injects a band for each library that has no discoverable
178
+ * assets yet, so a freshly-created library still shows up.
176
179
  *
177
180
  * @docLink cli/commands/manage#make-manage-command
178
181
  */
179
182
  export declare function buildLibraryTreeRows(assetRows: AssetRow[], registered?: string[]): AssetRow[];
180
183
  /**
181
184
  * Filter the flat Libraries-tree rows to those visible given the collapsed
182
- * group / domain sets. The root + library headers are always visible; everything
183
- * under a collapsed library hides; a domain-info / domained asset hides under a
184
- * collapsed domain (a "no domain" asset hangs directly under the library).
185
+ * group / plugin sets. The root + library headers are always visible; everything
186
+ * under a collapsed library hides; an asset under a plugin header hides under a
187
+ * collapsed plugin (a loose asset hangs directly under the library).
185
188
  *
186
189
  * @docLink cli/commands/manage#make-manage-command
187
190
  */
188
- export declare function buildVisibleLibraryRows(rows: AssetRow[], collapsedGroups: Set<string>, collapsedDomains: Set<string>): AssetRow[];
191
+ export declare function buildVisibleLibraryRows(rows: AssetRow[], collapsedGroups: Set<string>, collapsedPlugins: Set<string>): AssetRow[];
189
192
  /** Refs of all library-tree asset rows in a specific library band. */
190
193
  export declare function libraryGroupRefs(rows: AssetRow[], group: string): string[];
194
+ /**
195
+ * Build the Assets-tab row list from the feed entries: group by origin (the feed),
196
+ * then by second-level group (`OriginEntry.group` — the source name under Sources,
197
+ * else `entry.publisher`), and emit origin-header → publisher-header → the band's
198
+ * assets. Within a band, assets are laid out by `entry.plugin` via
199
+ * {@link layoutPluginBand}: plugin headers sorted by title, an `Other` header for
200
+ * the unlisted rest when the band has at least one plugin group, and a flat list
201
+ * (no plugin header) when it has none. The same group can appear under multiple
202
+ * origins, so origin is the outermost grouping key.
203
+ *
204
+ * @docLink cli/commands/manage#make-manage-command
205
+ */
206
+ export declare function buildAssetRows(entries: OriginEntry[], installed: Set<string>): AssetRow[];
191
207
  /**
192
208
  * Creates the `skaile manage` command.
193
209
  *
194
210
  * Opens an interactive terminal TUI (five tabs: Assets, Sources, Libraries,
195
211
  * Pending, Sync) for browsing, installing, and removing assets. The Sources tab
196
- * renders registered github sources as a `Sources → org → repo → domain → asset`
197
- * tree (domains default collapsed) and supports the same install/remove flow as
212
+ * renders registered github sources as a `Sources → org → repo → plugin → asset`
213
+ * tree (plugin groups default collapsed) and supports the same install/remove flow as
198
214
  * Assets. CRUD for sources and libraries remains in the shell
199
215
  * (`skaile source …` / `skaile library …`); the Libraries tab is still a
200
216
  * read-only scaffold pending AF-LIB-TUI-RICH.
@@ -1 +1 @@
1
- {"version":3,"file":"manage.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/manage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAIH,OAAO,EAGL,KAAK,YAAY,EAElB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,KAAK,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAC;AAalE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,QAAQ;IACvB,IAAI,EACA,eAAe,GACf,kBAAkB,GAClB,eAAe,GACf,aAAa,GACb,OAAO,GAGP,aAAa,GACb,YAAY,GACZ,aAAa,GAGb,cAAc,GACd,gBAAgB,CAAC;IACrB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IAC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AAC;QAAE,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACtE;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,8DAA8D;IAC9D,WAAW,EAAE,MAAM,CAAC;IACpB,+DAA+D;IAC/D,SAAS,EAAE,MAAM,CAAC;IAClB,+CAA+C;IAC/C,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,qBAAqB,CACzC,GAAG,EAAE,MAAM,EACX,IAAI,EAAE;IAAE,OAAO,EAAE,qBAAqB,CAAC;IAAC,OAAO,EAAE,cAAc,CAAA;CAAE,GAChE,OAAO,CAAC,wBAAwB,CAAC,CA8BnC;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,kBAAkB,IAAI,OAAO,CAoB5C;AAuKD;;;;;;GAMG;AACH,wBAAsB,uBAAuB,CAC3C,EAAE,EAAE,IAAI,CAAC,YAAY,EAAE,cAAc,GAAG,gBAAgB,CAAC,EACzD,MAAM,GAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAA+B,GACxD,OAAO,CAAC,IAAI,CAAC,CASf;AA6CD;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CA6B1C;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAwE1C"}
@@ -58,6 +58,16 @@ export declare function refFor(kind: string, publisher: string, name: string, ve
58
58
  export declare function assetNamespace(asset: {
59
59
  publisher?: string;
60
60
  }, manifest: SkPublishManifest): string | undefined;
61
+ /**
62
+ * The version-less canonical ref of one manifest asset for messages:
63
+ * `kind:@<publisher>/<name>` (`assets[].publisher ?? publisher`), or the bare
64
+ * `kind:name` when the manifest declares no namespace.
65
+ */
66
+ export declare function assetEntryRef(asset: {
67
+ kind: string;
68
+ name: string;
69
+ publisher?: string;
70
+ }, manifest: SkPublishManifest): string;
61
71
  /**
62
72
  * Every distinct namespace the manifest's assets (optionally narrowed to
63
73
  * `assetName`) publish under, in first-seen order. A manifest whose assets
@@ -1 +1 @@
1
- {"version":3,"file":"publish-core.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/publish-core.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,CAAC,EAAE;IAC7C,MAAM,EAAE,cAAc,GAAG,kBAAkB,GAAG,UAAU,GAAG,WAAW,CAAC;IACvE,OAAO,EAAE,MAAM,CAAC;CACjB,GAAG,MAAM,CAUT;AAED;;;;;;;;;GASG;AACH,wBAAsB,kBAAkB,CACtC,MAAM,EAAE,eAAe,EACvB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC;IAAE,EAAE,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAqB5C;AAED,iFAAiF;AACjF,UAAU,aAAa;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,CAAC,SAAS,aAAa,EAC/D,UAAU,EAAE,CAAC,EAAE,EACf,QAAQ,EAAE,iBAAiB,GAC1B,CAAC,EAAE,CAGL;AAED,6EAA6E;AAC7E,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAG9F;AAKD;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,KAAK,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,EAC7B,QAAQ,EAAE,iBAAiB,GAC1B,MAAM,GAAG,SAAS,CAEpB;AAED;;;;;GAKG;AACH,wBAA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EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAkDpC;;;;;;;;;;;;;GAaG;AACH,wBAAgB,cAAc,IAAI,OAAO,CAyHxC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAqC3C;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAoC3C;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAS1C;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,eAAe,IAAI,OAAO,CAuEzC"}
1
+ {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/run.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAkDpC;;;;;;;;;;;;;GAaG;AACH,wBAAgB,cAAc,IAAI,OAAO,CA8HxC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAqC3C;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAoC3C;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAS1C;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,eAAe,IAAI,OAAO,CAuEzC"}
@@ -2,7 +2,7 @@ import { Command } from "commander";
2
2
  /**
3
3
  * Creates the `skaile show` command.
4
4
  *
5
- * With no arguments prints a deployed-asset overview (grouped by domain with
5
+ * With no arguments prints a deployed-asset overview (grouped by publisher with
6
6
  * sync status). With `kind name` or `kind:name` arguments prints the raw
7
7
  * source content of a specific deployed asset.
8
8
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @docLink cli/commands/asset#import
8
8
  */
9
- import { type DomainMd } from "@skaile/workspaces/discovery";
9
+ import type { AssetEntry, SkPublishManifest } from "@skaile/workspaces/core";
10
10
  /** Default authoring version stamped on a skill that ships none. */
11
11
  export declare const DEFAULT_IMPORT_VERSION = "0.1.0";
12
12
  /** Default lifecycle stage stamped on an imported skill. */
@@ -64,36 +64,6 @@ export interface NormalizeResult {
64
64
  * byte-copy skips.
65
65
  */
66
66
  export declare function normalizeSkillContent(raw: string, opts?: NormalizeOptions): NormalizeResult;
67
- export interface EnsureDomainResult {
68
- /** Absolute path to the domain directory. */
69
- dir: string;
70
- /** Publisher slug derived for this domain (the dir name, kebab-cased). */
71
- publisher: string;
72
- /** True when this call created the directory / DOMAIN.md. */
73
- created: boolean;
74
- }
75
- /**
76
- * Scaffold a domain directory under a library: `<lib>/<domain>/DOMAIN.md`. A
77
- * domain is the first-level dir of an asset repo and defines the publisher
78
- * namespace, so assets placed beneath it publish as `@<publisher>/<name>`.
79
- * The domain name is the directory name and the DOMAIN.md `slug`, so a new
80
- * domain must be a valid domain slug (lowercase `a-z0-9` with single hyphens,
81
- * ≤39 chars); anything else throws before touching the disk.
82
- * No-op (returns `created: false`) when the DOMAIN.md already exists — whatever
83
- * its directory name — and `publisher` is then the file's own (else `opts`/slug).
84
- */
85
- export declare function ensureDomain(libraryPath: string, domain: string, opts?: {
86
- description?: string;
87
- publisher?: string;
88
- }): EnsureDomainResult;
89
- /**
90
- * Parse `<lib>/<domain>/DOMAIN.md` through discovery's {@link parseDomainMd} (the
91
- * one DOMAIN.md schema; legacy `name:` files resolve their slug too). `undefined`
92
- * when the file is absent or unreadable.
93
- */
94
- export declare function readDomainMd(libraryPath: string, domain: string): DomainMd | undefined;
95
- /** List the domains in a library — first-level dirs that carry a DOMAIN.md. */
96
- export declare function listDomains(libraryPath: string): string[];
97
67
  export interface UpsertAssetInput {
98
68
  kind: string;
99
69
  name: string;
@@ -122,4 +92,20 @@ export interface UpsertAssetResult {
122
92
  * that a plain byte-copy (`asset migrate`) leaves stale.
123
93
  */
124
94
  export declare function upsertManifestAsset(libraryPath: string, input: UpsertAssetInput): UpsertAssetResult;
95
+ /**
96
+ * The manifest entries that point at a directory which no longer exists in the
97
+ * library — an asset whose directory was deleted (or renamed) without the
98
+ * manifest following. Only first-party `root:` entries are checked: curated
99
+ * entries (`source:`) and `files:`-only entries carry no library directory.
100
+ * A root that exists but is malformed is NOT reported — that is the indexer's
101
+ * `ManifestFileMissing` warning, not a removed asset.
102
+ */
103
+ export declare function missingRootAssets(libraryPath: string, manifest: SkPublishManifest): AssetEntry[];
104
+ /**
105
+ * Drop every entry {@link missingRootAssets} reports from the library's
106
+ * `skaile.manifest.yaml` and write it back (same writer as
107
+ * {@link upsertManifestAsset}). Returns the removed entries; the manifest is
108
+ * left untouched when nothing is stale.
109
+ */
110
+ export declare function pruneMissingRootAssets(libraryPath: string): AssetEntry[];
125
111
  //# sourceMappingURL=skailify-lib.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"skailify-lib.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/skailify-lib.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAaH,OAAO,EAAE,KAAK,QAAQ,EAAoC,MAAM,8BAA8B,CAAC;AAG/F,oEAAoE;AACpE,eAAO,MAAM,sBAAsB,UAAU,CAAC;AAC9C,4DAA4D;AAC5D,eAAO,MAAM,oBAAoB,UAAU,CAAC;AAE5C;;;;GAIG;AACH,wBAAgB,gBAAgB,IAAI,MAAM,EAAE,CAM3C;AAED,MAAM,WAAW,oBAAoB;IACnC,4CAA4C;IAC5C,GAAG,EAAE,MAAM,CAAC;IACZ,6CAA6C;IAC7C,SAAS,EAAE,MAAM,CAAC;IAClB,8DAA8D;IAC9D,GAAG,EAAE,MAAM,GAAG,eAAe,CAAC;CAC/B;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,oBAAoB,GAAG,IAAI,CAiBnF;AAED,MAAM,WAAW,gBAAgB;IAC/B,6EAA6E;IAC7E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gDAAgD;IAChD,KAAK,CAAC,EAAE,M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C;IACtB,sFAAsF;IACtF,OAAO,EAAE,OAAO,CAAC;IACjB,oDAAoD;IACpD,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,GAAE,gBAAqB,GAAG,eAAe,CAwD/F;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,iBAAiB;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,kFAAkF;IAClF,KAAK,EAAE,OAAO,CAAC;CAChB;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,gBAAgB,GACtB,iBAAiB,CAuBnB;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,iBAAiB,GAAG,UAAU,EAAE,CAMhG;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,MAAM,GAAG,UAAU,EAAE,CAQxE"}
@@ -1 +1 @@
1
- {"version":3,"file":"source-manifest.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/source-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAqBH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAoBzC;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,MAAM,EACX,UAAU,EAAE,MAAM,GACjB;IAA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AAS,EAAE,MAAM,GAAG,SAAS,EAC7B,MAAM,EAAE,MAAM,GACb;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,EAAE,CAAA;CAAE,CAIrC;AAED,uEAAuE;AACvE,KAAK,SAAS,GAAG,CACf,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EAAE,EACd,IAAI,EAAE;IAAE,KAAK,EAAE,SAAS,CAAA;CAAE,KACvB;IAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC;AAE/B;;;;;;GAMG;AACH,wBAAgB,OAAO,CACrB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,EAC5B,KAAK,GAAE,SAA6C,GACnD,IAAI,CAgCN;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAqE5D"}
@@ -2,13 +2,31 @@
2
2
  * Validate asset versions, changelogs, and manifest schemas across asset repos.
3
3
  */
4
4
  import { Command } from "commander";
5
+ /** Outcome of {@link checkChangelogUnits}. All paths are root-relative posix. */
6
+ export interface ChangelogCheck {
7
+ /** Changelog units whose `CHANGELOG.md` is among the modified files. */
8
+ updated: string[];
9
+ /** Changelog units covering a modified asset whose `CHANGELOG.md` is not modified. */
10
+ stale: string[];
11
+ /** Modified assets with no `CHANGELOG.md` in any ancestor up to the root. */
12
+ orphans: string[];
13
+ }
14
+ /**
15
+ * Group the modified asset files by their nearest-ancestor `CHANGELOG.md` and
16
+ * report which units were updated alongside them. Assets under
17
+ * {@link EXCLUDED_PATHS} are ignored.
18
+ *
19
+ * @param modifiedFiles - Changed paths relative to `root`.
20
+ * @param root - The asset root (`ai-assets/`); the walk up never leaves it.
21
+ */
22
+ export declare function checkChangelogUnits(modifiedFiles: string[], root: string): ChangelogCheck;
5
23
  /**
6
24
  * Creates the `skaile validate` command group.
7
25
  *
8
26
  * Validates asset manifests, version fields, and changelogs in an asset
9
27
  * repository tree. Subcommands: default `validate [path]` (schema check),
10
- * `versions` (semver + flow pin validation), `changelog` (modified domains
11
- * must have updated CHANGELOG.md).
28
+ * `versions` (semver + flow pin validation), `changelog` (modified assets
29
+ * must have an updated nearest-ancestor CHANGELOG.md).
12
30
  *
13
31
  * @returns Configured {@link Command} ready for `program.addCommand()`.
14
32
  * @docLink cli/commands/validate#make-validate-command
@@ -1 +1 @@
1
- {"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/validate.ts"],"names":[],"mappings":"AAAA;;GAEG;AAmBH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAuoBpC;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,IAAI,OAAO,CA6F7C"}
1
+ {"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/validate.ts"],"names":[],"mappings":"AAAA;;GAEG;AAsBH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAggBpC,iFAAiF;AACjF,MAAM,WAAW,cAAc;IAC7B,wEAAwE;IACxE,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,sFAAsF;IACtF,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,6EAA6E;IAC7E,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,GAAG,cAAc,CAczF;AAqKD;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,IAAI,OAAO,CA6E7C"}