openclaw/src/daemon
Bryan Pearson a2b8f2aef0 fix(launchd): set ProcessType=Interactive to prevent macOS App Nap
The gateway launchd plist does not set ProcessType, so macOS treats it as a background process eligible for App Nap. When the system is idle, App Nap can suspend the process and freeze setTimeout-based heartbeat timers.

Setting ProcessType to Interactive tells launchd the process needs timely execution.

Fixes #58061; refs #62294 and #66992.
2026-05-09 16:39:27 +05:30
..
test-helpers
arg-split.ts
cmd-argv.test.ts
cmd-argv.ts
cmd-set.ts
constants.test.ts
constants.ts
container-context.ts
diagnostics.ts
exec-file.ts
future-config-guard.ts
gateway-entrypoint.ts
inspect.test.ts test: tighten daemon infra array assertions 2026-05-09 05:56:26 +01:00
inspect.ts
launchd-plist.ts fix(launchd): set ProcessType=Interactive to prevent macOS App Nap 2026-05-09 16:39:27 +05:30
launchd-restart-handoff.test.ts fix: avoid launchd kickstart after fresh bootstrap 2026-05-03 21:49:53 +01:00
launchd-restart-handoff.ts fix: avoid launchd kickstart after fresh bootstrap 2026-05-03 21:49:53 +01:00
launchd.integration.e2e.test.ts test: tighten e2e array assertions 2026-05-09 06:03:18 +01:00
launchd.test.ts fix(launchd): set ProcessType=Interactive to prevent macOS App Nap 2026-05-09 16:39:27 +05:30
launchd.ts fix(gateway): persist macOS stop disable after bootout 2026-05-08 05:35:21 +01:00
node-service.ts
output.ts
paths.ts
program-args.test.ts
program-args.ts feat: add native sqlite Kysely dialect 2026-05-07 13:07:03 +01:00
restart-logs.test.ts
restart-logs.ts
runtime-binary.test.ts
runtime-binary.ts
runtime-format.test.ts
runtime-format.ts
runtime-hints.test.ts
runtime-hints.ts
runtime-hints.windows-paths.test.ts
runtime-parse.ts
runtime-paths.test.ts feat: add native sqlite Kysely dialect 2026-05-07 13:07:03 +01:00
runtime-paths.ts feat: add native sqlite Kysely dialect 2026-05-07 13:07:03 +01:00
schtasks-exec.test.ts
schtasks-exec.ts
schtasks.install.test.ts
schtasks.startup-fallback.test.ts Windows startup: handle localized schtasks access denied 2026-05-06 00:36:54 -05:00
schtasks.stop.test.ts
schtasks.test.ts
schtasks.ts Windows startup: handle localized schtasks access denied 2026-05-06 00:36:54 -05:00
service-audit.test.ts fix(daemon): include Homebrew in macOS service PATH 2026-05-08 17:59:46 -05:00
service-audit.ts feat: add native sqlite Kysely dialect 2026-05-07 13:07:03 +01:00
service-env-plan.ts refactor: source service env install planning 2026-05-04 01:47:02 +01:00
service-env-render-policy.ts refactor: source service env install planning 2026-05-04 01:47:02 +01:00
service-env.test.ts test: tighten registry empty array assertions 2026-05-09 05:40:02 +01:00
service-env.ts fix(daemon): include homebrew paths in launchagent env (#79331) 2026-05-08 04:31:30 -05:00
service-layout.ts [codex] Extract filesystem safety primitives (#77918) 2026-05-06 02:15:17 +01:00
service-managed-env.ts fix(daemon): preserve systemd env-file secrets on re-stage 2026-05-04 00:34:18 +01:00
service-path-policy.ts refactor(daemon): reuse shared path normalizer 2026-05-02 16:20:50 +05:30
service-runtime.ts
service-types.ts fix(gateway): persist macOS stop disable after bootout 2026-05-08 05:35:21 +01:00
service.test-helpers.ts
service.test.ts fix(gateway): clarify systemd service scope 2026-05-04 03:33:49 -07:00
service.ts fix(gateway): clarify systemd service scope 2026-05-04 03:33:49 -07:00
systemd-hints.test.ts
systemd-hints.ts
systemd-linger.ts
systemd-unavailable.test.ts
systemd-unavailable.ts
systemd-unit.test.ts
systemd-unit.ts
systemd.test.ts test: tighten core capture assertions 2026-05-08 20:44:46 +01:00
systemd.ts fix(daemon): preserve systemd env-file secrets on re-stage 2026-05-04 00:34:18 +01:00