@skaile/workspaces 0.13.0 → 0.15.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.
Files changed (146) hide show
  1. package/CHANGELOG.md +88 -0
  2. package/dist/asset-manager/index.js +4 -4
  3. package/dist/asset-manager/installer.js +3 -3
  4. package/dist/base-assets/connectors/deploy.js +4 -4
  5. package/dist/base-assets/connectors/devserver.js +4 -4
  6. package/dist/base-assets/connectors/flow/adapter.js +4 -4
  7. package/dist/base-assets/connectors/flow/run-flow.js +5 -5
  8. package/dist/base-assets/connectors/flow.js +4 -4
  9. package/dist/base-assets/connectors/git.js +4 -4
  10. package/dist/base-assets/connectors/gmail.js +4 -4
  11. package/dist/base-assets/connectors/googledrive/driver.d.ts +47 -0
  12. package/dist/base-assets/connectors/googledrive/driver.d.ts.map +1 -0
  13. package/dist/base-assets/connectors/googledrive.js +20 -0
  14. package/dist/base-assets/connectors/googledrive.js.map +1 -0
  15. package/dist/base-assets/connectors/local.js +4 -4
  16. package/dist/base-assets/connectors/mattermost.js +4 -4
  17. package/dist/base-assets/connectors/memory.js +4 -4
  18. package/dist/base-assets/connectors/minio.js +4 -4
  19. package/dist/base-assets/connectors/postgres.js +4 -4
  20. package/dist/base-assets/connectors/redis.js +4 -4
  21. package/dist/base-assets/connectors/s3.js +4 -4
  22. package/dist/base-assets/connectors/sharepoint/driver.d.ts.map +1 -1
  23. package/dist/base-assets/connectors/sharepoint.js +4 -4
  24. package/dist/base-assets/connectors/sqlite.js +4 -4
  25. package/dist/base-assets/connectors/static-server.js +4 -4
  26. package/dist/base-assets/connectors/tunnel.js +4 -4
  27. package/dist/base-assets/connectors/webdav/driver.d.ts.map +1 -1
  28. package/dist/base-assets/connectors/webdav.js +4 -4
  29. package/dist/base-assets/connectors/xstate-store.js +4 -4
  30. package/dist/base-assets/connectors/xstate.js +4 -4
  31. package/dist/base-assets/connectors/yjs.js +4 -4
  32. package/dist/{chunk-42OQF7UU.js → chunk-2NIOMFSQ.js} +305 -225
  33. package/dist/chunk-2NIOMFSQ.js.map +1 -0
  34. package/dist/{chunk-DZG3JD4Y.js → chunk-4GEVGRWB.js} +3 -3
  35. package/dist/{chunk-DZG3JD4Y.js.map → chunk-4GEVGRWB.js.map} +1 -1
  36. package/dist/{chunk-VAJB2UJ5.js → chunk-6EN5IJ2Y.js} +13 -13
  37. package/dist/chunk-6EN5IJ2Y.js.map +1 -0
  38. package/dist/{chunk-QG4X77V3.js → chunk-7R4WLTZW.js} +4 -4
  39. package/dist/{chunk-QG4X77V3.js.map → chunk-7R4WLTZW.js.map} +1 -1
  40. package/dist/{chunk-GN6IYVJN.js → chunk-G7O7WDXX.js} +2 -2
  41. package/dist/{chunk-GN6IYVJN.js.map → chunk-G7O7WDXX.js.map} +1 -1
  42. package/dist/{chunk-EAJKY27M.js → chunk-HSOEX3TA.js} +250 -92
  43. package/dist/chunk-HSOEX3TA.js.map +1 -0
  44. package/dist/chunk-QAVZOJCV.js +72 -0
  45. package/dist/chunk-QAVZOJCV.js.map +1 -0
  46. package/dist/{chunk-CYRCPFZ2.js → chunk-SO43XRWF.js} +3 -3
  47. package/dist/{chunk-CYRCPFZ2.js.map → chunk-SO43XRWF.js.map} +1 -1
  48. package/dist/{chunk-4DDQKKWX.js → chunk-Z24KPZKU.js} +20 -13
  49. package/dist/chunk-Z24KPZKU.js.map +1 -0
  50. package/dist/cli/index.js +685 -527
  51. package/dist/cli/index.js.map +1 -1
  52. package/dist/cli/src/commands/asset-cmd.d.ts +4 -1
  53. package/dist/cli/src/commands/asset-cmd.d.ts.map +1 -1
  54. package/dist/cli/src/commands/library-cmd.d.ts +6 -4
  55. package/dist/cli/src/commands/library-cmd.d.ts.map +1 -1
  56. package/dist/cli/src/commands/npx.d.ts.map +1 -1
  57. package/dist/cli/src/commands/project.d.ts +2 -2
  58. package/dist/cli/src/commands/source-manifest.d.ts +19 -0
  59. package/dist/cli/src/commands/source-manifest.d.ts.map +1 -0
  60. package/dist/cli/src/commands/source.d.ts +6 -2
  61. package/dist/cli/src/commands/source.d.ts.map +1 -1
  62. package/dist/cli/src/commands/store.d.ts.map +1 -1
  63. package/dist/cli/src/open-library.d.ts +18 -18
  64. package/dist/cli/src/open-library.d.ts.map +1 -1
  65. package/dist/connectors/config.js +2 -2
  66. package/dist/connectors/index.js +4 -4
  67. package/dist/connectors/rclone-config.js +1 -1
  68. package/dist/connectors/src/connector-registry.d.ts.map +1 -1
  69. package/dist/connectors/src/fleet-utils.d.ts +35 -0
  70. package/dist/connectors/src/fleet-utils.d.ts.map +1 -0
  71. package/dist/connectors/src/index.d.ts +2 -1
  72. package/dist/connectors/src/index.d.ts.map +1 -1
  73. package/dist/connectors/src/rclone-config/googledrive.d.ts +59 -0
  74. package/dist/connectors/src/rclone-config/googledrive.d.ts.map +1 -0
  75. package/dist/connectors/src/rclone-config/index.d.ts +1 -0
  76. package/dist/connectors/src/rclone-config/index.d.ts.map +1 -1
  77. package/dist/connectors/src/rclone-config/onedrive.d.ts +1 -0
  78. package/dist/connectors/src/rclone-config/onedrive.d.ts.map +1 -1
  79. package/dist/connectors/src/rclone-config/sanitize.d.ts +9 -0
  80. package/dist/connectors/src/rclone-config/sanitize.d.ts.map +1 -0
  81. package/dist/connectors/src/rclone-config/webdav.d.ts +1 -0
  82. package/dist/connectors/src/rclone-config/webdav.d.ts.map +1 -1
  83. package/dist/core/index.js +2 -2
  84. package/dist/library/index.js +1 -1
  85. package/dist/library/src/config.d.ts +12 -3
  86. package/dist/library/src/config.d.ts.map +1 -1
  87. package/dist/library/src/index.d.ts +7 -8
  88. package/dist/library/src/index.d.ts.map +1 -1
  89. package/dist/library/src/library.d.ts +24 -77
  90. package/dist/library/src/library.d.ts.map +1 -1
  91. package/dist/library/src/local/db.d.ts +3 -2
  92. package/dist/library/src/local/db.d.ts.map +1 -1
  93. package/dist/library/src/local/{user-library-manager.d.ts → library-manager.d.ts} +15 -16
  94. package/dist/library/src/local/library-manager.d.ts.map +1 -0
  95. package/dist/library/src/local/library.d.ts +27 -23
  96. package/dist/library/src/local/library.d.ts.map +1 -1
  97. package/dist/library/src/local/local-catalog-source.d.ts +5 -5
  98. package/dist/library/src/local/local-catalog-source.d.ts.map +1 -1
  99. package/dist/library/src/local/sidecar-paths.d.ts +3 -3
  100. package/dist/library/src/local/store-paths.d.ts +42 -0
  101. package/dist/library/src/local/store-paths.d.ts.map +1 -0
  102. package/dist/library/src/preset/apply.d.ts +2 -2
  103. package/dist/library/src/preset/apply.d.ts.map +1 -1
  104. package/dist/library/src/preset/placeholders.d.ts +3 -3
  105. package/dist/library/src/preset/placeholders.d.ts.map +1 -1
  106. package/dist/library/src/preset/resolve-item.d.ts +3 -3
  107. package/dist/library/src/preset/resolve-item.d.ts.map +1 -1
  108. package/dist/library/src/sync/driver.d.ts +6 -6
  109. package/dist/library/src/sync/driver.d.ts.map +1 -1
  110. package/dist/library/src/sync/git-driver.d.ts +6 -6
  111. package/dist/library/src/sync/git-driver.d.ts.map +1 -1
  112. package/dist/library/src/sync/local-driver.d.ts +6 -6
  113. package/dist/library/src/sync/local-driver.d.ts.map +1 -1
  114. package/dist/library/src/user-library.d.ts +12 -17
  115. package/dist/library/src/user-library.d.ts.map +1 -1
  116. package/dist/{open-library-S6FK4N4S.js → open-library-XD7QYLMW.js} +4 -4
  117. package/dist/{open-library-S6FK4N4S.js.map → open-library-XD7QYLMW.js.map} +1 -1
  118. package/dist/runner/index.js +8 -8
  119. package/dist/runner/src/composition/resolve.d.ts +3 -3
  120. package/dist/runner/src/composition/resolve.d.ts.map +1 -1
  121. package/dist/sdk/asset-manager.js +4 -4
  122. package/dist/sdk/core.js +2 -2
  123. package/dist/sdk/index.js +9 -9
  124. package/dist/sdk/runner.js +8 -8
  125. package/dist/{setup-BQEST4RD.js → setup-WZFCLQ2J.js} +4 -4
  126. package/dist/{setup-BQEST4RD.js.map → setup-WZFCLQ2J.js.map} +1 -1
  127. package/dist/{store-client-CB6CYFXB.js → store-client-BM3IBDPT.js} +4 -4
  128. package/dist/{store-client-CB6CYFXB.js.map → store-client-BM3IBDPT.js.map} +1 -1
  129. package/dist/tui/index.js +8 -8
  130. package/dist/types/src/install-manifest.d.ts +1 -1
  131. package/dist/workspace-plugin/adapters/mcp.js +2 -2
  132. package/dist/workspace-plugin/index.js +1 -1
  133. package/package.json +7 -1
  134. package/dist/chunk-42OQF7UU.js.map +0 -1
  135. package/dist/chunk-4DDQKKWX.js.map +0 -1
  136. package/dist/chunk-EAJKY27M.js.map +0 -1
  137. package/dist/chunk-GCRKAFH7.js +0 -40
  138. package/dist/chunk-GCRKAFH7.js.map +0 -1
  139. package/dist/chunk-VAJB2UJ5.js.map +0 -1
  140. package/dist/cli/src/commands/library-status.d.ts +0 -19
  141. package/dist/cli/src/commands/library-status.d.ts.map +0 -1
  142. package/dist/cli/src/commands/source-sidecar.d.ts +0 -6
  143. package/dist/cli/src/commands/source-sidecar.d.ts.map +0 -1
  144. package/dist/library/src/local/user-library-manager.d.ts.map +0 -1
  145. package/dist/library/src/sync/store-driver.d.ts +0 -21
  146. package/dist/library/src/sync/store-driver.d.ts.map +0 -1
