sandbox-agent/docs
Nathan Flurry 4335ef6af6
feat: add process management API (#203)
* feat: add process management API

Introduces a complete Process Management API for Sandbox Agent with process lifecycle management (start, stop, kill, delete), one-shot command execution, log streaming via SSE and WebSocket, stdin input, and PTY/terminal support. Includes new process_runtime module for managing process state, HTTP route handlers, OpenAPI documentation, and integration tests.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

* fix: address review issues in process management API

- Add doc comments to all 13 new #[utoipa::path] handlers (CLAUDE.md compliance)
- Fix send_signal ESRCH check: use raw_os_error() == Some(libc::ESRCH) instead of ErrorKind::NotFound
- Add max_input_bytes_per_request enforcement in WebSocket terminal handler
- URL-decode access_token query parameter for WebSocket auth
- Replace fragile string prefix matching with proper SandboxError::NotFound variant

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

* feat: add TypeScript SDK support for process management

Add process CRUD operations (create, get, list, update, delete) and
event streaming to the TypeScript SDK. Includes integration tests,
mock agent updates, and test environment fixes for cross-platform
home directory handling.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: provide WebSocket impl for process terminal test on Node 20

Node 20 lacks globalThis.WebSocket. Add ws as a devDependency and
pass it to connectProcessTerminalWebSocket in the integration test
so CI no longer fails.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-05 18:20:20 -08:00
..
ai fix host for docs 2026-02-13 04:53:53 +05:00
deploy chore: add boxlite 2026-02-25 02:18:16 -08:00
images feat(inspector): improve contrast and add collapsible debug panel (#182) 2026-02-13 07:15:40 +00:00
logo chore(site): links and image updates 2026-01-28 02:16:37 -08:00
agent-sessions.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
architecture.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
attachments.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
building-chat-ui.mdx chore: commit remaining workspace updates 2026-02-08 11:51:47 -08:00
cli.mdx chore: fix bad merge 2026-02-11 07:33:19 -08:00
cors.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
credentials.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
custom-tools.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
daemon.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
docs.json chore: add boxlite 2026-02-25 02:18:16 -08:00
favicon.svg chore(site): diagram mobile and favicon 2026-01-31 22:49:01 -08:00
file-system.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
gigacode.mdx chore: update readme (#98) 2026-02-06 03:03:24 -08:00
inspector.mdx chore: fix bad merge 2026-02-11 07:33:19 -08:00
manage-sessions.mdx acp spec (#155) 2026-02-11 14:47:41 +00:00
mcp-config.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
multiplayer.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
observability.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
openapi.json feat: add process management API (#203) 2026-03-05 18:20:20 -08:00
opencode-compatibility.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
pi-support-plan.md wip: pi working 2026-02-06 16:54:53 -05:00
quickstart.mdx docs: fix bun trust command 2026-02-11 18:52:32 -08:00
sdk-overview.mdx chore: simplify cloudflare compatibility (#191) 2026-02-23 19:31:54 +00:00
security.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
session-persistence.mdx docs: fix bun trust command 2026-02-11 18:52:32 -08:00
session-restoration.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
session-transcript-schema.mdx Merge branch 'main' into feat/support-pi 2026-02-10 22:27:03 -08:00
skills-config.mdx chore: fix bad merge 2026-02-11 07:57:02 -08:00
telemetry.mdx docs: documentation overhaul and universal schema reference (#10) 2026-01-28 05:07:15 -08:00
theme.css docs: documentation overhaul and universal schema reference (#10) 2026-01-28 05:07:15 -08:00
troubleshooting.mdx fix: detect musl/glibc at runtime for correct Claude binary download 2026-01-28 04:19:35 -08:00