@mastra/gcs 0.3.3-alpha.0 → 0.3.3-alpha.1
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/README.md +8 -20
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @mastra/gcs
|
|
2
2
|
|
|
3
|
-
Google Cloud Storage filesystem
|
|
3
|
+
`@mastra/gcs` mounts a Google Cloud Storage bucket as the filesystem for a Mastra workspace. Use it when agents need durable, shared file access across processes or deployments instead of a local filesystem.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -32,27 +32,15 @@ const agent = new Agent({
|
|
|
32
32
|
});
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
## Documentation
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
- [Google Cloud Storage integration guide](https://mastra.ai/integrations/file-storage/google-cloud-storage)
|
|
38
|
+
- [Workspace documentation](https://mastra.ai/docs/mastra-platform/workspaces)
|
|
38
39
|
|
|
39
|
-
|
|
40
|
-
import { Workspace } from '@mastra/core/workspace';
|
|
41
|
-
import { GCSFilesystem } from '@mastra/gcs';
|
|
42
|
-
import { E2BSandbox } from '@mastra/e2b';
|
|
40
|
+
## Changelog
|
|
43
41
|
|
|
44
|
-
|
|
45
|
-
mounts: {
|
|
46
|
-
'/my-bucket': new GCSFilesystem({
|
|
47
|
-
bucket: 'my-gcs-bucket',
|
|
48
|
-
projectId: 'my-project-id',
|
|
49
|
-
credentials: JSON.parse(process.env.GCS_SERVICE_ACCOUNT_KEY),
|
|
50
|
-
}),
|
|
51
|
-
},
|
|
52
|
-
sandbox: new E2BSandbox(),
|
|
53
|
-
});
|
|
54
|
-
```
|
|
42
|
+
See the [package changelog](https://github.com/mastra-ai/mastra/blob/main/workspaces/gcs/CHANGELOG.md) for version history and release notes.
|
|
55
43
|
|
|
56
|
-
##
|
|
44
|
+
## Support
|
|
57
45
|
|
|
58
|
-
|
|
46
|
+
We have an [open community Discord](https://discord.gg/mastra-ai). Come and say hello and let us know if you have any questions or need any help getting things running.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/gcs",
|
|
3
|
-
"version": "0.3.3-alpha.
|
|
3
|
+
"version": "0.3.3-alpha.1",
|
|
4
4
|
"description": "Google Cloud Storage filesystem provider for Mastra workspaces",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"tsdown": "0.22.9",
|
|
32
32
|
"typescript": "^7.0.2",
|
|
33
33
|
"vitest": "4.1.10",
|
|
34
|
+
"@internal/types-builder": "0.0.104",
|
|
34
35
|
"@internal/lint": "0.0.129",
|
|
35
|
-
"@mastra/core": "1.64.0-alpha.
|
|
36
|
-
"@internal/workspace-test-utils": "0.0.73"
|
|
37
|
-
"@internal/types-builder": "0.0.104"
|
|
36
|
+
"@mastra/core": "1.64.0-alpha.7",
|
|
37
|
+
"@internal/workspace-test-utils": "0.0.73"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@mastra/core": ">=1.4.0-0 <2.0.0-0"
|