@skaile/workspaces 4.39.0 → 5.0.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 (337) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/{asset-feeds-KXL45ALC.js → asset-feeds-HIWT4DVT.js} +24 -96
  3. package/dist/asset-feeds-HIWT4DVT.js.map +1 -0
  4. package/dist/asset-manager/catalog-deployer.js +10 -9
  5. package/dist/asset-manager/index.js +15 -14
  6. package/dist/asset-manager/installer.js +10 -9
  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 +6 -8
  10. package/dist/asset-manager/src/index.d.ts.map +1 -1
  11. package/dist/bridge/drivers/claude-sdk.js +23 -11
  12. package/dist/bridge/drivers/claude-sdk.js.map +1 -1
  13. package/dist/bridge/drivers/codex.js +11 -10
  14. package/dist/bridge/drivers/codex.js.map +1 -1
  15. package/dist/bridge/drivers/continue.js +12 -11
  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 +12 -11
  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 +12 -11
  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 +13 -12
  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-7RC37XFW.js → chunk-22DN3DB2.js} +59 -12
  31. package/dist/chunk-22DN3DB2.js.map +1 -0
  32. package/dist/{chunk-SM6EUQMY.js → chunk-32DMH2GD.js} +8 -8
  33. package/dist/{chunk-SM6EUQMY.js.map → chunk-32DMH2GD.js.map} +1 -1
  34. package/dist/{chunk-A5EDMBFG.js → chunk-43ZBF3WH.js} +5 -8
  35. package/dist/chunk-43ZBF3WH.js.map +1 -0
  36. package/dist/{chunk-5RWL4L3X.js → chunk-53WMBXSL.js} +60 -14
  37. package/dist/chunk-53WMBXSL.js.map +1 -0
  38. package/dist/{chunk-YCMZHL4T.js → chunk-7QMRP6BC.js} +4 -4
  39. package/dist/{chunk-YCMZHL4T.js.map → chunk-7QMRP6BC.js.map} +1 -1
  40. package/dist/chunk-A2ULN3KX.js +40 -0
  41. package/dist/chunk-A2ULN3KX.js.map +1 -0
  42. package/dist/{chunk-DSB6X25D.js → chunk-AG44ZJ7W.js} +3 -3
  43. package/dist/{chunk-DSB6X25D.js.map → chunk-AG44ZJ7W.js.map} +1 -1
  44. package/dist/{chunk-SSCPTAFJ.js → chunk-CFL5IJHV.js} +3 -3
  45. package/dist/{chunk-SSCPTAFJ.js.map → chunk-CFL5IJHV.js.map} +1 -1
  46. package/dist/{chunk-36ML6SFP.js → chunk-CGJ7B6MZ.js} +4 -4
  47. package/dist/{chunk-36ML6SFP.js.map → chunk-CGJ7B6MZ.js.map} +1 -1
  48. package/dist/{chunk-6X4DHKHP.js → chunk-CT6NQSA4.js} +3 -3
  49. package/dist/{chunk-6X4DHKHP.js.map → chunk-CT6NQSA4.js.map} +1 -1
  50. package/dist/{chunk-5K2VT6E2.js → chunk-DXUQCMVT.js} +3 -3
  51. package/dist/{chunk-5K2VT6E2.js.map → chunk-DXUQCMVT.js.map} +1 -1
  52. package/dist/{chunk-B4IAZTZZ.js → chunk-EB6OPURC.js} +3 -3
  53. package/dist/{chunk-B4IAZTZZ.js.map → chunk-EB6OPURC.js.map} +1 -1
  54. package/dist/{chunk-252TK4RU.js → chunk-GFPG27HK.js} +12 -14
  55. package/dist/chunk-GFPG27HK.js.map +1 -0
  56. package/dist/{chunk-2EL2PBRC.js → chunk-H4EGUQ7M.js} +3 -3
  57. package/dist/{chunk-2EL2PBRC.js.map → chunk-H4EGUQ7M.js.map} +1 -1
  58. package/dist/{chunk-YQEF36D5.js → chunk-H5G3OYY6.js} +4 -4
  59. package/dist/{chunk-YQEF36D5.js.map → chunk-H5G3OYY6.js.map} +1 -1
  60. package/dist/{chunk-C75VKXAM.js → chunk-HD5K3BYW.js} +3 -3
  61. package/dist/{chunk-C75VKXAM.js.map → chunk-HD5K3BYW.js.map} +1 -1
  62. package/dist/{chunk-VJNTB4DN.js → chunk-HTBGJCKP.js} +4 -4
  63. package/dist/{chunk-VJNTB4DN.js.map → chunk-HTBGJCKP.js.map} +1 -1
  64. package/dist/{chunk-JEPSP6XK.js → chunk-HWE3FXF4.js} +17 -11
  65. package/dist/chunk-HWE3FXF4.js.map +1 -0
  66. package/dist/{chunk-QVLQGXT6.js → chunk-I3ITSUWS.js} +5 -5
  67. package/dist/{chunk-QVLQGXT6.js.map → chunk-I3ITSUWS.js.map} +1 -1
  68. package/dist/{chunk-H7N6RWNF.js → chunk-I7Z4FN52.js} +4 -4
  69. package/dist/{chunk-H7N6RWNF.js.map → chunk-I7Z4FN52.js.map} +1 -1
  70. package/dist/{chunk-WCWFS36P.js → chunk-IGXKUCLI.js} +3 -3
  71. package/dist/{chunk-WCWFS36P.js.map → chunk-IGXKUCLI.js.map} +1 -1
  72. package/dist/{chunk-VXPFSZDT.js → chunk-JFVEX4G5.js} +6 -6
  73. package/dist/{chunk-VXPFSZDT.js.map → chunk-JFVEX4G5.js.map} +1 -1
  74. package/dist/{chunk-YYH5EVPM.js → chunk-JUXQUZOQ.js} +12 -4
  75. package/dist/{chunk-YYH5EVPM.js.map → chunk-JUXQUZOQ.js.map} +1 -1
  76. package/dist/{chunk-M7GPCWEV.js → chunk-KREXWKVX.js} +3 -3
  77. package/dist/{chunk-M7GPCWEV.js.map → chunk-KREXWKVX.js.map} +1 -1
  78. package/dist/{chunk-TQ6XNACF.js → chunk-LHFZTVIM.js} +23 -24
  79. package/dist/chunk-LHFZTVIM.js.map +1 -0
  80. package/dist/{chunk-YV3YI3TA.js → chunk-MBVNMPG7.js} +4 -4
  81. package/dist/{chunk-YV3YI3TA.js.map → chunk-MBVNMPG7.js.map} +1 -1
  82. package/dist/{chunk-3C3ODIDE.js → chunk-MX7IRKTO.js} +6 -6
  83. package/dist/{chunk-3C3ODIDE.js.map → chunk-MX7IRKTO.js.map} +1 -1
  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-5LF27VUB.js → chunk-ODT7HSLI.js} +16 -15
  87. package/dist/chunk-ODT7HSLI.js.map +1 -0
  88. package/dist/{chunk-QBQITQAM.js → chunk-PV4OBVA3.js} +3 -3
  89. package/dist/{chunk-QBQITQAM.js.map → chunk-PV4OBVA3.js.map} +1 -1
  90. package/dist/{chunk-ORH2BZEM.js → chunk-QCI6D7E4.js} +69 -22
  91. package/dist/chunk-QCI6D7E4.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-RP4B4HVX.js} +11 -2
  95. package/dist/chunk-RP4B4HVX.js.map +1 -0
  96. package/dist/{chunk-X4DKUGV4.js → chunk-RSHMAEK3.js} +7 -13
  97. package/dist/chunk-RSHMAEK3.js.map +1 -0
  98. package/dist/chunk-RVRB27AN.js +64 -0
  99. package/dist/chunk-RVRB27AN.js.map +1 -0
  100. package/dist/{chunk-5NYBY6ZE.js → chunk-TVOODIZE.js} +3 -3
  101. package/dist/{chunk-5NYBY6ZE.js.map → chunk-TVOODIZE.js.map} +1 -1
  102. package/dist/{chunk-FTPKMJFD.js → chunk-TVYLXZTT.js} +2 -2
  103. package/dist/{chunk-FTPKMJFD.js.map → chunk-TVYLXZTT.js.map} +1 -1
  104. package/dist/{chunk-EOKAFBJ7.js → chunk-TYUJB336.js} +3 -3
  105. package/dist/{chunk-EOKAFBJ7.js.map → chunk-TYUJB336.js.map} +1 -1
  106. package/dist/{chunk-OLMNDIAU.js → chunk-UVOJSWD2.js} +95 -320
  107. package/dist/chunk-UVOJSWD2.js.map +1 -0
  108. package/dist/{chunk-DOVURNRK.js → chunk-VDJKWKH2.js} +3 -3
  109. package/dist/chunk-VDJKWKH2.js.map +1 -0
  110. package/dist/{chunk-VDBP6Y5M.js → chunk-WCQMXBO5.js} +21 -47
  111. package/dist/chunk-WCQMXBO5.js.map +1 -0
  112. package/dist/{chunk-NLKIW2VI.js → chunk-WOJ4AK3Q.js} +3 -3
  113. package/dist/{chunk-NLKIW2VI.js.map → chunk-WOJ4AK3Q.js.map} +1 -1
  114. package/dist/{chunk-XU7JET5Z.js → chunk-X7MHVL4R.js} +16 -100
  115. package/dist/chunk-X7MHVL4R.js.map +1 -0
  116. package/dist/{chunk-K3IBZ2UZ.js → chunk-XUUYAS3Z.js} +3 -3
  117. package/dist/{chunk-K3IBZ2UZ.js.map → chunk-XUUYAS3Z.js.map} +1 -1
  118. package/dist/{chunk-BCUVRJXV.js → chunk-XWLEXD34.js} +3 -3
  119. package/dist/{chunk-BCUVRJXV.js.map → chunk-XWLEXD34.js.map} +1 -1
  120. package/dist/{chunk-P7BU6DAC.js → chunk-YOWFUJO7.js} +69 -31
  121. package/dist/chunk-YOWFUJO7.js.map +1 -0
  122. package/dist/{chunk-OQRB7JUS.js → chunk-YV4J7V53.js} +3 -3
  123. package/dist/{chunk-OQRB7JUS.js.map → chunk-YV4J7V53.js.map} +1 -1
  124. package/dist/{chunk-JXT46QFC.js → chunk-ZDKJHQY2.js} +2 -2
  125. package/dist/{chunk-JXT46QFC.js.map → chunk-ZDKJHQY2.js.map} +1 -1
  126. package/dist/cli/index.js +375 -699
  127. package/dist/cli/index.js.map +1 -1
  128. package/dist/cli/src/asset-feeds.d.ts +1 -8
  129. package/dist/cli/src/asset-feeds.d.ts.map +1 -1
  130. package/dist/cli/src/commands/asset-cmd.d.ts.map +1 -1
  131. package/dist/cli/src/commands/library-cmd.d.ts.map +1 -1
  132. package/dist/cli/src/commands/library-index.d.ts +5 -12
  133. package/dist/cli/src/commands/library-index.d.ts.map +1 -1
  134. package/dist/cli/src/commands/manage.d.ts +74 -58
  135. package/dist/cli/src/commands/manage.d.ts.map +1 -1
  136. package/dist/cli/src/commands/show.d.ts +1 -1
  137. package/dist/cli/src/commands/skailify-lib.d.ts +0 -31
  138. package/dist/cli/src/commands/skailify-lib.d.ts.map +1 -1
  139. package/dist/cli/src/commands/source-manifest.d.ts.map +1 -1
  140. package/dist/cli/src/commands/validate.d.ts +20 -2
  141. package/dist/cli/src/commands/validate.d.ts.map +1 -1
  142. package/dist/cli/src/flow-discovery.d.ts +2 -2
  143. package/dist/cli/src/hooks/pre-commit-version.d.ts +1 -1
  144. package/dist/cli/src/skill-walker.d.ts +7 -10
  145. package/dist/cli/src/skill-walker.d.ts.map +1 -1
  146. package/dist/connectors/config.js +6 -5
  147. package/dist/connectors/index.js +21 -20
  148. package/dist/core/discovery.js +1 -1
  149. package/dist/core/index.js +9 -8
  150. package/dist/core/manifest.js +2 -2
  151. package/dist/core/models.js +1 -1
  152. package/dist/core/plugin-groupings.d.ts +2 -0
  153. package/dist/core/plugin-groupings.js +4 -0
  154. package/dist/core/plugin-groupings.js.map +1 -0
  155. package/dist/core/publish-manifest.js +2 -2
  156. package/dist/core/ref.js +1 -1
  157. package/dist/core/runtime-assets.js +6 -5
  158. package/dist/core/src/discovery.d.ts +11 -51
  159. package/dist/core/src/discovery.d.ts.map +1 -1
  160. package/dist/core/src/index.d.ts +3 -2
  161. package/dist/core/src/index.d.ts.map +1 -1
  162. package/dist/core/src/models.d.ts +6 -33
  163. package/dist/core/src/models.d.ts.map +1 -1
  164. package/dist/core/src/plugin-groupings.d.ts +31 -0
  165. package/dist/core/src/plugin-groupings.d.ts.map +1 -0
  166. package/dist/core/src/repo-manager.d.ts.map +1 -1
  167. package/dist/core/src/settings.d.ts +1 -1
  168. package/dist/core/src/workspace-config.d.ts +1 -1
  169. package/dist/core/workspace-config.js +5 -4
  170. package/dist/deploy/index.js +9 -8
  171. package/dist/deploy/index.js.map +1 -1
  172. package/dist/discovery/index.js +6 -5
  173. package/dist/discovery/src/discover.d.ts +9 -25
  174. package/dist/discovery/src/discover.d.ts.map +1 -1
  175. package/dist/discovery/src/index.d.ts +0 -2
  176. package/dist/discovery/src/index.d.ts.map +1 -1
  177. package/dist/discovery/src/source-config.d.ts +13 -9
  178. package/dist/discovery/src/source-config.d.ts.map +1 -1
  179. package/dist/discovery/src/tree-entries.d.ts +6 -11
  180. package/dist/discovery/src/tree-entries.d.ts.map +1 -1
  181. package/dist/{ensure-sources-J5CDTQ36.js → ensure-sources-G4FXTJDB.js} +18 -17
  182. package/dist/ensure-sources-G4FXTJDB.js.map +1 -0
  183. package/dist/factory-assets/README.md +1 -1
  184. package/dist/factory-assets/connectors/box.js +21 -20
  185. package/dist/factory-assets/connectors/deploy.js +21 -20
  186. package/dist/factory-assets/connectors/devserver.js +21 -20
  187. package/dist/factory-assets/connectors/flow/CONNECTOR.md +6 -1
  188. package/dist/factory-assets/connectors/flow/adapter.d.ts.map +1 -1
  189. package/dist/factory-assets/connectors/flow/adapter.js +21 -20
  190. package/dist/factory-assets/connectors/flow/contract/flow.v2.schema.json +13 -3
  191. package/dist/factory-assets/connectors/flow/contract/index.d.ts +1 -0
  192. package/dist/factory-assets/connectors/flow/contract/index.d.ts.map +1 -1
  193. package/dist/factory-assets/connectors/flow/contract/output-fields.d.ts +21 -5
  194. package/dist/factory-assets/connectors/flow/contract/output-fields.d.ts.map +1 -1
  195. package/dist/factory-assets/connectors/flow/contract/schema.d.ts +2 -0
  196. package/dist/factory-assets/connectors/flow/contract/schema.d.ts.map +1 -1
  197. package/dist/factory-assets/connectors/flow/contract/sub-flow-output.d.ts +20 -0
  198. package/dist/factory-assets/connectors/flow/contract/sub-flow-output.d.ts.map +1 -0
  199. package/dist/factory-assets/connectors/flow/contract.js +4 -4
  200. package/dist/factory-assets/connectors/flow/engine/bindings.d.ts.map +1 -1
  201. package/dist/factory-assets/connectors/flow/engine/flow-output.d.ts +12 -0
  202. package/dist/factory-assets/connectors/flow/engine/flow-output.d.ts.map +1 -0
  203. package/dist/factory-assets/connectors/flow/engine/index.d.ts +1 -0
  204. package/dist/factory-assets/connectors/flow/engine/index.d.ts.map +1 -1
  205. package/dist/factory-assets/connectors/flow/engine/loader.d.ts +3 -3
  206. package/dist/factory-assets/connectors/flow/engine/locate.d.ts +2 -2
  207. package/dist/factory-assets/connectors/flow/engine/locate.d.ts.map +1 -1
  208. package/dist/factory-assets/connectors/flow/engine/types.d.ts +0 -2
  209. package/dist/factory-assets/connectors/flow/engine/types.d.ts.map +1 -1
  210. package/dist/factory-assets/connectors/flow/engine.js +13 -12
  211. package/dist/factory-assets/connectors/flow/inline-sub-flow-host.d.ts.map +1 -1
  212. package/dist/factory-assets/connectors/flow/prompt-fragments.js +3 -3
  213. package/dist/factory-assets/connectors/flow/run-flow.d.ts.map +1 -1
  214. package/dist/factory-assets/connectors/flow/run-flow.js +23 -22
  215. package/dist/factory-assets/connectors/flow/sub-flow-runner.d.ts +6 -5
  216. package/dist/factory-assets/connectors/flow/sub-flow-runner.d.ts.map +1 -1
  217. package/dist/factory-assets/connectors/flow.js +21 -20
  218. package/dist/factory-assets/connectors/git.js +21 -20
  219. package/dist/factory-assets/connectors/gmail.js +21 -20
  220. package/dist/factory-assets/connectors/googledrive.js +21 -20
  221. package/dist/factory-assets/connectors/local.js +21 -20
  222. package/dist/factory-assets/connectors/mattermost.js +21 -20
  223. package/dist/factory-assets/connectors/memory.js +21 -20
  224. package/dist/factory-assets/connectors/minio.js +21 -20
  225. package/dist/factory-assets/connectors/postgres.js +21 -20
  226. package/dist/factory-assets/connectors/s3.js +21 -20
  227. package/dist/factory-assets/connectors/sharepoint.js +21 -20
  228. package/dist/factory-assets/connectors/sqlite.js +21 -20
  229. package/dist/factory-assets/connectors/static-server.js +21 -20
  230. package/dist/factory-assets/connectors/tunnel.js +21 -20
  231. package/dist/factory-assets/connectors/webdav.js +21 -20
  232. package/dist/factory-assets/connectors/xstate-store.js +21 -20
  233. package/dist/factory-assets/connectors/xstate.js +21 -20
  234. package/dist/factory-assets/skills/skaile-author-asset/SKILL.md +37 -26
  235. package/dist/factory-assets/skills/skaile-manage-workspace/SKILL.md +2 -2
  236. package/dist/factory-assets/skills/skailify/SKILL.md +10 -19
  237. package/dist/{flows-PX53XFV7.js → flows-7E2GVW5L.js} +14 -13
  238. package/dist/{flows-PX53XFV7.js.map → flows-7E2GVW5L.js.map} +1 -1
  239. package/dist/{helpers-EP6H3O3S.js → helpers-EVPKJXGS.js} +18 -17
  240. package/dist/{helpers-EP6H3O3S.js.map → helpers-EVPKJXGS.js.map} +1 -1
  241. package/dist/library/index.js +13 -12
  242. package/dist/library/install.js +2 -2
  243. package/dist/library/src/index.d.ts +1 -1
  244. package/dist/library/src/index.d.ts.map +1 -1
  245. package/dist/library/src/local/db.d.ts.map +1 -1
  246. package/dist/library/src/local/library-manager.d.ts.map +1 -1
  247. package/dist/library/src/local/library.d.ts.map +1 -1
  248. package/dist/library/src/local/local-catalog-source.d.ts +0 -9
  249. package/dist/library/src/local/local-catalog-source.d.ts.map +1 -1
  250. package/dist/library/src/local/schema.d.ts +1 -20
  251. package/dist/library/src/local/schema.d.ts.map +1 -1
  252. package/dist/library/src/remote/remote-catalog-source.d.ts +1 -11
  253. package/dist/library/src/remote/remote-catalog-source.d.ts.map +1 -1
  254. package/dist/library/src/sync/manifest-writeback.d.ts +5 -5
  255. package/dist/library/src/sync/manifest-writeback.d.ts.map +1 -1
  256. package/dist/library/src/user-library.d.ts +1 -9
  257. package/dist/library/src/user-library.d.ts.map +1 -1
  258. package/dist/{library-publish-KKT73FJK.js → library-publish-SBEWWTPM.js} +25 -24
  259. package/dist/library-publish-SBEWWTPM.js.map +1 -0
  260. package/dist/open-library-UAZIGZUQ.js +39 -0
  261. package/dist/{open-library-R62UBL6E.js.map → open-library-UAZIGZUQ.js.map} +1 -1
  262. package/dist/paths-U7TA7MTE.js +22 -0
  263. package/dist/{paths-W4LDORQQ.js.map → paths-U7TA7MTE.js.map} +1 -1
  264. package/dist/{plugin-store-D45CREMJ.js → plugin-store-TT45MGQZ.js} +11 -10
  265. package/dist/plugin-store-TT45MGQZ.js.map +1 -0
  266. package/dist/plugins/index.js +1 -1
  267. package/dist/plugins/src/catalog-source.d.ts +4 -55
  268. package/dist/plugins/src/catalog-source.d.ts.map +1 -1
  269. package/dist/plugins/src/index.d.ts +1 -1
  270. package/dist/plugins/src/index.d.ts.map +1 -1
  271. package/dist/{project-GCW5DFAB.js → project-JLD5RCVK.js} +19 -18
  272. package/dist/{project-GCW5DFAB.js.map → project-JLD5RCVK.js.map} +1 -1
  273. package/dist/resolver/index.js +10 -9
  274. package/dist/runner/index.js +32 -31
  275. package/dist/runner/src/compaction/orchestrator.d.ts +2 -1
  276. package/dist/runner/src/compaction/orchestrator.d.ts.map +1 -1
  277. package/dist/runner/src/compaction-gate.d.ts +13 -0
  278. package/dist/runner/src/compaction-gate.d.ts.map +1 -1
  279. package/dist/runner/src/serve.d.ts.map +1 -1
  280. package/dist/sdk/asset-manager.js +15 -14
  281. package/dist/sdk/bridge.js +13 -12
  282. package/dist/sdk/core.js +9 -8
  283. package/dist/sdk/flow.js +13 -12
  284. package/dist/sdk/index.js +32 -31
  285. package/dist/sdk/index.js.map +1 -1
  286. package/dist/sdk/resolver.js +10 -9
  287. package/dist/sdk/runner.js +32 -31
  288. package/dist/secrets/index.js +2 -2
  289. package/dist/{setup-Q3LXY5AE.js → setup-PGZM4SOO.js} +23 -22
  290. package/dist/setup-PGZM4SOO.js.map +1 -0
  291. package/dist/skills-7QVYPIXI.js +26 -0
  292. package/dist/{skills-R3RPIPWP.js.map → skills-7QVYPIXI.js.map} +1 -1
  293. package/dist/source-SDZYXVVV.js +40 -0
  294. package/dist/{source-CFQESKJU.js.map → source-SDZYXVVV.js.map} +1 -1
  295. package/dist/{source-manifest-publish-3TCBA2RV.js → source-manifest-publish-UDLTYV6Y.js} +26 -25
  296. package/dist/source-manifest-publish-UDLTYV6Y.js.map +1 -0
  297. package/dist/tui/index.js +32 -31
  298. package/dist/tui/index.js.map +1 -1
  299. package/dist/workspace-plugin/adapters/mcp.js +16 -15
  300. package/dist/workspace-plugin/adapters/omp.js +13 -13
  301. package/dist/workspace-plugin/adapters/omp.js.map +1 -1
  302. package/dist/workspace-plugin/index.js +1 -1
  303. package/dist/workspace-plugin/src/adapters/mcp.d.ts +4 -4
  304. package/dist/workspace-plugin/src/adapters/mcp.d.ts.map +1 -1
  305. package/dist/workspace-plugin/src/adapters/omp.d.ts +2 -2
  306. package/dist/workspace-plugin/src/tools/skills.d.ts +5 -17
  307. package/dist/workspace-plugin/src/tools/skills.d.ts.map +1 -1
  308. package/package.json +7 -1
  309. package/dist/asset-feeds-KXL45ALC.js.map +0 -1
  310. package/dist/chunk-252TK4RU.js.map +0 -1
  311. package/dist/chunk-5LF27VUB.js.map +0 -1
  312. package/dist/chunk-5RWL4L3X.js.map +0 -1
  313. package/dist/chunk-7RC37XFW.js.map +0 -1
  314. package/dist/chunk-A5EDMBFG.js.map +0 -1
  315. package/dist/chunk-DOVURNRK.js.map +0 -1
  316. package/dist/chunk-JEPSP6XK.js.map +0 -1
  317. package/dist/chunk-OLMNDIAU.js.map +0 -1
  318. package/dist/chunk-ORH2BZEM.js.map +0 -1
  319. package/dist/chunk-P7BU6DAC.js.map +0 -1
  320. package/dist/chunk-QVZA2MDT.js +0 -81
  321. package/dist/chunk-QVZA2MDT.js.map +0 -1
  322. package/dist/chunk-TQ6XNACF.js.map +0 -1
  323. package/dist/chunk-TSVRKUGV.js.map +0 -1
  324. package/dist/chunk-VDBP6Y5M.js.map +0 -1
  325. package/dist/chunk-X4DKUGV4.js.map +0 -1
  326. package/dist/chunk-XU7JET5Z.js.map +0 -1
  327. package/dist/discovery/src/domains.d.ts +0 -149
  328. package/dist/discovery/src/domains.d.ts.map +0 -1
  329. package/dist/ensure-sources-J5CDTQ36.js.map +0 -1
  330. package/dist/library-publish-KKT73FJK.js.map +0 -1
  331. package/dist/open-library-R62UBL6E.js +0 -38
  332. package/dist/paths-W4LDORQQ.js +0 -21
  333. package/dist/plugin-store-D45CREMJ.js.map +0 -1
  334. package/dist/setup-Q3LXY5AE.js.map +0 -1
  335. package/dist/skills-R3RPIPWP.js +0 -25
  336. package/dist/source-CFQESKJU.js +0 -39
  337. 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,EAKl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;;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,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB;AAiGD,iFAAiF;AACjF,UAAU,gBAAgB;IACxB,MAAM,EAAE,MAAM,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;IACtC,eAAe,EAAE,MAAM;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC7D;AAkED;;;;;;GAMG;AACH,wBAAsB,gBAAgB,CACpC,EAAE,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":"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;AA0BH,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAkF5C,wBAAgB,kBAAkB,IAAI,OAAO,CA6nB5C"}
