deepseek-ai/deepseek-harness · error · TypertEmitError
typert Remote emitter: symbol ${imported.symbol} has inconsi
Error message
typert Remote emitter: symbol ${imported.symbol} has inconsistent public imports What it means
Error "typert Remote emitter: symbol ${imported.symbol} has inconsistent public imports" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/typert/generator/src/emitter.ts:885
function strictCodec(boundary: RemoteBoundaryModel, schema: string): string {
return [
'{',
' mode: \'strict\',',
` typeSymbol: ${quote(boundary.typeSymbol)},`,
` schema: ${schema},`,
'}',
].join('\n')
}
function remoteImports(invocations: readonly InvocationModel[]): RemoteTypeImportModel[] {
const imports = new Map<SymbolId, RemoteTypeImportModel>()
const add = (boundary: RemoteBoundaryModel): void => {
for (const imported of boundary.imports) {
const current = imports.get(imported.symbol)
if (current !== undefined
&& (current.specifier !== imported.specifier || current.name !== imported.name)) {
throw new TypertEmitError(`typert Remote emitter: symbol ${imported.symbol} has inconsistent public imports`)
}
imports.set(imported.symbol, imported)
}
}
for (const invocation of invocations) {
if (invocation.invocation.kind === 'context') add(invocation.invocation.boundary)
for (const parameter of invocation.parameters) add(parameter.boundary)
add(invocation.result)
}
return [...imports.values()].sort((left, right) =>
left.specifier.localeCompare(right.specifier) || left.name.localeCompare(right.name))
}
function allocateRemoteImportNames(imports: readonly RemoteTypeImportModel[]): ReadonlyMap<SymbolId, string> {
const used = new Set(['TypertRemoteContribution', 'TYPERT_REMOTE'])
const names = new Map<SymbolId, string>()
for (const imported of imports) {
const base = safeIdentifier(imported.name)View on GitHub (pinned to b150a551b8)
Solutions
- Make the symbol's public imports consistent across faces; export it from one canonical module.
When it happens
Trigger: Thrown at packages/typert/generator/src/emitter.ts:885 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/002ed78e26cf25b9.
Report an issue: GitHub.