Files
triggerdotdev--trigger.dev/packages
Cursor Agent 05232a2e67 feat: add chat transport and AI chat helpers to @trigger.dev/sdk
Two new subpath exports:

@trigger.dev/sdk/chat (frontend, browser-safe):
- TriggerChatTransport — ChatTransport implementation for useChat
- createChatTransport() — factory function
- TriggerChatTransportOptions type

@trigger.dev/sdk/ai (backend, adds to existing ai.tool/ai.currentToolOptions):
- chatTask() — pre-typed task wrapper with auto-pipe
- pipeChat() — pipe StreamTextResult to realtime stream
- CHAT_STREAM_KEY constant
- ChatTaskPayload type
- ChatTaskOptions type
- PipeChatOptions type

Co-authored-by: Eric Allam <eric@trigger.dev>
2026-03-03 15:54:16 +00:00
..
2026-02-20 16:40:06 +00:00
2026-02-20 16:40:06 +00:00
2026-02-20 16:40:06 +00:00