{"record":{"id":"1421144e7d743c1a","repo":"deepseek-ai/deepseek-harness","slug":"typert-cannot-resolve-key-package-packa-142114","errorCode":null,"errorMessage":"typert: cannot resolve \"${key}\" — package \"${packageName}\" has no registered contribution","messagePattern":"typert: cannot resolve \"(.+?)\" — package \"(.+?)\" has no registered contribution","errorType":"validation","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/typert/registry/src/service.ts","lineNumber":550,"sourceCode":"   * Resolve one required schema.\n   * @param key - global schema key.\n   * @returns the live schema record.\n   * @throws when the key is malformed, the package face is absent, or the schema is not contributed.\n   */\n  resolve(key: string): TypertSchemaRecord {\n    const record = this.schemas.get(key)\n    if (record !== undefined) return record\n    const hash = key.indexOf('#')\n    if (hash <= 0 || hash === key.length - 1) {\n      throw new Error(`typert: invalid schema key \"${key}\" — expected \"<package>#<name>\"`)\n    }\n    const packageName = key.slice(0, hash)\n    if ([...this.packages.values()].some(candidate => candidate.package === packageName)) {\n      throw new Error(\n        `typert: cannot resolve \"${key}\" — package \"${packageName}\" is registered but contributes no schema named \"${key.slice(hash + 1)}\"`,\n      )\n    }\n    throw new Error(`typert: cannot resolve \"${key}\" — package \"${packageName}\" has no registered contribution`)\n  }\n\n  /**\n   * Enumerate live schemas in registration order.\n   * @param filter - optional package and face restriction.\n   * @returns matching schema records.\n   */\n  list(filter: TypertSchemaFilter = {}): TypertSchemaRecord[] {\n    return [...this.schemas.values()].filter(record => matches(record, filter))\n  }\n\n  /**\n   * Look up generated reflection for one package face.\n   * @param packageName - exact npm package name.\n   * @param face - face to query; defaults to the host runtime.\n   * @returns the live package record, or `undefined` when absent.\n   */\n  getPackage(packageName: string, face: TypertFace = 'host'): TypertPackageRecord | undefined {","sourceCodeStart":532,"sourceCodeEnd":568,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/typert/registry/src/service.ts#L532-L568","documentation":"Error \"typert: cannot resolve \"${key}\" — package \"${packageName}\" has no registered contribution\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/typert/registry/src/service.ts:550 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Register the package contribution before resolving its schemas."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}