Files
openclaw/apps/macos/Sources
oliviareid-svg 71a020ab53 fix(macos): strip trailing commit hash from CLI version output
`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>
2026-04-06 22:09:15 +10:00
..