Commit Graph

1067 Commits

Author SHA1 Message Date
Omar McAdam
2b91b4d777 refactor: repo folder structure (#1038)
* refactor(repo): move OpenWork apps into apps and ee layout

Rebase the monorepo layout migration onto the latest dev changes so the moved app, desktop, share, and cloud surfaces keep working from their new paths. Carry the latest deeplink, token persistence, build, Vercel, and docs updates forward to avoid stale references and broken deploy tooling.

* chore(repo): drop generated desktop artifacts

Ignore the moved Tauri target and sidecar paths so local cargo checks do not pollute the branch. Remove the accidentally committed outputs from the repo while keeping the layout migration intact.

* fix(release): drop built server cli artifact

Stop tracking the locally built apps/server/cli binary so generated server outputs do not leak into commits. Also update the release workflow to check the published scoped package name for @openwork/server before deciding whether npm publish is needed.

* fix(workspace): add stable CLI bin wrappers

Point the server and router package bins at committed wrapper scripts so workspace installs can create shims before dist outputs exist. Keep the wrappers compatible with built binaries and source checkouts to avoid Vercel install warnings without changing runtime behavior.
2026-03-19 11:41:38 -07:00
Jan Carbonell
3738ae47a1 fix(desktop): remove stray token store tests (#1037) 2026-03-19 10:47:26 -07:00
Jan Carbonell
3869313b29 chore: bump version to 0.11.170 2026-03-19 10:06:18 -07:00
Jan Carbonell
d8b7d46807 fix(desktop): restore repeated shared-skill deeplinks (#1036)
* fix(desktop): forward warm deeplinks to running app

* chore(desktop): log warm deeplink delivery for h1

* build(desktop): update lockfile for single-instance plugin

* refactor(app): route deeplinks through a bootstrap bridge

* feat(desktop): hand warm deeplinks to the app bridge

* fix(desktop): use opened events as the deeplink source

* fix(app): preserve repeated shared deeplinks

* chore(app): remove deeplink debug instrumentation

* fix(desktop): gate opened deeplinks to macos
2026-03-19 10:00:14 -07:00
Jan Carbonell
71957be91d fix(desktop): persist worker share tokens across restarts (#1034) 2026-03-18 21:52:37 -07:00
Jan Carbonell
e57c043d69 Revert "Persist orchestrator remote tokens across restarts (#1027)"
This reverts commit f94ae1f7e2.
2026-03-18 20:32:42 -07:00
Jan Carbonell
f94ae1f7e2 Persist orchestrator remote tokens across restarts (#1027)
* Persist orchestrator remote tokens across restarts

Store the CLI OpenWork collaborator token, owner token, host token, and port per workspace so remote clients can reconnect after the orchestrator restarts without re-copying credentials.

* Add orchestrator token persistence test

Cover the CLI restart path by starting the built orchestrator twice with the same data dir and asserting the collaborator token, owner token, host token, and port stay stable.
2026-03-18 18:21:14 -07:00
Omar McAdam
41337b9b68 fix(app): make Cloud settings self-serve (#1026) 2026-03-18 16:55:33 -07:00
Jan Carbonell
6044692a48 Hide OpenWork to tray on close (#1025)
* hide OpenWork to tray on close

* restore OpenWork on tray click

* restore hidden window on macOS reopen
2026-03-18 16:53:48 -07:00
Jan Carbonell
605f6fdcb4 Clarify remote token roles in openwork CLI (#1023) 2026-03-18 15:12:11 -07:00
Omar McAdam
491bb08a36 fix(den): share worker poll interval across web and service (#1015)
* fix(den): share worker poll interval across web and service

* fix(den): localize worker poll constants per app
2026-03-18 11:13:43 -07:00
ben
35a6cac0fa fix(web): redesign Den checkout to match dashboard (#1013) 2026-03-18 07:34:13 -07:00
Benjamin Shafii
aa7e5d65d0 refactor(web): remove unused buttons from checkout screen 2026-03-18 07:27:38 -07:00
ben
fa8e29b2de fix(web): stabilize Den onboarding flow with app routes (#1010)
* fix(web): stabilize Den onboarding flow with app routes

* fix(web): apply storybook provisioning layout

* fix(web): simplify Den dashboard chrome

* fix(web): prioritize mobile Den web launch

* fix(web): wrap worker controls in progressive disclosure
2026-03-18 06:45:06 -07:00
Benjamin Shafii
1a459d7978 fix(den): gate onboarding step 2 on checkout 2026-03-17 21:51:49 -07:00
Jan
bd3109923f fix(mobile): simplify composer action row (#1008)
* fix(mobile): simplify composer action row

* fix(mobile): restore compact composer toolbar

* fix(mobile): show full model label
2026-03-17 19:59:40 -07:00
Omar McAdam
1168d21438 fix(web): show worker overlay during open-in-web connect (#1007) 2026-03-17 18:57:44 -07:00
Omar McAdam
15e7de54f8 fix(web): keep open-in-web auto-connect on session (#1006) 2026-03-17 18:39:33 -07:00
Omar McAdam
14b64ad36e fix(app): route new-session Claude CTA to Anthropic (#1004) 2026-03-17 18:17:39 -07:00
Omar McAdam
abc5559d8a fix(den): hide mobile rename summary and repair docker startup (#1001)
Keep the worker rename step focused on small screens, and point the Den Docker services at their built entrypoints so the onboarding flow can be verified end to end.
2026-03-17 17:30:15 -07:00
Omar McAdam
0a6dce072f feat(web): tailor app UI for hosted web deployment (#999)
* feat(web): tailor app chrome for hosted web deployment

* fix(web): restore session sidebar artifacts import
2026-03-17 17:29:13 -07:00
Omar McAdam
991164f404 fix(app): expose OpenAI headless auth in provider modal (#1000)
Preserve provider auth method indices so OpenWork can launch the exact OAuth flow returned by OpenCode, including OpenAI's headless device flow. Hide OpenAI OAuth options on web deployments where that setup should stay API-key only.
2026-03-17 17:25:31 -07:00
Omar McAdam
52c603d272 fix(den): restore Polar billing flow (#998) 2026-03-17 17:21:37 -07:00
Omar McAdam
c27b167c73 fix(web): auto-connect Den workers from open-in-web links (#996) 2026-03-17 17:19:52 -07:00
Benjamin Shafii
9ea1957bee chore: bump version to 0.11.169 2026-03-17 16:40:00 -07:00
Omar McAdam
0e5bfa2698 fix(app): persist den browser and api base URLs separately (#994) 2026-03-17 16:38:49 -07:00
Jan
dee071913b Polish session run indicator (#993)
* fix(session): simplify execution timeline status

* fix(session): animate run status label

---------

Co-authored-by: jcllobet <jcllobet@users.noreply.github.com>
2026-03-17 16:22:17 -07:00
Jan
eecbf9834e fix(landing): send mobile CTA to app.openworklabs.com (#989)
Co-authored-by: Jan Carbonell <jcarbs@Jans-MacBook-Pro-2.local>
2026-03-17 15:59:06 -07:00
Jan
69bac2a01e fix(session): restore composer focus after command actions (#991)
* fix(session): restore composer focus after command actions

* chore(session): remove focus debug logs
2026-03-17 15:58:57 -07:00
Omar McAdam
32a51b2db5 fix(den): persist onboarding worker name updates (#987) 2026-03-17 14:14:21 -07:00
ben
455e61c6de fix(session): remove broken artifacts rail (#986)
The right sidebar artifacts surface is not working on the session page, so hiding it avoids a dead-end control while keeping the rest of the rail intact. This also adds before-and-after screenshots for PR review.
2026-03-17 13:33:12 -07:00
ben
6a99d2723b fix(landing): send Den visitors straight to app.openworklabs.com (#984)
Swap the hero CTA to Get started so Den traffic goes directly into the app instead of a contact-sales detour, and include screenshot evidence for review.
2026-03-17 12:42:40 -07:00
Omar McAdam
58f969d25c fix(vercel): run the app build script correctly (#979) 2026-03-17 12:30:47 -07:00
Omar McAdam
02fb778fe7 fix(web): remove misplaced deployment mode helper (#981) 2026-03-17 12:18:48 -07:00
Omar McAdam
e327394ad0 feat(app): add env-driven deployment mode helper (#980) 2026-03-17 12:18:28 -07:00
ben
8f43502264 fix(session): flatten the reload-required banner (#978) 2026-03-17 11:59:12 -07:00
Omar McAdam
3ee9249df8 feat(web): add env-driven deployment mode helper (#977) 2026-03-17 11:39:32 -07:00
Omar McAdam
0867cf6fa7 fix den-v2 desktop auth handoff parity (#976)
* fix(den-v2): add desktop auth handoff endpoints

* fix(den-db): restore desktop handoff grant table

* chore(den): disable github deploy workflows
2026-03-17 11:01:19 -07:00
Benjamin Shafii
603ddfeeab chore: bump version to 0.11.168 2026-03-16 22:55:35 -07:00
Benjamin Shafii
5ac86e5a12 chore: bump version to 0.11.167 2026-03-16 22:50:30 -07:00
ben
d97ef75f7d fix(settings): keep Cloud controls in developer mode (#973) 2026-03-16 22:48:11 -07:00
Benjamin Shafii
818828262b chore: bump version to 0.11.166 2026-03-16 22:10:31 -07:00
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
Benjamin Shafii
d556ed53a0 chore: bump version to 0.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
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
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