mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-15 03:01:02 +00:00
`openclaw --version` outputs "OpenClaw 2026.4.2 (d74a122)" but `normalizeGatewayVersionOutput` only stripped the "OpenClaw " prefix, leaving "2026.4.2 (d74a122)". The "(d74a122)" suffix caused `Semver.parse` to fail because `Int("2 (d74a122)")` returns nil. Strip the trailing `(hex)` commit metadata in the normalizer so the version resolves correctly in the macOS app Settings screen. Fixes #60925 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>