deepseek-ai/deepseek-harness · error · Error

unknown ${id} inspect method "${requested}"

Error message

unknown ${id} inspect method "${requested}"

What it means

Error "unknown ${id} inspect method "${requested}"" thrown in deepseek-ai/deepseek-harness.

Source

Thrown at packages/extensions/tool-cordis/src/providers.ts:87

  description: string,
  method: string,
  query: (input: JsonValue | undefined) => JsonValue | Promise<JsonValue>,
  inputSchema: JsonValue = EMPTY_INPUT,
  outputSchema: JsonValue = ANY_OUTPUT,
): HostCordisInspectProviderRegistration {
  return {
    manifest: {
      id,
      description,
      methods: [{
        name: method,
        description,
        inputSchema,
        outputSchema,
      }],
    },
    async query(requested, input) {
      if (requested !== method) throw new Error(`unknown ${id} inspect method "${requested}"`)
      return await query(input)
    },
  }
}

function exactInput(field: string, description: string): JsonValue {
  return { type: 'object', properties: { [field]: { type: 'string', description } }, additionalProperties: false }
}

function readExact(input: JsonValue | undefined, field: string): string | undefined {
  if (input === undefined || input === null || Array.isArray(input) || typeof input !== 'object') return undefined
  const value = input[field]
  return typeof value === 'string' ? value : undefined
}

View on GitHub (pinned to b150a551b8)

When it happens

Trigger: Thrown at packages/extensions/tool-cordis/src/providers.ts:87 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/a888e3775486f281. Report an issue: GitHub.