Skip to content

An open-source, faster Devin alternative

TypeScript

docs: held-message event fields as the platform emits them

Igor Zalutskia70b277c7287
diff --git a/docs/agents/events.mdx b/docs/agents/events.mdx
index ad6be8e1..dbdd07bd 100644
--- a/docs/agents/events.mdx
+++ b/docs/agents/events.mdx
@@ -128,9 +128,9 @@ only when one happened.
| `question.asked` | The agent called [`ask`](/agents/tools#ask-a-question); the asking turn completes with `outcome: "question"` | `questionId`, `text`, `options`: `{ label, value }` choices, empty for free text |
| `question.answered` | A turn answering the question was admitted | `questionId`, `answer`: `{ questionId, text, value? }` |
| `question.closed` | The question closed without an answer | `questionId`, `reason`: `stopped`, `dismissed`, `ended` or `undeliverable` |
-| `message.held` | An input sent without `answers` was held behind the open question | `questionId` and the held input |
-| `message.delivered` | A held input was delivered, as `steering` or as an ordinary turn | `turnId`: the turn that carried it |
-| `message.discarded` | A held input will not run | none |
+| `message.held` | An input sent without `answers` was held behind the open question | `heldId`, `questionId`, `input`, `payload?`, `receivedAt` |
+| `message.delivered` | A held input reached the agent | `heldId`, `answerTurnId` (the turn that carried it), `as`: `steering`, `answer` or `turn` |
+| `message.discarded` | A held input will not run | `heldId`, `reason`: `stopped` or `ended` |
`turn.completed` with `outcome: "question"` is the turn's terminal event, so a
consumer that knows only completed turns reads an asking turn correctly, and