Bug
[email protected] ships with SANDBOX_AGENT_INSTALL_SCRIPT still pointing to 0.3.x:
// dist/chunk-TWTMX66J.js (published 0.4.0)
var SANDBOX_AGENT_INSTALL_SCRIPT = "https://releases.rivet.dev/sandbox-agent/0.3.x/install.sh";
Source: src/providers/shared.ts
This affects the e2b and vercel providers — they install 0.3.x server inside the sandbox but the SDK client speaks 0.4.0 ACP protocol, causing:
AcpRpcError: Internal agent error: Internal error
code: -32603
Expected
export const SANDBOX_AGENT_INSTALL_SCRIPT = "https://releases.rivet.dev/sandbox-agent/0.4.x/install.sh";
The 0.4.x install URL exists and works: curl -sI https://releases.rivet.dev/sandbox-agent/0.4.x/install.sh returns 200.
Workaround
Custom provider that uses the correct install URL:
await sandbox.commands.run('curl -fsSL https://releases.rivet.dev/sandbox-agent/0.4.x/install.sh | sh');
Environment
Bug
[email protected]ships withSANDBOX_AGENT_INSTALL_SCRIPTstill pointing to0.3.x:Source:
src/providers/shared.tsThis affects the
e2bandvercelproviders — they install 0.3.x server inside the sandbox but the SDK client speaks 0.4.0 ACP protocol, causing:Expected
The
0.4.xinstall URL exists and works:curl -sI https://releases.rivet.dev/sandbox-agent/0.4.x/install.shreturns 200.Workaround
Custom provider that uses the correct install URL:
Environment
[email protected]@sandbox-agent/[email protected]e2b