You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added `query.execute()` which lets you query your Trigger.dev data using TRQL (Trigger Query Language) and returns results as typed JSON rows or CSV. It supports configurable scope (environment, project, or organization), time filtering via `period` or `from`/`to` ranges, and a `format` option for JSON or CSV output.
6
+
7
+
```typescript
8
+
import { query } from"@trigger.dev/sdk";
9
+
importtype { QueryTable } from"@trigger.dev/sdk";
10
+
11
+
// Basic untyped query
12
+
const result =awaitquery.execute("SELECT run_id, status FROM runs LIMIT 10");
13
+
14
+
// Type-safe query using QueryTable to pick specific columns
Add optional `timeoutInSeconds` parameter to the `wait_for_run_to_complete` MCP tool. Defaults to 60 seconds. If the run doesn't complete within the timeout, the current state of the run is returned instead of waiting indefinitely.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ Please take some time to read this guide to understand contributing best practic
6
6
7
7
Thank you for helping us make Trigger.dev even better! 🤩
8
8
9
+
> **Important:** We only accept PRs that address a single issue. Please do not submit PRs containing multiple unrelated fixes or features. If you have multiple contributions, open a separate PR for each one.
10
+
9
11
## Getting vouched (required before opening a PR)
10
12
11
13
We use [vouch](https://github.com/mitchellh/vouch) to manage contributor trust. **PRs from unvouched users are automatically closed.**
0 commit comments