@sealant/sdk 0.27.0 → 0.28.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/dist/types.d.ts +9 -8
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -103,18 +103,19 @@ export interface WorkspaceCredentialsOptions {
|
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
105
|
* A workspace sourced from a CALLER-OWNED host directory instead of a fresh clone. The platform
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
106
|
+
* mounts `path` as the workspace working directory and treats it as caller-owned: writes persist
|
|
107
|
+
* across workspace stop/restart/expiry, and the path is never reprovisioned or deleted. In strict
|
|
108
|
+
* Docker volume mode this is the canonical absolute path visible inside the application and worker
|
|
109
|
+
* containers, not Docker's private host volume directory. When `path` is a linked Git worktree, the
|
|
110
|
+
* SDK also mounts its shared Git metadata at the absolute path named by the worktree's `.git`
|
|
111
|
+
* pointer. No repository data is copied into workspace-container-owned storage.
|
|
111
112
|
* The install must allowlist the path's root (`SEALANT_MOUNT_ALLOWED_STORE_ROOTS`); paths
|
|
112
113
|
* outside the allowlist are rejected at create. Credentials and dotfiles options compose
|
|
113
114
|
* unchanged. Clone-based workspaces remain the right shape for independent verification.
|
|
114
115
|
*/
|
|
115
116
|
export interface WorkspaceMountSource {
|
|
116
117
|
readonly kind: "mount";
|
|
117
|
-
/** Absolute, normalized
|
|
118
|
+
/** Absolute, normalized deployment path (no `..` segments); container-visible in volume mode. */
|
|
118
119
|
readonly path: string;
|
|
119
120
|
}
|
|
120
121
|
/**
|
|
@@ -127,7 +128,7 @@ export interface WorkspaceMountSource {
|
|
|
127
128
|
*/
|
|
128
129
|
export interface WorkspaceStandbySource {
|
|
129
130
|
readonly kind: "standby";
|
|
130
|
-
/** Absolute, normalized
|
|
131
|
+
/** Absolute, normalized deployment root (no `..` segments); container-visible in volume mode. */
|
|
131
132
|
readonly rootPath: string;
|
|
132
133
|
}
|
|
133
134
|
/**
|
|
@@ -139,7 +140,7 @@ export interface WorkspaceStandbySource {
|
|
|
139
140
|
* never reprovisioned, never cleaned.
|
|
140
141
|
*/
|
|
141
142
|
export interface WorkspaceExtraMount {
|
|
142
|
-
/** Absolute, normalized
|
|
143
|
+
/** Absolute, normalized deployment path (no `..` segments); container-visible in volume mode. */
|
|
143
144
|
readonly hostPath: string;
|
|
144
145
|
/** Absolute container path to mount at, outside the working directory (e.g. `/workspace/ref/x`). */
|
|
145
146
|
readonly mountPath: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sealant/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"description": "The fluent public SDK for Sealant — create a workspace, run a harness, replay the record.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@sealant/api-contracts": "^0.
|
|
29
|
+
"@sealant/api-contracts": "^0.28.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@effect/vitest": "4.0.0-beta.85",
|