fix(util): scope installation build constants

This commit is contained in:
Dax Raad 2026-07-21 10:47:51 -04:00
commit 6795fa609e

View file

@ -1,7 +1,5 @@
declare global {
const OPENCODE_VERSION: string
const OPENCODE_CHANNEL: string
}
declare const OPENCODE_VERSION: string
declare const OPENCODE_CHANNEL: string
export const InstallationVersion = typeof OPENCODE_VERSION === "string" ? OPENCODE_VERSION : "local"
export const InstallationChannel = typeof OPENCODE_CHANNEL === "string" ? OPENCODE_CHANNEL : "local"