deepseek-ai/deepseek-harness · error · TypertAnalysisError
typert(${artifact.face}): ${artifact.package} package files
Error message
typert(${artifact.face}): ${artifact.package} package files must include ${file} What it means
Error "typert(${artifact.face}): ${artifact.package} package files must include ${file}" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/typert/generator/src/workspace.ts:90
files?: unknown
}
const subpath = artifact.face === 'host' ? './typert' : './client/typert'
const expected = {
types: `./lib/typert.${artifact.face}.d.ts`,
default: `./lib/typert.${artifact.face}.js`,
}
const actual = manifest.exports !== null && typeof manifest.exports === 'object'
? (manifest.exports as Record<string, unknown>)[subpath]
: undefined
if (!sameExport(actual, expected)) {
throw new TypertAnalysisError(
`typert(${artifact.face}): ${artifact.package} must export ${subpath} as ${JSON.stringify(expected)}`,
)
}
const files = Array.isArray(manifest.files) ? manifest.files : []
for (const file of [`lib/typert.${artifact.face}.js`, `lib/typert.${artifact.face}.d.ts`]) {
if (!files.includes(file)) {
throw new TypertAnalysisError(`typert(${artifact.face}): ${artifact.package} package files must include ${file}`)
}
}
if (artifact.face !== 'host') return
const remoteExpected = {
types: './lib/typert.remote-client.d.ts',
default: './lib/typert.remote-client.js',
}
const remoteActual = manifest.exports !== null && typeof manifest.exports === 'object'
? (manifest.exports as Record<string, unknown>)['./remote']
: undefined
// The declaration map is emitted beside these two but never published: it
// serves editor navigation in the workspace, where the package link
// resolves its source.
const remoteFiles = [
'lib/typert.remote-client.js',
'lib/typert.remote-client.d.ts',
]
if (artifact.remote === undefined) {View on GitHub (pinned to b150a551b8)
Solutions
- Add the missing file to the package files list.
When it happens
Trigger: Thrown at packages/typert/generator/src/workspace.ts:90 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/8efa9d1371252c6b.
Report an issue: GitHub.