@mastra/daytona 0.6.0 → 0.7.0-alpha.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 +15 -0
- package/dist/index.cjs +1388 -1523
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1385 -1519
- package/dist/index.js.map +1 -1
- package/dist/sandbox/index.d.ts +9 -0
- package/dist/sandbox/index.d.ts.map +1 -1
- package/package.json +11 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @mastra/daytona
|
|
2
2
|
|
|
3
|
+
## 0.7.0-alpha.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Added `domainAllowList` to `DaytonaSandboxOptions`, for allowing outbound access to services whose IP addresses change, such as package registries and hosted APIs. CIDR-based `networkAllowList` cannot express these reliably. ([#21000](https://github.com/mastra-ai/mastra/pull/21000))
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
const sandbox = new DaytonaSandbox({
|
|
11
|
+
networkBlockAll: true,
|
|
12
|
+
domainAllowList: 'registry.npmjs.org,*.githubusercontent.com',
|
|
13
|
+
});
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
The option is applied at sandbox creation and preserved by `clone()`. Requires `@daytonaio/sdk` 0.201.0 or later, which the package now depends on.
|
|
17
|
+
|
|
3
18
|
## 0.6.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|