@skaile/workspaces 0.49.0 → 0.52.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 +248 -0
- package/dist/asset-feeds-OEGJ6NOF.js +205 -0
- package/dist/asset-feeds-OEGJ6NOF.js.map +1 -0
- package/dist/asset-manager/index.js +8 -8
- package/dist/asset-manager/installer.js +7 -7
- package/dist/asset-manager/src/index.d.ts +94 -6
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/asset-manager/src/installer.d.ts +19 -8
- package/dist/asset-manager/src/installer.d.ts.map +1 -1
- package/dist/{chunk-P4BDTJMI.js → chunk-2D5YE3FL.js} +4 -4
- package/dist/{chunk-P4BDTJMI.js.map → chunk-2D5YE3FL.js.map} +1 -1
- package/dist/{chunk-4IGNQG6E.js → chunk-2ZK7M2SG.js} +3 -3
- package/dist/{chunk-4IGNQG6E.js.map → chunk-2ZK7M2SG.js.map} +1 -1
- package/dist/{chunk-SXT6BAQJ.js → chunk-3IHBGDCG.js} +2 -2
- package/dist/{chunk-SXT6BAQJ.js.map → chunk-3IHBGDCG.js.map} +1 -1
- package/dist/{chunk-SDAKQCOB.js → chunk-3KPNDTMR.js} +3 -3
- package/dist/{chunk-SDAKQCOB.js.map → chunk-3KPNDTMR.js.map} +1 -1
- package/dist/{chunk-H74X4TSR.js → chunk-6K4RVXAM.js} +6 -6
- package/dist/{chunk-H74X4TSR.js.map → chunk-6K4RVXAM.js.map} +1 -1
- package/dist/{chunk-XVDXGQ55.js → chunk-7X53KHQ4.js} +4 -2
- package/dist/{chunk-XVDXGQ55.js.map → chunk-7X53KHQ4.js.map} +1 -1
- package/dist/{chunk-LTUTK2Q3.js → chunk-7ZWLZ5H3.js} +35 -22
- package/dist/chunk-7ZWLZ5H3.js.map +1 -0
- package/dist/{chunk-6IDBWPK2.js → chunk-BQCGFPHW.js} +4 -3
- package/dist/chunk-BQCGFPHW.js.map +1 -0
- package/dist/chunk-BXC5547R.js +377 -0
- package/dist/chunk-BXC5547R.js.map +1 -0
- package/dist/{chunk-3A3OACI2.js → chunk-EOINYN5T.js} +2 -2
- package/dist/{chunk-3A3OACI2.js.map → chunk-EOINYN5T.js.map} +1 -1
- package/dist/{chunk-XGCXFX7X.js → chunk-F3HNW354.js} +3 -3
- package/dist/{chunk-XGCXFX7X.js.map → chunk-F3HNW354.js.map} +1 -1
- package/dist/{chunk-33WB7VFV.js → chunk-LKOMH3QC.js} +3 -3
- package/dist/{chunk-33WB7VFV.js.map → chunk-LKOMH3QC.js.map} +1 -1
- package/dist/{chunk-O4JH3KUE.js → chunk-MENCWIHW.js} +11 -3
- package/dist/chunk-MENCWIHW.js.map +1 -0
- package/dist/{chunk-LV73DB4G.js → chunk-MGB657EG.js} +16 -21
- package/dist/chunk-MGB657EG.js.map +1 -0
- package/dist/{chunk-PBO6SCT2.js → chunk-NXC6IEL4.js} +37 -14
- package/dist/chunk-NXC6IEL4.js.map +1 -0
- package/dist/{chunk-EBSIZYM6.js → chunk-QLLFCQU5.js} +12 -12
- package/dist/chunk-QLLFCQU5.js.map +1 -0
- package/dist/{chunk-X46FY45B.js → chunk-SKADPHAM.js} +12 -8
- package/dist/chunk-SKADPHAM.js.map +1 -0
- package/dist/{chunk-BWCGSGAC.js → chunk-TCNYSHPM.js} +165 -28
- package/dist/chunk-TCNYSHPM.js.map +1 -0
- package/dist/{chunk-JXHULIOA.js → chunk-UTHEIPEY.js} +387 -42
- package/dist/chunk-UTHEIPEY.js.map +1 -0
- package/dist/{chunk-ZJ3VRPOI.js → chunk-VE2UIJ7Y.js} +11 -15
- package/dist/chunk-VE2UIJ7Y.js.map +1 -0
- package/dist/{chunk-WBF7JLTY.js → chunk-W53D5Q52.js} +4 -4
- package/dist/{chunk-WBF7JLTY.js.map → chunk-W53D5Q52.js.map} +1 -1
- package/dist/{chunk-HNORRENR.js → chunk-WD2NRI3T.js} +5 -5
- package/dist/{chunk-HNORRENR.js.map → chunk-WD2NRI3T.js.map} +1 -1
- package/dist/cli/index.js +688 -480
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/asset-feeds.d.ts +17 -3
- package/dist/cli/src/asset-feeds.d.ts.map +1 -1
- package/dist/cli/src/commands/catalog.d.ts +3 -2
- package/dist/cli/src/commands/catalog.d.ts.map +1 -1
- package/dist/cli/src/commands/manage.d.ts +47 -8
- package/dist/cli/src/commands/manage.d.ts.map +1 -1
- package/dist/cli/src/commands/project.d.ts.map +1 -1
- package/dist/cli/src/commands/source.d.ts +32 -0
- package/dist/cli/src/commands/source.d.ts.map +1 -1
- package/dist/cli/src/commands/update.d.ts +7 -0
- package/dist/cli/src/commands/update.d.ts.map +1 -1
- package/dist/connectors/config.js +7 -7
- package/dist/connectors/index.js +9 -9
- package/dist/connectors/src/config.d.ts +5 -13
- package/dist/connectors/src/config.d.ts.map +1 -1
- package/dist/connectors/src/index.d.ts +1 -1
- package/dist/connectors/src/index.d.ts.map +1 -1
- package/dist/core/driver-targets.js +1 -1
- package/dist/core/index.js +6 -6
- package/dist/core/manifest.js +1 -1
- package/dist/core/runtime-assets.js +4 -3
- package/dist/core/src/cache-paths.d.ts +6 -0
- package/dist/core/src/cache-paths.d.ts.map +1 -1
- package/dist/core/src/driver-targets.d.ts +12 -7
- package/dist/core/src/driver-targets.d.ts.map +1 -1
- package/dist/core/src/index.d.ts +3 -3
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/manifest.d.ts +6 -6
- package/dist/core/src/manifest.d.ts.map +1 -1
- package/dist/core/src/workspace-config.d.ts +36 -0
- package/dist/core/src/workspace-config.d.ts.map +1 -1
- package/dist/core/store.js +2 -2
- package/dist/core/workspace-config.js +3 -2
- package/dist/deploy/index.js +6 -6
- package/dist/discovery/index.js +2 -2
- package/dist/discovery/src/atomization-conventions.d.ts +30 -0
- package/dist/discovery/src/atomization-conventions.d.ts.map +1 -0
- package/dist/discovery/src/builtin-providers.d.ts.map +1 -1
- package/dist/discovery/src/discover-manifest.d.ts.map +1 -1
- package/dist/discovery/src/discover.d.ts +38 -0
- package/dist/discovery/src/discover.d.ts.map +1 -1
- package/dist/discovery/src/index.d.ts +5 -2
- package/dist/discovery/src/index.d.ts.map +1 -1
- package/dist/discovery/src/reference-lint.d.ts +112 -0
- package/dist/discovery/src/reference-lint.d.ts.map +1 -0
- package/dist/discovery/src/requires-graph.d.ts +1 -1
- package/dist/discovery/src/tree-entries.d.ts +9 -1
- package/dist/discovery/src/tree-entries.d.ts.map +1 -1
- package/dist/{ensure-sources-EE7Z2HKS.js → ensure-sources-GJOXWVWO.js} +8 -8
- package/dist/{ensure-sources-EE7Z2HKS.js.map → ensure-sources-GJOXWVWO.js.map} +1 -1
- package/dist/factory-assets/connectors/deploy.js +9 -9
- package/dist/factory-assets/connectors/devserver.js +9 -9
- package/dist/factory-assets/connectors/flow/adapter.js +9 -9
- package/dist/factory-assets/connectors/flow/engine/flow-kind-provider.d.ts +1 -1
- package/dist/factory-assets/connectors/flow/engine/flow-kind-provider.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine.js +7 -7
- package/dist/factory-assets/connectors/flow/run-flow.js +10 -10
- package/dist/factory-assets/connectors/flow.js +9 -9
- package/dist/factory-assets/connectors/git.js +9 -9
- package/dist/factory-assets/connectors/gmail/adapter.d.ts.map +1 -1
- package/dist/factory-assets/connectors/gmail.js +9 -9
- package/dist/factory-assets/connectors/googledrive.js +9 -9
- package/dist/factory-assets/connectors/local.js +9 -9
- package/dist/factory-assets/connectors/mattermost/adapter.d.ts.map +1 -1
- package/dist/factory-assets/connectors/mattermost.js +9 -9
- package/dist/factory-assets/connectors/memory.js +9 -9
- package/dist/factory-assets/connectors/minio/adapter.d.ts.map +1 -1
- package/dist/factory-assets/connectors/minio.js +9 -9
- package/dist/factory-assets/connectors/postgres/adapter.d.ts.map +1 -1
- package/dist/factory-assets/connectors/postgres.js +9 -9
- package/dist/factory-assets/connectors/s3/driver.d.ts.map +1 -1
- package/dist/factory-assets/connectors/s3.js +9 -9
- package/dist/factory-assets/connectors/sharepoint.js +9 -9
- package/dist/factory-assets/connectors/sqlite/adapter.d.ts.map +1 -1
- package/dist/factory-assets/connectors/sqlite.js +9 -9
- package/dist/factory-assets/connectors/static-server.js +9 -9
- package/dist/factory-assets/connectors/tunnel.js +9 -9
- package/dist/factory-assets/connectors/webdav.js +9 -9
- package/dist/factory-assets/connectors/xstate-store.js +9 -9
- package/dist/factory-assets/connectors/xstate.js +9 -9
- package/dist/{flows-AAHXXXCH.js → flows-AGPIE6JM.js} +3 -3
- package/dist/{flows-AAHXXXCH.js.map → flows-AGPIE6JM.js.map} +1 -1
- package/dist/library/index.js +8 -8
- package/dist/library/install.js +6 -6
- package/dist/open-library-ERKRGH4B.js +23 -0
- package/dist/{open-library-TXJMFG34.js.map → open-library-ERKRGH4B.js.map} +1 -1
- package/dist/paths-D6RUQ522.js +15 -0
- package/dist/{paths-OMVC4UWY.js.map → paths-D6RUQ522.js.map} +1 -1
- package/dist/{plugin-store-JWJHIPUT.js → plugin-store-SGNJTBYS.js} +8 -8
- package/dist/{plugin-store-JWJHIPUT.js.map → plugin-store-SGNJTBYS.js.map} +1 -1
- package/dist/runner/index.js +11 -11
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +8 -8
- package/dist/sdk/core.js +6 -6
- package/dist/sdk/flow.js +7 -7
- package/dist/sdk/index.js +17 -11
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/runner.js +11 -11
- package/dist/sdk/src/transport.d.ts +2 -0
- package/dist/sdk/src/transport.d.ts.map +1 -1
- package/dist/sdk/store.js +1 -1
- package/dist/{setup-ETNBVZQA.js → setup-IV2JFW3T.js} +8 -8
- package/dist/{setup-ETNBVZQA.js.map → setup-IV2JFW3T.js.map} +1 -1
- package/dist/source-FGOMQMZT.js +24 -0
- package/dist/source-FGOMQMZT.js.map +1 -0
- package/dist/store/index.js +1 -1
- package/dist/store/src/store.d.ts.map +1 -1
- package/dist/store-client-GJT2XQ5Z.js +15 -0
- package/dist/{store-client-SLFAAKSV.js.map → store-client-GJT2XQ5Z.js.map} +1 -1
- package/dist/tui/index.js +11 -11
- package/dist/types/src/transport.d.ts +12 -0
- package/dist/types/src/transport.d.ts.map +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +1 -1
- package/dist/workspace-plugin/adapters/omp.js +3 -3
- package/dist/workspace-plugin/index.js +1 -1
- package/package.json +1 -1
- package/dist/asset-feeds-O6R6J4RI.js +0 -128
- package/dist/asset-feeds-O6R6J4RI.js.map +0 -1
- package/dist/chunk-6IDBWPK2.js.map +0 -1
- package/dist/chunk-BWCGSGAC.js.map +0 -1
- package/dist/chunk-EBSIZYM6.js.map +0 -1
- package/dist/chunk-JXHULIOA.js.map +0 -1
- package/dist/chunk-LTUTK2Q3.js.map +0 -1
- package/dist/chunk-LV73DB4G.js.map +0 -1
- package/dist/chunk-O4JH3KUE.js.map +0 -1
- package/dist/chunk-PBO6SCT2.js.map +0 -1
- package/dist/chunk-X46FY45B.js.map +0 -1
- package/dist/chunk-ZJ3VRPOI.js.map +0 -1
- package/dist/open-library-TXJMFG34.js +0 -23
- package/dist/paths-OMVC4UWY.js +0 -15
- package/dist/store-client-SLFAAKSV.js +0 -15
|
@@ -31,6 +31,13 @@ export type AssetOrigin = "source" | "library" | "factory" | "store";
|
|
|
31
31
|
export interface OriginEntry {
|
|
32
32
|
origin: AssetOrigin;
|
|
33
33
|
entry: CatalogEntry;
|
|
34
|
+
/**
|
|
35
|
+
* Second-level grouping label for the manage tree. Defaults (when unset) to the
|
|
36
|
+
* entry's `publisher`; the source feed sets it to the source's short repo name
|
|
37
|
+
* so the Sources band groups by source — "which repo did this come from" — not
|
|
38
|
+
* by the asset-intrinsic publisher.
|
|
39
|
+
*/
|
|
40
|
+
group?: string;
|
|
34
41
|
}
|
|
35
42
|
export interface AssetFeedResult {
|
|
36
43
|
entries: OriginEntry[];
|
|
@@ -43,6 +50,14 @@ export interface AssetFeedResult {
|
|
|
43
50
|
domains: CatalogDomain[];
|
|
44
51
|
notes: FeedNote[];
|
|
45
52
|
}
|
|
53
|
+
/** The slice of `AssetManager` the source feed needs (kept narrow for tests). */
|
|
54
|
+
interface AssetManagerLike {
|
|
55
|
+
search: () => CatalogEntry[];
|
|
56
|
+
searchRepoRoots: () => {
|
|
57
|
+
repoName: string;
|
|
58
|
+
root: string;
|
|
59
|
+
}[];
|
|
60
|
+
}
|
|
46
61
|
/**
|
|
47
62
|
* Run all feeds and return a single normalized result.
|
|
48
63
|
*
|
|
@@ -50,7 +65,6 @@ export interface AssetFeedResult {
|
|
|
50
65
|
* (one HTTP call) and is fired alongside the local library walk. The factory
|
|
51
66
|
* scan is local + synchronous, so it runs inline.
|
|
52
67
|
*/
|
|
53
|
-
export declare function gatherAssetFeeds(am:
|
|
54
|
-
|
|
55
|
-
}, projectDir: string): Promise<AssetFeedResult>;
|
|
68
|
+
export declare function gatherAssetFeeds(am: AssetManagerLike, projectDir: string): Promise<AssetFeedResult>;
|
|
69
|
+
export {};
|
|
56
70
|
//# sourceMappingURL=asset-feeds.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset-feeds.d.ts","sourceRoot":"","sources":["../../../cli/src/asset-feeds.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,YAAY,
|
|
1
|
+
{"version":3,"file":"asset-feeds.d.ts","sourceRoot":"","sources":["../../../cli/src/asset-feeds.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,YAAY,EAKlB,MAAM,yBAAyB,CAAC;AASjC,yEAAyE;AACzE,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,SAAS,CAAC;IACpD,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;GAMG;AACH,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAErE,iEAAiE;AACjE,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,YAAY,CAAC;IACpB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB;;;;;OAKG;IACH,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB;AA4LD,iFAAiF;AACjF,UAAU,gBAAgB;IACxB,MAAM,EAAE,MAAM,YAAY,EAAE,CAAC;IAC7B,eAAe,EAAE,MAAM;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC7D;AAuED;;;;;;GAMG;AACH,wBAAsB,gBAAgB,CACpC,EAAE,EAAE,gBAAgB,EACpB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,eAAe,CAAC,CAgB1B"}
|
|
@@ -53,8 +53,9 @@ export declare function makeRemoveCommand(): Command;
|
|
|
53
53
|
* {@link AssetManager.listDeclared}.
|
|
54
54
|
*
|
|
55
55
|
* `--target` selects which driver-target dir is inspected for the on-disk
|
|
56
|
-
* install/drift check
|
|
57
|
-
*
|
|
56
|
+
* install/drift check. `--global` switches to the global SSOT
|
|
57
|
+
* (`~/.skaile/skaile.yaml`) and reports state **per backend**; `--backend <ids>`
|
|
58
|
+
* narrows the global view to a subset.
|
|
58
59
|
*
|
|
59
60
|
* @returns Configured {@link Command} ready for `program.addCommand()`.
|
|
60
61
|
* @docLink cli/commands/catalog#make-list-command
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/catalog.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/catalog.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAkBH,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AA0J5C;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAW3C;AAwBD;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,IAAI,OAAO,CA6CxC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAuB3C;AAUD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,eAAe,IAAI,OAAO,CAkEzC;AA0DD;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,IAAI,OAAO,CAiCzC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAkB3C;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CA2B3C"}
|
|
@@ -9,7 +9,11 @@
|
|
|
9
9
|
* / Store), the outermost collapsible band so it's clear where
|
|
10
10
|
* each skill comes from.
|
|
11
11
|
* `domain` is the sidecar `DOMAIN.md` grouping (display-only).
|
|
12
|
-
* - Sources — third-party github repos registered via `skaile source add
|
|
12
|
+
* - Sources — third-party github repos registered via `skaile source add`,
|
|
13
|
+
* shown as a `Sources → org → repo → domain → asset` tree (the
|
|
14
|
+
* source-origin slice of the Assets feed, with an extra github-org
|
|
15
|
+
* band). Domains default *collapsed*; install/remove works the
|
|
16
|
+
* same as the Assets tab. CRUD stays in `skaile source …`.
|
|
13
17
|
* - Libraries — user authoring places registered via `skaile library init`.
|
|
14
18
|
* - Pending — staged adds/removes (rich rendering deferred to AF-LIB-TUI-RICH).
|
|
15
19
|
* - Sync — bulk sync sources + libraries (deferred to AF-LIB-TUI-RICH).
|
|
@@ -31,9 +35,12 @@ import type { AssetOrigin } from "../asset-feeds.ts";
|
|
|
31
35
|
*
|
|
32
36
|
* The tree is `origin → publisher → domain → asset`. `origin` (the feed the
|
|
33
37
|
* asset was gathered from — store / source / library / factory) is the outermost
|
|
34
|
-
* band and is carried on **every** row, because the same
|
|
38
|
+
* band and is carried on **every** row, because the same group can appear
|
|
35
39
|
* under more than one origin and must not collapse together. `source` holds the
|
|
36
|
-
* **
|
|
40
|
+
* **second-level group** — the publisher namespace for most origins, but the
|
|
41
|
+
* source's short repo name under the Sources band (see {@link OriginEntry.group});
|
|
42
|
+
* it is set on header rows **and** asset rows so grouping stays consistent.
|
|
43
|
+
* `domainSlug` is the
|
|
37
44
|
* navigational group from a sidecar `DOMAIN.md` (`""` = the synthetic "no
|
|
38
45
|
* domain" group). A `repo` (`"<org>/<repo>"`) is no longer a grouping axis —
|
|
39
46
|
* it rides on the asset row as a dim provenance badge only.
|
|
@@ -44,9 +51,10 @@ import type { AssetOrigin } from "../asset-feeds.ts";
|
|
|
44
51
|
* @docLink cli/commands/manage#make-manage-command
|
|
45
52
|
*/
|
|
46
53
|
export interface AssetRow {
|
|
47
|
-
type: "origin-header" | "publisher-header" | "domain-header" | "domain-info" | "asset";
|
|
54
|
+
type: "origin-header" | "publisher-header" | "domain-header" | "domain-info" | "asset" | "source-root" | "org-header" | "repo-header";
|
|
48
55
|
origin?: AssetOrigin;
|
|
49
56
|
source?: string;
|
|
57
|
+
org?: string;
|
|
50
58
|
domainSlug?: string;
|
|
51
59
|
repo?: string;
|
|
52
60
|
entry?: CatalogEntry;
|
|
@@ -103,14 +111,45 @@ export declare function domainAssetRefs(rows: AssetRow[], origin: AssetOrigin, p
|
|
|
103
111
|
* @docLink cli/commands/manage#make-manage-command
|
|
104
112
|
*/
|
|
105
113
|
export declare function sourceAssetRefs(rows: AssetRow[], origin: AssetOrigin, source: string): string[];
|
|
114
|
+
/**
|
|
115
|
+
* Build the flat Sources-tree row list from the source-origin asset rows.
|
|
116
|
+
* Hierarchy: a single static "Sources" root → per github org → per repo → "no
|
|
117
|
+
* domain" assets (directly under the repo) → per real domain (header + optional
|
|
118
|
+
* info + assets). `registered` injects org/repo bands for sources that have no
|
|
119
|
+
* discoverable assets yet, so a freshly-added source still shows up.
|
|
120
|
+
*
|
|
121
|
+
* @docLink cli/commands/manage#make-manage-command
|
|
122
|
+
*/
|
|
123
|
+
export declare function buildSourceTreeRows(assetRows: AssetRow[], registered?: {
|
|
124
|
+
org: string;
|
|
125
|
+
repo: string;
|
|
126
|
+
}[]): AssetRow[];
|
|
127
|
+
/**
|
|
128
|
+
* Filter the flat Sources-tree rows to those visible given the collapsed
|
|
129
|
+
* org / repo / domain sets. The root is always visible; an org-header hides
|
|
130
|
+
* when no set applies above it; a repo-header hides under a collapsed org; a
|
|
131
|
+
* domain-header hides under a collapsed org/repo; a domain-info / domained
|
|
132
|
+
* asset hides under a collapsed domain (or any collapsed ancestor).
|
|
133
|
+
*
|
|
134
|
+
* @docLink cli/commands/manage#make-manage-command
|
|
135
|
+
*/
|
|
136
|
+
export declare function buildVisibleSourceRows(rows: AssetRow[], collapsedOrgs: Set<string>, collapsedRepos: Set<string>, collapsedDomains: Set<string>): AssetRow[];
|
|
137
|
+
/** Refs of all source-tree asset rows in a github org. */
|
|
138
|
+
export declare function sourceOrgRefs(rows: AssetRow[], org: string): string[];
|
|
139
|
+
/** Refs of all source-tree asset rows in a specific org + repo. */
|
|
140
|
+
export declare function sourceRepoRefs(rows: AssetRow[], org: string, repo: string): string[];
|
|
141
|
+
/** Refs of all source-tree asset rows in a specific org + repo + domain slug. */
|
|
142
|
+
export declare function sourceDomainRefs(rows: AssetRow[], org: string, repo: string, slug: string): string[];
|
|
106
143
|
/**
|
|
107
144
|
* Creates the `skaile manage` command.
|
|
108
145
|
*
|
|
109
146
|
* Opens an interactive terminal TUI (five tabs: Assets, Sources, Libraries,
|
|
110
|
-
* Pending, Sync) for browsing, installing, and removing assets.
|
|
111
|
-
* sources
|
|
112
|
-
*
|
|
113
|
-
*
|
|
147
|
+
* Pending, Sync) for browsing, installing, and removing assets. The Sources tab
|
|
148
|
+
* renders registered github sources as a `Sources → org → repo → domain → asset`
|
|
149
|
+
* tree (domains default collapsed) and supports the same install/remove flow as
|
|
150
|
+
* Assets. CRUD for sources and libraries remains in the shell
|
|
151
|
+
* (`skaile source …` / `skaile library …`); the Libraries tab is still a
|
|
152
|
+
* read-only scaffold pending AF-LIB-TUI-RICH.
|
|
114
153
|
*
|
|
115
154
|
* @returns Configured {@link Command} ready for `program.addCommand()`.
|
|
116
155
|
* @docLink cli/commands/manage#make-manage-command
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manage.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/manage.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"manage.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/manage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAIH,OAAO,EAGL,KAAK,YAAY,EAElB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,KAAK,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAC;AAKlE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,QAAQ;IACvB,IAAI,EACA,eAAe,GACf,kBAAkB,GAClB,eAAe,GACf,aAAa,GACb,OAAO,GAGP,aAAa,GACb,YAAY,GACZ,aAAa,CAAC;IAClB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AA6KD;;;;;;;;;;;;;;;;;;;;;;;;;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ACnE,wBAAgB,cAAc,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAMpF;AAED,iFAAiF;AACjF,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,QAAQ,EAAE,EAChB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,GACX,MAAM,EAAE,CAWV;AAs/CD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAO3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/project.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/project.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAqBpC;;;;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,8DAA8D;IAC9D,WAAW,EAAE,MAAM,CAAC;IACpB,+DAA+D;IAC/D,SAAS,EAAE,MAAM,CAAC;IAClB,+CAA+C;IAC/C,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,qBAAqB,CACzC,GAAG,EAAE,MAAM,EACX,IAAI,EAAE;IAAE,OAAO,EAAE,qBAAqB,CAAC;IAAC,OAAO,EAAE,cAAc,CAAA;CAAE,GAChE,OAAO,CAAC,wBAAwB,CAAC,CA8BnC;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,kBAAkB,IAAI,OAAO,CAoB5C;AAyMD;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAkB1C;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAwE1C"}
|
|
@@ -58,5 +58,37 @@ export declare function sourceMatchesKey(entry: SourceEntry, key: string): boole
|
|
|
58
58
|
* (which `setSource` updates in place).
|
|
59
59
|
*/
|
|
60
60
|
export declare function findCacheKeyCollision(sources: SourceEntry[], url: string): SourceEntry | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Auto-sync hook for `skaile search` on an unsynced workspace. Clones/pulls and
|
|
63
|
+
* re-indexes every source declared in the project's `skaile.yaml`, then returns
|
|
64
|
+
* whether the manifest cache may have changed (caller re-queries on `true`).
|
|
65
|
+
*
|
|
66
|
+
* Unlike `source sync`, this degrades gracefully — a clone/pull/index failure is
|
|
67
|
+
* logged and skipped (never `process.exit`) so a failed auto-sync falls back to
|
|
68
|
+
* the "run sync first" hint rather than killing the search. Returns `false`
|
|
69
|
+
* (silently, no announce) when no sources are declared. Callers must guard
|
|
70
|
+
* air-gapped mode themselves — this always touches the network.
|
|
71
|
+
*/
|
|
72
|
+
export declare function autoSyncForSearch(projectDir: string): Promise<boolean>;
|
|
73
|
+
/**
|
|
74
|
+
* Clone-or-pull every source declared in the project's `skaile.yaml`, then
|
|
75
|
+
* refresh its manifest cache. Shared by `autoSyncForSearch` and `skaile update`
|
|
76
|
+
* (the latter offers it behind a confirm) so a re-deploy can see upstream
|
|
77
|
+
* commits — `update` re-deploys against the local source cache, which is
|
|
78
|
+
* otherwise frozen at the commit captured when the source was first cloned.
|
|
79
|
+
*
|
|
80
|
+
* Graceful by design: a clone/pull/index failure for one source is logged and
|
|
81
|
+
* skipped (never `process.exit`), so a single bad remote can't abort the run.
|
|
82
|
+
* Existing clones are advanced with `git pull --ff-only` (no `--depth=1`, unlike
|
|
83
|
+
* the installer's `pullRepo`, so it fast-forwards instead of tripping the
|
|
84
|
+
* shallow-divergence path). Returns a count summary for the caller to report.
|
|
85
|
+
*/
|
|
86
|
+
export declare function syncProjectSources(projectDir: string, opts?: {
|
|
87
|
+
dev?: boolean;
|
|
88
|
+
}): Promise<{
|
|
89
|
+
total: number;
|
|
90
|
+
synced: number;
|
|
91
|
+
failed: number;
|
|
92
|
+
}>;
|
|
61
93
|
export declare function makeSourceCommand(): Command;
|
|
62
94
|
//# sourceMappingURL=source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/source.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAKH,OAAO,EAGL,KAAK,WAAW,EAKjB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAMpC;;;GAGG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEnD;AAKD;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE;IAAE,MAAM,EAAE,MAAM,EAAE,CAAA;CAAE,GAAG,OAAO,CAEzE;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAYvE;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAOxD;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAIzE;AAED;;;;;;;GAOG;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,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAsC5D;AAoBD,wBAAgB,iBAAiB,IAAI,OAAO,CAmR3C"}
|
|
@@ -15,6 +15,13 @@ import { Command } from "commander";
|
|
|
15
15
|
* Pass `--no-catalog` to skip stage 1 (asset-only); pass `--catalog-only` to
|
|
16
16
|
* skip stage 2 (catalog-only). The default runs both.
|
|
17
17
|
*
|
|
18
|
+
* Before re-deploy, `update` offers to **sync sources** from upstream (default
|
|
19
|
+
* yes). Re-deploy resolves against the local source cache, which is frozen at
|
|
20
|
+
* the commit captured when each source was first cloned — without a sync,
|
|
21
|
+
* `update` can never see newer GitHub commits and always reports "Nothing to
|
|
22
|
+
* update". Pass `--no-sync` to skip, `-y`/`--yes` to sync without the prompt; a
|
|
23
|
+
* non-interactive shell defaults to syncing.
|
|
24
|
+
*
|
|
18
25
|
* @returns Configured {@link Command} ready for `program.addCommand()`.
|
|
19
26
|
* @docLink cli/commands/misc#update
|
|
20
27
|
*/
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/update.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAKpC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAoE3C"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { LegacyAuthGrammarError, MountTokenMediatorError, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations,
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { LegacyAuthGrammarError, MountTokenMediatorError, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations, resolveAuthRef, resolveBackendAuthFor, resolveMountCredential, resolveMountCredentialString } from '../chunk-VE2UIJ7Y.js';
|
|
2
|
+
import '../chunk-3KPNDTMR.js';
|
|
3
3
|
import '../chunk-ZAP2BDHG.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-W53D5Q52.js';
|
|
5
|
+
import '../chunk-NXC6IEL4.js';
|
|
6
6
|
import '../chunk-DZCK7GRW.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-BQCGFPHW.js';
|
|
8
8
|
import '../chunk-GEEW6SY2.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-F3HNW354.js';
|
|
10
|
+
import '../chunk-MENCWIHW.js';
|
|
11
11
|
import '../chunk-K5GBV4SA.js';
|
|
12
12
|
import '../chunk-JB35MVBN.js';
|
|
13
13
|
import '../chunk-NSBPE2FW.js';
|
package/dist/connectors/index.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export { AbstractConnector, BUILTIN_CONNECTOR_CATALOG, ConnectorFieldMissingError, ConnectorManager, ConnectorStartupError, DEFAULT_REACTIVE_COOLDOWN_MS, FleetHealthGate, FlowAdapter, LogBuffer, ManagedGitconfigCollisionError, NOT_READY_SENTINEL, PROACTIVE_RCLONE_REFRESH_MARGIN_MS, RoMountPlaceholderBarrier, atomicReplaceCredential, buildConnectorPromptSection, buildSdkConnectorTools, createRcloneTokenRefresh, createWorktree, defaultMountPlaceholderBarrier, defaultSpawn, ensureFleetMounted, findGitRoot, findMissingPackages, getConnector, installNpmPackages, isFleetManaged, isPackageResolvable, listConnectors, listWorktrees, probeFleetHealth, registerBuiltinConnectors, removeMountBlock, renderCredentialHelperScript, tryGetConnector, worktreeRegistry, writeHelperScript, writeMountBlock } from '../chunk-
|
|
1
|
+
export { AbstractConnector, BUILTIN_CONNECTOR_CATALOG, ConnectorFieldMissingError, ConnectorManager, ConnectorStartupError, DEFAULT_REACTIVE_COOLDOWN_MS, FleetHealthGate, FlowAdapter, LogBuffer, ManagedGitconfigCollisionError, NOT_READY_SENTINEL, PROACTIVE_RCLONE_REFRESH_MARGIN_MS, RoMountPlaceholderBarrier, atomicReplaceCredential, buildConnectorPromptSection, buildSdkConnectorTools, createRcloneTokenRefresh, createWorktree, defaultMountPlaceholderBarrier, defaultSpawn, ensureFleetMounted, findGitRoot, findMissingPackages, getConnector, installNpmPackages, isFleetManaged, isPackageResolvable, listConnectors, listWorktrees, probeFleetHealth, registerBuiltinConnectors, removeMountBlock, renderCredentialHelperScript, tryGetConnector, worktreeRegistry, writeHelperScript, writeMountBlock } from '../chunk-QLLFCQU5.js';
|
|
2
2
|
export { renderGoogleDriveConfig, renderOneDriveConfig, renderWebDAVConfig } from '../chunk-OVRSNIKJ.js';
|
|
3
|
-
export { EnvSecretProvider, ForgeSecretProvider, InMemorySecretProvider, LegacyAuthGrammarError, LockedSecretProvider, MountTokenMediatorError, OAuthRequiredError, PreMintedSecretProvider, SecretProviderChain, createCliSecretProviderChain, createForgeSecretProviderChain, deriveSingleMaterializedConnectorDeclaration, fromMaterializedConnectorMd, loadConnectorDeclarations, loadMaterializedConnectorDeclarations,
|
|
3
|
+
export { EnvSecretProvider, ForgeSecretProvider, InMemorySecretProvider, LegacyAuthGrammarError, LockedSecretProvider, MountTokenMediatorError, OAuthRequiredError, PreMintedSecretProvider, SecretProviderChain, createCliSecretProviderChain, createForgeSecretProviderChain, deriveSingleMaterializedConnectorDeclaration, fromMaterializedConnectorMd, loadConnectorDeclarations, loadMaterializedConnectorDeclarations, resolveAuthRef, resolveBackendAuthFor, resolveMountCredential, resolveMountCredentialString } from '../chunk-VE2UIJ7Y.js';
|
|
4
4
|
export { PortPool, RcloneProcessManager, createFsWatcher, ensureDirMode, fetchAuthoritativeSize } from '../chunk-RAIRWFAN.js';
|
|
5
5
|
import '../chunk-6E6PKKAD.js';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-SKADPHAM.js';
|
|
7
7
|
import '../chunk-DEYYRFQU.js';
|
|
8
8
|
import '../chunk-IFGTRL2I.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-3KPNDTMR.js';
|
|
10
10
|
import '../chunk-ZAP2BDHG.js';
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-W53D5Q52.js';
|
|
12
|
+
import '../chunk-NXC6IEL4.js';
|
|
13
13
|
import '../chunk-DZCK7GRW.js';
|
|
14
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-BQCGFPHW.js';
|
|
15
15
|
import '../chunk-GEEW6SY2.js';
|
|
16
|
-
import '../chunk-
|
|
17
|
-
import '../chunk-
|
|
16
|
+
import '../chunk-F3HNW354.js';
|
|
17
|
+
import '../chunk-MENCWIHW.js';
|
|
18
18
|
import '../chunk-K5GBV4SA.js';
|
|
19
19
|
import '../chunk-JB35MVBN.js';
|
|
20
20
|
import '../chunk-NSBPE2FW.js';
|
|
@@ -38,15 +38,6 @@ export declare function createForgeSecretProviderChain(forgeProvider: ForgeSecre
|
|
|
38
38
|
* @docLink packages/connectors/api-reference#create-cli-secret-provider-chain
|
|
39
39
|
*/
|
|
40
40
|
export declare function createCliSecretProviderChain(extraSecrets?: Record<string, string>): SecretProviderChain;
|
|
41
|
-
/**
|
|
42
|
-
* Resolve a credential reference using a `SecretProvider`, or fall back to `env:NAME` lookup.
|
|
43
|
-
* @param auth - Credential reference (e.g. `"env:GIT_TOKEN"`).
|
|
44
|
-
* @param secrets - Optional provider; falls back to `process.env` if omitted.
|
|
45
|
-
* @returns Resolved secret value or `undefined`.
|
|
46
|
-
* @deprecated Use `SecretProviderChain.resolve()` instead.
|
|
47
|
-
* @docLink packages/connectors/api-reference#resolve-auth
|
|
48
|
-
*/
|
|
49
|
-
export declare function resolveAuth(auth: string | undefined, secrets?: import("./secrets.js").SecretProvider): string | undefined;
|
|
50
41
|
/**
|
|
51
42
|
* Provider kind for a mount auth ref.
|
|
52
43
|
*
|
|
@@ -153,8 +144,8 @@ export declare class MountTokenMediatorError extends Error {
|
|
|
153
144
|
* refuses, or a plain `Error` when no mediator is wired (the
|
|
154
145
|
* standalone CLI has none — `env:`/inline auth is the path there).
|
|
155
146
|
* - anything else (`env:NAME`, inline, undefined) → resolves through the
|
|
156
|
-
*
|
|
157
|
-
* mediator.
|
|
147
|
+
* secrets chain (or a direct `env:`/literal lookup when no chain
|
|
148
|
+
* is wired) and NEVER touches the mediator.
|
|
158
149
|
*
|
|
159
150
|
* For `auth: backend` the mediator also surfaces the access token's expiry,
|
|
160
151
|
* which the rclone drivers use to arm a proactive refresh tick (the
|
|
@@ -188,8 +179,9 @@ export interface ResolvedMountCredential {
|
|
|
188
179
|
*
|
|
189
180
|
* Branches on `declaration.auth` exactly like `resolveMountCredentialString`:
|
|
190
181
|
* `backend` mints through the mediator (and fails closed on refusal / empty
|
|
191
|
-
* token); everything else resolves through the
|
|
192
|
-
*
|
|
182
|
+
* token); everything else resolves through the secrets chain (or a direct
|
|
183
|
+
* `env:`/literal lookup when no chain is wired) with a `null` expiry and never
|
|
184
|
+
* touches the mediator.
|
|
193
185
|
*
|
|
194
186
|
* @throws {MountTokenMediatorError} when the mediator refuses an `auth: backend` mint.
|
|
195
187
|
* @docLink packages/connectors/api-reference#resolve-mount-credential
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../connectors/src/config.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,KAAK,EACV,oBAAoB,EACpB,aAAa,EACb,mBAAmB,EACpB,MAAM,sBAAsB,CAAC;AAK9B;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,CAAC,UAAU,EAAE,MAAM,GAAG,oBAAoB,EAAE,CA8BpF;AA4BD,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACxE,OAAO,EAA6C,mBAAmB,EA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,CAC1C,WAAW,EAAE,oBAAoB,EACjC,OAAO,EAAE,OAAO,cAAc,EAAE,cAAc,GAAG,SAAS,EAC1D,aAAa,EAAE,aAAa,GAAG,SAAS,EACxC,MAAM,GAAE,SAAS,GAAG,SAAS,GAAG,WAAuB,GACtD,OAAO,CAAC,uBAAuB,CAAC,CAgClC"}
|
|
@@ -16,7 +16,7 @@ export { AbstractConnector } from "./connector-base.js";
|
|
|
16
16
|
export type { FlowAdapterConnectOptions, FlowAdapterState, FlowAdapterStimulusBus, } from "@skaile/workspaces/factory-assets/connectors/flow";
|
|
17
17
|
export { FlowAdapter } from "@skaile/workspaces/factory-assets/connectors/flow";
|
|
18
18
|
export type { MountAuthKind, MountAuthRef } from "./config.js";
|
|
19
|
-
export { createCliSecretProviderChain, createForgeSecretProviderChain, LegacyAuthGrammarError, loadConnectorDeclarations, MountTokenMediatorError,
|
|
19
|
+
export { createCliSecretProviderChain, createForgeSecretProviderChain, LegacyAuthGrammarError, loadConnectorDeclarations, MountTokenMediatorError, resolveAuthRef, resolveBackendAuthFor, resolveMountCredential, resolveMountCredentialString, } from "./config.js";
|
|
20
20
|
export type { ResolvedMountCredential } from "./config.js";
|
|
21
21
|
export type { ConnectorManagerOptions, SyncConnectorResult } from "./connector-manager.js";
|
|
22
22
|
export { ConnectorManager } from "./connector-manager.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../connectors/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAQH,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EACV,yBAAyB,EACzB,gBAAgB,EAChB,sBAAsB,GACvB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAChF,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,EAC9B,sBAAsB,EACtB,yBAAyB,EACzB,uBAAuB,EACvB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../connectors/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAQH,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EACV,yBAAyB,EACzB,gBAAgB,EAChB,sBAAsB,GACvB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAChF,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,EAC9B,sBAAsB,EACtB,yBAAyB,EACzB,uBAAuB,EACvB,cAAc,EACd,qBAAqB,EACrB,sBAAsB,EACtB,4BAA4B,GAC7B,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAC3D,YAAY,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC3F,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,YAAY,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC1F,OAAO,EACL,2BAA2B,EAC3B,sBAAsB,GACvB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,yBAAyB,EACzB,YAAY,EACZ,cAAc,EACd,yBAAyB,EACzB,eAAe,GAChB,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACV,yBAAyB,EACzB,cAAc,EACd,SAAS,EACT,oBAAoB,EACpB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,aAAa,EACb,eAAe,EACf,sBAAsB,EACtB,SAAS,EACT,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,aAAa,EACb,mBAAmB,EACnB,QAAQ,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ED_DRIVER_TARGETS, globalBackendRoot } from '../chunk-MENCWIHW.js';
|
|
2
2
|
import '../chunk-NSBPE2FW.js';
|
|
3
3
|
//# sourceMappingURL=driver-targets.js.map
|
|
4
4
|
//# sourceMappingURL=driver-targets.js.map
|
package/dist/core/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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-
|
|
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-3KPNDTMR.js';
|
|
2
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-
|
|
4
|
-
export { COMPACTION_DEFAULTS, CanonicalRefConflictError, DEFAULT_RECIPE_ATTR, SKAILE_YAML_DEFAULT, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, __resetCacheMigrationMemo, buildProvenanceIndex, checkRepoStatus, checkoutPin, cloneRepo, decodeSkaileYaml, deriveSingleMaterializedMcpDeclaration, encodeSkaileYaml, ensureRepo, findWorkspaceRoot, getGlobalCacheDir, getRepoCommit, globalCacheRoot, linkRepo, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, mergeLegacyEntriesInto, mergeSkWorkspaceConfigs, migrateLegacyDir, normalizeConfig, pullRepo, readLinks, resolveAgentDir, resolveAll, resolveAsset, resolveSkWorkspaceConfig, saveSkWorkspaceConfig, scanRepo, sourceCacheKey, sourceShortName, stageMaterializedSkills, unlinkRepo, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, writeLinks } from '../chunk-
|
|
3
|
+
export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot } from '../chunk-W53D5Q52.js';
|
|
4
|
+
export { COMPACTION_DEFAULTS, CanonicalRefConflictError, DEFAULT_RECIPE_ATTR, SKAILE_YAML_DEFAULT, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, __resetCacheMigrationMemo, buildProvenanceIndex, checkRepoStatus, checkoutPin, cloneRepo, decodeSkaileYaml, deriveSingleMaterializedMcpDeclaration, encodeSkaileYaml, ensureRepo, findWorkspaceRoot, getGlobalCacheDir, getRepoCommit, globalCacheRoot, globalSkaileDir, linkRepo, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, mergeLegacyEntriesInto, mergeSkWorkspaceConfigs, migrateLegacyDir, normalizeConfig, pullRepo, readLinks, resolveAgentDir, resolveAll, resolveAsset, resolveGlobalBackends, resolveGlobalSkWorkspaceConfig, resolveSkWorkspaceConfig, saveSkWorkspaceConfig, scanRepo, sourceCacheKey, sourceShortName, stageMaterializedSkills, unlinkRepo, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, writeLinks } from '../chunk-NXC6IEL4.js';
|
|
5
5
|
export { SKAILE_MANIFEST_FILENAME, decodeSkaileManifest, encodeSkaileManifest, loadSkPublishManifest, saveSkPublishManifest } from '../chunk-DZCK7GRW.js';
|
|
6
|
-
export { bundleDepRefs, fromAgentMd, fromAgentYaml, fromBundleYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromMcpServerMd, fromMcpServerMdContent, fromPromptMd, fromSkillMd, parseFrontmatter, parseRequires, scanDirectory, walkDir } from '../chunk-
|
|
6
|
+
export { bundleDepRefs, fromAgentMd, fromAgentYaml, fromBundleYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromMcpServerMd, fromMcpServerMdContent, fromPromptMd, fromSkillMd, parseFrontmatter, parseRequires, scanDirectory, walkDir } from '../chunk-BQCGFPHW.js';
|
|
7
7
|
export { ASSET_KINDS, ASSET_NAME_HINT, INDIVIDUAL_KINDS, assetRefToDep, assetRefToStr, depToStr, entryFromRaw, entryToRaw, isValidAssetName, parseAssetRef, parseDep, repositoryFromRaw, repositoryToRaw, slugifyAssetName } from '../chunk-GEEW6SY2.js';
|
|
8
|
-
export { deployedBase, deployedDir, isDeployed } from '../chunk-
|
|
9
|
-
export { DRIVER_TARGETS, SUPPORTED_DRIVER_TARGETS } from '../chunk-
|
|
8
|
+
export { deployedBase, deployedDir, isDeployed } from '../chunk-F3HNW354.js';
|
|
9
|
+
export { DRIVER_TARGETS, SUPPORTED_DRIVER_TARGETS, globalBackendRoot } from '../chunk-MENCWIHW.js';
|
|
10
10
|
export { DRIVER_DEFAULTS, resolveDriverPaths } from '../chunk-K5GBV4SA.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';
|
package/dist/core/manifest.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { bundleDepRefs, fromAgentMd, fromAgentYaml, fromBundleYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromKnowledgeYaml, fromMcpServerMd, fromMcpServerMdContent, fromPromptMd, fromSkillMd, parseFrontmatter, parseRequires, scanDirectory, walkDir } from '../chunk-
|
|
1
|
+
export { bundleDepRefs, fromAgentMd, fromAgentYaml, fromBundleYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromKnowledgeYaml, fromMcpServerMd, fromMcpServerMdContent, fromPromptMd, fromSkillMd, parseFrontmatter, parseRequires, scanDirectory, walkDir } from '../chunk-BQCGFPHW.js';
|
|
2
2
|
import '../chunk-GEEW6SY2.js';
|
|
3
3
|
import '../chunk-NSBPE2FW.js';
|
|
4
4
|
//# sourceMappingURL=manifest.js.map
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot } from '../chunk-W53D5Q52.js';
|
|
2
|
+
import '../chunk-NXC6IEL4.js';
|
|
3
3
|
import '../chunk-DZCK7GRW.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-BQCGFPHW.js';
|
|
5
5
|
import '../chunk-GEEW6SY2.js';
|
|
6
|
+
import '../chunk-MENCWIHW.js';
|
|
6
7
|
import '../chunk-NSBPE2FW.js';
|
|
7
8
|
//# sourceMappingURL=runtime-assets.js.map
|
|
8
9
|
//# sourceMappingURL=runtime-assets.js.map
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Skaile home dir — root for user-scope, machine-global state
|
|
3
|
+
* (`skaile.yaml` SSOT, `skaile.lock.yaml`, `cache/`, `config.yaml`).
|
|
4
|
+
* `$SKAILE_HOME` wins (tests point it at a temp dir); else `~/.skaile`.
|
|
5
|
+
*/
|
|
6
|
+
export declare function globalSkaileDir(): string;
|
|
1
7
|
/**
|
|
2
8
|
* The global cache root. `$SKAILE_CACHE_DIR` (now the cache *root*, not the
|
|
3
9
|
* repos dir) wins; else `$SKAILE_HOME/cache`; else `~/.skaile/cache`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cache-paths.d.ts","sourceRoot":"","sources":["../../../core/src/cache-paths.ts"],"names":[],"mappings":"AAaA;;;GAGG;AACH,wBAAgB,eAAe,IAAI,MAAM,
|
|
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,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Driver targets — maps agent tool identifiers to their install paths.
|
|
3
|
-
*
|
|
4
|
-
* Only backends with a full bridge driver (runtime execution) are included.
|
|
5
|
-
* Render-only targets (cursor, roo, github-copilot, gemini, amp) were removed —
|
|
6
|
-
* add them back when a bridge driver is implemented.
|
|
7
|
-
*/
|
|
8
1
|
/**
|
|
9
2
|
* All supported coding-agent driver target identifiers.
|
|
10
3
|
* Only backends with a full bridge driver (runtime execution) are included.
|
|
@@ -51,4 +44,16 @@ export declare const DRIVER_TARGETS: Record<DriverTarget, AgentTarget>;
|
|
|
51
44
|
* @docLink packages/core/concepts#supported-driver-targets
|
|
52
45
|
*/
|
|
53
46
|
export declare const SUPPORTED_DRIVER_TARGETS: DriverTarget[];
|
|
47
|
+
/**
|
|
48
|
+
* Absolute path to a driver target's **global backend root** — the home-relative
|
|
49
|
+
* directory that identifies the backend on disk (e.g. `~/.claude`, `~/.omp`,
|
|
50
|
+
* `~/.codex`). Derived from the first path segment of the target's global skill
|
|
51
|
+
* path. Used by `resolveGlobalBackends` to auto-detect which backends the user
|
|
52
|
+
* runs globally (a backend "exists globally" when this dir is present).
|
|
53
|
+
*
|
|
54
|
+
* @param target - Driver target identifier.
|
|
55
|
+
* @returns Absolute path to the backend's home-relative root dir.
|
|
56
|
+
* @docLink packages/core/concepts#global-backend-root
|
|
57
|
+
*/
|
|
58
|
+
export declare function globalBackendRoot(target: DriverTarget): string;
|
|
54
59
|
//# sourceMappingURL=driver-targets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driver-targets.d.ts","sourceRoot":"","sources":["../../../core/src/driver-targets.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"driver-targets.d.ts","sourceRoot":"","sources":["../../../core/src/driver-targets.ts"],"names":[],"mappings":"AAUA;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,aAAa,GAAG,KAAK,GAAG,OAAO,CAAC;AAE3D;;;;;GAKG;AACH,MAAM,WAAW,WAAW;IAC1B,iEAAiE;IACjE,KAAK,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;IACnC,8EAA8E;IAC9E,MAAM,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;CACrC;AAED;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,UAAU,CAAC;AAE7E;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,YAAY,EAAE,WAAW,CAiD5D,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,EAAkC,YAAY,EAAE,CAAC;AAEtF;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAI9D"}
|
package/dist/core/src/index.d.ts
CHANGED
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
* - `@skaile/workspaces/runner` (headless agent runtime)
|
|
11
11
|
* - `@skaile/workspace-cli` (the `skaile` binary)
|
|
12
12
|
*/
|
|
13
|
-
export { __resetCacheMigrationMemo, globalCacheRoot, mergeLegacyEntriesInto, migrateLegacyDir, } from "./cache-paths.js";
|
|
13
|
+
export { __resetCacheMigrationMemo, globalCacheRoot, globalSkaileDir, mergeLegacyEntriesInto, 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
|
-
export { DRIVER_TARGETS, SUPPORTED_DRIVER_TARGETS } from "./driver-targets.js";
|
|
16
|
+
export { DRIVER_TARGETS, globalBackendRoot, SUPPORTED_DRIVER_TARGETS } from "./driver-targets.js";
|
|
17
17
|
export type { DriverPaths } from "./framework.js";
|
|
18
18
|
export { DRIVER_DEFAULTS, resolveDriverPaths } from "./framework.js";
|
|
19
19
|
export type { VerifyResult } from "./lock.js";
|
|
@@ -40,6 +40,6 @@ export { portableSpawn, portableSpawnSync } from "./subprocess.js";
|
|
|
40
40
|
export type { ProvenanceCandidate, ProvenanceIndex, SourceClone, } from "./walker.js";
|
|
41
41
|
export { buildProvenanceIndex } from "./walker.js";
|
|
42
42
|
export type { AgentConfig, AgentContextConfig, AgentHooks, AgentPermissions, AssetRecipe, CompactionConfig, ConnectorDeclaration, ContainerConfig, DecodeResult, Diagnostic, DiagnosticSeverity, GitConfig, HookEntry, McpServerDeclaration, NetworkPolicy, OverrideEntry, RuntimeDefaults, SecretsConfig, SetupEntry, SkWorkspaceConfig, SkWorkspaceConfigFile, SourceDeclaration, SourceEntry, StoreEntry, SubagentConfig, WorkspaceLayoutConfig, } from "./workspace-config.js";
|
|
43
|
-
export { COMPACTION_DEFAULTS, DEFAULT_RECIPE_ATTR, decodeSkaileYaml, deriveSingleMaterializedMcpDeclaration, encodeSkaileYaml, findWorkspaceRoot, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, mergeSkWorkspaceConfigs, normalizeConfig, resolveAgentDir, resolveSkWorkspaceConfig, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, SKAILE_YAML_DEFAULT, saveSkWorkspaceConfig, stageMaterializedSkills, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, } from "./workspace-config.js";
|
|
43
|
+
export { COMPACTION_DEFAULTS, DEFAULT_RECIPE_ATTR, decodeSkaileYaml, deriveSingleMaterializedMcpDeclaration, encodeSkaileYaml, findWorkspaceRoot, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, mergeSkWorkspaceConfigs, normalizeConfig, resolveAgentDir, resolveGlobalBackends, resolveGlobalSkWorkspaceConfig, resolveSkWorkspaceConfig, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, SKAILE_YAML_DEFAULT, saveSkWorkspaceConfig, stageMaterializedSkills, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, } from "./workspace-config.js";
|
|
44
44
|
export { WorkspaceYamlEditor } from "./workspace-yaml-editor.js";
|
|
45
45
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../core/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,OAAO,EACL,yBAAyB,EACzB,eAAe,EACf,sBAAsB,EACtB,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,wBAAwB,EAAE,MAAM,qBAAqB,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,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,U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gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAChB,oBAAoB,EACpB,eAAe,EACf,YAAY,EACZ,UAAU,EACV,kBAAkB,EAClB,SAAS,EACT,SAAS,EACT,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,eAAe,EACf,aAAa,EACb,UAAU,EACV,iBAAiB,EACjB,qBAAqB,EACrB,iBAAiB,EACjB,WAAW,EACX,UAAU,EACV,cAAc,EACd,qBAAqB,GACtB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,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"}
|
|
@@ -105,13 +105,13 @@ export declare function fromBundleYaml(filePath: string, repoName: string): Cata
|
|
|
105
105
|
* file — the union of its `requires` and `dependencies` lists, kept verbatim
|
|
106
106
|
* (publisher/pin qualifiers preserved, comments dropped by the parser).
|
|
107
107
|
*
|
|
108
|
-
* Supports
|
|
109
|
-
* `BUNDLE.md` frontmatter layout
|
|
110
|
-
* `metadata`). Unlike
|
|
111
|
-
* resolver needs the full
|
|
112
|
-
* publisher-stripped {@link Dependency}.
|
|
108
|
+
* Supports `*.bundle.yaml` / `*.flow.{yaml,json}` (top-level
|
|
109
|
+
* `requires`/`dependencies`) and the `BUNDLE.md` frontmatter layout
|
|
110
|
+
* (`requires`/`dependencies`, incl. nested under `metadata`). Unlike
|
|
111
|
+
* {@link parseRequires}, refs are returned as-is — the resolver needs the full
|
|
112
|
+
* `kind:name@<publisher>[#pin]` form, not a publisher-stripped {@link Dependency}.
|
|
113
113
|
*
|
|
114
|
-
* @param filePath - Absolute path to
|
|
114
|
+
* @param filePath - Absolute path to a `.bundle.yaml`, `.flow.{yaml,json}`, or `BUNDLE.md`.
|
|
115
115
|
* @returns Deduped list of ref strings; `[]` on parse failure or no deps.
|
|
116
116
|
* @docLink packages/core/concepts#bundle-dep-refs
|
|
117
117
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../../core/src/manifest.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,OAAO,KAAK,EAAa,YAAY,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAKvE;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,yEAAyE;IACzE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,2DAA2D;IAC3D,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,iBAAiB,CAUhE;AASD;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,UAAU,EAAE,CAUzE;AAiED;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,YAAY,CAe5E;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,YAAY,CAY5E;AAED;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,YAAY,CAqC9E;AAED;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,EA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