openclaw/apps
valtterimelkko 05900e72b6 Fix: Defer gateway restarts during active agent runs and prevent macOS app config writes in remote mode
- Add active agent run tracking functions (getActiveAgentRunCount, getActiveAgentRunIds)
- Add onAgentRunComplete callback to notify when runs complete
- Modify config-reload to defer restarts when active runs exist
- Queue restart and apply when all runs complete
- Add guard in AppState.swift to prevent config writes in remote mode
- Set gateway.reload.mode to "off" as immediate fix

This prevents the bot from interrupting in-flight messages during
config changes, fixing the "bot typing but never responds" issue.

Root cause: macOS app was writing to gateway config even in remote mode,
triggering file watcher → reload handler → SIGUSR1 → shutdown during messages.
2026-01-30 11:00:16 +00:00
..
android chore: bump beta version to 2026.1.27-beta.1 2026-01-28 01:28:16 +01:00
ios chore: bump beta version to 2026.1.27-beta.1 2026-01-28 01:28:16 +01:00
macos Fix: Defer gateway restarts during active agent runs and prevent macOS app config writes in remote mode 2026-01-30 11:00:16 +00:00
shared/MoltbotKit Branding: update bot.molt bundle IDs + launchd labels 2026-01-27 14:46:50 -06:00