{"record":{"id":"02c03383eea4ec81","repo":"deepseek-ai/deepseek-harness","slug":"typert-host-artifact-package-publishes-remote","errorCode":null,"errorMessage":"typert(host): ${artifact.package} publishes Remote artifacts but has no Remote methods","messagePattern":"typert\\(host\\): (.+?) publishes Remote artifacts but has no Remote methods","errorType":"exception","errorClass":"TypertAnalysisError","httpStatus":null,"severity":"error","filePath":"packages/typert/generator/src/workspace.ts","lineNumber":110,"sourceCode":"    }\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) {\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","sourceCodeStart":92,"sourceCodeEnd":128,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/typert/generator/src/workspace.ts#L92-L128","documentation":"Error \"typert(host): ${artifact.package} publishes Remote artifacts but has no Remote methods\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/typert/generator/src/workspace.ts:110 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Remove the Remote artifact from the package, or add at least one Remote method."],"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"}