@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.
- package/CHANGELOG.md +221 -0
- package/dist/{asset-feeds-PJDJ3QYI.js → asset-feeds-2M6UKEJ7.js} +13 -14
- package/dist/asset-feeds-2M6UKEJ7.js.map +1 -0
- 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 +7 -7
- package/dist/asset-manager/installer.d.ts +2 -0
- package/dist/asset-manager/installer.js +6 -6
- 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 +8 -8
- package/dist/base-assets/connectors/devserver.d.ts +2 -0
- package/dist/base-assets/connectors/devserver.js +8 -8
- package/dist/base-assets/connectors/flow/adapter.js +8 -8
- package/dist/base-assets/connectors/flow/engine.d.ts +2 -0
- package/dist/base-assets/connectors/flow/run-flow.js +9 -9
- package/dist/base-assets/connectors/flow.d.ts +2 -0
- package/dist/base-assets/connectors/flow.js +8 -8
- package/dist/base-assets/connectors/git/driver.d.ts.map +1 -1
- package/dist/base-assets/connectors/git.d.ts +2 -0
- package/dist/base-assets/connectors/git.js +8 -8
- package/dist/base-assets/connectors/gmail.d.ts +2 -0
- package/dist/base-assets/connectors/gmail.js +8 -8
- package/dist/base-assets/connectors/googledrive.d.ts +2 -0
- package/dist/base-assets/connectors/googledrive.js +8 -8
- package/dist/base-assets/connectors/local.d.ts +2 -0
- package/dist/base-assets/connectors/local.js +8 -8
- package/dist/base-assets/connectors/mattermost.d.ts +2 -0
- package/dist/base-assets/connectors/mattermost.js +8 -8
- package/dist/base-assets/connectors/memory.d.ts +2 -0
- package/dist/base-assets/connectors/memory.js +8 -8
- package/dist/base-assets/connectors/minio.d.ts +2 -0
- package/dist/base-assets/connectors/minio.js +8 -8
- package/dist/base-assets/connectors/postgres.d.ts +2 -0
- package/dist/base-assets/connectors/postgres.js +8 -8
- package/dist/base-assets/connectors/s3.d.ts +2 -0
- package/dist/base-assets/connectors/s3.js +8 -8
- package/dist/base-assets/connectors/sharepoint.d.ts +2 -0
- package/dist/base-assets/connectors/sharepoint.js +8 -8
- package/dist/base-assets/connectors/sqlite.d.ts +2 -0
- package/dist/base-assets/connectors/sqlite.js +8 -8
- package/dist/base-assets/connectors/static-server.d.ts +2 -0
- package/dist/base-assets/connectors/static-server.js +8 -8
- package/dist/base-assets/connectors/tunnel.d.ts +2 -0
- package/dist/base-assets/connectors/tunnel.js +8 -8
- package/dist/base-assets/connectors/webdav.d.ts +2 -0
- package/dist/base-assets/connectors/webdav.js +8 -8
- package/dist/base-assets/connectors/xstate-store.d.ts +2 -0
- package/dist/base-assets/connectors/xstate-store.js +8 -8
- package/dist/base-assets/connectors/xstate.d.ts +2 -0
- package/dist/base-assets/connectors/xstate.js +8 -8
- package/dist/bridge/drivers/claude-sdk.d.ts +2 -0
- package/dist/bridge/drivers/claude-sdk.js +2 -2
- package/dist/bridge/drivers/codex.d.ts +2 -0
- package/dist/bridge/drivers/codex.js +2 -2
- package/dist/bridge/drivers/echo.d.ts +2 -0
- package/dist/bridge/drivers/echo.js +2 -2
- package/dist/bridge/drivers/omp.d.ts +2 -0
- package/dist/bridge/drivers/omp.js +2 -2
- package/dist/bridge/index.d.ts +2 -0
- package/dist/bridge/index.js +3 -3
- package/dist/bridge/src/registry.d.ts +4 -2
- package/dist/bridge/src/registry.d.ts.map +1 -1
- package/dist/chunk-32NA4TVC.js +30 -0
- package/dist/chunk-32NA4TVC.js.map +1 -0
- package/dist/{chunk-CSDQBWE6.js → chunk-3KLWGHDE.js} +5 -5
- package/dist/{chunk-CSDQBWE6.js.map → chunk-3KLWGHDE.js.map} +1 -1
- package/dist/{chunk-UZRY5UI2.js → chunk-6E6PKKAD.js} +68 -3
- package/dist/chunk-6E6PKKAD.js.map +1 -0
- package/dist/{chunk-G6GKWGOW.js → chunk-6SA2SIOU.js} +26 -10
- package/dist/chunk-6SA2SIOU.js.map +1 -0
- package/dist/{chunk-IGQEXBBG.js → chunk-6VTG73UY.js} +13 -9
- package/dist/chunk-6VTG73UY.js.map +1 -0
- package/dist/{chunk-TTY56FQQ.js → chunk-74GTZ4TJ.js} +17 -5
- package/dist/chunk-74GTZ4TJ.js.map +1 -0
- package/dist/chunk-7QBNJTTQ.js +3 -0
- package/dist/{chunk-W2O5LWYU.js.map → chunk-7QBNJTTQ.js.map} +1 -1
- package/dist/{chunk-SL6JVGRD.js → chunk-CEUHU3C4.js} +3 -3
- package/dist/{chunk-SL6JVGRD.js.map → chunk-CEUHU3C4.js.map} +1 -1
- package/dist/{chunk-J2FCO6TM.js → chunk-FIHVQFXB.js} +2 -2
- package/dist/{chunk-J2FCO6TM.js.map → chunk-FIHVQFXB.js.map} +1 -1
- package/dist/{chunk-F3MGZ5E6.js → chunk-FVZLCBSX.js} +3 -3
- package/dist/{chunk-F3MGZ5E6.js.map → chunk-FVZLCBSX.js.map} +1 -1
- package/dist/{chunk-7PTP3SQJ.js → chunk-GTS2FODO.js} +32 -7
- package/dist/chunk-GTS2FODO.js.map +1 -0
- package/dist/{chunk-KA46DUM4.js → chunk-I5SGBFMM.js} +51 -3
- package/dist/chunk-I5SGBFMM.js.map +1 -0
- package/dist/{chunk-MO4JPTRD.js → chunk-LDLZFYLR.js} +5 -5
- package/dist/{chunk-MO4JPTRD.js.map → chunk-LDLZFYLR.js.map} +1 -1
- package/dist/{chunk-TKOLD2O7.js → chunk-LDYPQVRU.js} +516 -145
- package/dist/chunk-LDYPQVRU.js.map +1 -0
- package/dist/{chunk-GKM6MDUC.js → chunk-M5JDVO6D.js} +3 -3
- package/dist/{chunk-GKM6MDUC.js.map → chunk-M5JDVO6D.js.map} +1 -1
- package/dist/{chunk-XHFMUGDD.js → chunk-M5TE6YI5.js} +3 -3
- package/dist/{chunk-XHFMUGDD.js.map → chunk-M5TE6YI5.js.map} +1 -1
- package/dist/{chunk-NGC7ZQI4.js → chunk-NICAMYPV.js} +39 -45
- package/dist/chunk-NICAMYPV.js.map +1 -0
- package/dist/{chunk-WIR34WMU.js → chunk-NQL3T75I.js} +24 -59
- package/dist/chunk-NQL3T75I.js.map +1 -0
- package/dist/{chunk-RENHNO4J.js → chunk-P4FYHEHW.js} +206 -137
- package/dist/chunk-P4FYHEHW.js.map +1 -0
- package/dist/{chunk-2DNSSQ22.js → chunk-TWQPDBHB.js} +270 -173
- package/dist/chunk-TWQPDBHB.js.map +1 -0
- package/dist/{chunk-UZVHJ7LX.js → chunk-UBLTUFFI.js} +4 -4
- package/dist/{chunk-UZVHJ7LX.js.map → chunk-UBLTUFFI.js.map} +1 -1
- package/dist/{chunk-X5Y4EGZB.js → chunk-VUCPJBAG.js} +43 -10
- package/dist/chunk-VUCPJBAG.js.map +1 -0
- package/dist/{chunk-PBWMV5GM.js → chunk-WQ7DE5UC.js} +18 -4
- package/dist/chunk-WQ7DE5UC.js.map +1 -0
- package/dist/cli/index.d.ts +2 -0
- package/dist/cli/index.js +258 -262
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/deploy.d.ts.map +1 -1
- package/dist/cli/src/commands/manage.d.ts +22 -31
- package/dist/cli/src/commands/manage.d.ts.map +1 -1
- package/dist/cli/src/commands/npx.d.ts +5 -3
- package/dist/cli/src/commands/npx.d.ts.map +1 -1
- package/dist/cli/src/commands/project.d.ts.map +1 -1
- package/dist/cli/src/commands/source.d.ts +7 -0
- 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/client/index.d.ts +2 -0
- package/dist/connectors/config.d.ts +2 -0
- package/dist/connectors/config.js +6 -6
- package/dist/connectors/index.d.ts +2 -0
- package/dist/connectors/index.js +8 -8
- package/dist/connectors/rclone-config.d.ts +2 -0
- package/dist/connectors/rclone.d.ts +2 -0
- package/dist/connectors-shared/index.d.ts +2 -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 +5 -5
- 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 +7 -5
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/lock.d.ts +47 -26
- package/dist/core/src/lock.d.ts.map +1 -1
- package/dist/core/src/manifest.d.ts.map +1 -1
- package/dist/core/src/models.d.ts +61 -49
- package/dist/core/src/models.d.ts.map +1 -1
- package/dist/core/src/repo-manager.d.ts +79 -36
- 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 +160 -45
- package/dist/core/src/workspace-config.d.ts.map +1 -1
- package/dist/core/src/workspace-yaml-editor.d.ts +33 -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 +167 -52
- package/dist/deploy/index.js.map +1 -1
- package/dist/deploy/src/index.d.ts +4 -3
- package/dist/deploy/src/index.d.ts.map +1 -1
- package/dist/deploy/src/targets/container-runtime.d.ts +1 -0
- package/dist/deploy/src/targets/container-runtime.d.ts.map +1 -1
- package/dist/deploy/src/targets/docker.d.ts +1 -0
- package/dist/deploy/src/targets/docker.d.ts.map +1 -1
- package/dist/deploy/src/targets/local.d.ts.map +1 -1
- package/dist/deploy/src/targets/nix.d.ts +36 -0
- package/dist/deploy/src/targets/nix.d.ts.map +1 -0
- package/dist/deploy/src/targets/podman.d.ts +1 -0
- package/dist/deploy/src/targets/podman.d.ts.map +1 -1
- package/dist/deploy/src/targets/process-handle.d.ts +34 -0
- package/dist/deploy/src/targets/process-handle.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-COGVKY44.js → ensure-sources-ALTI5PXR.js} +20 -16
- package/dist/ensure-sources-ALTI5PXR.js.map +1 -0
- 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-EEGG6RDN.js +13 -0
- package/dist/{open-library-DWAQFUSQ.js.map → open-library-EEGG6RDN.js.map} +1 -1
- package/dist/plugin-registry/index.d.ts +2 -0
- package/dist/plugin-registry/index.js +1 -1
- package/dist/plugin-registry/src/context.d.ts +30 -1
- package/dist/plugin-registry/src/context.d.ts.map +1 -1
- package/dist/plugin-registry/src/deploy-handle.d.ts +17 -1
- package/dist/plugin-registry/src/deploy-handle.d.ts.map +1 -1
- 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/index.d.ts +6 -4
- package/dist/plugin-registry/src/index.d.ts.map +1 -1
- package/dist/plugin-registry/src/internal.d.ts.map +1 -1
- package/dist/plugin-registry/src/registry.d.ts +1 -0
- package/dist/plugin-registry/src/registry.d.ts.map +1 -1
- package/dist/plugin-registry/src/targets.d.ts +4 -0
- package/dist/plugin-registry/src/targets.d.ts.map +1 -1
- package/dist/{plugin-store-6OENKNFW.js → plugin-store-G277ZX3B.js} +8 -8
- package/dist/{plugin-store-6OENKNFW.js.map → plugin-store-G277ZX3B.js.map} +1 -1
- package/dist/plugins/index.d.ts +2 -0
- package/dist/plugins/src/catalog-source.d.ts +5 -0
- package/dist/plugins/src/catalog-source.d.ts.map +1 -1
- package/dist/resolver/index.d.ts +2 -0
- package/dist/runner/index.d.ts +2 -0
- package/dist/runner/index.js +17 -16
- 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 +7 -0
- 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 +7 -7
- package/dist/sdk/bridge.d.ts +2 -0
- package/dist/sdk/bridge.js +3 -3
- package/dist/sdk/client.d.ts +2 -0
- package/dist/sdk/core.d.ts +2 -0
- package/dist/sdk/core.js +5 -5
- package/dist/sdk/flow.d.ts +2 -0
- package/dist/sdk/index.d.ts +2 -0
- package/dist/sdk/index.js +53 -19
- 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 +17 -16
- 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/client.js +2 -1
- package/dist/sdk/transport/ws/server.d.ts +2 -0
- package/dist/sdk/transport/ws/server.js +2 -1
- package/dist/sdk/transport/ws.d.ts +2 -0
- package/dist/sdk/transport/ws.js +4 -3
- package/dist/sdk/transport.d.ts +2 -0
- package/dist/sdk/transport.js +4 -3
- 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-ACMP3QZC.js → setup-REX4I5NE.js} +10 -10
- package/dist/{setup-ACMP3QZC.js.map → setup-REX4I5NE.js.map} +1 -1
- 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-IX3Y67NK.js +14 -0
- package/dist/{store-client-ZSLNOOQG.js.map → store-client-IX3Y67NK.js.map} +1 -1
- package/dist/telemetry/index.d.ts +2 -0
- package/dist/transport/index.d.ts +2 -0
- package/dist/transport/index.js +4 -3
- package/dist/transport/src/ws/auth.d.ts +34 -0
- package/dist/transport/src/ws/auth.d.ts.map +1 -0
- package/dist/transport/src/ws/client.d.ts +4 -0
- package/dist/transport/src/ws/client.d.ts.map +1 -1
- package/dist/transport/src/ws/index.d.ts +3 -2
- package/dist/transport/src/ws/index.d.ts.map +1 -1
- package/dist/transport/src/ws/server.d.ts +5 -0
- package/dist/transport/src/ws/server.d.ts.map +1 -1
- package/dist/transport/ws/client.d.ts +2 -0
- package/dist/transport/ws/client.js +2 -1
- package/dist/transport/ws/server.d.ts +2 -0
- package/dist/transport/ws/server.js +2 -1
- package/dist/transport/ws.d.ts +2 -0
- package/dist/transport/ws.js +4 -3
- package/dist/tui/index.d.ts +2 -0
- package/dist/tui/index.js +17 -16
- 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/omp.d.ts +2 -0
- package/dist/workspace-plugin/index.d.ts +2 -0
- package/dist/workspace-plugin/index.js +1 -1
- package/package.json +4 -2
- package/dist/asset-feeds-PJDJ3QYI.js.map +0 -1
- package/dist/chunk-2DNSSQ22.js.map +0 -1
- package/dist/chunk-7PTP3SQJ.js.map +0 -1
- package/dist/chunk-G6GKWGOW.js.map +0 -1
- package/dist/chunk-IGQEXBBG.js.map +0 -1
- package/dist/chunk-KA46DUM4.js.map +0 -1
- package/dist/chunk-NGC7ZQI4.js.map +0 -1
- package/dist/chunk-PBWMV5GM.js.map +0 -1
- package/dist/chunk-RENHNO4J.js.map +0 -1
- package/dist/chunk-TKOLD2O7.js.map +0 -1
- package/dist/chunk-TTY56FQQ.js.map +0 -1
- package/dist/chunk-UZRY5UI2.js.map +0 -1
- package/dist/chunk-W2O5LWYU.js +0 -3
- package/dist/chunk-WIR34WMU.js.map +0 -1
- package/dist/chunk-X5Y4EGZB.js.map +0 -1
- package/dist/ensure-sources-COGVKY44.js.map +0 -1
- package/dist/open-library-DWAQFUSQ.js +0 -13
- 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;
|
|
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
|
|
23
|
-
* a
|
|
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 `
|
|
26
|
-
* (`CatalogEntry.
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
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: "
|
|
35
|
+
type: "publisher-header" | "repo-header" | "asset";
|
|
37
36
|
source?: string;
|
|
38
|
-
|
|
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
|
|
46
|
-
*
|
|
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
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
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
|
|
55
|
-
* @param
|
|
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>,
|
|
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
|
|
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
|
|
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
|
|
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;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,kBAAkB,GAAG,aAAa,GAAG,OAAO,CAAC;IACnD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AA6ED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,QAAQ,EAAE,EAChB,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,EAC7B,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,GAC1B,QAAQ,EAAE,CAWZ;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAEzF;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,MAAM,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
|
|
7
|
-
*
|
|
8
|
-
* requested skill
|
|
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":"
|
|
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,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;CAC3D;AAED;;;;;;;;;GASG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,OAAO,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,8D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AE;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;
|
|
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,
|
|
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;
|
|
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"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { LegacyAuthGrammarError, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations, resolveAuth, resolveAuthRef, resolveBackendAuthFor } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
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-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
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';
|
package/dist/connectors/index.js
CHANGED
|
@@ -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-
|
|
2
|
-
export { EnvSecretProvider, ForgeSecretProvider, InMemorySecretProvider, LegacyAuthGrammarError, LockedSecretProvider, OAuthRequiredError, PreMintedSecretProvider, SecretProviderChain, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations, resolveAuth, resolveAuthRef, resolveBackendAuthFor } from '../chunk-
|
|
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-
|
|
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-
|
|
9
|
+
import '../chunk-P4FYHEHW.js';
|
|
10
10
|
import '../chunk-K5GBV4SA.js';
|
|
11
11
|
import '../chunk-KLNL7QHN.js';
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-
|
|
14
|
-
import '../chunk-
|
|
15
|
-
import '../chunk-
|
|
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';
|
package/dist/core/index.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
6
|
-
export { fromAgentMd, fromAgentYaml, fromBundleYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromMcpServerMd, fromPromptMd, fromSkillMd, parseFrontmatter, parseRequires, scanDirectory, walkDir } from '../chunk-
|
|
7
|
-
export { ASSET_KINDS, INDIVIDUAL_KINDS, assetRefToDep, assetRefToStr, depToStr, entryFromRaw, entryToRaw, parseAssetRef, parseDep, repositoryFromRaw, repositoryToRaw } from '../chunk-
|
|
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';
|
package/dist/core/manifest.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { fromAgentMd, fromAgentYaml, fromBundleYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromKnowledgeYaml, fromMcpServerMd, fromPromptMd, fromSkillMd, parseFrontmatter, parseRequires, scanDirectory, walkDir } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
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
|
package/dist/core/models.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ASSET_KINDS, INDIVIDUAL_KINDS, assetRefToDep, assetRefToStr, depToStr, entryFromRaw, entryToRaw, parseAssetRef, parseDep, repositoryFromRaw, repositoryToRaw } from '../chunk-
|
|
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
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { BASE_ASSETS_REPO_NAME, resolveBaseAssetsRoot, resolveRuntimeAssets } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
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
|
package/dist/core/src/index.d.ts
CHANGED
|
@@ -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,
|
|
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 {
|
|
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,
|
|
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;;;;;;;;;;;GAWG;AAGH,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEtF,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAClF,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAE/E,YAAY,EAAE,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AAa,CAAC;AACrB,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC"}
|
package/dist/core/src/lock.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
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 {
|
|
8
|
-
import type {
|
|
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
|
-
*
|
|
35
|
-
*
|
|
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
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* @param
|
|
42
|
-
* @
|
|
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(
|
|
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
|
|
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
|
|
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
|
-
/**
|
|
90
|
+
/** Canonical refs whose content hash no longer matches. */
|
|
73
91
|
drifted: string[];
|
|
74
|
-
/**
|
|
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
|
|
79
|
-
*
|
|
80
|
-
*
|
|
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
|
|
83
|
-
* @param
|
|
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,
|
|
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
|
|
1
|
+
{"version":3,"file":"lock.d.ts","sourceRoot":"","sources":["../../../core/src/lock.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAMH,OAAO,KAAK,EAEV,QAAQ,EACR,eAAe,EAEhB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAIvD;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,GAAG,IAAI,CAEhE;AAED;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,CAiB1D;AAID;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAGpD;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,MAAM,CAOpF;AAID;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,mBAAmB,EAAE,EAC/B,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,GAC5B,QAAQ,CAuBV;AASD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