Commit Graph

1648 Commits

Author SHA1 Message Date
ben
0e88389849 feat(den): add daytona-backed docker dev flow (#918)
* feat(den): add daytona-backed docker dev flow

* fix(den): allow multiple cloud workers in dev

* fix(den): use Daytona snapshots for sandbox runtime

Use a prebuilt Daytona snapshot for the dev worker runtime so sandboxes start with openwork and opencode already installed. Pass the snapshot through the local Docker flow and add a helper to build the snapshot image for repeatable setup.

* chore(den): lower Daytona snapshot defaults

Reduce the default snapshot footprint to 1 CPU and 2GB RAM so local Daytona worker testing fits smaller org limits more easily.

* Omar is comfortable

Make Daytona-backed cloud workers stable enough to reconnect through a dedicated proxy instead of persisting expiring signed preview URLs. Split the proxy into its own deployable service, share Den schema access through a common package, and fix the web badge so healthy workers show ready.

* chore(den-db): add Drizzle package scripts

Move the shared schema package toward owning its own migration workflow by adding generate and migrate commands plus a local Drizzle config.

* chore: update lockfile

Refresh the workspace lockfile so the new den-db Drizzle tooling is captured in pnpm-lock.yaml.

* feat(den-worker-proxy): make Vercel deployment-ready

Align the proxy service with Vercel's Hono runtime entry pattern and keep a separate Node server entry for Docker/local runs. Also scaffold the Vercel project/env setup and wire Render deploy sync to pass Daytona variables needed for daytona mode.

* feat(den-db): add db mode switch for PlanetScale

Support DB_MODE=planetscale with Drizzle's PlanetScale serverless driver while keeping mysql2 as the local default. This lets Vercel-hosted services use HTTP database access without changing local development workflows.

* refactor(den-db): adopt shared TypeID ids

Move the Den TypeID system into a shared utils package and use it across auth, org, worker, and sandbox records so fresh databases get one consistent internal ID format. Wire Better Auth into the same generator and update Den request boundaries to normalize typed ids cleanly.

* fix(den): restore docker dev stack after refactor

Include the shared utils package in the Den Docker images, expose MySQL to the host for local inspection, and fix the remaining Den build/runtime issues surfaced by the Docker path after the shared package and TypeID changes.

* docs(den): document Daytona snapshot setup

Add README guidance for building and publishing the prebuilt Daytona runtime snapshot, including the helper script, required env, and how to point Den at the snapshot for local Daytona mode.

* refactor(den-db): reset migrations and load env files

Replace the old Den SQL migration history with a fresh baseline for the current schema, and let Drizzle commands load database credentials from env files. Default to mysql when DATABASE_URL is present and otherwise use PlanetScale credentials so local Docker and hosted environments can share the same DB package cleanly.

* fix(den): prepare manual PlanetScale deploys

Update the Render workflow and Docker build path for the shared workspace packages, support PlanetScale credentials in the manual SQL migration runner, and stop auto-running DB migrations on Den startup so schema changes stay manual.

* feat(den-v2): add Daytona-first control plane

Create a new den-v2 service from the current Daytona-enabled control plane, default it to Daytona provisioning, and add a dedicated Render deployment workflow targeting the new v2 Render service.

* feat(den-worker-proxy): redirect root to landing

Send root proxy traffic to openworklabs.com so direct visits to the worker proxy domain do not hit worker-resolution errors.

---------

Co-authored-by: OmarMcAdam <gh@mcadam.io>
2026-03-16 21:20:26 -07:00
ben
65a5046e71 Delete artifacts/screenshots directory 2026-03-16 20:31:26 -07:00
OpenWork Release Bot
667fb1226d chore(aur): update PKGBUILD for 0.11.165 gh-attach-assets 2026-03-17 02:56:38 +00:00
Benjamin Shafii
fa9934f322 Merge remote-tracking branch 'origin/dev' into dev openwork-orchestrator-v0.11.165 2026-03-16 19:22:26 -07:00
Jan
e4df0c4d2d fix so webdev:local works reliably from the script (#924)
Co-authored-by: jcllobet <jcllobet@users.noreply.github.com>
2026-03-16 19:21:37 -07:00
Benjamin Shafii
d556ed53a0 chore: bump version to 0.11.165 v0.11.165 2026-03-16 19:21:31 -07:00
Benjamin Shafii
1b41ce5554 fix(den): use installed desktop scheme for auth handoff 2026-03-16 19:16:40 -07:00
Jan
a1b24a63a4 Add enterprise CTA to Den landing cards (#965)
* Update Den cards for enterprise CTA

* Adjust enterprise self-hosting layout

---------

Co-authored-by: jcllobet <jcllobet@users.noreply.github.com>
2026-03-16 19:15:38 -07:00
Jan
e23778a2d2 Improve OG share preview readability (#964)
Co-authored-by: OpenWork Bot <bot@openwork.ai>
2026-03-16 18:53:45 -07:00
ben
6143397ef1 feat(den): hand off desktop auth through the web (#963) 2026-03-16 18:15:46 -07:00
Benjamin Shafii
df2fca313b fix(landing): point den hero CTA to sales 2026-03-16 17:58:12 -07:00
ben
06c522d601 Add test to .gitignore 2026-03-16 17:58:04 -07:00
ben
fe913cdcdd Delete .github/workflows/deploy-den.yml 2026-03-16 17:57:17 -07:00
Benjamin Shafii
7d29abc855 fix(landing): route den signup CTA to sales 2026-03-16 17:49:52 -07:00
Omar McAdam
fc4dac2213 fix(provider): fully clear disconnected credentials (#962) 2026-03-16 16:55:16 -07:00
Benjamin Shafii
838216869e evert "fix(web): map landing download CTA to detected OS and arch"
This reverts commit 20d42b30f8.
2026-03-16 16:04:44 -07:00
Omar McAdam
c0affeeca8 chore: add Infisical project config (#959) 2026-03-16 15:56:10 -07:00
ben
c6515f2222 fix(den): accept bearer sessions for desktop auth (#961) 2026-03-16 15:17:26 -07:00
Jan
a87b0ad751 Render share OG PNGs without sharp rasterization (#960)
Co-authored-by: jcllobet <jcllobet@users.noreply.github.com>
2026-03-16 15:04:52 -07:00
Benjamin Shafii
b0c3366051 fix(share): restore bundle installs and repeat app opens 2026-03-16 14:45:21 -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
3ae7735555 feat(settings): add OpenWork Cloud auth and worker open flow (#957)
* add OpenWork Cloud settings auth and worker open

* hide Den endpoint override outside developer mode

* add documented Den and OpenWork Cloud flow evidence
2026-03-16 13:28:01 -07:00
OpenWork Release Bot
f5b7491f37 chore(aur): update PKGBUILD for 0.11.164 2026-03-16 15:15:08 +00:00
Benjamin Shafii
b88e2b53be chore: bump version to 0.11.164 v0.11.164 openwork-orchestrator-v0.11.164 2026-03-16 07:40:34 -07:00
GitHub Action
27120cd578 ignore: update download stats 2026-03-16 2026-03-16 12:27:18 +00:00
Johnny Shields
7953baf4a5 I18n: Add Japanese translations (#948)
* wip: add Japanese (ja) localization

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(i18n): harden Japanese locale — remove wrapping spaces, あなた, backticks

- Strip all spurious spaces around スキル/プラグイン/コマンド/セッション
- Replace あなた with neutral phrasing
- Remove unnecessary backticks around opencode.json

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(i18n): polish Japanese locale — spacing, phrasing, plural fix

- Normalize spacing around OpenPackage and opencode.json
- Fix stray {plural} "s" in folders_allowed for Japanese
- Rephrase awkward アーリーアクセス sentences, use 早期アクセス

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(i18n): native-quality pass on Japanese locale

- 記述→入力, 監査証跡→すべて記録に残します (natural hero text)
- 初期化→作成, リクエスト→許可を求めて (less formal)
- ビデオ→動画, 隠す→非表示, モーダル→画面 (standard UI terms)
- シンキングパーツ→シンキングの内容 (clearer)
- ハンドシェイク→安全な接続, 再テスト→やり直す (user-facing)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(i18n): warmth pass on Japanese locale

- Softer tone: ~してください → ~できます / ~ましょう
- Shorter sentences for sandbox, workspace presets
- Session ready text sounds more like a helpful assistant
- Welcome title more conversational

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(i18n): restore meaning accuracy + warmer welcome title

- Restore "このワーカーを" in sandbox desc (was dropping subject)
- Welcome title: 今日のOpenWorkの使い方は? (warm, modern tone)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(i18n): final warmth pass — shorter, more human Japanese copy

- 追跡→登録 (register, not surveil)
- Shorten passive hints to direct style
- Clarify ambiguous particle (と→に)
- 復元します→すぐにお見せします (warm workspace switch)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 03:43:40 -07:00
Jan
7e990ec182 Default share links to HTML for crawlers (#955)
* Refine share preview OG skill card

* Tighten share preview OG styling

* Polish share preview fallback copy

* Serve share preview OG images as PNG

* Default share links to HTML for crawlers

* Remove legacy share OG alias

* Always serve share pages as HTML

* Use direct OG image route

* Use server-safe fonts in OG images

* Fix OG SVG font-family attributes

* Remove unused share proxy

* Remove dead share JSON negotiation helper

---------

Co-authored-by: jcllobet <jcllobet@users.noreply.github.com>
2026-03-16 03:29:14 -07:00
Jan
18b1ab2bc5 Refine share preview OG skill card (#953)
* Refine share preview OG skill card

* Tighten share preview OG styling

* Polish share preview fallback copy

* Serve share preview OG images as PNG

---------

Co-authored-by: jcllobet <jcllobet@users.noreply.github.com>
2026-03-16 01:38:26 -07:00
Jan
c85fffaae4 updated README by removing out of date UIs (#954)
Updated contact email for inquiries and modified installation instructions for OpenCode Router.
2026-03-16 01:18:48 -07:00
ben
0078e9ffc8 fix(skills): allow removing the default hub repo (#951) 2026-03-15 21:44:51 -07:00
ben
8cf3e734c6 fix(remote): expose owner tokens for permission prompts (#950) 2026-03-15 21:28:47 -07:00
ben
a44fce442f fix(sidebar): preserve child task sessions during root sync (#946) 2026-03-15 20:55:07 -07:00
Benjamin Shafii
b60994a21d docs(aur): add local amd64 Arch build runbook 2026-03-15 20:33:40 -07:00
OpenWork Release Bot
658c9c73e7 chore(aur): update PKGBUILD for 0.11.163 2026-03-16 02:47:35 +00:00
Benjamin Shafii
69249a2076 chore: bump version to 0.11.163 v0.11.163 openwork-orchestrator-v0.11.163 2026-03-15 19:14:00 -07:00
Benjamin Shafii
401eeadfc0 feat(skills): support custom GitHub hub repos 2026-03-15 19:09:08 -07:00
ben
7cb3aa681f fix: keep composer focus after cmd+k session actions (#945) 2026-03-15 19:08:21 -07:00
Benjamin Shafii
b70561d7a4 fix(session): restore inline skill reload banner 2026-03-15 18:49:20 -07:00
Benjamin Shafii
20e24ec31d fix: align worker status label with worker name 2026-03-15 18:33:14 -07:00
ben
41c837ebe7 Task/aur validate fast trigger (#944)
* feat(ci): add standalone AUR validate workflow

* fix(ci): avoid expression parsing in AUR workflow

* fix(ci): preserve workspace path for makepkg steps

* fix(ci): make AUR smoke launch path-aware

* fix(ci): relax AUR smoke gate to install sanity

* fix(ci): use generic package install smoke assertion

* fix(ci): preseed AUR host keys before publish

* fix(ci): inline AUR push with accept-new host keys
2026-03-15 17:55:15 -07:00
OpenWork Release Bot
d70fa07f01 chore(aur): update PKGBUILD for 0.11.162 2026-03-16 00:51:47 +00:00
Benjamin Shafii
770c9473ca chore: bump version to 0.11.162 openwork-orchestrator-v0.11.162 v0.11.162 2026-03-15 17:18:15 -07:00
Benjamin Shafii
dfae1b5948 chore: bump version to 0.11.161 2026-03-15 17:17:50 -07:00
ben
11fd1490c7 improve docker dev defaults for LAN/public access (#943) 2026-03-15 17:06:19 -07:00
Benjamin Shafii
700f52877f Revert "chore(release): bump version to 0.11.161"
This reverts commit 4fb904284c.
2026-03-15 16:54:23 -07:00
Benjamin Shafii
6da6be22f4 Revert "chore(aur): update PKGBUILD for 0.11.160"
This reverts commit d7a41016f1.
2026-03-15 16:54:23 -07:00
OpenWork Release Bot
d7a41016f1 chore(aur): update PKGBUILD for 0.11.160 2026-03-15 23:52:18 +00:00
Benjamin Shafii
4fb904284c chore(release): bump version to 0.11.161 v0.11.161 2026-03-15 16:48:43 -07:00
Benjamin Shafii
d49e4a187f Revert "Fix PKGBUILD - Remove opencode binary if present (#753)"
This reverts commit 6e79349948.
2026-03-15 16:47:10 -07:00
ben
298d9849e9 improve den first-run flow and remove transient marketing UI (#942) openwork-orchestrator-v0.11.160 2026-03-15 16:20:30 -07:00