openclaw/apps/macos/Sources
Frank Yang ed86252aa5
fix: handle CLI session expired errors gracefully instead of crashing gateway (#31090)
* fix: handle CLI session expired errors gracefully

- Add session_expired to FailoverReason type
- Add isCliSessionExpiredErrorMessage to detect expired CLI sessions
- Modify runCliAgent to retry with new session when session expires
- Update agentCommand to clear expired session IDs from session store
- Add proper error handling to prevent gateway crashes on expired sessions

Fixes #30986

* fix: add session_expired to AuthProfileFailureReason and missing log import

* fix: type cli-runner usage field to match EmbeddedPiAgentMeta

* fix: harden CLI session-expiry recovery handling

* build: regenerate host env security policy swift

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-03-02 01:11:05 +00:00
..
OpenClaw fix: handle CLI session expired errors gracefully instead of crashing gateway (#31090) 2026-03-02 01:11:05 +00:00
OpenClawDiscovery fix(macos): harden exec allowlist shell-chain checks 2026-02-21 16:27:18 +01:00
OpenClawIPC style(swift): run swiftformat + swiftlint autocorrect 2026-02-15 05:38:35 +01:00
OpenClawMacCLI refactor(gateway): unify v3 auth payload builders and vectors 2026-02-26 15:08:50 +01:00
OpenClawProtocol fix(protocol): regenerate swift gateway models for internalEvents 2026-03-02 00:55:35 +00:00