Skip to content

fix(agents): support Pi 1.6.1, whose tool parks already reach agents 0.34 - #3171

Merged
ben-reitz merged 10 commits into
release/0.34from
feat/pi-1.6.1
Nov 25, 2026
Merged

ben-reitz merged 10 commits into
release/0.34from
feat/pi-1.6.1

Conversation

@ben-reitz

@ben-reitz ben-reitz commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Pi 1.6.1 is on npm. It's a patch, so a fresh install of released agents (~1.6.0) already gets it, but it ships everything on Pi main since 1.6.0. That includes a breaking change to how tools park: a Pi tool that returns { sleep: { ... } }, the shape our docs teach, now ends with an empty result instead of parking. This moves agents to ~1.6.1, updates the docs and tests to Pi's tagged forms, and brings the agents/models/pi-ai wires in line with the pi-ai fixes in 1.6.1.

It targets release/0.34, cut from [email protected], so it ships as agents 0.34.1 without the unfinished work on main. release/0.34 adds that branch pattern to release.yml. After the release, release/0.34 merges back into main.

Summary

 Pi tools that wait (docs, tests)
-  return { sleep: { signals, until } }
+  return { kind: "sleep", signals, until }
-  if ("value" in state) ...
+  if (state?.kind === "value") ...
 agents/models/pi-ai, chat-completions wire
-  finish_reason "error" → "The model stopped with finish_reason …"   // never retried
+  finish_reason "error" → "Provider finish_reason: error"            // pi-ai's wording, retried
+  rawStopReason "stop.MALFORMED_RESPONSE"                            // OpenRouter native_finish_reason
+  OpenRouter stop with only reasoning + failing native reason → retryable error
 agents/models/pi-ai, every wire
-  onResponse skipped when AI Gateway itself fails (402, …)
+  onResponse gets every response, failures included (status, retry-after)
 agents/models SSE decoder (pi-ai wires + AI SDK provider)
-  rescans the incomplete line on every chunk   // 8 MB event: ~6 s
+  scans only new text                          // 8 MB event: ~20 ms
  • Pi packages go to ~1.6.1 (pi-tui 1.6.1 exact) in agents, the Pi examples, experimental/pi-recovery and the pi-agent-core>pi-ai override.
  • pi-ai's own Anthropic implementation, retry classifier and catalog changes reach our wires with no code here. Tests pin two of them: Claude Opus/Sonnet 5.5 with thinking off no longer send thinking: disabled (a 400 on AI Gateway), and a vendor's 429 reaches onResponse.
  • A Groq test model Pi's catalog dropped (llama-3.1-8b-instant) is replaced with one it still lists.

Pi 1.6.1 stores pi.tool v4 and pi.generation v3, the same as 1.6.0.

