Cursor Agent
c8e659959f
Cover line-separator baseURL whitespace validation
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 06:03:07 +00:00
Cursor Agent
e1ada2380e
Cover narrow no-break-space baseURL validation
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 06:01:18 +00:00
Cursor Agent
722f9edbad
Clarify invisible separator handling in baseURL docs
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 05:59:33 +00:00
Cursor Agent
b72e6b6d97
Cover internal-space baseURL validation paths
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 05:57:24 +00:00
Cursor Agent
168cf85ff2
Cover form-feed baseURL whitespace validation
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 05:56:02 +00:00
Cursor Agent
b3bd45c74b
Cover vertical-tab baseURL whitespace validation
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 05:54:41 +00:00
Cursor Agent
dec91eb6b7
Cover BOM wrapper and internal BOM baseURL handling
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 05:53:16 +00:00
Cursor Agent
0d4cc703fd
Reject invisible separator characters in baseURL
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 05:50:43 +00:00
Cursor Agent
c8bdcd935b
Cover carriage-return baseURL whitespace validation
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 05:42:07 +00:00
Cursor Agent
43cf6c9486
Cover percent-encoded delimiter paths in baseURL validation
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 05:40:50 +00:00
Cursor Agent
6363e7e37a
Cover percent-encoded whitespace baseURL acceptance
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 05:39:04 +00:00
Cursor Agent
6e8c236232
Document internal-tab baseURL invalid examples
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 05:36:16 +00:00
Cursor Agent
0aa2edb752
Prioritize internal-whitespace baseURL validation
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 05:34:31 +00:00
Cursor Agent
2644de574c
Reject internal whitespace in normalized baseURL values
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 05:32:31 +00:00
Cursor Agent
bf05b9449e
Document default baseURL behavior when omitted
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 05:25:06 +00:00
Cursor Agent
b4f5a8b08a
Add baseURL validation ordering examples to docs
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 05:15:12 +00:00
Cursor Agent
2a60d1d898
Document deterministic baseURL validation ordering
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 05:03:22 +00:00
Cursor Agent
1f7a16508e
Document case-insensitive baseURL protocol matching
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 05:00:11 +00:00
Cursor Agent
9c3228b759
Document exact baseURL validation error messages
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 04:50:12 +00:00
Cursor Agent
d56f58d66a
Document ws and wss baseURL rejection examples
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 04:45:09 +00:00
Cursor Agent
c00d630487
Add explicit baseURL examples to ai docs
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 04:41:30 +00:00
Cursor Agent
39492e67ab
Reject credential-bearing baseURL values
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 04:31:21 +00:00
Cursor Agent
db22f32e72
Reject baseURL query and hash components
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 04:27:03 +00:00
Cursor Agent
9afa035574
Require http(s) protocol for chat transport baseURL
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 04:22:40 +00:00
Cursor Agent
3a9047b59b
Validate baseURL is an absolute URL
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 04:20:17 +00:00
Cursor Agent
4ae1207428
Validate normalized baseURL cannot be empty
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 04:15:43 +00:00
Cursor Agent
b38d231f75
Trim baseURL whitespace before endpoint normalization
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 04:08:33 +00:00
Cursor Agent
b44b4e5c38
Document baseURL normalization semantics for transport endpoints
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 03:59:50 +00:00
Cursor Agent
69035260fd
Document reconnect behavior when onError is omitted
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 03:30:28 +00:00
Cursor Agent
5f6e78b5c1
Document retry behavior for stale inactive reconnect cleanup
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 02:59:56 +00:00
Cursor Agent
87f92e7080
Document reconnect inactive-cleanup error reporting semantics
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 02:36:30 +00:00
Cursor Agent
aab79a08dc
Document dual-step best-effort run-store cleanup behavior
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 02:01:50 +00:00
Cursor Agent
b912e4f51c
Document best-effort run-store cleanup error semantics
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 01:42:41 +00:00
Cursor Agent
4b4953cc28
Report stream subscribe failures through onError lifecycle
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 01:17:06 +00:00
Cursor Agent
1c50671975
Clarify onError normalization behavior in streams docs
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 01:06:28 +00:00
Cursor Agent
8f5c16a7c5
Report send-phase errors through onError callback
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 00:53:16 +00:00
Cursor Agent
1f49bc218b
Add optional onError callback for non-fatal transport issues
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 00:37:22 +00:00
Cursor Agent
5d492d6c9a
Document exported transport option helper types in streams docs
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 00:30:36 +00:00
Cursor Agent
5d24c69c4f
Document supported header input formats for transport
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 00:15:09 +00:00
Cursor Agent
bff60e11e4
Clarify reconnect lifecycle behavior in transport docs
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 00:07:45 +00:00
Cursor Agent
e8222f76b9
Document onTriggeredRun callback option in streams guide
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-15 00:05:32 +00:00
Cursor Agent
7d17be7406
Document advanced chat transport mapping and run store options
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-14 23:52:29 +00:00
Cursor Agent
092c2ba55c
Add ai compatibility tests and preserve sdk behavior
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-14 23:23:57 +00:00
Cursor Agent
af510e668a
Document and demo @trigger.dev/ai useChat transport
...
Co-authored-by: Eric Allam <eric@trigger.dev >
2026-02-14 23:19:36 +00:00
Eric Allam
bb5cefa92c
docs: realtime streams v2 ( #2673 )
2025-11-14 09:42:20 +00:00
Eric Allam
a94a11f44d
feat(sdk): replace onStart lifecycle hook with onStartAttempt ( #2515 )
...
* fix(sdk): prevent uncaught errors thrown onSuccess, onComplete, and onFailure hooks to fail attempts & in some cases runs
* Add onStartAttempt hook and deprecate onSuccess
* Add onStartAttempt hook and deprecate onStart hook
* Fix onStartAttempt overload types
* Update lifecycle functions diagram
2025-11-13 14:51:13 +00:00
Eric Allam
89b1d8ba13
fix all lifecycle hooks ( #2480 )
2025-09-05 11:17:38 +01:00
James Ritchie
fade22015f
Docs – v4 GA updates ( #2298 )
...
* Adds new features table to top of v4 upgrade guide
* Adds wait idempotency to wait-until, wait-for, and wait-for-token pages
* Adds new priority docs page and updates the v4 upgrade guide
* Adds new task lifecycle hooks
* Removes the message about requiring tasks to be exported
* Adds new global lifecycle hooks section
* Moves sections from upgrade guide into the table
* Adds hidden task page
* Improves the global lifecycle hooks section
* Updates middleware and locals section
* Adds new useWaitToken page to the react hooks section
* Adds a new ai.tool section
* Moves Docker (legacy) page into self-hosting section
* Removes known issues from v4 upgrade guide
* Replace “toolTask” with “ai.tool” in the Streams page example
* Renames guide to “Migrating from v3” and adds redirect
* Remove references to v4
* Removes changelog from migration guide
* The installation guide now references `@latest update`
* Changes all references from `/sdk/v3` to `/sdk`
* Updates @v4-beta to @latest
* Fixed broken link
* Fixes broken link
* Adds an upgrade to v4 using AI section
* Fixes 2 broken links
* Adds an entry for targetting preview branches
* Updates the run statuses
* Adds boolean helpers section to the runs and realtime pages
* Updates the concurrency page
* Updates the test page to include the new options
* Adds SDK and curl options for the preview branch targeting
* Updates new bulk actions page
* Remove the releasing concurrency section
* Got rid of some more @v4-beta mentions
* Improved rate limit docs
* Improved migrating docs
* Removed commented sections of the docs
* useWaitToken hook
* Fixed the description
* Fix for missing test image
---------
Co-authored-by: Matt Aitken <matt@mattaitken.com >
Co-authored-by: Dan <8297864+D-K-P@users.noreply.github.com >
2025-08-18 12:34:55 +01:00
Matt Aitken
9ce4f57a6a
Upgraded v4 experimental flags. keepNames and autoDetectExternal now default to true. ( #2371 )
...
* keepNames default true, not experimental now
* Added docs for the `environments` declarative schedules feature
* minify and autoDetectExternal (true now)
* processKeepAlive
* devProcessCwdInBuildDir
* Changeset
* Switch to legacyDevProcessCwdBehaviour
2025-08-07 16:47:45 +01:00
James Ritchie
e19bf2abaf
Docs/more docs improvements ( #1718 )
...
* Format the machine override example code
* Adds note to add `fluent-ffmpeg` to external
* Updates onFailure with more clarification
* Adds debugging in vs code to Troubleshooting
* Removed link
2025-02-19 16:06:42 +00:00