0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
mastra/workspaces/cloudflare-sandbox
Ward Peeters b2ce66cef8
chore: run lint-staged for root files and the 16 packages without a config (#29898)
Co-authored-by: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
History 2026-11-10 14:08:55 +01:00
..
src refactor(lint): remove redundant returns while preserving exits (#28448) 2026-10-26 21:03:00 +01:00
CHANGELOG.md chore: version - exit prerelease mode 2026-10-28 13:15:52 +00:00
lint-staged.config.js chore: run lint-staged for root files and the 16 packages without a config (#29898) 2026-11-10 14:08:55 +01:00
package.json chore(deps): update build tools (major) (#29026) 2026-11-03 20:18:21 +01:00
README.md chore(*): Update/unify/add READMEs (#22858) 2026-09-02 14:36:59 +02:00
tsconfig.build.json feat(workspaces): add Cloudflare Sandbox provider (#21596) 2026-08-18 07:14:39 -07:00
tsconfig.json feat(workspaces): add Cloudflare Sandbox provider (#21596) 2026-08-18 07:14:39 -07:00
tsdown.config.ts feat(workspaces): add Cloudflare Sandbox provider (#21596) 2026-08-18 07:14:39 -07:00
vitest.config.ts feat(workspaces): add Cloudflare Sandbox provider (#21596) 2026-08-18 07:14:39 -07:00

@mastra/cloudflare-sandbox

Cloudflare Sandbox provider for Mastra workspaces. It talks to a deployed Cloudflare Sandbox Bridge Worker over the documented /v1/sandbox HTTP API.

Installation

npm install @mastra/cloudflare-sandbox

Usage

import { Workspace } from '@mastra/core/workspace';
import { CloudflareSandbox } from '@mastra/cloudflare-sandbox';

const sandbox = new CloudflareSandbox({
  baseUrl: process.env.CLOUDFLARE_SANDBOX_BRIDGE_URL!,
  apiToken: process.env.CLOUDFLARE_SANDBOX_API_KEY,
});

const workspace = new Workspace({ sandbox });

Documentation

Changelog

See the package changelog for version history and release notes.

Support

We have an open community Discord. Come and say hello and let us know if you have any questions or need any help getting things running.