@mastra/e2b 0.3.2 → 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.
@@ -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;AAGpE,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;CAC5B;AAED;;GAEG;AACH,wBAAsB,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,iBAAiB,EAAE,GAAG,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAyE7G"}
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.2",
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.2.1",
30
+ "eslint": "^10.4.1",
31
31
  "tsup": "^8.5.1",
32
32
  "typescript": "^6.0.3",
33
33
  "vitest": "4.1.5",
34
- "@internal/lint": "0.0.100",
35
- "@internal/types-builder": "0.0.75",
36
- "@mastra/s3": "0.5.1",
37
- "@mastra/core": "1.38.0",
38
- "@internal/workspace-test-utils": "0.0.44",
39
- "@mastra/gcs": "0.2.1"
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"