deepseek-ai/deepseek-harness · error · TypertAnalysisError
typert(host): ${artifact.package} package files must include
Error message
typert(host): ${artifact.package} package files must include ${file} What it means
Error "typert(host): ${artifact.package} package files must include ${file}" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/typert/generator/src/workspace.ts:123
'lib/typert.remote-client.js',
'lib/typert.remote-client.d.ts',
]
if (artifact.remote === undefined) {
if (remoteActual !== undefined || remoteFiles.some(file => files.includes(file))) {
throw new TypertAnalysisError(
`typert(host): ${artifact.package} publishes Remote artifacts but has no Remote methods`,
)
}
return
}
if (!sameExport(remoteActual, remoteExpected)) {
throw new TypertAnalysisError(
`typert(host): ${artifact.package} must export ./remote as ${JSON.stringify(remoteExpected)}`,
)
}
for (const file of remoteFiles) {
if (!files.includes(file)) {
throw new TypertAnalysisError(`typert(host): ${artifact.package} package files must include ${file}`)
}
}
}
}
function sameExport(actual: unknown, expected: { types: string; default: string }): boolean {
if (actual === null || typeof actual !== 'object' || Array.isArray(actual)) return false
const value = actual as Record<string, unknown>
return value.types === expected.types && value.default === expected.default
}
View on GitHub (pinned to b150a551b8)
Solutions
- Add the missing Remote artifact file to the package files list.
When it happens
Trigger: Thrown at packages/typert/generator/src/workspace.ts:123 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of deepseek-ai/deepseek-harness@b150a551b8 (2026-08-24).
Data as JSON: /api/errors/733e9066060e6ba1.
Report an issue: GitHub.