@@ -6,7 +6,10 @@
6
6
  * install <ref> install an asset from a library into a workspace
7
7
  * list list installed/available assets
8
8
  * show <ref> inspect an asset by canonical ref
9
- * publish <ref> publish to the store (STUB)
9
+ *
10
+ * The former `asset publish` stub has moved to `library publish` so the push
11
+ * + register flow is atomic with the underlying git push. Asset creation
12
+ * lives under `library create <kind> <name>`.
10
13
  *
11
14
  * @docLink cli/commands/asset
12
15
  */
@@ -1 +1 @@
1
- {"version":3,"file":"asset-cmd.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/asset-cmd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAKH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,wBAAgB,gBAAgB,IAAI,OAAO,CAwN1C"}
1
+ {"version":3,"file":"asset-cmd.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/asset-cmd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,wBAAgB,gBAAgB,IAAI,OAAO,CA8M1C"}
@@ -1,9 +1,11 @@
1
1
  /**
2
- * skaile library — manage user-facing libraries (formerly: sources).
2
+ * skaile library — manage user-facing libraries (authoring places for AI
3
+ * assets, backed by `local` or `git`).
3
4
  *
4
- * Lifecycle subcommands: list, status, show, init, add, default, rename,
5
- * set, remove. Sync verbs (sync, pull, push, propose, commit, git) are
6
- * appended below.
5
+ * Lifecycle subcommands: list, status, show, init, link, create, default,
6
+ * rename, set, remove. Git verbs (commit, pull, push, propose, git, sync)
7
+ * apply to git-backed libraries. Publish/register/yank are scaffolded stubs
8
+ * that will land when the store publish endpoint is finalised.
7
9
  *
8
10
  * @docLink cli/commands/library
9
11
  */
