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
Diego Valenzuela
29026a379b
Fix: Typo on overview.mdx ( #1460 )
...
* Fix: Typo on overview.mdx
the import helloWorldTask wasn't called correctly at an example
* Fix: Typo update on overview.mdx
Now the import is called `helloWorld` instead of `helloWorldTask` to be consistent with the filename as requested
2024-11-12 18:29:33 +00:00
Matt Aitken
82ebfc7908
Made it clearer that tasks need to be exported
2024-11-06 15:17:12 +00:00
Eric Allam
3252d9ec31
docs: realtime, react hooks, and frontend usage ( #1434 )
...
* WIP realtime/frontend docs
* WIP
* Deleted old examples
* Improved styling
* Improved the generated example styles
* More style improvements
* More realtime docs
* Couple doc tweeks
* runs-and-attempts -> runs
* Remove the prerelease package version
---------
Co-authored-by: James Ritchie <james@trigger.dev >
2024-10-29 12:31:04 +00:00
Matt Aitken
1c80a74885
Added a note to scheduled task docs about the delay option.
2024-10-11 18:58:39 +01:00
Eric Allam
1caec27f72
docs: Max duration ( #1379 )
...
* maxDuration docs
* Update the init command to set the maxDuration and include a commented out maxDuration in the config file
2024-10-04 15:33:35 -07:00
James Ritchie
8e38db96a5
Added error descriptions to each of the lifecycle functions
2024-09-27 16:47:30 +01:00
Eric Allam
3c492bc202
feat: Run metadata ( #1357 )
...
* Run metadata
* Remove metadata from context, move it to it’s own tab
* More run metadata stuff
- Add metadata to testing
- Make using metadata outside of runs a no-op
- Add docs
* Replaying should copy over the metadata
* transfer final attempt output to the task run
* A couple of minor fixes
* Use the new clientOrThrow() method everywhere
* Cleaned up the update metadata endpoint and added an API doc page for it
* Mirror task run attempt errors and output
2024-09-26 09:23:38 +01:00
nicktrn
8e6eb4f6d8
GitHub workflow improvements ( #1306 )
...
* lint and action updates
* add custom image tag action
* remove publish infra bloat
* replace cancel action with native concurrency control
* ignore all docs changes for release trigger
* image action updates
* update publish trigger paths
* simplify semver checks
* make it possible to call publish
* add tests for custom action
* rename publish workflows
* call publish after successful package release
* fix inputs and published package parsing
* clarify image tag action errors
* move test action
* add test events
* add changesets action mock
* add docs checks
* add github action test readme
* fix docs check on push
* update action versions in docs
* cache npm for docs check
* pretend to fix bad docs link
* fix docs link
* Revert "fix docs link"
This reverts commit a7508f5d55 .
* Revert "Revert "fix docs link""
This reverts commit ec642af3dc .
* improve caching
* disable automatic publishing after release
* limit docs checks to pushes to main and PRs
* fix broken links
* prevent word splitting and globbing
* use latest checkout action everywhere
* correctly detect prereleases as valid semver
* update to latest cache action
2024-09-23 15:14:34 +01:00