Skip to content

Commit 59ca0ab

Browse files
chore: release
1 parent dbbe9f7 commit 59ca0ab

File tree

21 files changed

+175
-75
lines changed

21 files changed

+175
-75
lines changed

.changeset/fix-dev-build-dir-leak.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/fix-list-deploys-nullable.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/mcp-query-tools.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

packages/build/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @trigger.dev/build
22

3+
## 4.4.4
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
- `@trigger.dev/core@4.4.4`
9+
310
## 4.4.3
411

512
### Patch Changes

packages/build/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@trigger.dev/build",
3-
"version": "4.4.3",
3+
"version": "4.4.4",
44
"description": "trigger.dev build extensions",
55
"license": "MIT",
66
"publishConfig": {
@@ -78,7 +78,7 @@
7878
},
7979
"dependencies": {
8080
"@prisma/config": "^6.10.0",
81-
"@trigger.dev/core": "workspace:4.4.3",
81+
"@trigger.dev/core": "workspace:4.4.4",
8282
"mlly": "^1.7.1",
8383
"pkg-types": "^1.1.3",
8484
"resolve": "^1.22.8",

packages/cli-v3/CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,58 @@
11
# trigger.dev
22

3+
## 4.4.4
4+
5+
### Patch Changes
6+
7+
- Fix dev CLI leaking build directories on rebuild, causing disk space accumulation. Deprecated workers are now pruned (capped at 2 retained) when no active runs reference them. The watchdog process also cleans up `.trigger/tmp/` when the dev CLI is killed ungracefully (e.g. SIGKILL from pnpm). ([#3224](https://github.com/triggerdotdev/trigger.dev/pull/3224))
8+
- MCP server improvements: new tools, bug fixes, and new flags. ([#3224](https://github.com/triggerdotdev/trigger.dev/pull/3224))
9+
10+
**New tools:**
11+
12+
- `get_query_schema` — discover available TRQL tables and columns
13+
- `query` — execute TRQL queries against your data
14+
- `list_dashboards` — list built-in dashboards and their widgets
15+
- `run_dashboard_query` — execute a single dashboard widget query
16+
- `whoami` — show current profile, user, and API URL
17+
- `list_profiles` — list all configured CLI profiles
18+
- `switch_profile` — switch active profile for the MCP session
19+
- `start_dev_server` — start `trigger dev` in the background and stream output
20+
- `stop_dev_server` — stop the running dev server
21+
- `dev_server_status` — check dev server status and view recent logs
22+
23+
**New API endpoints:**
24+
25+
- `GET /api/v1/query/schema` — query table schema discovery
26+
- `GET /api/v1/query/dashboards` — list built-in dashboards
27+
28+
**New features:**
29+
30+
- `--readonly` flag hides write tools (`deploy`, `trigger_task`, `cancel_run`) so the AI cannot make changes
31+
- `read:query` JWT scope for query endpoint authorization
32+
- `get_run_details` trace output is now paginated with cursor support
33+
- MCP tool annotations (`readOnlyHint`, `destructiveHint`) for all tools
34+
35+
**Bug fixes:**
36+
37+
- Fixed `search_docs` tool failing due to renamed upstream Mintlify tool (`SearchTriggerDev``search_trigger_dev`)
38+
- Fixed `list_deploys` failing when deployments have null `runtime`/`runtimeVersion` fields (#3139)
39+
- Fixed `list_preview_branches` crashing due to incorrect response shape access
40+
- Fixed `metrics` table column documented as `value` instead of `metric_value` in query docs
41+
- Fixed dev CLI leaking build directories on rebuild — deprecated workers now clean up their build dirs when their last run completes
42+
43+
**Context optimizations:**
44+
45+
- `get_query_schema` now requires a table name and returns only one table's schema (was returning all tables)
46+
- `get_current_worker` no longer inlines payload schemas; use new `get_task_schema` tool instead
47+
- Query results formatted as text tables instead of JSON (~50% fewer tokens)
48+
- `cancel_run`, `list_deploys`, `list_preview_branches` formatted as text instead of raw JSON
49+
- Schema and dashboard API responses cached to avoid redundant fetches
50+
51+
- Updated dependencies:
52+
- `@trigger.dev/core@4.4.4`
53+
- `@trigger.dev/build@4.4.4`
54+
- `@trigger.dev/schema-to-json@4.4.4`
55+
356
## 4.4.3
457

558
### Patch Changes

packages/cli-v3/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "trigger.dev",
3-
"version": "4.4.3",
3+
"version": "4.4.4",
44
"description": "A Command-Line Interface for Trigger.dev projects",
55
"type": "module",
66
"license": "MIT",
@@ -95,9 +95,9 @@
9595
"@opentelemetry/sdk-trace-node": "2.0.1",
9696
"@opentelemetry/semantic-conventions": "1.36.0",
9797
"@s2-dev/streamstore": "^0.22.5",
98-
"@trigger.dev/build": "workspace:4.4.3",
99-
"@trigger.dev/core": "workspace:4.4.3",
100-
"@trigger.dev/schema-to-json": "workspace:4.4.3",
98+
"@trigger.dev/build": "workspace:4.4.4",
99+
"@trigger.dev/core": "workspace:4.4.4",
100+
"@trigger.dev/schema-to-json": "workspace:4.4.4",
101101
"ansi-escapes": "^7.0.0",
102102
"braces": "^3.0.3",
103103
"c12": "^1.11.1",

packages/core/CHANGELOG.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,53 @@
11
# internal-platform
22

3+
## 4.4.4
4+
5+
### Patch Changes
6+
7+
- Fix `list_deploys` MCP tool failing when deployments have null `runtime` or `runtimeVersion` fields. ([#3224](https://github.com/triggerdotdev/trigger.dev/pull/3224))
8+
- MCP server improvements: new tools, bug fixes, and new flags. ([#3224](https://github.com/triggerdotdev/trigger.dev/pull/3224))
9+
10+
**New tools:**
11+
12+
- `get_query_schema` — discover available TRQL tables and columns
13+
- `query` — execute TRQL queries against your data
14+
- `list_dashboards` — list built-in dashboards and their widgets
15+
- `run_dashboard_query` — execute a single dashboard widget query
16+
- `whoami` — show current profile, user, and API URL
17+
- `list_profiles` — list all configured CLI profiles
18+
- `switch_profile` — switch active profile for the MCP session
19+
- `start_dev_server` — start `trigger dev` in the background and stream output
20+
- `stop_dev_server` — stop the running dev server
21+
- `dev_server_status` — check dev server status and view recent logs
22+
23+
**New API endpoints:**
24+
25+
- `GET /api/v1/query/schema` — query table schema discovery
26+
- `GET /api/v1/query/dashboards` — list built-in dashboards
27+
28+
**New features:**
29+
30+
- `--readonly` flag hides write tools (`deploy`, `trigger_task`, `cancel_run`) so the AI cannot make changes
31+
- `read:query` JWT scope for query endpoint authorization
32+
- `get_run_details` trace output is now paginated with cursor support
33+
- MCP tool annotations (`readOnlyHint`, `destructiveHint`) for all tools
34+
35+
**Bug fixes:**
36+
37+
- Fixed `search_docs` tool failing due to renamed upstream Mintlify tool (`SearchTriggerDev``search_trigger_dev`)
38+
- Fixed `list_deploys` failing when deployments have null `runtime`/`runtimeVersion` fields (#3139)
39+
- Fixed `list_preview_branches` crashing due to incorrect response shape access
40+
- Fixed `metrics` table column documented as `value` instead of `metric_value` in query docs
41+
- Fixed dev CLI leaking build directories on rebuild — deprecated workers now clean up their build dirs when their last run completes
42+
43+
**Context optimizations:**
44+
45+
- `get_query_schema` now requires a table name and returns only one table's schema (was returning all tables)
46+
- `get_current_worker` no longer inlines payload schemas; use new `get_task_schema` tool instead
47+
- Query results formatted as text tables instead of JSON (~50% fewer tokens)
48+
- `cancel_run`, `list_deploys`, `list_preview_branches` formatted as text instead of raw JSON
49+
- Schema and dashboard API responses cached to avoid redundant fetches
50+
351
## 4.4.3
452

553
### Patch Changes

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@trigger.dev/core",
3-
"version": "4.4.3",
3+
"version": "4.4.4",
44
"description": "Core code used across the Trigger.dev SDK and platform",
55
"license": "MIT",
66
"publishConfig": {

packages/python/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @trigger.dev/python
22

3+
## 4.4.4
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
- `@trigger.dev/core@4.4.4`
9+
- `@trigger.dev/build@4.4.4`
10+
- `@trigger.dev/sdk@4.4.4`
11+
312
## 4.4.3
413

514
### Patch Changes

0 commit comments

Comments
 (0)