Daytona backend implementation conforming to SandboxBackendProtocol.
This implementation inherits all file operation methods from BaseSandbox and only implements the execute() method using Daytona's API.
DaytonaBackend(
self,
sandbox: Sandbox,
)| Name | Type | Description |
|---|---|---|
sandbox* | Sandbox | Daytona sandbox instance |
| Name | Type |
|---|---|
| sandbox | Sandbox |
Execute a command in the sandbox and return ExecuteResponse.
Download multiple files from the Daytona sandbox.
Leverages Daytona's native batch download API for efficiency. Supports partial success - individual downloads may fail without affecting others.
Upload multiple files to the Daytona sandbox.
Leverages Daytona's native batch upload API for efficiency. Supports partial success - individual uploads may fail without affecting others.