opencode_offline/packages/opencode/src/cli/version.ts

7 lines
142 B
TypeScript
Raw Normal View History

2025-06-06 11:42:04 +08:00
declare global {
const OPENCODE_VERSION: string
}
export const VERSION =
typeof OPENCODE_VERSION === "string" ? OPENCODE_VERSION : "dev"