@skaile/workspaces 1.3.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +395 -0
- package/README.md +1 -1
- package/dist/app-sdk/index.d.ts +2 -0
- package/dist/app-sdk/index.js +481 -0
- package/dist/app-sdk/index.js.map +1 -0
- package/dist/app-sdk/src/app.d.ts +152 -0
- package/dist/app-sdk/src/app.d.ts.map +1 -0
- package/dist/app-sdk/src/connection-params.d.ts +117 -0
- package/dist/app-sdk/src/connection-params.d.ts.map +1 -0
- package/dist/app-sdk/src/define-app-capability.d.ts +139 -0
- package/dist/app-sdk/src/define-app-capability.d.ts.map +1 -0
- package/dist/app-sdk/src/index.d.ts +17 -0
- package/dist/app-sdk/src/index.d.ts.map +1 -0
- package/dist/app-sdk/src/logger.d.ts +26 -0
- package/dist/app-sdk/src/logger.d.ts.map +1 -0
- package/dist/app-sdk/src/transport.d.ts +93 -0
- package/dist/app-sdk/src/transport.d.ts.map +1 -0
- package/dist/app-sdk/src/ws-transport.d.ts +79 -0
- package/dist/app-sdk/src/ws-transport.d.ts.map +1 -0
- package/dist/{asset-feeds-NEZKG6YS.js → asset-feeds-T35ELX2O.js} +11 -11
- package/dist/{asset-feeds-NEZKG6YS.js.map → asset-feeds-T35ELX2O.js.map} +1 -1
- package/dist/asset-manager/index.js +15 -10
- package/dist/asset-manager/installer.js +9 -9
- package/dist/asset-manager/renderers.js +2 -2
- package/dist/asset-manager/src/index.d.ts +42 -6
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/bridge/drivers/claude-sdk.js +2 -2
- package/dist/bridge/drivers/codex.js +1 -1
- package/dist/bridge/drivers/continue.js +2 -2
- package/dist/bridge/drivers/echo.js +1 -1
- package/dist/bridge/drivers/gemini.js +3 -3
- package/dist/bridge/drivers/goose.js +2 -2
- package/dist/bridge/drivers/omp.js +1 -1
- package/dist/bridge/drivers/opencode.js +2 -2
- package/dist/bridge/drivers/qwen.js +3 -3
- package/dist/bridge/index.js +3 -3
- package/dist/{chunk-YOPSHV7V.js → chunk-2DWXGUZA.js} +3 -3
- package/dist/{chunk-YOPSHV7V.js.map → chunk-2DWXGUZA.js.map} +1 -1
- package/dist/{chunk-XBG2YDQQ.js → chunk-2ZMO4CFG.js} +3 -3
- package/dist/{chunk-XBG2YDQQ.js.map → chunk-2ZMO4CFG.js.map} +1 -1
- package/dist/{chunk-OBSSORCE.js → chunk-3CHARYD4.js} +84 -12
- package/dist/chunk-3CHARYD4.js.map +1 -0
- package/dist/{chunk-SKADPHAM.js → chunk-4N5XR5DQ.js} +2 -2
- package/dist/chunk-4N5XR5DQ.js.map +1 -0
- package/dist/{chunk-WFEPI5LA.js → chunk-6NR2BEIY.js} +6 -6
- package/dist/{chunk-WFEPI5LA.js.map → chunk-6NR2BEIY.js.map} +1 -1
- package/dist/{chunk-7CNIRF42.js → chunk-BGIC25VK.js} +26 -15
- package/dist/chunk-BGIC25VK.js.map +1 -0
- package/dist/{chunk-YXEPZ7LP.js → chunk-CNSNN7N6.js} +6 -6
- package/dist/{chunk-YXEPZ7LP.js.map → chunk-CNSNN7N6.js.map} +1 -1
- package/dist/{chunk-PSMW5HLX.js → chunk-DMG6NJH7.js} +5 -5
- package/dist/{chunk-PSMW5HLX.js.map → chunk-DMG6NJH7.js.map} +1 -1
- package/dist/{chunk-P3MJYPZE.js → chunk-FDE7XRQA.js} +57 -9
- package/dist/chunk-FDE7XRQA.js.map +1 -0
- package/dist/{chunk-K5SD7FSF.js → chunk-HKX5VSWQ.js} +3 -3
- package/dist/{chunk-K5SD7FSF.js.map → chunk-HKX5VSWQ.js.map} +1 -1
- package/dist/{chunk-AZAS3FKN.js → chunk-HY33RMEA.js} +49 -3
- package/dist/chunk-HY33RMEA.js.map +1 -0
- package/dist/{chunk-XKARS6EE.js → chunk-IEX5YV4R.js} +3 -3
- package/dist/{chunk-XKARS6EE.js.map → chunk-IEX5YV4R.js.map} +1 -1
- package/dist/{chunk-GB4SEEK4.js → chunk-IRORTHGA.js} +10 -4
- package/dist/chunk-IRORTHGA.js.map +1 -0
- package/dist/chunk-J5TI55E7.js +203 -0
- package/dist/chunk-J5TI55E7.js.map +1 -0
- package/dist/chunk-JIDKX7GC.js +122 -0
- package/dist/chunk-JIDKX7GC.js.map +1 -0
- package/dist/{chunk-BDUANIAR.js → chunk-KEQ4GLVM.js} +3 -3
- package/dist/{chunk-BDUANIAR.js.map → chunk-KEQ4GLVM.js.map} +1 -1
- package/dist/{chunk-5XS3BFJS.js → chunk-KMY7HVQ6.js} +3 -3
- package/dist/{chunk-5XS3BFJS.js.map → chunk-KMY7HVQ6.js.map} +1 -1
- package/dist/{chunk-BZMTR5WW.js → chunk-MZV6WCF3.js} +83 -51
- package/dist/chunk-MZV6WCF3.js.map +1 -0
- package/dist/{chunk-QK5JDAFF.js → chunk-NKTFEV7Q.js} +4 -4
- package/dist/{chunk-QK5JDAFF.js.map → chunk-NKTFEV7Q.js.map} +1 -1
- package/dist/{chunk-DZCK7GRW.js → chunk-P4VHQA4N.js} +22 -6
- package/dist/chunk-P4VHQA4N.js.map +1 -0
- package/dist/{chunk-EVZKWY5J.js → chunk-PK7Q7MC7.js} +5 -4
- package/dist/chunk-PK7Q7MC7.js.map +1 -0
- package/dist/{chunk-ETYDLXI5.js → chunk-RDYOU6N6.js} +2 -2
- package/dist/{chunk-ETYDLXI5.js.map → chunk-RDYOU6N6.js.map} +1 -1
- package/dist/{chunk-RHMQPLIK.js → chunk-RSYV7XEN.js} +14 -8
- package/dist/chunk-RSYV7XEN.js.map +1 -0
- package/dist/{chunk-SUOGVHGJ.js → chunk-TNSCHS4I.js} +2 -2
- package/dist/{chunk-SUOGVHGJ.js.map → chunk-TNSCHS4I.js.map} +1 -1
- package/dist/{chunk-Z5Z3MYDL.js → chunk-UPZGQZEJ.js} +3 -3
- package/dist/{chunk-Z5Z3MYDL.js.map → chunk-UPZGQZEJ.js.map} +1 -1
- package/dist/{chunk-RJ3HUSBC.js → chunk-UQ5FK2AB.js} +3 -3
- package/dist/{chunk-RJ3HUSBC.js.map → chunk-UQ5FK2AB.js.map} +1 -1
- package/dist/{chunk-OUWNTFDG.js → chunk-UQKYT4V6.js} +38 -6
- package/dist/chunk-UQKYT4V6.js.map +1 -0
- package/dist/chunk-WYGXYGJH.js +688 -0
- package/dist/chunk-WYGXYGJH.js.map +1 -0
- package/dist/{chunk-TJRWGMD2.js → chunk-ZBZQC5R7.js} +3 -3
- package/dist/{chunk-TJRWGMD2.js.map → chunk-ZBZQC5R7.js.map} +1 -1
- package/dist/cli/index.js +1022 -374
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/catalog.d.ts +18 -0
- package/dist/cli/src/commands/catalog.d.ts.map +1 -1
- package/dist/cli/src/commands/library-cmd.d.ts +2 -2
- package/dist/cli/src/commands/library-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/library-publish.d.ts +53 -0
- package/dist/cli/src/commands/library-publish.d.ts.map +1 -0
- package/dist/cli/src/commands/preset-apply.d.ts +59 -0
- package/dist/cli/src/commands/preset-apply.d.ts.map +1 -0
- package/dist/cli/src/commands/preset-cmd.d.ts +8 -2
- package/dist/cli/src/commands/preset-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/preset-export.d.ts +102 -0
- package/dist/cli/src/commands/preset-export.d.ts.map +1 -0
- package/dist/cli/src/commands/project.d.ts.map +1 -1
- package/dist/cli/src/commands/publish-core.d.ts +75 -0
- package/dist/cli/src/commands/publish-core.d.ts.map +1 -0
- package/dist/cli/src/commands/run.d.ts.map +1 -1
- package/dist/cli/src/commands/source-manifest-publish.d.ts +82 -0
- package/dist/cli/src/commands/source-manifest-publish.d.ts.map +1 -0
- package/dist/cli/src/commands/source-manifest.d.ts +65 -6
- package/dist/cli/src/commands/source-manifest.d.ts.map +1 -1
- package/dist/cli/src/commands/source.d.ts +13 -0
- package/dist/cli/src/commands/source.d.ts.map +1 -1
- package/dist/cli/src/commands/store.d.ts.map +1 -1
- package/dist/cli/src/commands/why.d.ts +18 -0
- package/dist/cli/src/commands/why.d.ts.map +1 -1
- package/dist/cli/src/driver-error.d.ts +12 -0
- package/dist/cli/src/driver-error.d.ts.map +1 -0
- package/dist/cli/src/open-library.d.ts +4 -0
- package/dist/cli/src/open-library.d.ts.map +1 -1
- package/dist/cli/src/store-auth.d.ts +42 -0
- package/dist/cli/src/store-auth.d.ts.map +1 -0
- package/dist/cli/src/store-client.d.ts +20 -22
- package/dist/cli/src/store-client.d.ts.map +1 -1
- package/dist/cli/src/store-publisher.d.ts +91 -0
- package/dist/cli/src/store-publisher.d.ts.map +1 -0
- package/dist/connectors/config.js +6 -6
- package/dist/connectors/index.js +8 -8
- package/dist/core/index.js +5 -5
- package/dist/core/publish-manifest.js +1 -1
- package/dist/core/runtime-assets.js +3 -3
- package/dist/core/src/cache-paths.d.ts +17 -0
- package/dist/core/src/cache-paths.d.ts.map +1 -1
- package/dist/core/src/index.d.ts +2 -2
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/publish-manifest.d.ts.map +1 -1
- package/dist/core/src/repo-manager.d.ts +13 -2
- package/dist/core/src/repo-manager.d.ts.map +1 -1
- package/dist/core/src/walker.d.ts +10 -0
- package/dist/core/src/walker.d.ts.map +1 -1
- package/dist/core/src/workspace-yaml-editor.d.ts +14 -1
- package/dist/core/src/workspace-yaml-editor.d.ts.map +1 -1
- package/dist/core/workspace-config.js +2 -2
- package/dist/deploy/index.js +5 -5
- package/dist/discovery/index.js +3 -3
- package/dist/discovery/src/discover-manifest.d.ts.map +1 -1
- package/dist/discovery/src/discover.d.ts +17 -4
- package/dist/discovery/src/discover.d.ts.map +1 -1
- package/dist/discovery/src/index.d.ts +1 -1
- package/dist/discovery/src/index.d.ts.map +1 -1
- package/dist/discovery/src/reference-lint.d.ts +7 -0
- package/dist/discovery/src/reference-lint.d.ts.map +1 -1
- package/dist/discovery/src/source-config.d.ts +28 -0
- package/dist/discovery/src/source-config.d.ts.map +1 -1
- package/dist/discovery/src/tree-entries.d.ts.map +1 -1
- package/dist/{ensure-sources-4BAJGJRK.js → ensure-sources-QDVFUIUP.js} +18 -13
- package/dist/ensure-sources-QDVFUIUP.js.map +1 -0
- package/dist/factory-assets/connectors/box.js +8 -8
- package/dist/factory-assets/connectors/deploy.js +8 -8
- package/dist/factory-assets/connectors/devserver.js +8 -8
- package/dist/factory-assets/connectors/flow/adapter.js +8 -8
- package/dist/factory-assets/connectors/flow/engine/engine.d.ts +4 -1
- package/dist/factory-assets/connectors/flow/engine/engine.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine/types.d.ts +41 -6
- package/dist/factory-assets/connectors/flow/engine/types.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine.js +6 -6
- package/dist/factory-assets/connectors/flow/run-flow.js +9 -9
- package/dist/factory-assets/connectors/flow.js +8 -8
- package/dist/factory-assets/connectors/git.js +8 -8
- package/dist/factory-assets/connectors/gmail.js +8 -8
- package/dist/factory-assets/connectors/googledrive.js +8 -8
- package/dist/factory-assets/connectors/local.js +8 -8
- package/dist/factory-assets/connectors/mattermost.js +8 -8
- package/dist/factory-assets/connectors/memory.js +8 -8
- package/dist/factory-assets/connectors/minio.js +8 -8
- package/dist/factory-assets/connectors/postgres.js +8 -8
- package/dist/factory-assets/connectors/s3.js +8 -8
- package/dist/factory-assets/connectors/sharepoint.js +8 -8
- package/dist/factory-assets/connectors/sqlite.js +8 -8
- package/dist/factory-assets/connectors/static-server.js +8 -8
- package/dist/factory-assets/connectors/tunnel.js +8 -8
- package/dist/factory-assets/connectors/webdav.js +8 -8
- package/dist/factory-assets/connectors/xstate-store.js +8 -8
- package/dist/factory-assets/connectors/xstate.js +8 -8
- package/dist/factory-assets/skills/skaile-author-asset/SKILL.md +1 -1
- package/dist/factory-assets/skills/skaile-manage-workspace/SKILL.md +1 -1
- package/dist/{flows-UFCOGAAM.js → flows-MRVXTYWC.js} +4 -4
- package/dist/{flows-UFCOGAAM.js.map → flows-MRVXTYWC.js.map} +1 -1
- package/dist/helpers-TF7GCBRQ.js +27 -0
- package/dist/{helpers-2OL4FRFB.js.map → helpers-TF7GCBRQ.js.map} +1 -1
- package/dist/library/index.js +9 -9
- package/dist/library/install.js +5 -5
- package/dist/library/src/index.d.ts +2 -2
- package/dist/library/src/index.d.ts.map +1 -1
- package/dist/library/src/local/local-catalog-source.d.ts +12 -1
- package/dist/library/src/local/local-catalog-source.d.ts.map +1 -1
- package/dist/library/src/sync/manifest-writeback.d.ts +36 -0
- package/dist/library/src/sync/manifest-writeback.d.ts.map +1 -1
- package/dist/library-publish-K5IBE44D.js +249 -0
- package/dist/library-publish-K5IBE44D.js.map +1 -0
- package/dist/open-library-4HMIDK3N.js +29 -0
- package/dist/{open-library-RPV2LIKL.js.map → open-library-4HMIDK3N.js.map} +1 -1
- package/dist/{paths-ML33B5SB.js → paths-P3DWFUPS.js} +8 -8
- package/dist/{paths-ML33B5SB.js.map → paths-P3DWFUPS.js.map} +1 -1
- package/dist/{plugin-store-G4HKWCTU.js → plugin-store-S7OMGI7N.js} +7 -7
- package/dist/{plugin-store-G4HKWCTU.js.map → plugin-store-S7OMGI7N.js.map} +1 -1
- package/dist/runner/index.js +14 -14
- package/dist/runner/src/agent.d.ts.map +1 -1
- package/dist/runner/src/capability-registry.d.ts +15 -4
- package/dist/runner/src/capability-registry.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +15 -10
- package/dist/sdk/bridge.js +3 -3
- package/dist/sdk/core.js +5 -5
- package/dist/sdk/flow.js +6 -6
- package/dist/sdk/index.js +14 -14
- package/dist/sdk/runner.js +14 -14
- package/dist/sdk/session.js +2 -2
- package/dist/sdk/types.js +1 -1
- package/dist/session/index.js +2 -2
- package/dist/{setup-WS6PF6JQ.js → setup-2CCS63L6.js} +10 -10
- package/dist/{setup-WS6PF6JQ.js.map → setup-2CCS63L6.js.map} +1 -1
- package/dist/source-LOAM7IIQ.js +30 -0
- package/dist/{source-22U5NOY4.js.map → source-LOAM7IIQ.js.map} +1 -1
- package/dist/source-manifest-publish-TGVZ6KMC.js +228 -0
- package/dist/source-manifest-publish-TGVZ6KMC.js.map +1 -0
- package/dist/tui/index.js +14 -14
- package/dist/types/index.js +1 -1
- package/dist/types/manifests.js +1 -1
- package/dist/types/src/capabilities.d.ts +8 -2
- package/dist/types/src/capabilities.d.ts.map +1 -1
- package/dist/types/src/logging.d.ts +3 -2
- package/dist/types/src/logging.d.ts.map +1 -1
- package/dist/types/src/manifests/_shared.d.ts +4 -4
- package/dist/types/src/manifests/index.d.ts +2 -2
- package/dist/types/src/manifests/index.d.ts.map +1 -1
- package/dist/types/src/manifests/preset.d.ts +10 -0
- package/dist/types/src/manifests/preset.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +11 -1
- package/dist/types/src/version.d.ts.map +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +2 -2
- package/dist/workspace-plugin/adapters/omp.js +3 -3
- package/dist/workspace-plugin/index.js +1 -1
- package/package.json +7 -1
- package/dist/chunk-7CNIRF42.js.map +0 -1
- package/dist/chunk-AZAS3FKN.js.map +0 -1
- package/dist/chunk-BZMTR5WW.js.map +0 -1
- package/dist/chunk-DZCK7GRW.js.map +0 -1
- package/dist/chunk-EVZKWY5J.js.map +0 -1
- package/dist/chunk-GB4SEEK4.js.map +0 -1
- package/dist/chunk-JQMIG7D3.js +0 -93
- package/dist/chunk-JQMIG7D3.js.map +0 -1
- package/dist/chunk-OBSSORCE.js.map +0 -1
- package/dist/chunk-OUWNTFDG.js.map +0 -1
- package/dist/chunk-P3MJYPZE.js.map +0 -1
- package/dist/chunk-RHMQPLIK.js.map +0 -1
- package/dist/chunk-RYRJEVQ4.js +0 -377
- package/dist/chunk-RYRJEVQ4.js.map +0 -1
- package/dist/chunk-SKADPHAM.js.map +0 -1
- package/dist/ensure-sources-4BAJGJRK.js.map +0 -1
- package/dist/helpers-2OL4FRFB.js +0 -22
- package/dist/open-library-RPV2LIKL.js +0 -29
- package/dist/source-22U5NOY4.js +0 -30
- package/dist/store-client-YLMBH5MF.js +0 -15
- package/dist/store-client-YLMBH5MF.js.map +0 -1
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
import { Command } from "commander";
|
|
2
|
+
/**
|
|
3
|
+
* Pick the right message when `am.why(ref)` returns an empty chain. Two
|
|
4
|
+
* distinct causes need different guidance:
|
|
5
|
+
*
|
|
6
|
+
* - The ref **is** a declared dependency (matches `declared` by kind+name) but
|
|
7
|
+
* isn't in the lock file yet → tell the user to run `skaile install`.
|
|
8
|
+
* - The ref is **not** declared at all → `skaile install` cannot help, so say
|
|
9
|
+
* plainly that nothing in `skaile.yaml` requires it.
|
|
10
|
+
*
|
|
11
|
+
* Pure and terminal-free so it can be unit-tested; the command wires the
|
|
12
|
+
* returned string into `logErr`.
|
|
13
|
+
*
|
|
14
|
+
* @param declared - Declared deps exposing `.kind` + `.name` (from `listDeclared`).
|
|
15
|
+
*/
|
|
16
|
+
export declare function whyEmptyMessage(ref: string, declared: Array<{
|
|
17
|
+
kind: string;
|
|
18
|
+
name: string;
|
|
19
|
+
}>): string;
|
|
2
20
|
/**
|
|
3
21
|
* Creates the `skaile why` command.
|
|
4
22
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"why.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/why.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"why.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/why.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA0BpC;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAC7B,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,GAC9C,MAAM,CASR;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,IAAI,OAAO,CAuCxC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Turn a driver-start/prompt failure into a friendly, actionable message when the
|
|
3
|
+
* cause is a missing/unusable agent binary; otherwise return `null` so the caller
|
|
4
|
+
* surfaces the raw error unchanged.
|
|
5
|
+
*
|
|
6
|
+
* The bridge classifies these as `category: "config"` and carries a `hint`, but the
|
|
7
|
+
* shape reaching the CLI varies: omp's `start()` rejects with the raw spawn error
|
|
8
|
+
* (`code === "ENOENT"`), while the subprocess CLI drivers reject with the classified
|
|
9
|
+
* `AgentError` attached under `.detail`. Duck-type across all of them.
|
|
10
|
+
*/
|
|
11
|
+
export declare function friendlyDriverError(err: unknown): string | null;
|
|
12
|
+
//# sourceMappingURL=driver-error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"driver-error.d.ts","sourceRoot":"","sources":["../../../cli/src/driver-error.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAyB/D"}
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
* `https://skaile.store`) and a {@link LocalCatalogSource} bound to the most
|
|
11
11
|
* recent local library registered via `skaile source add`.
|
|
12
12
|
*/
|
|
13
|
+
/** Thrown by {@link openCatalogSource} when `catalog.url` is the `local` sentinel. */
|
|
14
|
+
export declare class LocalCatalogDisabledError extends Error {
|
|
15
|
+
constructor(message: string);
|
|
16
|
+
}
|
|
13
17
|
/**
|
|
14
18
|
* Open the LocalIndex with the full kind registry. Exits with code 1
|
|
15
19
|
* if the library directory cannot be created.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open-library.d.ts","sourceRoot":"","sources":["../../../cli/src/open-library.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAKH;;;;;;GAMG;AACH,wBAAsB,WAAW,6DA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I,CAAC,EAAE;IAC7C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+CAA+C;IAC/C,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,GAAG,OAAO,CACP,OAAO,4BAA4B,EAAE,mBAAmB,GACxD,OAAO,4BAA4B,EAAE,iBAAiB,CACzD,CAqBA;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,qBAAqB;IACpC,gDAAgD;IAChD,MAAM,EAAE,OAAO,4BAA4B,EAAE,cAAc,CAAC;IAC5D,sEAAsE;IACtE,KAAK,IAAI,IAAI,CAAC;CACf;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,oBAAoB,CAAC,IAAI,CAAC,EAAE;IAChD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+CAA+C;IAC/C,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAmEjC;AAED;;;;;;GAMG;AACH,wBAAsB,kBAAkB,IAAI,OAAO,CAAC;IAClD,OAAO,EAAE,OAAO,4BAA4B,EAAE,cAAc,CAAC;IAC7D,OAAO,EAAE,OAAO,4BAA4B,EAAE,UAAU,CAAC;IACzD,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC,CAKD"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/** Resolved auth targets — every field has a prod default, all env-overridable. */
|
|
2
|
+
export interface StoreAuthConfig {
|
|
3
|
+
keycloakUrl: string;
|
|
4
|
+
realm: string;
|
|
5
|
+
clientId: string;
|
|
6
|
+
authFile: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Load the auth config. Defaults target the production store
|
|
10
|
+
* (`auth.skaile.ai`, realm `skaile-store`, public client `skaile-store-cli`);
|
|
11
|
+
* override with `SKAILE_KEYCLOAK_URL` / `SKAILE_STORE_REALM` /
|
|
12
|
+
* `SKAILE_STORE_CLI_CLIENT` / `SKAILE_AUTH_FILE` for dev or a preview deploy.
|
|
13
|
+
*/
|
|
14
|
+
export declare function loadStoreAuthConfig(): StoreAuthConfig;
|
|
15
|
+
export interface StoredAuth {
|
|
16
|
+
access_token: string;
|
|
17
|
+
refresh_token?: string;
|
|
18
|
+
/** Epoch ms when the access token expires (with a safety margin already applied). */
|
|
19
|
+
expires_at: number;
|
|
20
|
+
}
|
|
21
|
+
/** Injectable seams so the poll loop is unit-testable without real time or network. */
|
|
22
|
+
export interface AuthDeps {
|
|
23
|
+
fetchImpl?: typeof fetch;
|
|
24
|
+
sleep?: (ms: number) => Promise<void>;
|
|
25
|
+
/** Called once with the verification URL + user code (default: write to stderr). */
|
|
26
|
+
onPrompt?: (url: string, userCode: string) => void;
|
|
27
|
+
}
|
|
28
|
+
/** Remove the cached session (sign out). */
|
|
29
|
+
export declare function logout(config: StoreAuthConfig): void;
|
|
30
|
+
/** True when a cached, well-formed session exists (validity/refresh resolved on use). */
|
|
31
|
+
export declare function hasStoredAuth(config: StoreAuthConfig): boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Run the device flow to completion, persisting tokens on success. Prints the
|
|
34
|
+
* verification URL + user code for the operator to approve in a browser.
|
|
35
|
+
*/
|
|
36
|
+
export declare function deviceLogin(config: StoreAuthConfig, deps?: AuthDeps): Promise<StoredAuth>;
|
|
37
|
+
/**
|
|
38
|
+
* Return a valid access token, refreshing if it is expired (or about to). Throws
|
|
39
|
+
* a clear "run `skaile store login`" error when there is no usable session.
|
|
40
|
+
*/
|
|
41
|
+
export declare function getAccessToken(config: StoreAuthConfig, deps?: AuthDeps): Promise<string>;
|
|
42
|
+
//# sourceMappingURL=store-auth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store-auth.d.ts","sourceRoot":"","sources":["../../../cli/src/store-auth.ts"],"names":[],"mappings":"AAaA,mFAAmF;AACnF,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAMD;;;;;GAKG;AACH,wBAAgB,mBAAmB,IAAI,eAAe,CAQrD;AAQD,MAAM,WAAW,UAAU;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qFAAqF;IACrF,UAAU,EAAE,MAAM,CAAC;CACpB;AAsBD,uFAAuF;AACvF,MAAM,WAAW,QAAQ;IACvB,SAAS,CAAC,EAAE,OAAO,KAAK,CAAC;IACzB,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACtC,oFAAoF;IACpF,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CACpD;AAmBD,4CAA4C;AAC5C,wBAAgB,MAAM,CAAC,MAAM,EAAE,eAAe,GAAG,IAAI,CAMpD;AAED,yFAAyF;AACzF,wBAAgB,aAAa,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAE9D;AAkBD;;;GAGG;AACH,wBAAsB,WAAW,CAAC,MAAM,EAAE,eAAe,EAAE,IAAI,GAAE,QAAa,GAAG,OAAO,CAAC,UAAU,CAAC,CAkDnG;AA0BD;;;GAGG;AACH,wBAAsB,cAAc,CAClC,MAAM,EAAE,eAAe,EACvB,IAAI,GAAE,QAAa,GAClB,OAAO,CAAC,MAAM,CAAC,CAWjB"}
|
|
@@ -1,41 +1,37 @@
|
|
|
1
|
+
import { type AuthDeps } from "./store-auth.ts";
|
|
1
2
|
/**
|
|
2
|
-
* Connection configuration for the AI Asset Store API.
|
|
3
|
+
* Connection configuration for the AI Asset Store API. `jwt` is normally left
|
|
4
|
+
* null here and filled per-call by the caller from {@link getStoreToken} (the
|
|
5
|
+
* device-flow session); it stays on the type for the `{ ...config, jwt }` spread.
|
|
3
6
|
*
|
|
4
7
|
* @docLink cli/dev-guide#store-client
|
|
5
8
|
*/
|
|
6
9
|
export interface StoreConfig {
|
|
7
10
|
url: string;
|
|
8
11
|
jwt: string | null;
|
|
9
|
-
refreshToken: string | null;
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
12
|
-
* Read store
|
|
13
|
-
*
|
|
14
|
+
* Read the store API base URL (settings `storeUrl` → `SKAILE_STORE_URL` →
|
|
15
|
+
* default). Auth is not read here — it lives in the device-flow session; see
|
|
16
|
+
* {@link getStoreToken}.
|
|
14
17
|
*
|
|
15
|
-
* @returns Populated {@link StoreConfig} with `url`, `jwt`, and `refreshToken`.
|
|
16
18
|
* @docLink cli/dev-guide#store-client
|
|
17
19
|
*/
|
|
18
20
|
export declare function getStoreConfig(): StoreConfig;
|
|
19
21
|
/**
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* @param refreshToken - The refresh token for obtaining new JWTs.
|
|
24
|
-
* @docLink cli/dev-guide#store-client
|
|
25
|
-
*/
|
|
26
|
-
export declare function saveStoreTokens(jwt: string, refreshToken: string): void;
|
|
27
|
-
/**
|
|
28
|
-
* Remove store authentication tokens from `~/.skaile/settings.json`.
|
|
29
|
-
*
|
|
30
|
-
* @docLink cli/dev-guide#store-client
|
|
22
|
+
* Return a valid store access token (Keycloak device-flow session, refreshed if
|
|
23
|
+
* needed). Throws a "run `skaile store login`" error when there is no session.
|
|
24
|
+
* This is the auth source for every `/api/v1/*` publisher call.
|
|
31
25
|
*/
|
|
32
|
-
export declare function
|
|
26
|
+
export declare function getStoreToken(deps?: AuthDeps): Promise<string>;
|
|
33
27
|
/**
|
|
34
|
-
* Make an authenticated HTTP request to the store REST API
|
|
28
|
+
* Make an authenticated HTTP request to the store REST API.
|
|
35
29
|
*
|
|
36
30
|
* @param config - Store connection config (URL + auth token).
|
|
37
31
|
* @param path - API path (e.g. `/api/assets`).
|
|
38
|
-
* @param opts - Optional method, body, query params,
|
|
32
|
+
* @param opts - Optional method, body, query params, extra headers, and
|
|
33
|
+
* `timeoutMs` (default 1500). Publisher calls pass a longer timeout because
|
|
34
|
+
* they trigger server-side clone/sync work.
|
|
39
35
|
* @returns Parsed JSON response body.
|
|
40
36
|
* @docLink cli/dev-guide#store-client
|
|
41
37
|
*/
|
|
@@ -44,12 +40,14 @@ export declare function storeFetch<T = any>(config: StoreConfig, path: string, o
|
|
|
44
40
|
body?: unknown;
|
|
45
41
|
params?: Record<string, string>;
|
|
46
42
|
headers?: Record<string, string>;
|
|
43
|
+
timeoutMs?: number;
|
|
47
44
|
}): Promise<T>;
|
|
48
45
|
/**
|
|
49
|
-
* Return `true`
|
|
46
|
+
* Return `true` when a store session exists (a Keycloak device-flow token cached
|
|
47
|
+
* at `~/.skaile/auth.json`). Validity/refresh is resolved on use via
|
|
48
|
+
* {@link getStoreToken}.
|
|
50
49
|
*
|
|
51
|
-
* @param config - Optional pre-loaded config; if omitted, calls {@link getStoreConfig}.
|
|
52
50
|
* @docLink cli/dev-guide#store-client
|
|
53
51
|
*/
|
|
54
|
-
export declare function isStoreAuthenticated(
|
|
52
|
+
export declare function isStoreAuthenticated(): boolean;
|
|
55
53
|
//# sourceMappingURL=store-client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store-client.d.ts","sourceRoot":"","sources":["../../../cli/src/store-client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"store-client.d.ts","sourceRoot":"","sources":["../../../cli/src/store-client.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAsD,MAAM,iBAAiB,CAAC;AAEpG;;;;;;GAMG;AACH,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACpB;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,IAAI,WAAW,CAc5C;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC,CAE9D;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,UAAU,CAAC,CAAC,GAAG,GAAG,EACtC,MAAM,EAAE,WAAW,EACnB,IAAI,EAAE,MAAM,EACZ,IAAI,CAAC,EAAE;IACL,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GACA,OAAO,CAAC,CAAC,CAAC,CAoCZ;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,IAAI,OAAO,CAE9C"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Typed REST client for the AI Asset Store **publisher** surface — the
|
|
3
|
+
* curator-publish flow (`skaile source manifest publish` / `yank`). Thin
|
|
4
|
+
* wrappers over {@link storeFetch}; every method maps 1:1 to an `/api/v1/…`
|
|
5
|
+
* endpoint. The {@link PublisherClient} interface is injectable so the
|
|
6
|
+
* orchestration in `commands/source-manifest-publish.ts` can be unit-tested
|
|
7
|
+
* against a fake without a live store.
|
|
8
|
+
*
|
|
9
|
+
* @docLink cli/dev-guide#store-publisher
|
|
10
|
+
*/
|
|
11
|
+
import { type StoreConfig } from "./store-client.ts";
|
|
12
|
+
/**
|
|
13
|
+
* The publisher REST surface used by the curator-publish flow. Kept minimal —
|
|
14
|
+
* only the endpoints `runPublish` / `runYank` actually call. Response shapes
|
|
15
|
+
* are narrowed to the fields the orchestration reads (the server returns more).
|
|
16
|
+
*/
|
|
17
|
+
export interface PublisherClient {
|
|
18
|
+
/** Identity of the caller; `username` is the publisher namespace. */
|
|
19
|
+
me(): Promise<{
|
|
20
|
+
username: string;
|
|
21
|
+
}>;
|
|
22
|
+
/** Register (or re-register) a source; returns the created/existing row id. */
|
|
23
|
+
sourcesAdd(body: {
|
|
24
|
+
url: string;
|
|
25
|
+
ref: string;
|
|
26
|
+
sidecarUrl?: string;
|
|
27
|
+
sidecarRef?: string;
|
|
28
|
+
}): Promise<{
|
|
29
|
+
id: string;
|
|
30
|
+
}>;
|
|
31
|
+
/** List sources — used to recover an id when `sourcesAdd` rejects a dup url. */
|
|
32
|
+
sourcesList(): Promise<Array<{
|
|
33
|
+
id: string;
|
|
34
|
+
url: string;
|
|
35
|
+
}>>;
|
|
36
|
+
/** Kick off a source sync; returns the async job id to poll. */
|
|
37
|
+
sourceSync(id: string): Promise<{
|
|
38
|
+
jobId: string;
|
|
39
|
+
}>;
|
|
40
|
+
/** Poll a job's terminal status + per-item results. */
|
|
41
|
+
jobGet(jobId: string): Promise<{
|
|
42
|
+
status: string;
|
|
43
|
+
items?: Array<{
|
|
44
|
+
label: string;
|
|
45
|
+
status: string;
|
|
46
|
+
error?: string;
|
|
47
|
+
}>;
|
|
48
|
+
}>;
|
|
49
|
+
/** Discovered publishable candidates for a synced source. */
|
|
50
|
+
sourceCandidates(id: string): Promise<Array<{
|
|
51
|
+
id: string;
|
|
52
|
+
name: string;
|
|
53
|
+
version: string;
|
|
54
|
+
kind: string;
|
|
55
|
+
published: boolean;
|
|
56
|
+
assetRoot: string;
|
|
57
|
+
}>>;
|
|
58
|
+
/** Per-asset preview — the discovered file set + resolved candidate metadata. */
|
|
59
|
+
assetPreview(id: string): Promise<{
|
|
60
|
+
discoveredFiles: string[];
|
|
61
|
+
candidate: {
|
|
62
|
+
name: string;
|
|
63
|
+
version: string;
|
|
64
|
+
kind: string;
|
|
65
|
+
publisherNamespace: string;
|
|
66
|
+
};
|
|
67
|
+
}>;
|
|
68
|
+
/**
|
|
69
|
+
* Publish one asset. `dryRun` returns the would-be `{ manifest }` without
|
|
70
|
+
* launching a job; the normal path returns `{ jobId }`.
|
|
71
|
+
*/
|
|
72
|
+
assetPublish(id: string, body: {
|
|
73
|
+
ref: string;
|
|
74
|
+
files: string[];
|
|
75
|
+
}, dryRun?: boolean): Promise<{
|
|
76
|
+
jobId?: string;
|
|
77
|
+
manifest?: unknown;
|
|
78
|
+
}>;
|
|
79
|
+
/** Retract a published asset. Response body is ignored. */
|
|
80
|
+
assetUnpublish(id: string): Promise<unknown>;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Construct the real HTTP-backed {@link PublisherClient}. Every call carries a
|
|
84
|
+
* longer timeout than the default store client because publish/sync trigger
|
|
85
|
+
* server-side clone work.
|
|
86
|
+
*
|
|
87
|
+
* @param config - Store connection config; defaults to {@link getStoreConfig}.
|
|
88
|
+
* @param timeoutMs - Per-request abort timeout (default 20s).
|
|
89
|
+
*/
|
|
90
|
+
export declare function makeHttpPublisherClient(config?: StoreConfig, timeoutMs?: number): PublisherClient;
|
|
91
|
+
//# sourceMappingURL=store-publisher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store-publisher.d.ts","sourceRoot":"","sources":["../../../cli/src/store-publisher.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAiC,KAAK,WAAW,EAAc,MAAM,mBAAmB,CAAC;AAEhG;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,qEAAqE;IACrE,EAAE,IAAI,OAAO,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACpC,+EAA+E;IAC/E,UAAU,CAAC,IAAI,EAAE;QACf,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,GAAG,OAAO,CAAC;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC5B,gFAAgF;IAChF,WAAW,I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O,CAAC;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IACnD,2DAA2D;IAC3D,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CAC9C;AAED;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,GAAE,WAA8B,EACtC,SAAS,SAAS,GACjB,eAAe,CA0BjB"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { LegacyAuthGrammarError, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations, resolveAuthRef, resolveBackendAuthFor } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
1
|
+
export { LegacyAuthGrammarError, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations, resolveAuthRef, resolveBackendAuthFor } from '../chunk-KEQ4GLVM.js';
|
|
2
|
+
import '../chunk-HY33RMEA.js';
|
|
3
|
+
import '../chunk-ZAP2BDHG.js';
|
|
4
|
+
import '../chunk-ZBZQC5R7.js';
|
|
5
|
+
import '../chunk-UQKYT4V6.js';
|
|
6
|
+
import '../chunk-P4VHQA4N.js';
|
|
6
7
|
import '../chunk-BQCGFPHW.js';
|
|
7
8
|
import '../chunk-GEEW6SY2.js';
|
|
8
9
|
import '../chunk-F3HNW354.js';
|
|
9
10
|
import '../chunk-MENCWIHW.js';
|
|
10
11
|
import '../chunk-K5GBV4SA.js';
|
|
11
|
-
import '../chunk-ZAP2BDHG.js';
|
|
12
12
|
import '../chunk-JB35MVBN.js';
|
|
13
13
|
import '../chunk-NSBPE2FW.js';
|
|
14
14
|
//# sourceMappingURL=config.js.map
|
package/dist/connectors/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { AbstractConnector, BUILTIN_CONNECTOR_CATALOG, ConnectorFieldMissingError, ConnectorManager, ConnectorStartupError, FlowAdapter, LogBuffer, ManagedGitconfigCollisionError, PortPool, atomicReplaceCredential, buildConnectorPromptSection, buildSdkConnectorTools, createFsWatcher, createWorktree, defaultSpawn, ensureDirMode, 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, deriveSingleMaterializedConnectorDeclaration, fromMaterializedConnectorMd, loadConnectorDeclarations, loadMaterializedConnectorDeclarations, resolveAuthRef, resolveBackendAuthFor } from '../chunk-
|
|
1
|
+
export { AbstractConnector, BUILTIN_CONNECTOR_CATALOG, ConnectorFieldMissingError, ConnectorManager, ConnectorStartupError, FlowAdapter, LogBuffer, ManagedGitconfigCollisionError, PortPool, atomicReplaceCredential, buildConnectorPromptSection, buildSdkConnectorTools, createFsWatcher, createWorktree, defaultSpawn, ensureDirMode, ensureFleetMounted, findGitRoot, findMissingPackages, getConnector, installNpmPackages, isFleetManaged, isPackageResolvable, listConnectors, listWorktrees, registerBuiltinConnectors, removeMountBlock, renderCredentialHelperScript, tryGetConnector, worktreeRegistry, writeHelperScript, writeMountBlock } from '../chunk-DMG6NJH7.js';
|
|
2
|
+
export { EnvSecretProvider, ForgeSecretProvider, InMemorySecretProvider, LegacyAuthGrammarError, LockedSecretProvider, OAuthRequiredError, PreMintedSecretProvider, SecretProviderChain, createCliSecretProviderChain, createForgeSecretProviderChain, deriveSingleMaterializedConnectorDeclaration, fromMaterializedConnectorMd, loadConnectorDeclarations, loadMaterializedConnectorDeclarations, resolveAuthRef, resolveBackendAuthFor } from '../chunk-KEQ4GLVM.js';
|
|
3
3
|
import '../chunk-6E6PKKAD.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-4N5XR5DQ.js';
|
|
5
5
|
import '../chunk-DEYYRFQU.js';
|
|
6
6
|
import '../chunk-IFGTRL2I.js';
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-HY33RMEA.js';
|
|
8
|
+
import '../chunk-ZAP2BDHG.js';
|
|
9
|
+
import '../chunk-ZBZQC5R7.js';
|
|
10
|
+
import '../chunk-UQKYT4V6.js';
|
|
11
|
+
import '../chunk-P4VHQA4N.js';
|
|
11
12
|
import '../chunk-BQCGFPHW.js';
|
|
12
13
|
import '../chunk-GEEW6SY2.js';
|
|
13
14
|
import '../chunk-F3HNW354.js';
|
|
14
15
|
import '../chunk-MENCWIHW.js';
|
|
15
16
|
import '../chunk-K5GBV4SA.js';
|
|
16
|
-
import '../chunk-ZAP2BDHG.js';
|
|
17
17
|
import '../chunk-JB35MVBN.js';
|
|
18
18
|
import '../chunk-NSBPE2FW.js';
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
package/dist/core/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { ALL_PROVIDERS, ManifestYamlEditor, SETTINGS_DEFAULTS, WorkspaceYamlEditor, applyPatch, buildLockFile, checkAgentSkillConformance, 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-
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
1
|
+
export { ALL_PROVIDERS, ManifestYamlEditor, SETTINGS_DEFAULTS, WorkspaceYamlEditor, applyPatch, buildLockFile, checkAgentSkillConformance, 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-HY33RMEA.js';
|
|
2
|
+
export { ASSET_KIND_DIRS, assetSearchDirs, detectAiResources, detectDomains, detectMonorepoRoot } from '../chunk-ZAP2BDHG.js';
|
|
3
|
+
export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot } from '../chunk-ZBZQC5R7.js';
|
|
4
|
+
export { COMPACTION_DEFAULTS, CanonicalRefConflictError, DEFAULT_RECIPE_ATTR, SKAILE_YAML_DEFAULT, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, __resetCacheMigrationMemo, buildProvenanceIndex, checkRepoStatus, checkoutPin, cloneRepo, cloudConfigFromProfile, decodeSkaileYaml, deriveSingleMaterializedMcpDeclaration, encodeSkaileYaml, ensureRepo, findWorkspaceRoot, getGlobalCacheDir, getRepoCommit, globalCacheRoot, globalSkaileDir, linkRepo, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, mergeLegacyEntriesInto, mergeLegacyEntriesKeyed, mergeSkWorkspaceConfigs, migrateLegacyDir, normalizeConfig, pullRepo, readLinks, resolveAgentDir, resolveAll, resolveAsset, resolveGlobalBackends, resolveGlobalSkWorkspaceConfig, resolveSkWorkspaceConfig, resolveSourcePublisher, saveSkWorkspaceConfig, scanRepo, sourceCacheKey, sourceShortName, stageMaterializedSkills, storeManifestSlug, unlinkRepo, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, writeLinks } from '../chunk-UQKYT4V6.js';
|
|
5
|
+
export { SKAILE_MANIFEST_FILENAME, decodeSkaileManifest, encodeSkaileManifest, loadSkPublishManifest, saveSkPublishManifest } from '../chunk-P4VHQA4N.js';
|
|
5
6
|
export { bundleDepRefs, fromAgentMd, fromAgentYaml, fromBundleYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromMcpServerMd, fromMcpServerMdContent, fromPromptMd, fromSkillMd, parseFrontmatter, parseRequires, scanDirectory, walkDir } from '../chunk-BQCGFPHW.js';
|
|
6
7
|
export { ASSET_KINDS, ASSET_NAME_HINT, INDIVIDUAL_KINDS, assetRefToDep, assetRefToStr, depToStr, entryFromRaw, entryToRaw, isValidAssetName, parseAssetRef, parseDep, repositoryFromRaw, repositoryToRaw, slugifyAssetName } from '../chunk-GEEW6SY2.js';
|
|
7
8
|
export { deployedBase, deployedDir, isDeployed } from '../chunk-F3HNW354.js';
|
|
8
9
|
export { DRIVER_TARGETS, SUPPORTED_DRIVER_TARGETS, globalBackendRoot } from '../chunk-MENCWIHW.js';
|
|
9
10
|
export { DRIVER_DEFAULTS, resolveDriverPaths } from '../chunk-K5GBV4SA.js';
|
|
10
|
-
export { ASSET_KIND_DIRS, assetSearchDirs, detectAiResources, detectDomains, detectMonorepoRoot } from '../chunk-ZAP2BDHG.js';
|
|
11
11
|
export { LogStore, LogStoreDisabledError, NoOpSink, OnLogBridgeSink, SqliteSink, StdoutSink, WsLogSink, createLogStoreFromConfig, createLogger, getLogStore, normalizeError, openSqlite, registerLogStore, resetLogStore, resolveLogStoreConfig, sanitizeData } from '../chunk-JB35MVBN.js';
|
|
12
12
|
import '../chunk-NSBPE2FW.js';
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { SKAILE_MANIFEST_FILENAME, decodeSkaileManifest, encodeSkaileManifest, loadSkPublishManifest, saveSkPublishManifest } from '../chunk-
|
|
1
|
+
export { SKAILE_MANIFEST_FILENAME, decodeSkaileManifest, encodeSkaileManifest, loadSkPublishManifest, saveSkPublishManifest } from '../chunk-P4VHQA4N.js';
|
|
2
2
|
import '../chunk-GEEW6SY2.js';
|
|
3
3
|
import '../chunk-NSBPE2FW.js';
|
|
4
4
|
//# sourceMappingURL=publish-manifest.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot } from '../chunk-ZBZQC5R7.js';
|
|
2
|
+
import '../chunk-UQKYT4V6.js';
|
|
3
|
+
import '../chunk-P4VHQA4N.js';
|
|
4
4
|
import '../chunk-BQCGFPHW.js';
|
|
5
5
|
import '../chunk-GEEW6SY2.js';
|
|
6
6
|
import '../chunk-MENCWIHW.js';
|
|
@@ -26,6 +26,23 @@ export declare function migrateLegacyDir(newPath: string, legacyPath: string): s
|
|
|
26
26
|
* @param filter - receives the absolute child path; return true to move it.
|
|
27
27
|
*/
|
|
28
28
|
export declare function mergeLegacyEntriesInto(targetDir: string, legacyDir: string, filter: (childAbsPath: string) => boolean): void;
|
|
29
|
+
/**
|
|
30
|
+
* Key-aware per-entry merge: like {@link mergeLegacyEntriesInto}, but each moved
|
|
31
|
+
* child is placed at `targetDir/<remap(childAbsPath, name)>` instead of preserving
|
|
32
|
+
* the bare `name`. Used to migrate legacy bare-name clones (`~/.skaile/sources/cli`)
|
|
33
|
+
* into the URL-keyed cache layout (`<cacheRoot>/sources/<host>/<owner>/<repo>`) so a
|
|
34
|
+
* later URL-keyed lookup finds them. `remap` returning `null`/`undefined` (or a
|
|
35
|
+
* value equal to `name`) falls back to preserving the bare name.
|
|
36
|
+
*
|
|
37
|
+
* Nested target keys (`host/owner/repo`) create intermediate dirs. Skips a child
|
|
38
|
+
* when its computed target already exists (don't clobber). Removes `legacyDir`
|
|
39
|
+
* if it empties. Idempotent; memoized per `targetDir|legacyDir` pair.
|
|
40
|
+
*
|
|
41
|
+
* @param filter - receives the absolute child path; return true to consider it.
|
|
42
|
+
* @param remap - receives `(childAbsPath, name)`; returns the target key (a
|
|
43
|
+
* possibly-nested relative path) or a falsy value to keep `name`.
|
|
44
|
+
*/
|
|
45
|
+
export declare function mergeLegacyEntriesKeyed(targetDir: string, legacyDir: string, filter: (childAbsPath: string) => boolean, remap: (childAbsPath: string, name: string) => string | null | undefined): void;
|
|
29
46
|
/** Test-only: reset migration memoization between cases. */
|
|
30
47
|
export declare function __resetCacheMigrationMemo(): void;
|
|
31
48
|
//# sourceMappingURL=cache-paths.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cache-paths.d.ts","sourceRoot":"","sources":["../../../core/src/cache-paths.ts"],"names":[],"mappings":"AAaA;;;;GAIG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAED;;;GAGG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAGxC;AAID;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAY5E;AAID;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CACpC,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,GACxC,IAAI,CAsBN;AAED,4DAA4D;AAC5D,wBAAgB,yBAAyB,IAAI,IAAI,CAGhD"}
|
|
1
|
+
{"version":3,"file":"cache-paths.d.ts","sourceRoot":"","sources":["../../../core/src/cache-paths.ts"],"names":[],"mappings":"AAaA;;;;GAIG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAED;;;GAGG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAGxC;AAID;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAY5E;AAID;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CACpC,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,GACxC,IAAI,CAsBN;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,EACzC,KAAK,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,MAAM,GAAG,IAAI,GAAG,SAAS,GACvE,IAAI,CAwBN;AAED,4DAA4D;AAC5D,wBAAgB,yBAAyB,IAAI,IAAI,CAGhD"}
|
package/dist/core/src/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* - `@skaile/workspaces/runner` (headless agent runtime)
|
|
11
11
|
* - `@skaile/workspace-cli` (the `skaile` binary)
|
|
12
12
|
*/
|
|
13
|
-
export { __resetCacheMigrationMemo, globalCacheRoot, globalSkaileDir, mergeLegacyEntriesInto, migrateLegacyDir, } from "./cache-paths.js";
|
|
13
|
+
export { __resetCacheMigrationMemo, globalCacheRoot, globalSkaileDir, mergeLegacyEntriesInto, mergeLegacyEntriesKeyed, migrateLegacyDir, } from "./cache-paths.js";
|
|
14
14
|
export { ASSET_KIND_DIRS, assetSearchDirs, detectAiResources, detectDomains, detectMonorepoRoot, } from "./discovery.js";
|
|
15
15
|
export type { AgentTarget, AiComponent, DriverTarget } from "./driver-targets.js";
|
|
16
16
|
export { DRIVER_TARGETS, globalBackendRoot, SUPPORTED_DRIVER_TARGETS } from "./driver-targets.js";
|
|
@@ -29,7 +29,7 @@ export { applyPatch, extractForPatch, generatePatch, listPatches, readPatch, sav
|
|
|
29
29
|
export type { AssetEntry, ManifestDecodeResult, ManifestFileEntry, ManifestProvenance, ManifestSource, SkPublishManifest, } from "./publish-manifest.js";
|
|
30
30
|
export { decodeSkaileManifest, encodeSkaileManifest, loadSkPublishManifest, SKAILE_MANIFEST_FILENAME, saveSkPublishManifest, } from "./publish-manifest.js";
|
|
31
31
|
export type { LinkConfig, RepoStatus, ResolveOpts, ResolveResult, StoreFetcher, } from "./repo-manager.js";
|
|
32
|
-
export { CanonicalRefConflictError, checkoutPin, checkRepoStatus, cloneRepo, ensureRepo, getGlobalCacheDir, getRepoCommit, linkRepo, pullRepo, readLinks, resolveAll, resolveAsset, resolveSourcePublisher, scanRepo, sourceCacheKey, sourceShortName, unlinkRepo, writeLinks, } from "./repo-manager.js";
|
|
32
|
+
export { CanonicalRefConflictError, checkoutPin, checkRepoStatus, cloneRepo, ensureRepo, getGlobalCacheDir, getRepoCommit, linkRepo, pullRepo, readLinks, resolveAll, resolveAsset, resolveSourcePublisher, scanRepo, sourceCacheKey, sourceShortName, storeManifestSlug, unlinkRepo, writeLinks, } from "./repo-manager.js";
|
|
33
33
|
export type { RuntimeAssetRef, RuntimeAssetsResult, RuntimeAssetWarning, RuntimeCatalogEntry, RuntimeNpmDeps, } from "./runtime-assets.js";
|
|
34
34
|
export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot, } from "./runtime-assets.js";
|
|
35
35
|
export type { Provider, ResolvedKey, SkaileSettings } from "./settings.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../core/src/index.ts"],"names":[],"mappings":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BAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../core/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,OAAO,EACL,yBAAyB,EACzB,eAAe,EACf,eAAe,EACf,sBAAsB,EACtB,uBAAuB,EACvB,gBAAgB,GACjB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EACL,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,kBAAkB,GACnB,MAAM,gBAAgB,CAAC;AAExB,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAClF,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAElG,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAErE,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EACL,aAAa,EACb,WAAW,EACX,QAAQ,EACR,oBAAoB,EACpB,UAAU,EACV,SAAS,EACT,qBAAqB,GACtB,MAAM,WAAW,CAAC;AAEnB,cAAc,oBAAoB,CAAC;AAEnC,YAAY,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EACL,aAAa,EACb,WAAW,EACX,aAAa,EACb,cAAc,EACd,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,sBAAsB,EACtB,YAAY,EACZ,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,OAAO,GACR,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,kBAAkB,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,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,sCAAsC,EACtC,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,yBAAyB,EACzB,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,eAAe,EACf,qBAAqB,EACrB,8BAA8B,EAC9B,wBAAwB,EACxB,yBAAyB,EACzB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish-manifest.d.ts","sourceRoot":"","sources":["../../../core/src/publish-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAMH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAIxD,8EAA8E;AAC9E,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,0CAA0C;IAC1C,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAC;IACvC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,oEAAoE;IACpE,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAExB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IAGxB,WAAW,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B;;;OAGG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,mFAAmF;IACnF,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC;CACvB;AAED,2EAA2E;AAC3E,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,WAAW,EAAE,UAAU,EAAE,CAAC;CAC3B;AAED,wDAAwD;AACxD,eAAO,MAAM,wBAAwB,yBAAyB,CAAC;AA+M/D;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,oBAAoB,CAYvE;AA2CD;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,iBAAiB,GAAG,MAAM,CAYxE;AAID;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,iBAAiB,GAAG,IAAI,CAc3E;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,iBAAiB,GAAG,MAAM,CAQtF"}
|
|
@@ -43,6 +43,15 @@ export declare function sourceCacheKey(url: string): string;
|
|
|
43
43
|
* wanted instead of the full `<host>/<owner>/<repo>` triple.
|
|
44
44
|
*/
|
|
45
45
|
export declare function sourceShortName(cacheKeyOrUrl: string): string;
|
|
46
|
+
/**
|
|
47
|
+
* Collision-free, filesystem-safe flat slug for a source URL — the basename of
|
|
48
|
+
* its curated store manifest (`~/.skaile/store/manifests/<slug>.yaml`). Derived
|
|
49
|
+
* from the full {@link sourceCacheKey} (`<host>/<owner>/<repo>`) with path
|
|
50
|
+
* separators encoded, so `orgA/cli` and `orgB/cli` never collide on the trailing
|
|
51
|
+
* repo name (which {@link sourceShortName} would). Keyed identically by the
|
|
52
|
+
* `init` writer, the `source add`/`sync` overlay reader, and the resolver.
|
|
53
|
+
*/
|
|
54
|
+
export declare function storeManifestSlug(url: string): string;
|
|
46
55
|
/**
|
|
47
56
|
* Clone a remote git repository using partial clone (treeless) with sparse checkout.
|
|
48
57
|
* Falls back to a regular shallow clone if the server does not support partial clones.
|
|
@@ -160,8 +169,10 @@ export declare function ensureRepo(decl: SourceDeclaration, name: string, reposD
|
|
|
160
169
|
* the index/discovery side (`LocalCatalogSource.sync`) so both key an asset
|
|
161
170
|
* identically. The org fallback is lowercased to its GitHub-shaped slug
|
|
162
171
|
* (GitHub orgs are case-insensitive — a cased remote like `Acme` must not split
|
|
163
|
-
* from the lowercase index ref). A declared manifest publisher
|
|
164
|
-
*
|
|
172
|
+
* from the lowercase index ref). A declared manifest publisher has its single
|
|
173
|
+
* leading `@` (the scope sigil, added automatically by the ref formatter)
|
|
174
|
+
* stripped so the scan/display refs match the decode path — `@acme` would
|
|
175
|
+
* otherwise render as `@@acme` and be un-addable.
|
|
165
176
|
*
|
|
166
177
|
* @param repoDir - Absolute path to the scanned repository root
|
|
167
178
|
* @returns The publisher slug (no `@` sigil) or `undefined`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repo-manager.d.ts","sourceRoot":"","sources":["../../../core/src/repo-manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAkBH,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG1D,OAAO,EAAsB,KAAK,mBAAmB,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AACjG,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAS1F;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"repo-manager.d.ts","sourceRoot":"","sources":["../../../core/src/repo-manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAkBH,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG1D,OAAO,EAAsB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AE,EAAE,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,aAAa,CAAC,CA8E1F;AAiKD;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,sCAAsC;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,4EAA4E;IAC5E,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACpC,qCAAqC;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,4DAA4D;IAC5D,UAAU,EAAE,MAAM,CAAC;IACnB,8DAA8D;IAC9D,MAAM,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,QAAQ,EAAE,OAAO,CAAC;IAClB,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gEAAgE;IAChE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,iBAAiB,EACvB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,EAChB,UAAU,CAAC,EAAE,MAAM,GAClB,UAAU,CAyEZ"}
|
|
@@ -25,6 +25,16 @@ export interface SourceClone {
|
|
|
25
25
|
commit: string;
|
|
26
26
|
/** Optional tag context for the version waterfall (step 3). */
|
|
27
27
|
tag?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Optional curated overlay manifest FILE (the local store's flat
|
|
30
|
+
* `~/.skaile/store/manifests/<slug>.yaml`, authored by `source manifest init`).
|
|
31
|
+
* When set and the file exists, it is the AUTHORITATIVE inventory for this
|
|
32
|
+
* clone — the walker reads it INSTEAD of scanning the clone's own manifests /
|
|
33
|
+
* agentskills.io layout, so the curated publisher + asset set resolve. Byte
|
|
34
|
+
* paths (`root`/`files`) still resolve against `localPath`. Mirrors the
|
|
35
|
+
* discovery-side overlay so `add`/resolve agree with what `source add` indexed.
|
|
36
|
+
*/
|
|
37
|
+
overlayManifestPath?: string;
|
|
28
38
|
}
|
|
29
39
|
/** One resolved candidate in the provenance index. */
|
|
30
40
|
export interface ProvenanceCandidate {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"walker.d.ts","sourceRoot":"","sources":["../../../core/src/walker.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAgBH,2DAA2D;AAC3D,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,mBAAmB;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,+DAA+D;IAC/D,GAAG,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"walker.d.ts","sourceRoot":"","sources":["../../../core/src/walker.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAgBH,2DAA2D;AAC3D,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,mBAAmB;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,+DAA+D;IAC/D,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;;;;;OAQG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,sDAAsD;AACtD,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,wDAAwD;IACxD,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC/C,6DAA6D;IAC7D,MAAM,EAAE,MAAM,CAAC;IACf,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC;;;yDAGqD;IACrD,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAGhB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,MAAM,eAAe,GAAG,GAAG,CAAC,MAAM,EAAE,mBAAmB,EAAE,CAAC,CAAC;AAsBjE;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEtD;AA0BD;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,WAAW,EAAE,EACrB,KAAK,CAAC,EAAE;IAAE,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,GAC9B,eAAe,CAIjB"}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* editor.save()
|
|
16
16
|
*/
|
|
17
17
|
import { Document } from "yaml";
|
|
18
|
-
import type { AgentConfigProfile, ConnectorDeclaration, OverrideEntry, SourceEntry, StoreEntry } from "./workspace-config.js";
|
|
18
|
+
import type { AgentConfigProfile, ConnectorDeclaration, McpServerDeclaration, OverrideEntry, SourceEntry, StoreEntry } from "./workspace-config.js";
|
|
19
19
|
/**
|
|
20
20
|
* Comment-preserving editor for `skaile.yaml` files.
|
|
21
21
|
* Uses the `yaml` library's Document AST so untouched sections remain byte-identical.
|
|
@@ -59,6 +59,19 @@ export declare class WorkspaceYamlEditor {
|
|
|
59
59
|
setConnector(connector: ConnectorDeclaration): void;
|
|
60
60
|
/** Remove a connector by id. */
|
|
61
61
|
removeConnector(id: string): boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Add or replace an mcp server entry, matched by `id`.
|
|
64
|
+
* Mirrors {@link setConnector}: an existing entry with the same `id` is
|
|
65
|
+
* replaced in place; otherwise the declaration is appended.
|
|
66
|
+
*/
|
|
67
|
+
setMcpServer(mcp: McpServerDeclaration): void;
|
|
68
|
+
/**
|
|
69
|
+
* Append a dependency ref to `dependencies:`, deduped by exact ref string.
|
|
70
|
+
*
|
|
71
|
+
* @param ref - Canonical dependency ref (e.g. `skill:@skaile/foo#1.0.0`).
|
|
72
|
+
* @returns `true` when the ref was newly added, `false` when it was already present.
|
|
73
|
+
*/
|
|
74
|
+
addDependency(ref: string): boolean;
|
|
62
75
|
/** Get all `plugins:` specifiers. */
|
|
63
76
|
getPlugins(): string[];
|
|
64
77
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-yaml-editor.d.ts","sourceRoot":"","sources":["../../../core/src/workspace-yaml-editor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,QAAQ,EAA6C,MAAM,MAAM,CAAC;AAC3E,OAAO,KAAK,EACV,kBAAkB,EAClB,oBAAoB,EACpB,aAAa,EACb,WAAW,EACX,UAAU,EACX,MAAM,uBAAuB,CAAC;AAE/B;;;;;GAKG;AACH,qBAAa,mBAAmB;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,GAAG,CAAW;IAEtB,OAAO;IAKP,yCAAyC;IACzC,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,mBAAmB;IASlD,qEAAqE;IACrE,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,mBAAmB;IAKpD,2EAA2E;IAC3E,IAAI,IAAI,IAAI;IAIZ,iEAAiE;IACjE,QAAQ,IAAI,MAAM;IAMlB,wDAAwD;IACxD,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,GAAG,MAAM,GAAG,SAAS;IAKpD,oCAAoC;IACpC,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAMrD;;;OAGG;IACH,cAAc,CAAC,OAAO,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-
export { COMPACTION_DEFAULTS, DEFAULT_RECIPE_ATTR, SKAILE_YAML_DEFAULT, SKAILE_YAML_SUFFIX, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, cloudConfigFromProfile, decodeSkaileYaml, deriveSingleMaterializedMcpDeclaration, encodeSkaileYaml, findWorkspaceRoot, isWorkspaceConfigFilename, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, mergeSkWorkspaceConfigs, normalizeConfig, resolveAgentDir, resolveGlobalBackends, resolveGlobalSkWorkspaceConfig, resolveSkWorkspaceConfig, saveSkWorkspaceConfig, stageMaterializedSkills, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, workspaceNameFromFilename } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { COMPACTION_DEFAULTS, DEFAULT_RECIPE_ATTR, SKAILE_YAML_DEFAULT, SKAILE_YAML_SUFFIX, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, cloudConfigFromProfile, decodeSkaileYaml, deriveSingleMaterializedMcpDeclaration, encodeSkaileYaml, findWorkspaceRoot, isWorkspaceConfigFilename, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, mergeSkWorkspaceConfigs, normalizeConfig, resolveAgentDir, resolveGlobalBackends, resolveGlobalSkWorkspaceConfig, resolveSkWorkspaceConfig, saveSkWorkspaceConfig, stageMaterializedSkills, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, workspaceNameFromFilename } from '../chunk-UQKYT4V6.js';
|
|
2
|
+
import '../chunk-P4VHQA4N.js';
|
|
3
3
|
import '../chunk-BQCGFPHW.js';
|
|
4
4
|
import '../chunk-GEEW6SY2.js';
|
|
5
5
|
import '../chunk-MENCWIHW.js';
|