Expand description
Product-transcript helpers for conversation messages.
Model-wire history may carry composed Desktop context, planner chrome, and runtime steering. The product transcript must prefer the human-authored sentence. Keep this parser conservative: unwrap explicit bridge markers and strip known host appendices; never invent paraphrases.
Functionsยง
- is_
wire_ only_ user_ text - True when
textshould be stored as a wire-only user turn. - product_
user_ text - Extract the human-authored task from a possibly composed / planner-wrapped prompt. Returns empty when the text is pure runtime steering with no human sentence to recover.