@@ -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,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAEvF;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,uBAAuB,CACrC,GAAG,EAAE,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC,EACnC,IAAI,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,EAC5B,MAAM,CAAC,EAAE,MAAM,EACf,aAAa,CAAC,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,GACjE,MAAM,CAcR"}
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;AAItE,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;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,uBAAuB,CACrC,GAAG,EAAE,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC,EACnC,IAAI,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,EAC5B,aAAa,CAAC,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,GACjE,MAAM,CAYR"}
@@ -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;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAuMD;;;;;;;;;;;;;;;;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,gBAAgB,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAI1E;AA6ZD;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE,EAAE,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,QAAQ,EAAE,CA6CzF;AA8xCD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAO3C"}
@@ -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,6 @@
6
6
  *
7
7
  * @docLink cli/commands/asset#import
8
8
  */
9
- import { type DomainMd } from "@skaile/workspaces/discovery";
10
9
  /** Default authoring version stamped on a skill that ships none. */
11
10
  export declare const DEFAULT_IMPORT_VERSION = "0.1.0";
12
11
  /** Default lifecycle stage stamped on an imported skill. */
@@ -64,36 +63,6 @@ export interface NormalizeResult {
64
63
  * byte-copy skips.
65
64
  */
66
65
  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
66
  export interface UpsertAssetInput {
98
67
  kind: string;
99
68
  name: string;
@@ -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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AE,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"}
@@ -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;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,CAWnE;AAyZD;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,MAAM,EAAE,MAA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AI,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;AAoBH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA0epC,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,CA4E7C"}
@@ -31,8 +31,8 @@ type FlowDefinition = ReturnType<typeof loadAllFlowEntries>[number]["flow"];
31
31
  export declare function discoverFlows(projectDir?: string): FlowDefinition[];
32
32
  /**
33
33
  * Locate the on-disk file of the flow **whose declared `id`** is `flowId`,
34
- * across every content root, both content-root layouts (`<root>/flows/` and
35
- * `<root>/<domain>/flows/`), and both flow layouts (flat and per-flow directory).
34
+ * across every content root, every `flows/` directory at any depth under each
35
+ * root, and both flow layouts (flat and per-flow directory).
36
36
  *
37
37
  * A thin binding of the shared `findFlowFileInRoots` to the CLI's root order —
38
38
  * the same lookup `resume`, sub-flow targets and `serve` run, so what `run`
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bun
2
2
  /**
3
3
  * Pre-commit hook: checks that modified AI assets have bumped their version
4
- * and that the domain CHANGELOG.md is staged alongside.
4
+ * and that the nearest-ancestor CHANGELOG.md is staged alongside.
5
5
  *
6
6
  * Install: copy or symlink to .git/hooks/pre-commit
7
7
  * Config: set strict_version_hook: true in skaile.yaml to make warnings into errors
@@ -7,29 +7,26 @@ export interface SkillEntry {
7
7
  name: string;
8
8
  path: string;
9
9
  skillPath: string;
10
- domain: string;
11
10
  }
12
11
  /**
13
- * Return all skill entries discovered across every {@link aiResourceRoots} root,
14
- * optionally filtered to a single domain. De-duplicated by skill name (first
15
- * root wins), so the bundled factory skills don't double up with a user library.
12
+ * Return all skill entries discovered across every {@link aiResourceRoots} root.
13
+ * De-duplicated by skill name (first root wins), so the bundled factory skills
14
+ * don't double up with a user library.
16
15
  *
17
- * Each root is walked in both layouts: **flat** (`<root>/skills/…`, e.g. the
18
- * bundled `factory-assets/` tree) and **domain-nested** (`<root>/<domain>/skills/…`).
16
+ * Each root is searched for `skills/` directories at any depth — directory
17
+ * names above a `skills/` dir carry no meaning.
19
18
  *
20
- * @param domain - Optional domain name to restrict the nested-layout search.
21
19
  * @returns Array of {@link SkillEntry} objects.
22
20
  * @docLink cli/dev-guide#skill-walker
23
21
  */
24
- export declare function findSkills(domain?: string): SkillEntry[];
22
+ export declare function findSkills(): SkillEntry[];
25
23
  /**
26
24
  * Recursively walk a directory tree looking for skill directories (those
27
25
  * containing a `SKILL.md` file) and push results into `out`.
28
26
  *
29
27
  * @param dir - Directory to walk.
30
- * @param domain - Domain label attached to every discovered entry.
31
28
  * @param out - Accumulator array mutated in-place.
32
29
  * @docLink cli/dev-guide#skill-walker
33
30
  */
34
- export declare function walkSkills(dir: string, domain: string, out: SkillEntry[]): void;
31
+ export declare function walkSkills(dir: string, out: SkillEntry[]): void;
35
32
  //# sourceMappingURL=skill-walker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"skill-walker.d.ts","sourceRoot":"","sources":["../../../cli/src/skill-walker.ts"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,UAAU,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,UAAU,EAAE,CAgBxD;AAED;;;;;;;;GAQG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,IAAI,CAY/E"}
1
+ {"version":3,"file":"skill-walker.d.ts","sourceRoot":"","sources":["../../../cli/src/skill-walker.ts"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,IAAI,UAAU,EAAE,CAezC;AAED;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,IAAI,CAY/D"}
@@ -1,10 +1,11 @@
1
- export { LegacyAuthGrammarError, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations, loadYamlConnectorDeclarations, resolveAuthRef, resolveBackendAuthFor, resolvedConfigToDeclarations, withMaterializedConnectorDeclarations } from '../chunk-YQEF36D5.js';
2
- import '../chunk-JEPSP6XK.js';
1
+ export { LegacyAuthGrammarError, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations, loadYamlConnectorDeclarations, resolveAuthRef, resolveBackendAuthFor, resolvedConfigToDeclarations, withMaterializedConnectorDeclarations } from '../chunk-H5G3OYY6.js';
2
+ import '../chunk-HWE3FXF4.js';
3
3
  import '../chunk-TLKM4M47.js';
4
4
  import '../chunk-EB4ZTESQ.js';
5
- import '../chunk-DSB6X25D.js';
6
- import '../chunk-5K2VT6E2.js';
7
- import '../chunk-A5EDMBFG.js';
5
+ import '../chunk-AG44ZJ7W.js';
6
+ import '../chunk-RVRB27AN.js';
7
+ import '../chunk-DXUQCMVT.js';
8
+ import '../chunk-43ZBF3WH.js';
8
9
  import '../chunk-C3CAXQMA.js';
9
10
  import '../chunk-BOFL7GIF.js';
10
11
  import '../chunk-NSBPE2FW.js';