Files
clawpanel/tests
Cursor Agent 3780dbadcd fix(kernel): align isLatest with suffix-aware recommended version
buildSnapshot used versionGte against KERNEL_TARGET, which only compares
the base date triplet and ignores -zh.N. Users on e.g. 2026.5.12-zh.1 were
marked latest when the panel target was 2026.5.12-zh.2, hiding the sidebar
upgrade hint and showing a false "latest" badge.

Add recommendedIsNewer mirroring Rust config.rs logic; isLatest is now
!recommendedIsNewer(target, current). Extend kernel tests accordingly.

Co-authored-by: 晴天 <1186258278@users.noreply.github.com>
2026-05-16 11:06:53 +00:00
..