@mastra/e2b 0.2.0-alpha.0 → 0.2.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 (2) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @mastra/e2b
2
2
 
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Added S3 prefix (subdirectory) mount support. You can now mount a specific folder within an S3 bucket instead of the entire bucket by setting the `prefix` option on your S3 filesystem. ([#15171](https://github.com/mastra-ai/mastra/pull/15171))
8
+
9
+ **Example:**
10
+
11
+ ```typescript
12
+ const fs = new S3Filesystem({
13
+ bucket: 'my-bucket',
14
+ region: 'us-east-1',
15
+ prefix: 'workspace/data',
16
+ accessKeyId: process.env.AWS_ACCESS_KEY_ID!,
17
+ secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY!,
18
+ });
19
+ ```
20
+
21
+ When mounted in a sandbox, only the contents under `workspace/data/` in the bucket will be visible at the mount path. This uses the s3fs `bucket:/path` syntax under the hood.
22
+
23
+ Closes #15147.
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies [[`f112db1`](https://github.com/mastra-ai/mastra/commit/f112db179557ae9b5a0f1d25dc47f928d7d61cd9), [`21d9706`](https://github.com/mastra-ai/mastra/commit/21d970604d89eee970cbf8013d26d7551aff6ea5), [`0a0aa94`](https://github.com/mastra-ai/mastra/commit/0a0aa94729592e99885af2efb90c56aaada62247), [`ed07df3`](https://github.com/mastra-ai/mastra/commit/ed07df32a9d539c8261e892fc1bade783f5b41a6), [`01a7d51`](https://github.com/mastra-ai/mastra/commit/01a7d513493d21562f677f98550f7ceb165ba78c)]:
28
+ - @mastra/core@1.27.0
29
+
3
30
  ## 0.2.0-alpha.0
4
31
 
5
32
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/e2b",
3
- "version": "0.2.0-alpha.0",
3
+ "version": "0.2.0",
4
4
  "description": "E2B cloud sandbox provider for Mastra workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -31,12 +31,12 @@
31
31
  "tsup": "^8.5.1",
32
32
  "typescript": "^5.9.3",
33
33
  "vitest": "4.1.4",
34
- "@internal/lint": "0.0.84",
35
- "@internal/types-builder": "0.0.59",
36
- "@internal/workspace-test-utils": "0.0.28",
34
+ "@internal/lint": "0.0.85",
35
+ "@internal/types-builder": "0.0.60",
36
+ "@mastra/core": "1.27.0",
37
37
  "@mastra/gcs": "0.2.0",
38
- "@mastra/s3": "0.4.0-alpha.0",
39
- "@mastra/core": "1.26.1-alpha.0"
38
+ "@internal/workspace-test-utils": "0.0.29",
39
+ "@mastra/s3": "0.4.0"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@mastra/core": ">=1.12.0-0 <2.0.0-0"