@skaile/workspaces 0.22.0-beta.0 → 0.22.0-beta.2

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 (306) hide show
  1. package/CHANGELOG.md +221 -0
  2. package/dist/{asset-feeds-PJDJ3QYI.js → asset-feeds-2M6UKEJ7.js} +13 -14
  3. package/dist/asset-feeds-2M6UKEJ7.js.map +1 -0
  4. package/dist/asset-manager/catalog-deployer.d.ts +2 -0
  5. package/dist/asset-manager/contrib.d.ts +2 -0
  6. package/dist/asset-manager/fragments.d.ts +2 -0
  7. package/dist/asset-manager/history.d.ts +2 -0
  8. package/dist/asset-manager/index.d.ts +2 -0
  9. package/dist/asset-manager/index.js +7 -7
  10. package/dist/asset-manager/installer.d.ts +2 -0
  11. package/dist/asset-manager/installer.js +6 -6
  12. package/dist/asset-manager/renderers.d.ts +2 -0
  13. package/dist/asset-manager/src/index.d.ts +18 -7
  14. package/dist/asset-manager/src/index.d.ts.map +1 -1
  15. package/dist/asset-manager/src/installer.d.ts +3 -3
  16. package/dist/asset-manager/src/installer.d.ts.map +1 -1
  17. package/dist/base-assets/connectors/deploy.d.ts +2 -0
  18. package/dist/base-assets/connectors/deploy.js +8 -8
  19. package/dist/base-assets/connectors/devserver.d.ts +2 -0
  20. package/dist/base-assets/connectors/devserver.js +8 -8
  21. package/dist/base-assets/connectors/flow/adapter.js +8 -8
  22. package/dist/base-assets/connectors/flow/engine.d.ts +2 -0
  23. package/dist/base-assets/connectors/flow/run-flow.js +9 -9
  24. package/dist/base-assets/connectors/flow.d.ts +2 -0
  25. package/dist/base-assets/connectors/flow.js +8 -8
  26. package/dist/base-assets/connectors/git/driver.d.ts.map +1 -1
  27. package/dist/base-assets/connectors/git.d.ts +2 -0
  28. package/dist/base-assets/connectors/git.js +8 -8
  29. package/dist/base-assets/connectors/gmail.d.ts +2 -0
  30. package/dist/base-assets/connectors/gmail.js +8 -8
  31. package/dist/base-assets/connectors/googledrive.d.ts +2 -0
  32. package/dist/base-assets/connectors/googledrive.js +8 -8
  33. package/dist/base-assets/connectors/local.d.ts +2 -0
  34. package/dist/base-assets/connectors/local.js +8 -8
  35. package/dist/base-assets/connectors/mattermost.d.ts +2 -0
  36. package/dist/base-assets/connectors/mattermost.js +8 -8
  37. package/dist/base-assets/connectors/memory.d.ts +2 -0
  38. package/dist/base-assets/connectors/memory.js +8 -8
  39. package/dist/base-assets/connectors/minio.d.ts +2 -0
  40. package/dist/base-assets/connectors/minio.js +8 -8
  41. package/dist/base-assets/connectors/postgres.d.ts +2 -0
  42. package/dist/base-assets/connectors/postgres.js +8 -8
  43. package/dist/base-assets/connectors/s3.d.ts +2 -0
  44. package/dist/base-assets/connectors/s3.js +8 -8
  45. package/dist/base-assets/connectors/sharepoint.d.ts +2 -0
  46. package/dist/base-assets/connectors/sharepoint.js +8 -8
  47. package/dist/base-assets/connectors/sqlite.d.ts +2 -0
  48. package/dist/base-assets/connectors/sqlite.js +8 -8
  49. package/dist/base-assets/connectors/static-server.d.ts +2 -0
  50. package/dist/base-assets/connectors/static-server.js +8 -8
  51. package/dist/base-assets/connectors/tunnel.d.ts +2 -0
  52. package/dist/base-assets/connectors/tunnel.js +8 -8
  53. package/dist/base-assets/connectors/webdav.d.ts +2 -0
  54. package/dist/base-assets/connectors/webdav.js +8 -8
  55. package/dist/base-assets/connectors/xstate-store.d.ts +2 -0
  56. package/dist/base-assets/connectors/xstate-store.js +8 -8
  57. package/dist/base-assets/connectors/xstate.d.ts +2 -0
  58. package/dist/base-assets/connectors/xstate.js +8 -8
  59. package/dist/bridge/drivers/claude-sdk.d.ts +2 -0
  60. package/dist/bridge/drivers/claude-sdk.js +2 -2
  61. package/dist/bridge/drivers/codex.d.ts +2 -0
  62. package/dist/bridge/drivers/codex.js +2 -2
  63. package/dist/bridge/drivers/echo.d.ts +2 -0
  64. package/dist/bridge/drivers/echo.js +2 -2
  65. package/dist/bridge/drivers/omp.d.ts +2 -0
  66. package/dist/bridge/drivers/omp.js +2 -2
  67. package/dist/bridge/index.d.ts +2 -0
  68. package/dist/bridge/index.js +3 -3
  69. package/dist/bridge/src/registry.d.ts +4 -2
  70. package/dist/bridge/src/registry.d.ts.map +1 -1
  71. package/dist/chunk-32NA4TVC.js +30 -0
  72. package/dist/chunk-32NA4TVC.js.map +1 -0
  73. package/dist/{chunk-CSDQBWE6.js → chunk-3KLWGHDE.js} +5 -5
  74. package/dist/{chunk-CSDQBWE6.js.map → chunk-3KLWGHDE.js.map} +1 -1
  75. package/dist/{chunk-UZRY5UI2.js → chunk-6E6PKKAD.js} +68 -3
  76. package/dist/chunk-6E6PKKAD.js.map +1 -0
  77. package/dist/{chunk-G6GKWGOW.js → chunk-6SA2SIOU.js} +26 -10
  78. package/dist/chunk-6SA2SIOU.js.map +1 -0
  79. package/dist/{chunk-IGQEXBBG.js → chunk-6VTG73UY.js} +13 -9
  80. package/dist/chunk-6VTG73UY.js.map +1 -0
  81. package/dist/{chunk-TTY56FQQ.js → chunk-74GTZ4TJ.js} +17 -5
  82. package/dist/chunk-74GTZ4TJ.js.map +1 -0
  83. package/dist/chunk-7QBNJTTQ.js +3 -0
  84. package/dist/{chunk-W2O5LWYU.js.map → chunk-7QBNJTTQ.js.map} +1 -1
  85. package/dist/{chunk-SL6JVGRD.js → chunk-CEUHU3C4.js} +3 -3
  86. package/dist/{chunk-SL6JVGRD.js.map → chunk-CEUHU3C4.js.map} +1 -1
  87. package/dist/{chunk-J2FCO6TM.js → chunk-FIHVQFXB.js} +2 -2
  88. package/dist/{chunk-J2FCO6TM.js.map → chunk-FIHVQFXB.js.map} +1 -1
  89. package/dist/{chunk-F3MGZ5E6.js → chunk-FVZLCBSX.js} +3 -3
  90. package/dist/{chunk-F3MGZ5E6.js.map → chunk-FVZLCBSX.js.map} +1 -1
  91. package/dist/{chunk-7PTP3SQJ.js → chunk-GTS2FODO.js} +32 -7
  92. package/dist/chunk-GTS2FODO.js.map +1 -0
  93. package/dist/{chunk-KA46DUM4.js → chunk-I5SGBFMM.js} +51 -3
  94. package/dist/chunk-I5SGBFMM.js.map +1 -0
  95. package/dist/{chunk-MO4JPTRD.js → chunk-LDLZFYLR.js} +5 -5
  96. package/dist/{chunk-MO4JPTRD.js.map → chunk-LDLZFYLR.js.map} +1 -1
  97. package/dist/{chunk-TKOLD2O7.js → chunk-LDYPQVRU.js} +516 -145
  98. package/dist/chunk-LDYPQVRU.js.map +1 -0
  99. package/dist/{chunk-GKM6MDUC.js → chunk-M5JDVO6D.js} +3 -3
  100. package/dist/{chunk-GKM6MDUC.js.map → chunk-M5JDVO6D.js.map} +1 -1
  101. package/dist/{chunk-XHFMUGDD.js → chunk-M5TE6YI5.js} +3 -3
  102. package/dist/{chunk-XHFMUGDD.js.map → chunk-M5TE6YI5.js.map} +1 -1
  103. package/dist/{chunk-NGC7ZQI4.js → chunk-NICAMYPV.js} +39 -45
  104. package/dist/chunk-NICAMYPV.js.map +1 -0
  105. package/dist/{chunk-WIR34WMU.js → chunk-NQL3T75I.js} +24 -59
  106. package/dist/chunk-NQL3T75I.js.map +1 -0
  107. package/dist/{chunk-RENHNO4J.js → chunk-P4FYHEHW.js} +206 -137
  108. package/dist/chunk-P4FYHEHW.js.map +1 -0
  109. package/dist/{chunk-2DNSSQ22.js → chunk-TWQPDBHB.js} +270 -173
  110. package/dist/chunk-TWQPDBHB.js.map +1 -0
  111. package/dist/{chunk-UZVHJ7LX.js → chunk-UBLTUFFI.js} +4 -4
  112. package/dist/{chunk-UZVHJ7LX.js.map → chunk-UBLTUFFI.js.map} +1 -1
  113. package/dist/{chunk-X5Y4EGZB.js → chunk-VUCPJBAG.js} +43 -10
  114. package/dist/chunk-VUCPJBAG.js.map +1 -0
  115. package/dist/{chunk-PBWMV5GM.js → chunk-WQ7DE5UC.js} +18 -4
  116. package/dist/chunk-WQ7DE5UC.js.map +1 -0
  117. package/dist/cli/index.d.ts +2 -0
  118. package/dist/cli/index.js +258 -262
  119. package/dist/cli/index.js.map +1 -1
  120. package/dist/cli/src/commands/deploy.d.ts.map +1 -1
  121. package/dist/cli/src/commands/manage.d.ts +22 -31
  122. package/dist/cli/src/commands/manage.d.ts.map +1 -1
  123. package/dist/cli/src/commands/npx.d.ts +5 -3
  124. package/dist/cli/src/commands/npx.d.ts.map +1 -1
  125. package/dist/cli/src/commands/project.d.ts.map +1 -1
  126. package/dist/cli/src/commands/source.d.ts +7 -0
  127. package/dist/cli/src/commands/source.d.ts.map +1 -1
  128. package/dist/cli/src/commands/update.d.ts.map +1 -1
  129. package/dist/cli/src/ensure-sources.d.ts.map +1 -1
  130. package/dist/client/index.d.ts +2 -0
  131. package/dist/connectors/config.d.ts +2 -0
  132. package/dist/connectors/config.js +6 -6
  133. package/dist/connectors/index.d.ts +2 -0
  134. package/dist/connectors/index.js +8 -8
  135. package/dist/connectors/rclone-config.d.ts +2 -0
  136. package/dist/connectors/rclone.d.ts +2 -0
  137. package/dist/connectors-shared/index.d.ts +2 -0
  138. package/dist/core/discovery.d.ts +2 -0
  139. package/dist/core/driver-targets.d.ts +2 -0
  140. package/dist/core/framework.d.ts +2 -0
  141. package/dist/core/index.d.ts +2 -0
  142. package/dist/core/index.js +5 -5
  143. package/dist/core/logging.d.ts +2 -0
  144. package/dist/core/manifest.d.ts +2 -0
  145. package/dist/core/manifest.js +2 -2
  146. package/dist/core/models.d.ts +2 -0
  147. package/dist/core/models.js +1 -1
  148. package/dist/core/runtime-assets.d.ts +2 -0
  149. package/dist/core/runtime-assets.js +4 -4
  150. package/dist/core/src/index.d.ts +7 -5
  151. package/dist/core/src/index.d.ts.map +1 -1
  152. package/dist/core/src/lock.d.ts +47 -26
  153. package/dist/core/src/lock.d.ts.map +1 -1
  154. package/dist/core/src/manifest.d.ts.map +1 -1
  155. package/dist/core/src/models.d.ts +61 -49
  156. package/dist/core/src/models.d.ts.map +1 -1
  157. package/dist/core/src/repo-manager.d.ts +79 -36
  158. package/dist/core/src/repo-manager.d.ts.map +1 -1
  159. package/dist/core/src/runtime-assets.d.ts.map +1 -1
  160. package/dist/core/src/walker.d.ts +52 -0
  161. package/dist/core/src/walker.d.ts.map +1 -0
  162. package/dist/core/src/workspace-config.d.ts +160 -45
  163. package/dist/core/src/workspace-config.d.ts.map +1 -1
  164. package/dist/core/src/workspace-yaml-editor.d.ts +33 -16
  165. package/dist/core/src/workspace-yaml-editor.d.ts.map +1 -1
  166. package/dist/core/store.d.ts +2 -0
  167. package/dist/core/workspace-config.d.ts +2 -0
  168. package/dist/core/workspace-config.js +3 -3
  169. package/dist/deploy/index.d.ts +2 -0
  170. package/dist/deploy/index.js +167 -52
  171. package/dist/deploy/index.js.map +1 -1
  172. package/dist/deploy/src/index.d.ts +4 -3
  173. package/dist/deploy/src/index.d.ts.map +1 -1
  174. package/dist/deploy/src/targets/container-runtime.d.ts +1 -0
  175. package/dist/deploy/src/targets/container-runtime.d.ts.map +1 -1
  176. package/dist/deploy/src/targets/docker.d.ts +1 -0
  177. package/dist/deploy/src/targets/docker.d.ts.map +1 -1
  178. package/dist/deploy/src/targets/local.d.ts.map +1 -1
  179. package/dist/deploy/src/targets/nix.d.ts +36 -0
  180. package/dist/deploy/src/targets/nix.d.ts.map +1 -0
  181. package/dist/deploy/src/targets/podman.d.ts +1 -0
  182. package/dist/deploy/src/targets/podman.d.ts.map +1 -1
  183. package/dist/deploy/src/targets/process-handle.d.ts +34 -0
  184. package/dist/deploy/src/targets/process-handle.d.ts.map +1 -0
  185. package/dist/discovery/index.d.ts +2 -0
  186. package/dist/discovery/index.js +3 -3
  187. package/dist/discovery/src/source-config.d.ts +2 -2
  188. package/dist/{ensure-sources-COGVKY44.js → ensure-sources-ALTI5PXR.js} +20 -16
  189. package/dist/ensure-sources-ALTI5PXR.js.map +1 -0
  190. package/dist/library/index.d.ts +2 -0
  191. package/dist/library/index.js +4 -4
  192. package/dist/library/src/remote/remote-catalog-source.d.ts +17 -0
  193. package/dist/library/src/remote/remote-catalog-source.d.ts.map +1 -1
  194. package/dist/open-library-EEGG6RDN.js +13 -0
  195. package/dist/{open-library-DWAQFUSQ.js.map → open-library-EEGG6RDN.js.map} +1 -1
  196. package/dist/plugin-registry/index.d.ts +2 -0
  197. package/dist/plugin-registry/index.js +1 -1
  198. package/dist/plugin-registry/src/context.d.ts +30 -1
  199. package/dist/plugin-registry/src/context.d.ts.map +1 -1
  200. package/dist/plugin-registry/src/deploy-handle.d.ts +17 -1
  201. package/dist/plugin-registry/src/deploy-handle.d.ts.map +1 -1
  202. package/dist/plugin-registry/src/deploy-helpers.d.ts +69 -0
  203. package/dist/plugin-registry/src/deploy-helpers.d.ts.map +1 -0
  204. package/dist/plugin-registry/src/index.d.ts +6 -4
  205. package/dist/plugin-registry/src/index.d.ts.map +1 -1
  206. package/dist/plugin-registry/src/internal.d.ts.map +1 -1
  207. package/dist/plugin-registry/src/registry.d.ts +1 -0
  208. package/dist/plugin-registry/src/registry.d.ts.map +1 -1
  209. package/dist/plugin-registry/src/targets.d.ts +4 -0
  210. package/dist/plugin-registry/src/targets.d.ts.map +1 -1
  211. package/dist/{plugin-store-6OENKNFW.js → plugin-store-G277ZX3B.js} +8 -8
  212. package/dist/{plugin-store-6OENKNFW.js.map → plugin-store-G277ZX3B.js.map} +1 -1
  213. package/dist/plugins/index.d.ts +2 -0
  214. package/dist/plugins/src/catalog-source.d.ts +5 -0
  215. package/dist/plugins/src/catalog-source.d.ts.map +1 -1
  216. package/dist/resolver/index.d.ts +2 -0
  217. package/dist/runner/index.d.ts +2 -0
  218. package/dist/runner/index.js +17 -16
  219. package/dist/runner/prompt-assembly.d.ts +2 -0
  220. package/dist/runner/src/resources.d.ts.map +1 -1
  221. package/dist/runner/src/serve.d.ts +7 -0
  222. package/dist/runner/src/serve.d.ts.map +1 -1
  223. package/dist/sdk/asset-manager.d.ts +2 -0
  224. package/dist/sdk/asset-manager.js +7 -7
  225. package/dist/sdk/bridge.d.ts +2 -0
  226. package/dist/sdk/bridge.js +3 -3
  227. package/dist/sdk/client.d.ts +2 -0
  228. package/dist/sdk/core.d.ts +2 -0
  229. package/dist/sdk/core.js +5 -5
  230. package/dist/sdk/flow.d.ts +2 -0
  231. package/dist/sdk/index.d.ts +2 -0
  232. package/dist/sdk/index.js +53 -19
  233. package/dist/sdk/index.js.map +1 -1
  234. package/dist/sdk/resolver.d.ts +2 -0
  235. package/dist/sdk/runner.d.ts +2 -0
  236. package/dist/sdk/runner.js +17 -16
  237. package/dist/sdk/session.d.ts +2 -0
  238. package/dist/sdk/src/local-runtime.d.ts +8 -0
  239. package/dist/sdk/src/local-runtime.d.ts.map +1 -1
  240. package/dist/sdk/src/transport.d.ts +7 -1
  241. package/dist/sdk/src/transport.d.ts.map +1 -1
  242. package/dist/sdk/store.d.ts +2 -0
  243. package/dist/sdk/telemetry.d.ts +2 -0
  244. package/dist/sdk/transport/ws/client.d.ts +2 -0
  245. package/dist/sdk/transport/ws/client.js +2 -1
  246. package/dist/sdk/transport/ws/server.d.ts +2 -0
  247. package/dist/sdk/transport/ws/server.js +2 -1
  248. package/dist/sdk/transport/ws.d.ts +2 -0
  249. package/dist/sdk/transport/ws.js +4 -3
  250. package/dist/sdk/transport.d.ts +2 -0
  251. package/dist/sdk/transport.js +4 -3
  252. package/dist/sdk/types.d.ts +2 -0
  253. package/dist/secrets/index.d.ts +2 -0
  254. package/dist/session/index.d.ts +2 -0
  255. package/dist/{setup-ACMP3QZC.js → setup-REX4I5NE.js} +10 -10
  256. package/dist/{setup-ACMP3QZC.js.map → setup-REX4I5NE.js.map} +1 -1
  257. package/dist/store/index.d.ts +2 -0
  258. package/dist/store/react.d.ts +2 -0
  259. package/dist/store/vue.d.ts +2 -0
  260. package/dist/store-client-IX3Y67NK.js +14 -0
  261. package/dist/{store-client-ZSLNOOQG.js.map → store-client-IX3Y67NK.js.map} +1 -1
  262. package/dist/telemetry/index.d.ts +2 -0
  263. package/dist/transport/index.d.ts +2 -0
  264. package/dist/transport/index.js +4 -3
  265. package/dist/transport/src/ws/auth.d.ts +34 -0
  266. package/dist/transport/src/ws/auth.d.ts.map +1 -0
  267. package/dist/transport/src/ws/client.d.ts +4 -0
  268. package/dist/transport/src/ws/client.d.ts.map +1 -1
  269. package/dist/transport/src/ws/index.d.ts +3 -2
  270. package/dist/transport/src/ws/index.d.ts.map +1 -1
  271. package/dist/transport/src/ws/server.d.ts +5 -0
  272. package/dist/transport/src/ws/server.d.ts.map +1 -1
  273. package/dist/transport/ws/client.d.ts +2 -0
  274. package/dist/transport/ws/client.js +2 -1
  275. package/dist/transport/ws/server.d.ts +2 -0
  276. package/dist/transport/ws/server.js +2 -1
  277. package/dist/transport/ws.d.ts +2 -0
  278. package/dist/transport/ws.js +4 -3
  279. package/dist/tui/index.d.ts +2 -0
  280. package/dist/tui/index.js +17 -16
  281. package/dist/tui/index.js.map +1 -1
  282. package/dist/types/index.d.ts +2 -0
  283. package/dist/types/manifests.d.ts +2 -0
  284. package/dist/workspace-plugin/adapters/mcp.d.ts +2 -0
  285. package/dist/workspace-plugin/adapters/omp.d.ts +2 -0
  286. package/dist/workspace-plugin/index.d.ts +2 -0
  287. package/dist/workspace-plugin/index.js +1 -1
  288. package/package.json +4 -2
  289. package/dist/asset-feeds-PJDJ3QYI.js.map +0 -1
  290. package/dist/chunk-2DNSSQ22.js.map +0 -1
  291. package/dist/chunk-7PTP3SQJ.js.map +0 -1
  292. package/dist/chunk-G6GKWGOW.js.map +0 -1
  293. package/dist/chunk-IGQEXBBG.js.map +0 -1
  294. package/dist/chunk-KA46DUM4.js.map +0 -1
  295. package/dist/chunk-NGC7ZQI4.js.map +0 -1
  296. package/dist/chunk-PBWMV5GM.js.map +0 -1
  297. package/dist/chunk-RENHNO4J.js.map +0 -1
  298. package/dist/chunk-TKOLD2O7.js.map +0 -1
  299. package/dist/chunk-TTY56FQQ.js.map +0 -1
  300. package/dist/chunk-UZRY5UI2.js.map +0 -1
  301. package/dist/chunk-W2O5LWYU.js +0 -3
  302. package/dist/chunk-WIR34WMU.js.map +0 -1
  303. package/dist/chunk-X5Y4EGZB.js.map +0 -1
  304. package/dist/ensure-sources-COGVKY44.js.map +0 -1
  305. package/dist/open-library-DWAQFUSQ.js +0 -13
  306. package/dist/store-client-ZSLNOOQG.js +0 -14