@@ -1 +1 @@
1
- {"version":3,"file":"library-cmd.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/library-cmd.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAMH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAKpC,wBAAgB,kBAAkB,IAAI,OAAO,CAub5C"}
1
+ {"version":3,"file":"library-cmd.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/library-cmd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAOH,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAiB5C,wBAAgB,kBAAkB,IAAI,OAAO,CAub5C"}
@@ -1 +1 @@
1
- {"version":3,"file":"npx.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/npx.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAKpC;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,IAAI,OAAO,CA0FxC"}
1
+ {"version":3,"file":"npx.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/npx.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAKpC;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,IAAI,OAAO,CA2FxC"}
@@ -21,7 +21,7 @@ export interface InstallManifestSource {
21
21
  export declare function supportsInstallManifest(source: unknown): source is InstallManifestSource;
22
22
  /**
23
23
  * Minimal library surface the pointer-only install path needs.
24
- * `LocalLibrary` satisfies this.
24
+ * `LocalIndex` satisfies this.
25
25
  */
26
26
  export interface InstallLibrary {
27
27
  install(manifest: InstallManifest): Promise<{
@@ -49,7 +49,7 @@ export interface PointerOnlyInstallResult {
49
49
  *
50
50
  * Both dependencies are injected so the function is unit-testable without a
51
51
  * network round-trip. In production the CLI passes a `RemoteCatalogSource`
52
- * and a `LocalLibrary`.
52
+ * and a `LocalIndex`.
53
53
  *
54
54
  * @param ref - Asset ref (`<publisher>/<name>@<version>`, optional leading `@`).
55
55
  * @param deps - Injected catalog source + library.
@@ -0,0 +1,19 @@
1
+ /**
2
+ * `skaile source manifest …` — sidecar manifest lifecycle, refactored under
3
+ * the `source` noun (was `source sidecar …`).
4
+ *
5
+ * The verbs are stubs for now — the real wiring lands when the publish path
6
+ * through `POST /sources/<id>/manifest` is finalised on the store backend.
7
+ * Each subcommand exits with code 2 plus a clear "not yet wired" hint so
8
+ * smoke tests can verify the surface without depending on the server.
9
+ *
10
+ * @docLink cli/commands/source#manifest
11
+ */
12
+ import type { Command } from "commander";
13
+ /**
14
+ * Append the `manifest` sub-tree to a `source` command.
15
+ *
16
+ * Called from `makeSourceCommand()` in `source.ts`.
17
+ */
18
+ export declare function addSourceManifestCommands(src: Command): void;
19
+ //# sourceMappingURL=source-manifest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source-manifest.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/source-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAYzC;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAwC5D"}
@@ -1,7 +1,11 @@
1
1
  /**
2
- * skaile source — removed in the 2026-05-13 Libraries redesign.
2
+ * `skaile source …` manage github sources (third-party repos of AI assets).
3
3
  *
4
- * Every invocation prints a redirect message and exits with code 2.
4
+ * A *source* is a read-mostly clone of a github repo under `~/.skaile/sources/`.
5
+ * Bytes always live here. Manifest catalog entries (formerly "sidecars") live
6
+ * separately at `~/.skaile/store/manifests/<slug>.yaml`.
7
+ *
8
+ * @docLink cli/commands/source
5
9
  */
6
10
  import { Command } from "commander";
7
11
  export declare function makeSourceCommand(): Command;
@@ -1 +1 @@
1
- {"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/source.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAOpC,wBAAgB,iBAAiB,IAAI,OAAO,CAgB3C"}
1
+ {"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/source.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAKH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAsBpC,wBAAgB,iBAAiB,IAAI,OAAO,CAoJ3C"}
@@ -1 +1 @@
1
- {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAUpC;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CA0M1C"}
1
+ {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAUpC;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAqO1C"}
@@ -1,23 +1,23 @@
1
1
  /**
2
- * open-library.ts — shared helpers to open the LocalLibrary and the configured
2
+ * open-library.ts — shared helpers to open the LocalIndex and the configured
3
3
  * Catalog source.
4
4
  *
5
5
  * Lazy-loads the `@skaile/workspaces/library` subpath and returns the
6
- * LocalLibrary instance (backed by `@libsql/client`; runs on Node and Bun).
6
+ * LocalIndex instance (backed by `@libsql/client`; runs on Node and Bun).
7
7
  * The catalog-source helper reads
8
8
  * `~/.skaile/config.yaml` (and project-level overlay if `projectDir` is given)
9
9
  * to decide between {@link RemoteCatalogSource} (default — points at
10
10
  * `https://skaile.store`) and a {@link LocalCatalogSource} bound to the most
11
- * recent local source registered via `skaile source add`.
11
+ * recent local library registered via `skaile source add`.
12
12
  */
13
13
  /**
14
- * Open the LocalLibrary with the full kind registry. Exits with code 1
14
+ * Open the LocalIndex with the full kind registry. Exits with code 1
15
15
  * if the library directory cannot be created.
16
16
  *
17
- * @returns A `LocalLibrary` instance ready for use.
17
+ * @returns A `LocalIndex` instance ready for use.
18
18
  * @docLink cli/dev-guide#open-library
19
19
  */
20
- export declare function openLibrary(): Promise<import("@skaile/workspaces/library").LocalLibrary>;
20
+ export declare function openLibrary(): Promise<import("@skaile/workspaces/library").LocalIndex>;
21
21
  /**
22
22
  * Resolve the configured **remote** Catalog source for the CLI.
23
23
  *
@@ -45,7 +45,7 @@ export declare function openCatalogSource(opts?: {
45
45
  }): Promise<import("@skaile/workspaces/library").RemoteCatalogSource | import("@skaile/workspaces/library").RestCatalogSource>;
46
46
  /**
47
47
  * Resolved catalog source plus a close handle for releasing any underlying
48
- * resources (e.g. the `LocalLibrary` SQLite connection in local mode).
48
+ * resources (e.g. the `LocalIndex` SQLite connection in local mode).
49
49
  *
50
50
  * Callers MUST invoke `close()` when done — typically in a `finally` block.
51
51
  * For remote-mode sources `close()` is a no-op, but the contract is uniform
@@ -64,20 +64,20 @@ export interface ResolvedCatalogSource {
64
64
  * `~/.skaile/config.yaml`.
65
65
  *
66
66
  * Dispatch:
67
- * - `catalog.url: local` → opens {@link LocalLibrary}, picks the most recently
68
- * registered local source whose `path` still exists on disk, and returns a
69
- * {@link LocalCatalogSource} bound to that source. Throws if no usable local
70
- * source is registered.
67
+ * - `catalog.url: local` → opens {@link LocalIndex}, picks the most recently
68
+ * registered local library whose `path` still exists on disk, and returns a
69
+ * {@link LocalCatalogSource} bound to that library. Throws if no usable
70
+ * local library is registered.
71
71
  * - any URL → returns {@link RemoteCatalogSource} (same as
72
72
  * {@link openCatalogSource}).
73
73
  *
74
- * The returned `close()` releases the underlying `LocalLibrary` SQLite handle
74
+ * The returned `close()` releases the underlying `LocalIndex` SQLite handle
75
75
  * in local mode (no-op in remote mode). Callers MUST invoke it — typically in
76
76
  * a `finally` block — to satisfy `library/CLAUDE.md` § "Notes for Consumers".
77
77
  *
78
78
  * @param opts - Project directory (overlays project config) and explicit overrides.
79
79
  * @returns A `ResolvedCatalogSource` carrying the source and a close handle.
80
- * @throws When `local` is configured but no usable local source is registered.
80
+ * @throws When `local` is configured but no usable local library is registered.
81
81
  * @docLink cli/dev-guide#open-library
82
82
  */
83
83
  export declare function resolveCatalogSource(opts?: {
@@ -87,15 +87,15 @@ export declare function resolveCatalogSource(opts?: {
87
87
  userConfigFile?: string;
88
88
  }): Promise<ResolvedCatalogSource>;
89
89
  /**
90
- * Open the UserLibraryManager bound to the active LocalLibrary.
90
+ * Open the LibraryManager bound to the active LocalIndex.
91
91
  * Caller owns lifetime — must call `close()` (returned helper closes the
92
- * underlying LocalLibrary).
92
+ * underlying LocalIndex).
93
93
  *
94
94
  * @docLink cli/dev-guide#open-library
95
95
  */
96
- export declare function openUserLibraryManager(): Promise<{
97
- manager: import("@skaile/workspaces/library").UserLibraryManager;
98
- library: import("@skaile/workspaces/library").LocalLibrary;
96
+ export declare function openLibraryManager(): Promise<{
97
+ manager: import("@skaile/workspaces/library").LibraryManager;
98
+ library: import("@skaile/workspaces/library").LocalIndex;
99
99
  close: () => void;
100
100
  }>;
101
101
  //# sourceMappingURL=open-library.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"open-library.d.ts","sourceRoot":"","sources":["../../../cli/src/open-library.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAKH;;;;;;GAMG;AACH,wBAAsB,WAAW,+DAQhC;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAsB,iBAAiB,CAAC,IAAI,CAAC,EAAE;IAC7C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+CAA+C;IAC/C,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,GAAG,OAAO,CACP,OAAO,4BAA4B,EAAE,mBAAmB,GACxD,OAAO,4BAA4B,EAAE,iBAAiB,CACzD,CAqBA;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,qBAAqB;IACpC,gDAAgD;IAChD,MAAM,EAAE,OAAO,4BAA4B,EAAE,cAAc,CAAC;IAC5D,sEAAsE;IACtE,KAAK,IAAI,IAAI,CAAC;CACf;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,oBAAoB,CAAC,IAAI,CAAC,EAAE;IAChD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+CAA+C;IAC/C,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAmEjC;AAED;;;;;;GAMG;AACH,wBAAsB,sBAAsB,IAAI,OAAO,CAAC;IACtD,OAAO,EAAE,OAAO,4BAA4B,EAAE,kBAAkB,CAAC;IACjE,OAAO,EAAE,OAAO,4BAA4B,EAAE,YAAY,CAAC;IAC3D,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC,CAKD"}
1
+ {"version":3,"file":"open-library.d.ts","sourceRoot":"","sources":["../../../cli/src/open-library.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAKH;;;;;;GAMG;AACH,wBAAsB,WAAW,6DAQhC;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAsB,iBAAiB,CAAC,IAAI,CAAC,EAAE;IAC7C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+CAA+C;IAC/C,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,GAAG,OAAO,CACP,OAAO,4BAA4B,EAAE,mBAAmB,GACxD,OAAO,4BAA4B,EAAE,iBAAiB,CACzD,CAqBA;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,qBAAqB;IACpC,gDAAgD;IAChD,MAAM,EAAE,OAAO,4BAA4B,EAAE,cAAc,CAAC;IAC5D,sEAAsE;IACtE,KAAK,IAAI,IAAI,CAAC;CACf;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,oBAAoB,CAAC,IAAI,CAAC,EAAE;IAChD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+CAA+C;IAC/C,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAmEjC;AAED;;;;;;GAMG;AACH,wBAAsB,kBAAkB,IAAI,OAAO,CAAC;IAClD,OAAO,EAAE,OAAO,4BAA4B,EAAE,cAAc,CAAC;IAC7D,OAAO,EAAE,OAAO,4BAA4B,EAAE,UAAU,CAAC;IACzD,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC,CAKD"}
@@ -1,13 +1,13 @@
1
1
  export { LegacyAuthGrammarError, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations, resolveAuth, resolveAuthRef, resolveBackendAuthFor } from '../chunk-W75ASXH4.js';
2
2
  import '../chunk-4RUVG5GX.js';
3
+ import '../chunk-JKNWJ64A.js';
4
+ import '../chunk-O4JH3KUE.js';
3
5
  import '../chunk-K5GBV4SA.js';
4
6
  import '../chunk-KLNL7QHN.js';
5
7
  import '../chunk-SVNFQSU3.js';
6
8
  import '../chunk-GAZINYCS.js';
7
9
  import '../chunk-ZHLRRT5D.js';
8
10
  import '../chunk-37JKX6D7.js';
9
- import '../chunk-JKNWJ64A.js';
10
- import '../chunk-O4JH3KUE.js';
11
11
  import '../chunk-24UIWON4.js';
12
12
  import '../chunk-NSBPE2FW.js';
13
13
  //# sourceMappingURL=config.js.map
@@ -1,19 +1,19 @@
1
- export { AbstractConnector, ConnectorFieldMissingError, ConnectorManager, ConnectorStartupError, FlowAdapter, LogBuffer, ManagedGitconfigCollisionError, atomicReplaceCredential, buildConnectorPromptSection, buildSdkConnectorTools, createFsWatcher, createWorktree, defaultSpawn, findGitRoot, findMissingPackages, getConnector, installNpmPackages, isPackageResolvable, listConnectors, listWorktrees, registerBuiltinConnectors, registerConnector, removeMountBlock, renderCredentialHelperScript, tryGetConnector, worktreeRegistry, writeHelperScript, writeMountBlock } from '../chunk-EAJKY27M.js';
1
+ export { AbstractConnector, ConnectorFieldMissingError, ConnectorManager, ConnectorStartupError, FlowAdapter, LogBuffer, ManagedGitconfigCollisionError, atomicReplaceCredential, buildConnectorPromptSection, buildSdkConnectorTools, createFsWatcher, createWorktree, defaultSpawn, ensureFleetMounted, findGitRoot, findMissingPackages, getConnector, installNpmPackages, isFleetManaged, isPackageResolvable, listConnectors, listWorktrees, registerBuiltinConnectors, registerConnector, removeMountBlock, renderCredentialHelperScript, tryGetConnector, worktreeRegistry, writeHelperScript, writeMountBlock } from '../chunk-HSOEX3TA.js';
2
2
  export { EnvSecretProvider, ForgeSecretProvider, InMemorySecretProvider, LegacyAuthGrammarError, LockedSecretProvider, OAuthRequiredError, PreMintedSecretProvider, SecretProviderChain, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations, resolveAuth, resolveAuthRef, resolveBackendAuthFor } from '../chunk-W75ASXH4.js';
3
3
  export { PortPool, RcloneProcessManager, ensureDirMode } from '../chunk-6MB7CRME.js';
4
- export { renderOneDriveConfig, renderWebDAVConfig } from '../chunk-GCRKAFH7.js';
4
+ export { renderGoogleDriveConfig, renderOneDriveConfig, renderWebDAVConfig } from '../chunk-QAVZOJCV.js';
5
5
  import '../chunk-ICS76R4T.js';
6
6
  import '../chunk-GZWJGNNN.js';
7
7
  import '../chunk-FVTV7M76.js';
8
8
  import '../chunk-4RUVG5GX.js';
9
+ import '../chunk-JKNWJ64A.js';
10
+ import '../chunk-O4JH3KUE.js';
9
11
  import '../chunk-K5GBV4SA.js';
10
12
  import '../chunk-KLNL7QHN.js';
11
13
  import '../chunk-SVNFQSU3.js';
12
14
  import '../chunk-GAZINYCS.js';
13
15
  import '../chunk-ZHLRRT5D.js';
14
16
  import '../chunk-37JKX6D7.js';
15
- import '../chunk-JKNWJ64A.js';
16
- import '../chunk-O4JH3KUE.js';
17
17
  import '../chunk-24UIWON4.js';
18
18
  import '../chunk-NSBPE2FW.js';
19
19
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- export { renderOneDriveConfig, renderWebDAVConfig } from '../chunk-GCRKAFH7.js';
1
+ export { renderGoogleDriveConfig, renderOneDriveConfig, renderWebDAVConfig } from '../chunk-QAVZOJCV.js';
2
2
  import '../chunk-NSBPE2FW.js';
3
3
  //# sourceMappingURL=rclone-config.js.map
4
4
  //# sourceMappingURL=rclone-config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"connector-registry.d.ts","sourceRoot":"","sources":["../../../connectors/src/connector-registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAkCxE;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,GAAG,IAAI,CAE/E;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAQpD;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAGnE;AAED;;;;GAIG;AACH,wBAAgB,cAAc,IAAI,MAAM,EAAE,CAEzC;AAID;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,IAAI,IAAI,CAkChD"}
1
+ {"version":3,"file":"connector-registry.d.ts","sourceRoot":"","sources":["../../../connectors/src/connector-registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAmCxE;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,GAAG,IAAI,CAE/E;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAQpD;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAGnE;AAED;;;;GAIG;AACH,wBAAgB,cAAc,IAAI,MAAM,EAAE,CAEzC;AAID;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,IAAI,IAAI,CAmChD"}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Shared helpers for filesystem-face connectors that delegate to the
3
+ * host-side `RcloneFleetService` (Phase 7B fleet-managed mounts).
4
+ *
5
+ * When the `SKAILE_FLEET_MANAGED_MOUNTS` env var lists a connector's id, the
6
+ * host has already spawned a shared `rclone mount` and bind-mounted its FUSE
7
+ * mountpoint into the container at the driver's target dir. The driver
8
+ * short-circuits its own rclone spawn after verifying the bind is live.
9
+ *
10
+ * Used by every rclone-backed filesystem-face connector (sharepoint, webdav,
11
+ * googledrive, …). Lives here so a fix or timeout tweak lands in one place.
12
+ */
13
+ /**
14
+ * Return `true` when `connectorId` appears in the comma-separated
15
+ * `SKAILE_FLEET_MANAGED_MOUNTS` env var, indicating the host fleet owns this
16
+ * mount.
17
+ */
18
+ export declare function isFleetManaged(connectorId: string): boolean;
19
+ /**
20
+ * Sanity-check the host bind mount before declaring success. The host
21
+ * process should have the FUSE mount live before the container starts, so
22
+ * we just verify the directory exists and is readable. Polls briefly to
23
+ * absorb any startup race between container start and the kernel
24
+ * publishing the mountpoint inside the container.
25
+ *
26
+ * `readdir` surfaces FUSE-side errors that `stat` cannot (e.g. transport
27
+ * endpoint not connected if the host process died after bind).
28
+ */
29
+ export declare function ensureFleetMounted(dir: string, log: {
30
+ info: (msg: string, data?: object) => void;
31
+ }, options?: {
32
+ timeoutMs?: number;
33
+ pollIntervalMs?: number;
34
+ }): Promise<void>;
35
+ //# sourceMappingURL=fleet-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fleet-utils.d.ts","sourceRoot":"","sources":["../../../connectors/src/fleet-utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAQ3D;AAED;;;;;;;;;GASG;AACH,wBAAsB,kBAAkB,CACtC,GAAG,EAAE,MAAM,EACX,GAAG,EAAE;IAAE,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;CAAE,EACnD,OAAO,CAAC,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,cAAc,CAAC,EAAE,MAAM,CAAA;CAAE,GACxD,OAAO,CAAC,IAAI,CAAC,CAwBf"}
@@ -34,7 +34,8 @@ export { atomicReplaceCredential, ManagedGitconfigCollisionError, removeMountBlo
34
34
  export type { InstallOptions, InstallResult, SpawnFn, SpawnResult } from "./npm-installer.js";
35
35
  export { defaultSpawn, findMissingPackages, installNpmPackages, isPackageResolvable, } from "./npm-installer.js";
36
36
  export { PortPool } from "./port-pool.js";
37
- export { type RenderOneDriveConfigOptions, type RenderWebDAVConfigOptions, renderOneDriveConfig, renderWebDAVConfig, type WebDAVVendor, } from "./rclone-config/index.js";
37
+ export { ensureFleetMounted, isFleetManaged } from "./fleet-utils.js";
38
+ export { type GoogleDriveScope, type RenderGoogleDriveConfigOptions, type RenderOneDriveConfigOptions, type RenderWebDAVConfigOptions, renderGoogleDriveConfig, renderOneDriveConfig, renderWebDAVConfig, type WebDAVVendor, } from "./rclone-config/index.js";
38
39
  export type { RcloneHandle, RcloneSpawnConfig } from "./rclone-process-manager.js";
39
40
  export { RcloneProcessManager } from "./rclone-process-manager.js";
40
41
  export type { OAuthFlowRequest, OAuthSecretProvider, OAuthTokenBundle, PreMintedCredential, ProvisionableSecretProvider, SecretProvider, } from "./secrets.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../connectors/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EACV,yBAAyB,EACzB,gBAAgB,EAChB,sBAAsB,GACvB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,gDAAgD,CAAC;AAC7E,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,EAC9B,sBAAsB,EACtB,yBAAyB,EACzB,WAAW,EACX,cAAc,EACd,qBAAqB,GACtB,MAAM,aAAa,CAAC;AACrB,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,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F,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,YAAY,EACV,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,2BAA2B,EAC3B,cAAc,GACf,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,EACtB,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,aAAa,EACb,YAAY,EACZ,WAAW,EACX,UAAU,EACV,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../connectors/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EACV,yBAAyB,EACzB,gBAAgB,EAChB,sBAAsB,GACvB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,gDAAgD,CAAC;AAC7E,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,EAC9B,sBAAsB,EACtB,yBAAyB,EACzB,WAAW,EACX,cAAc,EACd,qBAAqB,GACtB,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AA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AgB,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,8BAA8B,EACnC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,uBAAuB,EACvB,oBAAoB,EACpB,kBAAkB,EAClB,KAAK,YAAY,GAClB,MAAM,0BAA0B,CAAC;AAClC,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,YAAY,EACV,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,2BAA2B,EAC3B,cAAc,GACf,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,EACtB,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,aAAa,EACb,YAAY,EACZ,WAAW,EACX,UAAU,EACV,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Render an rclone INI config snippet for a single Google Drive remote.
3
+ *
4
+ * Pure helper — no IO, no logging — so it can be unit-tested by string compare.
5
+ * The output is the full text for one `[<remoteName>]` section using rclone's
6
+ * `drive` backend. The OAuth `token` field is a single-line JSON literal as
7
+ * rclone expects, in the same shape used by the OneDrive renderer.
8
+ *
9
+ * Lives in `@skaile/workspaces/connectors/rclone-config` so both consumers can
10
+ * reach it: the in-container `googledrive` mount driver
11
+ * (`base-assets/connectors/googledrive/driver.ts`) and the platform-side
12
+ * `RcloneFleetService` (`platform/backend/libs/session/`) which renders the
13
+ * same INI on the host before spawning a shared rclone process.
14
+ */
15
+ /**
16
+ * Google Drive OAuth scope values accepted by rclone's `drive` backend.
17
+ * `drive` = full read/write, `drive.readonly` = read-only, `drive.file` =
18
+ * only files created/opened by the app, `drive.appfolder` = the app's hidden
19
+ * data folder, `drive.metadata.readonly` = metadata only.
20
+ * @docLink packages/connectors/api-reference#google-drive-scope
21
+ */
22
+ export type GoogleDriveScope = "drive" | "drive.readonly" | "drive.file" | "drive.appfolder" | "drive.metadata.readonly";
23
+ /**
24
+ * Options for `renderGoogleDriveConfig`. Carries OAuth token, optional client
25
+ * credentials, optional scope and root/shared-drive restrictions.
26
+ * @docLink packages/connectors/api-reference#render-google-drive-config-options
27
+ */
28
+ export interface RenderGoogleDriveConfigOptions {
29
+ /** The rclone remote section name (e.g. `skaile-gdrive`). */
30
+ remoteName: string;
31
+ /** Current OAuth access token. */
32
+ accessToken: string;
33
+ /** Long-lived refresh token (embedded in the rclone `token` JSON field). */
34
+ refreshToken?: string | null;
35
+ /** Expiry of the access token as a Unix timestamp in milliseconds. */
36
+ expiresAtMs?: number | null;
37
+ /** OAuth client (application) ID. */
38
+ clientId?: string | null;
39
+ /** OAuth client secret. */
40
+ clientSecret?: string | null;
41
+ /** OAuth scope. Defaults to `"drive"` (full access). */
42
+ scope?: GoogleDriveScope;
43
+ /** Optional Drive folder ID to mount as the remote root. */
44
+ rootFolderId?: string | null;
45
+ /** Optional Shared Drive (Team Drive) ID. */
46
+ teamDrive?: string | null;
47
+ /** Optional path to a service account JSON file (used instead of OAuth). */
48
+ serviceAccountFile?: string | null;
49
+ }
50
+ /**
51
+ * Render an rclone INI config section for a Google Drive remote. Pure — no IO, no side effects.
52
+ * The `token` field is serialised as a single-line JSON literal as rclone expects.
53
+ * All interpolated values are stripped of CR/LF to prevent INI injection.
54
+ * @param opts - Remote name, OAuth token, optional client credentials and scope/root restrictions.
55
+ * @returns Full INI text for one `[<remoteName>]` rclone section.
56
+ * @docLink packages/connectors/api-reference#render-google-drive-config
57
+ */
58
+ export declare function renderGoogleDriveConfig(opts: RenderGoogleDriveConfigOptions): string;
59
+ //# sourceMappingURL=googledrive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"googledrive.d.ts","sourceRoot":"","sources":["../../../../connectors/src/rclone-config/googledrive.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GACxB,OAAO,GACP,gBAAgB,GAChB,YAAY,GACZ,iBAAiB,GACjB,yBAAyB,CAAC;AAE9B;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC7C,6DAA6D;IAC7D,UAAU,EAAE,MAAM,CAAC;IACnB,kCAAkC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,4EAA4E;IAC5E,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,sEAAsE;IACtE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,qCAAqC;IACrC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,2BAA2B;IAC3B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,wDAAwD;IACxD,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,4DAA4D;IAC5D,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,4EAA4E;IAC5E,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACpC;AAID;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,8BAA8B,GAAG,MAAM,CA0BpF"}
@@ -3,6 +3,7 @@
3
3
  * `[remote]` section per backend. Consumed by both the in-container mount
4
4
  * drivers and the platform-side fleet service.
5
5
  */
6
+ export { type GoogleDriveScope, type RenderGoogleDriveConfigOptions, renderGoogleDriveConfig, } from "./googledrive.js";
6
7
  export { type RenderOneDriveConfigOptions, renderOneDriveConfig } from "./onedrive.js";
7
8
  export { type RenderWebDAVConfigOptions, renderWebDAVConfig, type WebDAVVendor, } from "./webdav.js";
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../connectors/src/rclone-config/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,KAAK,2BAA2B,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AACvF,OAAO,EACL,KAAK,yBAAyB,EAC9B,kBAAkB,EAClB,KAAK,YAAY,GAClB,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../connectors/src/rclone-config/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,8BAA8B,EACnC,uBAAuB,GACxB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,KAAK,2BAA2B,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AACvF,OAAO,EACL,KAAK,yBAAyB,EAC9B,kBAAkB,EAClB,KAAK,YAAY,GAClB,MAAM,aAAa,CAAC"}
@@ -39,6 +39,7 @@ export interface RenderOneDriveConfigOptions {
39
39
  /**
40
40
  * Render an rclone INI config section for a OneDrive / SharePoint remote. Pure — no IO, no side effects.
41
41
  * The `token` field is serialised as a single-line JSON literal as rclone expects.
42
+ * All interpolated values are stripped of CR/LF to prevent INI injection.
42
43
  * @param opts - Remote name, OAuth token, drive ID, and optional tenant/client credentials.
43
44
  * @returns Full INI text for one `[<remoteName>]` rclone section.
44
45
  * @docLink packages/connectors/api-reference#render-one-drive-config
@@ -1 +1 @@
1
- {"version":3,"file":"onedrive.d.ts","sourceRoot":"","sources":["../../../../connectors/src/rclone-config/onedrive.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C,iEAAiE;IACjE,UAAU,EAAE,MAAM,CAAC;IACnB,kCAAkC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,4EAA4E;IAC5E,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,sEAAsE;IACtE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,2BAA2B;IAC3B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,qEAAqE;IACrE,OAAO,EAAE,MAAM,CAAC;IAChB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,iBAAiB,CAAC;CACzD;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,2BAA2B,GAAG,MAAM,CAqB9E"}
1
+ {"version":3,"file":"onedrive.d.ts","sourceRoot":"","sources":["../../../../connectors/src/rclone-config/onedrive.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C,iEAAiE;IACjE,UAAU,EAAE,MAAM,CAAC;IACnB,kCAAkC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,4EAA4E;IAC5E,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,sEAAsE;IACtE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,2BAA2B;IAC3B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,qEAAqE;IACrE,OAAO,EAAE,MAAM,CAAC;IAChB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,iBAAiB,CAAC;CACzD;AAID;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,2BAA2B,GAAG,MAAM,CAqB9E"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Strip CR/LF from a value before interpolating it into an rclone INI line.
3
+ * Without this, a value containing `\n` would smuggle an extra `key = ...`
4
+ * pair — or even a new `[section]` — into the rendered config.
5
+ *
6
+ * Used by every renderer in `@skaile/workspaces/connectors/rclone-config`.
7
+ */
8
+ export declare function sanitizeIniValue(value: string): string;
9
+ //# sourceMappingURL=sanitize.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sanitize.d.ts","sourceRoot":"","sources":["../../../../connectors/src/rclone-config/sanitize.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEtD"}
@@ -41,6 +41,7 @@ export interface RenderWebDAVConfigOptions {
41
41
  /**
42
42
  * Render an rclone INI config section for a WebDAV remote. Pure — no IO, no side effects.
43
43
  * The `obscuredPassword` field must already have been processed through `rclone obscure`.
44
+ * All interpolated values are stripped of CR/LF to prevent INI injection.
44
45
  * @param opts - Remote name, URL, vendor, and credentials.
45
46
  * @returns Full INI text for one `[<remoteName>]` rclone section.
46
47
  * @docLink packages/connectors/api-reference#render-web-dav-config
@@ -1 +1 @@
1
- {"version":3,"file":"webdav.d.ts","sourceRoot":"","sources":["../../../../connectors/src/rclone-config/webdav.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;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yBAAyB,GAAG,MAAM,CAW1E"}
@@ -1,12 +1,12 @@
1
1
  export { ALL_PROVIDERS, SETTINGS_DEFAULTS, WorkspaceYamlEditor, applyPatch, buildLockFile, computeHash, detectEnvApiKeys, extractForPatch, generatePatch, globalSettingsPath, listPatches, loadSettings, mapLegacyFields, maskApiKey, migrateSettings, portableSpawn, portableSpawnSync, projectSettingsPath, providerEnvKey, readLock, readPatch, resolveAllKeys, resolveApiKey, resolveSettings, savePatch, saveSettings, verifyLock, walkForSettings, writeLock } from '../chunk-4RUVG5GX.js';
2
+ export { deployedBase, deployedDir, isDeployed } from '../chunk-JKNWJ64A.js';
3
+ export { DRIVER_TARGETS, SUPPORTED_DRIVER_TARGETS } from '../chunk-O4JH3KUE.js';
2
4
  export { DRIVER_DEFAULTS, resolveDriverPaths } from '../chunk-K5GBV4SA.js';
3
5
  export { detectAiResources, detectDomains, detectMonorepoRoot } from '../chunk-KLNL7QHN.js';
4
6
  export { BASE_ASSETS_REPO_NAME, resolveBaseAssetsRoot, resolveRuntimeAssets } from '../chunk-SVNFQSU3.js';
5
7
  export { COMPACTION_DEFAULTS, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, checkRepoStatus, checkoutPin, cloneRepo, ensureRepo, findWorkspaceRoot, getGlobalCacheDir, getRepoCommit, linkRepo, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, mergeSkWorkspaceConfigs, pullRepo, readLinks, resolveAgentDir, resolveAll, resolveAsset, resolveSkWorkspaceConfig, saveSkWorkspaceConfig, scanRepo, unlinkRepo, validateAssetRecipeAttr, workspaceConfigFilename, writeLinks } from '../chunk-GAZINYCS.js';
6
8
  export { fromAgentMd, fromAgentYaml, fromBundleYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromMcpServerMd, fromPromptMd, fromSkillMd, parseFrontmatter, parseRequires, scanDirectory, walkDir } from '../chunk-ZHLRRT5D.js';
7
9
  export { ASSET_KINDS, INDIVIDUAL_KINDS, assetRefToDep, assetRefToStr, depToStr, entryFromRaw, entryToRaw, parseAssetRef, parseDep, repositoryFromRaw, repositoryToRaw } from '../chunk-37JKX6D7.js';
8
- export { deployedBase, deployedDir, isDeployed } from '../chunk-JKNWJ64A.js';
9
- export { DRIVER_TARGETS, SUPPORTED_DRIVER_TARGETS } from '../chunk-O4JH3KUE.js';
10
10
  export { LogStore, LogStoreDisabledError, NoOpSink, OnLogBridgeSink, SqliteSink, StdoutSink, WsLogSink, createLogStoreFromConfig, createLogger, getLogStore, normalizeError, openSqlite, registerLogStore, resetLogStore, resolveLogStoreConfig, sanitizeData } from '../chunk-24UIWON4.js';
11
11
  import '../chunk-NSBPE2FW.js';
12
12
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- export { CatalogCache, CatalogConfigSchema, CatalogHttpError, DuplicateLibraryNameError, DuplicateSubscriptionError, GitSyncDriver, InstanceHasConsumersError, InstanceNotFoundError, InterpolationError, KNOWN_ASSET_KINDS, KnowledgeManifestSchema, LIBRARY_BACKENDS, LIBRARY_OWNERSHIPS, LIBRARY_STRUCTURES, LOCAL_CATALOG_URL, LibraryConfigSchema, LibraryError, LibraryInstanceRefSchema, LibrarySectionSchema, LibrarySyncError, LocalCatalogSource, LocalLibrary, LocalSyncDriver, LockFileSchema, LockSubscriptionSchema, OfflineError, OperationNotPermittedError, PIN_POLICIES, PinPolicySchema, PresetAppliedSchema, PresetExpandedSchema, RemoteCatalogSource, RequiresEdgeSchema, RestCatalogSource, SidecarGit, SkaileConfigSchema, SourceNotFoundError, StoreSyncDriver, SubscriptionNotFoundError, TarballHashMismatchError, UserLibraryManager, UserLibraryNotFoundError, WorkspaceConfigV2Schema, applyNonStructuralUpgrade, applyPreset, applyPresetFromData, classifyRef, createEmptyLockFile, deriveSlug, detectChanges, detectNestedPresetRefs, detectWorkspaceVersion, evaluateUpgrade, extractLibraryInstanceId, extractReferencedKeys, filterKey, getConfigDefaults, getDefaultValue, getSidecarRoot, hasInterpolationTokens, installFromManifest, interpolate, isLocalCatalogUrl, isSecretPlaceholder, knowledgeKindProvider, listSidecarSlugsOnDisk, loadLockFile, loadWorkspaceV2, migrateWorkspaceConfig, parsePreset, parsePresetYaml, parseWorkspaceV2, projectConfigPath, queryInstancePickerChoices, resolveAllItems, resolveConfig, resolveItem, resolveLibraryDir, resolvePin, resolveSidecarPaths, saveConfig, saveLockFile, saveWorkspaceV2, sha256Hex, storeSecrets, trpcGetUrl, userConfigPath, validateAllPlaceholders, validateKnowledge, validateNestingDepth, validatePlaceholder, writeManifestIfMissing } from '../chunk-42OQF7UU.js';
1
+ export { CatalogCache, CatalogConfigSchema, CatalogHttpError, DuplicateLibraryNameError, DuplicateSubscriptionError, GitSyncDriver, InstanceHasConsumersError, InstanceNotFoundError, InterpolationError, KNOWN_ASSET_KINDS, KnowledgeManifestSchema, LIBRARY_BACKENDS, LIBRARY_OWNERSHIPS, LIBRARY_STRUCTURES, LOCAL_CATALOG_URL, LibraryConfigSchema, LibraryError, LibraryInstanceRefSchema, LibraryManager, LibrarySectionSchema, LibrarySyncError, LocalCatalogSource, LocalIndex, LocalSyncDriver, LockFileSchema, LockSubscriptionSchema, OfflineError, OperationNotPermittedError, PIN_POLICIES, PinPolicySchema, PresetAppliedSchema, PresetExpandedSchema, RemoteCatalogSource, RequiresEdgeSchema, RestCatalogSource, SidecarGit, SkaileConfigSchema, SourceNotFoundError, SubscriptionNotFoundError, TarballHashMismatchError, UserLibraryNotFoundError, WorkspaceConfigV2Schema, applyNonStructuralUpgrade, applyPreset, applyPresetFromData, classifyRef, createEmptyLockFile, deriveSlug, detectChanges, detectNestedPresetRefs, detectWorkspaceVersion, evaluateUpgrade, extractLibraryInstanceId, extractReferencedKeys, filterKey, getConfigDefaults, getDefaultValue, getSidecarRoot, getStoreManifestsDir, getStoreRoot, hasInterpolationTokens, installFromManifest, interpolate, isLocalCatalogUrl, isSecretPlaceholder, knowledgeKindProvider, listSidecarSlugsOnDisk, loadLockFile, loadWorkspaceV2, migrateSidecarsToStoreIfNeeded, migrateWorkspaceConfig, parsePreset, parsePresetYaml, parseWorkspaceV2, projectConfigPath, queryInstancePickerChoices, resolveAllItems, resolveConfig, resolveIndexPath, resolveItem, resolveLibraryDir, resolvePin, resolveSidecarPaths, saveConfig, saveLockFile, saveWorkspaceV2, sha256Hex, skaileHomeDir, storeSecrets, trpcGetUrl, userConfigPath, validateAllPlaceholders, validateKnowledge, validateNestingDepth, validatePlaceholder, writeManifestIfMissing } from '../chunk-2NIOMFSQ.js';
2
2
  export { GITHUB_PAT_ENV, fetchAssetFilesFromGitHub } from '../chunk-R7FOF242.js';
3
3
  import '../chunk-GKIA2PU5.js';
4
4
  import '../chunk-OKRUTSG7.js';
@@ -125,15 +125,24 @@ export interface ResolvedSkaileConfig {
125
125
  pin_policy: "exact" | "minor-track" | "latest";
126
126
  };
127
127
  }
128
+ /** Root of the per-user skaile data directory (`~/.skaile`). */
129
+ export declare function skaileHomeDir(): string;
128
130
  /**
129
- * Resolve the active library directory considering env vars.
131
+ * Resolve the active library checkouts directory.
130
132
  *
131
- * Order: SKAILE_LIBRARIES_DIR > SKAILE_LIBRARY_DIR (legacy, deprecation
132
- * warning) > defaultLibraryDir().
133
+ * `SKAILE_LIBRARIES_DIR` overrides the default `~/.skaile/libraries`.
133
134
  *
134
135
  * @docLink packages/library/api-reference#config
135
136
  */
136
137
  export declare function resolveLibraryDir(): string;
138
+ /**
139
+ * Resolve the absolute path to the local index SQLite file.
140
+ *
141
+ * `SKAILE_INDEX_PATH` overrides the default `~/.skaile/index.db`.
142
+ *
143
+ * @docLink packages/library/api-reference#config
144
+ */
145
+ export declare function resolveIndexPath(): string;
137
146
  /**
138
147
  * Return the built-in default configuration values.
139
148
  *
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../library/src/config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAWzB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D;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACtE,OAAO,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,OAAO,GAAG,aAAa,GAAG,QAAQ,CAAA;KAAE,CAAC;CAC1E;AAMD,gEAAgE;AAChE,wBAAgB,aAAa,IAAI,MAAM,CAEtC;AAUD;;;;;;GAMG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CAG1C;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,IAAI,MAAM,CAGzC;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,IAAI,oBAAoB,CAKxD;AAQD;;;;GAIG;AACH,wBAAgB,cAAc,IAAI,MAAM,CAEvC;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAE5D;AAgDD;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,+DAA+D;IAC/D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAClC,oDAAoD;IACpD,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,IAAI,CAAC,EAAE,oBAAoB,GAAG,oBAAoB,CAiC/E;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,YAAY,CAAC,GAAG,IAAI,CAMhF"}
@@ -1,19 +1,18 @@
1
- export { type IAssetIndex, type ILibrary, // deprecated alias
2
- type AssetKind, type KnownAssetKind, KNOWN_ASSET_KINDS, type PinPolicy, PIN_POLICIES, type SourceType, type Source, type AddSourceInput, type SyncResult, type AssetDefinition, type AssetFilter, type Instance, type CreateInstanceInput, type UpdateInstanceInput, type InstanceFilter, type Subscription, LibraryError, SourceNotFoundError, InstanceNotFoundError, SubscriptionNotFoundError, DuplicateSubscriptionError, InstanceHasConsumersError, } from "./library.js";
3
- export { LocalLibrary } from "./local/library.js";
4
- export type { LocalLibraryOptions } from "./local/library.js";
5
- export { UserLibraryManager } from "./local/user-library-manager.js";
1
+ export { type IAssetIndex, type AssetKind, type KnownAssetKind, KNOWN_ASSET_KINDS, type PinPolicy, PIN_POLICIES, type SyncResult, type AssetDefinition, type AssetFilter, type Instance, type CreateInstanceInput, type UpdateInstanceInput, type InstanceFilter, type Subscription, LibraryError, SourceNotFoundError, InstanceNotFoundError, SubscriptionNotFoundError, DuplicateSubscriptionError, InstanceHasConsumersError, } from "./library.js";
2
+ export { LocalIndex } from "./local/library.js";
3
+ export type { LocalIndexOptions } from "./local/library.js";
4
+ export { getStoreRoot, getStoreManifestsDir, migrateSidecarsToStoreIfNeeded, } from "./local/store-paths.js";
5
+ export { LibraryManager } from "./local/library-manager.js";
6
6
  export { LocalSyncDriver } from "./sync/local-driver.js";
7
7
  export { GitSyncDriver } from "./sync/git-driver.js";
8
- export { StoreSyncDriver } from "./sync/store-driver.js";
9
8
  export type { LibrarySyncDriver } from "./sync/driver.js";
10
- export { type UserLibrary, type AddLibraryInput, type UpdateLibraryInput, type LibraryBackend, type LibraryOwnership, type LibraryStructure, type BackendConfig, type LocalBackendConfig, type GitBackendConfig, type StoreBackendConfig, type SyncStatus, type LocalChanges, type RemoteChanges, type ConflictDescriptor, type PullResult, type PushResult, type ProposeOpts, type ProposeResult, type PublishOpts, type PublishResult, type PullOpts, type PushOpts, type AssetRef, LIBRARY_BACKENDS, LIBRARY_OWNERSHIPS, LIBRARY_STRUCTURES, LibrarySyncError, OperationNotPermittedError, DuplicateLibraryNameError, UserLibraryNotFoundError, } from "./user-library.js";
9
+ export { type Library, type AddLibraryInput, type UpdateLibraryInput, type LibraryBackend, type LibraryOwnership, type LibraryStructure, type BackendConfig, type LocalBackendConfig, type GitBackendConfig, type SyncStatus, type LocalChanges, type RemoteChanges, type ConflictDescriptor, type PullResult, type PushResult, type ProposeOpts, type ProposeResult, type PublishOpts, type PublishResult, type PullOpts, type PushOpts, type AssetRef, LIBRARY_BACKENDS, LIBRARY_OWNERSHIPS, LIBRARY_STRUCTURES, LibrarySyncError, OperationNotPermittedError, DuplicateLibraryNameError, UserLibraryNotFoundError, } from "./user-library.js";
11
10
  export { getSidecarRoot, resolveSidecarPaths, deriveSlug, listSidecarSlugsOnDisk, } from "./local/sidecar-paths.js";
12
11
  export type { SidecarPaths } from "./local/sidecar-paths.js";
13
12
  export { SidecarGit } from "./local/sidecar-git.js";
14
13
  export type { GitInvocationResult, SidecarCommitOptions } from "./local/sidecar-git.js";
15
14
  export { PinPolicySchema, LibrarySectionSchema, LibraryInstanceRefSchema, PresetAppliedSchema, WorkspaceConfigV2Schema, LockFileSchema, LockSubscriptionSchema, RequiresEdgeSchema, PresetExpandedSchema, type LibrarySection, type LibraryInstanceRef, type PresetApplied, type WorkspaceConfigV2, type LockSubscription, type LockFile, parseWorkspaceV2, loadWorkspaceV2, saveWorkspaceV2, loadLockFile, saveLockFile, createEmptyLockFile, detectWorkspaceVersion, } from "./workspace-config.js";
16
- export { CatalogConfigSchema, LibraryConfigSchema, SkaileConfigSchema, LOCAL_CATALOG_URL, isLocalCatalogUrl, type CatalogConfig, type LibraryConfig, type SkaileConfig, type ResolvedSkaileConfig, type ResolveConfigOptions, getConfigDefaults, userConfigPath, projectConfigPath, resolveConfig, resolveLibraryDir, saveConfig, } from "./config.js";
15
+ export { CatalogConfigSchema, LibraryConfigSchema, SkaileConfigSchema, LOCAL_CATALOG_URL, isLocalCatalogUrl, type CatalogConfig, type LibraryConfig, type SkaileConfig, type ResolvedSkaileConfig, type ResolveConfigOptions, getConfigDefaults, userConfigPath, projectConfigPath, resolveConfig, resolveIndexPath, resolveLibraryDir, skaileHomeDir, saveConfig, } from "./config.js";
17
16
  export { writeManifestIfMissing } from "./sync/manifest-writeback.js";
18
17
  export type { WriteManifestInput, WriteManifestResult } from "./sync/manifest-writeback.js";
19
18
  export { migrateWorkspaceConfig, type MigrationResult } from "./migration.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../library/src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,QAAQ,EAAE,mBAAmB;AAClC,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,iBAAiB,EACjB,KAAK,SAAS,EACd,YAAY,EACZ,KAAK,UAAU,EACf,KAAK,MAAM,EACX,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,YAAY,EACZ,mBAAmB,EACnB,qBAAqB,EACrB,yBAAyB,EACzB,0BAA0B,EAC1B,yBAAyB,GAC1B,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAG9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAG1D,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,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AAO,EAEL,WAAW,EACX,eAAe,EACf,sBAAsB,EACtB,oBAAoB,EAEpB,WAAW,EACX,wBAAwB,EACxB,WAAW,EACX,eAAe,EAEf,mBAAmB,EACnB,uBAAuB,EACvB,0BAA0B,EAC1B,eAAe,EACf,mBAAmB,EAEnB,WAAW,EACX,YAAY,EACZ,sBAAsB,EACtB,qBAAqB,EACrB,kBAAkB,EAElB,WAAW,EACX,mBAAmB,EAEnB,aAAa,EACb,eAAe,EACf,yBAAyB,GAC1B,MAAM,mBAAmB,CAAC;AAE3B,YAAY,EACV,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,mBAAmB,EACnB,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,2BAA2B,EAC3B,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,SAAS,EACT,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,aAAa,GACd,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../library/src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,iBAAiB,EACjB,KAAK,SAAS,EACd,YAAY,EACZ,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,YAAY,EACZ,mBAAmB,EACnB,qBAAqB,EACrB,yBAAyB,EACzB,0BAA0B,EAC1B,yBAAyB,GAC1B,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,YAAY,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAG5D,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,8BAA8B,GAC/B,MAAM,wBAAwB,CAAC;AAGhC,OA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