Commit Graph

10 Commits

Author SHA1 Message Date
Source Open
18723ec767 feat(security): default local workers to localhost only (#1132)
Require generated OpenCode auth and explicit remote-sharing opt-in so local workers stay loopback-only unless the user intentionally exposes them.
2026-03-23 17:58:53 -07:00
Omar McAdam
b68bfafbbe feat(den): support configurable Better Auth trusted origins (#958)
* feat(den): support dedicated Better Auth trusted origins

* fix(den): unify trusted origins env key naming
2026-03-16 14:11:43 -07:00
ben
11fd1490c7 improve docker dev defaults for LAN/public access (#943) 2026-03-15 17:06:19 -07:00
Benjamin Shafii
9502137dd4 feat(share): add local docker publisher flow 2026-03-13 13:32:23 -07:00
Benjamin Shafii
6fd9b5f94c feat(den): add dockerized local test stack 2026-03-13 09:41:34 -07:00
Omar McAdam
13d79aee07 feat: isolate OpenCode dev state (#816) 2026-03-09 17:21:17 -07:00
ben
27205a259c fix(docker): mount host opencode config in dev dev-up stack (#690) 2026-02-27 08:09:52 -08:00
Benjamin Shafii
57d3681422 yo 2026-02-09 16:39:21 -08:00
Benjamin Shafii
548ea8b0ef feat: add Docker Compose dev testability stack (no custom Dockerfile)
Add docker-compose.dev.yml using off-the-shelf node:22-bookworm-slim image
that starts headless + web UI with auto-wired tokens and health checks.
Builds Linux binaries into /tmp to avoid overwriting host macOS binaries.
2026-02-09 15:55:42 -08:00
ben
f3da381606 feat: minimal container sandbox + server tokens + toy UI (#494)
* feat(server): add scoped tokens, inbox/outbox, toy UI, and auth hardening

- TokenService with file-based persistence (tokens.json)
- /tokens CRUD (host auth), /whoami (client auth)
- Bearer token auth accepting OPENWORK_TOKEN or scoped tokens
- POST /workspace/:id/inbox (multipart upload)
- GET /workspace/:id/artifacts, /workspace/:id/artifacts/:id
- Toy UI at /ui with SSE, prompt send, inbox upload, outbox download
- Extended GET /capabilities with schemaVersion, serverVersion, approvals info
- Updated README with all new endpoints and auth model

* feat(headless): add sandbox runtime with Docker and Apple container backends

- --sandbox none|auto|docker|container CLI flag
- --sandbox-image, --sandbox-persist-dir, --sandbox-mount options
- Mount security: allowlist, blocked patterns, symlink resolution
- Docker backend: workspace/persist volumes, sidecar staging, entrypoint
- Apple container backend: --mount type=bind for ro mounts
- Sandbox mode proxies all OpenCode access through openwork-server
- Proxy health check (waitForHealthyViaProxy) avoids SDK auth issues
- Sandbox-specific check suite (runSandboxChecks) for --check mode
- Non-fatal verifyOpenworkServer in sandbox mode for version mismatches
- Updated README with sandbox docs and mount security

* feat(packaging): add Docker/docker-compose PaaS packaging

- Dockerfile (node:22-bookworm-slim, installs openwrk via npm)
- docker-compose.yml with workspace and data volumes
- README with usage instructions

* fix(headless): define sandbox owpenbot internal health port
2026-02-07 13:01:15 -08:00