mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-05-29 14:40:25 -04:00
Render the HTML bootstrap payload by explicitly listing the keys to inline rather than stripping a hand-maintained set of "heavy" keys. The list is enforced as `keyof ClientOptionsType & keyof FrontendOptions` so a typo or a key missing on either side fails compilation. Side effects: - Restore gitReleaseCommit to the inlined payload (it is read at static/main.ts:750 for the version-tree link; the previous denylist silently stripped it). - Add sharingEnabled, urlShortenService, localStoragePrefix, doCache, thirdPartyIntegrationEnabled, statusTrackingEnabled, compilerVersionsUrl to the FrontendOptions type to match what the page already reads. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>