{"record":{"id":"c47b00c87d4543f8","repo":"deepseek-ai/deepseek-harness","slug":"conversation-definition-definition-kind-must","errorCode":null,"errorMessage":"conversation Definition \"${definition.kind}\" must declare target and buildViewNode together","messagePattern":"conversation Definition \"(.+?)\" must declare target and buildViewNode together","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/client/runtime/src/client/conversation/event-registry.ts","lineNumber":63,"sourceCode":"        this.fallback = undefined\n        this.refresh()\n      }\n    }, `conversationEvents.registerFallback(${JSON.stringify(definition.kind)})`)\n    return () => { void dispose() }\n  }\n\n  /**\n   * Return the current unmatched-event fallback.\n   * @returns installed fallback, when present.\n   */\n  fallbackEntry(): ConversationNodeDefinition | undefined {\n    return this.fallback\n  }\n}\n\nfunction assertDefinitionTarget(definition: ConversationNodeDefinition): void {\n  if ((definition.target === undefined) !== (definition.buildViewNode === undefined)) {\n    throw new Error(\n      `conversation Definition \"${definition.kind}\" must declare target and buildViewNode together`,\n    )\n  }\n}\n","sourceCodeStart":45,"sourceCodeEnd":68,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/client/runtime/src/client/conversation/event-registry.ts#L45-L68","documentation":"Error \"conversation Definition \"${definition.kind}\" must declare target and buildViewNode together\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/client/runtime/src/client/conversation/event-registry.ts:63 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Declare target and buildViewNode together on the conversation Definition."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}