import { THROUGHPUT_PRECISION_DESCRIPTOR } from "./config-schema.js"; import type { ContextDisplayMode, ContextUnknownMode, GitShaMode, EditorTopMarginRows, GlanceConfig, IconMode, ModelThinkingMode, ThroughputPrecision, TokensCacheMode, TokensDisplayMode, WorkspaceLabelMode, } from "./types.js"; export const ICON_MODE_VALUES: ReadonlyArray = ["plain", "nerd"]; export const PROVIDER_DISPLAY_MODE_VALUES: ReadonlyArray = ["auto", "always", "never"]; export const WORKSPACE_LABEL_MODE_VALUES: ReadonlyArray = ["name", "smart", "path"]; export const EDITOR_TOP_MARGIN_ROW_VALUES: ReadonlyArray = [0, 1, 2]; export const GIT_SHA_MODE_VALUES: ReadonlyArray = ["off", "detached", "always"]; export const CONTEXT_DISPLAY_MODE_VALUES: ReadonlyArray = ["percent+tokens", "percent", "tokens"]; export const CONTEXT_UNKNOWN_MODE_VALUES: ReadonlyArray = ["show", "hide"]; export const TOKENS_DISPLAY_MODE_VALUES: ReadonlyArray = ["input-output", "total"]; export const TOKENS_CACHE_MODE_VALUES: ReadonlyArray = ["auto", "show", "hide"]; export const MODEL_THINKING_MODE_VALUES: ReadonlyArray = ["auto", "always", "never"]; export const THROUGHPUT_PRECISION_VALUES: ReadonlyArray = THROUGHPUT_PRECISION_DESCRIPTOR.values;