|
|
@@ -49,7 +49,6 @@ import { spawnWslSidecar } from "./wsl/sidecar"
|
|
|
import { migrate } from "./migrate"
|
|
|
import { cleanupStoreFiles } from "./store-cleanup"
|
|
|
import { startBackgroundCli } from "./background-cli"
|
|
|
-import { resolveSidecarVersion } from "./sidecar-version"
|
|
|
|
|
|
const APP_NAMES: Record<string, string> = {
|
|
|
dev: "OpenCode Dev",
|
|
|
@@ -62,7 +61,7 @@ const APP_IDS: Record<string, string> = {
|
|
|
prod: "ai.opencode.desktop",
|
|
|
}
|
|
|
const TEST_ONBOARDING = process.env.OPENCODE_TEST_ONBOARDING === "1"
|
|
|
-const SIDECAR_VERSION = resolveSidecarVersion()
|
|
|
+const SIDECAR_VERSION = process.env.OPENCODE_SIDECAR_V2 === "1" ? "v2" : "v1"
|
|
|
const jsCallStackFeature = "DocumentPolicyIncludeJSCallStacksInCrashReports"
|
|
|
|
|
|
let logger: ReturnType<typeof initLogging>
|