diff --git a/.changeset/add-opencode-integration.md b/.changeset/add-opencode-integration.md deleted file mode 100644 index 1989a0e6..00000000 --- a/.changeset/add-opencode-integration.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/sandbox': patch ---- - -Add OpenCode integration with createOpencode() and proxyToOpencode() helpers diff --git a/.changeset/funny-beans-exist.md b/.changeset/funny-beans-exist.md deleted file mode 100644 index f0e193a8..00000000 --- a/.changeset/funny-beans-exist.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/sandbox': patch ---- - -Fix `options` parameter types for `gitCheckout` diff --git a/.changeset/improve-session-initialization.md b/.changeset/improve-session-initialization.md deleted file mode 100644 index 15092e7d..00000000 --- a/.changeset/improve-session-initialization.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/sandbox': patch ---- - -Fix session initialization to eliminate noisy error logs during hot reloads diff --git a/.changeset/sixty-walls-serve.md b/.changeset/sixty-walls-serve.md deleted file mode 100644 index 2331d634..00000000 --- a/.changeset/sixty-walls-serve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/sandbox": patch ---- - -fix workspace bug diff --git a/examples/claude-code/Dockerfile b/examples/claude-code/Dockerfile index 5d3a7ee9..d37f22c4 100644 --- a/examples/claude-code/Dockerfile +++ b/examples/claude-code/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/cloudflare/sandbox:0.6.3 +FROM docker.io/cloudflare/sandbox:0.6.4 RUN npm install -g @anthropic-ai/claude-code ENV COMMAND_TIMEOUT_MS=300000 EXPOSE 3000 diff --git a/examples/code-interpreter/Dockerfile b/examples/code-interpreter/Dockerfile index 89df9c52..555ac5e1 100644 --- a/examples/code-interpreter/Dockerfile +++ b/examples/code-interpreter/Dockerfile @@ -1 +1 @@ -FROM docker.io/cloudflare/sandbox:0.6.3-python +FROM docker.io/cloudflare/sandbox:0.6.4-python diff --git a/examples/minimal/Dockerfile b/examples/minimal/Dockerfile index 4cfe4eaa..1d5bdefb 100644 --- a/examples/minimal/Dockerfile +++ b/examples/minimal/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/cloudflare/sandbox:0.6.3 +FROM docker.io/cloudflare/sandbox:0.6.4 # Required during local development to access exposed ports EXPOSE 8080 diff --git a/examples/openai-agents/Dockerfile b/examples/openai-agents/Dockerfile index 7afe459f..ff61c7a0 100644 --- a/examples/openai-agents/Dockerfile +++ b/examples/openai-agents/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/cloudflare/sandbox:0.6.3 +FROM docker.io/cloudflare/sandbox:0.6.4 # Required during local development to access exposed ports EXPOSE 8080 diff --git a/examples/opencode/Dockerfile b/examples/opencode/Dockerfile index c4c31c98..f1bbce6e 100644 --- a/examples/opencode/Dockerfile +++ b/examples/opencode/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/cloudflare/sandbox:0.6.3 +FROM docker.io/cloudflare/sandbox:0.6.4 # Add opencode install location to PATH before installation ENV PATH="/root/.opencode/bin:${PATH}" diff --git a/examples/typescript-validator/Dockerfile b/examples/typescript-validator/Dockerfile index 91a346e1..e5899f38 100644 --- a/examples/typescript-validator/Dockerfile +++ b/examples/typescript-validator/Dockerfile @@ -1,5 +1,5 @@ # Use Cloudflare sandbox as base -FROM docker.io/cloudflare/sandbox:0.6.3 +FROM docker.io/cloudflare/sandbox:0.6.4 # Install esbuild for TypeScript bundling RUN npm install -g esbuild diff --git a/package-lock.json b/package-lock.json index 0ec95084..9e13fdad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7934,7 +7934,6 @@ "os": [ "android" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -7955,7 +7954,6 @@ "os": [ "darwin" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -7976,7 +7974,6 @@ "os": [ "darwin" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -7997,7 +7994,6 @@ "os": [ "freebsd" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -8018,7 +8014,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -8039,7 +8034,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -8060,7 +8054,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -8081,7 +8074,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -8102,7 +8094,6 @@ "os": [ "linux" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -8123,7 +8114,6 @@ "os": [ "win32" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -8144,7 +8134,6 @@ "os": [ "win32" ], - "peer": true, "engines": { "node": ">= 12.0.0" }, @@ -13438,7 +13427,7 @@ }, "packages/sandbox": { "name": "@cloudflare/sandbox", - "version": "0.6.3", + "version": "0.6.4", "license": "Apache-2.0", "dependencies": { "@cloudflare/containers": "^0.0.30" diff --git a/packages/sandbox/CHANGELOG.md b/packages/sandbox/CHANGELOG.md index 31aa8d36..09ec8ad5 100644 --- a/packages/sandbox/CHANGELOG.md +++ b/packages/sandbox/CHANGELOG.md @@ -1,5 +1,17 @@ # @cloudflare/sandbox +## 0.6.4 + +### Patch Changes + +- [#282](https://github.com/cloudflare/sandbox-sdk/pull/282) [`d3997a8`](https://github.com/cloudflare/sandbox-sdk/commit/d3997a8b9a443b5726d780bff2d3f4530db3e53b) Thanks [@ghostwriternr](https://github.com/ghostwriternr)! - Add OpenCode integration with createOpencode() and proxyToOpencode() helpers + +- [#286](https://github.com/cloudflare/sandbox-sdk/pull/286) [`c6349aa`](https://github.com/cloudflare/sandbox-sdk/commit/c6349aa274d8c9e226f1782320c82d416393634d) Thanks [@NuroDev](https://github.com/NuroDev)! - Fix `options` parameter types for `gitCheckout` + +- [#281](https://github.com/cloudflare/sandbox-sdk/pull/281) [`472d5ae`](https://github.com/cloudflare/sandbox-sdk/commit/472d5ae4bb7fbf075376a90558a2de282c649edb) Thanks [@ghostwriternr](https://github.com/ghostwriternr)! - Fix session initialization to eliminate noisy error logs during hot reloads + +- [#289](https://github.com/cloudflare/sandbox-sdk/pull/289) [`67100d0`](https://github.com/cloudflare/sandbox-sdk/commit/67100d070cc8608ccb8da8845ddb9bfafc109d72) Thanks [@whoiskatrin](https://github.com/whoiskatrin)! - fix workspace bug + ## 0.6.3 ### Patch Changes @@ -54,10 +66,10 @@ ```dockerfile # Before - FROM cloudflare/sandbox:0.6.3 + FROM cloudflare/sandbox:0.6.4 # After - FROM cloudflare/sandbox:0.6.3-python + FROM cloudflare/sandbox:0.6.4-python ``` Without this change, Python execution will fail with `PYTHON_NOT_AVAILABLE` error. diff --git a/packages/sandbox/package.json b/packages/sandbox/package.json index 6eb57ca7..68391488 100644 --- a/packages/sandbox/package.json +++ b/packages/sandbox/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/sandbox", - "version": "0.6.3", + "version": "0.6.4", "repository": { "type": "git", "url": "https://github.com/cloudflare/sandbox-sdk" diff --git a/packages/sandbox/src/version.ts b/packages/sandbox/src/version.ts index 3aed04d5..5ecf3b19 100644 --- a/packages/sandbox/src/version.ts +++ b/packages/sandbox/src/version.ts @@ -3,4 +3,4 @@ * This file is auto-updated by .github/changeset-version.ts during releases * DO NOT EDIT MANUALLY - Changes will be overwritten on the next version bump */ -export const SDK_VERSION = '0.6.3'; +export const SDK_VERSION = '0.6.4'; diff --git a/tests/e2e/test-worker/Dockerfile b/tests/e2e/test-worker/Dockerfile index 12636d66..b73b87c0 100644 --- a/tests/e2e/test-worker/Dockerfile +++ b/tests/e2e/test-worker/Dockerfile @@ -1,6 +1,6 @@ # Base image Dockerfile (no Python) # Used for testing Python-not-available error handling -FROM docker.io/cloudflare/sandbox-test:0.6.3 +FROM docker.io/cloudflare/sandbox-test:0.6.4 # Expose ports used for testing # 8080: general testing diff --git a/tests/e2e/test-worker/Dockerfile.opencode b/tests/e2e/test-worker/Dockerfile.opencode index 45c765e8..a3a83a7c 100644 --- a/tests/e2e/test-worker/Dockerfile.opencode +++ b/tests/e2e/test-worker/Dockerfile.opencode @@ -1,6 +1,6 @@ # E2E test Dockerfile for OpenCode # Uses the -opencode variant for testing the OpenCode integration -FROM docker.io/cloudflare/sandbox-test:0.6.3-opencode +FROM docker.io/cloudflare/sandbox-test:0.6.4-opencode # Expose ports used for testing # 4096: OpenCode server default port diff --git a/tests/e2e/test-worker/Dockerfile.python b/tests/e2e/test-worker/Dockerfile.python index a9fe8adf..2dd6d46b 100644 --- a/tests/e2e/test-worker/Dockerfile.python +++ b/tests/e2e/test-worker/Dockerfile.python @@ -1,6 +1,6 @@ # Integration test Dockerfile # Uses the -python variant because E2E tests include Python code execution tests -FROM docker.io/cloudflare/sandbox-test:0.6.3-python +FROM docker.io/cloudflare/sandbox-test:0.6.4-python # Expose ports used for testing # 8080: general testing diff --git a/tests/integration/Dockerfile b/tests/integration/Dockerfile index 430e0cdb..cb060d42 100644 --- a/tests/integration/Dockerfile +++ b/tests/integration/Dockerfile @@ -1,8 +1,8 @@ # This image is unique to this repo, and you'll never need it. # Whenever you're integrating with sandbox SDK in your own project, # you should use the official image instead: -# FROM docker.io/cloudflare/sandbox:0.6.3-python -FROM cloudflare/sandbox-test:0.6.3-python +# FROM docker.io/cloudflare/sandbox:0.6.4-python +FROM cloudflare/sandbox-test:0.6.4-python # Expose the ports you want to expose EXPOSE 8080