Chatkit Card / Form Payload not writing to conversation history

I’m building an embedded chatkit instance using the AgentBuilder and the widget responses I’m creating that are either cards are forms are not being written to the conversation history.

I’ve attached a before and after image of what it looks like in-flow. I created a workaround where you select on the widget from the output of an agent followed by a user approval confirmation to stop the agent from continuing to run.

But when I use this flow it has no recollection of what was chosen. In the traces there is no log of selection, just that the widget was output.

Here are images of what it looks like in the embedded chat:

Does anyone have guidance on this? I can’t find anything in the docs and it’s unclear how to get a widget to write to chat history if the user chooses something.