@mastra/blaxel 0.9.0-alpha.0 → 0.9.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/README.md +7 -66
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -30,74 +30,15 @@ const agent = new Agent({
30
30
  });
31
31
  ```
32
32
 
33
- ### Configuration Options
34
-
35
- | Option | Type | Default | Description |
36
- | ---------- | ------------------------------------- | ---------------------------- | ------------------------------------------------------ |
37
- | `id` | `string` | auto-generated | Unique identifier for the sandbox instance |
38
- | `image` | `string` | `'blaxel/ts-app:latest'` | Docker image to use |
39
- | `memory` | `number` | `4096` | Memory allocation in MB |
40
- | `timeout` | `string` | `'5m'` | Sandbox TTL as a duration string (e.g. `'5m'`, `'1h'`) |
41
- | `region` | `string` | `BL_REGION` or `'auto'` | Blaxel region where the sandbox should be created |
42
- | `env` | `Record<string, string>` | — | Environment variables to set in the sandbox |
43
- | `labels` | `Record<string, string>` | — | Custom labels for the sandbox |
44
- | `runtimes` | `SandboxRuntime[]` | `['node', 'python', 'bash']` | Supported runtimes |
45
- | `ports` | `Array<{ name?, target, protocol? }>` | — | Ports to expose from the sandbox |
46
-
47
- ### Mounting Cloud Storage
48
-
49
- Blaxel sandboxes can mount S3 or GCS filesystems, making cloud storage accessible as a local directory inside the sandbox.
50
-
51
- #### S3
52
-
53
- ```typescript
54
- import { Workspace } from '@mastra/core/workspace';
55
- import { S3Filesystem } from '@mastra/s3';
56
- import { BlaxelSandbox } from '@mastra/blaxel';
57
-
58
- const workspace = new Workspace({
59
- mounts: {
60
- '/data': new S3Filesystem({
61
- bucket: 'my-bucket',
62
- region: 'us-east-1',
63
- accessKeyId: process.env.AWS_ACCESS_KEY_ID,
64
- secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY,
65
- }),
66
- },
67
- sandbox: new BlaxelSandbox(),
68
- });
69
- ```
70
-
71
- #### GCS
72
-
73
- ```typescript
74
- import { Workspace } from '@mastra/core/workspace';
75
- import { GCSFilesystem } from '@mastra/gcs';
76
- import { BlaxelSandbox } from '@mastra/blaxel';
77
-
78
- const workspace = new Workspace({
79
- mounts: {
80
- '/data': new GCSFilesystem({
81
- bucket: 'my-bucket',
82
- serviceAccountKey: process.env.GCS_SERVICE_ACCOUNT_KEY,
83
- }),
84
- },
85
- sandbox: new BlaxelSandbox(),
86
- });
87
- ```
33
+ ## Documentation
88
34
 
89
- ### Custom Images
35
+ - [Blaxel integration guide](https://mastra.ai/integrations/sandboxes/blaxel)
36
+ - [Workspace documentation](https://mastra.ai/docs/mastra-platform/workspaces)
90
37
 
91
- For advanced use cases, you can specify a custom Docker image:
38
+ ## Changelog
92
39
 
93
- ```typescript
94
- const workspace = new Workspace({
95
- sandbox: new BlaxelSandbox({
96
- image: 'my-custom-image:latest',
97
- }),
98
- });
99
- ```
40
+ See the [package changelog](https://github.com/mastra-ai/mastra/blob/main/workspaces/blaxel/CHANGELOG.md) for version history and release notes.
100
41
 
101
- ## Documentation
42
+ ## Support
102
43
 
103
- For more information, see the [Mastra Workspaces documentation](https://mastra.ai/docs/workspace/overview).
44
+ 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/blaxel",
3
- "version": "0.9.0-alpha.0",
3
+ "version": "0.9.0",
4
4
  "description": "Blaxel cloud sandbox provider for Mastra workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -31,12 +31,12 @@
31
31
  "tsdown": "0.22.9",
32
32
  "typescript": "^7.0.2",
33
33
  "vitest": "4.1.10",
34
- "@internal/lint": "0.0.129",
35
- "@internal/types-builder": "0.0.104",
36
- "@internal/workspace-test-utils": "0.0.73",
37
- "@mastra/core": "1.64.0-alpha.2",
38
- "@mastra/gcs": "0.3.3-alpha.0",
39
- "@mastra/s3": "0.6.2-alpha.0"
34
+ "@internal/lint": "0.0.130",
35
+ "@internal/types-builder": "0.0.105",
36
+ "@internal/workspace-test-utils": "0.0.74",
37
+ "@mastra/gcs": "0.3.3",
38
+ "@mastra/s3": "0.6.2",
39
+ "@mastra/core": "1.64.0"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@mastra/core": ">=1.12.0-0 <2.0.0-0"