Evidence

  • Before (agents 0.34.0's packages/agents/src on Pi 1.6.1): typecheck passes, but harness-pi has 6 failures (the parking tools end with an empty result) and models has 18 (No such Groq model: llama-3.1-8b-instant).
    After (on [email protected]): pnpm run check passes, and harness-pi 115/115, models 459/459, channels 144/144 and the Pi example 18/18 all pass on Pi 1.6.1 from npm.
  • Negative controls: without the wire changes, 4 of the new gateway.test.ts tests fail (AI Gateway's own failure on each wire and on catalog /run), 3 more fail when a throwing onResponse leaves the body uncancelled, 2 of the new OpenRouter empty-stop tests fail, and the SSE timing test takes 6.2–6.4 s against its 1 s limit.

Merge Danger

Door: two-way

Pi 1.6.1 writes the same stored versions as 1.6.0, so rolling back to agents 0.34.0 is safe.

Blast Radius: Pi users

Pi tools that park with the old { sleep: { ... } } shape still compile, but they end with an empty result until they're updated. That's already true for anyone who installs released agents fresh today. The changeset says so.

@changeset-bot

changeset-bot Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 4835c2c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
agents Patch
@cloudflare/agent-think Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@agent-think

agent-think Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

✅ agents import sizes: no significant changes (8750fe70 → 4835c2cf, workflow run)

@pkg-pr-new

pkg-pr-new Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

agents

npm i https://pkg.pr.new/agents@3171

@cloudflare/ai-chat

npm i https://pkg.pr.new/@cloudflare/ai-chat@3171

@cloudflare/codemode

npm i https://pkg.pr.new/@cloudflare/codemode@3171

hono-agents

npm i https://pkg.pr.new/hono-agents@3171

@cloudflare/shell

npm i https://pkg.pr.new/@cloudflare/shell@3171

@cloudflare/think

npm i https://pkg.pr.new/@cloudflare/think@3171

@cloudflare/voice

npm i https://pkg.pr.new/@cloudflare/voice@3171

@cloudflare/worker-bundler

npm i https://pkg.pr.new/@cloudflare/worker-bundler@3171

commit: 4835c2c

@devin-ai-integration devin-ai-integration Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Newer findings are available below. Devin Review posted a newer report on this PR, in addition to the findings presented here.

Devin Review found 4 potential issues.

Devin Review

this.output.usage = usageFromOpenAI(this.model, chunk.usage);
}
const finished = this.applyFinishReason(choice?.finish_reason);
const finished = this.applyFinishReason(choice);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Missed retries for OpenRouter stream errors

CompletionAssembler.apply skips the finish reason when OpenRouter sends it alongside a top-level error. Without the retryable finish reason, Pi gives up when the provider’s error message does not match its retry patterns.

Learn more

OpenRouter’s chat-completions protocol includes both a top-level error and choices[0].finish_reason: "error" in its terminal SSE error frame. The top-level error branch returns before processing the choice or its native reason. The error event then carries only the provider’s message, which Pi 1.6.1’s isRetryableAssistantError matches against its retry patterns.

Example: A provider disconnects after sending partial text. If the terminal frame carries a top-level message Provider disconnected mid-stream and finish_reason: "error", Pi’s classifier rejects the bare message but accepts Provider finish_reason: error.

Recommended fix: Process a terminal error’s choice before returning from the top-level error branch. Keep the provider message alongside the finish reason and preserve non-retryable quota and policy failures. Add an OpenRouter SSE fixture containing both fields, with assertions for the recorded finish reason and retry classification.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

}
const reason = choice?.finish_reason;
if (reason === null || reason === undefined) return false;
this.output.rawStopReason = reason;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Synthetic finish reasons look provider supplied

rawStopReason can contain a reason the provider never sent. normalizeChatCompletionsStream supplies stop or tool_calls when a Workers AI stream reaches [DONE] without a finish reason.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Comment thread .changeset/pi-next.md Resolved
Pi packages to ~1.6.1 (pi-tui 1.6.1 exact) in agents, the Pi examples and experimental/pi-recovery, and the pi-agent-core>pi-ai override to ~1.6.1. Pi 1.6.1 is a patch, but it ships everything on Pi main since 1.6.0, including tagged tool parks, so a fresh install of a released agents already picks it up. It stores pi.tool v4 and pi.generation v3 as 1.6.0 does, so rolling back to 1.6.0 stays safe.
…mpletions wire

A chat-completions stream that ends with `finish_reason: "error"` now fails
with pi-ai's own message, "Provider finish_reason: <reason>", instead of our
"The model stopped with finish_reason ...". pi-ai's retry classifier matches
"provider finish_reason: error" since earendil-works/pi@a00a504, so PiHarness
retries such a mid-stream vendor failure, as Pi 1.6.1 does with its own
openai-completions API.
earendil-works/pi@32c71a6 tags tool parks ({ kind: "sleep", ... }, flat) and SignalState ({ kind: "value" } or { kind: "expired" }). Every result field is optional, so the old { sleep: { ... } } still type-checks and Pi takes it as an empty result: the harness's parked-tool tests failed that way. The test tools and the pi.md samples now use the tagged forms; a beforeTool gate keeps { sleep: { ... } }.
…ons tests

Pi main drops Groq models that models.dev marks deprecated, including
llama-3.1-8b-instant, so the fixture lookup threw. openai/gpt-oss-20b is
listed with the same compat in Pi 1.6.0 and on Pi main.
…n the chat-completions wire

