fix(studio): inject version from package.json and include in all telemetry events (#1151)
The Vite build relied on process.env.npm_package_version which is only set when invoked through npm/bun run scripts. CI builds running vite build directly got "dev" as the version. Read package.json directly so the version is always correct regardless of invocation method. Also add studio_version to the BrowserSystemMeta interface so the new telemetry system (studio_session_start, studio_render_start, etc.) includes the deployed version in every event.
M
Miguel Ángel committed
a0a569fcce1e127a4833c7e460a0237bfc7586eb
Parent: 8c7068a
Committed by GitHub <noreply@github.com>
on 6/1/2026, 8:44:57 PM