@slaw-ai/plugin-daytona
v2026.611.1
Published
Daytona sandbox provider plugin for Slaw environments
Downloads
104
Readme
@slaw-ai/plugin-daytona
Published Daytona sandbox provider plugin for Slaw.
This package lives in the Slaw monorepo, but it is intentionally excluded from the root pnpm workspace and shaped to publish and install like a standalone npm package. That lets operators install it from the Plugins page by package name without introducing root lockfile churn for Daytona's SDK dependencies.
Install
From a Slaw instance, install:
@slaw-ai/plugin-daytonaThe host plugin installer runs npm install into the managed plugin directory, so transitive dependencies such as @daytonaio/sdk are pulled in during installation.
Configuration
Configure Daytona from Squad Settings -> Environments, not from the plugin's instance settings page.
- Put the Daytona API key on the sandbox environment itself.
- When you save an environment, Slaw stores pasted API keys as squad secrets.
DAYTONA_API_KEYremains an optional host-level fallback when an environment omits the key.- Optional
apiUrlandtargetsettings map directly to the Daytona SDK/client configuration. IfapiUrlis omitted, the Daytona SDK uses its default endpoint.
Notes:
- The current published Daytona SDK package is
@daytonaio/sdk. - The driver supports both
snapshot-based andimage-based sandbox creation. If both are set, validation rejects the config as ambiguous. - Reusable leases map to Daytona stop/start semantics. Non-reusable leases are deleted on release.
Local development
cd packages/plugins/sandbox-providers/daytona
pnpm install --ignore-workspace --no-lockfile
pnpm build
pnpm test
pnpm typecheckThese commands assume the repo root has already been installed once so the local @slaw-ai/plugin-sdk workspace package is available to the compiler during development.
Package layout
src/manifest.tsdeclares the sandbox-provider driver metadatasrc/plugin.tsimplements the environment lifecycle hooksslawPlugin.manifestandslawPlugin.workerpoint the host at the built plugin entrypoints indist/
