Skip to content

Commit 3c22b32

Browse files
committed
Merge main into run-store-write-adapter
2 parents 60565cf + ae08c9c commit 3c22b32

139 files changed

Lines changed: 3904 additions & 579 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/pre.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"@trigger.dev/sdk": "4.4.6"
2020
},
2121
"changesets": [
22+
"agent-skills-bundled-in-sdk",
2223
"agent-skills",
2324
"ai-prompts",
2425
"ai-sdk-7-support",
@@ -31,17 +32,22 @@
3132
"chat-agent-tools",
3233
"chat-agent",
3334
"chat-boot-cursor",
35+
"chat-headstart-custom-backends",
3436
"chat-headstart-hydrate",
3537
"chat-headstart-reasoning",
38+
"chat-headstart-trigger-config",
3639
"chat-history-read-primitives",
3740
"chat-session-attributes",
3841
"chat-slim-wire-merge",
3942
"chat-start-session-action-typed-client-data",
43+
"chat-system-prompt-caching",
4044
"chat-transport-recreate-missing-session",
4145
"cli-deploy-skip-rewrite-timestamp",
46+
"cli-dev-without-project",
4247
"cli-init-ai-tooling",
4348
"coerce-concurrency-key-to-string",
4449
"create-session-stop-continuation",
50+
"custom-agent-loop-fixes",
4551
"dequeue-latency-histogram",
4652
"duplicate-task-ids",
4753
"env-vars-tracing-forceflush-typecheck",
@@ -66,7 +72,9 @@
6672
"runs-list-region-filter",
6773
"s2-batch-transform-linger-fix",
6874
"sessions-primitive",
75+
"span-api-cached-cost",
6976
"trigger-client",
77+
"trigger-skill-namespace-and-docs",
7078
"trigger-skills-installer",
7179
"unflatten-attributes-conflict",
7280
"warm-start-external-trace-context-leak"

.changeset/span-api-cached-cost.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/core": patch
3+
---
4+
5+
The run span API response now includes `cachedCost` and `cacheCreationCost` on the `ai` object, alongside the existing `inputCost` / `outputCost` / `totalCost`. `inputCost` reflects only the non-cached input, so these fields let you reconstruct the full cost breakdown for prompt-cached calls.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@trigger.dev/sdk": patch
3+
"trigger.dev": patch
4+
---
5+
6+
The agent skills installed by `trigger skills` are now namespaced with a `trigger-` prefix (e.g. `trigger-authoring-tasks`, `trigger-getting-started`) so they don't collide with unrelated skills in your coding agent's skills directory. Adds a `trigger-cost-savings` skill for auditing and reducing compute spend (right-sizing machines, `maxDuration`, batching, debounce), and `@trigger.dev/sdk` now bundles the full Trigger.dev documentation so your agent can read the complete, version-pinned reference directly from node_modules.

.github/workflows/publish-docs.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: 📚 Publish docs
2+
3+
on:
4+
push:
5+
tags:
6+
- "docs-release-*"
7+
8+
# Only needs to move the docs-live ref; Mintlify's GitHub app deploys from it.
9+
permissions:
10+
contents: write
11+
12+
concurrency:
13+
group: publish-docs
14+
cancel-in-progress: false
15+
16+
jobs:
17+
publish:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: 📥 Checkout tagged commit
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
22+
with:
23+
persist-credentials: false
24+
25+
- name: 🔗 Check for broken links
26+
working-directory: ./docs
27+
run: npx mintlify@4.0.393 broken-links
28+
29+
- name: 🚀 Fast-forward docs-live to the tagged commit
30+
env:
31+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
run: |
33+
gh api -X PATCH \
34+
"repos/${{ github.repository }}/git/refs/heads/docs-live" \
35+
-f sha="${{ github.sha }}" \
36+
-F force=false

.server-changes/fix-queue-search-performance.md

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

.server-changes/harden-realtime-change-publishing.md

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

.server-changes/hide-self-serve-billing-ui.md

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

.server-changes/locked-version-trigger-stale-replica.md

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

.server-changes/playground-history-tab.md

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

.server-changes/prevent-db-seed-script-hang.md

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

0 commit comments

Comments
 (0)