userMessages
userMessages(
session):NormalizedMessage[]
Returns every normalized user message from a session.
Parameters
Section titled “Parameters”session
Section titled “session”Normalized session produced by a harness run.
Returns
Section titled “Returns”Example
Section titled “Example”const firstPrompt = userMessages(result.session)[0]?.content;