Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/add-opencode-integration.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/funny-beans-exist.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/improve-session-initialization.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sixty-walls-serve.md

This file was deleted.

2 changes: 1 addition & 1 deletion examples/claude-code/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion examples/code-interpreter/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM docker.io/cloudflare/sandbox:0.6.3-python
FROM docker.io/cloudflare/sandbox:0.6.4-python
2 changes: 1 addition & 1 deletion examples/minimal/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion examples/openai-agents/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/opencode/Dockerfile
Original file line number Diff line number Diff line change
@@ -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}"
Expand Down
2 changes: 1 addition & 1 deletion examples/typescript-validator/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
13 changes: 1 addition & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 14 additions & 2 deletions packages/sandbox/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion packages/sandbox/package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/sandbox/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
2 changes: 1 addition & 1 deletion tests/e2e/test-worker/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/test-worker/Dockerfile.opencode
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/test-worker/Dockerfile.python
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down