@mastra/e2b 0.3.2-alpha.0 → 0.3.3-alpha.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 +29 -0
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/sandbox/mounts/gcs.d.ts +10 -0
- package/dist/sandbox/mounts/gcs.d.ts.map +1 -1
- package/package.json +8 -8
|
@@ -12,9 +12,19 @@ export interface E2BGCSMountConfig extends FilesystemMountConfig {
|
|
|
12
12
|
bucket: string;
|
|
13
13
|
/** Service account key JSON (optional - omit for public buckets) */
|
|
14
14
|
serviceAccountKey?: string;
|
|
15
|
+
/**
|
|
16
|
+
* GCS key prefix to scope the mount (without trailing slash).
|
|
17
|
+
* When set, gcsfuse uses --only-dir to mount only this subdirectory, so
|
|
18
|
+
* sandbox paths map directly to prefixed GCS keys.
|
|
19
|
+
*/
|
|
20
|
+
prefix?: string;
|
|
15
21
|
}
|
|
16
22
|
/**
|
|
17
23
|
* Mount a GCS bucket using gcsfuse.
|
|
24
|
+
*
|
|
25
|
+
* When `config.prefix` is set, gcsfuse uses `--only-dir` to mount only that
|
|
26
|
+
* subdirectory, aligning sandbox paths with the prefixed GCS keys (mirrors the
|
|
27
|
+
* S3 `bucket:/prefix` and Azure `--subdirectory` mounts).
|
|
18
28
|
*/
|
|
19
29
|
export declare function mountGCS(mountPath: string, config: E2BGCSMountConfig, ctx: MountContext): Promise<void>;
|
|
20
30
|
//# sourceMappingURL=gcs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gcs.d.ts","sourceRoot":"","sources":["../../../src/sandbox/mounts/gcs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"gcs.d.ts","sourceRoot":"","sources":["../../../src/sandbox/mounts/gcs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAIpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C;;;;;GAKG;AACH,MAAM,WAAW,iBAAkB,SAAQ,qBAAqB;IAC9D,IAAI,EAAE,KAAK,CAAC;IACZ,sBAAsB;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,oEAAoE;IACpE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;GAMG;AACH,wBAAsB,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,iBAAiB,EAAE,GAAG,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CA6E7G"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/e2b",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3-alpha.0",
|
|
4
4
|
"description": "E2B cloud sandbox provider for Mastra workspaces",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"@vitest/coverage-v8": "4.1.5",
|
|
28
28
|
"@vitest/ui": "4.1.5",
|
|
29
29
|
"dotenv": "^17.3.1",
|
|
30
|
-
"eslint": "^10.
|
|
30
|
+
"eslint": "^10.4.1",
|
|
31
31
|
"tsup": "^8.5.1",
|
|
32
32
|
"typescript": "^6.0.3",
|
|
33
33
|
"vitest": "4.1.5",
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@
|
|
37
|
-
"@
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
34
|
+
"@mastra/core": "1.42.0-alpha.0",
|
|
35
|
+
"@mastra/gcs": "0.2.2-alpha.0",
|
|
36
|
+
"@mastra/s3": "0.5.2-alpha.0",
|
|
37
|
+
"@internal/workspace-test-utils": "0.0.47",
|
|
38
|
+
"@internal/types-builder": "0.0.78",
|
|
39
|
+
"@internal/lint": "0.0.103"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@mastra/core": ">=1.12.0-0 <2.0.0-0"
|