deepseek-ai/deepseek-harness · error · TypertAnalysisError

typert(host): ${artifact.package} publishes Remote artifacts

Error message

typert(host): ${artifact.package} publishes Remote artifacts but has no Remote methods

What it means

Error "typert(host): ${artifact.package} publishes Remote artifacts but has no Remote methods" thrown in deepseek-ai/deepseek-harness.

Source

Thrown at packages/typert/generator/src/workspace.ts:110

    }
    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) {
      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}`)
      }
    }
  }
}

View on GitHub (pinned to b150a551b8)

Solutions

  1. Remove the Remote artifact from the package, or add at least one Remote method.

When it happens

Trigger: Thrown at packages/typert/generator/src/workspace.ts:110 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/02c03383eea4ec81. Report an issue: GitHub.