Skip to content

fix(ua): use platform-accurate User-Agent strings with EVS production VMP#6

Merged
flexiondotorg merged 1 commit intomainfrom
ua
Mar 21, 2026
Merged

fix(ua): use platform-accurate User-Agent strings with EVS production VMP#6
flexiondotorg merged 1 commit intomainfrom
ua

Conversation

@flexiondotorg
Copy link
Copy Markdown
Member

Replace hardcoded Linux UA spoof with platform-accurate User-Agent strings via chromeUA() function. Now that production EVS VMP signing is in place on macOS and Windows, platform-accurate UAs are both correct and safer: the Sec-CH-UA-Platform Client Hint is sent on every request and must match the UA platform token.

  • Add chromeUA() function returning platform-specific UA strings
  • Set app.userAgentFallback and session userAgent via chromeUA()
  • Strip Electron identifiers in outgoing request headers
  • Pin Chrome version to 144.0.0.0 matching CastLabs ECS v40.7.0+wvcus
  • Document platform-accurate UA approach in AGENTS.md
  • Update README.md to accurately state lossless audio support for macOS and Windows only

… VMP

Replace hardcoded Linux UA spoof with platform-accurate User-Agent
strings via chromeUA() function. Now that production EVS VMP signing is
in place on macOS and Windows, platform-accurate UAs are both correct
and safer: the Sec-CH-UA-Platform Client Hint is sent on every request
and must match the UA platform token.

- Add chromeUA() function returning platform-specific UA strings
- Set app.userAgentFallback and session userAgent via chromeUA()
- Strip Electron identifiers in outgoing request headers
- Pin Chrome version to 144.0.0.0 matching CastLabs ECS v40.7.0+wvcus
- Document platform-accurate UA approach in AGENTS.md
- Update README.md to accurately state lossless audio support for macOS
  and Windows only
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

@flexiondotorg flexiondotorg merged commit a953c56 into main Mar 21, 2026
11 checks passed
@flexiondotorg flexiondotorg deleted the ua branch March 21, 2026 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant