From af6951894721ea57dc3c6e8abd67f6d7c63e4cd3 Mon Sep 17 00:00:00 2001 From: Tianyi Cui <53024+tianyicui@users.noreply.github.com> Date: Mon, 20 Jul 2026 22:15:50 +0800 Subject: [PATCH] docs(user-interaction): record review detail contract --- docs/core-data-structures/user-interaction.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/core-data-structures/user-interaction.md b/docs/core-data-structures/user-interaction.md index 46e17f3f83..3a899327db 100644 --- a/docs/core-data-structures/user-interaction.md +++ b/docs/core-data-structures/user-interaction.md @@ -20,7 +20,7 @@ interface AskUserQuestionOption { ## Question item -`AskUserQuestionItem` is one question in a request. The model supplies a stable `id`, which is echoed back with the answer so batched questions remain routable. +`AskUserQuestionItem` is one question in a request. The model supplies a stable `id`, which is echoed back with the answer so batched questions remain routable. Optional `detail` carries supporting text that providers render with the question but keep out of selectable option labels. ```ts type-equiv /** One question in an ask_user_question request. */ @@ -29,6 +29,8 @@ interface AskUserQuestionItem { id: string /** The question to display. */ question: string + /** Optional supporting detail rendered with the question but kept out of option labels. */ + detail?: string /** Optional short heading/group label. */ header?: string /** Optional choices the UI can render as a menu. */