# | Workspace configuration default values
# | Migrated from: provisioning/kcl/workspace_config.k
# | Pattern: Pure defaults (no schema, no contracts)

{
  workspace = {
    name = "",
    version = "0.0.0",
    created = "",
    current_infra = "",
    current_environment = "",
  },

  paths = {
    base = "",
    infra = "",
    cache = "",
    runtime = "",
    providers = "",
    taskservs = "",
    clusters = "",
    orchestrator = "",
    control_center = "",
    kms = "",
    generate = "",
    run_clusters = "",
    run_taskservs = "",
    extensions = "",
    resources = "",
    templates = "",
    tools = "",
  },

  provisioning = {
    path = "",
  },

  core = {
    version = "",
    name = "",
  },

  debug = {
    enabled = false,
    metadata = false,
    check_mode = false,
    validation = false,
    remote = false,
    log_level = "info",
    no_terminal = false,
  },

  output = {
    file_viewer = "less",
    format = "text",
  },

  http = {
    use_curl = false,
    timeout = 30,
  },

  providers = {
    active = [],
    default = "",
  },

  platform = {
    orchestrator_enabled = false,
    control_center_enabled = false,
    mcp_enabled = false,
  },

  secrets = {
    provider = "sops",
    sops_enabled = false,
    kms_enabled = false,
  },

  kms = {
    mode = "off",
    config_file = "",
  },

  sops = {
    use_sops = false,
    config_path = "",
    key_search_paths = [],
  },

  ai = {
    enabled = false,
    provider = "",
    config_path = "",
  },

  taskservs = {
    run_path = "",
  },

  clusters = {
    run_path = "",
  },

  generation = {
    dir_path = "",
    defs_file = "",
  },

  cache = {
    enabled = true,
    path = "",
    infra_cache = "",
    grace_period = 3600,
    check_updates = true,
    max_cache_size = "1GB",
  },

  infra = {
    current = "",
  },

  tools = {
    use_kcl = true,
    use_kcl_plugin = false,
    use_tera_plugin = false,
  },

  kcl = {
    core_module = "",
    core_version = "",
    core_package_name = "",
    use_module_loader = false,
    module_loader_path = "",
    modules_dir = "",
  },

  ssh = {
    user = "root",
    options = [],
    timeout = 30,
    debug = false,
  },
}
