Skip to content

Commit 37e9df0

Browse files
committed
Merge remote-tracking branch 'origin/main' into samejr/sso-ui
2 parents 0fe8de5 + d59743b commit 37e9df0

507 files changed

Lines changed: 73711 additions & 13028 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.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/sdk": patch
3+
---
4+
5+
Fix chat turns that throw (for example from an `onTurnStart` hook) leaking their message listener, which lost or duplicated messages sent during later turns.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/sdk": patch
3+
---
4+
5+
Fix `chat.agent` and `chat.createSession` permanently dropping user messages when several arrived during a single turn: every buffered message is now dispatched as its own turn instead of only the first.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/sdk": patch
3+
---
4+
5+
Fix chat continuation runs replaying already-answered messages: turns delivered while the run was suspended now advance the session.in resume cursor, so a new run picks up exactly where the previous one left off.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/sdk": patch
3+
---
4+
5+
Fix `chat.createSession` swallowing a message sent shortly after stopping a turn: the turn's message listener now detaches when the stream settles, so those messages run as the next turn.

.env.example

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres?schema=publi
77
# This sets the URL used for direct connections to the database and should only be needed in limited circumstances
88
# See: https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference#fields:~:text=the%20shadow%20database.-,directUrl,-No
99
DIRECT_URL=${DATABASE_URL}
10+
# Dedicated run-ops database (@internal/run-ops-database). Only needed to run prisma commands
11+
# against it or to enable the run-ops split; start it with `docker compose --profile runops up`.
12+
RUN_OPS_DATABASE_URL=postgresql://postgres:postgres@localhost:5434/postgres?schema=public
1013
REMIX_APP_PORT=3030
14+
# Dev-only: stream the webapp's logs over a local telnet/TCP socket (nc localhost 6767). Uncomment to enable.
15+
# WEBAPP_TELNET_LOGS_PORT=6767
1116
APP_ENV=development
1217
APP_ORIGIN=http://localhost:3030
1318
ELECTRIC_ORIGIN=http://localhost:3060

.github/actionlint.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
# Configuration for actionlint.
2-
#
3-
# Blacksmith runners are self-hosted runners from GitHub Actions' perspective, so
4-
# actionlint needs to be told that these custom runner labels are valid.
51
self-hosted-runner:
62
labels:
7-
- blacksmith-*-ubuntu-*
8-
- blacksmith-*-windows-*
9-
- blacksmith-*-macos-*
3+
- warp-ubuntu-*
4+
- warp-macos-*
5+
- warp-windows-*

.github/workflows/changesets-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ concurrency:
1818
jobs:
1919
release-pr:
2020
name: Create Release PR
21-
runs-on: blacksmith-2vcpu-ubuntu-2404
21+
runs-on: warp-ubuntu-latest-x64-2x
2222
permissions:
2323
contents: write
2424
pull-requests: write
@@ -36,7 +36,7 @@ jobs:
3636
- name: Setup node
3737
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
3838
with:
39-
node-version: 20.20.2
39+
node-version: 22.23.1
4040
cache: "pnpm"
4141

4242
- name: Install dependencies

.github/workflows/check-review-md.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
vars.ENABLE_CLAUDE_CODE != 'false' &&
2121
github.event.pull_request.draft == false &&
2222
github.event.pull_request.head.repo.full_name == github.repository
23-
runs-on: blacksmith-2vcpu-ubuntu-2404
23+
runs-on: warp-ubuntu-latest-x64-2x
2424
permissions:
2525
contents: read
2626
pull-requests: write

.github/workflows/claude-md-audit.yml

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 📝 CLAUDE.md Audit
1+
name: 📝 Agent Instructions Audit
22

33
on:
44
pull_request:
@@ -10,7 +10,7 @@ on:
1010
- "**/*.md"
1111

1212
concurrency:
13-
group: claude-md-audit-${{ github.event.pull_request.number }}
13+
group: agent-instructions-audit-${{ github.event.pull_request.number }}
1414
cancel-in-progress: true
1515

