deepseek-ai/deepseek-harness · error

conversation Definition "${definition.kind}" must declare ta

Error message

conversation Definition "${definition.kind}" must declare target and buildViewNode together

What it means

Error "conversation Definition "${definition.kind}" must declare target and buildViewNode together" thrown in deepseek-ai/deepseek-harness.

Source

Thrown at packages/client/runtime/src/client/conversation/event-registry.ts:63

        this.fallback = undefined
        this.refresh()
      }
    }, `conversationEvents.registerFallback(${JSON.stringify(definition.kind)})`)
    return () => { void dispose() }
  }

  /**
   * Return the current unmatched-event fallback.
   * @returns installed fallback, when present.
   */
  fallbackEntry(): ConversationNodeDefinition | undefined {
    return this.fallback
  }
}

function assertDefinitionTarget(definition: ConversationNodeDefinition): void {
  if ((definition.target === undefined) !== (definition.buildViewNode === undefined)) {
    throw new Error(
      `conversation Definition "${definition.kind}" must declare target and buildViewNode together`,
    )
  }
}

View on GitHub (pinned to b150a551b8)

Solutions

  1. Declare target and buildViewNode together on the conversation Definition.

When it happens

Trigger: Thrown at packages/client/runtime/src/client/conversation/event-registry.ts:63 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/c47b00c87d4543f8. Report an issue: GitHub.