@skaile/workspaces 0.43.1 → 0.45.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 +101 -0
- package/dist/{asset-feeds-3PSV57NT.js → asset-feeds-AOZLZMDV.js} +15 -11
- package/dist/asset-feeds-AOZLZMDV.js.map +1 -0
- package/dist/asset-manager/index.js +5 -5
- package/dist/asset-manager/installer.js +4 -4
- package/dist/asset-manager/src/index.d.ts +149 -4
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/{chunk-KYQNWFJV.js → chunk-BLGHFVXE.js} +3 -3
- package/dist/{chunk-KYQNWFJV.js.map → chunk-BLGHFVXE.js.map} +1 -1
- package/dist/{chunk-R4H6EJW5.js → chunk-CBZEIFU4.js} +3 -3
- package/dist/{chunk-R4H6EJW5.js.map → chunk-CBZEIFU4.js.map} +1 -1
- package/dist/{chunk-GJI6FZ56.js → chunk-COSTF7QW.js} +60 -8
- package/dist/chunk-COSTF7QW.js.map +1 -0
- package/dist/{chunk-NYMRKIOR.js → chunk-CVWA4RIK.js} +4 -4
- package/dist/{chunk-NYMRKIOR.js.map → chunk-CVWA4RIK.js.map} +1 -1
- package/dist/{chunk-BXYMGZCI.js → chunk-ETDXTGDF.js} +3 -3
- package/dist/{chunk-BXYMGZCI.js.map → chunk-ETDXTGDF.js.map} +1 -1
- package/dist/{chunk-TDSRLMDB.js → chunk-EVZKWY5J.js} +2 -2
- package/dist/chunk-EVZKWY5J.js.map +1 -0
- package/dist/{chunk-3HUUP3JC.js → chunk-FYLIR4AV.js} +107 -7
- package/dist/chunk-FYLIR4AV.js.map +1 -0
- package/dist/{chunk-G6FJZG4C.js → chunk-GM3BV6JK.js} +2 -2
- package/dist/{chunk-G6FJZG4C.js.map → chunk-GM3BV6JK.js.map} +1 -1
- package/dist/{chunk-R4YUZRGF.js → chunk-JUZGLINM.js} +2 -2
- package/dist/{chunk-R4YUZRGF.js.map → chunk-JUZGLINM.js.map} +1 -1
- package/dist/{chunk-WKZ5R4NP.js → chunk-L6BKSTAX.js} +332 -38
- package/dist/chunk-L6BKSTAX.js.map +1 -0
- package/dist/{chunk-WRDHUTOK.js → chunk-LHUCCPH4.js} +5 -5
- package/dist/{chunk-WRDHUTOK.js.map → chunk-LHUCCPH4.js.map} +1 -1
- package/dist/{chunk-U2XHHLE3.js → chunk-LMRO2QNF.js} +5 -5
- package/dist/{chunk-U2XHHLE3.js.map → chunk-LMRO2QNF.js.map} +1 -1
- package/dist/{chunk-N4FSBCLV.js → chunk-N2KV5RK3.js} +127 -10
- package/dist/chunk-N2KV5RK3.js.map +1 -0
- package/dist/{chunk-CIEKKLMG.js → chunk-PCXU2CVW.js} +3 -3
- package/dist/{chunk-CIEKKLMG.js.map → chunk-PCXU2CVW.js.map} +1 -1
- package/dist/{chunk-HVCZLD5Z.js → chunk-VPXV2Z5E.js} +5 -7
- package/dist/chunk-VPXV2Z5E.js.map +1 -0
- package/dist/{chunk-2BEDUMTA.js → chunk-XF2BBX6P.js} +3 -3
- package/dist/{chunk-2BEDUMTA.js.map → chunk-XF2BBX6P.js.map} +1 -1
- package/dist/{chunk-3K2CYDBT.js → chunk-Z5Z3MYDL.js} +8 -4
- package/dist/chunk-Z5Z3MYDL.js.map +1 -0
- package/dist/{chunk-M54RYUXY.js → chunk-ZAEJ33Y6.js} +19 -7
- package/dist/chunk-ZAEJ33Y6.js.map +1 -0
- package/dist/cli/index.js +969 -572
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/asset-feeds.d.ts.map +1 -1
- package/dist/cli/src/commands/asset-cmd.d.ts +1 -1
- package/dist/cli/src/commands/asset-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/cache.d.ts +27 -0
- package/dist/cli/src/commands/cache.d.ts.map +1 -0
- package/dist/cli/src/commands/catalog.d.ts +9 -3
- package/dist/cli/src/commands/catalog.d.ts.map +1 -1
- package/dist/cli/src/commands/library-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/manage.d.ts.map +1 -1
- package/dist/cli/src/commands/npx.d.ts +1 -1
- package/dist/cli/src/commands/skailify-lib.d.ts +108 -0
- package/dist/cli/src/commands/skailify-lib.d.ts.map +1 -0
- package/dist/cli/src/commands/source.d.ts +3 -1
- package/dist/cli/src/commands/source.d.ts.map +1 -1
- package/dist/cli/src/commands/update.d.ts +1 -1
- package/dist/cli/src/ensure-sources.d.ts +2 -2
- package/dist/cli/src/ensure-sources.d.ts.map +1 -1
- package/dist/connectors/config.js +4 -4
- package/dist/connectors/index.js +6 -6
- package/dist/connectors/rclone.js +1 -1
- package/dist/connectors/src/rclone-process-manager.d.ts +57 -2
- package/dist/connectors/src/rclone-process-manager.d.ts.map +1 -1
- package/dist/core/index.js +3 -3
- package/dist/core/runtime-assets.js +2 -2
- package/dist/core/src/cache-paths.d.ts +25 -0
- package/dist/core/src/cache-paths.d.ts.map +1 -0
- package/dist/core/src/index.d.ts +2 -1
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/repo-manager.d.ts +11 -8
- package/dist/core/src/repo-manager.d.ts.map +1 -1
- package/dist/core/src/runtime-assets.d.ts.map +1 -1
- package/dist/core/src/workspace-config.d.ts +2 -2
- package/dist/core/src/workspace-config.d.ts.map +1 -1
- package/dist/core/workspace-config.js +1 -1
- package/dist/deploy/index.js +3 -3
- package/dist/{ensure-sources-VQDZB7NT.js → ensure-sources-NSDMTAWN.js} +6 -12
- package/dist/ensure-sources-NSDMTAWN.js.map +1 -0
- package/dist/factory-assets/connectors/deploy.js +6 -6
- package/dist/factory-assets/connectors/devserver.js +6 -6
- package/dist/factory-assets/connectors/flow/adapter.js +6 -6
- package/dist/factory-assets/connectors/flow/engine.js +3 -3
- package/dist/factory-assets/connectors/flow/run-flow.js +7 -7
- package/dist/factory-assets/connectors/flow.js +6 -6
- package/dist/factory-assets/connectors/git.js +6 -6
- package/dist/factory-assets/connectors/gmail.js +6 -6
- package/dist/factory-assets/connectors/googledrive.js +6 -6
- package/dist/factory-assets/connectors/local.js +6 -6
- package/dist/factory-assets/connectors/mattermost.js +6 -6
- package/dist/factory-assets/connectors/memory.js +6 -6
- package/dist/factory-assets/connectors/minio.js +6 -6
- package/dist/factory-assets/connectors/postgres.js +6 -6
- package/dist/factory-assets/connectors/s3.js +6 -6
- package/dist/factory-assets/connectors/sharepoint.js +6 -6
- package/dist/factory-assets/connectors/sqlite.js +6 -6
- package/dist/factory-assets/connectors/static-server.js +6 -6
- package/dist/factory-assets/connectors/tunnel.js +6 -6
- package/dist/factory-assets/connectors/webdav.js +6 -6
- package/dist/factory-assets/connectors/xstate-store.js +6 -6
- package/dist/factory-assets/connectors/xstate.js +6 -6
- package/dist/factory-assets/skaile.manifest.yaml +3 -0
- package/dist/factory-assets/skills/skailify/SKILL.md +84 -0
- package/dist/{flows-KTBCZ5GQ.js → flows-WELXQ7IG.js} +3 -3
- package/dist/{flows-KTBCZ5GQ.js.map → flows-WELXQ7IG.js.map} +1 -1
- package/dist/library/index.js +4 -4
- package/dist/library/install.js +3 -3
- package/dist/library/src/local/local-catalog-source.d.ts +1 -1
- package/dist/library/src/local/sidecar-git.d.ts +2 -2
- package/dist/library/src/local/sidecar-paths.d.ts +12 -10
- package/dist/library/src/local/sidecar-paths.d.ts.map +1 -1
- package/dist/library/src/local/store-paths.d.ts +2 -2
- package/dist/library/src/remote/cache.d.ts +8 -2
- package/dist/library/src/remote/cache.d.ts.map +1 -1
- package/dist/library/src/remote/remote-catalog-source.d.ts +1 -1
- package/dist/library/src/remote/rest-catalog-source.d.ts +1 -1
- package/dist/{open-library-FHUXOCN7.js → open-library-362BZ6OW.js} +7 -7
- package/dist/{open-library-FHUXOCN7.js.map → open-library-362BZ6OW.js.map} +1 -1
- package/dist/{paths-7H5CSBLQ.js → paths-4SSFMX5Z.js} +6 -6
- package/dist/{paths-7H5CSBLQ.js.map → paths-4SSFMX5Z.js.map} +1 -1
- package/dist/{plugin-store-LGLN2QUX.js → plugin-store-2X2YXJVG.js} +5 -5
- package/dist/{plugin-store-LGLN2QUX.js.map → plugin-store-2X2YXJVG.js.map} +1 -1
- package/dist/runner/index.js +9 -9
- package/dist/runner/src/file-changed-coalescer.d.ts +48 -0
- package/dist/runner/src/file-changed-coalescer.d.ts.map +1 -0
- package/dist/runner/src/resources.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +5 -5
- package/dist/sdk/core.js +3 -3
- package/dist/sdk/flow.js +3 -3
- package/dist/sdk/index.js +9 -9
- package/dist/sdk/runner.js +9 -9
- package/dist/sdk/session.js +2 -2
- package/dist/sdk/types.js +1 -1
- package/dist/session/index.js +2 -2
- package/dist/session/src/index.d.ts +1 -1
- package/dist/session/src/index.d.ts.map +1 -1
- package/dist/session/src/mentions.d.ts +11 -0
- package/dist/session/src/mentions.d.ts.map +1 -1
- package/dist/{setup-EVNPECSY.js → setup-VGZTFQ32.js} +5 -5
- package/dist/{setup-EVNPECSY.js.map → setup-VGZTFQ32.js.map} +1 -1
- package/dist/{store-client-4XN7IB3R.js → store-client-XFZFKY3W.js} +6 -6
- package/dist/{store-client-4XN7IB3R.js.map → store-client-XFZFKY3W.js.map} +1 -1
- package/dist/tui/index.js +9 -9
- package/dist/types/index.js +1 -1
- package/dist/types/src/mentions.d.ts +12 -0
- package/dist/types/src/mentions.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-3PSV57NT.js.map +0 -1
- package/dist/chunk-3HUUP3JC.js.map +0 -1
- package/dist/chunk-3K2CYDBT.js.map +0 -1
- package/dist/chunk-GJI6FZ56.js.map +0 -1
- package/dist/chunk-HVCZLD5Z.js.map +0 -1
- package/dist/chunk-M54RYUXY.js.map +0 -1
- package/dist/chunk-N4FSBCLV.js.map +0 -1
- package/dist/chunk-TDSRLMDB.js.map +0 -1
- package/dist/chunk-WKZ5R4NP.js.map +0 -1
- package/dist/ensure-sources-VQDZB7NT.js.map +0 -1
|
@@ -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,EAGlB,MAAM,yBAAyB,CAAC;AAEjC,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;CACrB;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;
|
|
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,EAGlB,MAAM,yBAAyB,CAAC;AAEjC,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;CACrB;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;AAoJD;;;;;;GAMG;AACH,wBAAsB,gBAAgB,CACpC,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,YAAY,EAAE,CAAA;CAAE,EACpC,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,eAAe,CAAC,CAa1B"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Subcommands:
|
|
5
5
|
* migrate <path> move/copy/link a workspace asset into a library
|
|
6
6
|
* install <ref> install an asset from a library into a workspace
|
|
7
|
-
* list list
|
|
7
|
+
* list synonym for `skaile list` (declared deps + state)
|
|
8
8
|
* show <ref> inspect an asset by canonical ref
|
|
9
9
|
*
|
|
10
10
|
* The former `asset publish` stub has moved to `library publish` so the push
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset-cmd.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/asset-cmd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"asset-cmd.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/asset-cmd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAWpC,wBAAgB,gBAAgB,IAAI,OAAO,CAoT1C"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Command } from "commander";
|
|
2
|
+
interface CacheScope {
|
|
3
|
+
projectDir: string;
|
|
4
|
+
global?: boolean;
|
|
5
|
+
}
|
|
6
|
+
/** All cache directories in scope, in deletion order. Pure — no I/O side effects. */
|
|
7
|
+
export declare function collectCacheTargets(scope: CacheScope): string[];
|
|
8
|
+
/**
|
|
9
|
+
* Recursive byte size of a path (0 if absent). Uses `lstat` and does NOT follow
|
|
10
|
+
* symlinks — project `.skaile/cache/sources/<name>` entries are symlinks into the
|
|
11
|
+
* global cache, so following them would double-count (and a symlink cycle would
|
|
12
|
+
* loop). Symlinks contribute 0; the global cache is sized directly.
|
|
13
|
+
*/
|
|
14
|
+
export declare function dirSize(target: string): number;
|
|
15
|
+
/** Delete the targets that exist. Returns the ones actually removed (empty in dry-run). */
|
|
16
|
+
export declare function removeCacheTargets(targets: string[], opts: {
|
|
17
|
+
dryRun: boolean;
|
|
18
|
+
}): string[];
|
|
19
|
+
/**
|
|
20
|
+
* Build the `skaile cache` command group: `clean` (reclaims project cache, or
|
|
21
|
+
* project+global with `--global`; confirms unless `--yes`; `--dry-run` previews),
|
|
22
|
+
* `dir` (prints resolved cache roots), and `size` (per-dir disk usage). Never
|
|
23
|
+
* targets authored content or state — see {@link collectCacheTargets}.
|
|
24
|
+
*/
|
|
25
|
+
export declare function makeCacheCommand(): Command;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=cache.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/cache.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,UAAU,UAAU;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,qFAAqF;AACrF,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,UAAU,GAAG,MAAM,EAAE,CAa/D;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAM9C;AAeD,2FAA2F;AAC3F,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE;IAAE,MAAM,EAAE,OAAO,CAAA;CAAE,GAAG,MAAM,EAAE,CAKzF;AAaD;;;;;GAKG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAyE1C"}
|
|
@@ -45,9 +45,15 @@ export declare function makeRemoveCommand(): Command;
|
|
|
45
45
|
/**
|
|
46
46
|
* Create the `skaile list` command.
|
|
47
47
|
*
|
|
48
|
-
* Lists
|
|
49
|
-
*
|
|
50
|
-
*
|
|
48
|
+
* Lists the **declared** top-level dependencies from `skaile.yaml` (not the
|
|
49
|
+
* deployed tree), each annotated with a reconciliation state — `declared`,
|
|
50
|
+
* `installed`, or `drift`. Transitive (lock-only) deps are excluded. The
|
|
51
|
+
* available-assets view lives in `skaile search`. Delegates to
|
|
52
|
+
* {@link AssetManager.listDeclared}.
|
|
53
|
+
*
|
|
54
|
+
* `--target` selects which driver-target dir is inspected for the on-disk
|
|
55
|
+
* install/drift check; `--global` inspects the global deployment dir instead of
|
|
56
|
+
* the project one.
|
|
51
57
|
*
|
|
52
58
|
* @returns Configured {@link Command} ready for `program.addCommand()`.
|
|
53
59
|
* @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;AAYH,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAiH5C;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAW3C;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,IAAI,OAAO,CAmCxC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAiB3C;AAUD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,eAAe,IAAI,OAAO,CA0DzC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,IAAI,OAAO,CAiCzC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAkB3C;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CA2B3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"library-cmd.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/library-cmd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AASH,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"library-cmd.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/library-cmd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AASH,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAgB5C,wBAAgB,kBAAkB,IAAI,OAAO,CAgiB5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manage.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/manage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;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;AAKrD;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,eAAe,GAAG,kBAAkB,GAAG,eAAe,GAAG,aAAa,GAAG,OAAO,CAAC;IACvF,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,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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,WAAW,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,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;AAgJD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,QAAQ,EAAE,EAChB,gBAAgB,EAAE,GAAG,CAAC,WAAW,CAAC,EAClC,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,EAC7B,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,EAC7B,YAAY,GAAE,WAAW,GAAG,IAAW,GACtC,QAAQ,EAAE,CAmBZ;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,WAAW,GAAG,MAAM,EAAE,CAE/E;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,QAAQ,EAAE,EAChB,MAAM,EAAE,WAAW,EACnB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,GACX,MAAM,EAAE,CAEV;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAE/F;AAqoCD;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAO3C"}
|
|
@@ -4,7 +4,7 @@ import { Command } from "commander";
|
|
|
4
4
|
*
|
|
5
5
|
* Compatibility shim for the `npx skills` syntax. The `npx skills add <url>`
|
|
6
6
|
* subcommand clones the remote repo into the canonical sources cache
|
|
7
|
-
* (
|
|
7
|
+
* (`<cache>/sources/<slug>`), registers it in the project's `skaile.yaml`
|
|
8
8
|
* `sources[]`, then installs the requested skill via the canonical resolver —
|
|
9
9
|
* building a publisher-qualified ref (`skill:<name>@<publisher>`, publisher
|
|
10
10
|
* from the source's `skaile.yaml` or its GitHub org).
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* skailify — pure, individually-testable helpers for importing an existing
|
|
3
|
+
* coding-agent skill (e.g. a Claude Code skill from `~/.claude/skills/`) into a
|
|
4
|
+
* skaile library. Composed by the `asset import` command and the `skailify`
|
|
5
|
+
* factory skill. See each export's TSDoc for specifics.
|
|
6
|
+
*
|
|
7
|
+
* @docLink cli/commands/asset#import
|
|
8
|
+
*/
|
|
9
|
+
/** Default authoring version stamped on a skill that ships none. */
|
|
10
|
+
export declare const DEFAULT_IMPORT_VERSION = "0.1.0";
|
|
11
|
+
/** Default lifecycle stage stamped on an imported skill. */
|
|
12
|
+
export declare const DEFAULT_IMPORT_STAGE = "alpha";
|
|
13
|
+
/**
|
|
14
|
+
* Where coding-agent skills live on disk, highest precedence first. The
|
|
15
|
+
* `SKAILE_CLAUDE_SKILLS_DIR` override exists so tests (and non-default setups)
|
|
16
|
+
* can point the resolver at a fixture tree without touching `$HOME`.
|
|
17
|
+
*/
|
|
18
|
+
export declare function claudeSkillRoots(): string[];
|
|
19
|
+
export interface ResolvedImportSource {
|
|
20
|
+
/** Absolute path to the skill directory. */
|
|
21
|
+
dir: string;
|
|
22
|
+
/** Absolute path to the skill's SKILL.md. */
|
|
23
|
+
skillFile: string;
|
|
24
|
+
/** How the source was located — for human-facing messages. */
|
|
25
|
+
via: "path" | "claude-skills";
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Resolve an `import` argument to a concrete skill directory. A value that
|
|
29
|
+
* exists on disk (file or dir) is used verbatim; otherwise it is treated as a
|
|
30
|
+
* bare skill name and looked up under {@link claudeSkillRoots}.
|
|
31
|
+
*
|
|
32
|
+
* Returns `null` when nothing matches so the caller can print a tailored error.
|
|
33
|
+
*/
|
|
34
|
+
export declare function resolveImportSource(nameOrPath: string): ResolvedImportSource | null;
|
|
35
|
+
export interface NormalizeOptions {
|
|
36
|
+
/** Fallback name when frontmatter has none (usually the source dir name). */
|
|
37
|
+
fallbackName?: string;
|
|
38
|
+
/** Version to stamp when the skill ships none. */
|
|
39
|
+
version?: string;
|
|
40
|
+
/** Stage to stamp when the skill ships none. */
|
|
41
|
+
stage?: string;
|
|
42
|
+
}
|
|
43
|
+
export interface NormalizeResult {
|
|
44
|
+
/** Rewritten SKILL.md content (frontmatter + body). */
|
|
45
|
+
content: string;
|
|
46
|
+
/** Canonical asset name (slugified if the source was non-compliant). */
|
|
47
|
+
name: string;
|
|
48
|
+
/** The name as it appeared in the source, when it differed from `name`. */
|
|
49
|
+
originalName?: string;
|
|
50
|
+
/** True when `content` differs from the input (metadata added, name slugified, …). */
|
|
51
|
+
changed: boolean;
|
|
52
|
+
/** Human-facing notes about what was normalized. */
|
|
53
|
+
notes: string[];
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Bring a coding-agent `SKILL.md` into the skaile schema without touching the
|
|
57
|
+
* body: ensure a canonical lowercase-kebab `name`, and a `metadata:` block
|
|
58
|
+
* carrying at least `version`, `stage`, and `tags`. Idempotent — a SKILL.md
|
|
59
|
+
* that already conforms comes back unchanged (`changed: false`).
|
|
60
|
+
*
|
|
61
|
+
* A Claude Code skill only requires `name` + `description`; skaile additionally
|
|
62
|
+
* expects the `metadata:` block, so this is the transform `asset migrate`'s raw
|
|
63
|
+
* byte-copy skips.
|
|
64
|
+
*/
|
|
65
|
+
export declare function normalizeSkillContent(raw: string, opts?: NormalizeOptions): NormalizeResult;
|
|
66
|
+
export interface EnsureDomainResult {
|
|
67
|
+
/** Absolute path to the domain directory. */
|
|
68
|
+
dir: string;
|
|
69
|
+
/** Publisher slug derived for this domain (the dir name, kebab-cased). */
|
|
70
|
+
publisher: string;
|
|
71
|
+
/** True when this call created the directory / DOMAIN.md. */
|
|
72
|
+
created: boolean;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Scaffold a domain directory under a library: `<lib>/<domain>/DOMAIN.md`. A
|
|
76
|
+
* domain is the first-level dir of an asset repo and defines the publisher
|
|
77
|
+
* namespace, so assets placed beneath it publish as `@<publisher>/<name>`.
|
|
78
|
+
* No-op (returns `created: false`) when the DOMAIN.md already exists.
|
|
79
|
+
*/
|
|
80
|
+
export declare function ensureDomain(libraryPath: string, domain: string, opts?: {
|
|
81
|
+
description?: string;
|
|
82
|
+
publisher?: string;
|
|
83
|
+
}): EnsureDomainResult;
|
|
84
|
+
/** List the domains in a library — first-level dirs that carry a DOMAIN.md. */
|
|
85
|
+
export declare function listDomains(libraryPath: string): string[];
|
|
86
|
+
export interface UpsertAssetInput {
|
|
87
|
+
kind: string;
|
|
88
|
+
name: string;
|
|
89
|
+
/** Repo-relative path to the asset directory (the AssetEntry `root`). */
|
|
90
|
+
root: string;
|
|
91
|
+
version?: string;
|
|
92
|
+
publisher?: string;
|
|
93
|
+
description?: string;
|
|
94
|
+
keywords?: string[];
|
|
95
|
+
}
|
|
96
|
+
export interface UpsertAssetResult {
|
|
97
|
+
manifestPath: string;
|
|
98
|
+
/** True when a new entry was appended, false when an existing one was updated. */
|
|
99
|
+
added: boolean;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Auto-wire an asset into a library's `skaile.manifest.yaml` (creating the
|
|
103
|
+
* manifest when absent). Matches an existing entry by `(kind, name)` and
|
|
104
|
+
* updates it in place; otherwise appends. This is the manifest half of import
|
|
105
|
+
* that a plain byte-copy (`asset migrate`) leaves stale.
|
|
106
|
+
*/
|
|
107
|
+
export declare function upsertManifestAsset(libraryPath: string, input: UpsertAssetInput): UpsertAssetResult;
|
|
108
|
+
//# sourceMappingURL=skailify-lib.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skailify-lib.d.ts","sourceRoot":"","sources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CAAC;CAClB;AAQD;;;;;GAKG;AACH,wBAAgB,YAAY,CAC1B,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,MAAM,EACd,IAAI,GAAE;IAAE,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAO,GACtD,kBAAkB,CAWpB;AAED,+EAA+E;AAC/E,wBAAgB,WAAW,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,CAOzD;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,iBAAiB;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,kFAAkF;IAClF,KAAK,EAAE,OAAO,CAAC;CAChB;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,gBAAgB,GACtB,iBAAiB,CAoBnB"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* A *source* is a third-party github repo of AI assets. The project's
|
|
5
5
|
* `skaile.yaml` `sources:` array is the source of truth for which sources
|
|
6
|
-
* this project uses. The clone itself lives at `~/.skaile/sources/<name>/`
|
|
6
|
+
* this project uses. The clone itself lives at `~/.skaile/cache/sources/<name>/`
|
|
7
7
|
* (machine-global cache, shared across projects), and the manifest is
|
|
8
8
|
* mirrored into `~/.skaile/index.db` (machine-global manifest cache).
|
|
9
9
|
*
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { type SourceEntry } from "@skaile/workspaces/core";
|
|
13
13
|
import { Command } from "commander";
|
|
14
|
+
/** Clone dir for one source slug. Exported for the cache-path regression test. */
|
|
15
|
+
export declare function sourceClonePath(name: string): string;
|
|
14
16
|
/**
|
|
15
17
|
* Normalize a `source add` argument into a clonable git URL. Full URLs and
|
|
16
18
|
* scp-style (`git@host:…`) specs pass through unchanged; an `owner/repo`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/source.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,OAAO,
|
|
1
|
+
{"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/source.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,OAAO,EAGL,KAAK,WAAW,EAGjB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAMpC,kFAAkF;AAClF,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEpD;AAWD;;;;;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,CAGzE;AAmGD,wBAAgB,iBAAiB,IAAI,OAAO,CA6N3C"}
|
|
@@ -4,7 +4,7 @@ import { Command } from "commander";
|
|
|
4
4
|
*
|
|
5
5
|
* Two stages:
|
|
6
6
|
* 1. **Catalog cache refresh** — invalidates the {@link RemoteCatalogSource}
|
|
7
|
-
* cache at `~/.skaile/catalog
|
|
7
|
+
* cache at `~/.skaile/cache/catalog/` and re-fetches the asset list. This
|
|
8
8
|
* is the Phase 2 entry point for users in air-gapped mode
|
|
9
9
|
* (`catalog.cache_ttl: 0`) or anyone who wants a fresh view of the public
|
|
10
10
|
* skaile.store catalog before installing.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* ensure-sources.ts — hydrate the `~/.skaile/sources/` clone cache from a
|
|
2
|
+
* ensure-sources.ts — hydrate the `~/.skaile/cache/sources/` clone cache from a
|
|
3
3
|
* project's `skaile.yaml` `sources:` entries.
|
|
4
4
|
*
|
|
5
5
|
* Called by `skaile init` (idempotent: no-op when no sources declared) and
|
|
@@ -13,7 +13,7 @@ export interface EnsureResult {
|
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* Walk `projectDir/skaile.yaml` `sources:` and clone any entries whose
|
|
16
|
-
* clone directory does not yet exist under `~/.skaile/sources/`. Existing
|
|
16
|
+
* clone directory does not yet exist under `~/.skaile/cache/sources/`. Existing
|
|
17
17
|
* clones are left untouched — this is hydration, not sync.
|
|
18
18
|
*
|
|
19
19
|
* Quiet by default: when `quiet: true` the helper only prints failures.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ensure-sources.d.ts","sourceRoot":"","sources":["../../../cli/src/ensure-sources.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"ensure-sources.d.ts","sourceRoot":"","sources":["../../../cli/src/ensure-sources.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAsBH,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AA8CD;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,MAAM,EAClB,IAAI,GAAE;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAO,GAC7B,YAAY,CAmBd"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { LegacyAuthGrammarError, MountTokenMediatorError, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations, resolveAuth, resolveAuthRef, resolveBackendAuthFor, resolveMountCredential, resolveMountCredentialString } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { LegacyAuthGrammarError, MountTokenMediatorError, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations, resolveAuth, resolveAuthRef, resolveBackendAuthFor, resolveMountCredential, resolveMountCredentialString } from '../chunk-CBZEIFU4.js';
|
|
2
|
+
import '../chunk-BLGHFVXE.js';
|
|
3
3
|
import '../chunk-ZAP2BDHG.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-VPXV2Z5E.js';
|
|
5
|
+
import '../chunk-COSTF7QW.js';
|
|
6
6
|
import '../chunk-DZCK7GRW.js';
|
|
7
7
|
import '../chunk-6IDBWPK2.js';
|
|
8
8
|
import '../chunk-GEEW6SY2.js';
|
package/dist/connectors/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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-LMRO2QNF.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, resolveAuth, resolveAuthRef, resolveBackendAuthFor, resolveMountCredential, resolveMountCredentialString } from '../chunk-
|
|
4
|
-
export { PortPool, RcloneProcessManager, createFsWatcher, ensureDirMode, fetchAuthoritativeSize } from '../chunk-
|
|
3
|
+
export { EnvSecretProvider, ForgeSecretProvider, InMemorySecretProvider, LegacyAuthGrammarError, LockedSecretProvider, MountTokenMediatorError, OAuthRequiredError, PreMintedSecretProvider, SecretProviderChain, createCliSecretProviderChain, createForgeSecretProviderChain, deriveSingleMaterializedConnectorDeclaration, fromMaterializedConnectorMd, loadConnectorDeclarations, loadMaterializedConnectorDeclarations, resolveAuth, resolveAuthRef, resolveBackendAuthFor, resolveMountCredential, resolveMountCredentialString } from '../chunk-CBZEIFU4.js';
|
|
4
|
+
export { PortPool, RcloneProcessManager, createFsWatcher, ensureDirMode, fetchAuthoritativeSize } from '../chunk-FYLIR4AV.js';
|
|
5
5
|
import '../chunk-6E6PKKAD.js';
|
|
6
6
|
import '../chunk-X46FY45B.js';
|
|
7
7
|
import '../chunk-DEYYRFQU.js';
|
|
8
8
|
import '../chunk-IFGTRL2I.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-BLGHFVXE.js';
|
|
10
10
|
import '../chunk-ZAP2BDHG.js';
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-VPXV2Z5E.js';
|
|
12
|
+
import '../chunk-COSTF7QW.js';
|
|
13
13
|
import '../chunk-DZCK7GRW.js';
|
|
14
14
|
import '../chunk-6IDBWPK2.js';
|
|
15
15
|
import '../chunk-GEEW6SY2.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DEFAULT_UPLOAD_STUCK_THRESHOLD, DEFAULT_VFS_WRITE_BACK, RcloneProcessManager, _buildRcloneArgs, _fuseMountPresent, _operationsStatTarget, _routeRcloneLogLine, awaitQuiescent, fetchAuthoritativeSize } from '../chunk-
|
|
1
|
+
export { CachePoisonedMountError, DEFAULT_UPLOAD_STUCK_THRESHOLD, DEFAULT_VFS_WRITE_BACK, RcloneProcessManager, _buildRcloneArgs, _fuseMountPresent, _isCachePoisonLine, _operationsStatTarget, _routeRcloneLogLine, awaitQuiescent, fetchAuthoritativeSize, quarantineCacheDir } from '../chunk-FYLIR4AV.js';
|
|
2
2
|
import '../chunk-JB35MVBN.js';
|
|
3
3
|
import '../chunk-NSBPE2FW.js';
|
|
4
4
|
//# sourceMappingURL=rclone.js.map
|
|
@@ -116,12 +116,33 @@ export interface RcloneHandle {
|
|
|
116
116
|
* @docLink packages/connectors/api-reference#rclone-process-manager
|
|
117
117
|
*/
|
|
118
118
|
export declare class RcloneProcessManager {
|
|
119
|
+
private readonly now;
|
|
120
|
+
/**
|
|
121
|
+
* @param now Injectable clock (ms) used only to timestamp the quarantine dir
|
|
122
|
+
* on a poisoned-cache reset, so the move-aside name is deterministic in tests.
|
|
123
|
+
*/
|
|
124
|
+
constructor(now?: () => number);
|
|
125
|
+
/**
|
|
126
|
+
* Spawn an rclone FUSE mount with one-shot poisoned-cache recovery. Delegates
|
|
127
|
+
* to {@link spawnOnce}; if that fails specifically because the persistent VFS
|
|
128
|
+
* cache was poisoned (a prior container SIGKILLed mid-write left `vfs`/`vfsMeta`
|
|
129
|
+
* referencing missing backing files), quarantine the cache and retry the mount
|
|
130
|
+
* exactly once on a clean rebuild from the authoritative remote.
|
|
131
|
+
*
|
|
132
|
+
* The retry is single-shot and bounded: if the fresh-cache mount also fails the
|
|
133
|
+
* cause is connectivity/token (not the cache), so the error propagates without
|
|
134
|
+
* a second reset — never a reset/respawn loop. A non-poison failure, or a
|
|
135
|
+
* poison failure with nothing to quarantine, propagates immediately.
|
|
136
|
+
*/
|
|
137
|
+
spawn(config: RcloneSpawnConfig): Promise<RcloneHandle>;
|
|
119
138
|
/**
|
|
120
139
|
* Spawn an rclone FUSE mount. Resolves once the mountpoint is confirmed
|
|
121
140
|
* present in `/proc/self/mounts`. Throws on timeout, on early exit, or
|
|
122
|
-
* if invariants are violated.
|
|
141
|
+
* if invariants are violated. A readiness-timeout accompanied by the
|
|
142
|
+
* poisoned-cache log signature throws {@link CachePoisonedMountError} so the
|
|
143
|
+
* public {@link spawn} can apply its quarantine-and-retry recovery.
|
|
123
144
|
*/
|
|
124
|
-
|
|
145
|
+
protected spawnOnce(config: RcloneSpawnConfig): Promise<RcloneHandle>;
|
|
125
146
|
/**
|
|
126
147
|
* Stop an rclone subprocess. Attempts a flush first, then SIGTERM, then
|
|
127
148
|
* SIGKILL + fusermount3 if `graceMs` elapses without the mountpoint
|
|
@@ -197,6 +218,40 @@ export interface RcloneLogRouteContext {
|
|
|
197
218
|
/** Called when a line matches an OAuth auth-failure pattern. */
|
|
198
219
|
onAuthError?: () => void;
|
|
199
220
|
}
|
|
221
|
+
/**
|
|
222
|
+
* Thrown by {@link RcloneProcessManager.spawnOnce} when a mount-readiness
|
|
223
|
+
* failure was accompanied by the {@link CACHE_POISON_RE} signature, so
|
|
224
|
+
* {@link RcloneProcessManager.spawn} knows the failure is a recoverable
|
|
225
|
+
* poisoned cache (quarantine + single retry) rather than a connectivity/token
|
|
226
|
+
* fault. Its `message` is the full mount-failure detail (including the stderr
|
|
227
|
+
* tail), so surfacing it directly when recovery declines loses no diagnostics.
|
|
228
|
+
*/
|
|
229
|
+
export declare class CachePoisonedMountError extends Error {
|
|
230
|
+
constructor(message: string);
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* @internal
|
|
234
|
+
* True when an rclone log line carries the poisoned-VFS-cache signature
|
|
235
|
+
* ({@link CACHE_POISON_RE}). Exported for tests; not part of the public API.
|
|
236
|
+
*/
|
|
237
|
+
export declare function _isCachePoisonLine(line: string): boolean;
|
|
238
|
+
/**
|
|
239
|
+
* Move a poisoned rclone VFS cache aside so the next spawn rebuilds a clean one
|
|
240
|
+
* from the authoritative remote. Moves `<cacheDir>/vfs` + `<cacheDir>/vfsMeta`
|
|
241
|
+
* (whichever exist) into `<cacheDir>/.corrupt-<ISO>` — a move-aside, never a
|
|
242
|
+
* delete, so any (junk) un-uploaded bytes stay recoverable for forensics. The
|
|
243
|
+
* quarantine dir is nested inside `cacheDir` (not a sibling) so it lives within
|
|
244
|
+
* the per-session cache dir the platform removes wholesale on session close —
|
|
245
|
+
* bounding its lifetime to the session — and rclone only reads its own
|
|
246
|
+
* `vfs`/`vfsMeta` subdirs, so the dotted sibling is inert to the live mount.
|
|
247
|
+
* (A bounded retain-N/reap-after-M GC of repeated resets within one long-lived
|
|
248
|
+
* session is a follow-up; session-close cleanup covers the common case.)
|
|
249
|
+
*
|
|
250
|
+
* Returns the quarantine dir path when anything was moved, else `null` (nothing
|
|
251
|
+
* to quarantine — the failure was not a poisoned cache). `nowMs` is injected for
|
|
252
|
+
* deterministic test timestamps. Exported for tests; not part of the public API.
|
|
253
|
+
*/
|
|
254
|
+
export declare function quarantineCacheDir(cacheDir: string, nowMs: number): Promise<string | null>;
|
|
200
255
|
/**
|
|
201
256
|
* @internal
|
|
202
257
|
* Route a single rclone log line (JSON or raw) to the appropriate Logger
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rclone-process-manager.d.ts","sourceRoot":"","sources":["../../../connectors/src/rclone-process-manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;
|
|
1
|
+
{"version":3,"file":"rclone-process-manager.d.ts","sourceRoot":"","sources":["../../../connectors/src/rclone-process-manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAkBH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAQvD,0JAA0J;AAC1J,eAAO,MAAM,sBAAsB,QAAQ,CAAC;AAE5C,gGAAgG;AAChG,eAAO,MAAM,8BAA8B,IAAI,CAAC;AAYhD;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,sFAAsF;IACtF,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,2FAA2F;IAC3F,UAAU,EAAE,MAAM,CAAC;IACnB,gFAAgF;IAChF,QAAQ,EAAE,MAAM,CAAC;IACjB,sFAAsF;IACtF,YAAY,EAAE,MAAM,CAAC;IACrB,oDAAoD;IACpD,MAAM,EAAE,MAAM,CAAC;IACf,qCAAqC;IACrC,YAAY,EAAE,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC5C,+CAA+C;IAC/C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;;;;;;;;OAYG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,M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AAM,CAAA;CAAE,GACzC,MAAM,EAAE,CA2CV;AAED;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,GACd;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAShC;AAED;;;;;;;;GAQG;AACH,wBAAsB,sBAAsB,CAC1C,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EACf,SAAS,GAAE,OAAO,KAAa,GAC9B,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAgBxB;AAED;;;;GAIG;AACH,wBAAsB,cAAc,CAClC,GAAG,EAAE,MAAM,EACX,IAAI,EAAE;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAC/D,OAAO,CAAC,OAAO,CAAC,CAQlB;AA8CD;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,cAAc,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAerF"}
|
package/dist/core/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { ALL_PROVIDERS, ManifestYamlEditor, SETTINGS_DEFAULTS, WorkspaceYamlEditor, applyPatch, buildLockFile, computeHash, detectEnvApiKeys, extractForPatch, generatePatch, globalSettingsPath, listPatches, loadSettings, mapLegacyFields, maskApiKey, migrateSettings, portableSpawn, portableSpawnSync, projectSettingsPath, providerEnvKey, readLock, readPatch, readPluginsLockSlice, resolveAllKeys, resolveApiKey, resolveSettings, savePatch, saveSettings, verifyLock, walkForSettings, writeLock, writePluginsLockSlice } from '../chunk-
|
|
1
|
+
export { ALL_PROVIDERS, ManifestYamlEditor, SETTINGS_DEFAULTS, WorkspaceYamlEditor, applyPatch, buildLockFile, computeHash, detectEnvApiKeys, extractForPatch, generatePatch, globalSettingsPath, listPatches, loadSettings, mapLegacyFields, maskApiKey, migrateSettings, portableSpawn, portableSpawnSync, projectSettingsPath, providerEnvKey, readLock, readPatch, readPluginsLockSlice, resolveAllKeys, resolveApiKey, resolveSettings, savePatch, saveSettings, verifyLock, walkForSettings, writeLock, writePluginsLockSlice } from '../chunk-BLGHFVXE.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, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, buildProvenanceIndex, checkRepoStatus, checkoutPin, cloneRepo, decodeSkaileYaml, deriveSingleMaterializedMcpDeclaration, encodeSkaileYaml, ensureRepo, findWorkspaceRoot, getGlobalCacheDir, getRepoCommit, linkRepo, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, mergeSkWorkspaceConfigs, normalizeConfig, pullRepo, readLinks, resolveAgentDir, resolveAll, resolveAsset, resolveSkWorkspaceConfig, saveSkWorkspaceConfig, scanRepo, stageMaterializedSkills, unlinkRepo, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, writeLinks } from '../chunk-
|
|
3
|
+
export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot } from '../chunk-VPXV2Z5E.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, linkRepo, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, mergeLegacyEntriesInto, mergeSkWorkspaceConfigs, migrateLegacyDir, normalizeConfig, pullRepo, readLinks, resolveAgentDir, resolveAll, resolveAsset, resolveSkWorkspaceConfig, saveSkWorkspaceConfig, scanRepo, stageMaterializedSkills, unlinkRepo, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, writeLinks } from '../chunk-COSTF7QW.js';
|
|
5
5
|
export { SKAILE_MANIFEST_FILENAME, decodeSkaileManifest, encodeSkaileManifest, loadSkPublishManifest, saveSkPublishManifest } from '../chunk-DZCK7GRW.js';
|
|
6
6
|
export { bundleDepRefs, fromAgentMd, fromAgentYaml, fromBundleYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromMcpServerMd, fromMcpServerMdContent, fromPromptMd, fromSkillMd, parseFrontmatter, parseRequires, scanDirectory, walkDir } from '../chunk-6IDBWPK2.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';
|
|
@@ -1,5 +1,5 @@
|
|
|
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-VPXV2Z5E.js';
|
|
2
|
+
import '../chunk-COSTF7QW.js';
|
|
3
3
|
import '../chunk-DZCK7GRW.js';
|
|
4
4
|
import '../chunk-6IDBWPK2.js';
|
|
5
5
|
import '../chunk-GEEW6SY2.js';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The global cache root. `$SKAILE_CACHE_DIR` (now the cache *root*, not the
|
|
3
|
+
* repos dir) wins; else `$SKAILE_HOME/cache`; else `~/.skaile/cache`.
|
|
4
|
+
*/
|
|
5
|
+
export declare function globalCacheRoot(): string;
|
|
6
|
+
/**
|
|
7
|
+
* One-time whole-tree migration: if `newPath` is absent but `legacyPath` exists,
|
|
8
|
+
* `rename()` legacy → new. Best-effort — a cross-device/raced rename is swallowed
|
|
9
|
+
* (the caller's dir is re-derivable). Returns `newPath` always. Memoized per
|
|
10
|
+
* `newPath` so hot resolvers don't stat on every call.
|
|
11
|
+
*/
|
|
12
|
+
export declare function migrateLegacyDir(newPath: string, legacyPath: string): string;
|
|
13
|
+
/**
|
|
14
|
+
* Per-entry merge: move each immediate child of `legacyDir` that passes `filter`
|
|
15
|
+
* into `targetDir/<name>`, skipping names already present in `targetDir`. Used
|
|
16
|
+
* where two legacy roots feed one new root (so a whole-tree rename would clobber
|
|
17
|
+
* or orphan). Removes `legacyDir` if it ends up empty. Idempotent; memoized per
|
|
18
|
+
* `targetDir|legacyDir` pair.
|
|
19
|
+
*
|
|
20
|
+
* @param filter - receives the absolute child path; return true to move it.
|
|
21
|
+
*/
|
|
22
|
+
export declare function mergeLegacyEntriesInto(targetDir: string, legacyDir: string, filter: (childAbsPath: string) => boolean): void;
|
|
23
|
+
/** Test-only: reset migration memoization between cases. */
|
|
24
|
+
export declare function __resetCacheMigrationMemo(): void;
|
|
25
|
+
//# sourceMappingURL=cache-paths.d.ts.map
|
|
@@ -0,0 +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,CAIxC;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"}
|
package/dist/core/src/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
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
14
|
export { ASSET_KIND_DIRS, assetSearchDirs, detectAiResources, detectDomains, detectMonorepoRoot, } from "./discovery.js";
|
|
14
15
|
export type { AgentTarget, AiComponent, DriverTarget } from "./driver-targets.js";
|
|
15
16
|
export { DRIVER_TARGETS, SUPPORTED_DRIVER_TARGETS } from "./driver-targets.js";
|
|
@@ -38,6 +39,6 @@ export { portableSpawn, portableSpawnSync } from "./subprocess.js";
|
|
|
38
39
|
export type { ProvenanceCandidate, ProvenanceIndex, SourceClone, } from "./walker.js";
|
|
39
40
|
export { buildProvenanceIndex } from "./walker.js";
|
|
40
41
|
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";
|
|
41
|
-
export { COMPACTION_DEFAULTS, DEFAULT_RECIPE_ATTR, decodeSkaileYaml, deriveSingleMaterializedMcpDeclaration, encodeSkaileYaml, findWorkspaceRoot, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, mergeSkWorkspaceConfigs, normalizeConfig, resolveAgentDir, resolveSkWorkspaceConfig, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, saveSkWorkspaceConfig, stageMaterializedSkills, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, } from "./workspace-config.js";
|
|
42
|
+
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";
|
|
42
43
|
export { WorkspaceYamlEditor } from "./workspace-yaml-editor.js";
|
|
43
44
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../core/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../core/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,OAAO,EACL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
* Remote repos are cloned to a shared global cache (~/.skaile/
|
|
5
|
-
* Projects reference the cache via symlinks at .skaile/
|
|
4
|
+
* Remote repos are cloned to a shared global cache (~/.skaile/cache/sources/<name>/).
|
|
5
|
+
* Projects reference the cache via symlinks at .skaile/cache/sources/<name>/.
|
|
6
6
|
* Local repos (path:) are used directly. Linked repos override remote URLs.
|
|
7
7
|
*
|
|
8
8
|
* Supports partial clone + sparse checkout for large repos.
|
|
@@ -11,8 +11,11 @@ import type { AssetRef, CatalogEntry } from "./models.js";
|
|
|
11
11
|
import type { ProvenanceCandidate, ProvenanceIndex } from "./walker.js";
|
|
12
12
|
import type { OverrideEntry, SourceDeclaration, StoreEntry } from "./workspace-config.js";
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
14
|
+
* The global source-clone cache: `<cacheRoot>/sources` (override the root with
|
|
15
|
+
* `SKAILE_CACHE_DIR`). On first call it migrates both legacy clone roots into it:
|
|
16
|
+
* the whole of `~/.skaile/repos/*`, and the own-`.git` (clone) entries of
|
|
17
|
+
* `~/.skaile/sources/*`. The non-clone remainder of `~/.skaile/sources` is the
|
|
18
|
+
* sidecar repo and is migrated separately by `getSidecarRoot()`.
|
|
16
19
|
* @docLink packages/core/api-reference#get-global-cache-dir
|
|
17
20
|
*/
|
|
18
21
|
export declare function getGlobalCacheDir(): string;
|
|
@@ -107,13 +110,13 @@ export declare function unlinkRepo(projectDir: string, repoName: string): boolea
|
|
|
107
110
|
* 1. Linked override (`.skaile/links.yaml`) — highest priority
|
|
108
111
|
* 2. Local path (`decl.path`) — direct filesystem reference; a bare path must
|
|
109
112
|
* already exist, but a url-backed managed cache dir is cloned in-place on miss
|
|
110
|
-
* 3. Remote URL (`decl.url`) — cloned to the shared global cache, symlinked into `.skaile/
|
|
113
|
+
* 3. Remote URL (`decl.url`) — cloned to the shared global cache, symlinked into `.skaile/cache/sources/`
|
|
111
114
|
*
|
|
112
115
|
* Pin support: when `opts.pin` is provided, the tag/commit is checked out after clone.
|
|
113
116
|
*
|
|
114
117
|
* @param decl - Repository declaration from `skaile.yaml`
|
|
115
118
|
* @param name - Logical repository name (cache key)
|
|
116
|
-
* @param reposDir - Project-local
|
|
119
|
+
* @param reposDir - Project-local source-clone directory (`.skaile/cache/sources/`)
|
|
117
120
|
* @param opts - Optional: `pin` for a specific commit/tag, `projectDir` for link lookup
|
|
118
121
|
* @returns Absolute path to the local repository directory
|
|
119
122
|
* @throws When the repository cannot be resolved or cloned
|
|
@@ -151,7 +154,7 @@ export declare function scanRepo(repoDir: string, repoName: string): CatalogEntr
|
|
|
151
154
|
*
|
|
152
155
|
* @param ref - Parsed asset reference to resolve
|
|
153
156
|
* @param repositories - Repository declarations from `skaile.yaml`
|
|
154
|
-
* @param reposDir - Project-local
|
|
157
|
+
* @param reposDir - Project-local source-clone directory (`.skaile/cache/sources/`)
|
|
155
158
|
* @param opts - Optional: `projectDir` for link lookup, `preferRepo` for affinity
|
|
156
159
|
* @returns Matching `CatalogEntry`, or `null` if not found in any repository
|
|
157
160
|
* @docLink packages/core/api-reference#resolve-asset
|
|
@@ -268,7 +271,7 @@ export interface RepoStatus {
|
|
|
268
271
|
*
|
|
269
272
|
* @param decl - Repository declaration from `skaile.yaml`
|
|
270
273
|
* @param name - Logical repository name
|
|
271
|
-
* @param reposDir - Project-local
|
|
274
|
+
* @param reposDir - Project-local source-clone directory (`.skaile/cache/sources/`)
|
|
272
275
|
* @param projectDir - Optional project root for link lookup
|
|
273
276
|
* @returns `RepoStatus` describing the current state
|
|
274
277
|
* @docLink packages/core/api-reference#check-repo-status
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repo-manager.d.ts","sourceRoot":"","sources":["../../../core/src/repo-manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;
|
|
1
|
+
{"version":3,"file":"repo-manager.d.ts","sourceRoot":"","sources":["../../../core/src/repo-manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAkBH,OAAO,KAA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