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
Replace session and command-oriented bridge clients with lifecycle and
process resource APIs. Keep the Worker middleware, examples, and tests
aligned with the argv-only Sandbox bridge.
Copy file name to clipboardExpand all lines: bridge/README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Cloudflare Sandbox Bridge
2
2
3
-
HTTP bridge between the [OpenAI Agents SDK](https://github.com/openai/openai-agents-python) and the [Cloudflare Sandbox](https://developers.cloudflare.com/sandbox/). Translates the SDK's sandbox session operations into calls against the `@cloudflare/sandbox` Durable Object API.
3
+
HTTP bridge between the [OpenAI Agents SDK](https://github.com/openai/openai-agents-python) and the [Cloudflare Sandbox](https://developers.cloudflare.com/sandbox/). Translates Sandbox operations into calls against the `@cloudflare/sandbox` Durable Object API.
@@ -17,6 +17,12 @@ Deploy the bridge worker with one click:
17
17
18
18
Or deploy manually — see [worker/README.md](./worker/README.md) for setup, configuration, and the full API reference.
19
19
20
+
## Process model
21
+
22
+
The bridge launches argv processes and returns after launch, not completion. Process status and SSE logs are recoverable by runtime-local ID while the current container remains alive; log cursors support replay after a client reconnects. Process discovery does not wake a sleeping sandbox, and IDs from a stopped or replaced runtime cannot be recovered. Shell syntax requires an explicit shell in `argv`, and process control uses numeric signals.
23
+
24
+
Terminals are separate PTY resources with input, resize, interrupt, terminate, and reconnect behavior. Closing an SSE connection cancels only that log observation and does not kill its process.
25
+
20
26
## Examples
21
27
22
28
-**[basic/](./examples/basic/)** — One-shot coding agent that executes a task and copies output files to the host. Supports `--image` for visual references.
0 commit comments