From 5d492d6c9a540955fc98a06dbefac283ec5eec38 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 15 Feb 2026 00:30:36 +0000 Subject: [PATCH] Document exported transport option helper types in streams docs Co-authored-by: Eric Allam --- docs/tasks/streams.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/tasks/streams.mdx b/docs/tasks/streams.mdx index 01d763dd1..95976698a 100644 --- a/docs/tasks/streams.mdx +++ b/docs/tasks/streams.mdx @@ -639,6 +639,12 @@ class MemoryRunStore implements TriggerChatRunStore { `reconnectToStream()` only resumes active streams. When a stream completes or errors, the transport clears stored run state and future reconnect attempts return `null`. +For richer TypeScript ergonomics in app code, `@trigger.dev/ai` also exports: + +- `TriggerChatHeadersInput` +- `TriggerChatSendMessagesOptions` +- `TriggerChatReconnectOptions` + ## Complete Example: AI Streaming ### Define the stream