The best way to control Claude Code, Codex and more from any computer or phone

main
ts 6 lines 275 Bytes
Raw
1 // Preview builds share nightly branding but ship without an update feed.
2 const PRERELEASE_VERSION_PATTERN = /^[^-+]+-(?:nightly|preview)\.\d{8}\.\d+$/;
3
4 export function isNightlyDesktopVersion(version: string): boolean {
5 return PRERELEASE_VERSION_PATTERN.test(version);
6 }