mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-04 20:39:53 +00:00
8 lines
362 B
TypeScript
8 lines
362 B
TypeScript
declare const OPENCODE_VERSION: string
|
|
declare const OPENCODE_CHANNEL: string
|
|
|
|
const version = typeof OPENCODE_VERSION === "string" ? OPENCODE_VERSION : "local"
|
|
const channel = typeof OPENCODE_CHANNEL === "string" ? OPENCODE_CHANNEL : "local"
|
|
|
|
export { version as OPENCODE_VERSION, channel as OPENCODE_CHANNEL }
|
|
export const OPENCODE_LOCAL = channel === "local"
|