mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-12-05 23:06:17 +01:00
Bumps [@cloudflare/sandbox](https://github.com/cloudflare/sandbox-sdk) from 0.7.21 to 0.12.14. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/cloudflare/sandbox-sdk/releases">@cloudflare/sandbox's releases</a>.</em></p> <blockquote> <h2><code>@cloudflare/sandbox</code><a href="https://github.com/0"><code>@0</code></a>.12.14</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/cloudflare/sandbox-sdk/pull/1028">#1028</a> <a href="https://github.com/cloudflare/sandbox-sdk/commit/2e4e1eb304e2cbbf5569e095e3ead296a5efbc87"><code>2e4e1eb</code></a> Thanks <a href="https://github.com/ghostwriternr"><code>@ghostwriternr</code></a>! - Update the container runtime to Bun 1.4.4. Bun checks certificates against its own built-in CA list, and in 1.4.4 that list no longer trusts the compromised eMudhra intermediates, so the <code>bun</code> command and <code>createBackup()</code> uploads of 10 MiB or more now reject their certificates. Bun 1.4.4 also updates Brotli to 1.2.1, which fixes CVE-2026-111497. The <code>-opencode</code> image ships OpenCode 1.19.4 or later, which also runs on Bun 1.4.4.</li> </ul> <h2><code>@cloudflare/sandbox</code><a href="https://github.com/0"><code>@0</code></a>.12.13</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/cloudflare/sandbox-sdk/pull/1023">#1023</a> <a href="https://github.com/cloudflare/sandbox-sdk/commit/a4eaa89aada863cda9ea8a7373404029a1a32761"><code>a4eaa89</code></a> Thanks <a href="https://github.com/ghostwriternr"><code>@ghostwriternr</code></a>! - Stop trusting certificates from the compromised eMudhra intermediate CAs in the container images. The images now ship the updated Ubuntu and Alpine CA bundles, Node.js 22.23.4, cloudflared 2026.10.2, and pip 26.2.2 in the <code>-python</code> image. Bun keeps trusting these certificates until it releases a fix, which affects <code>bun</code>, opencode, and multipart uploads in <code>createBackup()</code> for archives of 10 MiB or more. Update the container image to get this fix. See <a href="https://blog.cloudflare.com/emudhra-certificate-compromise/">the eMudhra certificate compromise</a> for details.</li> </ul> <h2><code>@cloudflare/sandbox</code><a href="https://github.com/0"><code>@0</code></a>.12.12</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/cloudflare/sandbox-sdk/pull/1002">#1002</a> <a href="https://github.com/cloudflare/sandbox-sdk/commit/8dc216c5c16563d0e3f2044ad14c0657682f3fd9"><code>8dc216c</code></a> Thanks <a href="https://github.com/ghostwriternr"><code>@ghostwriternr</code></a>! - Fix <code>mountBucket()</code> breaking an existing mount when a second call for the same mount path fails with "already in use". The existing mount now stays mounted and usable.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/sandbox-sdk/pull/1013">#1013</a> <a href="https://github.com/cloudflare/sandbox-sdk/commit/98b787b81b5526851af95e6be9ca98da13ae450d"><code>98b787b</code></a> Thanks <a href="https://github.com/ghostwriternr"><code>@ghostwriternr</code></a>! - Keep streaming <code>exec()</code> alive while a command is quiet, and enforce its <code>timeout</code>. Quiet commands were cut off after about four minutes on the HTTP transport and five on WebSocket. The timeout was ignored on those transports, and on every transport for commands that run in a session. Requires the matching container image.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/sandbox-sdk/pull/1008">#1008</a> <a href="https://github.com/cloudflare/sandbox-sdk/commit/b2a862cffce187f56bcfae321756c0a9c91b712b"><code>b2a862c</code></a> Thanks <a href="https://github.com/ghostwriternr"><code>@ghostwriternr</code></a>! - Keep R2 binding and credential-proxy bucket mounts working when the Sandbox Durable Object restarts while its container keeps running. The mounts used to stay listed but fail every read and write with <code>EIO</code> until <code>mountBucket()</code> was called again.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/sandbox-sdk/pull/1003">#1003</a> <a href="https://github.com/cloudflare/sandbox-sdk/commit/e8332cd3c6b0a6f958062304f922d93678f6dfed"><code>e8332cd</code></a> Thanks <a href="https://github.com/ghostwriternr"><code>@ghostwriternr</code></a>! - Fix <code>createOpencodeServer()</code> and <code>createOpencode()</code> waiting for the full three-minute startup timeout when <code>OPENCODE_SERVER_PASSWORD</code> is set. When the password is passed in <code>env</code>, the client returned by <code>createOpencode()</code> now authenticates with it.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/sandbox-sdk/pull/1016">#1016</a> <a href="https://github.com/cloudflare/sandbox-sdk/commit/d62f020d6b1cae787fc676c11b29b7718c40f575"><code>d62f020</code></a> Thanks <a href="https://github.com/ghostwriternr"><code>@ghostwriternr</code></a>! - Create the s3fs password file for <code>mountBucket()</code> with mode 0600 from the start. The file used to be readable by other users in the container until a chmod a moment later, long enough for a non-root process to open it and read the bucket credentials. Upgrade the container image together with the SDK to close the gap; with an older image, mounts work as before.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/sandbox-sdk/pull/996">#996</a> <a href="https://github.com/cloudflare/sandbox-sdk/commit/da3d7b6c4edde53b071c42180bca22493e864c9a"><code>da3d7b6</code></a> Thanks <a href="https://github.com/ghostwriternr"><code>@ghostwriternr</code></a>! - Answer a preview request with <code>502</code> when the app's port in the container fails, for example because nothing listens on it or it closes the connection, and log the original error. Previously the error escaped the Sandbox, <code>proxyToSandbox()</code> answered <code>500 Proxy routing error</code>, and the log blamed a platform runtime update.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/sandbox-sdk/pull/997">#997</a> <a href="https://github.com/cloudflare/sandbox-sdk/commit/c79bf1de83e9be4d5c423b0b60fc7d48792418e7"><code>c79bf1d</code></a> Thanks <a href="https://github.com/ghostwriternr"><code>@ghostwriternr</code></a>! - Forward WebSocket upgrades on preview URLs with <code>Host: localhost:<port></code>, like every other preview request. Dev servers that check the <code>Host</code> header, such as Vite, no longer reject HMR connections. The public hostname is still in <code>X-Forwarded-Host</code>.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/sandbox-sdk/pull/1000">#1000</a> <a href="https://github.com/cloudflare/sandbox-sdk/commit/c6760770b291531ae9a782e6ddfc2aa32ad8674c"><code>c676077</code></a> Thanks <a href="https://github.com/ghostwriternr"><code>@ghostwriternr</code></a>! - Keep preview URLs and tunnels working on the RPC transport after the control connection reconnects. The connection closes after 1 second without calls, and the next call used to rerun the sandbox's start handling even though the container was still running. Preview URLs then returned <code>410 STALE_PREVIEW_URL</code>, <code>getExposedPorts()</code> returned an empty list, quick tunnels disappeared from <code>tunnels.list()</code>, and <code>tunnels.get()</code> could fail with "Tunnel recovery attempts were exhausted".</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/sandbox-sdk/pull/1010">#1010</a> <a href="https://github.com/cloudflare/sandbox-sdk/commit/7866d45fb7c1b83e45d1fac4f5c084d712603bb0"><code>7866d45</code></a> Thanks <a href="https://github.com/ghostwriternr"><code>@ghostwriternr</code></a>! - Stop the first call on the RPC transport from failing when Cloudflare can't provide a container right away. The call now keeps waiting for the container within its retry window.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/sandbox-sdk/pull/995">#995</a> <a href="https://github.com/cloudflare/sandbox-sdk/commit/becade1ff2b472d50340c64b12cf1c9208d945f7"><code>becade1</code></a> Thanks <a href="https://github.com/ghostwriternr"><code>@ghostwriternr</code></a>! - Stop the container server from crashing with <code>ENOENT: no such file or directory, watch '…/<id>.log.stderr'</code> while commands run. The crash killed every process in the container. Update the container image to pick up this fix.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/sandbox-sdk/pull/1007">#1007</a> <a href="https://github.com/cloudflare/sandbox-sdk/commit/fa571496cd1276d41c8d23672c3e6da541c4d1d1"><code>fa57149</code></a> Thanks <a href="https://github.com/ghostwriternr"><code>@ghostwriternr</code></a>! - <code>tunnels.get()</code> on the RPC transport now reports the real tunnel error, such as <code>cloudflared</code> failing to start or missing from the image, instead of "Tunnel recovery attempts were exhausted". It also no longer leaves a port stuck after giving up: a <code>cloudflared</code> left running from an earlier attempt is stopped and replaced. Replacing it needs the matching container image.</p> </li> </ul> <h2><code>@cloudflare/sandbox</code><a href="https://github.com/0"><code>@0</code></a>.12.11</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/cloudflare/sandbox-sdk/pull/889">#889</a> <a href="https://github.com/cloudflare/sandbox-sdk/commit/119336ef67819feda18cf0f716f10db4e1eece73"><code>119336e</code></a> Thanks <a href="https://github.com/scuffi"><code>@scuffi</code></a>! - Stop backups from dropping whole directories when <code>excludes</code> or <code>gitignore: true</code> match a nested path. For example, <code>excludes: ['.cache/foo/*/node_modules']</code> no longer removes all of <code>.cache</code> from the archive. A multi-component pattern such as <code>build/output</code> now matches only relative to the backup directory, while a single-component pattern such as <code>node_modules</code> still matches at any depth. Because mksquashfs does not support <code>**</code>, a pattern like <code>**/node_modules/.cache</code> now excludes only <code>node_modules/.cache</code> at the root of the backup directory; add a pattern for each nested location that must stay out of the backup.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/sandbox-sdk/pull/914">#914</a> <a href="https://github.com/cloudflare/sandbox-sdk/commit/66862ff45736e416422736b225da90b5f1dd9cd3"><code>66862ff</code></a> Thanks <a href="https://github.com/ghostwriternr"><code>@ghostwriternr</code></a>! - Return 404 with <code>workspace_read_not_found</code> from the bridge's <code>GET /v1/sandbox/:id/file/*</code> when the file doesn't exist. The route used to return 200 with an empty body, the same response as an empty file.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/sandbox-sdk/pull/894">#894</a> <a href="https://github.com/cloudflare/sandbox-sdk/commit/20d72db671876a3e50ab0881758cae7576ae2b6e"><code>20d72db</code></a> Thanks <a href="https://github.com/scuffi"><code>@scuffi</code></a>! - Fix local bucket mounts for large files and write bursts. On the RPC transport, objects over 4 MiB now stream into the container instead of failing with an interrupted runtime connection. Container files stream back to R2 byte for byte, without loading the whole file into Worker memory. A file being written uploads once its changes settle, instead of on every write.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/sandbox-sdk/pull/926">#926</a> <a href="https://github.com/cloudflare/sandbox-sdk/commit/6678b1378f4ba61586d26f84ee9616a171e6303c"><code>6678b13</code></a> Thanks <a href="https://github.com/ghostwriternr"><code>@ghostwriternr</code></a>! - Stop writing command text and output to Sandbox logs. Exec and process log events now record IDs, exit codes, durations, and output lengths, and the OpenAI Agents <code>Shell</code> and <code>Editor</code> adapters no longer log commands, stderr, or patch text, so secrets in commands, output, or patches no longer reach Workers Logs or container logs. Command failure messages no longer repeat the command; it remains available on the error's <code>context.command</code>.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/sandbox-sdk/pull/888">#888</a> <a href="https://github.com/cloudflare/sandbox-sdk/commit/6c9edcc4e466390f52540e48dbd3809ca80fcc89"><code>6c9edcc</code></a> Thanks <a href="https://github.com/scuffi"><code>@scuffi</code></a>! - Fix <code>restoreBackup()</code> error reporting for archives of 10 MB or more. A failed download part now throws a <code>BackupRestoreError</code> that includes curl's error output and each part's exit code, instead of a <code>Shell terminated unexpectedly</code> session error.</p> </li> <li> <p><a href="https://redirect.github.com/cloudflare/sandbox-sdk/pull/887">#887</a> <a href="https://github.com/cloudflare/sandbox-sdk/commit/13f477d6fc1b4a73b61d333de6a222e8876de860"><code>13f477d</code></a> Thanks <a href="https://github.com/scuffi"><code>@scuffi</code></a>! - Sync local bucket mounts outside <code>/workspace</code>, such as <code>/data</code>, from the container back to R2. <code>watch()</code> and <code>checkChanges()</code> now accept any absolute path on every transport, as documented. A local mount whose container rejects the watch now logs one error instead of retrying forever.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/cloudflare/sandbox-sdk/commit/b96de6ea1ca248e11a56a78f1efabc2717d6c7b9"><code>b96de6e</code></a> Version Packages (<a href="https://redirect.github.com/cloudflare/sandbox-sdk/issues/1034">#1034</a>)</li> <li><a href="https://github.com/cloudflare/sandbox-sdk/commit/2e4e1eb304e2cbbf5569e095e3ead296a5efbc87"><code>2e4e1eb</code></a> Update the container runtime to Bun 1.4.4 (<a href="https://redirect.github.com/cloudflare/sandbox-sdk/issues/1028">#1028</a>)</li> <li><a href="https://github.com/cloudflare/sandbox-sdk/commit/b3a8566c61c15bdc24d216fadb322fd673bb0aca"><code>b3a8566</code></a> Promote public refs to 0.12.13 (<a href="https://redirect.github.com/cloudflare/sandbox-sdk/issues/1027">#1027</a>)</li> <li><a href="https://github.com/cloudflare/sandbox-sdk/commit/2538b5540b2f79b56af2a81fa0fa2b353948d667"><code>2538b55</code></a> Version Packages (<a href="https://redirect.github.com/cloudflare/sandbox-sdk/issues/1026">#1026</a>)</li> <li><a href="https://github.com/cloudflare/sandbox-sdk/commit/a4eaa89aada863cda9ea8a7373404029a1a32761"><code>a4eaa89</code></a> Stop trusting compromised eMudhra intermediates (<a href="https://redirect.github.com/cloudflare/sandbox-sdk/issues/1023">#1023</a>)</li> <li><a href="https://github.com/cloudflare/sandbox-sdk/commit/7fbb9e5dd3a419570fee79bb98365668b5188984"><code>7fbb9e5</code></a> Keep polling when a rollout wrangler call fails (<a href="https://redirect.github.com/cloudflare/sandbox-sdk/issues/1018">#1018</a>)</li> <li><a href="https://github.com/cloudflare/sandbox-sdk/commit/e3ebd96707fdb86ac68ce1641963864f5e5e4a81"><code>e3ebd96</code></a> Promote public references to 0.12.12 (<a href="https://redirect.github.com/cloudflare/sandbox-sdk/issues/1019">#1019</a>)</li> <li><a href="https://github.com/cloudflare/sandbox-sdk/commit/0d96b78f58c9e808688352d621249b673767cedf"><code>0d96b78</code></a> Version Packages (<a href="https://redirect.github.com/cloudflare/sandbox-sdk/issues/1004">#1004</a>)</li> <li><a href="https://github.com/cloudflare/sandbox-sdk/commit/d62f020d6b1cae787fc676c11b29b7718c40f575"><code>d62f020</code></a> Create s3fs support files owner-only from the start (<a href="https://redirect.github.com/cloudflare/sandbox-sdk/issues/1016">#1016</a>)</li> <li><a href="https://github.com/cloudflare/sandbox-sdk/commit/98b787b81b5526851af95e6be9ca98da13ae450d"><code>98b787b</code></a> Stop cutting off quiet exec streams (<a href="https://redirect.github.com/cloudflare/sandbox-sdk/issues/1013">#1013</a>)</li> <li>Additional commits viewable in <a href="https://github.com/cloudflare/sandbox-sdk/compare/@cloudflare/sandbox@0.7.21...@cloudflare/sandbox@0.12.14">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>