Commit graph

2 commits

Author SHA1 Message Date
Peter Steinberger
271702bb8d
feat(macos): host the Gateway on bundled Bun (#161709)
* feat(macos): host the Gateway on bundled Bun

Prepare the bundled runtime inside each app profile and run fresh Gateways as app-owned children with readiness checks, bounded shutdown, and crash recovery. Keep terminal commands on the current shim while services pin matching concrete runtime, package, and SQLite builds. Reseed app-owned installations after updates and preserve operator runtime selections. Bundled onboarding no longer downloads Node or runs the CLI installer.

* fix(macos): preserve legacy app update retry receipts

* fix(macos): preserve Gateway update and service ownership

* fix(macos): preserve paused legacy Gateway service hosting

* fix(macos): defer service migration inspection to hosting controls

* fix(macos): revalidate service authority and admit runtime pin reads

* fix(macos): preserve legacy updater authority and older state reads

* fix(macos): preserve service ownership and paused intent

* fix(macos): bind service changes to retained ownership

Preserve a service when Pause cannot retain its command, and carry the originally selected service definition through install, uninstall, and restart dispatch. Surface refused teardown without overwriting a replacement service.

* test(macos): model active recovery and restorable services

Give onboarding a restorable managed Node command and isolate its retained state. Model an active, unpaused Gateway with matching listener and service ownership in recovery fixtures, and retire startup before teardown. Preserve the original recovery and cancellation assertions.

* test(macos): preserve ownership in pause fixtures

Use a restorable managed Node command and assert that Pause uninstalls only the managed service. Preserve the stopped-state and installation checks, model named-profile ownership, and restore retained preferences after the fixture.
2026-09-30 18:16:02 -07:00
Peter Steinberger
16be7f0f27
feat(macos): run the private app runtime on the OpenClaw Bun fork (#161603)
* feat(macos): run the private app runtime on the OpenClaw Bun fork

* fix(macos): let the bundled runtime load unsigned plugin addons

* test(macos): remove obsolete worker pruning closure tests

* test(macos): drop stale packaging test imports

* test(macos): migrate CI scope cases to runtime paths
2026-09-30 01:27:03 -07:00