sandbox-agent/server/packages
Nathan Flurry afb2c74eea feat: add process manager API for spawning and managing background processes
API Endpoints:
- POST /v1/process - Start a new process
- GET /v1/process - List all processes
- GET /v1/process/{id} - Get process details
- POST /v1/process/{id}/stop - Stop a process (SIGTERM)
- POST /v1/process/{id}/kill - Kill a process (SIGKILL)
- DELETE /v1/process/{id} - Delete a process and clean up logs
- GET /v1/process/{id}/logs - Read process logs (supports tail, follow via SSE)

Features:
- Log files written to ~/.local/share/sandbox-agent/processes/{id}/
  - stdout.log, stderr.log, combined.log
- Process state persisted to state.json for server restart survival
- Status tracking: starting, running, stopped (with exit_code), killed
- Real-time log streaming via SSE with follow=true query param
- Environment variables and working directory support

Cleanup rules:
- Process exits naturally → logs preserved
- DELETE endpoint → logs removed
2026-01-30 12:40:36 -08:00
..
agent-credentials fix: add description and repository fields to all crate Cargo.toml files 2026-01-27 20:32:09 -08:00
agent-management feat: add Claude adapter improvements for HITL support (#30) 2026-01-29 07:19:10 -08:00
error fix: add description and repository fields to all crate Cargo.toml files 2026-01-27 20:32:09 -08:00
extracted-agent-schemas feat: move api cli commands under api subcommand 2026-01-28 01:11:57 -08:00
openapi-gen fix: add description and repository fields to all crate Cargo.toml files 2026-01-27 20:32:09 -08:00
sandbox-agent feat: add process manager API for spawning and managing background processes 2026-01-30 12:40:36 -08:00
universal-agent-schema feat: add Claude adapter improvements for HITL support (#30) 2026-01-29 07:19:10 -08:00
universal-schema-gen fix: add description and repository fields to all crate Cargo.toml files 2026-01-27 20:32:09 -08:00