b7d9521a39
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
45 lines
995 B
TypeScript
45 lines
995 B
TypeScript
import color from "picocolors"
|
|
import { PLUGIN_NAME } from "../../shared"
|
|
|
|
export const SYMBOLS = {
|
|
check: color.green("\u2713"),
|
|
cross: color.red("\u2717"),
|
|
warn: color.yellow("\u26A0"),
|
|
info: color.blue("\u2139"),
|
|
arrow: color.cyan("\u2192"),
|
|
bullet: color.dim("\u2022"),
|
|
skip: color.dim("\u25CB"),
|
|
} as const
|
|
|
|
export const STATUS_COLORS = {
|
|
pass: color.green,
|
|
fail: color.red,
|
|
warn: color.yellow,
|
|
skip: color.dim,
|
|
} as const
|
|
|
|
export const CHECK_IDS = {
|
|
SYSTEM: "system",
|
|
CONFIG: "config",
|
|
TOOLS: "tools",
|
|
MODELS: "models",
|
|
} as const
|
|
|
|
export const CHECK_NAMES: Record<string, string> = {
|
|
[CHECK_IDS.SYSTEM]: "System",
|
|
[CHECK_IDS.CONFIG]: "Configuration",
|
|
[CHECK_IDS.TOOLS]: "Tools",
|
|
[CHECK_IDS.MODELS]: "Models",
|
|
} as const
|
|
|
|
export const EXIT_CODES = {
|
|
SUCCESS: 0,
|
|
FAILURE: 1,
|
|
} as const
|
|
|
|
export const MIN_OPENCODE_VERSION = "1.4.0"
|
|
|
|
export const PACKAGE_NAME = PLUGIN_NAME
|
|
|
|
export const OPENCODE_BINARIES = ["opencode", "opencode-desktop"] as const
|