feat(integrations): add Daytona integration with sandbox lifecycle, code execution, and file tools (#4987)

* feat(integrations): add Daytona integration with sandbox lifecycle, code execution, and file tools

* fix(daytona): address review feedback and harden edge cases

- Pre-check file size via userFile.size before downloading from storage in the upload route
- Tolerate empty response bodies in delete/start/stop sandbox tools
- Preserve explicit timeout 0 for run_code and execute_command
- Default missing exitCode to -1 so unknown state is distinguishable from success
- Reject blank sandbox IDs, clamp list limit to 1-200, trim destination path
- Clarify that toolbox operations require the sandbox ID (not name)
- Bump contract route baseline to 812 for the new daytona upload route

* fix(daytona): cap download size at 100MB and preserve sandbox identity on empty lifecycle responses

* improvement(notion): black icon on white background to match brand

* fix(daytona): reject oversized base64 uploads before decoding

* improvement(landing): move integration last-updated below CTAs and de-emphasize it

* fix(daytona): forward explicit zero cpu/memory/disk values in create sandbox
This commit is contained in:
Waleed
2026-06-11 19:13:45 -07:00
committed by GitHub
parent 8e960368d4
commit c3b98eb1c4
32 changed files with 2761 additions and 12 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ const QUERY_HOOKS_DIR = path.join(ROOT, 'apps/sim/hooks/queries')
const SELECTOR_HOOKS_DIR = path.join(ROOT, 'apps/sim/hooks/selectors')
const BASELINE = {
totalRoutes: 811,
zodRoutes: 811,
totalRoutes: 812,
zodRoutes: 812,
nonZodRoutes: 0,
} as const