1616
jobs:
@@ -21,7 +21,7 @@ jobs:
2121
vars.ENABLE_CLAUDE_CODE != 'false' &&
2222
github.event.pull_request.draft == false &&
2323
github.event.pull_request.head.repo.full_name == github.repository
24-
runs-on: blacksmith-2vcpu-ubuntu-2404
24+
runs-on: warp-ubuntu-latest-x64-2x
2525
permissions:
2626
contents: read
2727
pull-requests: write
@@ -48,29 +48,36 @@ jobs:
4848
--allowedTools "Read,Glob,Grep,Bash(git diff:*)"
4949
5050
prompt: |
51-
You are reviewing a PR to check whether any CLAUDE.md files or .claude/rules/ files need updating.
51+
You are reviewing a PR to check whether any agent instruction files need updating.
52+
53+
In this repo:
54+
- Root shared agent guidance lives in `AGENTS.md`.
55+
- Root `CLAUDE.md` is only a Claude Code adapter that imports `AGENTS.md`.
56+
- Subdirectories may still have scoped `CLAUDE.md` files.
57+
- `.claude/rules/` contains additional Claude Code guidance.
5258
5359
## Your task
5460
5561
1. Run `git diff origin/main...HEAD --name-only` to see which files changed in this PR.
56-
2. For each changed directory, check if there's a CLAUDE.md in that directory or a parent directory.
57-
3. Determine if any CLAUDE.md or .claude/rules/ file should be updated based on the changes. Consider:
62+
2. For each changed directory, check the applicable instruction files: root `AGENTS.md`, any `CLAUDE.md` in that directory or a parent directory, and relevant `.claude/rules/` files.
63+
3. Determine if any instruction file should be updated based on the changes. Consider:
5864
- New files/directories that aren't covered by existing documentation
59-
- Changed architecture or patterns that contradict current CLAUDE.md guidance
60-
- New dependencies, services, or infrastructure that Claude should know about
61-
- Renamed or moved files that are referenced in CLAUDE.md
65+
- Changed architecture or patterns that contradict current agent guidance
66+
- New dependencies, services, or infrastructure that agents should know about
67+
- Renamed or moved files that are referenced in an instruction file
6268
- Changes to build commands, test patterns, or development workflows
6369
6470
## Response format
6571
6672
If NO updates are needed, respond with exactly:
67-
CLAUDE.md files look current for this PR.
73+
Agent instruction files look current for this PR.
6874
6975
If updates ARE needed, respond with a short list:
70-
📝 **CLAUDE.md updates suggested:**
76+
📝 **Agent instruction updates suggested:**
77+
- `AGENTS.md`: [what should be added/changed]
7178
- `path/to/CLAUDE.md`: [what should be added/changed]
7279
- `.claude/rules/file.md`: [what should be added/changed]
7380
74-
Keep suggestions specific and brief. Only flag things that would actually mislead Claude in future sessions.
81+
Keep suggestions specific and brief. Only flag things that would actually mislead agents in future sessions.
7582
Do NOT suggest updates for trivial changes (bug fixes, small refactors within existing patterns).
76-
Do NOT suggest creating new CLAUDE.md files - only updates to existing ones.
83+
Do NOT suggest creating new CLAUDE.md files - only updates to existing instruction files.

.github/workflows/claude.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
2323
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
2424
)
25-
runs-on: blacksmith-2vcpu-ubuntu-2404
25+
runs-on: warp-ubuntu-latest-x64-2x
2626
permissions:
2727
contents: write
2828
pull-requests: write
@@ -44,7 +44,7 @@ jobs:
4444
- name: ⎔ Setup node
4545
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
4646
with:
47-
node-version: 20.20.2
47+
node-version: 22.23.1
4848
cache: "pnpm"
4949

5050
- name: 📥 Download deps

0 commit comments

Comments
 (0)