You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(sandbox): support large run-code payloads (#172)
## Why
Rich Markdown PDF generation builds a renderer script larger than the
public exec argv-element limit. ProjectSandbox.runCode reused that exec
path, so the validated 8,790-character renderer failed before execution
with an 8,192-character Zod limit.
## What changed
- keep public exec argv limits unchanged
- transport validated run-code source as bounded base64
request-environment chunks
- pipe source to Node or Python over stdin, preserving top-level module
behavior
- execute inside the existing runCode lease without writing source onto
the persistent workspace volume
- document the separate runCode and exec transport contracts
## Verification
- pnpm lint
- pnpm typecheck
- pnpm turbo build --force
- pnpm deadcode
- pnpm architecture:check
- pnpm turbo skills:build
- confirmed the production renderer script is 8,790 characters and the
prior production error identifies command element 3 exceeding 8,192
characters
Production research and PDF acceptance will be rerun after deployment.
0 commit comments