Commit Graph

55 Commits

Author SHA1 Message Date
ben
f9a2809f96 feat: proxy owpenbot via openwork-server (#499)
* feat: proxy owpenbot via openwork-server

Unify client surface by routing owpenbot through /owpenbot/* (+ /w/:id/owpenbot/*), and move QR/token flows off interactive CLI calls. Sandbox mode keeps owpenbot internal (no extra published port) while preserving health + config via the edge.

* chore(desktop): refresh Cargo.lock

Update the Tauri crate lockfile so linux CI can run with --locked.
2026-02-07 15:44:12 -08:00
Benjamin Shafii
744d1277e8 chore: bump version to 0.11.31 2026-02-07 14:55:01 -08:00
Benjamin Shafii
c9e6aee058 chore: bump version to 0.11.30 2026-02-07 13:10:49 -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
ben
541d7ff392 fix(headless): pick random owpenbot health port by default (#495)
Avoid hard-coding 3005 so owpenbot health checks don't fail when the default port is already in use. Still supports explicit --owpenbot-health-port / OWPENBOT_HEALTH_PORT overrides.
2026-02-07 11:21:09 -08:00
Benjamin Shafii
25200fa0e3 chore: bump version to 0.11.29 2026-02-07 00:04:38 -08:00
Benjamin Shafii
85005c1127 chore: bump version to 0.11.28 2026-02-06 21:20:19 -08:00
Benjamin Shafii
7b8e7b0352 chore: bump version to 0.11.27 2026-02-06 18:57:45 -08:00
Benjamin Shafii
6f98092b0c chore: bump version to 0.11.26 2026-02-06 16:58:06 -08:00
Benjamin Shafii
311d862e87 chore: bump version to 0.11.25 2026-02-06 14:53:26 -08:00
Benjamin Shafii
7a26fd29f1 chore: bump version to 0.11.24 2026-02-06 12:53:59 -08:00
Benjamin Shafii
d6f7697086 chore: bump version to 0.11.23 2026-02-06 10:38:33 -08:00
Benjamin Shafii
609ca9c5e2 chore(build): default OpenCode to latest
Stop pinning OpenCode in package metadata and resolve the latest release during sidecar bundling/runtime, while still allowing OPENCODE_VERSION to pin for reproducible builds.
2026-02-06 10:27:40 -08:00
Benjamin Shafii
d36a630096 chore: bump version to 0.11.22 2026-02-06 08:38:06 -08:00
Benjamin Shafii
f6e7080015 chore: bump version to 0.11.21 2026-02-06 00:13:34 -08:00
Benjamin Shafii
4267330022 chore: bump version to 0.11.20 2026-02-06 00:05:31 -08:00
Benjamin Shafii
8d6a0a9791 chore: bump version to 0.11.19 2026-02-05 22:10:16 -08:00
Benjamin Shafii
8153194dfa chore: bump version to 0.11.18 2026-02-05 18:35:57 -08:00
ben
39a46b5540 feat(owpenbot): add Slack Socket Mode bridge (#476) 2026-02-05 18:26:02 -08:00
Benjamin Shafii
83c95a82a2 chore: bump version to 0.11.17 2026-02-05 17:23:36 -08:00
Benjamin Shafii
d804d53679 chore: bump version to 0.11.16 2026-02-05 16:20:40 -08:00
Benjamin Shafii
93e1f2a4c4 chore: bump version to 0.11.15 2026-02-05 14:16:39 -08:00
ben
00be06d4b5 chore(release): unify openwrk versioning + bump v0.11.14 (#466)
* chore(release): unify openwrk with app version

* chore: bump version to 0.11.14
2026-02-05 13:23:47 -08:00
ben
8de1510524 Merge pull request #462 from different-ai/feat/openwrk-tui-clickable
feat(openwrk): clickable TUI tabs + auto-copy selection
2026-02-05 13:06:54 -08:00
Benjamin Shafii
70e46c4b4f chore: bump version to 0.11.13, opencode 1.1.51 2026-02-05 10:38:57 -08:00
Benjamin Shafii
0daddf0552 feat(openwrk): enable clickable tabs and auto-copy selection 2026-02-05 08:57:57 -08:00
Benjamin Shafii
94e4e0c27b ci: align headless JSX runtime for bun builds 2026-02-04 23:01:37 -08:00
Benjamin Shafii
617754d59d feat(headless): add owpenbot health + controls 2026-02-04 21:12:39 -08:00
Benjamin Shafii
fd1b962c14 fix(headless): relax owpenbot version checks 2026-02-04 20:55:14 -08:00
Benjamin Shafii
356ef041e1 fix(headless): preload opentui solid for bun 2026-02-04 17:58:45 -08:00
Benjamin Shafii
e2ed4cdb1f feat(headless): add openwrk TUI dashboard 2026-02-04 15:14:57 -08:00
Benjamin Shafii
3bbcacb256 feat(headless): improve cross-service observability 2026-02-04 12:54:08 -08:00
Benjamin Shafii
f0952673d6 chore: embed owpenbot version in binary 2026-02-02 00:14:09 -08:00
Benjamin Shafii
0cb73c302c chore: align owpenbot versioning 2026-02-02 00:07:21 -08:00
Benjamin Shafii
a6906b00ed chore(openwrk): resolve owpenbot from dependency 2026-02-02 00:00:06 -08:00
ben
cd6ad1a80e fix: propagate owpenbot health port (#393) 2026-02-01 17:44:57 -08:00
Benjamin Shafii
617297fb9f chore: bump patch versions for release 2026-02-01 16:18:18 -08:00
Benjamin Shafii
95246d5270 feat: surface sidecar diagnostics for troubleshooting and releases 2026-02-01 16:18:18 -08:00
ben
120c1069bb feat(openwrk): download sidecars on demand (#387) 2026-02-01 14:37:06 -08:00
ben
2a71a0cc6e fix(openwrk): exit on startup failures (#385) 2026-02-01 14:35:41 -08:00
Benjamin Shafii
5636ee2a32 chore(openwrk): add npm publish skill and bump 2026-02-01 14:06:05 -08:00
ben
6a86ca8b86 Align sidecar bundle parity for openwrk (#383)
* feat(headless): align sidecar bundle parity

Build headless sidecars from the same sources as desktop and record manifest checks so version integrity stays consistent across runtimes.

* feat(owpenbot): hot-set telegram token

Expose a health REST endpoint to update the Telegram token at runtime, wire the app to call it, and keep status reporting in sync without restarts.
2026-02-01 12:47:33 -08:00
ben
5bf074abea feat(owpenbot): restore monorepo package (#381) 2026-02-01 09:48:24 -08:00
ben
f46bc008dc chore(headless): bump openwrk to 0.1.9 (#380) 2026-02-01 09:25:03 -08:00
ben
b4b731f023 chore(headless): bump openwrk to 0.1.8 (#379) 2026-02-01 09:18:14 -08:00
ben
599930b470 chore(headless): bump openwrk to 0.1.7 (#378) 2026-02-01 08:16:06 -08:00
ben
c5cb1cbe93 feat: externalize owpenbot integration (#360) 2026-01-31 19:40:34 -08:00
ben
c0b263277a chore(headless): bump openwrk to 0.1.6 (#351) 2026-01-31 11:05:32 -08:00
Benjamin Shafii
0780ba1604 fix(headless): validate sidecar versions and auth handoff 2026-01-30 23:03:49 -08:00
ben
a844c9ac19 feat(headless): add openwrk router daemon (#343)
* feat(headless): add openwrk router daemon

* fix(headless): honor opencode auth in router
2026-01-30 21:32:36 -08:00