@@ -1 +1 @@
1
- {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/deploy.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA2NpC;;;;;GAKG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAkC3C"}
1
+ {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/deploy.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA4OpC;;;;;GAKG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAkC3C"}
@@ -19,58 +19,49 @@
19
19
  import type { CatalogEntry } from "@skaile/workspaces/core";
20
20
  import { Command } from "commander";
21
21
  /**
22
- * A single row in the manage TUI asset list, representing a source header,
23
- * a domain header, or an individual asset entry.
22
+ * A single row in the manage TUI asset list, representing a publisher header,
23
+ * a repo header, or an individual asset entry.
24
24
  *
25
- * The `source` field holds the name of the originating github repo
26
- * (`CatalogEntry.repository`) — i.e. the **source** in the three-noun model.
27
- *
28
- * For nested domain layouts (e.g. `skaileup/experience/screens`), one
29
- * `header` row is emitted per unique path prefix in DFS order. `domain`
30
- * holds the full slash-joined path (used as the collapse key); `depth`
31
- * starts at 1 for the top-level segment.
25
+ * The tree is `publisher repo asset`. The `source` field holds the
26
+ * **publisher** namespace (`CatalogEntry.publisher`) — the canonical, always-
27
+ * present identity. `repo` holds the `"<org>/<repo>"` GitHub coordinate, used
28
+ * as the collapse key under its publisher. An asset whose entry has no `repo`
29
+ * (a local library with no git remote) hangs directly under its publisher with
30
+ * no intervening repo header.
32
31
  *
33
32
  * @docLink cli/commands/manage#make-manage-command
34
33
  */
35
34
  export interface AssetRow {
36
- type: "source-header" | "header" | "asset";
35
+ type: "publisher-header" | "repo-header" | "asset";
37
36
  source?: string;
38
- domain?: string;
39
- depth?: number;
37
+ repo?: string;
40
38
  entry?: CatalogEntry;
41
39
  installed?: boolean;
42
40
  }
43
41
  /**
44
42
  * Filter the full asset row list to only rows that should be visible given the
45
- * current collapsed source and domain sets. `collapsedDomains` keys use the
46
- * **full** slash-joined domain path (e.g. `"src:skaileup/experience"`).
43
+ * current collapsed publisher and repo sets. The tree is flat:
44
+ * `publisher repo asset` (repo is an `"<org>/<repo>"` slug, not a nested
45
+ * path), so collapse checks are exact set membership — no prefix walking.
47
46
  *
48
- * For hierarchical domains, an asset is hidden if any prefix of its full
49
- * domain path is collapsed; a header row is hidden if any **strict** prefix
50
- * (i.e. an ancestor) is collapsed collapsing a header hides its children
51
- * but not the header itself.
47
+ * - A `repo-header` is hidden when its publisher is collapsed.
48
+ * - An asset is hidden when its publisher is collapsed, or when it has a
49
+ * repo when that `"publisher:<org>/<repo>"` key is collapsed. An asset with
50
+ * no repo hangs directly under its publisher and follows the publisher alone.
52
51
  *
53
52
  * @param rows - Complete flat list of asset rows.
54
- * @param collapsedSources - Set of source names whose children are hidden.
55
- * @param collapsedDomains - Set of `"source:domainPath"` keys whose children are hidden.
53
+ * @param collapsedSources - Set of publisher names whose children are hidden.
54
+ * @param collapsedRepos - Set of `"publisher:<org>/<repo>"` keys whose assets are hidden.
56
55
  * @returns Filtered array of visible rows.
57
56
  * @docLink cli/commands/manage#make-manage-command
58
57
  */
59
- export declare function buildVisibleRows(rows: AssetRow[], collapsedSources: Set<string>, collapsedDomains: Set<string>): AssetRow[];
60
- /**
61
- * Compare two slash-separated domain paths segment-by-segment. Unlike a plain
62
- * `localeCompare`, this keeps all descendants of a path grouped together even
63
- * when a sibling's name shares a prefix and would otherwise interleave them
64
- * (e.g. `"skaileup-orchestrator"` falling between `"skaileup"` and
65
- * `"skaileup/concept"` under naive lex sort because `'-' < '/'` in ASCII).
66
- */
67
- export declare function compareDomainPaths(a: string, b: string): number;
58
+ export declare function buildVisibleRows(rows: AssetRow[], collapsedSources: Set<string>, collapsedRepos: Set<string>): AssetRow[];
68
59
  /**
69
- * Return `kind:name` refs for all asset rows belonging to a specific source and domain.
60
+ * Return `kind:name` refs for all asset rows belonging to a specific publisher and repo.
70
61
  *
71
62
  * @docLink cli/commands/manage#make-manage-command
72
63
  */
73
- export declare function domainAssetRefs(rows: AssetRow[], source: string, domain: string): string[];
64
+ export declare function repoAssetRefs(rows: AssetRow[], publisher: string, repo: string): string[];
74
65
  /**
75
66
  * Return `kind:name` refs for all asset rows belonging to a specific source.
76
67
  *
@@ -1 +1 @@
1
- {"version":3,"file":"manage.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/manage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAMpC;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,eAAe,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC3C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AA6ED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,QAAQ,EAAE,EAChB,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,EAC7B,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,GAC5B,QAAQ,EAAE,CAYZ;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,C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,GAAG,MAAM,EAAE,CAE1E;AAs1BD;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAO3C"}
@@ -3,9 +3,11 @@ import { Command } from "commander";
3
3
  * Creates the `skaile npx` command group.
4
4
  *
5
5
  * Compatibility shim for the `npx skills` syntax. The `npx skills add <url>`
6
- * subcommand registers a remote repo as a Library Source (cloning to the
7
- * shared user-level cache when needed), syncs the source, then installs the
8
- * requested skill in a single step.
6
+ * subcommand clones the remote repo into the canonical sources cache
7
+ * (`~/.skaile/sources/<slug>`), registers it in the project's `skaile.yaml`
8
+ * `sources[]`, then installs the requested skill via the canonical resolver —
9
+ * building a publisher-qualified ref (`skill:<name>@<publisher>`, publisher
10
+ * from the source's `skaile.yaml` or its GitHub org).
9
11
  *
10
12
  * @returns Configured {@link Command} ready for `program.addCommand()`.
11
13
  * @docLink cli/commands/misc#npx
@@ -1 +1 @@
1
- {"version":3,"file":"npx.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/npx.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAKpC;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,IAAI,OAAO,CA2FxC"}
1
+ {"version":3,"file":"npx.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/npx.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,IAAI,OAAO,CA2FxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/project.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAUhE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAA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AAO,GAAG,MAAM,IAAI,qBAAqB,CAKxF;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,QAAQ,EAAE,eAAe,GAAG,OAAO,CAAC;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,CAuBnC;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,kBAAkB,IAAI,OAAO,CA4G5C;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAkB1C;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAwE1C"}
@@ -10,5 +10,12 @@
10
10
  * @docLink cli/commands/source
11
11
  */
12
12
  import { Command } from "commander";
13
+ /**
14
+ * Normalize a `source add` argument into a clonable git URL. Full URLs and
15
+ * scp-style (`git@host:…`) specs pass through unchanged; an `owner/repo`
16
+ * shorthand and a bare repo name expand to GitHub over SSH — a bare name
17
+ * defaults to the `skaile-ai` org (`git@github.com:skaile-ai/<name>.git`).
18
+ */
19
+ export declare function normalizeSourceUrl(input: string): string;
13
20
  export declare function makeSourceCommand(): Command;
14
21
  //# sourceMappingURL=source.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/source.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAYH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAqHpC,wBAAgB,iBAAiB,IAAI,OAAO,CAmL3C"}
1
+ {"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/source.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAYH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAuBpC;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAOxD;AAmGD,wBAAgB,iBAAiB,IAAI,OAAO,CAyM3C"}
@@ -1 +1 @@
1
- {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/update.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAqD3C"}
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/update.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CA8C3C"}
@@ -1 +1 @@
1
- {"version":3,"file":"ensure-sources.d.ts","sourceRoot":"","sources":["../../../cli/src/ensure-sources.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAaH,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,MAAM,EAClB,IAAI,GAAE;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAO,GAC7B,YAAY,CA2Cd"}
1
+ {"version":3,"file":"ensure-sources.d.ts","sourceRoot":"","sources":["../../../cli/src/ensure-sources.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAuBH,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,MAAM,EAClB,IAAI,GAAE;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAO,GAC7B,YAAY,CA4Cd"}
@@ -0,0 +1,2 @@
1
+ // Auto-generated by _scripts/emit-dts-sidecars.ts — do not edit by hand.
2
+ export * from "./src/index.js";
@@ -0,0 +1,2 @@
1
+ // Auto-generated by _scripts/emit-dts-sidecars.ts — do not edit by hand.
2
+ export * from "./src/config.js";
@@ -1,11 +1,11 @@
1
- export { LegacyAuthGrammarError, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations, resolveAuth, resolveAuthRef, resolveBackendAuthFor } from '../chunk-GKM6MDUC.js';
2
- import '../chunk-RENHNO4J.js';
1
+ export { LegacyAuthGrammarError, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations, resolveAuth, resolveAuthRef, resolveBackendAuthFor } from '../chunk-M5JDVO6D.js';
2
+ import '../chunk-P4FYHEHW.js';
3
3
  import '../chunk-K5GBV4SA.js';
4
4
  import '../chunk-KLNL7QHN.js';
5
- import '../chunk-TTY56FQQ.js';
6
- import '../chunk-TKOLD2O7.js';
7
- import '../chunk-WIR34WMU.js';
8
- import '../chunk-X5Y4EGZB.js';
5
+ import '../chunk-74GTZ4TJ.js';
6
+ import '../chunk-LDYPQVRU.js';
7
+ import '../chunk-NQL3T75I.js';
8
+ import '../chunk-VUCPJBAG.js';
9
9
  import '../chunk-JKNWJ64A.js';
10
10
  import '../chunk-O4JH3KUE.js';
11
11
  import '../chunk-24UIWON4.js';
@@ -0,0 +1,2 @@
1
+ // Auto-generated by _scripts/emit-dts-sidecars.ts — do not edit by hand.
2
+ export * from "./src/index.js";
@@ -1,18 +1,18 @@
1
- export { AbstractConnector, BUILTIN_CONNECTOR_CATALOG, ConnectorFieldMissingError, ConnectorManager, ConnectorStartupError, FlowAdapter, LogBuffer, ManagedGitconfigCollisionError, atomicReplaceCredential, buildConnectorPromptSection, buildSdkConnectorTools, createFsWatcher, createWorktree, defaultSpawn, ensureFleetMounted, findGitRoot, findMissingPackages, getConnector, installNpmPackages, isFleetManaged, isPackageResolvable, listConnectors, listWorktrees, registerBuiltinConnectors, removeMountBlock, renderCredentialHelperScript, tryGetConnector, worktreeRegistry, writeHelperScript, writeMountBlock } from '../chunk-G6GKWGOW.js';
2
- export { EnvSecretProvider, ForgeSecretProvider, InMemorySecretProvider, LegacyAuthGrammarError, LockedSecretProvider, OAuthRequiredError, PreMintedSecretProvider, SecretProviderChain, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations, resolveAuth, resolveAuthRef, resolveBackendAuthFor } from '../chunk-GKM6MDUC.js';
1
+ export { AbstractConnector, BUILTIN_CONNECTOR_CATALOG, ConnectorFieldMissingError, ConnectorManager, ConnectorStartupError, FlowAdapter, LogBuffer, ManagedGitconfigCollisionError, atomicReplaceCredential, buildConnectorPromptSection, buildSdkConnectorTools, createFsWatcher, createWorktree, defaultSpawn, ensureFleetMounted, findGitRoot, findMissingPackages, getConnector, installNpmPackages, isFleetManaged, isPackageResolvable, listConnectors, listWorktrees, registerBuiltinConnectors, removeMountBlock, renderCredentialHelperScript, tryGetConnector, worktreeRegistry, writeHelperScript, writeMountBlock } from '../chunk-6SA2SIOU.js';
2
+ export { EnvSecretProvider, ForgeSecretProvider, InMemorySecretProvider, LegacyAuthGrammarError, LockedSecretProvider, OAuthRequiredError, PreMintedSecretProvider, SecretProviderChain, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations, resolveAuth, resolveAuthRef, resolveBackendAuthFor } from '../chunk-M5JDVO6D.js';
3
3
  export { PortPool, RcloneProcessManager, ensureDirMode } from '../chunk-6MB7CRME.js';
4
4
  export { renderGoogleDriveConfig, renderOneDriveConfig, renderWebDAVConfig } from '../chunk-QAVZOJCV.js';
5
- import '../chunk-UZRY5UI2.js';
5
+ import '../chunk-6E6PKKAD.js';
6
6
  import '../chunk-ICS76R4T.js';
7
7
  import '../chunk-GZWJGNNN.js';
8
8
  import '../chunk-FVTV7M76.js';
9
- import '../chunk-RENHNO4J.js';
9
+ import '../chunk-P4FYHEHW.js';
10
10
  import '../chunk-K5GBV4SA.js';
11
11
  import '../chunk-KLNL7QHN.js';
12
- import '../chunk-TTY56FQQ.js';
13
- import '../chunk-TKOLD2O7.js';
14
- import '../chunk-WIR34WMU.js';
15
- import '../chunk-X5Y4EGZB.js';
12
+ import '../chunk-74GTZ4TJ.js';
13
+ import '../chunk-LDYPQVRU.js';
14
+ import '../chunk-NQL3T75I.js';
15
+ import '../chunk-VUCPJBAG.js';
16
16
  import '../chunk-JKNWJ64A.js';
17
17
  import '../chunk-O4JH3KUE.js';
18
18
  import '../chunk-24UIWON4.js';
@@ -0,0 +1,2 @@
1
+ // Auto-generated by _scripts/emit-dts-sidecars.ts — do not edit by hand.
2
+ export * from "./src/rclone-config/index.js";
@@ -0,0 +1,2 @@
1
+ // Auto-generated by _scripts/emit-dts-sidecars.ts — do not edit by hand.
2
+ export * from "./src/rclone-process-manager.js";
@@ -0,0 +1,2 @@
1
+ // Auto-generated by _scripts/emit-dts-sidecars.ts — do not edit by hand.
2
+ export * from "./src/index.js";
@@ -0,0 +1,2 @@
1
+ // Auto-generated by _scripts/emit-dts-sidecars.ts — do not edit by hand.
2
+ export * from "./src/discovery.js";
@@ -0,0 +1,2 @@
1
+ // Auto-generated by _scripts/emit-dts-sidecars.ts — do not edit by hand.
2
+ export * from "./src/driver-targets.js";
@@ -0,0 +1,2 @@
1
+ // Auto-generated by _scripts/emit-dts-sidecars.ts — do not edit by hand.
2
+ export * from "./src/framework.js";
@@ -0,0 +1,2 @@
1
+ // Auto-generated by _scripts/emit-dts-sidecars.ts — do not edit by hand.
2
+ export * from "./src/index.js";
@@ -1,10 +1,10 @@
1
- export { ALL_PROVIDERS, SETTINGS_DEFAULTS, WorkspaceYamlEditor, applyPatch, buildLockFile, computeHash, detectEnvApiKeys, extractForPatch, generatePatch, globalSettingsPath, listPatches, loadSettings, mapLegacyFields, maskApiKey, migrateSettings, portableSpawn, portableSpawnSync, projectSettingsPath, providerEnvKey, readLock, readPatch, readPluginsLockSlice, resolveAllKeys, resolveApiKey, resolveSettings, savePatch, saveSettings, verifyLock, walkForSettings, writeLock, writePluginsLockSlice } from '../chunk-RENHNO4J.js';
1
+ export { ALL_PROVIDERS, SETTINGS_DEFAULTS, WorkspaceYamlEditor, applyPatch, buildLockFile, computeHash, detectEnvApiKeys, extractForPatch, generatePatch, globalSettingsPath, listPatches, loadSettings, mapLegacyFields, maskApiKey, migrateSettings, portableSpawn, portableSpawnSync, projectSettingsPath, providerEnvKey, readLock, readPatch, readPluginsLockSlice, resolveAllKeys, resolveApiKey, resolveSettings, savePatch, saveSettings, verifyLock, walkForSettings, writeLock, writePluginsLockSlice } from '../chunk-P4FYHEHW.js';
2
2
  export { DRIVER_DEFAULTS, resolveDriverPaths } from '../chunk-K5GBV4SA.js';
3
3
  export { detectAiResources, detectDomains, detectMonorepoRoot } from '../chunk-KLNL7QHN.js';
4
- export { BASE_ASSETS_REPO_NAME, resolveBaseAssetsRoot, resolveRuntimeAssets } from '../chunk-TTY56FQQ.js';
5
- export { COMPACTION_DEFAULTS, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, checkRepoStatus, checkoutPin, cloneRepo, decodeSkaileYaml, encodeSkaileYaml, ensureRepo, findWorkspaceRoot, getGlobalCacheDir, getRepoCommit, linkRepo, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, mergeSkWorkspaceConfigs, normalizeConfig, pullRepo, readLinks, resolveAgentDir, resolveAll, resolveAsset, resolveSkWorkspaceConfig, saveSkWorkspaceConfig, scanRepo, unlinkRepo, validateAssetRecipeAttr, workspaceConfigFilename, writeLinks } from '../chunk-TKOLD2O7.js';
6
- export { fromAgentMd, fromAgentYaml, fromBundleYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromMcpServerMd, fromPromptMd, fromSkillMd, parseFrontmatter, parseRequires, scanDirectory, walkDir } from '../chunk-WIR34WMU.js';
7
- export { ASSET_KINDS, INDIVIDUAL_KINDS, assetRefToDep, assetRefToStr, depToStr, entryFromRaw, entryToRaw, parseAssetRef, parseDep, repositoryFromRaw, repositoryToRaw } from '../chunk-X5Y4EGZB.js';
4
+ export { BASE_ASSETS_REPO_NAME, resolveBaseAssetsRoot, resolveRuntimeAssets } from '../chunk-74GTZ4TJ.js';
5
+ export { COMPACTION_DEFAULTS, CanonicalRefConflictError, DEFAULT_RECIPE_ATTR, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, buildProvenanceIndex, checkRepoStatus, checkoutPin, cloneRepo, decodeSkaileYaml, encodeSkaileYaml, ensureRepo, findWorkspaceRoot, getGlobalCacheDir, getRepoCommit, linkRepo, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, mergeSkWorkspaceConfigs, normalizeConfig, pullRepo, readLinks, resolveAgentDir, resolveAll, resolveAsset, resolveSkWorkspaceConfig, saveSkWorkspaceConfig, scanRepo, unlinkRepo, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, writeLinks } from '../chunk-LDYPQVRU.js';
6
+ export { fromAgentMd, fromAgentYaml, fromBundleYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromMcpServerMd, fromPromptMd, fromSkillMd, parseFrontmatter, parseRequires, scanDirectory, walkDir } from '../chunk-NQL3T75I.js';
7
+ export { ASSET_KINDS, INDIVIDUAL_KINDS, assetRefToDep, assetRefToStr, depToStr, entryFromRaw, entryToRaw, parseAssetRef, parseDep, repositoryFromRaw, repositoryToRaw } from '../chunk-VUCPJBAG.js';
8
8
  export { deployedBase, deployedDir, isDeployed } from '../chunk-JKNWJ64A.js';
9
9
  export { DRIVER_TARGETS, SUPPORTED_DRIVER_TARGETS } from '../chunk-O4JH3KUE.js';
10
10
  export { LogStore, LogStoreDisabledError, NoOpSink, OnLogBridgeSink, SqliteSink, StdoutSink, WsLogSink, createLogStoreFromConfig, createLogger, getLogStore, normalizeError, openSqlite, registerLogStore, resetLogStore, resolveLogStoreConfig, sanitizeData } from '../chunk-24UIWON4.js';
@@ -0,0 +1,2 @@
1
+ // Auto-generated by _scripts/emit-dts-sidecars.ts — do not edit by hand.
2
+ export * from "./src/logging/index.js";
@@ -0,0 +1,2 @@
1
+ // Auto-generated by _scripts/emit-dts-sidecars.ts — do not edit by hand.
2
+ export * from "./src/manifest.js";
@@ -1,5 +1,5 @@
1
- export { fromAgentMd, fromAgentYaml, fromBundleYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromKnowledgeYaml, fromMcpServerMd, fromPromptMd, fromSkillMd, parseFrontmatter, parseRequires, scanDirectory, walkDir } from '../chunk-WIR34WMU.js';
2
- import '../chunk-X5Y4EGZB.js';
1
+ export { fromAgentMd, fromAgentYaml, fromBundleYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromKnowledgeYaml, fromMcpServerMd, fromPromptMd, fromSkillMd, parseFrontmatter, parseRequires, scanDirectory, walkDir } from '../chunk-NQL3T75I.js';
2
+ import '../chunk-VUCPJBAG.js';
3
3
  import '../chunk-NSBPE2FW.js';
4
4
  //# sourceMappingURL=manifest.js.map
5
5
  //# sourceMappingURL=manifest.js.map
@@ -0,0 +1,2 @@
1
+ // Auto-generated by _scripts/emit-dts-sidecars.ts — do not edit by hand.
2
+ export * from "./src/models.js";
@@ -1,4 +1,4 @@
1
- export { ASSET_KINDS, INDIVIDUAL_KINDS, assetRefToDep, assetRefToStr, depToStr, entryFromRaw, entryToRaw, parseAssetRef, parseDep, repositoryFromRaw, repositoryToRaw } from '../chunk-X5Y4EGZB.js';
1
+ export { ASSET_KINDS, INDIVIDUAL_KINDS, assetRefToDep, assetRefToStr, depToStr, entryFromRaw, entryToRaw, parseAssetRef, parseDep, repositoryFromRaw, repositoryToRaw } from '../chunk-VUCPJBAG.js';
2
2
  import '../chunk-NSBPE2FW.js';
3
3
  //# sourceMappingURL=models.js.map
4
4
  //# sourceMappingURL=models.js.map
@@ -0,0 +1,2 @@
1
+ // Auto-generated by _scripts/emit-dts-sidecars.ts — do not edit by hand.
2
+ export * from "./src/runtime-assets.js";
@@ -1,7 +1,7 @@
1
- export { BASE_ASSETS_REPO_NAME, resolveBaseAssetsRoot, resolveRuntimeAssets } from '../chunk-TTY56FQQ.js';
2
- import '../chunk-TKOLD2O7.js';
3
- import '../chunk-WIR34WMU.js';
4
- import '../chunk-X5Y4EGZB.js';
1
+ export { BASE_ASSETS_REPO_NAME, resolveBaseAssetsRoot, resolveRuntimeAssets } from '../chunk-74GTZ4TJ.js';
2
+ import '../chunk-LDYPQVRU.js';
3
+ import '../chunk-NQL3T75I.js';
4
+ import '../chunk-VUCPJBAG.js';
5
5
  import '../chunk-NSBPE2FW.js';
6
6
  //# sourceMappingURL=runtime-assets.js.map
7
7
  //# sourceMappingURL=runtime-assets.js.map
@@ -20,11 +20,11 @@ export { buildLockFile, computeHash, readLock, readPluginsLockSlice, verifyLock,
20
20
  export * from "./logging/index.js";
21
21
  export type { FrontmatterResult } from "./manifest.js";
22
22
  export { fromAgentMd, fromAgentYaml, fromBundleYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromMcpServerMd, fromPromptMd, fromSkillMd, parseFrontmatter, parseRequires, scanDirectory, walkDir, } from "./manifest.js";
23
- export type { AgentManifest, AssetKind, AssetRef, CatalogEntry, Dependency, LockEntry, LockFile, LockPluginEntry, LockRepository, Repository, } from "./models.js";
23
+ export type { AgentManifest, AssetKind, AssetRef, CatalogEntry, Dependency, LockEntry, LockFile, LockFileEntry, LockPluginEntry, LockSourceEntry, Repository, } from "./models.js";
24
24
  export { ASSET_KINDS, assetRefToDep, assetRefToStr, depToStr, entryFromRaw, entryToRaw, INDIVIDUAL_KINDS, parseAssetRef, parseDep, repositoryFromRaw, repositoryToRaw, } from "./models.js";
25
25
  export { applyPatch, extractForPatch, generatePatch, listPatches, readPatch, savePatch, } from "./patch.js";
26
- export type { AssetCollision, LinkConfig, RepoStatus, ResolveResult } from "./repo-manager.js";
27
- export { checkoutPin, checkRepoStatus, cloneRepo, ensureRepo, getGlobalCacheDir, getRepoCommit, linkRepo, pullRepo, readLinks, resolveAll, resolveAsset, scanRepo, unlinkRepo, writeLinks, } from "./repo-manager.js";
26
+ export type { LinkConfig, RepoStatus, ResolveOpts, ResolveResult, StoreFetcher, } from "./repo-manager.js";
27
+ export { CanonicalRefConflictError, checkoutPin, checkRepoStatus, cloneRepo, ensureRepo, getGlobalCacheDir, getRepoCommit, linkRepo, pullRepo, readLinks, resolveAll, resolveAsset, scanRepo, unlinkRepo, writeLinks, } from "./repo-manager.js";
28
28
  export type { RuntimeAssetRef, RuntimeAssetsResult, RuntimeAssetWarning, RuntimeCatalogEntry, RuntimeNpmDeps, } from "./runtime-assets.js";
29
29
  export { BASE_ASSETS_REPO_NAME, resolveBaseAssetsRoot, resolveRuntimeAssets, } from "./runtime-assets.js";
30
30
  export type { Provider, ResolvedKey, SkaileSettings } from "./settings.js";
@@ -32,7 +32,9 @@ export { ALL_PROVIDERS, detectEnvApiKeys, globalSettingsPath, loadSettings, mapL
32
32
  export { deployedBase, deployedDir, isDeployed } from "./store.js";
33
33
  export type { PortableSpawnOptions, PortableSpawnSyncResult, PortableSubprocess, } from "./subprocess.js";
34
34
  export { portableSpawn, portableSpawnSync } from "./subprocess.js";
35
- export type { AgentConfig, AgentContextConfig, AgentHooks, AgentPermissions, CompactionConfig, ConnectorDeclaration, ContainerConfig, DecodeResult, Diagnostic, DiagnosticSeverity, GitConfig, HookEntry, McpServerDeclaration, RepositoryDeclaration, RuntimeDefaults, SecretsConfig, SetupEntry, SkWorkspaceConfig, SkWorkspaceConfigFile, SourceEntry, SubagentConfig, WorkspaceLayoutConfig, } from "./workspace-config.js";
36
- export { COMPACTION_DEFAULTS, decodeSkaileYaml, encodeSkaileYaml, findWorkspaceRoot, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, mergeSkWorkspaceConfigs, normalizeConfig, resolveAgentDir, resolveSkWorkspaceConfig, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, saveSkWorkspaceConfig, validateAssetRecipeAttr, workspaceConfigFilename, } from "./workspace-config.js";
35
+ export type { AgentConfig, AgentContextConfig, AgentHooks, AgentPermissions, AssetRecipe, CompactionConfig, AssetEntry, ConnectorDeclaration, ContainerConfig, DecodeResult, Diagnostic, DiagnosticSeverity, GitConfig, HookEntry, McpServerDeclaration, OverrideEntry, RuntimeDefaults, SecretsConfig, SetupEntry, SkWorkspaceConfig, SkWorkspaceConfigFile, SourceDeclaration, SourceEntry, StoreEntry, SubagentConfig, WorkspaceLayoutConfig, } from "./workspace-config.js";
36
+ export { COMPACTION_DEFAULTS, DEFAULT_RECIPE_ATTR, decodeSkaileYaml, encodeSkaileYaml, findWorkspaceRoot, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, mergeSkWorkspaceConfigs, normalizeConfig, resolveAgentDir, resolveSkWorkspaceConfig, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, saveSkWorkspaceConfig, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, } from "./workspace-config.js";
37
37
  export { WorkspaceYamlEditor } from "./workspace-yaml-editor.js";
38
+ export type { ProvenanceCandidate, ProvenanceIndex, SourceClone, } from "./walker.js";
39
+ export { buildProvenanceIndex } from "./walker.js";
38
40
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../core/src/index.ts"],"names":[],"mappings":"AAAA;;;;;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AE,MAAM,YAAY,CAAC;AAEnE,YAAY,EACV,oBAAoB,EACpB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEnE,YAAY,EACV,WAAW,EACX,kBAAkB,EAClB,UAAU,EACV,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAChB,UAAU,EACV,oBAAoB,EACpB,eAAe,EACf,YAAY,EACZ,UAAU,EACV,kBAAkB,EAClB,SAAS,EACT,SAAS,EACT,oBAAoB,EACpB,aAAa,EACb,eAAe,EACf,aAAa,EACb,UAAU,EACV,iBAAiB,EACjB,qBAAqB,EACrB,iBAAiB,EACjB,WAAW,EACX,UAAU,EACV,cAAc,EACd,qBAAqB,GACtB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,yBAAyB,EACzB,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,eAAe,EACf,wBAAwB,EACxB,yBAAyB,EACzB,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE,YAAY,EACV,mBAAmB,EACnB,eAAe,EACf,WAAW,GACZ,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC"}
@@ -1,11 +1,18 @@
1
1
  /**
2
- * Lock file I/O and integrity verification.
2
+ * Lock file I/O and integrity verification (schema v2).
3
3
  *
4
- * The lock file (skaile.lock.yaml) captures the complete resolved state:
5
- * every asset, its source commit, and a content hash for drift detection.
4
+ * The lock file (skaile.lock.yaml) captures the complete resolved state: every
5
+ * asset keyed by its canonical ref `<publisher>/<kind>:<name>@<version>`, the
6
+ * upstream source + commit it resolved from, a per-file + composite content
7
+ * hash for drift detection, and whether an `overrides[]` entry pinned it. A
8
+ * top-level `sources:` block records every contributing source URL at its
9
+ * resolved commit.
10
+ *
11
+ * Old v1 lockfiles (`lockfile_version: 1`, `repositories:`) are rejected with a
12
+ * clear regenerate-from-scratch error.
6
13
  */
7
- import type { CatalogEntry, LockFile, LockPluginEntry } from "./models.js";
8
- import type { RepositoryDeclaration } from "./workspace-config.js";
14
+ import type { LockFile, LockPluginEntry } from "./models.js";
15
+ import type { ProvenanceCandidate } from "./walker.js";
9
16
  /**
10
17
  * Serialize a `LockFile` to YAML and write it to disk.
11
18
  *
@@ -19,11 +26,12 @@ export declare function writeLock(lockPath: string, data: LockFile): void;
19
26
  *
20
27
  * @param lockPath - Absolute path to the lock file
21
28
  * @returns Parsed `LockFile`, or `null` if the file is missing or unparseable
29
+ * @throws When the file is a legacy v1 lock — the shape changed and it must be regenerated.
22
30
  * @docLink packages/core/api-reference#read-lock
23
31
  */
24
32
  export declare function readLock(lockPath: string): LockFile | null;
25
33
  /**
26
- * Compute the SHA-256 hash of a file's content.
34
+ * Compute the SHA-256 hash of a file's content (hex digest, no prefix).
27
35
  *
28
36
  * @param filePath - Absolute path to the file
29
37
  * @returns Hex-encoded SHA-256 hash string
@@ -31,22 +39,31 @@ export declare function readLock(lockPath: string): LockFile | null;
31
39
  */
32
40
  export declare function computeHash(filePath: string): string;
33
41
  /**
34
- * Build a `LockFile` from a resolved asset set.
35
- * Captures repo commits, content hashes, and resolution provenance for every entry.
42
+ * Composite hash: SHA-256 (bare 64-hex) over `localeCompare`-sorted
43
+ * `<path>:<sha256>\n` rows. Matches the walker's `compositeSha256`, the store's
44
+ * `computeCompositeSha256`, and the `InstallManifest.sha256` rollup.
45
+ */
46
+ export declare function compositeHash(files: Array<{
47
+ path: string;
48
+ sha256: string;
49
+ }>): string;
50
+ /**
51
+ * Build a v2 `LockFile` from the resolver's output.
36
52
  *
37
- * @param repositories - Repository declarations from `skaile.yaml`
38
- * @param resolved - All resolved `CatalogEntry` objects (including transitive deps)
39
- * @param resolvedBy - Map of `"kind:name"` → `"direct"` or parent `"kind:name"`
40
- * @param reposDir - Path to the project-local `.skaile/repos/` directory
41
- * @param projectDir - Optional project root for reading dev-link overrides
42
- * @returns Complete `LockFile` ready for serialization
53
+ * Assets are keyed by canonical ref `<publisher>/<kind>:<name>@<version>`; the
54
+ * top-level `sources:` block lists every contributing source URL pinned to its
55
+ * resolved commit.
56
+ *
57
+ * @param resolved - Resolved provenance candidates (the resolver's `resolved` array).
58
+ * @param overridesApplied - Canonical refs that an `overrides[]` entry pinned.
59
+ * @returns Complete v2 `LockFile` ready for serialization.
43
60
  * @docLink packages/core/api-reference#build-lock-file
44
61
  */
45
- export declare function buildLockFile(repositories: Record<string, RepositoryDeclaration>, resolved: CatalogEntry[], resolvedBy: Map<string, string>, reposDir: string, projectDir?: string): LockFile;
62
+ export declare function buildLockFile(resolved: ProvenanceCandidate[], overridesApplied: Set<string>): LockFile;
46
63
  /**
47
64
  * Read the `plugins` slice from a project's `skaile.lock.yaml`.
48
65
  *
49
- * Total — never throws on a missing or unparseable lock file (returns
66
+ * Total — never throws on a missing/unparseable/legacy lock file (returns
50
67
  * `undefined`). The plugin-store reconciler folds this into its reconcile-hash
51
68
  * so a lock edit invalidates the hash even without a manifest change.
52
69
  *
@@ -56,7 +73,8 @@ export declare function buildLockFile(repositories: Record<string, RepositoryDec
56
73
  export declare function readPluginsLockSlice(projectDir: string): Record<string, LockPluginEntry> | undefined;
57
74
  /**
58
75
  * Merge a `plugins` slice into a project's `skaile.lock.yaml`, preserving all
59
- * other fields. Creates a minimal lock file when none exists yet.
76
+ * other fields. Creates a minimal v2 lock file when none exists (or the
77
+ * existing one is a legacy v1 that can't be read).
60
78
  *
61
79
  * @param projectDir - Project root containing `skaile.lock.yaml`
62
80
  * @param slice - The `plugins` record to persist
@@ -69,20 +87,23 @@ export declare function writePluginsLockSlice(projectDir: string, slice: Record<
69
87
  export interface VerifyResult {
70
88
  /** `true` when no drift or missing assets were found. */
71
89
  ok: boolean;
72
- /** Asset `"kind:name"` refs where the content hash no longer matches. */
90
+ /** Canonical refs whose content hash no longer matches. */
73
91
  drifted: string[];
74
- /** Asset `"kind:name"` refs that cannot be found in any repository. */
92
+ /** Canonical refs whose files cannot be found on disk. */
75
93
  missing: string[];
76
94
  }
77
95
  /**
78
- * Verify a lock file against the current on-disk repository state.
79
- * Reports assets whose content hash has changed (`drifted`) and assets
80
- * whose manifest file no longer exists (`missing`).
96
+ * Verify a v2 lock file against the current on-disk source clones.
97
+ *
98
+ * For each locked asset, resolve its source clone directory via `resolveCloneDir`
99
+ * (URL → on-disk path), re-hash the recorded files, and compare the recomputed
100
+ * composite against the locked `sha256`. Reports assets whose hash changed
101
+ * (`drifted`) and assets whose files are missing (`missing`).
81
102
  *
82
- * @param lock - Previously generated `LockFile` to verify
83
- * @param reposDir - Path to the project-local `.skaile/repos/` directory
84
- * @returns `VerifyResult` indicating drift and missing assets
103
+ * @param lock - Previously generated v2 `LockFile`.
104
+ * @param resolveCloneDir - Maps a source URL to its on-disk clone root (or null).
105
+ * @returns `VerifyResult` indicating drift and missing assets.
85
106
  * @docLink packages/core/api-reference#verify-lock
86
107
  */
87
- export declare function verifyLock(lock: LockFile, reposDir: string): VerifyResult;
108
+ export declare function verifyLock(lock: LockFile, resolveCloneDir: (sourceUrl: string) => string | null): VerifyResult;
88
109
  //# sourceMappingURL=lock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lock.d.ts","sourceRoot":"","sources":["../../../core/src/lock.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,OAAO,KAAK,EACV,YAAY,EAEZ,QAAQ,EACR,eAAe,EAEhB,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAInE;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE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