{"record":{"id":"8efa9d1371252c6b","repo":"deepseek-ai/deepseek-harness","slug":"typert-artifact-face-artifact-package-pack","errorCode":null,"errorMessage":"typert(${artifact.face}): ${artifact.package} package files must include ${file}","messagePattern":"typert\\((.+?)\\): (.+?) package files must include (.+?)","errorType":"exception","errorClass":"TypertAnalysisError","httpStatus":null,"severity":"error","filePath":"packages/typert/generator/src/workspace.ts","lineNumber":90,"sourceCode":"      files?: unknown\n    }\n    const subpath = artifact.face === 'host' ? './typert' : './client/typert'\n    const expected = {\n      types: `./lib/typert.${artifact.face}.d.ts`,\n      default: `./lib/typert.${artifact.face}.js`,\n    }\n    const actual = manifest.exports !== null && typeof manifest.exports === 'object'\n      ? (manifest.exports as Record<string, unknown>)[subpath]\n      : undefined\n    if (!sameExport(actual, expected)) {\n      throw new TypertAnalysisError(\n        `typert(${artifact.face}): ${artifact.package} must export ${subpath} as ${JSON.stringify(expected)}`,\n      )\n    }\n    const files = Array.isArray(manifest.files) ? manifest.files : []\n    for (const file of [`lib/typert.${artifact.face}.js`, `lib/typert.${artifact.face}.d.ts`]) {\n      if (!files.includes(file)) {\n        throw new TypertAnalysisError(`typert(${artifact.face}): ${artifact.package} package files must include ${file}`)\n      }\n    }\n    if (artifact.face !== 'host') return\n    const remoteExpected = {\n      types: './lib/typert.remote-client.d.ts',\n      default: './lib/typert.remote-client.js',\n    }\n    const remoteActual = manifest.exports !== null && typeof manifest.exports === 'object'\n      ? (manifest.exports as Record<string, unknown>)['./remote']\n      : undefined\n    // The declaration map is emitted beside these two but never published: it\n    // serves editor navigation in the workspace, where the package link\n    // resolves its source.\n    const remoteFiles = [\n      'lib/typert.remote-client.js',\n      'lib/typert.remote-client.d.ts',\n    ]\n    if (artifact.remote === undefined) {","sourceCodeStart":72,"sourceCodeEnd":108,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/typert/generator/src/workspace.ts#L72-L108","documentation":"Error \"typert(${artifact.face}): ${artifact.package} package files must include ${file}\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/typert/generator/src/workspace.ts:90 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Add the missing file to the package files list."],"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"}