@mastra/vercel 0.0.0 → 0.1.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.
- package/CHANGELOG.md +24 -0
- package/LICENSE.md +30 -0
- package/package.json +19 -19
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @mastra/vercel
|
|
2
2
|
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Added Vercel serverless sandbox provider for executing commands as Vercel Functions. Deploys code as serverless functions and executes commands via HTTP invocation — providing globally-distributed, zero-infrastructure execution. ([#14710](https://github.com/mastra-ai/mastra/pull/14710))
|
|
8
|
+
|
|
9
|
+
**Usage:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
import { VercelSandbox } from '@mastra/vercel';
|
|
13
|
+
import { Workspace } from '@mastra/core/workspace';
|
|
14
|
+
|
|
15
|
+
const workspace = new Workspace({
|
|
16
|
+
sandbox: new VercelSandbox({
|
|
17
|
+
token: process.env.VERCEL_TOKEN,
|
|
18
|
+
}),
|
|
19
|
+
});
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [[`180aaaf`](https://github.com/mastra-ai/mastra/commit/180aaaf4d0903d33a49bc72de2d40ca69a5bc599), [`9140989`](https://github.com/mastra-ai/mastra/commit/91409890e83f4f1d9c1b39223f1af91a6a53b549), [`d7c98cf`](https://github.com/mastra-ai/mastra/commit/d7c98cfc9d75baba9ecbf1a8835b5183d0a0aec8), [`acf5fbc`](https://github.com/mastra-ai/mastra/commit/acf5fbcb890dc7ca7167bec386ce5874dfadb997), [`24ca2ae`](https://github.com/mastra-ai/mastra/commit/24ca2ae57538ec189fabb9daee6175ad27035853), [`0762516`](https://github.com/mastra-ai/mastra/commit/07625167e029a8268ea7aaf0402416e6d8832874), [`9c57f2f`](https://github.com/mastra-ai/mastra/commit/9c57f2f7241e9f94769aa99fc86c531e8207d0f9), [`5bfc691`](https://github.com/mastra-ai/mastra/commit/5bfc69104c07ba7a9b55c2f8536422c0878b9c57), [`2de3d36`](https://github.com/mastra-ai/mastra/commit/2de3d36932b7f73ad26bc403f7da26cfe89e903e), [`d3736cb`](https://github.com/mastra-ai/mastra/commit/d3736cb9ce074d2b8e8b00218a01f790fe81a1b4), [`c627366`](https://github.com/mastra-ai/mastra/commit/c6273666f9ef4c8c617c68b7d07fe878a322f85c)]:
|
|
25
|
+
- @mastra/core@1.19.0
|
|
26
|
+
|
|
3
27
|
## 0.1.0-alpha.0
|
|
4
28
|
|
|
5
29
|
### Minor Changes
|
package/LICENSE.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Portions of this software are licensed as follows:
|
|
2
|
+
|
|
3
|
+
- All content that resides under any directory named "ee/" within this
|
|
4
|
+
repository, including but not limited to:
|
|
5
|
+
- `packages/core/src/auth/ee/`
|
|
6
|
+
- `packages/server/src/server/auth/ee/`
|
|
7
|
+
is licensed under the license defined in `ee/LICENSE`.
|
|
8
|
+
|
|
9
|
+
- All third-party components incorporated into the Mastra Software are
|
|
10
|
+
licensed under the original license provided by the owner of the
|
|
11
|
+
applicable component.
|
|
12
|
+
|
|
13
|
+
- Content outside of the above-mentioned directories or restrictions is
|
|
14
|
+
available under the "Apache License 2.0" as defined below.
|
|
15
|
+
|
|
16
|
+
# Apache License 2.0
|
|
17
|
+
|
|
18
|
+
Copyright (c) 2025 Kepler Software, Inc.
|
|
19
|
+
|
|
20
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
21
|
+
you may not use this file except in compliance with the License.
|
|
22
|
+
You may obtain a copy of the License at
|
|
23
|
+
|
|
24
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
25
|
+
|
|
26
|
+
Unless required by applicable law or agreed to in writing, software
|
|
27
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
28
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
29
|
+
See the License for the specific language governing permissions and
|
|
30
|
+
limitations under the License.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/vercel",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Vercel serverless sandbox provider for Mastra workspaces",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -18,30 +18,20 @@
|
|
|
18
18
|
},
|
|
19
19
|
"./package.json": "./package.json"
|
|
20
20
|
},
|
|
21
|
-
"scripts": {
|
|
22
|
-
"build": "tsup --silent --config tsup.config.ts",
|
|
23
|
-
"build:lib": "pnpm build",
|
|
24
|
-
"build:watch": "pnpm build --watch",
|
|
25
|
-
"test:unit": "vitest run --exclude '**/*.integration.test.ts'",
|
|
26
|
-
"test:watch": "vitest watch",
|
|
27
|
-
"test": "vitest run ./src/**/*.integration.test.ts",
|
|
28
|
-
"test:cloud": "pnpm test",
|
|
29
|
-
"lint": "eslint ."
|
|
30
|
-
},
|
|
31
21
|
"license": "Apache-2.0",
|
|
32
22
|
"dependencies": {},
|
|
33
23
|
"devDependencies": {
|
|
34
|
-
"@internal/lint": "workspace:*",
|
|
35
|
-
"@internal/types-builder": "workspace:*",
|
|
36
|
-
"@mastra/core": "workspace:*",
|
|
37
24
|
"@types/node": "22.19.15",
|
|
38
|
-
"@vitest/coverage-v8": "
|
|
39
|
-
"@vitest/ui": "
|
|
25
|
+
"@vitest/coverage-v8": "4.0.18",
|
|
26
|
+
"@vitest/ui": "4.0.18",
|
|
40
27
|
"dotenv": "^17.3.1",
|
|
41
28
|
"eslint": "^9.39.4",
|
|
42
29
|
"tsup": "^8.5.1",
|
|
43
|
-
"typescript": "
|
|
44
|
-
"vitest": "
|
|
30
|
+
"typescript": "^5.9.3",
|
|
31
|
+
"vitest": "4.0.18",
|
|
32
|
+
"@internal/types-builder": "0.0.51",
|
|
33
|
+
"@internal/lint": "0.0.76",
|
|
34
|
+
"@mastra/core": "1.19.0"
|
|
45
35
|
},
|
|
46
36
|
"peerDependencies": {
|
|
47
37
|
"@mastra/core": ">=1.12.0-0 <2.0.0-0"
|
|
@@ -61,5 +51,15 @@
|
|
|
61
51
|
},
|
|
62
52
|
"engines": {
|
|
63
53
|
"node": ">=22.13.0"
|
|
54
|
+
},
|
|
55
|
+
"scripts": {
|
|
56
|
+
"build": "tsup --silent --config tsup.config.ts",
|
|
57
|
+
"build:lib": "pnpm build",
|
|
58
|
+
"build:watch": "pnpm build --watch",
|
|
59
|
+
"test:unit": "vitest run --exclude '**/*.integration.test.ts'",
|
|
60
|
+
"test:watch": "vitest watch",
|
|
61
|
+
"test": "vitest run ./src/**/*.integration.test.ts",
|
|
62
|
+
"test:cloud": "pnpm test",
|
|
63
|
+
"lint": "eslint ."
|
|
64
64
|
}
|
|
65
|
-
}
|
|
65
|
+
}
|