{"record":{"id":"733e9066060e6ba1","repo":"deepseek-ai/deepseek-harness","slug":"typert-host-artifact-package-package-files-mu","errorCode":null,"errorMessage":"typert(host): ${artifact.package} package files must include ${file}","messagePattern":"typert\\(host\\): (.+?) package files must include (.+?)","errorType":"exception","errorClass":"TypertAnalysisError","httpStatus":null,"severity":"error","filePath":"packages/typert/generator/src/workspace.ts","lineNumber":123,"sourceCode":"      'lib/typert.remote-client.js',\n      'lib/typert.remote-client.d.ts',\n    ]\n    if (artifact.remote === undefined) {\n      if (remoteActual !== undefined || remoteFiles.some(file => files.includes(file))) {\n        throw new TypertAnalysisError(\n          `typert(host): ${artifact.package} publishes Remote artifacts but has no Remote methods`,\n        )\n      }\n      return\n    }\n    if (!sameExport(remoteActual, remoteExpected)) {\n      throw new TypertAnalysisError(\n        `typert(host): ${artifact.package} must export ./remote as ${JSON.stringify(remoteExpected)}`,\n      )\n    }\n    for (const file of remoteFiles) {\n      if (!files.includes(file)) {\n        throw new TypertAnalysisError(`typert(host): ${artifact.package} package files must include ${file}`)\n      }\n    }\n  }\n}\n\nfunction sameExport(actual: unknown, expected: { types: string; default: string }): boolean {\n  if (actual === null || typeof actual !== 'object' || Array.isArray(actual)) return false\n  const value = actual as Record<string, unknown>\n  return value.types === expected.types && value.default === expected.default\n}\n","sourceCodeStart":105,"sourceCodeEnd":134,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/typert/generator/src/workspace.ts#L105-L134","documentation":"Error \"typert(host): ${artifact.package} package files must include ${file}\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/typert/generator/src/workspace.ts:123 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Add the missing Remote artifact 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"}