@skaile/workspaces 0.21.0 → 0.22.0-beta.1
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.
- package/CHANGELOG.md +176 -0
- package/dist/{asset-feeds-CI76R7FI.js → asset-feeds-QXCSAJRN.js} +11 -11
- package/dist/{asset-feeds-CI76R7FI.js.map → asset-feeds-QXCSAJRN.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.d.ts +2 -0
- package/dist/asset-manager/contrib.d.ts +2 -0
- package/dist/asset-manager/fragments.d.ts +2 -0
- package/dist/asset-manager/history.d.ts +2 -0
- package/dist/asset-manager/index.d.ts +2 -0
- package/dist/asset-manager/index.js +9 -9
- package/dist/asset-manager/installer.d.ts +2 -0
- package/dist/asset-manager/installer.js +8 -8
- package/dist/asset-manager/renderers.d.ts +2 -0
- package/dist/asset-manager/src/index.d.ts +18 -7
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/asset-manager/src/installer.d.ts +3 -3
- package/dist/asset-manager/src/installer.d.ts.map +1 -1
- package/dist/base-assets/connectors/deploy.d.ts +2 -0
- package/dist/base-assets/connectors/deploy.js +10 -9
- package/dist/base-assets/connectors/devserver.d.ts +2 -0
- package/dist/base-assets/connectors/devserver.js +10 -9
- package/dist/base-assets/connectors/flow/adapter.js +10 -9
- package/dist/base-assets/connectors/flow/engine.d.ts +2 -0
- package/dist/base-assets/connectors/flow/run-flow.js +11 -10
- package/dist/base-assets/connectors/flow.d.ts +2 -0
- package/dist/base-assets/connectors/flow.js +10 -9
- package/dist/base-assets/connectors/git.d.ts +2 -0
- package/dist/base-assets/connectors/git.js +10 -9
- package/dist/base-assets/connectors/gmail.d.ts +2 -0
- package/dist/base-assets/connectors/gmail.js +10 -9
- package/dist/base-assets/connectors/googledrive.d.ts +2 -0
- package/dist/base-assets/connectors/googledrive.js +10 -9
- package/dist/base-assets/connectors/local.d.ts +2 -0
- package/dist/base-assets/connectors/local.js +10 -9
- package/dist/base-assets/connectors/mattermost.d.ts +2 -0
- package/dist/base-assets/connectors/mattermost.js +10 -9
- package/dist/base-assets/connectors/memory.d.ts +2 -0
- package/dist/base-assets/connectors/memory.js +10 -9
- package/dist/base-assets/connectors/minio.d.ts +2 -0
- package/dist/base-assets/connectors/minio.js +10 -9
- package/dist/base-assets/connectors/postgres.d.ts +2 -0
- package/dist/base-assets/connectors/postgres.js +10 -9
- package/dist/base-assets/connectors/s3.d.ts +2 -0
- package/dist/base-assets/connectors/s3.js +10 -9
- package/dist/base-assets/connectors/sharepoint.d.ts +2 -0
- package/dist/base-assets/connectors/sharepoint.js +10 -9
- package/dist/base-assets/connectors/sqlite.d.ts +2 -0
- package/dist/base-assets/connectors/sqlite.js +10 -9
- package/dist/base-assets/connectors/static-server.d.ts +2 -0
- package/dist/base-assets/connectors/static-server.js +10 -9
- package/dist/base-assets/connectors/tunnel.d.ts +2 -0
- package/dist/base-assets/connectors/tunnel.js +10 -9
- package/dist/base-assets/connectors/webdav.d.ts +2 -0
- package/dist/base-assets/connectors/webdav.js +10 -9
- package/dist/base-assets/connectors/xstate-store.d.ts +2 -0
- package/dist/base-assets/connectors/xstate-store.js +10 -9
- package/dist/base-assets/connectors/xstate.d.ts +2 -0
- package/dist/base-assets/connectors/xstate.js +10 -9
- package/dist/bridge/drivers/claude-sdk.d.ts +2 -0
- package/dist/bridge/drivers/claude-sdk.js +13 -3
- package/dist/bridge/drivers/claude-sdk.js.map +1 -1
- package/dist/bridge/drivers/codex.d.ts +2 -0
- package/dist/bridge/drivers/codex.js +13 -3
- package/dist/bridge/drivers/codex.js.map +1 -1
- package/dist/bridge/drivers/echo.d.ts +2 -0
- package/dist/bridge/drivers/echo.js +13 -4
- package/dist/bridge/drivers/echo.js.map +1 -1
- package/dist/bridge/drivers/omp.d.ts +2 -0
- package/dist/bridge/drivers/omp.js +13 -3
- package/dist/bridge/drivers/omp.js.map +1 -1
- package/dist/bridge/index.d.ts +2 -0
- package/dist/bridge/index.js +3 -2
- package/dist/bridge/src/drivers/claude-sdk.d.ts +7 -0
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
- package/dist/bridge/src/drivers/codex.d.ts +7 -0
- package/dist/bridge/src/drivers/codex.d.ts.map +1 -1
- package/dist/bridge/src/drivers/echo.d.ts +6 -0
- package/dist/bridge/src/drivers/echo.d.ts.map +1 -1
- package/dist/bridge/src/drivers/omp.d.ts +6 -0
- package/dist/bridge/src/drivers/omp.d.ts.map +1 -1
- package/dist/bridge/src/registry.d.ts +34 -34
- package/dist/bridge/src/registry.d.ts.map +1 -1
- package/dist/{chunk-ZWIG55ZX.js → chunk-2XY6732A.js} +3 -3
- package/dist/{chunk-ZWIG55ZX.js.map → chunk-2XY6732A.js.map} +1 -1
- package/dist/{chunk-NCUTHLRV.js → chunk-3ECS5PFD.js} +4 -4
- package/dist/{chunk-NCUTHLRV.js.map → chunk-3ECS5PFD.js.map} +1 -1
- package/dist/{chunk-FRPKLIEZ.js → chunk-4AZKT2BU.js} +13 -13
- package/dist/chunk-4AZKT2BU.js.map +1 -0
- package/dist/chunk-6E6PKKAD.js +161 -0
- package/dist/chunk-6E6PKKAD.js.map +1 -0
- package/dist/{chunk-4ACWI5YT.js → chunk-6VTG73UY.js} +48 -36
- package/dist/chunk-6VTG73UY.js.map +1 -0
- package/dist/{chunk-H45ANMIU.js → chunk-APAOQLPT.js} +3 -3
- package/dist/{chunk-H45ANMIU.js.map → chunk-APAOQLPT.js.map} +1 -1
- package/dist/{chunk-4S4TZDCD.js → chunk-D7K72XEY.js} +3 -3
- package/dist/{chunk-4S4TZDCD.js.map → chunk-D7K72XEY.js.map} +1 -1
- package/dist/{chunk-2WVQMRIE.js → chunk-DKGDOALM.js} +5 -5
- package/dist/{chunk-2WVQMRIE.js.map → chunk-DKGDOALM.js.map} +1 -1
- package/dist/{chunk-DFUXWNTS.js → chunk-GFNW72LW.js} +17 -5
- package/dist/chunk-GFNW72LW.js.map +1 -0
- package/dist/{chunk-37JKX6D7.js → chunk-I3UEM3FX.js} +36 -8
- package/dist/chunk-I3UEM3FX.js.map +1 -0
- package/dist/{chunk-5QNQLSBW.js → chunk-J3VKAEQP.js} +514 -143
- package/dist/chunk-J3VKAEQP.js.map +1 -0
- package/dist/{chunk-BSY56QS7.js → chunk-JHF66MCK.js} +49 -3
- package/dist/chunk-JHF66MCK.js.map +1 -0
- package/dist/{chunk-XAVM2BAJ.js → chunk-LT4DLEYE.js} +114 -619
- package/dist/chunk-LT4DLEYE.js.map +1 -0
- package/dist/{chunk-S2OVTCAL.js → chunk-M5TE6YI5.js} +3 -3
- package/dist/{chunk-S2OVTCAL.js.map → chunk-M5TE6YI5.js.map} +1 -1
- package/dist/{chunk-RDH4SSMH.js → chunk-NJLHHZIW.js} +2 -2
- package/dist/{chunk-RDH4SSMH.js.map → chunk-NJLHHZIW.js.map} +1 -1
- package/dist/{chunk-XGWGLIHZ.js → chunk-PTIHB2TV.js} +5 -5
- package/dist/{chunk-XGWGLIHZ.js.map → chunk-PTIHB2TV.js.map} +1 -1
- package/dist/{chunk-W5DFC35Z.js → chunk-UMOENHVH.js} +279 -133
- package/dist/chunk-UMOENHVH.js.map +1 -0
- package/dist/{chunk-G4BR355S.js → chunk-V3QMSM5I.js} +38 -43
- package/dist/chunk-V3QMSM5I.js.map +1 -0
- package/dist/{chunk-DEQ3OOTU.js → chunk-VCYXVP2S.js} +263 -177
- package/dist/chunk-VCYXVP2S.js.map +1 -0
- package/dist/{chunk-KFDTS7RX.js → chunk-XIHFJVOD.js} +3 -3
- package/dist/{chunk-KFDTS7RX.js.map → chunk-XIHFJVOD.js.map} +1 -1
- package/dist/cli/index.d.ts +2 -0
- package/dist/cli/index.js +762 -472
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/deploy.d.ts +24 -0
- package/dist/cli/src/commands/deploy.d.ts.map +1 -0
- package/dist/cli/src/commands/integration.d.ts +19 -0
- package/dist/cli/src/commands/integration.d.ts.map +1 -0
- package/dist/cli/src/commands/manage.d.ts +1 -1
- package/dist/cli/src/commands/plugin-registry-cmd.d.ts +22 -0
- package/dist/cli/src/commands/plugin-registry-cmd.d.ts.map +1 -0
- package/dist/cli/src/commands/project.d.ts.map +1 -1
- package/dist/cli/src/commands/serve.d.ts.map +1 -1
- package/dist/cli/src/commands/source.d.ts.map +1 -1
- package/dist/cli/src/commands/update.d.ts.map +1 -1
- package/dist/cli/src/ensure-sources.d.ts.map +1 -1
- package/dist/cli/src/plugin-store/index.d.ts +37 -0
- package/dist/cli/src/plugin-store/index.d.ts.map +1 -0
- package/dist/cli/src/plugin-store/load.d.ts +35 -0
- package/dist/cli/src/plugin-store/load.d.ts.map +1 -0
- package/dist/cli/src/plugin-store/paths.d.ts +23 -0
- package/dist/cli/src/plugin-store/paths.d.ts.map +1 -0
- package/dist/cli/src/plugin-store/reconcile.d.ts +50 -0
- package/dist/cli/src/plugin-store/reconcile.d.ts.map +1 -0
- package/dist/cli/src/plugin-store/spec.d.ts +25 -0
- package/dist/cli/src/plugin-store/spec.d.ts.map +1 -0
- package/dist/client/index.d.ts +2 -0
- package/dist/connectors/config.d.ts +2 -0
- package/dist/connectors/config.js +8 -8
- package/dist/connectors/index.d.ts +2 -0
- package/dist/connectors/index.js +10 -9
- package/dist/connectors/rclone-config.d.ts +2 -0
- package/dist/connectors/rclone.d.ts +2 -0
- package/dist/connectors/src/connector-manager.d.ts.map +1 -1
- package/dist/connectors/src/connector-registry.d.ts +42 -22
- package/dist/connectors/src/connector-registry.d.ts.map +1 -1
- package/dist/connectors/src/index.d.ts +2 -3
- package/dist/connectors/src/index.d.ts.map +1 -1
- package/dist/connectors-shared/index.d.ts +2 -0
- package/dist/connectors-shared/index.js +8 -0
- package/dist/connectors-shared/index.js.map +1 -0
- package/dist/connectors-shared/src/index.d.ts +11 -0
- package/dist/connectors-shared/src/index.d.ts.map +1 -0
- package/dist/connectors-shared/src/schemas.d.ts +10 -0
- package/dist/connectors-shared/src/schemas.d.ts.map +1 -0
- package/dist/connectors-shared/src/types.d.ts +11 -0
- package/dist/connectors-shared/src/types.d.ts.map +1 -0
- package/dist/core/discovery.d.ts +2 -0
- package/dist/core/driver-targets.d.ts +2 -0
- package/dist/core/framework.d.ts +2 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +7 -7
- package/dist/core/logging.d.ts +2 -0
- package/dist/core/manifest.d.ts +2 -0
- package/dist/core/manifest.js +2 -2
- package/dist/core/models.d.ts +2 -0
- package/dist/core/models.js +1 -1
- package/dist/core/runtime-assets.d.ts +2 -0
- package/dist/core/runtime-assets.js +4 -4
- package/dist/core/src/index.d.ts +8 -6
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/lock.d.ts +64 -24
- package/dist/core/src/lock.d.ts.map +1 -1
- package/dist/core/src/models.d.ts +66 -47
- package/dist/core/src/models.d.ts.map +1 -1
- package/dist/core/src/repo-manager.d.ts +62 -34
- package/dist/core/src/repo-manager.d.ts.map +1 -1
- package/dist/core/src/runtime-assets.d.ts.map +1 -1
- package/dist/core/src/walker.d.ts +52 -0
- package/dist/core/src/walker.d.ts.map +1 -0
- package/dist/core/src/workspace-config.d.ts +174 -45
- package/dist/core/src/workspace-config.d.ts.map +1 -1
- package/dist/core/src/workspace-yaml-editor.d.ts +53 -16
- package/dist/core/src/workspace-yaml-editor.d.ts.map +1 -1
- package/dist/core/store.d.ts +2 -0
- package/dist/core/workspace-config.d.ts +2 -0
- package/dist/core/workspace-config.js +3 -3
- package/dist/deploy/index.d.ts +2 -0
- package/dist/deploy/index.js +473 -0
- package/dist/deploy/index.js.map +1 -0
- package/dist/deploy/src/handle-store.d.ts +22 -0
- package/dist/deploy/src/handle-store.d.ts.map +1 -0
- package/dist/deploy/src/index.d.ts +21 -0
- package/dist/deploy/src/index.d.ts.map +1 -0
- package/dist/deploy/src/targets/container-runtime.d.ts +39 -0
- package/dist/deploy/src/targets/container-runtime.d.ts.map +1 -0
- package/dist/deploy/src/targets/docker.d.ts +19 -0
- package/dist/deploy/src/targets/docker.d.ts.map +1 -0
- package/dist/deploy/src/targets/local.d.ts +30 -0
- package/dist/deploy/src/targets/local.d.ts.map +1 -0
- package/dist/deploy/src/targets/podman.d.ts +19 -0
- package/dist/deploy/src/targets/podman.d.ts.map +1 -0
- package/dist/deploy/src/targets/port.d.ts +10 -0
- package/dist/deploy/src/targets/port.d.ts.map +1 -0
- package/dist/deploy/src/targets/stream-lines.d.ts +44 -0
- package/dist/deploy/src/targets/stream-lines.d.ts.map +1 -0
- package/dist/discovery/index.d.ts +2 -0
- package/dist/discovery/index.js +3 -3
- package/dist/discovery/src/source-config.d.ts +2 -2
- package/dist/{ensure-sources-IDVQ77NJ.js → ensure-sources-SL2S4UEX.js} +22 -18
- package/dist/ensure-sources-SL2S4UEX.js.map +1 -0
- package/dist/{flows-6BNO4GKK.js → flows-DYFTPCPM.js} +4 -4
- package/dist/{flows-6BNO4GKK.js.map → flows-DYFTPCPM.js.map} +1 -1
- package/dist/library/index.d.ts +2 -0
- package/dist/library/index.js +4 -4
- package/dist/library/src/remote/remote-catalog-source.d.ts +17 -0
- package/dist/library/src/remote/remote-catalog-source.d.ts.map +1 -1
- package/dist/open-library-M4DB3D3J.js +13 -0
- package/dist/{open-library-IOYWFK7M.js.map → open-library-M4DB3D3J.js.map} +1 -1
- package/dist/plugin-registry/index.d.ts +2 -0
- package/dist/plugin-registry/index.js +4 -0
- package/dist/plugin-registry/index.js.map +1 -0
- package/dist/plugin-registry/src/context.d.ts +29 -0
- package/dist/plugin-registry/src/context.d.ts.map +1 -0
- package/dist/plugin-registry/src/deploy-handle.d.ts +76 -0
- package/dist/plugin-registry/src/deploy-handle.d.ts.map +1 -0
- package/dist/plugin-registry/src/deploy-helpers.d.ts +69 -0
- package/dist/plugin-registry/src/deploy-helpers.d.ts.map +1 -0
- package/dist/plugin-registry/src/errors.d.ts +23 -0
- package/dist/plugin-registry/src/errors.d.ts.map +1 -0
- package/dist/plugin-registry/src/index.d.ts +18 -0
- package/dist/plugin-registry/src/index.d.ts.map +1 -0
- package/dist/plugin-registry/src/internal.d.ts +13 -0
- package/dist/plugin-registry/src/internal.d.ts.map +1 -0
- package/dist/plugin-registry/src/registry.d.ts +26 -0
- package/dist/plugin-registry/src/registry.d.ts.map +1 -0
- package/dist/plugin-registry/src/targets.d.ts +46 -0
- package/dist/plugin-registry/src/targets.d.ts.map +1 -0
- package/dist/plugin-store-AJ3FGXIC.js +144 -0
- package/dist/plugin-store-AJ3FGXIC.js.map +1 -0
- package/dist/plugins/index.d.ts +2 -0
- package/dist/resolver/index.d.ts +2 -0
- package/dist/runner/index.d.ts +2 -0
- package/dist/runner/index.js +15 -14
- package/dist/runner/prompt-assembly.d.ts +2 -0
- package/dist/runner/src/resources.d.ts.map +1 -1
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/sdk/asset-manager.d.ts +2 -0
- package/dist/sdk/asset-manager.js +9 -9
- package/dist/sdk/bridge.d.ts +2 -0
- package/dist/sdk/bridge.js +3 -2
- package/dist/sdk/client.d.ts +2 -0
- package/dist/sdk/core.d.ts +2 -0
- package/dist/sdk/core.js +7 -7
- package/dist/sdk/flow.d.ts +2 -0
- package/dist/sdk/index.d.ts +2 -0
- package/dist/sdk/index.js +51 -17
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/resolver.d.ts +2 -0
- package/dist/sdk/runner.d.ts +2 -0
- package/dist/sdk/runner.js +15 -14
- package/dist/sdk/session.d.ts +2 -0
- package/dist/sdk/src/local-runtime.d.ts +8 -0
- package/dist/sdk/src/local-runtime.d.ts.map +1 -1
- package/dist/sdk/src/transport.d.ts +7 -1
- package/dist/sdk/src/transport.d.ts.map +1 -1
- package/dist/sdk/store.d.ts +2 -0
- package/dist/sdk/telemetry.d.ts +2 -0
- package/dist/sdk/transport/ws/client.d.ts +2 -0
- package/dist/sdk/transport/ws/server.d.ts +2 -0
- package/dist/sdk/transport/ws.d.ts +2 -0
- package/dist/sdk/transport.d.ts +2 -0
- package/dist/sdk/types.d.ts +2 -0
- package/dist/secrets/index.d.ts +2 -0
- package/dist/session/index.d.ts +2 -0
- package/dist/{setup-AIOLUTKV.js → setup-GBSQX7JF.js} +12 -11
- package/dist/setup-GBSQX7JF.js.map +1 -0
- package/dist/store/index.d.ts +2 -0
- package/dist/store/react.d.ts +2 -0
- package/dist/store/vue.d.ts +2 -0
- package/dist/store-client-5WBRUC5U.js +14 -0
- package/dist/{store-client-CYEH2GKC.js.map → store-client-5WBRUC5U.js.map} +1 -1
- package/dist/telemetry/index.d.ts +2 -0
- package/dist/transport/index.d.ts +2 -0
- package/dist/transport/ws/client.d.ts +2 -0
- package/dist/transport/ws/server.d.ts +2 -0
- package/dist/transport/ws.d.ts +2 -0
- package/dist/tui/index.d.ts +2 -0
- package/dist/tui/index.js +15 -14
- package/dist/tui/index.js.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/manifests.d.ts +2 -0
- package/dist/workspace-plugin/adapters/mcp.d.ts +2 -0
- package/dist/workspace-plugin/adapters/mcp.js +2 -2
- package/dist/workspace-plugin/adapters/omp.d.ts +2 -0
- package/dist/workspace-plugin/adapters/omp.js +3 -3
- package/dist/workspace-plugin/index.d.ts +2 -0
- package/dist/workspace-plugin/index.js +1 -1
- package/package.json +23 -24
- package/dist/base-assets/connectors/redis/adapter.d.ts +0 -39
- package/dist/base-assets/connectors/redis/adapter.d.ts.map +0 -1
- package/dist/base-assets/connectors/redis.js +0 -20
- package/dist/base-assets/connectors/redis.js.map +0 -1
- package/dist/base-assets/connectors/yjs/adapter.d.ts +0 -50
- package/dist/base-assets/connectors/yjs/adapter.d.ts.map +0 -1
- package/dist/base-assets/connectors/yjs.js +0 -20
- package/dist/base-assets/connectors/yjs.js.map +0 -1
- package/dist/chunk-37JKX6D7.js.map +0 -1
- package/dist/chunk-4ACWI5YT.js.map +0 -1
- package/dist/chunk-5QNQLSBW.js.map +0 -1
- package/dist/chunk-BSY56QS7.js.map +0 -1
- package/dist/chunk-DEQ3OOTU.js.map +0 -1
- package/dist/chunk-DFUXWNTS.js.map +0 -1
- package/dist/chunk-FRPKLIEZ.js.map +0 -1
- package/dist/chunk-G4BR355S.js.map +0 -1
- package/dist/chunk-W5DFC35Z.js.map +0 -1
- package/dist/chunk-XAVM2BAJ.js.map +0 -1
- package/dist/cli/src/commands/plugin.d.ts +0 -14
- package/dist/cli/src/commands/plugin.d.ts.map +0 -1
- package/dist/ensure-sources-IDVQ77NJ.js.map +0 -1
- package/dist/open-library-IOYWFK7M.js +0 -13
- package/dist/setup-AIOLUTKV.js.map +0 -1
- package/dist/store-client-CYEH2GKC.js +0 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,181 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.22.0-beta.1
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`ce3f33f`](https://github.com/skaile-ai/workspaces/commit/ce3f33f5b85f81d1c80689a99a8e63cf0c2afc07) Thanks [@mortegro](https://github.com/mortegro)! - Fix deploy-handle readiness timeout + dedupe deploy-target helpers.
|
|
8
|
+
|
|
9
|
+
- **Fix:** `DeployHandle.waitReady(timeoutMs)` silently ignored its `timeoutMs`
|
|
10
|
+
argument in the fly / k8s / vercel-sandbox targets, always using a hard-coded
|
|
11
|
+
internal deadline. The caller's timeout is now honored.
|
|
12
|
+
- **Fix (`@skaile/provider-fly`):** `deleteMachine` swallowed _all_ errors while
|
|
13
|
+
only intending to ignore a 404, so `stop()` could falsely report success on a
|
|
14
|
+
still-running (still-billing) machine. Non-404 errors now propagate.
|
|
15
|
+
- **Added (`@skaile/workspaces/plugin-registry`):** shared deploy helpers —
|
|
16
|
+
`buildStrategySchema` / `BuildStrategy`, abort-aware `sleep`, generic
|
|
17
|
+
`pollUntil`, and the `makeDeployHandle` factory — replacing the per-provider
|
|
18
|
+
copies of the sleep loop, handle wrapper, and build-strategy enum.
|
|
19
|
+
|
|
20
|
+
- [#65](https://github.com/skaile-ai/workspaces/pull/65) [`2af2e52`](https://github.com/skaile-ai/workspaces/commit/2af2e525588648e45a14fb8acdfde72f1ebb57e8) Thanks [@mortegro](https://github.com/mortegro)! - Add `listDeployTargets()` / `getDeployTarget()` to
|
|
21
|
+
`@skaile/workspaces/plugin-registry`, the symmetric counterparts to
|
|
22
|
+
`listDrivers()` / `listConnectors()` so UIs can enumerate all three plugin kinds
|
|
23
|
+
uniformly. Both default to the process-wide `pluginRegistry`;
|
|
24
|
+
`listDeployTargets()` returns lightweight `{ id, displayName }` rows and
|
|
25
|
+
`getDeployTarget(id)` returns the full target without the override/yaml/default
|
|
26
|
+
precedence `resolveDeployTarget` applies.
|
|
27
|
+
|
|
28
|
+
Docs (`docs/deploy/`): documented the container-target image lifecycle — that
|
|
29
|
+
`buildStrategy: "local"` is bring-your-own-image (`create()` never builds), how
|
|
30
|
+
`pullPolicy` interacts with a locally-built vs. registry-published image, that
|
|
31
|
+
`workspace.container.{packages,agent_clis,stack,nix}` are image-build inputs
|
|
32
|
+
distinct from the deploy `config.image` (with skaile-platform's
|
|
33
|
+
`skaile-vm-agent:thin` / Nix-stack model as the reference), and that the
|
|
34
|
+
in-process runtime is deliberately out of scope for the deploy abstraction
|
|
35
|
+
(no `wsUrl`).
|
|
36
|
+
|
|
37
|
+
- [#67](https://github.com/skaile-ai/workspaces/pull/67) [`c67a381`](https://github.com/skaile-ai/workspaces/commit/c67a381f1029bec547531e238d235636eef16740) Thanks [@mortegro](https://github.com/mortegro)! - Canonical-identity manifest architecture (BREAKING).
|
|
38
|
+
|
|
39
|
+
Schema:
|
|
40
|
+
|
|
41
|
+
- `skaile.yaml` top-level keys `repositories:` and `ai_resources:` are removed
|
|
42
|
+
and now throw a parse error pointing at `docs/concepts/manifest-schema.md` and
|
|
43
|
+
the `migrate-skaile-manifest` skill.
|
|
44
|
+
- New publication half: `publisher`, `version`, `assets[]`.
|
|
45
|
+
- New consumption half: collapsed `sources:[{url, pin?}]` (no `name`),
|
|
46
|
+
`stores:[{url}]`, `dependencies:[<kind>:<name>@<publisher>[#pin]]`,
|
|
47
|
+
`overrides:[{ref, source, reason}]` with required `reason:`.
|
|
48
|
+
|
|
49
|
+
Dep ref grammar:
|
|
50
|
+
|
|
51
|
+
- Canonical form `kind:name@<publisher>[#pin]`. `publisher` is required and
|
|
52
|
+
GitHub-shaped. Pins accept SemVer constraints (^, ~, x), exact SemVer, a
|
|
53
|
+
40-char SHA, or absent. Floating refs (main/latest/HEAD) throw.
|
|
54
|
+
|
|
55
|
+
Resolution:
|
|
56
|
+
|
|
57
|
+
- The resolver collects candidates from every source clone (via the new
|
|
58
|
+
provenance-index walker) and optionally every store. Divergent sha256 at the
|
|
59
|
+
same (publisher, kind, name, version) is a hard error
|
|
60
|
+
(`CanonicalRefConflictError`) with a dep-chain walk. `overrides[]` pin a
|
|
61
|
+
chosen source and flag `override_applied: true` on the lock entry. A cheap
|
|
62
|
+
`catalog.getCanonicalDigest` probe cross-checks source vs store at the same
|
|
63
|
+
version. `resolveAll` is now async.
|
|
64
|
+
|
|
65
|
+
Lock file:
|
|
66
|
+
|
|
67
|
+
- Schema v2. Keys are canonical refs `<publisher>/<kind>:<name>@<version>`;
|
|
68
|
+
values carry `sha256`, `source.{url, commit}`, `files[]`, `override_applied`.
|
|
69
|
+
Top-level `sources:` records every contributing URL+commit. Old v1 lockfiles
|
|
70
|
+
must be deleted and regenerated; the reader emits a clear error.
|
|
71
|
+
|
|
72
|
+
Types:
|
|
73
|
+
|
|
74
|
+
- `AssetRef.repository` → `AssetRef.publisher` (and `CatalogEntry.publisher`).
|
|
75
|
+
- `RepositoryDeclaration` → `SourceDeclaration`.
|
|
76
|
+
- `LockEntry` reshaped; new `LockSourceEntry`, `LockFileEntry`,
|
|
77
|
+
`StoreEntry`, `AssetEntry`, `OverrideEntry`.
|
|
78
|
+
- `RemoteCatalogSource.getCanonicalDigest(ref)` added.
|
|
79
|
+
|
|
80
|
+
Migration:
|
|
81
|
+
|
|
82
|
+
- No `skaile manifest migrate` CLI command. The transform is performed by the
|
|
83
|
+
`migrate-skaile-manifest` skill (lives in `ai-assets`).
|
|
84
|
+
|
|
85
|
+
- [#53](https://github.com/skaile-ai/workspaces/pull/53) [`4e3c2b2`](https://github.com/skaile-ai/workspaces/commit/4e3c2b27ed6a004e7b9c3d60b0ae3754a8192eb5) Thanks [@peteralbert](https://github.com/peteralbert)! - Support the BYO-flake recipe form on `AssetRecipe`.
|
|
86
|
+
|
|
87
|
+
- `AssetRecipe` gains optional `flake` (the asset's own flake: `"."` or a flake URL) and
|
|
88
|
+
`publisher` fields; `attr` is now optional and defaults to `"default"` for the flake form
|
|
89
|
+
(the legacy `{ attr }` platform-flake form is unchanged and still requires `attr`).
|
|
90
|
+
- New `validateAssetRecipeFlake` validates the flake source shape (`"."`, `github:`,
|
|
91
|
+
`git+https://`, `git+ssh://`, `path:`; rejects bare paths, traversal, unknown schemes, and
|
|
92
|
+
shell metacharacters). Exported alongside `DEFAULT_RECIPE_ATTR`.
|
|
93
|
+
- `mcpDeclFromCatalogEntry` carries `flake`/`publisher` onto the decl; an invalid flake drops
|
|
94
|
+
the whole recipe (no silent fall back to a platform-flake attr).
|
|
95
|
+
- The runner resolves a flake-sourced recipe by `mcps.<id>` (the recipe id) rather than `attr`,
|
|
96
|
+
since BYO-flake recipes all build `#default` and `attr` is not a unique map key.
|
|
97
|
+
|
|
98
|
+
### Patch Changes
|
|
99
|
+
|
|
100
|
+
- [#60](https://github.com/skaile-ai/workspaces/pull/60) [`69f9924`](https://github.com/skaile-ai/workspaces/commit/69f99243cff137da1f835777e298e0779dec45e2) Thanks [@peteralbert](https://github.com/peteralbert)! - Emit sidecar `.d.ts` files next to each tsup `.js` output so consumers and
|
|
101
|
+
tools that look for a declaration file adjacent to the `.js` (classic node
|
|
102
|
+
resolution, some bundlers, IDE quick-lookups, ad-hoc `grep` audits) find one.
|
|
103
|
+
|
|
104
|
+
Previously, tsup emitted JS at `dist/<entry>.js` (e.g.
|
|
105
|
+
`dist/core/workspace-config.js`) while `tsc` emitted `.d.ts` at the
|
|
106
|
+
source-preserving path `dist/<src>/<entry>.d.ts` (e.g.
|
|
107
|
+
`dist/core/src/workspace-config.d.ts`). The package.json `exports` map
|
|
108
|
+
bridged these with separate `types` and `import` conditions — correct for
|
|
109
|
+
node16/nodenext/bundler resolvers, but invisible to anything looking
|
|
110
|
+
adjacent to the `.js`. A new post-build step (`build:dts-sidecars`) writes a
|
|
111
|
+
thin re-export shim at the tsup output path that points at the canonical
|
|
112
|
+
tsc-emitted declaration, eliminating the apparent stale-types mismatch
|
|
113
|
+
reported on `@skaile/workspaces/core/workspace-config`.
|
|
114
|
+
|
|
115
|
+
- [#66](https://github.com/skaile-ai/workspaces/pull/66) [`90a2c61`](https://github.com/skaile-ai/workspaces/commit/90a2c61564b4dd91ff54a96d3dcff213c35e465f) Thanks [@mortegro](https://github.com/mortegro)! - deploy(container): make `isRunning()` async so the docker/podman `inspect` round-trip stays off the event loop. Previously `health()`/`restore()` called a synchronous `portableSpawnSync` inspect, freezing log pumps and other connections on each status poll.
|
|
116
|
+
|
|
117
|
+
- [#64](https://github.com/skaile-ai/workspaces/pull/64) [`f1b14f3`](https://github.com/skaile-ai/workspaces/commit/f1b14f3f9bed870efe6f8c7de2819cfbeeb444a2) Thanks [@mortegro](https://github.com/mortegro)! - fix(sdk): InProcessTransport now tracks real readiness and never drops commands
|
|
118
|
+
|
|
119
|
+
`InProcessTransport.connected` previously returned a hard-coded `true`, so
|
|
120
|
+
`LocalRuntime.isRunning` reported `true` even before `start()`. It now reflects
|
|
121
|
+
whether a command handler is actually registered.
|
|
122
|
+
|
|
123
|
+
`inject()` also silently dropped commands sent before the runner wired its
|
|
124
|
+
`onCommand` handler (e.g. a `debug`/`prompt` issued during the ~50ms `start()`
|
|
125
|
+
window, or against a lazily-started runtime), which made debug queries hang
|
|
126
|
+
until their own timeout. Such commands are now buffered and flushed to the
|
|
127
|
+
first handler, so none are lost.
|
|
128
|
+
|
|
129
|
+
`LocalRuntime` gains `whenReady()`, a promise resolved once `startAgentServer`
|
|
130
|
+
returns, so consumers can await wiring before issuing reply-expecting commands.
|
|
131
|
+
|
|
132
|
+
- [#60](https://github.com/skaile-ai/workspaces/pull/60) [`69f9924`](https://github.com/skaile-ai/workspaces/commit/69f99243cff137da1f835777e298e0779dec45e2) Thanks [@peteralbert](https://github.com/peteralbert)! - Add `unregister(kind, id)` to `PluginRegistry` so tests can swap a built-in
|
|
133
|
+
target (e.g. the real `local` / `git` connector) for a fake within the
|
|
134
|
+
process-wide singleton. Production callers should rarely reach for it —
|
|
135
|
+
built-ins and loaded plugins register once at startup and live for the
|
|
136
|
+
process — but the hook is needed for test isolation across describe blocks
|
|
137
|
+
that share the registry.
|
|
138
|
+
|
|
139
|
+
## 0.22.0-beta.0
|
|
140
|
+
|
|
141
|
+
### Minor Changes
|
|
142
|
+
|
|
143
|
+
- [#54](https://github.com/skaile-ai/workspaces/pull/54) [`7bdaf11`](https://github.com/skaile-ai/workspaces/commit/7bdaf115c251136288a94a7f880b3a0f52145be8) Thanks [@mortegro](https://github.com/mortegro)! - Unified plugin registry + deploy providers.
|
|
144
|
+
|
|
145
|
+
**Breaking**
|
|
146
|
+
|
|
147
|
+
- Removed the external `registerDriver` / `registerConnector` APIs. Register a
|
|
148
|
+
typed target via `pluginRegistry.register(kind, target)` instead
|
|
149
|
+
(`@skaile/workspaces/plugin-registry`). `createDriver` / `getConnector` /
|
|
150
|
+
`listConnectors` survive as resolve-only wrappers.
|
|
151
|
+
- Dropped `ioredis` and `yjs` runtime deps and the bundled `redis` / `yjs`
|
|
152
|
+
connectors. Install `@skaile/connector-redis` / `@skaile/connector-yjs` via
|
|
153
|
+
`skaile plugin install`.
|
|
154
|
+
- Renamed the coding-agent adapter command `skaile plugin` →
|
|
155
|
+
`skaile integration` (install/uninstall/enable/disable/status/hook). The
|
|
156
|
+
`skaile plugin` name now manages registry plugins.
|
|
157
|
+
|
|
158
|
+
**Added**
|
|
159
|
+
|
|
160
|
+
- `@skaile/workspaces/plugin-registry` — one process-wide `pluginRegistry` with
|
|
161
|
+
three kinds (driver / connector / deployTarget), the Target contracts,
|
|
162
|
+
`DeployHandle` / `DeployContext`, and `resolveDeployTarget` (override > yaml >
|
|
163
|
+
default precedence).
|
|
164
|
+
- `@skaile/workspaces/deploy` — built-in `local` / `docker` / `podman` deploy
|
|
165
|
+
targets (loopback-only), `registerBuiltinDeployTargets()`, and the
|
|
166
|
+
`.skaile/deploy/handle.json` store.
|
|
167
|
+
- `@skaile/workspaces/connectors-shared` — minimal public connector API for
|
|
168
|
+
extracted connector plugins.
|
|
169
|
+
- `skaile.yaml` gains `plugins:` (project-local plugin store) and `deploy:`
|
|
170
|
+
blocks; `skaile.lock.yaml` gains a `plugins:` slice.
|
|
171
|
+
- CLI: `skaile deploy [up|down|status|logs]` and `skaile plugin
|
|
172
|
+
[install|remove|list]`.
|
|
173
|
+
- `DRIVER_CATALOG` → `BUILTIN_DRIVER_CATALOG` (old name kept as an alias); new
|
|
174
|
+
`BUILTIN_CONNECTOR_CATALOG`.
|
|
175
|
+
|
|
176
|
+
See `docs/migration-v2-to-v3.md`.
|
|
177
|
+
</content>
|
|
178
|
+
|
|
3
179
|
## 0.21.0
|
|
4
180
|
|
|
5
181
|
### Minor Changes
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import './chunk-
|
|
2
|
-
import './chunk-JKNWJ64A.js';
|
|
3
|
-
import './chunk-O4JH3KUE.js';
|
|
1
|
+
import './chunk-UMOENHVH.js';
|
|
4
2
|
import './chunk-K5GBV4SA.js';
|
|
5
3
|
import './chunk-KLNL7QHN.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import { scanRepo } from './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
4
|
+
import './chunk-GFNW72LW.js';
|
|
5
|
+
import { scanRepo } from './chunk-J3VKAEQP.js';
|
|
6
|
+
import './chunk-4AZKT2BU.js';
|
|
7
|
+
import './chunk-I3UEM3FX.js';
|
|
8
|
+
import './chunk-JKNWJ64A.js';
|
|
9
|
+
import './chunk-O4JH3KUE.js';
|
|
10
10
|
import './chunk-24UIWON4.js';
|
|
11
11
|
import './chunk-NSBPE2FW.js';
|
|
12
12
|
import { existsSync } from 'fs';
|
|
@@ -16,7 +16,7 @@ async function libraryAssets() {
|
|
|
16
16
|
const notes = [];
|
|
17
17
|
try {
|
|
18
18
|
const [{ openLibraryManager }, { skaileHomeDir }] = await Promise.all([
|
|
19
|
-
import('./open-library-
|
|
19
|
+
import('./open-library-M4DB3D3J.js'),
|
|
20
20
|
import('./library/index.js')
|
|
21
21
|
]);
|
|
22
22
|
const { manager, close } = await openLibraryManager();
|
|
@@ -47,7 +47,7 @@ async function libraryAssets() {
|
|
|
47
47
|
async function storeAssets(projectDir) {
|
|
48
48
|
const notes = [];
|
|
49
49
|
try {
|
|
50
|
-
const { resolveCatalogSource } = await import('./open-library-
|
|
50
|
+
const { resolveCatalogSource } = await import('./open-library-M4DB3D3J.js');
|
|
51
51
|
const { source, close } = await resolveCatalogSource({ projectDir });
|
|
52
52
|
try {
|
|
53
53
|
const assets = await source.listAssets();
|
|
@@ -86,5 +86,5 @@ async function gatherAssetFeeds(am, projectDir) {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
export { gatherAssetFeeds, sourceAssets };
|
|
89
|
-
//# sourceMappingURL=asset-feeds-
|
|
90
|
-
//# sourceMappingURL=asset-feeds-
|
|
89
|
+
//# sourceMappingURL=asset-feeds-QXCSAJRN.js.map
|
|
90
|
+
//# sourceMappingURL=asset-feeds-QXCSAJRN.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../cli/src/asset-feeds.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAoCA,eAAe,aAAA,GAAyE;AACtF,EAAA,MAAM,QAAoB,EAAC;AAC3B,EAAA,IAAI;AACF,IAAA,MAAM,CAAC,EAAE,kBAAA,EAAmB,EAAG,EAAE,eAAe,CAAA,GAAI,MAAM,OAAA,C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AAA,QACX,cAAc;AAAC,OACjB,CAAE,CAAA;AACF,MAAA,OAAO,EAAE,SAAS,KAAA,EAAM;AAAA,IAC1B,CAAA,SAAE;AACA,MAAA,KAAA,EAAM;AAAA,IACR;AAAA,EACF,SAAS,GAAA,EAAK;AACZ,IAAA,MAAM,MAAM,GAAA,YAAe,KAAA,GAAQ,GAAA,CAAI,OAAA,GAAU,OAAO,GAAG,CAAA;AAG3D,IAAA,IAAI,CAAC,QAAA,CAAS,IAAA,CAAK,GAAG,CAAA,EAAG;AACvB,MAAA,KAAA,CAAM,KAAK,EAAE,IAAA,EAAM,OAAA,EAAS,OAAA,EAAS,KAAK,CAAA;AAAA,IAC5C;AACA,IAAA,OAAO,EAAE,OAAA,EAAS,EAAC,EAAG,KAAA,EAAM;AAAA,EAC9B;AACF;AAQO,SAAS,aAAa,EAAA,EAAsD;AACjF,EAAA,OAAO,GAAG,MAAA,EAAO;AACnB;AAQA,eAAsB,gBAAA,CACpB,IACA,UAAA,EAC0B;AAC1B,EAAA,MAAM,CAAC,IAAA,EAAM,KAAK,CAAA,GAAI,MAAM,OAAA,CAAQ,GAAA,CAAI,CAAC,aAAA,EAAc,EAAG,WAAA,CAAY,UAAU,CAAC,CAAC,CAAA;AAClF,EAAA,OAAO;AAAA,IACL,OAAA,EAAS,CAAC,GAAG,YAAA,CAAa,EAAE,CAAA,EAAG,GAAG,IAAA,CAAK,OAAA,EAAS,GAAG,KAAA,CAAM,OAAO,CAAA;AAAA,IAChE,OAAO,CAAC,GAAG,KAAK,KAAA,EAAO,GAAG,MAAM,KAAK;AAAA,GACvC;AACF","file":"asset-feeds-QXCSAJRN.js","sourcesContent":["/**\n * asset-feeds.ts — gather installable assets from every feed the manage TUI\n * surfaces.\n *\n * Three feeds, normalized into `CatalogEntry`:\n * - **Project sources** — `skaile.yaml` `sources:` entries (scanned via\n * `AssetManager.search()`; the new `sources:` field is merged into the\n * legacy repositories map in `AssetManager.loadConfig`).\n * - **Local libraries** — user authoring places from `LocalIndex` (filesystem\n * scan of each library's `path`).\n * - **Remote store** — the configured catalog source when `catalog.url` is\n * not `local`. Failures are non-fatal — they surface as notes.\n */\n\nimport { existsSync } from \"node:fs\";\nimport * as path from \"node:path\";\nimport { type AssetKind, type CatalogEntry, scanRepo } from \"@skaile/workspaces/core\";\n\n/** One non-fatal note returned to the caller for surfacing in the UI. */\nexport interface FeedNote {\n feed: \"sources\" | \"libraries\" | \"store\";\n message: string;\n}\n\nexport interface AssetFeedResult {\n entries: CatalogEntry[];\n notes: FeedNote[];\n}\n\n/**\n * Pull assets from local libraries (the authoring places under\n * `~/.skaile/libraries/<name>/`, not the `~/.skaile/sources/` cache). Each\n * library's `path` is scanned with `scanRepo` and tagged with\n * `repository = \"library:<name>\"` so the manage TUI groups them into their\n * own headers.\n */\nasync function libraryAssets(): Promise<{ entries: CatalogEntry[]; notes: FeedNote[] }> {\n const notes: FeedNote[] = [];\n try {\n const [{ openLibraryManager }, { skaileHomeDir }] = await Promise.all([\n import(\"./open-library.ts\"),\n import(\"@skaile/workspaces/library\"),\n ]);\n const { manager, close } = await openLibraryManager();\n try {\n const sourcesDir = path.join(skaileHomeDir(), \"sources\");\n const libs = (await manager.listLibraries()).filter(\n (l) => !l.path.startsWith(sourcesDir),\n );\n const entries: CatalogEntry[] = [];\n for (const lib of libs) {\n if (!existsSync(lib.path)) continue;\n for (const e of scanRepo(lib.path, `library:${lib.name}`)) {\n entries.push(e);\n }\n }\n return { entries, notes };\n } finally {\n close();\n }\n } catch (err) {\n notes.push({\n feed: \"libraries\",\n message: err instanceof Error ? err.message : String(err),\n });\n return { entries: [], notes };\n }\n}\n\n/**\n * Pull a (best-effort) snapshot of the connected remote store catalog.\n *\n * - Returns no entries when the resolved catalog is local-only or the host\n * is unreachable (the failure becomes a note, not an exception).\n * - Maps `CatalogAsset` → `CatalogEntry` with `repository = \"store\"` and\n * `source = \"store://<id>\"`; per-file `source` paths are not available\n * for remote assets so we use the canonical ref as a stable placeholder.\n */\nasync function storeAssets(projectDir: string): Promise<{\n entries: CatalogEntry[];\n notes: FeedNote[];\n}> {\n const notes: FeedNote[] = [];\n try {\n const { resolveCatalogSource } = await import(\"./open-library.ts\");\n const { source, close } = await resolveCatalogSource({ projectDir });\n try {\n const assets = await source.listAssets();\n const entries: CatalogEntry[] = assets.map((a) => ({\n name: a.name,\n kind: (a.kind as AssetKind) ?? \"skill\",\n description: a.description ?? \"\",\n source: `store://${a.id}`,\n repository: \"store\",\n domain: a.publisher,\n version: a.version,\n requires: [],\n dependencies: [],\n }));\n return { entries, notes };\n } finally {\n close();\n }\n } catch (err) {\n const msg = err instanceof Error ? err.message : String(err);\n // Local-only catalog throws a recognizable message — silence it; absence\n // is the user's choice, not an error.\n if (!/local/i.test(msg)) {\n notes.push({ feed: \"store\", message: msg });\n }\n return { entries: [], notes };\n }\n}\n\n/**\n * Project-source feed: leans on `AssetManager.search()`, which now merges\n * `skaile.yaml`'s `sources:` field into the repositories map. Provided as a\n * function rather than an inline call so the caller can supply a fresh\n * `AssetManager` instance.\n */\nexport function sourceAssets(am: { search: () => CatalogEntry[] }): CatalogEntry[] {\n return am.search();\n}\n\n/**\n * Run all three feeds and return a single normalized result.\n *\n * Feeds run in parallel where possible — the store fetch is the slow one\n * (one HTTP call) and is fired alongside the local library walk.\n */\nexport async function gatherAssetFeeds(\n am: { search: () => CatalogEntry[] },\n projectDir: string,\n): Promise<AssetFeedResult> {\n const [libs, store] = await Promise.all([libraryAssets(), storeAssets(projectDir)]);\n return {\n entries: [...sourceAssets(am), ...libs.entries, ...store.entries],\n notes: [...libs.notes, ...store.notes],\n };\n}\n"]}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { AssetManager } from '../chunk-
|
|
2
|
-
export { createScaffold, deployAll, installAgent, removeAsset } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-JKNWJ64A.js';
|
|
5
|
-
import '../chunk-O4JH3KUE.js';
|
|
1
|
+
export { AssetManager } from '../chunk-VCYXVP2S.js';
|
|
2
|
+
export { createScaffold, deployAll, installAgent, removeAsset } from '../chunk-PTIHB2TV.js';
|
|
3
|
+
import '../chunk-UMOENHVH.js';
|
|
6
4
|
import '../chunk-K5GBV4SA.js';
|
|
7
5
|
import '../chunk-KLNL7QHN.js';
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-GFNW72LW.js';
|
|
7
|
+
import '../chunk-J3VKAEQP.js';
|
|
8
|
+
import '../chunk-4AZKT2BU.js';
|
|
9
|
+
import '../chunk-I3UEM3FX.js';
|
|
10
|
+
import '../chunk-JKNWJ64A.js';
|
|
11
|
+
import '../chunk-O4JH3KUE.js';
|
|
12
12
|
import '../chunk-24UIWON4.js';
|
|
13
13
|
export { appendHistory, clearHistory, getRecentHistory, loadHistory } from '../chunk-KTBKW2FI.js';
|
|
14
14
|
import '../chunk-UQ6LFBPZ.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { createScaffold, deployAll, deployAsset, removeAsset } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-JKNWJ64A.js';
|
|
4
|
-
import '../chunk-O4JH3KUE.js';
|
|
1
|
+
export { createScaffold, deployAll, deployAsset, removeAsset } from '../chunk-PTIHB2TV.js';
|
|
2
|
+
import '../chunk-UMOENHVH.js';
|
|
5
3
|
import '../chunk-K5GBV4SA.js';
|
|
6
4
|
import '../chunk-KLNL7QHN.js';
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-GFNW72LW.js';
|
|
6
|
+
import '../chunk-J3VKAEQP.js';
|
|
7
|
+
import '../chunk-4AZKT2BU.js';
|
|
8
|
+
import '../chunk-I3UEM3FX.js';
|
|
9
|
+
import '../chunk-JKNWJ64A.js';
|
|
10
|
+
import '../chunk-O4JH3KUE.js';
|
|
11
11
|
import '../chunk-24UIWON4.js';
|
|
12
12
|
import '../chunk-6FNCZYJY.js';
|
|
13
13
|
import '../chunk-NELZIQ2E.js';
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* const am = new AssetManager({ projectDir: "/path/to/project" })
|
|
10
10
|
* await am.install()
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { CatalogEntry, LockFile } from "@skaile/workspaces/core";
|
|
13
13
|
import type { DriverTarget } from "@skaile/workspaces/core";
|
|
14
14
|
import type { HistoryEntry } from "./history.js";
|
|
15
15
|
export type { DeployOptions } from "./installer.js";
|
|
@@ -68,8 +68,6 @@ export interface InstallResult {
|
|
|
68
68
|
missing: string[];
|
|
69
69
|
/** Whether `skaile.lock.yaml` was written or updated. */
|
|
70
70
|
lockWritten: boolean;
|
|
71
|
-
/** Assets that exist in multiple repos — the resolved entry shadows others. */
|
|
72
|
-
collisions: AssetCollision[];
|
|
73
71
|
/**
|
|
74
72
|
* npm packages installed as a side effect of resolving runtime asset peer
|
|
75
73
|
* deps (connectors / mounts declared in skaile.yaml). Empty when nothing
|
|
@@ -93,7 +91,7 @@ export interface OutdatedEntry {
|
|
|
93
91
|
/** Asset name as registered in the catalog. */
|
|
94
92
|
name: string;
|
|
95
93
|
/** Repository that provides this asset. */
|
|
96
|
-
|
|
94
|
+
publisher: string;
|
|
97
95
|
/** Version string recorded in the lock file at install time. */
|
|
98
96
|
currentVersion: string;
|
|
99
97
|
/** Number of commits the local repository is behind the remote. */
|
|
@@ -140,7 +138,7 @@ export interface OverviewEntry {
|
|
|
140
138
|
/** Domain the asset belongs to (from the lock file; `"unknown"` when unresolvable). */
|
|
141
139
|
domain: string;
|
|
142
140
|
/** Repository that provides this asset. */
|
|
143
|
-
|
|
141
|
+
publisher: string;
|
|
144
142
|
/** Version string from the lock file. */
|
|
145
143
|
version: string;
|
|
146
144
|
/**
|
|
@@ -226,6 +224,15 @@ export declare class AssetManager {
|
|
|
226
224
|
private get patchDir();
|
|
227
225
|
private get deployOpts();
|
|
228
226
|
private loadConfig;
|
|
227
|
+
/** Build provenance-index clones from the resolved source declarations. */
|
|
228
|
+
private buildClones;
|
|
229
|
+
/**
|
|
230
|
+
* Bridge a resolved {@link ProvenanceCandidate} to a {@link CatalogEntry} for
|
|
231
|
+
* the deploy pipeline. `source` is the absolute path to the asset's primary
|
|
232
|
+
* manifest (or its directory) inside the clone; `publisher` is set to the
|
|
233
|
+
* clone slug so `deployAll`'s repositories lookup resolves local-vs-remote.
|
|
234
|
+
*/
|
|
235
|
+
private candidateToCatalogEntry;
|
|
229
236
|
/**
|
|
230
237
|
* Install all dependencies declared in `skaile.yaml`.
|
|
231
238
|
*
|
|
@@ -240,6 +247,10 @@ export declare class AssetManager {
|
|
|
240
247
|
install(opts?: {
|
|
241
248
|
locked?: boolean;
|
|
242
249
|
}): Promise<InstallResult>;
|
|
250
|
+
/** Read the lock, returning null on a legacy v1 lock instead of throwing. */
|
|
251
|
+
private tryReadLock;
|
|
252
|
+
/** Build a store fetcher from the configured stores, or undefined when none. */
|
|
253
|
+
private buildStoreFetcher;
|
|
243
254
|
/**
|
|
244
255
|
* Resolve runtime assets and install any missing npm peer deps.
|
|
245
256
|
*
|
|
@@ -261,7 +272,7 @@ export declare class AssetManager {
|
|
|
261
272
|
* @returns Array of asset refs that were deployed in this call.
|
|
262
273
|
* @throws When the asset cannot be found in any configured repository.
|
|
263
274
|
*/
|
|
264
|
-
add(ref: string): string[]
|
|
275
|
+
add(ref: string): Promise<string[]>;
|
|
265
276
|
/**
|
|
266
277
|
* Remove a deployed asset and unregister it from `skaile.yaml`.
|
|
267
278
|
*
|
|
@@ -349,7 +360,7 @@ export declare class AssetManager {
|
|
|
349
360
|
*
|
|
350
361
|
* @returns The written {@link LockFile} data.
|
|
351
362
|
*/
|
|
352
|
-
lock(): LockFile
|
|
363
|
+
lock(): Promise<LockFile>;
|
|
353
364
|
/**
|
|
354
365
|
* Extract a deployed asset into a patch working directory for editing.
|
|
355
366
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../asset-manager/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAeH,OAAO,KAAK,EAEV,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../asset-manager/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAeH,OAAO,KAAK,EAEV,YAAY,EACZ,QAAQ,EAST,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AA6B5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAsCjD,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACpD,YAAY,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAC1C,YAAY,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EACL,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,WAAW,GACZ,MAAM,cAAc,CAAC;AAOtB;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACvB,oDAAoD;IACpD,IAAI,EAAE,MAAM,CAAC;IACb,kHAAkH;IAClH,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACpC,qDAAqD;IACrD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,gFAAgF;IAChF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iDAAiD;IACjD,MAAM,EAAE,MAAM,CAAC;IACf,+DAA+D;IAC/D,MAAM,EAAE,OAAO,CAAC;CACjB;AAED;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,oDAAoD;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,kBAAkB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Asset deployment — symlink (local repos) or copy (remote repos) to framework dirs.
|
|
3
3
|
*/
|
|
4
4
|
import type { CatalogEntry } from "@skaile/workspaces/core";
|
|
5
|
-
import type { DriverTarget,
|
|
5
|
+
import type { DriverTarget, SourceDeclaration } from "@skaile/workspaces/core";
|
|
6
6
|
import type { Log } from "./renderers.js";
|
|
7
7
|
export type { Log } from "./renderers.js";
|
|
8
8
|
/**
|
|
@@ -34,7 +34,7 @@ export interface DeployOptions {
|
|
|
34
34
|
* @returns `true` when the asset was deployed successfully.
|
|
35
35
|
* @docLink packages/asset-manager/api-reference#installer
|
|
36
36
|
*/
|
|
37
|
-
export declare function deployAsset(entry: CatalogEntry, repositories: Record<string,
|
|
37
|
+
export declare function deployAsset(entry: CatalogEntry, repositories: Record<string, SourceDeclaration>, opts?: DeployOptions, log?: Log): boolean;
|
|
38
38
|
/**
|
|
39
39
|
* Deploy all resolved assets, applying patches where configured.
|
|
40
40
|
*
|
|
@@ -51,7 +51,7 @@ export declare function deployAsset(entry: CatalogEntry, repositories: Record<st
|
|
|
51
51
|
* @returns Array of asset refs (`kind:name`) that were newly deployed in this call.
|
|
52
52
|
* @docLink packages/asset-manager/api-reference#installer
|
|
53
53
|
*/
|
|
54
|
-
export declare function deployAll(resolved: CatalogEntry[], repositories: Record<string,
|
|
54
|
+
export declare function deployAll(resolved: CatalogEntry[], repositories: Record<string, SourceDeclaration>, patches: Record<string, string>, opts?: DeployOptions, log?: Log): string[];
|
|
55
55
|
/**
|
|
56
56
|
* Remove a deployed asset from the framework directory.
|
|
57
57
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installer.d.ts","sourceRoot":"","sources":["../../../asset-manager/src/installer.ts"],"names":[],"mappings":"AAAA;;GAEG;AAaH,OAAO,KAAK,EAAe,YAAY,EAAE,MA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AC5B,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,GACd;IAAE,EAAE,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAuB/B"}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
export { DeployConnector,
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { DeployConnector, createConnector19 as createConnector } from '../../chunk-LT4DLEYE.js';
|
|
2
|
+
import '../../chunk-APAOQLPT.js';
|
|
3
3
|
import '../../chunk-6MB7CRME.js';
|
|
4
4
|
import '../../chunk-QAVZOJCV.js';
|
|
5
|
+
import '../../chunk-6E6PKKAD.js';
|
|
5
6
|
import '../../chunk-ICS76R4T.js';
|
|
6
7
|
import '../../chunk-GZWJGNNN.js';
|
|
7
8
|
import '../../chunk-FVTV7M76.js';
|
|
8
|
-
import '../../chunk-
|
|
9
|
-
import '../../chunk-JKNWJ64A.js';
|
|
10
|
-
import '../../chunk-O4JH3KUE.js';
|
|
9
|
+
import '../../chunk-UMOENHVH.js';
|
|
11
10
|
import '../../chunk-K5GBV4SA.js';
|
|
12
11
|
import '../../chunk-KLNL7QHN.js';
|
|
13
|
-
import '../../chunk-
|
|
14
|
-
import '../../chunk-
|
|
15
|
-
import '../../chunk-
|
|
16
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-GFNW72LW.js';
|
|
13
|
+
import '../../chunk-J3VKAEQP.js';
|
|
14
|
+
import '../../chunk-4AZKT2BU.js';
|
|
15
|
+
import '../../chunk-I3UEM3FX.js';
|
|
16
|
+
import '../../chunk-JKNWJ64A.js';
|
|
17
|
+
import '../../chunk-O4JH3KUE.js';
|
|
17
18
|
import '../../chunk-24UIWON4.js';
|
|
18
19
|
import '../../chunk-NSBPE2FW.js';
|
|
19
20
|
//# sourceMappingURL=deploy.js.map
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
export { DevServerConnector,
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { DevServerConnector, createConnector16 as createConnector } from '../../chunk-LT4DLEYE.js';
|
|
2
|
+
import '../../chunk-APAOQLPT.js';
|
|
3
3
|
import '../../chunk-6MB7CRME.js';
|
|
4
4
|
import '../../chunk-QAVZOJCV.js';
|
|
5
|
+
import '../../chunk-6E6PKKAD.js';
|
|
5
6
|
import '../../chunk-ICS76R4T.js';
|
|
6
7
|
import '../../chunk-GZWJGNNN.js';
|
|
7
8
|
import '../../chunk-FVTV7M76.js';
|
|
8
|
-
import '../../chunk-
|
|
9
|
-
import '../../chunk-JKNWJ64A.js';
|
|
10
|
-
import '../../chunk-O4JH3KUE.js';
|
|
9
|
+
import '../../chunk-UMOENHVH.js';
|
|
11
10
|
import '../../chunk-K5GBV4SA.js';
|
|
12
11
|
import '../../chunk-KLNL7QHN.js';
|
|
13
|
-
import '../../chunk-
|
|
14
|
-
import '../../chunk-
|
|
15
|
-
import '../../chunk-
|
|
16
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-GFNW72LW.js';
|
|
13
|
+
import '../../chunk-J3VKAEQP.js';
|
|
14
|
+
import '../../chunk-4AZKT2BU.js';
|
|
15
|
+
import '../../chunk-I3UEM3FX.js';
|
|
16
|
+
import '../../chunk-JKNWJ64A.js';
|
|
17
|
+
import '../../chunk-O4JH3KUE.js';
|
|
17
18
|
import '../../chunk-24UIWON4.js';
|
|
18
19
|
import '../../chunk-NSBPE2FW.js';
|
|
19
20
|
//# sourceMappingURL=devserver.js.map
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
export { FlowAdapter, createConnector } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
1
|
+
export { FlowAdapter, createConnector } from '../../../chunk-LT4DLEYE.js';
|
|
2
|
+
import '../../../chunk-APAOQLPT.js';
|
|
3
3
|
import '../../../chunk-6MB7CRME.js';
|
|
4
4
|
import '../../../chunk-QAVZOJCV.js';
|
|
5
|
+
import '../../../chunk-6E6PKKAD.js';
|
|
5
6
|
export { isBlocking } from '../../../chunk-ICS76R4T.js';
|
|
6
7
|
import '../../../chunk-GZWJGNNN.js';
|
|
7
8
|
import '../../../chunk-FVTV7M76.js';
|
|
8
|
-
import '../../../chunk-
|
|
9
|
-
import '../../../chunk-JKNWJ64A.js';
|
|
10
|
-
import '../../../chunk-O4JH3KUE.js';
|
|
9
|
+
import '../../../chunk-UMOENHVH.js';
|
|
11
10
|
import '../../../chunk-K5GBV4SA.js';
|
|
12
11
|
import '../../../chunk-KLNL7QHN.js';
|
|
13
|
-
import '../../../chunk-
|
|
14
|
-
import '../../../chunk-
|
|
15
|
-
import '../../../chunk-
|
|
16
|
-
import '../../../chunk-
|
|
12
|
+
import '../../../chunk-GFNW72LW.js';
|
|
13
|
+
import '../../../chunk-J3VKAEQP.js';
|
|
14
|
+
import '../../../chunk-4AZKT2BU.js';
|
|
15
|
+
import '../../../chunk-I3UEM3FX.js';
|
|
16
|
+
import '../../../chunk-JKNWJ64A.js';
|
|
17
|
+
import '../../../chunk-O4JH3KUE.js';
|
|
17
18
|
import '../../../chunk-24UIWON4.js';
|
|
18
19
|
import '../../../chunk-NSBPE2FW.js';
|
|
19
20
|
//# sourceMappingURL=adapter.js.map
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
export { resumeFlow, runFlow } from '../../../chunk-
|
|
1
|
+
export { resumeFlow, runFlow } from '../../../chunk-DKGDOALM.js';
|
|
2
2
|
import '../../../chunk-GCJXPUHG.js';
|
|
3
3
|
import '../../../chunk-IPUYL6TD.js';
|
|
4
|
-
import '../../../chunk-
|
|
5
|
-
import '../../../chunk-
|
|
4
|
+
import '../../../chunk-LT4DLEYE.js';
|
|
5
|
+
import '../../../chunk-APAOQLPT.js';
|
|
6
6
|
import '../../../chunk-6MB7CRME.js';
|
|
7
7
|
import '../../../chunk-QAVZOJCV.js';
|
|
8
|
+
import '../../../chunk-6E6PKKAD.js';
|
|
8
9
|
import '../../../chunk-ICS76R4T.js';
|
|
9
10
|
import '../../../chunk-GZWJGNNN.js';
|
|
10
11
|
import '../../../chunk-FVTV7M76.js';
|
|
11
|
-
import '../../../chunk-
|
|
12
|
-
import '../../../chunk-JKNWJ64A.js';
|
|
13
|
-
import '../../../chunk-O4JH3KUE.js';
|
|
12
|
+
import '../../../chunk-UMOENHVH.js';
|
|
14
13
|
import '../../../chunk-K5GBV4SA.js';
|
|
15
14
|
import '../../../chunk-KLNL7QHN.js';
|
|
16
|
-
import '../../../chunk-
|
|
17
|
-
import '../../../chunk-
|
|
18
|
-
import '../../../chunk-
|
|
19
|
-
import '../../../chunk-
|
|
15
|
+
import '../../../chunk-GFNW72LW.js';
|
|
16
|
+
import '../../../chunk-J3VKAEQP.js';
|
|
17
|
+
import '../../../chunk-4AZKT2BU.js';
|
|
18
|
+
import '../../../chunk-I3UEM3FX.js';
|
|
19
|
+
import '../../../chunk-JKNWJ64A.js';
|
|
20
|
+
import '../../../chunk-O4JH3KUE.js';
|
|
20
21
|
import '../../../chunk-24UIWON4.js';
|
|
21
22
|
import '../../../chunk-NSBPE2FW.js';
|
|
22
23
|
//# sourceMappingURL=run-flow.js.map
|