mirror of
https://github.com/different-ai/openwork.git
synced 2026-12-02 01:01:55 +08:00
* refactor(worlds): name previews by what they boot and pass app settings `worlds/` held 21 recipes; about half served one test, doc or nothing. - preview-desktop is now the desktop app alone (no Den): source on local, Daytona or Freestyle, or exact published release bytes. One Daytona sandbox instead of two. - preview-full is the old Den plus desktop preview (fresh, team, restricted, workspace); preview-den is unchanged. - Renames: app-web -> preview-app-web, dev-headless -> dev-app-web, desktop-prod-live -> live-desktop, headless-prod-live -> live-app-web. Old names fail with the new one (RENAMED_WORLDS). - Single-use worlds move next to their user and run by path; unused worlds (solo, acme-demo, azure-byok, gateway-local, den-gateway-local) are removed. - `pnpm world up --env KEY` values now reach desktop apps on local and Daytona (e.g. OPENWORK_ENGINE_V2_PREVIEW=1). The selection marker now lists only keys the person selected, not keys the CLI adds itself. Freestyle refuses --env for desktops: its snapshot starts the app at build time. - evidence-web accepts its documented --source again. Signed-off-by: Benjamin Shafii <ben@prologe.io> * test(evals): remove the failing cross-workspace split view spec It fails on unchanged dev at the same step (the session context menu never renders), so it proves nothing. Its world had no other user. Signed-off-by: Benjamin Shafii <ben@prologe.io> * test(evals): remove the preview-world tooling spec It needs several Daytona sandboxes at once (over the 10 GiB org cap), and the proof lane runs it locally where every test skips, so it never proved anything. windows-published-preview still proves an app-only preview on Daytona; the preview rules and --env handling are unit-tested. Signed-off-by: Benjamin Shafii <ben@prologe.io> --------- Signed-off-by: Benjamin Shafii <ben@prologe.io>
9 lines
263 B
TypeScript
9 lines
263 B
TypeScript
import { detachDevHeadless, main } from "../worlds/dev-app-web.ts";
|
|
|
|
if (import.meta.main) {
|
|
const argv = process.argv.slice(2);
|
|
await (argv.includes("--detach")
|
|
? detachDevHeadless(argv.filter((argument) => argument !== "--detach"))
|
|
: main(argv));
|
|
}
|