diff --git a/.changeset/app-files-before-page-work.md b/.changeset/app-files-before-page-work.md new file mode 100644 index 0000000000..a735d34b30 --- /dev/null +++ b/.changeset/app-files-before-page-work.md @@ -0,0 +1,8 @@ +--- +"apps": patch +--- + +`apps/ui/serving` exports `appFile`, which answers a version's own file, or a 404 for a missing +dotted path, and returns `None` for the page itself, so hosts can serve files before page work. +`appDocument` renders only the document and inlines the version watcher; `appWatchScript` is +removed, along with the hosts' `/_executor/watch.js` routes. diff --git a/.changeset/background-service.md b/.changeset/background-service.md new file mode 100644 index 0000000000..889831b8b0 --- /dev/null +++ b/.changeset/background-service.md @@ -0,0 +1,20 @@ +--- +"@executor-js/local-server": minor +"@executor-js/app-management": patch +"@executor-js/desktop": minor +"@executor-js/app-templates": patch +--- + +`executor` now starts one background Executor per data directory, shared by the command line, +`executor apps` and the desktop app, and exits once the dashboard opens; the background Executor +runs until `executor service stop`. `executor service` starts, stops and configures it, and +`executor upgrade` stops it and starts it again on the new version. `executor apps` commands +without `--host` or `EXECUTOR_HOST` use it and need no API key, as the app-authoring skill now says. +Executor 1's `executor service install` and `executor service uninstall` name what to run instead. + +Executor desktop no longer runs its own server: it starts or joins the same background Executor and +uses the command line's data directory, `~/.executor/v2/cli`. Its first launch moves the data of an +earlier desktop release there, once. Command-line data already in that directory, with its apps and +accounts, moves to `~/.executor/v2/backups/cli-data-