From 6795fa609ef60c16c41dc1501c2d3bb7c8d98eff Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Tue, 21 Jul 2026 10:47:51 -0400 Subject: [PATCH] fix(util): scope installation build constants --- packages/util/src/installation/version.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/util/src/installation/version.ts b/packages/util/src/installation/version.ts index 25d9cd99aa..d142b46a8b 100644 --- a/packages/util/src/installation/version.ts +++ b/packages/util/src/installation/version.ts @@ -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"