Background agent daemons stop mistakenly retiring themselves when you run prerelease builds.
What's wrong with this entry?
The stale-daemon retire decision and the generic version-newer comparison now understand prerelease channels, so an -engine. build is no longer compared as if it were stable.
- A version's prerelease channel is extracted before comparison; the recognized channels are
["dev", "engine"]. - If the two versions carry different channels, neither is treated as newer than the other.
- If either side is a prerelease and both cannot be parsed as dated builds, the comparison returns false.
- Previously the check only special-cased the substring
-dev..
daemonVersion
Strings lifted out of the shipped bundle, so the claim above can be checked against them.