Skip to content

Commit f3f7555

Browse files
chore: release
1 parent c00dae0 commit f3f7555

25 files changed

+196
-104
lines changed

.changeset/ai-prompt-management.md

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

.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/llm-metadata-run-tags.md

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

.changeset/mcp-get-span-details.md

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

.changeset/mcp-query-tools.md

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

.changeset/tame-oranges-change.md

Lines changed: 0 additions & 8 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: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,66 @@
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+
- Add `get_span_details` MCP tool for inspecting individual spans within a run trace. ([#3255](https://github.com/triggerdotdev/trigger.dev/pull/3255))
9+
10+
- New `get_span_details` tool returns full span attributes, timing, events, and AI enrichment (model, tokens, cost, speed)
11+
- Span IDs now shown in `get_run_details` trace output for easy discovery
12+
- New API endpoint `GET /api/v1/runs/:runId/spans/:spanId`
13+
- New `retrieveSpan()` method on the API client
14+
15+
- MCP server improvements: new tools, bug fixes, and new flags. ([#3224](https://github.com/triggerdotdev/trigger.dev/pull/3224))
16+
17+
**New tools:**
18+
19+
- `get_query_schema` — discover available TRQL tables and columns
20+
- `query` — execute TRQL queries against your data
21+
- `list_dashboards` — list built-in dashboards and their widgets
22+
- `run_dashboard_query` — execute a single dashboard widget query
23+
- `whoami` — show current profile, user, and API URL
24+
- `list_profiles` — list all configured CLI profiles
25+
- `switch_profile` — switch active profile for the MCP session
26+
- `start_dev_server` — start `trigger dev` in the background and stream output
27+
- `stop_dev_server` — stop the running dev server
28+
- `dev_server_status` — check dev server status and view recent logs
29+
30+
**New API endpoints:**
31+
32+
- `GET /api/v1/query/schema` — query table schema discovery
33+
- `GET /api/v1/query/dashboards` — list built-in dashboards
34+
35+
**New features:**
36+
37+
- `--readonly` flag hides write tools (`deploy`, `trigger_task`, `cancel_run`) so the AI cannot make changes
38+
- `read:query` JWT scope for query endpoint authorization
39+
- `get_run_details` trace output is now paginated with cursor support
40+
- MCP tool annotations (`readOnlyHint`, `destructiveHint`) for all tools
41+
42+
**Bug fixes:**
43+
44+
- Fixed `search_docs` tool failing due to renamed upstream Mintlify tool (`SearchTriggerDev``search_trigger_dev`)
45+
- Fixed `list_deploys` failing when deployments have null `runtime`/`runtimeVersion` fields (#3139)
46+
- Fixed `list_preview_branches` crashing due to incorrect response shape access
47+
- Fixed `metrics` table column documented as `value` instead of `metric_value` in query docs
48+
- Fixed dev CLI leaking build directories on rebuild — deprecated workers now clean up their build dirs when their last run completes
49+
50+
**Context optimizations:**
51+
52+
- `get_query_schema` now requires a table name and returns only one table's schema (was returning all tables)
53+
- `get_current_worker` no longer inlines payload schemas; use new `get_task_schema` tool instead
54+
- Query results formatted as text tables instead of JSON (~50% fewer tokens)
55+
- `cancel_run`, `list_deploys`, `list_preview_branches` formatted as text instead of raw JSON
56+
- Schema and dashboard API responses cached to avoid redundant fetches
57+
58+
- Adapted the CLI API client to propagate the trigger source via http headers. ([#3241](https://github.com/triggerdotdev/trigger.dev/pull/3241))
59+
- Updated dependencies:
60+
- `@trigger.dev/core@4.4.4`
61+
- `@trigger.dev/build@4.4.4`
62+
- `@trigger.dev/schema-to-json@4.4.4`
63+
364
## 4.4.3
465

566
### Patch Changes

0 commit comments

Comments
 (0)