{"record":{"id":"4896fa9ec3079c41","repo":"coleam00/Archon","slug":"invalid-run-config-at-path-unknown-provider","errorCode":null,"errorMessage":"Invalid run config at '${path}': unknown provider '${provider}'.${available ? ` Available: ${available}.` : ' No providers are registered.'}","messagePattern":"Invalid run config at '(.+?)': unknown provider '(.+?)'\\.(.+?)\\.` : ' No providers are registered\\.'\\}","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/core/src/config/run-config.ts","lineNumber":91,"sourceCode":"} as const satisfies Record<ConfigKey, KeyClassification>;\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n  return value !== null && typeof value === 'object' && !Array.isArray(value);\n}\n\nfunction validationError(error: { issues: { path: PropertyKey[]; message: string }[] }): Error {\n  const issue = error.issues[0];\n  const path = issue?.path.length ? issue.path.map(String).join('.') : 'document';\n  return new Error(`Invalid run config at '${path}': ${issue?.message ?? 'invalid value'}`);\n}\n\nfunction assertRegisteredProvider(provider: string, path: string): void {\n  if (isRegisteredProvider(provider)) return;\n  const available = getRegisteredProviders()\n    .map(entry => entry.id)\n    .sort()\n    .join(', ');\n  throw new Error(\n    `Invalid run config at '${path}': unknown provider '${provider}'.` +\n      (available ? ` Available: ${available}.` : ' No providers are registered.')\n  );\n}\n\nfunction normalizePreset(path: string, preset: ModelAliasPreset): ModelAliasPreset {\n  try {\n    return normalizeStrictRunModelPreset(preset);\n  } catch (error) {\n    if (!(error instanceof RunModelPresetValidationError)) throw error;\n    const issuePath = `${path}.${error.issue.field}`;\n    if (error.issue.kind === 'unknown-provider') {\n      const available = getRegisteredProviders()\n        .map(entry => entry.id)\n        .sort()\n        .join(', ');\n      throw new Error(\n        `Invalid run config at '${issuePath}': unknown provider '${error.issue.provider}'.` +","sourceCodeStart":73,"sourceCodeEnd":109,"githubUrl":"https://github.com/coleam00/Archon/blob/0773b9745896ef0612e709c80845a0f7db315b19/packages/core/src/config/run-config.ts#L73-L109","documentation":"Error \"Invalid run config at '${path}': unknown provider '${provider}'.${available ? ` Available: ${available}.` : ' No providers are registered.'}\" thrown in coleam00/Archon.","triggerScenarios":"Thrown at packages/core/src/config/run-config.ts:91 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0773b9745896ef0612e709c80845a0f7db315b19","analyzedAt":"2026-09-01T02:28:07.064Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T05:18:18.240Z"}