Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
fail-fast: false
matrix:
# sandbox engines.node >=22 is the binding floor; agent (>=20) runs fine
# on these. 26.7.0 matches the version pinned in mise.toml.
node: ["22", "24", "26.7.0"]
# on these. 26.8.1 matches the version pinned in mise.toml.
node: ["22", "24", "26.8.1"]
env:
# Override the node version per matrix cell. MISE_LOCKFILE=false disables
# mise's locked mode for this job: mise.lock only pins node 26.7.0, so the
# mise's locked mode for this job: mise.lock only pins node 26.8.1, so the
# 22/24 cells aren't in the lock and locked mode would refuse them. Tool
# versions still come from mise.toml; the lock stays authoritative for local
# dev and the (un-overridden) lint-workflows job below.
Expand Down
30 changes: 15 additions & 15 deletions mise.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mise.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tools]
node = "26.7.0"
node = "26.8.1"
pnpm = "11.24.0"
actionlint = "1.7.12"
zizmor = "1.29.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@
"ws": "^8.21.3"
},
"devDependencies": {
"@ai-sdk/react": "4.0.82",
"@ai-sdk/react": "4.0.86",
"@types/node": "^26.3.0",
"@types/ws": "^8.18.1",
"ai": "^7.0.79",
"ai": "^7.0.83",
"tsup": "^8.5.1",
"tsx": "^4.23.12",
"typescript": "^6.0.3",
Expand Down
14 changes: 12 additions & 2 deletions packages/agent/test/unit/agent.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2316,16 +2316,26 @@ describe("CoderLanguageModel stream reuse across segments (#44)", () => {
// Pull until the tool-call part is out — the turn generator is then
// suspended mid-settle, with retainStream about to be computed. (The
// pulls also drive the turn to dial the socket in the first place.)
// The abort must fire in the SAME microtask that observes the part:
// the read fulfillment is queued before the stream's refill pull, so
// aborting here deterministically lands while the generator is still
// suspended at the tool-call yield. Aborting after `await untilToolCall`
// instead races that refill pull — as of Node 26.8 (whatwg-stream pull
// path lost a microtask hop, nodejs/node#65138) the refill resumes the
// generator past its abort checkpoints first, and the segment settles
// as a healthy retained pause before the abort lands.
const untilToolCall = (async () => {
for (;;) {
const { value, done } = await reader.read();
if (done || (value as { type: string }).type === "tool-call") return;
if (done || (value as { type: string }).type === "tool-call") {
abort.abort();
return;
}
}
})();
await vi.advanceTimersByTimeAsync(0);
sockets[0]?.emit("message", streamFrame(...segmentOne));
await untilToolCall;
abort.abort();
const err = await drain(reader).then(
() => undefined,
(e: unknown) => e,
Expand Down
6 changes: 3 additions & 3 deletions packages/provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@
"example:anthropic": "tsx examples/03-anthropic.ts"
},
"dependencies": {
"@ai-sdk/anthropic": "^4.0.42",
"@ai-sdk/openai-compatible": "^3.0.37",
"@ai-sdk/anthropic": "^4.0.44",
"@ai-sdk/openai-compatible": "^3.0.39",
"@ai-sdk/provider": "4.0.8"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.5",
"@types/node": "^26.3.0",
"@vitest/coverage-v8": "^4.1.11",
"ai": "^7.0.79",
"ai": "^7.0.83",
"publint": "^0.3.24",
"tsup": "^8.5.1",
"tsx": "^4.23.12",
Expand Down
4 changes: 2 additions & 2 deletions packages/release-please-ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"release": "tsx src/cli.ts"
},
"dependencies": {
"@ai-sdk/anthropic": "^4.0.42",
"ai": "^7.0.79",
"@ai-sdk/anthropic": "^4.0.44",
"ai": "^7.0.83",
"release-please": "~17.11.2",
"zod": "4.4.3"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/sandbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@
"yaml": "^2.9.0"
},
"devDependencies": {
"@ai-sdk/harness": "^1.0.87",
"@ai-sdk/harness-claude-code": "^1.0.90",
"@ai-sdk/provider-utils": "^5.0.30",
"@ai-sdk/tui": "^1.0.80",
"@ai-sdk/harness": "^1.0.91",
"@ai-sdk/harness-claude-code": "^1.0.94",
"@ai-sdk/provider-utils": "^5.0.32",
"@ai-sdk/tui": "^1.0.84",
"@arethetypeswrong/cli": "^0.18.5",
"@types/node": "^26.3.0",
"@types/ws": "^8.18.1",
Expand Down
Loading