@mastra/daytona 0.5.2-alpha.0 → 0.5.2
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 +20 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @mastra/daytona
|
|
2
2
|
|
|
3
|
+
## 0.5.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Pass `--implicit-dirs` to gcsfuse in Daytona GCS mounts. Without it, objects written directly to the bucket via the GCS API (no placeholder "directory" object) are unreachable in the mount — not listed and not readable by full path. This is common when the mount reads bucket contents produced by another process (SDK uploads, other services, gsutil). ([#19003](https://github.com/mastra-ai/mastra/pull/19003))
|
|
8
|
+
|
|
9
|
+
- Fixed Daytona GCS mounts ignoring the `prefix` option. Mounting a bucket with a prefix now scopes the mount to that subdirectory via gcsfuse `--only-dir`, so writes land under the prefix and sandboxes mounting the same bucket with different prefixes are isolated from each other. ([#18963](https://github.com/mastra-ai/mastra/pull/18963))
|
|
10
|
+
|
|
11
|
+
Before, every GCS mount used the bucket root regardless of prefix:
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
await sandbox.mount(new GCSFilesystem({ bucket: 'my-bucket', prefix: 'a/b/threadA', credentials }), '/gcs-data');
|
|
15
|
+
await sandbox.executeCommand('bash', ['-lc', 'echo hi > /gcs-data/probe.txt']);
|
|
16
|
+
// Before: object lands at gs://my-bucket/probe.txt
|
|
17
|
+
// After: object lands at gs://my-bucket/a/b/threadA/probe.txt
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [[`e900f25`](https://github.com/mastra-ai/mastra/commit/e900f25dfe2c9237f15b26cb109ac55aa9de3000), [`e8eaf3a`](https://github.com/mastra-ai/mastra/commit/e8eaf3aea09d51c131b5d369aee459442f416efc), [`d1c930f`](https://github.com/mastra-ai/mastra/commit/d1c930f713d1de09d5f3cd665cb79a8b7ebd7ec7), [`02634f7`](https://github.com/mastra-ai/mastra/commit/02634f700051e014a125d0d10165e3c9b8414e95), [`a940148`](https://github.com/mastra-ai/mastra/commit/a9401483e1bfe85c18a6e73d33c5949239d65a92)]:
|
|
21
|
+
- @mastra/core@1.50.1
|
|
22
|
+
|
|
3
23
|
## 0.5.2-alpha.0
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/daytona",
|
|
3
|
-
"version": "0.5.2
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "Daytona 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": "^6.0.3",
|
|
33
33
|
"vitest": "4.1.9",
|
|
34
|
-
"@internal/
|
|
35
|
-
"@internal/
|
|
34
|
+
"@internal/lint": "0.0.113",
|
|
35
|
+
"@internal/types-builder": "0.0.88",
|
|
36
|
+
"@internal/workspace-test-utils": "0.0.57",
|
|
37
|
+
"@mastra/core": "1.50.1",
|
|
36
38
|
"@mastra/gcs": "0.3.0",
|
|
37
|
-
"@mastra/
|
|
38
|
-
"@mastra/s3": "0.6.0",
|
|
39
|
-
"@internal/lint": "0.0.112"
|
|
39
|
+
"@mastra/s3": "0.6.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@mastra/core": ">=1.12.0-0 <2.0.0-0"
|