Pi main's openai-completions records OpenRouter's native_finish_reason (the
upstream provider's own reason) in rawStopReason, e.g. error.MALFORMED_FUNCTION_CALL,
and appends it to error messages after pi-ai's "Provider finish_reason:" prefix,
so retry matching is unchanged. Our wire assembles the message itself, so it
now sets rawStopReason and uses pi-ai's own OpenRouter helpers for the native
reason. Needs the Pi release that ships utils/openrouter-finish-reason.
…as pi-ai does

earendil-works/pi@8a57d42 makes pi-ai's onResponse fire for HTTP error
responses and each retried attempt. pi-ai's Anthropic implementation now
reports a vendor's error response through the gateway too, but AI Gateway's
own failures (a gateway envelope, or any non-2xx from /run) threw before
onResponse on all three wires. sendGateway now awaits the callback before it
throws, the chat-completions and Responses wires report through it, and the
Anthropic wire reports a response the SDK never sees because sendGateway threw.
earendil-works/pi@da7e26c fixes pi-ai's SSE readers rescanning an incomplete
event on every chunk. sseDataStream, which the pi-ai chat-completions and
Responses wires and the AI SDK provider read streams with, had the same
cost: it ran its line regex over the whole buffer on each chunk, so an 8 MB
event in 512-byte chunks took about 6 s. It now scans only the new text and
joins an incomplete line once, when it ends.
…ot turn it off

earendil-works/pi@433c1fd marks "off" unsupported on Claude Opus 5.5 and
Sonnet 5.5 in pi's Cloudflare AI Gateway catalog, which reject
thinking: { type: "disabled" } with a 400. The Anthropic wire reads the
catalog's thinkingLevelMap through pi-ai, so the fix reaches it unchanged;
this pins that a streamSimple call without reasoning sends no disabled
thinking to anthropic/claude-opus-5.5 and still disables it on Haiku 5.5.
On Pi 1.6.0's catalog the Opus call sends disabled.
@ben-reitz
ben-reitz changed the base branch from main to release/0.34 November 25, 2026 15:59
@ben-reitz ben-reitz changed the title feat(agents)!: support Pi 1.6.1, whose tool parks already reach released agents fix(agents): support Pi 1.6.1, whose tool parks already reach agents 0.34 Nov 25, 2026

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 3 new potential issues.

Devin Review

Comment thread .changeset/pi-next.md
@@ -0,0 +1,5 @@
---
"agents": patch

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Patch upgrade silently breaks Pi parking

Apps on agents@^0.34.0 can pick up this patch and Pi 1.6.1 without a minor upgrade. Tools still returning the old sleep shape then finish with an empty result instead of waiting.

Learn more

Agents 0.34.0 accepts Pi 1.6.0, while the Pi peer requirements exclude it. A patch release is eligible under ^0.34.0, so an application updating within that range can pick up the new SDK and move from a working Pi 1.6.0 lockfile to 1.6.1 without changing its tool code. The parking contract now requires a tagged return; the old shape compiles but produces an empty result instead of parking. An application that keeps Pi pinned to 1.6.0 instead has incompatible peer requirements for the new SDK.

Example: An approval tool on Pi 1.6.0 returns { sleep: { signals } } and waits for a person to respond. After a patch-range update that resolves Pi 1.6.1, the same tool completes without receiving a signal.

Recommended fix: Publish the peer-floor change as an Agents minor release so ^0.34.0 does not select it and callers can migrate their tool returns when they opt in. This does not prevent Pi-only upgrades under the already-published ~1.6.0 peer range.

Suggested change
"agents": patch
"agents": minor

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Comment thread .changeset/pi-next.md Resolved
…g it

Backports the harness.test.ts part of #3098 (e44ff29) onto release/0.34. On agents 0.34.0 the restarted-root test read the alarm while the wake its startup pushed was still pending, and failed about 2 runs in 5. It now runs that wake's alarm itself and waits for the fallback alarm to clear.
@ben-reitz
ben-reitz merged commit 9448cd8 into release/0.34 Nov 25, 2026
26 checks passed
@ben-reitz
ben-reitz deleted the feat/pi-1.6.1 branch November 25, 2026 19:47
@github-actions github-actions Bot mentioned this pull request Nov 25, 2026
ben-reitz added a commit that referenced this pull request Nov 26, 2026
* ci: release from release/** branches too

Lets a fix ship from an earlier release's code while main carries unfinished work. A push runs the workflow file from the pushed branch, so this commit only has to be on the release branch.

* fix(agents): support Pi 1.6.1, whose tool parks already reach agents 0.34 (#3171)

* chore(agents): bump Pi to 1.6.1

Pi packages to ~1.6.1 (pi-tui 1.6.1 exact) in agents, the Pi examples and experimental/pi-recovery, and the pi-agent-core>pi-ai override to ~1.6.1. Pi 1.6.1 is a patch, but it ships everything on Pi main since 1.6.0, including tagged tool parks, so a fresh install of a released agents already picks it up. It stores pi.tool v4 and pi.generation v3 as 1.6.0 does, so rolling back to 1.6.0 stays safe.

* fix(agents): word an error finish reason as pi-ai does on the chat-completions wire

A chat-completions stream that ends with `finish_reason: "error"` now fails
with pi-ai's own message, "Provider finish_reason: <reason>", instead of our
"The model stopped with finish_reason ...". pi-ai's retry classifier matches
"provider finish_reason: error" since earendil-works/pi@a00a504, so PiHarness
retries such a mid-stream vendor failure, as Pi 1.6.1 does with its own
openai-completions API.

* docs(agents): park Pi tools and read signals with Pi's tagged forms

earendil-works/pi@32c71a6 tags tool parks ({ kind: "sleep", ... }, flat) and SignalState ({ kind: "value" } or { kind: "expired" }). Every result field is optional, so the old { sleep: { ... } } still type-checks and Pi takes it as an empty result: the harness's parked-tool tests failed that way. The test tools and the pi.md samples now use the tagged forms; a beforeTool gate keeps { sleep: { ... } }.

* test(agents): use a Groq model pi-ai still lists in the chat-completions tests

Pi main drops Groq models that models.dev marks deprecated, including
llama-3.1-8b-instant, so the fixture lookup threw. openai/gpt-oss-20b is
listed with the same compat in Pi 1.6.0 and on Pi main.

* fix(agents): record OpenRouter's native finish reason as pi-ai does on the chat-completions wire

Pi main's openai-completions records OpenRouter's native_finish_reason (the
upstream provider's own reason) in rawStopReason, e.g. error.MALFORMED_FUNCTION_CALL,
and appends it to error messages after pi-ai's "Provider finish_reason:" prefix,
so retry matching is unchanged. Our wire assembles the message itself, so it
now sets rawStopReason and uses pi-ai's own OpenRouter helpers for the native
reason. Needs the Pi release that ships utils/openrouter-finish-reason.

* fix(agents): report every response to onResponse, failures included, as pi-ai does

earendil-works/pi@8a57d42 makes pi-ai's onResponse fire for HTTP error
responses and each retried attempt. pi-ai's Anthropic implementation now
reports a vendor's error response through the gateway too, but AI Gateway's
own failures (a gateway envelope, or any non-2xx from /run) threw before
onResponse on all three wires. sendGateway now awaits the callback before it
throws, the chat-completions and Responses wires report through it, and the
Anthropic wire reports a response the SDK never sees because sendGateway threw.

* fix(agents): read a large streamed SSE event in linear time

earendil-works/pi@da7e26c fixes pi-ai's SSE readers rescanning an incomplete
event on every chunk. sseDataStream, which the pi-ai chat-completions and
Responses wires and the AI SDK provider read streams with, had the same
cost: it ran its line regex over the whole buffer on each chunk, so an 8 MB
event in 512-byte chunks took about 6 s. It now scans only the new text and
joins an incomplete line once, when it ends.

* test(agents): send no disabled thinking to a catalog Claude that cannot turn it off

earendil-works/pi@433c1fd marks "off" unsupported on Claude Opus 5.5 and
Sonnet 5.5 in pi's Cloudflare AI Gateway catalog, which reject
thinking: { type: "disabled" } with a 400. The Anthropic wire reads the
catalog's thinkingLevelMap through pi-ai, so the fix reaches it unchanged;
this pins that a streamSimple call without reasoning sends no disabled
thinking to anthropic/claude-opus-5.5 and still disables it on Haiku 5.5.
On Pi 1.6.0's catalog the Opus call sends disabled.

* chore(changeset): name Pi 1.6.1 and link its changelog

* test(agents): run a Pi wake's alarm once it is armed instead of racing it

Backports the harness.test.ts part of #3098 (e44ff29) onto release/0.34. On agents 0.34.0 the restarted-root test read the alarm while the wake its startup pushed was still pending, and failed about 2 runs in 5. It now runs that wake's alarm itself and waits for the fallback alarm to clear.

* Version Packages (#3204)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
andreisavu pushed a commit to andreisavu/agents that referenced this pull request Nov 26, 2026
Brings the Pi 1.6.1 support from cloudflare#3171, the 0.34.1 version and CHANGELOG from cloudflare#3204, and the release/** trigger in release.yml onto main, so main's next release builds on 0.34.1 and doesn't reuse its version or changeset. The one conflict, the restarted-root test in packages/agents/src/harness/pi/tests/harness.test.ts, takes release/0.34's version, which runs the wake's alarm instead of racing it.
brandhaug added a commit to brandhaug/b2b-saas-starter that referenced this pull request Nov 30, 2026
## pnpm-workspace.yaml (default)

## Dependency Updates

| Package | From | To | Type |
| --- | --- | --- | --- |
| `@effect/platform-node` | 4.1.5 | 4.1.7 | patch |
| `@effect/sql-d1` | 4.1.5 | 4.1.7 | patch |
| `@effect/vitest` | 4.1.5 | 4.1.7 | patch |
| `@inlang/plugin-message-format` | 4.6.1 | 4.6.2 | patch |
| `@react-email/ui` | 6.11.16 | 6.11.17 | patch |
| `@rolldown/plugin-babel` | 0.3.1 | 0.3.2 | patch |
| `@tanstack/react-form` | 1.33.5 | 1.33.6 | patch |
| `@types/node` | 26.6.6 | 26.6.11 | patch |
| `@types/react` | 19.3.0 | 19.3.3 | patch |
| `agents` | 0.34.0 | 0.34.1 | patch |
| `ai` | 7.0.181 | 7.0.183 | patch |
| `effect` | 4.1.5 | 4.1.7 | patch |
| `mdast-util-to-markdown` | 2.2.4 | 2.2.5 | patch |
| `react-email` | 6.11.16 | 6.11.17 | patch |
| `ws` | 8.23.0 | 8.23.1 | patch |

## Release Notes

<details>
<summary><b>@<!---->effect/platform-node</b> (4.1.5 → 4.1.7) — 2
releases</summary>

<details>
<summary><b>4.1.7</b></summary>

### Patch Changes

- [#10974](Effect-TS/effect#10974)
[`c74b4aa`](Effect-TS/effect@c74b4aa)
Thanks @<!---->RubensRafael! - Fix `HttpApiClient` on
`NodeHttpClient.layerNodeHttp` dying, instead of failing with a
`StatusCodeError`, when a declared error response has a non-JSON body.

- [#10990](Effect-TS/effect#10990)
[`eba809b`](Effect-TS/effect@eba809b)
Thanks @<!---->kyrregjerstad! - Add `Worker.CloseTimeout` to configure
how long Node and Bun workers may take to close before they are
terminated.
- Updated dependencies
[[`ca1eb29`](Effect-TS/effect@ca1eb29),
[`9af7cbb`](Effect-TS/effect@9af7cbb),
[`35f29b6`](Effect-TS/effect@35f29b6),
[`0b9f246`](Effect-TS/effect@0b9f246),
[`c37ce82`](Effect-TS/effect@c37ce82),
[`abcf54c`](Effect-TS/effect@abcf54c),
[`f487573`](Effect-TS/effect@f487573),
[`4ecf318`](Effect-TS/effect@4ecf318),
[`3795d20`](Effect-TS/effect@3795d20),
[`71235c0`](Effect-TS/effect@71235c0),
[`890be07`](Effect-TS/effect@890be07),
[`3dbbf0d`](Effect-TS/effect@3dbbf0d),
[`a5f5a12`](Effect-TS/effect@a5f5a12),
[`bfbc048`](https://github.com/Effect-TS/effect/

…[full
notes](https://github.com/Effect-TS/effect/releases/tag/%40effect/platform-node%404.1.7)

</details>

<details>
<summary><b>4.1.6</b></summary>

### Patch Changes

- [#10886](Effect-TS/effect#10886)
[`2576bbc`](Effect-TS/effect@2576bbc)
Thanks @<!---->effect-bot! - Add
`NodeChildProcessSpawner.layerProxyProcess`, which launches commands
from a small proxy process, for Node.js builds where spawning from a
process holding a lot of memory stalls the event loop. The layer also
provides `NodeChildProcessSpawner.ProxyProcess`, which reports the proxy
process ID, and packaged applications can run the proxy process from
their own entry point with `NodeChildProcessProxy.run`.

- [#10851](Effect-TS/effect#10851)
[`bb02f33`](Effect-TS/effect@bb02f33)
Thanks @<!---->effect-bot! - Update repository dependencies to their
latest compatible releases.
- Updated dependencies
[[`dd5f2f3`](Effect-TS/effect@dd5f2f3),
[`1d65846`](Effect-TS/effect@1d65846),
[`694c28f`](Effect-TS/effect@694c28f),
[`5aaa2cd`](Effect-TS/effect@5aaa2cd),
[`55814bf`](Effect-TS/effect@55814bf),
[`92c40a1`](Effect-TS/effect@92c40a1),
[`9f415a7`](Effect-TS/effect@9f415a7),
[`e367afd`](Effect-TS/effect@e367afd),
[`d5d2112`](Effect-TS/effect@d5d2112),
[`fa2e5af`](Effect-TS/effect@fa2e5af),
[`6bf6427`](Effect-TS/effect@6bf6427),
[`10bc4a4`](https://github.com/Effect-TS/eff

…[full
notes](https://github.com/Effect-TS/effect/releases/tag/%40effect/platform-node%404.1.6)

</details>

</details>

<details>
<summary><b>@<!---->effect/sql-d1</b> (4.1.5 → 4.1.7) — 2
releases</summary>

<details>
<summary><b>4.1.7</b></summary>

### Patch Changes

- [#10961](Effect-TS/effect#10961)
[`5031d70`](Effect-TS/effect@5031d70)
Thanks @<!---->effect-bot! - Add `Statement.SpanNameGenerator` context
reference to override SQL statement span names while keeping database
and server span attributes unchanged.
- Updated dependencies
[[`ca1eb29`](Effect-TS/effect@ca1eb29),
[`9af7cbb`](Effect-TS/effect@9af7cbb),
[`35f29b6`](Effect-TS/effect@35f29b6),
[`0b9f246`](Effect-TS/effect@0b9f246),
[`c37ce82`](Effect-TS/effect@c37ce82),
[`abcf54c`](Effect-TS/effect@abcf54c),
[`f487573`](Effect-TS/effect@f487573),
[`4ecf318`](Effect-TS/effect@4ecf318),
[`3795d20`](Effect-TS/effect@3795d20),
[`71235c0`](Effect-TS/effect@71235c0),
[`890be07`](Effect-TS/effect@890be07),
[`3dbbf0d`](Effect-TS/effect@3dbbf0d),
[`a5f5a12`](Effect-TS/effect@a5f5a12),
[`bfbc048`](Effect-TS/effect@bfbc048),
[`21ff5fc`](Effect-TS/effect@21ff5fc),
[`d3f1de2`](Effect-TS/effect@d3f1de2),
[`5896612`](Effect-TS/effect@589661

…[full
notes](https://github.com/Effect-TS/effect/releases/tag/%40effect/sql-d1%404.1.7)

</details>

<details>
<summary><b>4.1.6</b></summary>

### Patch Changes

- [#10867](Effect-TS/effect#10867)
[`49d3c99`](Effect-TS/effect@49d3c99)
Thanks @<!---->effect-bot! - Return a typed `SqlError` instead of dying
when `D1Database.prepare()` throws synchronously on `.raw` and
`.unprepared` queries.

- [#10851](Effect-TS/effect#10851)
[`bb02f33`](Effect-TS/effect@bb02f33)
Thanks @<!---->effect-bot! - Update repository dependencies to their
latest compatible releases.
- Updated dependencies
[[`dd5f2f3`](Effect-TS/effect@dd5f2f3),
[`1d65846`](Effect-TS/effect@1d65846),
[`694c28f`](Effect-TS/effect@694c28f),
[`5aaa2cd`](Effect-TS/effect@5aaa2cd),
[`55814bf`](Effect-TS/effect@55814bf),
[`92c40a1`](Effect-TS/effect@92c40a1),
[`9f415a7`](Effect-TS/effect@9f415a7),
[`e367afd`](Effect-TS/effect@e367afd),
[`d5d2112`](Effect-TS/effect@d5d2112),
[`fa2e5af`](Effect-TS/effect@fa2e5af),
[`6bf6427`](Effect-TS/effect@6bf6427),
[`10bc4a4`](Effect-TS/effect@10bc4a4),
[`a9540d3`](Effect-TS/effect@a9540d3),
[`3a250d7`](Effect-TS/effect@3a250d7),
[`ce44141`](https://github.com/

…[full
notes](https://github.com/Effect-TS/effect/releases/tag/%40effect/sql-d1%404.1.6)

</details>

</details>

<details>
<summary><b>@<!---->effect/vitest</b> (4.1.5 → 4.1.7) — 2
releases</summary>

<details>
<summary><b>4.1.7</b></summary>

### Patch Changes

- Updated dependencies
[[`ca1eb29`](Effect-TS/effect@ca1eb29),
[`9af7cbb`](Effect-TS/effect@9af7cbb),
[`35f29b6`](Effect-TS/effect@35f29b6),
[`0b9f246`](Effect-TS/effect@0b9f246),
[`c37ce82`](Effect-TS/effect@c37ce82),
[`abcf54c`](Effect-TS/effect@abcf54c),
[`f487573`](Effect-TS/effect@f487573),
[`4ecf318`](Effect-TS/effect@4ecf318),
[`3795d20`](Effect-TS/effect@3795d20),
[`71235c0`](Effect-TS/effect@71235c0),
[`890be07`](Effect-TS/effect@890be07),
[`3dbbf0d`](Effect-TS/effect@3dbbf0d),
[`a5f5a12`](Effect-TS/effect@a5f5a12),
[`bfbc048`](Effect-TS/effect@bfbc048),
[`21ff5fc`](Effect-TS/effect@21ff5fc),
[`d3f1de2`](Effect-TS/effect@d3f1de2),
[`5896612`](Effect-TS/effect@5896612),
[`5031d70`](Effect-TS/effect@5031d70),
[`eba809b`](Effect-TS/effect@eba809b)]:
  - [email protected]

</details>

<details>
<summary><b>4.1.6</b></summary>

### Patch Changes

- Updated dependencies
[[`dd5f2f3`](Effect-TS/effect@dd5f2f3),
[`1d65846`](Effect-TS/effect@1d65846),
[`694c28f`](Effect-TS/effect@694c28f),
[`5aaa2cd`](Effect-TS/effect@5aaa2cd),
[`55814bf`](Effect-TS/effect@55814bf),
[`92c40a1`](Effect-TS/effect@92c40a1),
[`9f415a7`](Effect-TS/effect@9f415a7),
[`e367afd`](Effect-TS/effect@e367afd),
[`d5d2112`](Effect-TS/effect@d5d2112),
[`fa2e5af`](Effect-TS/effect@fa2e5af),
[`6bf6427`](Effect-TS/effect@6bf6427),
[`10bc4a4`](Effect-TS/effect@10bc4a4),
[`a9540d3`](Effect-TS/effect@a9540d3),
[`3a250d7`](Effect-TS/effect@3a250d7),
[`ce44141`](Effect-TS/effect@ce44141),
[`9318e5b`](Effect-TS/effect@9318e5b),
[`c9ecebf`](Effect-TS/effect@c9ecebf),
[`32f8fbe`](Effect-TS/effect@32f8fbe),
[`41d6af1`](Effect-TS/effect@41d6af1),
[`c33fd59`](Effect-TS/effect@c33fd59

…[full
notes](https://github.com/Effect-TS/effect/releases/tag/%40effect/vitest%404.1.6)

</details>

</details>

<details>
<summary><b>@<!---->tanstack/react-form</b> (1.33.5 → 1.33.6)</summary>

### Patch Changes

- Updated dependencies
[[`bc7d6f1`](TanStack/form@bc7d6f1),
[`58b9fab`](TanStack/form@58b9fab)]:
  - @<!---->tanstack/[email protected]

</details>

<details>
<summary><b>agents</b> (0.34.0 → 0.34.1)</summary>

### Patch Changes

- [#3171](cloudflare/agents#3171)
[`9448cd8`](cloudflare/agents@9448cd8)
Thanks [@<!---->ben-reitz](https://github.com/ben-reitz)! - Support Pi
1.6.1 (`~1.6.1`). Pi tools now park with `{ kind: "sleep", signals,
until }` instead of `{ sleep: { ... } }`, and a signal's state is `{
kind: "value", value }` or `{ kind: "expired" }`; a tool that still
returns the old shape compiles but ends with an empty result, so update
parking tools when you upgrade. `agents/models/pi-ai` now matches pi-ai
1.6.1: a chat-completions stream that ends with `finish_reason: "error"`
fails with an error the Pi harness retries under its retry settings,
`rawStopReason` records the provider's reason (with OpenRouter's
`native_finish_reason`), an OpenRouter `stop` with no output and a
failing native reason is a retryable error, and `onResponse` sees every
response, failures included. The `agents/models` SSE decoder reads large
streamed events in linear time. See [pi-durable 1.6.1's
changelog](https://github.com/earendil-works/pi/blob/v1.6.1/packages/durable/CHANGELOG.md#161---2026-11-25)
and [Pi
harness](https://developers.cloudflare.com/agents/harnesses/pi/#tools-that-wait).

</details>

<details>
<summary><b>effect</b> (4.1.5 → 4.1.7) — 2 releases</summary>

<details>
<summary><b>4.1.7</b></summary>

### Patch Changes

- [#10972](Effect-TS/effect#10972)
[`ca1eb29`](Effect-TS/effect@ca1eb29)
Thanks @<!---->effect-bot! - `ClusterCron` no longer retries a run that
fails or dies, in either scheduling mode: the failure is logged and the
next run is scheduled. With `calculateNextRunFromPrevious`, a failed run
previously retried in place and blocked later runs; to retry typed
failures, apply `Effect.retry` inside `execute` with your own stopping
policy.

- [#10939](Effect-TS/effect#10939)
[`9af7cbb`](Effect-TS/effect@9af7cbb)
Thanks @<!---->RhysSullivan! - Compute `ConfigError.message` once during
construction so `message` and `toString()` stay readable if `cause` is
later replaced.

- [#10936](Effect-TS/effect#10936)
[`35f29b6`](Effect-TS/effect@35f29b6)
Thanks @<!---->yuyongyan29-dev! - Fix `Cron.next` and `Cron.prev` to
follow host DST transitions when no time zone is set.

- [#10976](Effect-TS/effect#10976)
[`0b9f246`](Effect-TS/effect@0b9f246)
Thanks @<!---->benschac! - The HTTP server no longer reports
`Schema.SchemaError` and `Cause.NoSuchElementError` failures that it
answers with `400` or `404` to `ErrorReporter`s.

- [#10945](Effect-TS/effect#10945)
[`c37ce82`](Effect-TS/effect@c37ce82)
Thanks @<!---->RhysSullivan! - Add `McpClient.listToolsWithCacheHint`
and `ListCacheHint` to return discovered tools alongside their
aggregated `2026-07-28` cache hint (minimum `ttlMs`, `"public"` only
when every page is `"public"`, or `undefined` when unavailable).

- [#10944](Effect-TS/effect#10944)
[`abcf54c`](Effect-TS/effect@abcf54c9c6ec805fad68f1ce3

…[full
notes](https://github.com/Effect-TS/effect/releases/tag/effect%404.1.7)

</details>

<details>
<summary><b>4.1.6</b></summary>

### Patch Changes

- [#10845](Effect-TS/effect#10845)
[`dd5f2f3`](Effect-TS/effect@dd5f2f3)
Thanks @<!---->effect-bot! - Add standalone `effect/ai/Skill` module and
accept `Skill` values in `McpServer.registerSkill` and
`McpServer.skill`.

- [#10893](Effect-TS/effect#10893)
[`1d65846`](Effect-TS/effect@1d65846)
Thanks @<!---->Marve10s! - Fix `Atom.subscriptionRef` setters throwing
`AsyncFiberError` when another update holds the ref lock.

- [#10821](Effect-TS/effect#10821)
[`694c28f`](Effect-TS/effect@694c28f)
Thanks @<!---->effect-bot! - Use `Buffer` for `Base64` and `Base64Url`
encoding and decoding when native `Uint8Array` Base64 methods are
unavailable.

- [#10802](Effect-TS/effect#10802)
[`5aaa2cd`](Effect-TS/effect@5aaa2cd)
Thanks @<!---->KhraksMamtsov! - Fix `Effect.catchReasons` error-channel
inference for exhaustive handlers and failing `orElse` fallbacks.

- [#10901](Effect-TS/effect#10901)
[`55814bf`](Effect-TS/effect@55814bf)
Thanks @<!---->EnesKartal! - Fix data-first `Effect.catchTag` type
inference for inline calls such as `Effect.map(...)`.

- [#10883](Effect-TS/effect#10883)
[`92c40a1`](Effect-TS/effect@92c40a1)
Thanks @<!---->effect-bot! - Fix cluster `Entity.keepAlive` being
dropped when disabled and immediately re-enabled.

- [#10812](Effect-TS/effect#10812)
[`9f415a7`](Effect-TS/effect@9f415a7)
Thanks @<!---->AVtheking! - Fix a memory leak in cluster
`MessageStorage.registerReplyHandler` when interrupted reply waiters
leave

…[full
notes](https://github.com/Effect-TS/effect/releases/tag/effect%404.1.6)

</details>

</details>

<details>
<summary><b>mdast-util-to-markdown</b> (2.2.4 → 2.2.5)</summary>

#### Fix

* 633499c Fix escaping when matches touch

**Full Changelog**:
syntax-tree/mdast-util-to-markdown@2.2.4...2.2.5

</details>

<details>
<summary><b>react-email</b> (6.11.16 → 6.11.17)</summary>

### Patch Changes

* 742923e: Fix `Button` replacing `calc()` and `var()` padding with `0`
* ec221a5: fix(heading): keep units and `auto` in margin shortcut props
instead of always appending `px`

</details>

<details>
<summary><b>ws</b> (8.23.0 → 8.23.1)</summary>

# Bug fixes

- Window bits values that do not conform to the RFC 7692 `1*DIGIT` ABNF
rule are
  no longer accepted (#2355).
- `SharedArrayBuffer` and `ArrayBuffer` instances created in other
realms are no
  longer masked in place (#2358).
- Errors thrown when a redirect request is created are now properly
handled
  (#2359).
- `Sec-WebSocket-Version` header field values that do not conform to the
RFC
  6455 `version` ABNF grammar are no longer accepted (#2367).

</details>

---
*This PR was auto-generated by
[catalog-update-action](https://github.com/brandhaug/catalog-update-action).*

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant