MCPcopy Create free account
hub / github.com/anomalyco/opencode / resolveChannel

Function resolveChannel

packages/desktop/scripts/utils.ts:5–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3export type Channel = "dev" | "beta" | "prod"
4
5export function resolveChannel(): Channel {
6 const raw = Bun.env.OPENCODE_CHANNEL
7 if (raw === "dev" || raw === "beta" || raw === "prod") return raw
8 return "dev"
9}
10
11export const SIDECAR_BINARIES: Array<{ rustTarget: string; ocBinary: string; assetExt: string }> = [
12 {

Callers 3

prebuild.tsFile · 0.90
copy-icons.tsFile · 0.90
copy-metainfo.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected