Commit Graph
93 Commits
Author SHA1 Message Date
dependabot[bot]andJerrettDavis 6182b5fe06 deps: bump the npm-minor-patch group across 3 directories with 10 updates (#4813)
Bumps the npm-minor-patch group with 1 update in the /plugins/openclaw
directory:
[headroom-ai](https://github.com/headroomlabs-ai/headroom/tree/HEAD/sdk/typescript).
Bumps the npm-minor-patch group with 3 updates in the /plugins/opencode
directory:
[headroom-ai](https://github.com/headroomlabs-ai/headroom/tree/HEAD/sdk/typescript),
[effect](https://github.com/Effect-TS/effect/tree/HEAD/packages/effect)
and
[@opencode/plugin](https://github.com/anomalyco/opencode/tree/HEAD/packages/plugin).
Bumps the npm-minor-patch group with 7 updates in the /sdk/typescript
directory:

| Package | From | To |
| --- | --- | --- |
|
[@ai-sdk/anthropic](https://github.com/vercel/ai/tree/HEAD/packages/anthropic)
| `4.0.94` | `4.0.99` |
|
[@ai-sdk/openai](https://github.com/vercel/ai/tree/HEAD/packages/openai)
| `4.0.106` | `4.0.111` |
|
[@ai-sdk/provider](https://github.com/vercel/ai/tree/HEAD/packages/provider)
| `4.0.35` | `4.0.37` |
|
[@anthropic-ai/sdk](https://github.com/anthropics/anthropic-sdk-typescript)
| `1.3.0` | `1.6.0` |
| [ai](https://github.com/vercel/ai/tree/HEAD/packages/ai) | `7.0.159` |
`7.0.166` |
| [dotenv](https://github.com/motdotla/dotenv) | `18.0.9` | `18.0.10` |
| [openai](https://github.com/openai/openai-node) | `7.47.0` | `7.53.0`
|


Updates `headroom-ai` from 0.42.0 to 0.43.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/headroomlabs-ai/headroom/releases">headroom-ai's
releases</a>.</em></p>
<blockquote>
<h2>Release v0.43.1</h2>
<h2><a
href="https://github.com/headroomlabs-ai/headroom/compare/v0.43.0...v0.43.1">0.43.1</a>
(2026-11-05)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>ccr:</strong> keep the in-memory order queue from evicting
re-stored entries (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4545">#4545</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/c6f5bf9549e9b357e9c2369d4e04bc437f5e180d">c6f5bf9</a>)</li>
<li><strong>memory:</strong> read the relation key the memory_save
schema advertises (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4647">#4647</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/7592e681459f14a2041eb5f524a658cb6ad1dd92">7592e68</a>)</li>
<li><strong>memory:</strong> replace the HNSW vector when a memory is
re-indexed (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4649">#4649</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/ee638f9532b3788bacd13ed8d26dd0faf0740baf">ee638f9</a>)</li>
<li><strong>openclaw:</strong> accept 12-character hashes in
headroom_retrieve (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4640">#4640</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/8d3e9e5ca7cd645eb73084b848edbea5fc796e1a">8d3e9e5</a>)</li>
<li><strong>ort:</strong> avoid implicit runtime discovery from the
workspace (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4570">#4570</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/69fbd2390d9c8b0fa1f59fb8314bc9b8f01b1a55">69fbd23</a>)</li>
<li><strong>proxy:</strong> bound the model-keyed tokenizer, beacon and
litellm caches (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4497">#4497</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/e51b8065a4a2aa3a3c7f266c1cb8d8bde6b568d0">e51b806</a>)</li>
<li><strong>proxy:</strong> use HTTP/1.1 client for ChatGPT streaming
and model metadata (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4006">#4006</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/e1becdf7329bf4ca03874b9f512ac19837ca29c2">e1becdf</a>)</li>
<li><strong>release:</strong> normalize damaged release PR envelopes
before detection (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4664">#4664</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/917edc62230c3c4a8a415e2053da68dab1f003dd">917edc6</a>)</li>
<li><strong>router:</strong> keep tagged blocks out of the lossy
size-gate fallback (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4543">#4543</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/f333edf20f0d7acf5ea67e040c1f58539a0edd4d">f333edf</a>)</li>
<li><strong>router:</strong> log the ONNX fallbacks at info instead of
warning (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4535">#4535</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/db30d82dfffdb3bbe4d60a0e0bfe88640e58470f">db30d82</a>)</li>
</ul>
<h3>Dependencies</h3>
<ul>
<li>bump the npm-minor-patch group across 3 directories with 6 updates
(<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4662">#4662</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/8f104f8e298c85ff0005f2fd4848eea95f32b7c7">8f104f8</a>)</li>
</ul>
<!-- raw HTML omitted -->
<hr />
<p><strong>Want more savings?</strong> Headroom Enterprise saves more
for teams and enterprises. Talk to us at <a
href="https://github.com/headroomlabs-ai/headroom/tree/HEAD/sdk/typescript/blob/HEAD/mailto:hello@headroomlabs.ai">hello@headroomlabs.ai</a>
or <a href="https://headroomlabs.ai">headroomlabs.ai</a>.</p>
<h2>Release v0.43.0</h2>
<h2><a
href="https://github.com/headroomlabs-ai/headroom/compare/v0.42.0...v0.43.0">0.43.0</a>
(2026-11-05)</h2>
<h3>⚠ BREAKING CHANGES</h3>
<ul>
<li><strong>mcp:</strong> port MCP servers to SDK 2.x (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4603">#4603</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>ccr:</strong> answer headroom_retrieve on streaming chat
completions (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4631">#4631</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/31dcaf41f7fafaebec0838a05ff328da456faef0">31dcaf4</a>)</li>
<li><strong>mcp:</strong> port MCP servers to SDK 2.x (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4603">#4603</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/ee2252a3155c87e948c8893b79af5824eb30e64c">ee2252a</a>)</li>
<li><strong>plugins:</strong> headroom skill for Claude Code, Codex,
Copilot and skills.sh (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4533">#4533</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/66e14676827366c2bf8d15e252f8766cb27b1a98">66e1467</a>)</li>
<li><strong>savings:</strong> show the proxy's model-routing savings in
headroom savings (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4304">#4304</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/aaab338b64cb55929de904411db65db126e22ec0">aaab338</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>[BUG] A timeout in one image compression call resets the shared
worker pool and affects concurrent requests (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4528">#4528</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/e9bcfe73fadf69f0b27b7bc338ea7d2380931054">e9bcfe7</a>)</li>
<li>[BUG] DirectMem0Adapter.search_memories calls removed mem0 search
API (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4518">#4518</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/d9cee452681c79d6f13919e9e651e88a774c0874">d9cee45</a>)</li>
<li>[BUG] Saved request metrics lose their cache optimization fields (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4584">#4584</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/b4c9bdf100d97fb038beba95de6d4ad6a8786090">b4c9bdf</a>)</li>
<li>[BUG] Volatile SQLite metrics stores lose their schema before the
first save (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4633">#4633</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/d8ff0fe9d2cb2477f6662a90f8fcd7e030a52666">d8ff0fe</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/headroomlabs-ai/headroom/blob/main/CHANGELOG.md">headroom-ai's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/headroomlabs-ai/headroom/compare/v0.43.0...v0.43.1">0.43.1</a>
(2026-11-05)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>ccr:</strong> keep the in-memory order queue from evicting
re-stored entries (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4545">#4545</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/c6f5bf9549e9b357e9c2369d4e04bc437f5e180d">c6f5bf9</a>)</li>
<li><strong>memory:</strong> read the relation key the memory_save
schema advertises (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4647">#4647</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/7592e681459f14a2041eb5f524a658cb6ad1dd92">7592e68</a>)</li>
<li><strong>memory:</strong> replace the HNSW vector when a memory is
re-indexed (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4649">#4649</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/ee638f9532b3788bacd13ed8d26dd0faf0740baf">ee638f9</a>)</li>
<li><strong>openclaw:</strong> accept 12-character hashes in
headroom_retrieve (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4640">#4640</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/8d3e9e5ca7cd645eb73084b848edbea5fc796e1a">8d3e9e5</a>)</li>
<li><strong>ort:</strong> avoid implicit runtime discovery from the
workspace (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4570">#4570</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/69fbd2390d9c8b0fa1f59fb8314bc9b8f01b1a55">69fbd23</a>)</li>
<li><strong>proxy:</strong> bound the model-keyed tokenizer, beacon and
litellm caches (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4497">#4497</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/e51b8065a4a2aa3a3c7f266c1cb8d8bde6b568d0">e51b806</a>)</li>
<li><strong>proxy:</strong> use HTTP/1.1 client for ChatGPT streaming
and model metadata (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4006">#4006</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/e1becdf7329bf4ca03874b9f512ac19837ca29c2">e1becdf</a>)</li>
<li><strong>release:</strong> normalize damaged release PR envelopes
before detection (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4664">#4664</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/917edc62230c3c4a8a415e2053da68dab1f003dd">917edc6</a>)</li>
<li><strong>router:</strong> keep tagged blocks out of the lossy
size-gate fallback (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4543">#4543</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/f333edf20f0d7acf5ea67e040c1f58539a0edd4d">f333edf</a>)</li>
<li><strong>router:</strong> log the ONNX fallbacks at info instead of
warning (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4535">#4535</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/db30d82dfffdb3bbe4d60a0e0bfe88640e58470f">db30d82</a>)</li>
</ul>
<h3>Dependencies</h3>
<ul>
<li>bump the npm-minor-patch group across 3 directories with 6 updates
(<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4662">#4662</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/8f104f8e298c85ff0005f2fd4848eea95f32b7c7">8f104f8</a>)</li>
</ul>
<h2><a
href="https://github.com/headroomlabs-ai/headroom/compare/v0.42.0...v0.43.0">0.43.0</a>
(2026-11-05)</h2>
<h3>⚠ BREAKING CHANGES</h3>
<ul>
<li><strong>mcp:</strong> port MCP servers to SDK 2.x (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4603">#4603</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>ccr:</strong> answer headroom_retrieve on streaming chat
completions (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4631">#4631</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/31dcaf41f7fafaebec0838a05ff328da456faef0">31dcaf4</a>)</li>
<li><strong>mcp:</strong> port MCP servers to SDK 2.x (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4603">#4603</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/ee2252a3155c87e948c8893b79af5824eb30e64c">ee2252a</a>)</li>
<li><strong>plugins:</strong> headroom skill for Claude Code, Codex,
Copilot and skills.sh (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4533">#4533</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/66e14676827366c2bf8d15e252f8766cb27b1a98">66e1467</a>)</li>
<li><strong>savings:</strong> show the proxy's model-routing savings in
headroom savings (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4304">#4304</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/aaab338b64cb55929de904411db65db126e22ec0">aaab338</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>[BUG] A timeout in one image compression call resets the shared
worker pool and affects concurrent requests (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4528">#4528</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/e9bcfe73fadf69f0b27b7bc338ea7d2380931054">e9bcfe7</a>)</li>
<li>[BUG] DirectMem0Adapter.search_memories calls removed mem0 search
API (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4518">#4518</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/d9cee452681c79d6f13919e9e651e88a774c0874">d9cee45</a>)</li>
<li>[BUG] Saved request metrics lose their cache optimization fields (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4584">#4584</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/b4c9bdf100d97fb038beba95de6d4ad6a8786090">b4c9bdf</a>)</li>
<li>[BUG] Volatile SQLite metrics stores lose their schema before the
first save (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4633">#4633</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/d8ff0fe9d2cb2477f6662a90f8fcd7e030a52666">d8ff0fe</a>)</li>
<li>Add info about apply to README.md (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/1592">#1592</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/4d34680c34ad379d693820869e77d4a2a6be2cdf">4d34680</a>)</li>
<li><strong>backends/litellm:</strong> keep cache_control on text blocks
for Bedrock prompt caching (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4565">#4565</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/23a5bb1c81dc943398f9271f068a02487207f2e7">23a5bb1</a>)</li>
<li><strong>backends:</strong> forward the standard service_tier param
(litellm + anyllm) (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/2468">#2468</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/62cc38a6b09dbcf723681a0ff56acd02131ad1f1">62cc38a</a>)</li>
<li><strong>cache:</strong> build semantic entry before evicting so a
failed embedding keeps live entries (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4581">#4581</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/0d4c450d774691568b850f0d22ce17e087405281">0d4c450</a>)</li>
<li><strong>cache:</strong> count a tool_result with no text as
replayable in the frozen prefix (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4523">#4523</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/fba09f674c8a9c91b39a563a70ab7727b44d1dbc">fba09f6</a>)</li>
<li><strong>cache:</strong> fail closed on SQLite corruption instead of
deleting the store online (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4361">#4361</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/98018333f997783487af15efe4d9e631ecd85939">9801833</a>)</li>
<li><strong>cache:</strong> invalidate configured registry instances on
replacement (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4363">#4363</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/1bcdca2d9dd279f49aa4276d523d93c2cfeb5a51">1bcdca2</a>)</li>
<li><strong>cache:</strong> namespace SemanticCacheLayer by provider,
model and metadata (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4473">#4473</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/99cdaaf1c7de2bd81a8e64f198462fd1ceec3a17">99cdaaf</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/headroomlabs-ai/headroom/commit/2d3ee51846435ef5b320eea4806af14e602b0d8c"><code>2d3ee51</code></a>
chore: release 0.43.1 (<a
href="https://github.com/headroomlabs-ai/headroom/tree/HEAD/sdk/typescript/issues/4661">#4661</a>)</li>
<li><a
href="https://github.com/headroomlabs-ai/headroom/commit/8f104f8e298c85ff0005f2fd4848eea95f32b7c7"><code>8f104f8</code></a>
deps: bump the npm-minor-patch group across 3 directories with 6 updates
(<a
href="https://github.com/headroomlabs-ai/headroom/tree/HEAD/sdk/typescript/issues/4662">#4662</a>)</li>
<li><a
href="https://github.com/headroomlabs-ai/headroom/commit/81fa4bdda613f6a37f6f430eda9f728e1458f3ce"><code>81fa4bd</code></a>
chore: release 0.43.0 (<a
href="https://github.com/headroomlabs-ai/headroom/tree/HEAD/sdk/typescript/issues/4643">#4643</a>)</li>
<li><a
href="https://github.com/headroomlabs-ai/headroom/commit/a26faaeee34ecfde57608aea4a1ec7ea2b33272f"><code>a26faae</code></a>
fix(sdk): carry Vercel AI SDK reasoning parts and provider options
through co...</li>
<li><a
href="https://github.com/headroomlabs-ai/headroom/commit/e666fd8e35dbe7c0433739297873b6a0a51c26cf"><code>e666fd8</code></a>
deps: Bump tsup from 8.5.1 to 9.0.0 in /sdk/typescript (<a
href="https://github.com/headroomlabs-ai/headroom/tree/HEAD/sdk/typescript/issues/4386">#4386</a>)</li>
<li><a
href="https://github.com/headroomlabs-ai/headroom/commit/74277d47ecfbca349ddb99f81094c4dd30539d43"><code>74277d4</code></a>
deps: Bump <code>@​anthropic-ai/sdk</code> from 0.133.0 to 1.3.0 in
/sdk/typescript (<a
href="https://github.com/headroomlabs-ai/headroom/tree/HEAD/sdk/typescript/issues/4554">#4554</a>)</li>
<li><a
href="https://github.com/headroomlabs-ai/headroom/commit/5e4827de12c9fdf33d7d36b1939eee73a18fe6c5"><code>5e4827d</code></a>
deps: Bump the npm-minor-patch group across 1 directory with 6 updates
(<a
href="https://github.com/headroomlabs-ai/headroom/tree/HEAD/sdk/typescript/issues/4621">#4621</a>)</li>
<li><a
href="https://github.com/headroomlabs-ai/headroom/commit/cd5e2b9e73eb8bd783ab872bdda71263b941e2d3"><code>cd5e2b9</code></a>
fix(sdk): send Anthropic messages to /v1/compress natively so thinking
blocks...</li>
<li><a
href="https://github.com/headroomlabs-ai/headroom/commit/6c3d7475077b2e09e8cff5ba2352bda4064d86d3"><code>6c3d747</code></a>
chore(sdk-typescript): npm metadata and the proxy requirement up front
(<a
href="https://github.com/headroomlabs-ai/headroom/tree/HEAD/sdk/typescript/issues/4536">#4536</a>)</li>
<li><a
href="https://github.com/headroomlabs-ai/headroom/commit/f36772805178e3fed1a95313e8211c57a291b953"><code>f367728</code></a>
deps: Bump the npm-minor-patch group across 3 directories with 9 updates
(<a
href="https://github.com/headroomlabs-ai/headroom/tree/HEAD/sdk/typescript/issues/4495">#4495</a>)</li>
<li>See full diff in <a
href="https://github.com/headroomlabs-ai/headroom/commits/v0.43.1/sdk/typescript">compare
view</a></li>
</ul>
</details>
<br />

Updates `headroom-ai` from 0.42.0 to 0.43.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/headroomlabs-ai/headroom/releases">headroom-ai's
releases</a>.</em></p>
<blockquote>
<h2>Release v0.43.1</h2>
<h2><a
href="https://github.com/headroomlabs-ai/headroom/compare/v0.43.0...v0.43.1">0.43.1</a>
(2026-11-05)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>ccr:</strong> keep the in-memory order queue from evicting
re-stored entries (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4545">#4545</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/c6f5bf9549e9b357e9c2369d4e04bc437f5e180d">c6f5bf9</a>)</li>
<li><strong>memory:</strong> read the relation key the memory_save
schema advertises (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4647">#4647</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/7592e681459f14a2041eb5f524a658cb6ad1dd92">7592e68</a>)</li>
<li><strong>memory:</strong> replace the HNSW vector when a memory is
re-indexed (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4649">#4649</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/ee638f9532b3788bacd13ed8d26dd0faf0740baf">ee638f9</a>)</li>
<li><strong>openclaw:</strong> accept 12-character hashes in
headroom_retrieve (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4640">#4640</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/8d3e9e5ca7cd645eb73084b848edbea5fc796e1a">8d3e9e5</a>)</li>
<li><strong>ort:</strong> avoid implicit runtime discovery from the
workspace (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4570">#4570</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/69fbd2390d9c8b0fa1f59fb8314bc9b8f01b1a55">69fbd23</a>)</li>
<li><strong>proxy:</strong> bound the model-keyed tokenizer, beacon and
litellm caches (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4497">#4497</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/e51b8065a4a2aa3a3c7f266c1cb8d8bde6b568d0">e51b806</a>)</li>
<li><strong>proxy:</strong> use HTTP/1.1 client for ChatGPT streaming
and model metadata (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4006">#4006</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/e1becdf7329bf4ca03874b9f512ac19837ca29c2">e1becdf</a>)</li>
<li><strong>release:</strong> normalize damaged release PR envelopes
before detection (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4664">#4664</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/917edc62230c3c4a8a415e2053da68dab1f003dd">917edc6</a>)</li>
<li><strong>router:</strong> keep tagged blocks out of the lossy
size-gate fallback (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4543">#4543</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/f333edf20f0d7acf5ea67e040c1f58539a0edd4d">f333edf</a>)</li>
<li><strong>router:</strong> log the ONNX fallbacks at info instead of
warning (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4535">#4535</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/db30d82dfffdb3bbe4d60a0e0bfe88640e58470f">db30d82</a>)</li>
</ul>
<h3>Dependencies</h3>
<ul>
<li>bump the npm-minor-patch group across 3 directories with 6 updates
(<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4662">#4662</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/8f104f8e298c85ff0005f2fd4848eea95f32b7c7">8f104f8</a>)</li>
</ul>
<!-- raw HTML omitted -->
<hr />
<p><strong>Want more savings?</strong> Headroom Enterprise saves more
for teams and enterprises. Talk to us at <a
href="https://github.com/headroomlabs-ai/headroom/tree/HEAD/sdk/typescript/blob/HEAD/mailto:hello@headroomlabs.ai">hello@headroomlabs.ai</a>
or <a href="https://headroomlabs.ai">headroomlabs.ai</a>.</p>
<h2>Release v0.43.0</h2>
<h2><a
href="https://github.com/headroomlabs-ai/headroom/compare/v0.42.0...v0.43.0">0.43.0</a>
(2026-11-05)</h2>
<h3>⚠ BREAKING CHANGES</h3>
<ul>
<li><strong>mcp:</strong> port MCP servers to SDK 2.x (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4603">#4603</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>ccr:</strong> answer headroom_retrieve on streaming chat
completions (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4631">#4631</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/31dcaf41f7fafaebec0838a05ff328da456faef0">31dcaf4</a>)</li>
<li><strong>mcp:</strong> port MCP servers to SDK 2.x (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4603">#4603</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/ee2252a3155c87e948c8893b79af5824eb30e64c">ee2252a</a>)</li>
<li><strong>plugins:</strong> headroom skill for Claude Code, Codex,
Copilot and skills.sh (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4533">#4533</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/66e14676827366c2bf8d15e252f8766cb27b1a98">66e1467</a>)</li>
<li><strong>savings:</strong> show the proxy's model-routing savings in
headroom savings (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4304">#4304</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/aaab338b64cb55929de904411db65db126e22ec0">aaab338</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>[BUG] A timeout in one image compression call resets the shared
worker pool and affects concurrent requests (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4528">#4528</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/e9bcfe73fadf69f0b27b7bc338ea7d2380931054">e9bcfe7</a>)</li>
<li>[BUG] DirectMem0Adapter.search_memories calls removed mem0 search
API (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4518">#4518</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/d9cee452681c79d6f13919e9e651e88a774c0874">d9cee45</a>)</li>
<li>[BUG] Saved request metrics lose their cache optimization fields (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4584">#4584</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/b4c9bdf100d97fb038beba95de6d4ad6a8786090">b4c9bdf</a>)</li>
<li>[BUG] Volatile SQLite metrics stores lose their schema before the
first save (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4633">#4633</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/d8ff0fe9d2cb2477f6662a90f8fcd7e030a52666">d8ff0fe</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/headroomlabs-ai/headroom/blob/main/CHANGELOG.md">headroom-ai's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/headroomlabs-ai/headroom/compare/v0.43.0...v0.43.1">0.43.1</a>
(2026-11-05)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>ccr:</strong> keep the in-memory order queue from evicting
re-stored entries (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4545">#4545</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/c6f5bf9549e9b357e9c2369d4e04bc437f5e180d">c6f5bf9</a>)</li>
<li><strong>memory:</strong> read the relation key the memory_save
schema advertises (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4647">#4647</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/7592e681459f14a2041eb5f524a658cb6ad1dd92">7592e68</a>)</li>
<li><strong>memory:</strong> replace the HNSW vector when a memory is
re-indexed (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4649">#4649</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/ee638f9532b3788bacd13ed8d26dd0faf0740baf">ee638f9</a>)</li>
<li><strong>openclaw:</strong> accept 12-character hashes in
headroom_retrieve (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4640">#4640</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/8d3e9e5ca7cd645eb73084b848edbea5fc796e1a">8d3e9e5</a>)</li>
<li><strong>ort:</strong> avoid implicit runtime discovery from the
workspace (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4570">#4570</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/69fbd2390d9c8b0fa1f59fb8314bc9b8f01b1a55">69fbd23</a>)</li>
<li><strong>proxy:</strong> bound the model-keyed tokenizer, beacon and
litellm caches (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4497">#4497</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/e51b8065a4a2aa3a3c7f266c1cb8d8bde6b568d0">e51b806</a>)</li>
<li><strong>proxy:</strong> use HTTP/1.1 client for ChatGPT streaming
and model metadata (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4006">#4006</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/e1becdf7329bf4ca03874b9f512ac19837ca29c2">e1becdf</a>)</li>
<li><strong>release:</strong> normalize damaged release PR envelopes
before detection (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4664">#4664</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/917edc62230c3c4a8a415e2053da68dab1f003dd">917edc6</a>)</li>
<li><strong>router:</strong> keep tagged blocks out of the lossy
size-gate fallback (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4543">#4543</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/f333edf20f0d7acf5ea67e040c1f58539a0edd4d">f333edf</a>)</li>
<li><strong>router:</strong> log the ONNX fallbacks at info instead of
warning (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4535">#4535</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/db30d82dfffdb3bbe4d60a0e0bfe88640e58470f">db30d82</a>)</li>
</ul>
<h3>Dependencies</h3>
<ul>
<li>bump the npm-minor-patch group across 3 directories with 6 updates
(<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4662">#4662</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/8f104f8e298c85ff0005f2fd4848eea95f32b7c7">8f104f8</a>)</li>
</ul>
<h2><a
href="https://github.com/headroomlabs-ai/headroom/compare/v0.42.0...v0.43.0">0.43.0</a>
(2026-11-05)</h2>
<h3>⚠ BREAKING CHANGES</h3>
<ul>
<li><strong>mcp:</strong> port MCP servers to SDK 2.x (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4603">#4603</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>ccr:</strong> answer headroom_retrieve on streaming chat
completions (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4631">#4631</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/31dcaf41f7fafaebec0838a05ff328da456faef0">31dcaf4</a>)</li>
<li><strong>mcp:</strong> port MCP servers to SDK 2.x (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4603">#4603</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/ee2252a3155c87e948c8893b79af5824eb30e64c">ee2252a</a>)</li>
<li><strong>plugins:</strong> headroom skill for Claude Code, Codex,
Copilot and skills.sh (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4533">#4533</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/66e14676827366c2bf8d15e252f8766cb27b1a98">66e1467</a>)</li>
<li><strong>savings:</strong> show the proxy's model-routing savings in
headroom savings (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4304">#4304</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/aaab338b64cb55929de904411db65db126e22ec0">aaab338</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>[BUG] A timeout in one image compression call resets the shared
worker pool and affects concurrent requests (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4528">#4528</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/e9bcfe73fadf69f0b27b7bc338ea7d2380931054">e9bcfe7</a>)</li>
<li>[BUG] DirectMem0Adapter.search_memories calls removed mem0 search
API (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4518">#4518</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/d9cee452681c79d6f13919e9e651e88a774c0874">d9cee45</a>)</li>
<li>[BUG] Saved request metrics lose their cache optimization fields (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4584">#4584</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/b4c9bdf100d97fb038beba95de6d4ad6a8786090">b4c9bdf</a>)</li>
<li>[BUG] Volatile SQLite metrics stores lose their schema before the
first save (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4633">#4633</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/d8ff0fe9d2cb2477f6662a90f8fcd7e030a52666">d8ff0fe</a>)</li>
<li>Add info about apply to README.md (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/1592">#1592</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/4d34680c34ad379d693820869e77d4a2a6be2cdf">4d34680</a>)</li>
<li><strong>backends/litellm:</strong> keep cache_control on text blocks
for Bedrock prompt caching (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4565">#4565</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/23a5bb1c81dc943398f9271f068a02487207f2e7">23a5bb1</a>)</li>
<li><strong>backends:</strong> forward the standard service_tier param
(litellm + anyllm) (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/2468">#2468</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/62cc38a6b09dbcf723681a0ff56acd02131ad1f1">62cc38a</a>)</li>
<li><strong>cache:</strong> build semantic entry before evicting so a
failed embedding keeps live entries (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4581">#4581</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/0d4c450d774691568b850f0d22ce17e087405281">0d4c450</a>)</li>
<li><strong>cache:</strong> count a tool_result with no text as
replayable in the frozen prefix (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4523">#4523</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/fba09f674c8a9c91b39a563a70ab7727b44d1dbc">fba09f6</a>)</li>
<li><strong>cache:</strong> fail closed on SQLite corruption instead of
deleting the store online (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4361">#4361</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/98018333f997783487af15efe4d9e631ecd85939">9801833</a>)</li>
<li><strong>cache:</strong> invalidate configured registry instances on
replacement (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4363">#4363</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/1bcdca2d9dd279f49aa4276d523d93c2cfeb5a51">1bcdca2</a>)</li>
<li><strong>cache:</strong> namespace SemanticCacheLayer by provider,
model and metadata (<a
href="https://redirect.github.com/headroomlabs-ai/headroom/issues/4473">#4473</a>)
(<a
href="https://github.com/headroomlabs-ai/headroom/commit/99cdaaf1c7de2bd81a8e64f198462fd1ceec3a17">99cdaaf</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/headroomlabs-ai/headroom/commit/2d3ee51846435ef5b320eea4806af14e602b0d8c"><code>2d3ee51</code></a>
chore: release 0.43.1 (<a
href="https://github.com/headroomlabs-ai/headroom/tree/HEAD/sdk/typescript/issues/4661">#4661</a>)</li>
<li><a
href="https://github.com/headroomlabs-ai/headroom/commit/8f104f8e298c85ff0005f2fd4848eea95f32b7c7"><code>8f104f8</code></a>
deps: bump the npm-minor-patch group across 3 directories with 6 updates
(<a
href="https://github.com/headroomlabs-ai/headroom/tree/HEAD/sdk/typescript/issues/4662">#4662</a>)</li>
<li><a
href="https://github.com/headroomlabs-ai/headroom/commit/81fa4bdda613f6a37f6f430eda9f728e1458f3ce"><code>81fa4bd</code></a>
chore: release 0.43.0 (<a
href="https://github.com/headroomlabs-ai/headroom/tree/HEAD/sdk/typescript/issues/4643">#4643</a>)</li>
<li><a
href="https://github.com/headroomlabs-ai/headroom/commit/a26faaeee34ecfde57608aea4a1ec7ea2b33272f"><code>a26faae</code></a>
fix(sdk): carry Vercel AI SDK reasoning parts and provider options
through co...</li>
<li><a
href="https://github.com/headroomlabs-ai/headroom/commit/e666fd8e35dbe7c0433739297873b6a0a51c26cf"><code>e666fd8</code></a>
deps: Bump tsup from 8.5.1 to 9.0.0 in /sdk/typescript (<a
href="https://github.com/headroomlabs-ai/headroom/tree/HEAD/sdk/typescript/issues/4386">#4386</a>)</li>
<li><a
href="https://github.com/headroomlabs-ai/headroom/commit/74277d47ecfbca349ddb99f81094c4dd30539d43"><code>74277d4</code></a>
deps: Bump <code>@​anthropic-ai/sdk</code> from 0.133.0 to 1.3.0 in
/sdk/typescript (<a
href="https://github.com/headroomlabs-ai/headroom/tree/HEAD/sdk/typescript/issues/4554">#4554</a>)</li>
<li><a
href="https://github.com/headroomlabs-ai/headroom/commit/5e4827de12c9fdf33d7d36b1939eee73a18fe6c5"><code>5e4827d</code></a>
deps: Bump the npm-minor-patch group across 1 directory with 6 updates
(<a
href="https://github.com/headroomlabs-ai/headroom/tree/HEAD/sdk/typescript/issues/4621">#4621</a>)</li>
<li><a
href="https://github.com/headroomlabs-ai/headroom/commit/cd5e2b9e73eb8bd783ab872bdda71263b941e2d3"><code>cd5e2b9</code></a>
fix(sdk): send Anthropic messages to /v1/compress natively so thinking
blocks...</li>
<li><a
href="https://github.com/headroomlabs-ai/headroom/commit/6c3d7475077b2e09e8cff5ba2352bda4064d86d3"><code>6c3d747</code></a>
chore(sdk-typescript): npm metadata and the proxy requirement up front
(<a
href="https://github.com/headroomlabs-ai/headroom/tree/HEAD/sdk/typescript/issues/4536">#4536</a>)</li>
<li><a
href="https://github.com/headroomlabs-ai/headroom/commit/f36772805178e3fed1a95313e8211c57a291b953"><code>f367728</code></a>
deps: Bump the npm-minor-patch group across 3 directories with 9 updates
(<a
href="https://github.com/headroomlabs-ai/headroom/tree/HEAD/sdk/typescript/issues/4495">#4495</a>)</li>
<li>See full diff in <a
href="https://github.com/headroomlabs-ai/headroom/commits/v0.43.1/sdk/typescript">compare
view</a></li>
</ul>
</details>
<br />

Updates `effect` from 4.0.0-beta.103 to 4.1.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/Effect-TS/effect/releases">effect's
releases</a>.</em></p>
<blockquote>
<h2>effect@4.1.2</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10217">#10217</a>
<a
href="https://github.com/Effect-TS/effect/commit/52166841177ca39d32cc4c06ac5fcdd660656748"><code>5216684</code></a>
Thanks <a
href="https://github.com/devangpratap"><code>@​devangpratap</code></a>!
- Fix <code>ByteSize</code> decimal unit constructors such as
<code>megabytes(2.01)</code> throwing or returning the wrong byte count,
and reject fractional-byte quantities instead of rounding them.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10261">#10261</a>
<a
href="https://github.com/Effect-TS/effect/commit/b707ad1bce3cbf1613fd97622901d7e81e2a34c7"><code>b707ad1</code></a>
Thanks <a
href="https://github.com/effect-bot"><code>@​effect-bot</code></a>! -
Fix cluster entity defect restart backoff being shared by all entities
of a type and never resetting.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10249">#10249</a>
<a
href="https://github.com/Effect-TS/effect/commit/46f48afc88b4b4df3cc1c470ae01f31cc7f8d77c"><code>46f48af</code></a>
Thanks <a
href="https://github.com/effect-bot"><code>@​effect-bot</code></a>! -
Prevent an interrupted cluster request that keeps defecting from
stalling message delivery to other entities.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10218">#10218</a>
<a
href="https://github.com/Effect-TS/effect/commit/92201bcd47f1789590ff884542051e2123fdb529"><code>92201bc</code></a>
Thanks <a href="https://github.com/sbking"><code>@​sbking</code></a>! -
Defer the runner notification for a discarded persisted send made inside
a <code>ClusterSchema.WithTransaction</code> handler until the
transaction commits. The message was invisible to the runner before the
commit, so delivery waited for the next storage poll.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10260">#10260</a>
<a
href="https://github.com/Effect-TS/effect/commit/cf329f3b694ba8659946ee74dbbb6cdb6e5535de"><code>cf329f3</code></a>
Thanks <a
href="https://github.com/effect-bot"><code>@​effect-bot</code></a>! -
Fix <code>ClusterWorkflowEngine</code> turning transient storage
failures while saving durable clocks or deferred completions into
workflow defects; they are now retried.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10262">#10262</a>
<a
href="https://github.com/Effect-TS/effect/commit/1d25d78d9639e2725f4ea8d056a77b3bde9afd78"><code>1d25d78</code></a>
Thanks <a
href="https://github.com/effect-bot"><code>@​effect-bot</code></a>! -
Fix <code>ClusterWorkflowEngine</code> blocking shard reacquisition
indefinitely after a forced shard release interrupted a workflow resume
waiting on its active run.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10226">#10226</a>
<a
href="https://github.com/Effect-TS/effect/commit/d190d973a7fb2ebb71bfaf1a01adbffef1833555"><code>d190d97</code></a>
Thanks <a
href="https://github.com/tim-smart"><code>@​tim-smart</code></a>! - Fix
<code>ClusterWorkflowEngine</code> letting a runner that lost its shard
delete a newer activity result, which could run the activity again and
change the workflow's history.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10241">#10241</a>
<a
href="https://github.com/Effect-TS/effect/commit/d7b3b6bd6be4d96babda9d191538fe25c7124f44"><code>d7b3b6b</code></a>
Thanks <a
href="https://github.com/Marve10s"><code>@​Marve10s</code></a>! - Fix
<code>HttpClient.withCookiesRef</code> not sending cookies when the
request URL is completed after it, for example by the
<code>baseUrl</code> of <code>HttpApiClient</code>. Cookies are now
selected for the final URL of each request, including redirect hops.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10211">#10211</a>
<a
href="https://github.com/Effect-TS/effect/commit/a4787453be8e4f360f0212fb0b25bc4a0e18fc72"><code>a478745</code></a>
Thanks <a
href="https://github.com/effect-bot"><code>@​effect-bot</code></a>! -
Keep <code>EventLogServer</code> session auth challenges on their RPC
connection, so a challenge is released when its client disconnects
instead of being retained by the server after an unauthenticated
disconnect.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10221">#10221</a>
<a
href="https://github.com/Effect-TS/effect/commit/69eaa29dfe5c33547ad12068f65d31b2123194c3"><code>69eaa29</code></a>
Thanks <a href="https://github.com/clean99"><code>@​clean99</code></a>!
- Fix <code>Iterable.filterMapWhile</code> iterators yielding values or
pulling from the source after they have returned <code>done</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10233">#10233</a>
<a
href="https://github.com/Effect-TS/effect/commit/3711ba65343a0932840478aa758a2612be0327a7"><code>3711ba6</code></a>
Thanks <a href="https://github.com/clean99"><code>@​clean99</code></a>!
- Fix <code>Iterable.unfold</code> iterators calling the generating
function again after they have returned <code>done</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/9972">#9972</a>
<a
href="https://github.com/Effect-TS/effect/commit/715c5e4b4528889be2ce30163b130d422e7ab68f"><code>715c5e4</code></a>
Thanks <a
href="https://github.com/eugene1g"><code>@​eugene1g</code></a>! - Add
<code>Json5.parse</code> and <code>Jsonc.parse</code> to
<code>effect/encoding</code>, returning a <code>Result</code> that fails
with an <code>EncodingError</code> on invalid input.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10257">#10257</a>
<a
href="https://github.com/Effect-TS/effect/commit/b0a1ceebcd053d73dbd4fdf836c4d3471dc18f3c"><code>b0a1cee</code></a>
Thanks <a
href="https://github.com/tim-smart"><code>@​tim-smart</code></a>! - Use
a <code>ClientCapabilities</code> instance for the fallback MCP client
profile in <code>McpServer</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10242">#10242</a>
<a
href="https://github.com/Effect-TS/effect/commit/2a10622e906caccd7a9b4a90d1aaef090e8e00cc"><code>2a10622</code></a>
Thanks <a
href="https://github.com/Marve10s"><code>@​Marve10s</code></a>! - Fix
<code>McpServer</code> running middleware provided outside a combined
middleware inside it.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10243">#10243</a>
<a
href="https://github.com/Effect-TS/effect/commit/6bccdd54e1bc5d7f182972811d6827d1ad10f1aa"><code>6bccdd5</code></a>
Thanks <a
href="https://github.com/Marve10s"><code>@​Marve10s</code></a>! - Encode
declared <code>McpServer</code> tool failures with their JSON codec, so
values such as <code>bigint</code>, <code>Map</code> and
<code>Option</code> no longer cause an internal error or lossy
output</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10244">#10244</a>
<a
href="https://github.com/Effect-TS/effect/commit/60be01136a530ec10d8b67efc812eee94804444c"><code>60be011</code></a>
Thanks <a
href="https://github.com/Marve10s"><code>@​Marve10s</code></a>! - Fix
2026-07-28 MCP listings failing for resources, resource templates and
prompts registered as plain objects.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10235">#10235</a>
<a
href="https://github.com/Effect-TS/effect/commit/e1edcdc8d60bef515a2c5fa97706d4baaf0c0290"><code>e1edcdc</code></a>
Thanks <a
href="https://github.com/schutzelaars"><code>@​schutzelaars</code></a>!
- Stop OTLP log and trace exporters from keeping a timer pending while
idle. A Node program kept alive only by an idle exporter now exits.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10210">#10210</a>
<a
href="https://github.com/Effect-TS/effect/commit/ef81e9dbd1221ab8a9c38ce50f96129054e3b6e2"><code>ef81e9d</code></a>
Thanks <a
href="https://github.com/effect-bot"><code>@​effect-bot</code></a>! -
Fix <code>RateLimiter.layerStoreRedis</code> sharing state between
different keys. A key ending in <code>:refill</code> or
<code>:adaptive</code> no longer reads or writes another key's
token-bucket refill time or adaptive state.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10223">#10223</a>
<a
href="https://github.com/Effect-TS/effect/commit/013fb34f88f3451ede7e7333f205563f07716b13"><code>013fb34</code></a>
Thanks <a
href="https://github.com/effect-bot"><code>@​effect-bot</code></a>! -
Fix <code>RpcServer</code> returning an empty HTTP 500 for requests with
malformed headers; such requests now fail with a defect
<code>Exit</code>, and malformed notifications are dropped.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10251">#10251</a>
<a
href="https://github.com/Effect-TS/effect/commit/113dbc74b259b7e56e618a506dc67e85794c36ed"><code>113dbc7</code></a>
Thanks <a href="https://github.com/wmaurer"><code>@​wmaurer</code></a>!
- Fix <code>Schedule.fixed</code>, <code>Schedule.windowed</code> and
<code>Schedule.cron</code> returning a zero delay when the clock is a
fraction of a nanosecond before the next run.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10230">#10230</a>
<a
href="https://github.com/Effect-TS/effect/commit/519d66eb5972ef3c801fb164dd652f25a71e0511"><code>519d66e</code></a>
Thanks <a
href="https://github.com/effect-bot"><code>@​effect-bot</code></a>! -
Add <code>SchemaBinary.int32</code>, <code>uint32</code>,
<code>int64</code> and <code>uint64</code>, opt-in schemas that write
integers as fixed-width little-endian payloads. The 32-bit schemas
decode to <code>number</code> and the 64-bit schemas to
<code>bigint</code>. Out-of-range and non-integer values are rejected
instead of wrapped.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10213">#10213</a>
<a
href="https://github.com/Effect-TS/effect/commit/e7a6ea43fe8ac77f68329b84d26dc2d1e136d745"><code>e7a6ea4</code></a>
Thanks <a
href="https://github.com/effect-bot"><code>@​effect-bot</code></a>! -
SQL transactions now trace <code>BEGIN</code>, <code>COMMIT</code>,
<code>ROLLBACK</code> and savepoint statements as child spans of
<code>sql.transaction</code>, replacing its
<code>effect.sql.transaction.commit</code>, <code>savepoint</code> and
<code>rollback</code> events; with
<code>Statement.SpanPropagationEnabled</code>, the transaction also
parents connection spans and records its connection wait time.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10240">#10240</a>
<a
href="https://github.com/Effect-TS/effect/commit/019f35e0a7ebe050eae01d68cc14ae63158fd8e4"><code>019f35e</code></a>
Thanks <a href="https://github.com/clean99"><code>@​clean99</code></a>!
- Fix <code>Stream.groupAdjacentBy</code> dropping its last group when
the stream fails. The group is now emitted before the error.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10278">#10278</a>
<a
href="https://github.com/Effect-TS/effect/commit/2a0d16cd1ff63a69baf5d19a13dc2051b500150c"><code>2a0d16c</code></a>
Thanks <a
href="https://github.com/tim-smart"><code>@​tim-smart</code></a>! - Fix
<code>AnthropicStructuredOutput.toCodecAnthropic</code>,
<code>OpenAiStructuredOutput.toCodecOpenAI</code>, and MCP tool schemas
returning or rejecting a root <code>$ref</code> when the schema is an
identified alias of another identified schema.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Effect-TS/effect/blob/main/packages/effect/CHANGELOG.md">effect's
changelog</a>.</em></p>
<blockquote>
<h2>4.1.2</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10217">#10217</a>
<a
href="https://github.com/Effect-TS/effect/commit/52166841177ca39d32cc4c06ac5fcdd660656748"><code>5216684</code></a>
Thanks <a
href="https://github.com/devangpratap"><code>@​devangpratap</code></a>!
- Fix <code>ByteSize</code> decimal unit constructors such as
<code>megabytes(2.01)</code> throwing or returning the wrong byte count,
and reject fractional-byte quantities instead of rounding them.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10261">#10261</a>
<a
href="https://github.com/Effect-TS/effect/commit/b707ad1bce3cbf1613fd97622901d7e81e2a34c7"><code>b707ad1</code></a>
Thanks <a
href="https://github.com/effect-bot"><code>@​effect-bot</code></a>! -
Fix cluster entity defect restart backoff being shared by all entities
of a type and never resetting.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10249">#10249</a>
<a
href="https://github.com/Effect-TS/effect/commit/46f48afc88b4b4df3cc1c470ae01f31cc7f8d77c"><code>46f48af</code></a>
Thanks <a
href="https://github.com/effect-bot"><code>@​effect-bot</code></a>! -
Prevent an interrupted cluster request that keeps defecting from
stalling message delivery to other entities.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10218">#10218</a>
<a
href="https://github.com/Effect-TS/effect/commit/92201bcd47f1789590ff884542051e2123fdb529"><code>92201bc</code></a>
Thanks <a href="https://github.com/sbking"><code>@​sbking</code></a>! -
Defer the runner notification for a discarded persisted send made inside
a <code>ClusterSchema.WithTransaction</code> handler until the
transaction commits. The message was invisible to the runner before the
commit, so delivery waited for the next storage poll.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10260">#10260</a>
<a
href="https://github.com/Effect-TS/effect/commit/cf329f3b694ba8659946ee74dbbb6cdb6e5535de"><code>cf329f3</code></a>
Thanks <a
href="https://github.com/effect-bot"><code>@​effect-bot</code></a>! -
Fix <code>ClusterWorkflowEngine</code> turning transient storage
failures while saving durable clocks or deferred completions into
workflow defects; they are now retried.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10262">#10262</a>
<a
href="https://github.com/Effect-TS/effect/commit/1d25d78d9639e2725f4ea8d056a77b3bde9afd78"><code>1d25d78</code></a>
Thanks <a
href="https://github.com/effect-bot"><code>@​effect-bot</code></a>! -
Fix <code>ClusterWorkflowEngine</code> blocking shard reacquisition
indefinitely after a forced shard release interrupted a workflow resume
waiting on its active run.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10226">#10226</a>
<a
href="https://github.com/Effect-TS/effect/commit/d190d973a7fb2ebb71bfaf1a01adbffef1833555"><code>d190d97</code></a>
Thanks <a
href="https://github.com/tim-smart"><code>@​tim-smart</code></a>! - Fix
<code>ClusterWorkflowEngine</code> letting a runner that lost its shard
delete a newer activity result, which could run the activity again and
change the workflow's history.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10241">#10241</a>
<a
href="https://github.com/Effect-TS/effect/commit/d7b3b6bd6be4d96babda9d191538fe25c7124f44"><code>d7b3b6b</code></a>
Thanks <a
href="https://github.com/Marve10s"><code>@​Marve10s</code></a>! - Fix
<code>HttpClient.withCookiesRef</code> not sending cookies when the
request URL is completed after it, for example by the
<code>baseUrl</code> of <code>HttpApiClient</code>. Cookies are now
selected for the final URL of each request, including redirect hops.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10211">#10211</a>
<a
href="https://github.com/Effect-TS/effect/commit/a4787453be8e4f360f0212fb0b25bc4a0e18fc72"><code>a478745</code></a>
Thanks <a
href="https://github.com/effect-bot"><code>@​effect-bot</code></a>! -
Keep <code>EventLogServer</code> session auth challenges on their RPC
connection, so a challenge is released when its client disconnects
instead of being retained by the server after an unauthenticated
disconnect.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10221">#10221</a>
<a
href="https://github.com/Effect-TS/effect/commit/69eaa29dfe5c33547ad12068f65d31b2123194c3"><code>69eaa29</code></a>
Thanks <a href="https://github.com/clean99"><code>@​clean99</code></a>!
- Fix <code>Iterable.filterMapWhile</code> iterators yielding values or
pulling from the source after they have returned <code>done</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10233">#10233</a>
<a
href="https://github.com/Effect-TS/effect/commit/3711ba65343a0932840478aa758a2612be0327a7"><code>3711ba6</code></a>
Thanks <a href="https://github.com/clean99"><code>@​clean99</code></a>!
- Fix <code>Iterable.unfold</code> iterators calling the generating
function again after they have returned <code>done</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/9972">#9972</a>
<a
href="https://github.com/Effect-TS/effect/commit/715c5e4b4528889be2ce30163b130d422e7ab68f"><code>715c5e4</code></a>
Thanks <a
href="https://github.com/eugene1g"><code>@​eugene1g</code></a>! - Add
<code>Json5.parse</code> and <code>Jsonc.parse</code> to
<code>effect/encoding</code>, returning a <code>Result</code> that fails
with an <code>EncodingError</code> on invalid input.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10257">#10257</a>
<a
href="https://github.com/Effect-TS/effect/commit/b0a1ceebcd053d73dbd4fdf836c4d3471dc18f3c"><code>b0a1cee</code></a>
Thanks <a
href="https://github.com/tim-smart"><code>@​tim-smart</code></a>! - Use
a <code>ClientCapabilities</code> instance for the fallback MCP client
profile in <code>McpServer</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10242">#10242</a>
<a
href="https://github.com/Effect-TS/effect/commit/2a10622e906caccd7a9b4a90d1aaef090e8e00cc"><code>2a10622</code></a>
Thanks <a
href="https://github.com/Marve10s"><code>@​Marve10s</code></a>! - Fix
<code>McpServer</code> running middleware provided outside a combined
middleware inside it.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10243">#10243</a>
<a
href="https://github.com/Effect-TS/effect/commit/6bccdd54e1bc5d7f182972811d6827d1ad10f1aa"><code>6bccdd5</code></a>
Thanks <a
href="https://github.com/Marve10s"><code>@​Marve10s</code></a>! - Encode
declared <code>McpServer</code> tool failures with their JSON codec, so
values such as <code>bigint</code>, <code>Map</code> and
<code>Option</code> no longer cause an internal error or lossy
output</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10244">#10244</a>
<a
href="https://github.com/Effect-TS/effect/commit/60be01136a530ec10d8b67efc812eee94804444c"><code>60be011</code></a>
Thanks <a
href="https://github.com/Marve10s"><code>@​Marve10s</code></a>! - Fix
2026-07-28 MCP listings failing for resources, resource templates and
prompts registered as plain objects.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10235">#10235</a>
<a
href="https://github.com/Effect-TS/effect/commit/e1edcdc8d60bef515a2c5fa97706d4baaf0c0290"><code>e1edcdc</code></a>
Thanks <a
href="https://github.com/schutzelaars"><code>@​schutzelaars</code></a>!
- Stop OTLP log and trace exporters from keeping a timer pending while
idle. A Node program kept alive only by an idle exporter now exits.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10210">#10210</a>
<a
href="https://github.com/Effect-TS/effect/commit/ef81e9dbd1221ab8a9c38ce50f96129054e3b6e2"><code>ef81e9d</code></a>
Thanks <a
href="https://github.com/effect-bot"><code>@​effect-bot</code></a>! -
Fix <code>RateLimiter.layerStoreRedis</code> sharing state between
different keys. A key ending in <code>:refill</code> or
<code>:adaptive</code> no longer reads or writes another key's
token-bucket refill time or adaptive state.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10223">#10223</a>
<a
href="https://github.com/Effect-TS/effect/commit/013fb34f88f3451ede7e7333f205563f07716b13"><code>013fb34</code></a>
Thanks <a
href="https://github.com/effect-bot"><code>@​effect-bot</code></a>! -
Fix <code>RpcServer</code> returning an empty HTTP 500 for requests with
malformed headers; such requests now fail with a defect
<code>Exit</code>, and malformed notifications are dropped.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10251">#10251</a>
<a
href="https://github.com/Effect-TS/effect/commit/113dbc74b259b7e56e618a506dc67e85794c36ed"><code>113dbc7</code></a>
Thanks <a href="https://github.com/wmaurer"><code>@​wmaurer</code></a>!
- Fix <code>Schedule.fixed</code>, <code>Schedule.windowed</code> and
<code>Schedule.cron</code> returning a zero delay when the clock is a
fraction of a nanosecond before the next run.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10230">#10230</a>
<a
href="https://github.com/Effect-TS/effect/commit/519d66eb5972ef3c801fb164dd652f25a71e0511"><code>519d66e</code></a>
Thanks <a
href="https://github.com/effect-bot"><code>@​effect-bot</code></a>! -
Add <code>SchemaBinary.int32</code>, <code>uint32</code>,
<code>int64</code> and <code>uint64</code>, opt-in schemas that write
integers as fixed-width little-endian payloads. The 32-bit schemas
decode to <code>number</code> and the 64-bit schemas to
<code>bigint</code>. Out-of-range and non-integer values are rejected
instead of wrapped.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10213">#10213</a>
<a
href="https://github.com/Effect-TS/effect/commit/e7a6ea43fe8ac77f68329b84d26dc2d1e136d745"><code>e7a6ea4</code></a>
Thanks <a
href="https://github.com/effect-bot"><code>@​effect-bot</code></a>! -
SQL transactions now trace <code>BEGIN</code>, <code>COMMIT</code>,
<code>ROLLBACK</code> and savepoint statements as child spans of
<code>sql.transaction</code>, replacing its
<code>effect.sql.transaction.commit</code>, <code>savepoint</code> and
<code>rollback</code> events; with
<code>Statement.SpanPropagationEnabled</code>, the transaction also
parents connection spans and records its connection wait time.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Effect-TS/effect/pull/10240">#10240</a>
<a
href="https://github.com/Effect-TS/effect/commit/019f35e0a7ebe050eae01d68cc14ae63158fd8e4"><code>019f35e</code></a>
Thanks <a href="https://github.com/clean99"><code>@​clean99</code></a>!
- Fix <code>Stream.groupAdjacentBy</code> dropping its last group when
the stream fails. The group is now emitted before the error.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Effect-TS/effect/commit/506eef143bcc1750ce58920aac1e45da7265d103"><code>506eef1</code></a>
Version Packages (<a
href="https://github.com/Effect-TS/effect/tree/HEAD/packages/effect/issues/10212">#10212</a>)</li>
<li><a
href="https://github.com/Effect-TS/effect/commit/b0a1ceebcd053d73dbd4fdf836c4d3471dc18f3c"><code>b0a1cee</code></a>
Update repository dependencies (<a
href="https://github.com/Effect-TS/effect/tree/HEAD/packages/effect/issues/10257">#10257</a>)</li>
<li><a
href="https://github.com/Effect-TS/effect/commit/2a4ce2e3638e5543f1355ae671bcb20e00f45ffe"><code>2a4ce2e</code></a>
Make load-sensitive Data, sql-d1 and sqlite-node tests robust under load
(<a
href="https://github.com/Effect-TS/effect/tree/HEAD/packages/effect/issues/10">#10</a>...</li>
<li><a
href="https://github.com/Effect-TS/effect/commit/e5b1bcfa48a9e4d0d78de255f5ff3b0a7e2e9727"><code>e5b1bcf</code></a>
Consolidate redundant Data, Chunk.getUnsafe and Metric.track tests (<a
href="https://github.com/Effect-TS/effect/tree/HEAD/packages/effect/issues/10280">#10280</a>)</li>
<li><a
href="https://github.com/Effect-TS/effect/commit/4a4491d60c9db1cf43a2346fc49329961512f849"><code>4a4491d</code></a>
Fix flaky DurableDeferred.raceAll unprocessed-result replay test (<a
href="https://github.com/Effect-TS/effect/tree/HEAD/packages/effect/issues/10265">#10265</a>)</li>
<li><a
href="https://github.com/Effect-TS/effect/commit/7a0da6300449d4806a25cbd1dde86dc1ef3cf300"><code>7a0da63</code></a>
Report the stuck step when an McpServer list change test hangs (<a
href="https://github.com/Effect-TS/effect/tree/HEAD/packages/effect/issues/10275">#10275</a>)</li>
<li><a
href="https://github.com/Effect-TS/effect/commit/2a0d16cd1ff63a69baf5d19a13dc2051b500150c"><code>2a0d16c</code></a>
Follow chained root references in structured-output schema conversion
(<a
href="https://github.com/Effect-TS/effect/tree/HEAD/packages/effect/issues/10278">#10278</a>)</li>
<li><a
href="https://github.com/Effect-TS/effect/commit/e1edcdc8d60bef515a2c5fa97706d4baaf0c0290"><code>e1edcdc</code></a>
Stop idle OTLP log and trace exporters from keeping a timer pending (<a
href="https://github.com/Effect-TS/effect/tree/HEAD/packages/effect/issues/10235">#10235</a>)</li>
<li><a
href="https://github.com/Effect-TS/effect/commit/cf329f3b694ba8659946ee74dbbb6cdb6e5535de"><code>cf329f3</code></a>
Retry transient persistence failures for durable clocks and deferreds
(<a
href="https://github.com/Effect-TS/effect/tree/HEAD/packages/effect/issues/10260">#10260</a>)</li>
<li><a
href="https://github.com/Effect-TS/effect/commit/46f48afc88b4b4df3cc1c470ae01f31cc7f8d77c"><code>46f48af</code></a>
Prevent interrupted defecting cluster requests from stalling other
entities (...</li>
<li>Additional commits viewable in <a
href="https://github.com/Effect-TS/effect/commits/effect@4.1.2/packages/effect">compare
view</a></li>
</ul>
</details>
<br />

Updates `@opencode/plugin` from 2.2.5 to 2.2.6
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/anomalyco/opencode/releases">@​opencode/plugin's
releases</a>.</em></p>
<blockquote>
<h2>v2.2.6</h2>
<h3>Highlights</h3>
<ul>
<li><strong>Shared MCP Connections</strong>: Turn on pooling for an MCP
server to share one connection across projects with the same setup, so
you run fewer processes and start faster. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/61185">#61185</a>)</li>
<li><strong>GUI Plugin Themes and New Slots</strong>: GUI plugins can
now add color themes, render or add actions to code blocks, and use
native settings and menu components. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/61485">#61485</a>,
<a
href="https://redirect.github.com/anomalyco/opencode/pull/61533">#61533</a>,
<a
href="https://redirect.github.com/anomalyco/opencode/pull/61527">#61527</a>,
<a
href="https://redirect.github.com/anomalyco/opencode/pull/61509">#61509</a>)</li>
<li><strong>Mobile Composer Dock</strong>: On phones and tablets,
composer actions now sit in a touch dock above the keyboard with larger
buttons. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/61773">#61773</a>)</li>
<li><strong>S...

_Description has been truncated_

## Real Behavior Proof

- Fix pushed: migrated `dependency-compat.test.ts` to `effect/cli`
`Primitive.FileParse` (module path change in Effect 4.x).
- Observed: `bun run typecheck` clean; plugin suite 96/96 pass incl. the
compat test (3/3).
- Assessment of `toml@0.0.5`: not imported by repo code — the compat
test exercises Effect's own TOML parsing, so the dep can be dropped in a
follow-up if confirmed unused.
- Not tested: other plugins' Effect API surface (only the opencode
plugin touches effect/cli).

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JerrettDavis <mxjerrett@gmail.com>
2026-11-14 13:32:34 -06:00
Rahul selvarajandJD Davis e602e4cfb5 fix(sdk): throw typed proxy 4xx errors from compress instead of retrying (#4751)
## Description

`HeadroomClient.compress` only stopped retrying on a
`HeadroomCompressError` below 500. When the proxy's error body has a
typed `error.type`, `mapProxyError` returns `ConfigurationError`,
`ValidationError` and so on, so those 4xx responses were retried and,
with the default `fallback: true`, turned into an uncompressed result.
The caller never saw the 400.

`mapProxyError` also indexed a plain object with the untrusted
`error.type`, so `constructor`, `toString` or `__proto__` hit inherited
properties (a `String` object returned, or `TypeError: ErrorClass is not
a constructor`).

Closes #4742

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Performance improvement
- [ ] Code refactoring (no functional changes)

## Changes Made

- `sdk/typescript/src/client.ts`: new `isClientError()` reads the status
from any `HeadroomError` (`statusCode` on `HeadroomCompressError`,
`details.statusCode` on the typed classes, which `mapProxyError` already
sets). `compress` rethrows when it is below 500, the same threshold as
before. 5xx and connection errors still retry and fall back.
- `sdk/typescript/src/errors.ts`: `mapProxyError` looks up `error.type`
with `Object.hasOwn`, so inherited keys fall through to
`HeadroomCompressError`.
- Tests: `test/client.test.ts` checks that typed 400s
(`configuration_error`, `validation_error`) are thrown as their class
after one request with `retries: 1, fallback: true`, and that a typed
502 (`provider_error`) is still retried. `test/errors.test.ts` checks
that `constructor`, `toString`, `__proto__` and `hasOwnProperty` map to
`HeadroomCompressError`.

## Testing

- [ ] Unit tests pass (`pytest`)
- [ ] Linting passes (`ruff check .`)
- [ ] Type checking passes (`mypy headroom`)
- [x] New tests added for new functionality
- [x] Manual testing performed

TypeScript-only change, so I ran the `sdk-typescript.yml` steps instead
of the Python ones: `npm test`, `npm run typecheck` and `npm run build`
in `sdk/typescript` all pass. No Python files changed.

### Test Output

Before the fix (new tests only, `src/` at `1da8930a`):

```text
$ npx vitest run test/client.test.ts test/errors.test.ts
     × ignores inherited object keys such as constructor
     × ignores inherited object keys such as toString
     × ignores inherited object keys such as __proto__
     × ignores inherited object keys such as hasOwnProperty
     × throws typed configuration_error 4xx errors without retry or fallback
     × throws typed validation_error 4xx errors without retry or fallback
      Tests  6 failed | 41 passed (47)
```

After the fix:

```text
$ npm test
 Test Files  19 passed | 5 skipped (24)
      Tests  456 passed | 33 skipped (489)
$ npm run typecheck   # tsc --noEmit, exit 0
$ npm run build       # tsup, exit 0
```

## Real Behavior Proof

- Environment: Ubuntu Linux, Node v24.22.2, `sdk/typescript` built with
`npm run build`, `main` at `1da8930a` plus this change. A local Node
`http` server on `127.0.0.1` answers `POST /v1/compress` with
`{"error":{"type":T,"message":"msg-T"}}` and counts requests. No proxy
or provider credentials.
- Exact command / steps: build the SDK, start the stub, call `new
HeadroomClient({ baseUrl }).compress([{ role: "user", content: "hello"
}])` (defaults: `retries: 1`, `fallback: true`) for each status/type,
then call `mapProxyError(400, T, "x")` for the inherited keys. Same
script against the build of `1da8930a` for comparison.
- Observed result: with this change, typed 4xx errors
(`validation_error`, `configuration_error`) throw their typed error
after 1 request, prototype keys (`constructor`, `toString`, `__proto__`)
map to `HeadroomCompressError`, and 5xx still retries then falls back.
Before, those 4xx types retried and silently fell back, and `toString`
crashed with `TypeError`. Full output:

  After:
  ```text
status=400 type=bad_request threw HeadroomCompressError: msg-bad_request
requests=1
status=400 type=validation_error threw ValidationError:
msg-validation_error requests=1
status=400 type=configuration_error threw ConfigurationError:
msg-configuration_error requests=1
status=400 type=constructor threw HeadroomCompressError: msg-constructor
requests=1
status=400 type=toString threw HeadroomCompressError: msg-toString
requests=1
status=400 type=__proto__ threw HeadroomCompressError: msg-__proto__
requests=1
status=502 type=provider_error resolved compressed=false requests=2
mapProxyError(400,'constructor') -> HeadroomCompressError instanceof
Error=true
mapProxyError(400,'toString') -> HeadroomCompressError instanceof
Error=true
mapProxyError(400,'__proto__') -> HeadroomCompressError instanceof
Error=true
  ```

  Before (`1da8930a`):
  ```text
status=400 type=bad_request threw HeadroomCompressError: msg-bad_request
requests=1
status=400 type=validation_error resolved compressed=false requests=2
status=400 type=configuration_error resolved compressed=false requests=2
status=400 type=constructor resolved compressed=false requests=2
status=400 type=toString resolved compressed=false requests=2
status=400 type=__proto__ resolved compressed=false requests=2
status=502 type=provider_error resolved compressed=false requests=2
  mapProxyError(400,'constructor') -> undefined instanceof Error=false
TypeError: ErrorClass is not a constructor (at mapProxyError for
'toString')
  ```
- Not tested: a real Headroom proxy (I did not check which typed errors
it sends with a 4xx); other SDK methods that use `rawFetch` (they do not
retry, so only the lookup change affects them). With `fallback: false`,
a typed 5xx that exhausts retries is still wrapped in
`HeadroomConnectionError`, as before; this PR does not change that path.

## Runtime Rollout Safety

- Rollout-managed feature(s): none
- Minimum rollout channel: n/a (TypeScript SDK client behavior only)
- Stable/default behavior changed: yes, narrowly: `compress` now throws
typed 4xx proxy errors (e.g. `ConfigurationError`, `ValidationError`) on
the first attempt instead of retrying and returning the uncompressed
fallback. This matches the existing behavior for untyped 4xx and the
README's `err instanceof ConfigurationError` example.
- Kill switch / disable path: none needed; callers that want the old
result can catch the error and use the original messages.
- Unsafe override required: no
- Qualification impact: none
- Rollback path: revert this commit

## Review Readiness

- [x] I have performed a self-review
- [ ] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] I did **not** edit `CHANGELOG.md` — it is generated by
release-please from my Conventional Commit PR title (a CI guard enforces
this)

## Screenshots (if applicable)

N/A

## Additional Notes

- Documentation: no change needed; the README already shows `err
instanceof ConfigurationError` after `compress`, which this makes
reachable.
- Python `pytest` / `ruff` / `mypy` boxes are unticked because no Python
code changed; the TypeScript SDK CI steps were run instead (above).
- The issue suggested both fixes are independent; they are in one small
commit here but I can split them if you prefer.

AI assistance: this change was prepared with Claude and Codex (AI coding
assistants) and tested as described above.

Co-authored-by: JD Davis <mxjerrett@gmail.com>
2026-11-12 22:46:39 -06:00
Parideboy 622df2962b fix(sdk): keep Gemini thought signatures and call ids through the compress round trip (#4777)
## Description

The TypeScript Gemini adapter lost three part fields on every compressed
request: `thought`,
`thoughtSignature`, and the provider-assigned `functionCall.id` /
`functionResponse.id`. Gemini 3
answers a function-call turn whose first `functionCall` lost its
`thoughtSignature` with a
`400 INVALID_ARGUMENT`, so compression could break an otherwise valid
thinking-enabled tool loop.

The compress round trip is Gemini → OpenAI → `/v1/compress` → OpenAI →
Gemini, and the OpenAI shape
has no slot for those fields, so both converters dropped them.
`openAIToGemini` also rebuilt the
tool call id as `gemini_<name>`, which no longer matched the id Gemini
issued.

Closes #4770

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)

## Changes Made

- `geminiToOpenAI` carries the extra fields on a private
`_headroomGemini` key on the OpenAI
message, content block or tool call that the part becomes — the same
"hide it in an extra key"
pattern the SDK already uses for `mime_type` (media) and
`providerOptions` (Vercel). Turns that
carry per-part fields stay as separate content blocks instead of being
joined, because a joined
string has nowhere to keep them; plain turns still collapse exactly as
before.
- `geminiToOpenAI` uses the real `functionCall.id` (`gemini_<name>` only
as a fallback), and pairs a
`functionResponse` that omits its own id with the still-unanswered call
of the same name, so both
OpenAI ids match and the tool result keeps whatever per-call handling
the proxy applies.
- `openAIToGemini` restores `thought` / `thoughtSignature` on text,
image and `functionResponse`
parts, `functionCall.id` on tool calls, and `id` + `name` on
`functionResponse`.
- No change to `src/adapters/gemini.ts`: it was only ever handed lossy
contents.

## Testing

- [x] Unit tests pass (`npx vitest run`)
- [x] Type checking passes (`npm run typecheck`)
- [x] Build passes (`npm run build`)
- [x] New tests added for new functionality
- [x] Manual testing performed

### Test Output

```text
sdk/typescript$ npx vitest run
 Test Files  19 passed | 5 skipped (24)
      Tests  468 passed | 33 skipped (501)
   Type Errors  no errors

sdk/typescript$ npm run typecheck
> headroom-ai@0.44.0 typecheck
> tsc --noEmit
(no output)

sdk/typescript$ npm run build
ESM Build success in 338ms
DTS Build success in 338ms
```

The new `format.test.ts` cases under "Gemini part fields survive the
compress round trip
(issue #4770)" fail on `upstream/main` and pass with this change:

```text
# with only the test file added, source reverted to upstream/main
Tests  5 failed | 115 passed (120)
  AssertionError: expected { text: 'Let me look that up.' } to deeply equal { text: 'Let me look that up.', …(2) }
  AssertionError: expected 'gemini_get_weather' to be 'call_abc123'
```

## Real Behavior Proof

- Environment: Windows 11, Node v26.10.0, repo at `200c838c`, proxy run
locally with `HEADROOM_OFFLINE=1 headroom proxy --port 8899 --no-http2`,
SDK built with `npm run build`.
- Exact command / steps: a script calls `withHeadroom(model, { baseUrl:
"http://127.0.0.1:8899" })` from the built `dist/adapters/gemini.js`
with a three-turn Gemini conversation — user question, model turn with a
`thought` part plus a signed `functionCall` carrying `id:
"call_abc123"`, user turn with the matching `functionResponse` (once
carrying the id, once omitting it). The wrapped model records the params
it is finally called with, so the recorded value is what the real SDK
would send after a genuine `/v1/compress` round trip.
- Observed result: `upstream/main` loses all four fields and the ids
stop matching; this branch keeps every one of them. Recorded output:
  ```text
  # upstream/main
  signature kept:       false
  thought flag kept:    false
  functionCall id kept: false
  functionResponse:     false
  deep equal:           false

  # this branch
  signature kept:       true
  thought flag kept:    true
  functionCall id kept: true
  functionResponse:     true
  deep equal:           true

  # id-less functionResponse, signed response part
  call signature:        true
  response signature:    true
  response has no id:    true
  response name:         get_weather
  ```
- Not tested: no live Gemini 3 call — I have no API key here, so the
`400` itself is unverified (the issue notes the same caveat). The proxy
leg is real, not mocked; the "before" run is the same script against
`upstream/main`.

## Runtime Rollout Safety

- Rollout-managed feature(s): none
- Minimum rollout channel: all channels (npm `headroom-ai` release)
- Stable/default behavior changed: no — the change is contained in the
two format converters; a Gemini turn with no extra fields produces
byte-identical output to before
- Kill switch / disable path: none needed; the converters are pure
functions with no flag
- Unsafe override required: no
- Qualification impact: none
- Rollback path: revert this commit; nothing is persisted

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation — no
user-facing docs describe the Gemini round trip
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] I did **not** edit `CHANGELOG.md` — it is generated by
release-please from my Conventional Commit PR title (a CI guard enforces
this)

## Screenshots (if applicable)

Not applicable — no UI change.

## Additional Notes

Reviewers should know the private key is deliberately provider-specific:
`_headroomGemini` only ever
appears on messages the Gemini converter produced, and the
OpenAI/Anthropic/Vercel converters never
read or emit it. If a future Gemini part field needs preserving, add it
in `geminiPartExtras` /
`withGeminiPartExtras` rather than in the call sites.
2026-11-11 23:03:35 -06:00
HetCreepandClaude Sonnet 5.5 3c66c91eea fix(sdk): encode the signature hash in client.telemetry.getTool (#4772)
## Description

`client.telemetry.getTool(signatureHash)` in
`sdk/typescript/src/client.ts` (line 461 on `200c838c`) put its argument
into the URL path unencoded. The `feedback` method (line 473) and the
`toin` method (line 489) in the same file wrap theirs in
`encodeURIComponent`. A value containing `/`, `?` or `#` changed which
route was requested; for example `"../../v1/feedback?x=1#f"` reached a
real HTTP server as `GET /v1/v1/feedback?x=1`.

This PR wraps the argument in `encodeURIComponent`, the same way. Real
hash values are hex digests, so they are unchanged.

Closes #4769

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Performance improvement
- [ ] Code refactoring (no functional changes)

## Changes Made

- `sdk/typescript/src/client.ts`: `getTool` uses
`encodeURIComponent(signatureHash)`.
- `sdk/typescript/test/client-expanded.test.ts`: one test,
`telemetry.getTool encodes the signature hash like feedback and toin
do`, with a stubbed `fetch`.

## Testing

- [ ] Unit tests pass (`pytest`)
- [ ] Linting passes (`ruff check .`)
- [ ] Type checking passes (`mypy headroom`)
- [x] New tests added for new functionality
- [x] Manual testing performed

This is a TypeScript-only change, so the Python checks above do not
apply; the SDK equivalents were run (Node v24.22.2, vitest 5.1.0, `npm
ci --ignore-scripts` from the committed lockfile, Ubuntu on WSL2).

### Test Output

Fail before (`client.ts` from `200c838c`, new test kept):

```text
vitest run test/client-expanded.test.ts -t "telemetry.getTool"
 × telemetry.getTool encodes the signature hash like feedback and toin do
AssertionError: expected 'http://test:8787/v1/telemetry/tools/.…' to be 'http://test:8787/v1/telemetry/tools/.…'
Tests  1 failed | 34 skipped (35)
```

Pass after (this branch):

```text
vitest run test/client-expanded.test.ts -t "telemetry.getTool"
Tests  1 passed | 34 skipped (35)

vitest run (whole sdk/typescript suite)
Test Files  19 passed | 5 skipped (24)
Tests  460 passed | 33 skipped (493)

tsc --noEmit -> exit 0
```

## Real Behavior Proof

- Environment: Ubuntu on WSL2, Node v24.22.2, the built package (`npm ci
--ignore-scripts && npx tsup` in `sdk/typescript`) and a real
`node:http` server on 127.0.0.1, not a mock.
- Exact command / steps: `git checkout <branch>` (or `origin/main` for
"before"); build as above; start a `node:http` server that records
`req.method` and `req.url` and answers `{}`; create `new
HeadroomClient({ baseUrl, fallback: false })` from `dist/index.js` and
call `client.telemetry.getTool("../../v1/feedback?x=1#f")` and
`client.telemetry.getTool("abc123def456")`.
- Observed result: before (`200c838c`) the server saw `GET
/v1/v1/feedback?x=1` and `GET /v1/telemetry/tools/abc123def456`. After
(this branch) it saw `GET
/v1/telemetry/tools/..%2F..%2Fv1%2Ffeedback%3Fx%3D1%23f` and `GET
/v1/telemetry/tools/abc123def456`; a normal hex hash is unchanged.
- Not tested: a real Headroom proxy (the server is a recorder), so how
the proxy answers the encoded path is not checked.

## Runtime Rollout Safety

- Rollout-managed feature(s): none; TypeScript SDK client only.
- Minimum rollout channel: n/a
- Stable/default behavior changed: only for a value with `/`, `?` or
`#`; hex hashes request the same URL as before.
- Kill switch / disable path: n/a
- Unsafe override required: no
- Qualification impact: none
- Rollback path: revert this commit.

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] I did **not** edit `CHANGELOG.md` — it is generated by
release-please from my Conventional Commit PR title (a CI guard enforces
this)

## Additional Notes

- No documentation change. I did not add a code comment either: the
one-line change follows the neighbouring `feedback` and `toin` methods.

AI assistance: this change, its tests and the runs above were done with
Claude (Sonnet 5.5), operated by me (HetCreep).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 10:03:16 -06:00
HetCreepandClaude Sonnet 5.5 99ef4eec82 fix(sdk): reject "." ".." and NUL plugin names like the python twin (#4771)
## Description

`assertPluginName` in `sdk/typescript/src/paths.ts` (line 250 on
`200c838c`) rejected only an empty name, `/` and `\`.
`pluginConfigDir(".")` returned a path ending in `plugins/.`,
`pluginConfigDir("..")` one ending in `plugins/..` (which resolves to
the config directory), `pluginWorkspaceDir("..")` the same under the
workspace root, and a name containing NUL was accepted. The Python twin,
`headroom/paths.py` (`_validate_plugin_name`), already rejects `"."`,
`".."` and NUL; its docstring explains the guard keeps one plugin away
from the others' state.

This PR applies the same rule in TypeScript. It changes nothing else.

Closes #4768

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Performance improvement
- [ ] Code refactoring (no functional changes)

## Changes Made

- `sdk/typescript/src/paths.ts`: `assertPluginName` also throws for
`"."`, `".."` and a name containing `"\0"`, with a comment pointing at
the Python twin.
- `sdk/typescript/test/paths.test.ts`: the existing `rejects invalid
plugin name` cases now include `"."`, `".."` and `"a\0b"`.

## Testing

- [ ] Unit tests pass (`pytest`)
- [ ] Linting passes (`ruff check .`)
- [ ] Type checking passes (`mypy headroom`)
- [x] New tests added for new functionality
- [x] Manual testing performed

This is a TypeScript-only change, so the Python checks above do not
apply; the SDK equivalents were run (Node v24.22.2, vitest 5.1.0, `npm
ci --ignore-scripts` from the committed lockfile, Ubuntu on WSL2).

### Test Output

Fail before (`paths.ts` from `200c838c`, new test cases kept):

```text
vitest run test/paths.test.ts -t "rejects invalid plugin name"
 × rejects invalid plugin name "."
 × rejects invalid plugin name ".."
 × rejects invalid plugin name "a\u0000b"
AssertionError: expected [Function] to throw an error
Tests  3 failed | 3 passed | 57 skipped (63)
```

Pass after (this branch):

```text
vitest run test/paths.test.ts -t "rejects invalid plugin name"
Tests  6 passed | 57 skipped (63)

vitest run (whole sdk/typescript suite)
Test Files  19 passed | 5 skipped (24)
Tests  462 passed | 33 skipped (495)

tsc --noEmit -> exit 0
```

## Real Behavior Proof

- Environment: Ubuntu on WSL2, Node v24.22.2, `HOME` default, the built
package (`npm ci --ignore-scripts && npx tsup` in `sdk/typescript`), not
vitest.
- Exact command / steps: `git checkout <branch>` (or `origin/main` for
"before"); `cd sdk/typescript && npm ci --ignore-scripts && npx tsup`; a
small ESM script imports `pluginConfigDir` and `pluginWorkspaceDir` from
`dist/index.js` and prints the result, or the thrown message, for
`"realplugin"`, `"."`, `".."` and `"a\u0000b"`.
- Observed result: before (`200c838c`): `pluginConfigDir(".")` ->
`/home/zxc59/.headroom/config/plugins/.`, `pluginConfigDir("..")` ->
`/home/zxc59/.headroom/config/plugins/..`, `pluginWorkspaceDir("..")` ->
`/home/zxc59/.headroom/plugins/..`, and the NUL name returned a path
containing it. After (this branch): all of these throw `invalid plugin
name: "."`, `".."` and `"a\u0000b"`; `"realplugin"` still returns
`/home/zxc59/.headroom/config/plugins/realplugin`.
- Not tested: a real plugin installed through the package manager,
Windows paths, and the browser build (where these helpers return an
empty string).

## Runtime Rollout Safety

- Rollout-managed feature(s): none; TypeScript SDK path helpers only.
- Minimum rollout channel: n/a
- Stable/default behavior changed: yes, narrowly. `pluginConfigDir` and
`pluginWorkspaceDir` now throw for `"."`, `".."` and a NUL name, as the
Python twin already did.
- Kill switch / disable path: n/a
- Unsafe override required: no
- Qualification impact: none
- Rollback path: revert this commit.

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] I did **not** edit `CHANGELOG.md` — it is generated by
release-please from my Conventional Commit PR title (a CI guard enforces
this)

## Additional Notes

- No documentation change: the SDK README does not describe the
plugin-name rule.

AI assistance: this change, its tests and the runs above were done with
Claude (Sonnet 5.5), operated by me (HetCreep).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 10:00:53 -06:00
ParideboyandJD Davis 200c838c73 fix(sdk): accept string contents and functionCall without args in the Gemini adapter (#4756)
## Description

Two inputs made the TypeScript SDK's Gemini path throw instead of
compressing or passing through. Both are fixed, and the shorthand-prompt
handling was hardened following Devin Review feedback.

Closes #4741

1. **Plain-string contents.**
`withHeadroom(model).generateContent("text")` (or a part array) reached
`detectFormat`, which evaluates `"parts" in msg` on a primitive and
threw `TypeError: Cannot use 'in' operator to search for 'parts' in
text`.

2. **`functionCall` without `args`.** `args` is optional in the Gemini
API. `geminiToOpenAI` wrote `JSON.stringify(undefined)`, and
`compress()` always ran `fromOpenAI()` — even when the proxy was
unreachable and the fallback returned the input unchanged — so
`openAIToGemini` threw `SyntaxError: "undefined" is not valid JSON` on
`JSON.parse(tc.function.arguments)`.

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Performance improvement
- [ ] Code refactoring (no functional changes)

## Changes Made

- `sdk/typescript/src/adapters/gemini.ts`
- `toContents()` wraps a shorthand prompt. The Gemini SDK reads a bare
string — or a top-level array of strings/Parts — as the **parts of a
single user turn**, so it becomes one `{ role: "user", parts: [...] }`
Content before format detection. Treating each array element as its own
turn would split turns and drop a bare media Part.
- The duplicated generate/stream bodies are one `compressParams()`,
which returns the original `params` untouched when `result.compressed`
is false — the guard `anthropic.ts` and `vercel-ai.ts` already use.
- A compressed shorthand prompt returns `{ contents: result.messages }`;
handing the bare Contents array to the SDK would make it read them as
the parts of one turn. Real request objects keep their other settings.
- `sdk/typescript/src/compress.ts`
- A request containing a non-object entry now passes through untouched
(`compressed: false`, proxy not called) instead of being converted and
silently losing those entries — CONTRIBUTING: "malformed content passes
through unchanged".
- `sdk/typescript/src/utils/format.ts`
- `detectFormat()` skips non-object entries instead of throwing on them.
  - `geminiToOpenAI()` uses `JSON.stringify(args ?? {})`.
- `openAIToGemini()` parses `arguments ?? "{}"` in a `try/catch`; a
malformed value falls back to the raw string rather than `{}`, so no
tool input is discarded (matching the Vercel conversion).
- Tests: `test/adapters/gemini.test.ts` (string and `["describe", {
inlineData }]` prompts reach the proxy as one user turn with the image
intact; a compressed string prompt comes back as a request object;
string params pass through on an unreachable proxy) and
`test/compress.test.ts` (round-trip of a `functionCall` with no `args`
through an unreachable `HeadroomClient`; a mixed non-object array passes
through untouched).

## Testing

- [ ] Unit tests pass (`pytest`) — N/A, TypeScript SDK only
- [ ] Linting passes (`ruff check .`) — N/A, TypeScript SDK only
- [ ] Type checking passes (`mypy headroom`) — N/A, TypeScript SDK only
- [x] New tests added for new functionality
- [x] Manual testing performed

### Test Output

```text
$ cd sdk/typescript && npx vitest run

 RUN  v5.1.0 G:/.../sdk/typescript

 Test Files  19 passed | 5 skipped (24)
      Tests  459 passed | 33 skipped (492)
Type Errors  no errors
```

The reported `TypeError` and `SyntaxError` reproduced exactly as in the
issue before the fix, and each new test was confirmed to fail first.

## Real Behavior Proof

- Environment: Windows 11, Node v26.10.0, `sdk/typescript` on this
branch. No Gemini API key, no real proxy.
- Exact command / steps: `cd sdk/typescript && npx vitest run
test/adapters/gemini.test.ts test/compress.test.ts`
- Observed result: `generateContent("text")` now reaches the proxy as
`[{ role: "user", content: "text" }]` and returns `{ contents: [...] }`
to the model; `generateContent(["describe", { inlineData }])` keeps text
and image in one turn. A Gemini `functionCall` with no `args` goes out
as `arguments: "{}"` and comes back as `{ functionCall: { name: "f",
args: {} } }` instead of throwing. On an unreachable proxy with
`fallback: true`, the original params/messages are returned unchanged.
- Not tested: a live Gemini API call, and a real proxy request carrying
a `functionCall` with omitted `args`.

## Runtime Rollout Safety

- Rollout-managed feature(s): none
- Minimum rollout channel: N/A
- Stable/default behavior changed: no — only previously-throwing inputs
change behavior
- Kill switch / disable path: N/A
- Unsafe override required: no
- Qualification impact: none
- Rollback path: revert the commit

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

---

### CI note

`npm audit (plugins/opencode)` is red but **pre-existing on `main`**,
not caused by this PR: `effect` (`GHSA-chp3-j5qr-2vfr`, cookie attribute
injection in `@effect/platform` `makeCookie()`) via
`@opencode-ai/plugin`. It reproduces on a clean `8f04221b` checkout,
`plugins/opencode/package-lock.json` is untouched here, and `npm audit
(sdk/typescript)` passes. Left alone per CONTRIBUTING ("Test/CI-only PR
chasing a known `main` failure — **Don't.**"); happy to take it
separately.

### Out of scope

The issue's "Additional Context" deserves its own issue:
`geminiToOpenAI` / `openAIToGemini` still drop `thoughtSignature`,
`thought` and `functionCall.id`, and synthesize call ids as
`gemini_${name}`, so two calls to the same function in one conversation
collide. Fixing it changes the conversion contract, so it is kept
separate from these crashes.

---------

Co-authored-by: JD Davis <mxjerrett@gmail.com>
2026-11-10 23:50:12 -06:00
HetCreepandClaude Sonnet 5.5 4b6529fc14 fix(sdk): reject sharedcontext maxentries below 1 (#4743)
## Description

`SharedContext` in the TypeScript SDK has an infinite loop when
`maxEntries` is 0 (or negative). `evictIfFull`
(`sdk/typescript/src/shared-context.ts:182` on `1da8930a`) is `while
(this.entries.size >= this.maxEntries)` and only deletes when the map
has a key. With `maxEntries <= 0` and an empty map the condition stays
true, nothing is deleted, and the loop never exits. It is synchronous,
so the whole Node event loop stops. The constructor keeps `0` because it
uses `??` (`shared-context.ts:47`).

With this PR the constructor throws a `RangeError` when `maxEntries` is
not at least 1 (this also covers `NaN`), and `evictIfFull` stops when
there is nothing left to delete, so the loop cannot spin even if the
field is changed later.

This is one of three eviction defects in `SharedContext` described in
#4740. This PR fixes only the infinite loop; the other two (updating an
existing key at capacity evicts an unrelated entry, and the bound is not
held under concurrent `put`) are not touched.

Part of #4740

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Performance improvement
- [ ] Code refactoring (no functional changes)

## Changes Made

- `sdk/typescript/src/shared-context.ts`: the constructor throws
`RangeError("SharedContext maxEntries must be at least 1, got N")` when
`!(maxEntries >= 1)`; `evictIfFull` breaks when `keys().next().value` is
`undefined`.
- `sdk/typescript/test/shared-context.test.ts`: new `SharedContext
maxEntries validation` block: `0`, `-1` and `NaN` are rejected; `1` is
accepted and keeps only the last key; `evictIfFull` returns on an empty
map even when the field is forced to 0 (guards the loop on its own).

## Testing

- [ ] Unit tests pass (`pytest`)
- [ ] Linting passes (`ruff check .`)
- [ ] Type checking passes (`mypy headroom`)
- [x] New tests added for new functionality
- [x] Manual testing performed

This is a TypeScript-only change, so the Python checks above do not
apply; the SDK equivalents were run (Node v24.22.2, vitest 5.1.0, `npm
ci --ignore-scripts` from the committed lockfile, Ubuntu on WSL2).

### Test Output

```text
vitest run test/shared-context.test.ts (origin/main src, original tests)
Tests  15 passed (15)

vitest run (this branch, whole sdk/typescript suite)
Test Files  19 passed | 5 skipped (24)
Tests  454 passed | 33 skipped (487)

tsc --noEmit -> exit 0
```

Fail before (`shared-context.ts` from `1da8930a`, new tests kept):

```text
vitest run test/shared-context.test.ts -t "rejects|accepts"
 × rejects maxEntries 0
 × rejects maxEntries -1
 × rejects maxEntries NaN
AssertionError: expected function to throw an error, but it didn't
Tests  3 failed | 1 passed | 16 skipped (20)

timeout 20 vitest run test/shared-context.test.ts -t "returns on an empty map"
(no result; killed by timeout, rc=124, the test never returns)
```

The last test hangs on `1da8930a` by design (it is the loop); I ran it
alone under `timeout 20` so it cannot stall the run.

Pass after:

```text
vitest run test/shared-context.test.ts
Tests  20 passed (20)
```

## Real Behavior Proof

- Environment: Node v24.22.2 on Ubuntu (WSL2), `node
--experimental-transform-types` on the real SDK source, no network.
- Exact command / steps: `new SharedContext({ maxEntries: 0, baseUrl:
"http://127.0.0.1:9", retries: 0, timeout: 500 })`, then `await
ctx.put("k", "v")`.
- Observed result: on `1da8930a` it prints `constructed; calling put`,
then never returns and is killed by `timeout 10` (rc=124). On this
branch it prints `threw RangeError: SharedContext maxEntries must be at
least 1, got 0` and exits 0.
- Not tested: a Python-side change (none made).

## Runtime Rollout Safety

- Rollout-managed feature(s): none.
- Minimum rollout channel: n/a (no new feature)
- Stable/default behavior changed: yes, narrowly: `maxEntries` of 0, a
negative number or `NaN` now throws at construction instead of freezing
on the first `put`. The default (100) and every valid value are
unchanged.
- Kill switch / disable path: none; not needed.
- Unsafe override required: no
- Qualification impact: none expected.
- Rollback path: revert this commit.

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes (see
Testing)
- [x] I did **not** edit `CHANGELOG.md` — it is generated by
release-please from my Conventional Commit PR title (a CI guard enforces
this)

## Additional Notes

- The Python twin (`headroom/shared_context.py`) does not validate
`max_entries` either; with `max_entries=0` its `min()` over an empty
dict would raise `ValueError` (read, not run: the module's package
imports need `opentelemetry`, which is not installed here). This PR does
not touch Python.
- `RangeError` was chosen as the standard JS error for an out-of-range
number; a maintainer may prefer clamping to 1 instead.

Produced with AI assistance (Claude Code) operated by me (HetCreep); the
tests and proof above were run on my machine against a clone of the
repository.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- devin-review-badge-begin -->

---

<a href="https://app.devin.ai/review/headroomlabs-ai/headroom/pull/4743"
target="_blank"><picture><source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img
src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4"
alt="Devin Review"></picture></a>
<!-- devin-review-badge-end -->

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 09:04:17 -06:00
headroom-release[bot]andgithub-actions[bot] b21479e0fa chore: release 0.44.0 (#4665)
🤖 I have created a release *beep* *boop*
---


##
[0.44.0](https://github.com/headroomlabs-ai/headroom/compare/v0.43.1...v0.44.0)
(2026-11-09)


### ⚠ BREAKING CHANGES

* **packaging:** keep PyTorch extras out of all
([#4067](https://github.com/headroomlabs-ai/headroom/issues/4067))

### Features

* **pipeline:** say whose request an OutcomeSnapshot is
([#4698](https://github.com/headroomlabs-ai/headroom/issues/4698))
([a2bcbd1](https://github.com/headroomlabs-ai/headroom/commit/a2bcbd101b1391debfd218ec8c63cb72d2bc240a))
* **providers:** add Hermes agent wrap support
([#934](https://github.com/headroomlabs-ai/headroom/issues/934))
([7877241](https://github.com/headroomlabs-ai/headroom/commit/7877241d84c93b3ec487e07324245838ddae85cc))
* **proxy/model-router:** add shadow mode
(HEADROOM_MODEL_ROUTER_LOG_ONLY)
([#2395](https://github.com/headroomlabs-ai/headroom/issues/2395))
([861ef95](https://github.com/headroomlabs-ai/headroom/commit/861ef95620c801c2560a2eacc5773a26e131dfd0))
* **proxy:** add lossless /v1/compress mode and detect provider by wire
shape ([#4617](https://github.com/headroomlabs-ai/headroom/issues/4617))
([33f067a](https://github.com/headroomlabs-ai/headroom/commit/33f067a243b2e648730c01ae6b9f20cba879f351))
* **proxy:** expose per-request cost_usd in /stats recent_requests
([#1079](https://github.com/headroomlabs-ai/headroom/issues/1079))
([#1565](https://github.com/headroomlabs-ai/headroom/issues/1565))
([84cedbf](https://github.com/headroomlabs-ai/headroom/commit/84cedbf2b4197f09ace9944c50655786dac35b03))
* **proxy:** expose shared Redis store availability in /health and
/metrics
([#4578](https://github.com/headroomlabs-ai/headroom/issues/4578))
([602ca65](https://github.com/headroomlabs-ai/headroom/commit/602ca65126e12d73ef44d4b1b01bbe1fa3b37080))
* **proxy:** give turn hooks one conversation id per client conversation
([#4496](https://github.com/headroomlabs-ai/headroom/issues/4496))
([94a99ed](https://github.com/headroomlabs-ai/headroom/commit/94a99ed20f6fe110e03d2613e9feec42d9547150))
* **proxy:** report DeepSeek as its own provider in dashboard
([#2565](https://github.com/headroomlabs-ai/headroom/issues/2565))
([9ad16a7](https://github.com/headroomlabs-ai/headroom/commit/9ad16a77f8b9a7817331aa5e9a9ee04d1e1fc05e))
* **proxy:** show per-request /stats metadata to token-authenticated
callers
([#4168](https://github.com/headroomlabs-ai/headroom/issues/4168))
([9b2dec5](https://github.com/headroomlabs-ai/headroom/commit/9b2dec56f9882a25fb511dc5f480b047845141f9))
* **proxy:** unified multi-upstream routing for Anthropic Cloud and
local oMLX
([#4597](https://github.com/headroomlabs-ai/headroom/issues/4597))
([f896161](https://github.com/headroomlabs-ai/headroom/commit/f896161340893dd8e96502d4c309980bed52d3d1))
* **savings:** carry cumulative actual output_tokens in history
checkpoints
([#2921](https://github.com/headroomlabs-ai/headroom/issues/2921))
([8388ff5](https://github.com/headroomlabs-ai/headroom/commit/8388ff5efd7caf3a827e66bf69449c4a64df05af))
* **wrap:** add `headroom wrap droid` for Factory Droid
([#4143](https://github.com/headroomlabs-ai/headroom/issues/4143))
([bb8d18a](https://github.com/headroomlabs-ai/headroom/commit/bb8d18a56abb07ca7e811235c86ea6b626eb1f8b))
* **wrap:** make the Serena code-memory MCP opt-in
([#4509](https://github.com/headroomlabs-ai/headroom/issues/4509))
([2649835](https://github.com/headroomlabs-ai/headroom/commit/2649835a51e6d459ac47e8dcb8591e5bf027715b))


### Bug Fixes

* **asgi:** stop buffering when the client disconnects
(GHSA-mc2f-vg4v-2fh4)
([#4701](https://github.com/headroomlabs-ai/headroom/issues/4701))
([c6d7081](https://github.com/headroomlabs-ai/headroom/commit/c6d708144ce27abeb08c4c57374b373eebe1951e))
* **beacon:** enforce the allowlist below the top-level keys
([#4691](https://github.com/headroomlabs-ai/headroom/issues/4691))
([456288d](https://github.com/headroomlabs-ai/headroom/commit/456288da0765985ca31eed58dbdaef44ff9aa43a))
* **binaries:** fail closed on
HEADROOM_BINARIES_ALLOW_UNVERIFIED=0/false
([#3218](https://github.com/headroomlabs-ai/headroom/issues/3218))
([da6d973](https://github.com/headroomlabs-ai/headroom/commit/da6d9736cd82074988c7d0a2360b49d9d8b6c0a0))
* **cache:** record TTL observations with relative filenames
([#4711](https://github.com/headroomlabs-ai/headroom/issues/4711))
([51d9dc5](https://github.com/headroomlabs-ai/headroom/commit/51d9dc59b3dc6b8c386cc2293e78d1334aac0893))
* **cache:** round learned TTL upper bounds up to whole seconds
([#4710](https://github.com/headroomlabs-ai/headroom/issues/4710))
([13347e3](https://github.com/headroomlabs-ai/headroom/commit/13347e339c4cc88dfa0cfa1deceeb0dae56ee2fc))
* **cache:** save prefix-tracker state when the exit signal arrives
([#4715](https://github.com/headroomlabs-ai/headroom/issues/4715))
([3ba4223](https://github.com/headroomlabs-ai/headroom/commit/3ba422361e3bce92afd6bb30e3cd817ec3b9cb46))
* **ccr:** lowercase the hash in the streaming feedback recorders
([#2313](https://github.com/headroomlabs-ai/headroom/issues/2313))
([3912c04](https://github.com/headroomlabs-ai/headroom/commit/3912c0405321c498f854fd0c152ae01abf63bf48))
* **ci:** keep the npm publish token out of install and build steps
([#4690](https://github.com/headroomlabs-ai/headroom/issues/4690))
([8f6366c](https://github.com/headroomlabs-ai/headroom/commit/8f6366cf66d035fc8e9f390be424bc9bdf6c62e4))
* **cli:** resolve active proxy port for read commands
([#3522](https://github.com/headroomlabs-ai/headroom/issues/3522))
([02c4e92](https://github.com/headroomlabs-ai/headroom/commit/02c4e922f748cfac5db59303918bb13906031650))
* **content-router:** trust confident HTML detection over mixed-content
heuristics
([#3627](https://github.com/headroomlabs-ai/headroom/issues/3627))
([f50db67](https://github.com/headroomlabs-ai/headroom/commit/f50db67006e2fe3f43b295542b759d90bb73e5a1))
* **dashboard:** lifetime metrics and refresh
([#2374](https://github.com/headroomlabs-ai/headroom/issues/2374))
([eb9932a](https://github.com/headroomlabs-ai/headroom/commit/eb9932a671c92b19c58949a63ec833869fc1a8e7))
* **doctor:** recognize IPv6 loopback and case-insensitive proxy routing
URLs ([#3255](https://github.com/headroomlabs-ai/headroom/issues/3255))
([2b0315b](https://github.com/headroomlabs-ai/headroom/commit/2b0315b2d4b0d54947050bbdad2de9e89df06378))
* **install:** decode Windows Task Scheduler XML output before parsing
([#3969](https://github.com/headroomlabs-ai/headroom/issues/3969))
([#4064](https://github.com/headroomlabs-ai/headroom/issues/4064))
([b78e07d](https://github.com/headroomlabs-ai/headroom/commit/b78e07da7fadeaafdbba16312140d44f812bc181))
* **install:** make install status agree with doctor when the proxy is
reachable
([#3072](https://github.com/headroomlabs-ai/headroom/issues/3072))
([#3141](https://github.com/headroomlabs-ai/headroom/issues/3141))
([05431b2](https://github.com/headroomlabs-ai/headroom/commit/05431b264f4fc105a302cceed60b5327abc35e10))
* **langchain:** check optional integration availability
([#4042](https://github.com/headroomlabs-ai/headroom/issues/4042))
([cde584d](https://github.com/headroomlabs-ai/headroom/commit/cde584d7fe6930b8ecf612b705e984b2c6a41527))
* **learn:** harden analyzer JSON parsing against malformed LLM output
([#2471](https://github.com/headroomlabs-ai/headroom/issues/2471))
([12864fc](https://github.com/headroomlabs-ai/headroom/commit/12864fc8f01a1ca6c58440eccef0dabdd3e595b8))
* **learn:** support opencode v2 session schema in learn scanner
([#4199](https://github.com/headroomlabs-ai/headroom/issues/4199))
([c05466a](https://github.com/headroomlabs-ai/headroom/commit/c05466a469c848c69a62a5c283c09dcd35d8e9c8))
* **lossless:** fold only pure path listings, never markup
([#4716](https://github.com/headroomlabs-ai/headroom/issues/4716))
([0ccd559](https://github.com/headroomlabs-ai/headroom/commit/0ccd559db052ea2ec8baef122ac769a146a75518))
* **memory:** gracefully degrade on context lookup and initialization
errors
([#3251](https://github.com/headroomlabs-ai/headroom/issues/3251))
([#4049](https://github.com/headroomlabs-ai/headroom/issues/4049))
([00d4f44](https://github.com/headroomlabs-ai/headroom/commit/00d4f441d3f1d48c463fea57e6c574c2f3671302))
* **metrics:** cap savings_by_source rows and fold the rest into other
([#4257](https://github.com/headroomlabs-ai/headroom/issues/4257))
([2038fb2](https://github.com/headroomlabs-ai/headroom/commit/2038fb2a3667d9cba3ff9cb1c4957add06ef5acb))
* **packaging:** keep PyTorch extras out of all
([#4067](https://github.com/headroomlabs-ai/headroom/issues/4067))
([a890521](https://github.com/headroomlabs-ai/headroom/commit/a8905214d949cdc42b1d76fbc83146f51e0c4f19))
* **proxy:** add --no-ccr-response-handling flag to bypass response
buffering
([#3082](https://github.com/headroomlabs-ai/headroom/issues/3082))
([#3100](https://github.com/headroomlabs-ai/headroom/issues/3100))
([ce14271](https://github.com/headroomlabs-ai/headroom/commit/ce14271ba8ca66b653fbbb555d50ca20e7a36d3f))
* **proxy:** bound the Bedrock Prometheus model label
([#4694](https://github.com/headroomlabs-ai/headroom/issues/4694))
([d70a8b7](https://github.com/headroomlabs-ai/headroom/commit/d70a8b76a5bc12b4eae6655e40e60abe19b145d0))
* **proxy:** drop headers named by Connection when forwarding responses
([#4674](https://github.com/headroomlabs-ai/headroom/issues/4674))
([3871b36](https://github.com/headroomlabs-ai/headroom/commit/3871b3664a03c9dc489be13f245462f2a9fc0b67))
* **proxy:** keep cold-turn reasoning drops sticky so the next warm turn
reuses the cached prefix
([#4592](https://github.com/headroomlabs-ai/headroom/issues/4592))
([3544cf5](https://github.com/headroomlabs-ai/headroom/commit/3544cf5b88a0d0e704f3d3c5eb8a89f7c52d8c13))
* **proxy:** keep the Bedrock credentials provider when startup
resolution fails
([#4705](https://github.com/headroomlabs-ai/headroom/issues/4705))
([5438f00](https://github.com/headroomlabs-ai/headroom/commit/5438f0035d2fd0261b50aac0520b30021dc56fe0))
* **proxy:** refresh Bedrock AWS credentials before they expire
([#4696](https://github.com/headroomlabs-ai/headroom/issues/4696))
([adc6724](https://github.com/headroomlabs-ai/headroom/commit/adc67249660b4464e8489e21287d9b95d044b095))
* **proxy:** rename leaked_threads metric to timed_out_workers_total
([#3908](https://github.com/headroomlabs-ai/headroom/issues/3908))
([bd164a2](https://github.com/headroomlabs-ai/headroom/commit/bd164a2c3ba3a2eeb470a0b9503a696dd02b0e9c))
* **proxy:** track response.-prefixed item and content-part events in
Responses SSE state
([#4695](https://github.com/headroomlabs-ai/headroom/issues/4695))
([8f4122f](https://github.com/headroomlabs-ai/headroom/commit/8f4122f4e5ae351703c775e042d2ad705cebc143))
* **router:** compress tool_result blocks in mutable window with
trailing messages
([#4717](https://github.com/headroomlabs-ai/headroom/issues/4717))
([0511bcd](https://github.com/headroomlabs-ai/headroom/commit/0511bcd33186f57d76e508bbec388bb4256cfc68))
* **router:** ignore shell operators inside quoted arguments in read
detection
([#4646](https://github.com/headroomlabs-ai/headroom/issues/4646))
([8cdce17](https://github.com/headroomlabs-ai/headroom/commit/8cdce172ea5b70f9ed5300f089c11f4ca23b8c66))
* **scripts:** skip ci-precheck in the pre-push hook when a push only
deletes refs
([#4702](https://github.com/headroomlabs-ai/headroom/issues/4702))
([cbcf8d8](https://github.com/headroomlabs-ai/headroom/commit/cbcf8d8d9b3c43a93276b46db569fab185ed949d))
* **sdk:** keep Vercel AI SDK tool-result output kinds through
compression
([#4670](https://github.com/headroomlabs-ai/headroom/issues/4670))
([ce42754](https://github.com/headroomlabs-ai/headroom/commit/ce4275491299231bc9d2907833f72f72ea22b8a9))
* **search_compressor:** keep kept rows byte-for-byte and in input order
([#3982](https://github.com/headroomlabs-ai/headroom/issues/3982))
([a538740](https://github.com/headroomlabs-ai/headroom/commit/a538740ee40a80642bb1092d179171828260696c))
* **smart-crusher:** keep mixed-array dict rows and exact drop count
with factor_out_constants
([#4692](https://github.com/headroomlabs-ai/headroom/issues/4692))
([ced2685](https://github.com/headroomlabs-ai/headroom/commit/ced26852c6d103991e05c5eec1f13103e5ce2755))
* **smart-crusher:** keep the row the question names
([#4713](https://github.com/headroomlabs-ai/headroom/issues/4713))
([e6e2ebb](https://github.com/headroomlabs-ai/headroom/commit/e6e2ebb6782119e46400a66cef33bb8eb9295484))
* **storage:** return the latest snapshot from JSONLStorage.get
([#4675](https://github.com/headroomlabs-ai/headroom/issues/4675))
([b25c45b](https://github.com/headroomlabs-ai/headroom/commit/b25c45b08f1cc5ed8fe49671e356711b89800ac1))
* **tabular:** split fixed-width rows on column boundaries, not on
double spaces
([#4541](https://github.com/headroomlabs-ai/headroom/issues/4541))
([b80245e](https://github.com/headroomlabs-ai/headroom/commit/b80245ea73e452f2c14de7a5cd8520f7e7d92c61))
* **tag-protector:** do not treat a slash in an unquoted attribute as
self-closing
([#4681](https://github.com/headroomlabs-ai/headroom/issues/4681))
([d5644cb](https://github.com/headroomlabs-ai/headroom/commit/d5644cbacab79607fe8864d007810aa06c5c68ea))
* **tag-protector:** keep the enclosing tag open after a nested close in
marker mode
([#4682](https://github.com/headroomlabs-ai/headroom/issues/4682))
([385d487](https://github.com/headroomlabs-ai/headroom/commit/385d487f41abd029fb4e2f8346c0cc30dc546bc4))
* **telemetry:** keep install ID stateless
([#3542](https://github.com/headroomlabs-ai/headroom/issues/3542))
([27bba79](https://github.com/headroomlabs-ai/headroom/commit/27bba79ff2d1800e390ed20820adff971e99ce08))
* **tokenizers:** resolve chatgpt-4o-* aliases to o200k_base
([#4672](https://github.com/headroomlabs-ai/headroom/issues/4672))
([9648d2d](https://github.com/headroomlabs-ai/headroom/commit/9648d2d867c99eb7e91f81754c5e2877be56feac))
* **tokenizers:** unwrap BatchEncoding in
HuggingFaceTokenizer.count_messages
([#2447](https://github.com/headroomlabs-ai/headroom/issues/2447))
([9eed58f](https://github.com/headroomlabs-ai/headroom/commit/9eed58f84cacc30116c6b6b29cb99eade57e0edf))
* **vertex:** explain Vertex failures in-band, correct the model/region
matrix
([#2640](https://github.com/headroomlabs-ai/headroom/issues/2640))
([0ddaa56](https://github.com/headroomlabs-ai/headroom/commit/0ddaa56c21cdc01c4774391fdcc69e987ecc4e5c))
* **wrap:** route Claude Code's Bedrock mode through Headroom
([#4316](https://github.com/headroomlabs-ai/headroom/issues/4316))
([aa2093b](https://github.com/headroomlabs-ai/headroom/commit/aa2093b4a08ca1f1bb9c8fb92fe0fc85d9ffe936))


### Dependencies

* bump rusqlite from 0.40.2 to 0.41.1
([#4658](https://github.com/headroomlabs-ai/headroom/issues/4658))
([74b7ac2](https://github.com/headroomlabs-ai/headroom/commit/74b7ac23861944f1411d30c5394043ec0505b334))
* bump the cargo-minor-patch group with 3 updates
([#4657](https://github.com/headroomlabs-ai/headroom/issues/4657))
([c01cf07](https://github.com/headroomlabs-ai/headroom/commit/c01cf07d943d816cfd9d97e6838ed4e38f1ff9a4))
* bump the npm-minor-patch group across 1 directory with 2 updates
([#4650](https://github.com/headroomlabs-ai/headroom/issues/4650))
([def4ef1](https://github.com/headroomlabs-ai/headroom/commit/def4ef10099514d09188326852138a8b20c26237))
* update click requirement from &gt;=8.3.3 to &gt;=8.5.0
([#4655](https://github.com/headroomlabs-ai/headroom/issues/4655))
([ea59ac3](https://github.com/headroomlabs-ai/headroom/commit/ea59ac3eef3a3dc02076e9fe4bb30d572ca9c1a9))
* update sqlite-vec requirement from &gt;=0.1.6 to &gt;=0.1.9
([#4654](https://github.com/headroomlabs-ai/headroom/issues/4654))
([de1a1e0](https://github.com/headroomlabs-ai/headroom/commit/de1a1e0f478d1eb9257dd8dd0d4ac87c9e6fc639))
* update tree-sitter requirement from &lt;0.27,&gt;=0.25.2 to
&gt;=0.26.0,&lt;0.27
([#4656](https://github.com/headroomlabs-ai/headroom/issues/4656))
([910588e](https://github.com/headroomlabs-ai/headroom/commit/910588e6b15ab54c4099d03703e5fa20c8abb757))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: headroom-release[bot] <352661243+headroom-release[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-09 19:58:06 -06:00
33f067a243 feat(proxy): add lossless /v1/compress mode and detect provider by wire shape (#4617)
## Description

Two gaps stop a gateway from using `/v1/compress` well. Both showed up
while fixing LiteLLM's `headroom` guardrail, which is the follow-up PR
that needs this one.

1. **No mode compresses messages losslessly without markers.** A gateway
with no retrieval loop can't resolve a marker or call
`headroom_retrieve`, so it needs a mode with nothing to retrieve. The
existing marker-free modes still run lossy compressors.
2. **Hooks guess the provider from the model name.** A gateway can send
any client's shape to any model. Claude Code's Anthropic body routed to
Gemini looked like OpenAI, so skill condensing found nothing to change.

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)
- [x] New feature (non-breaking change that adds functionality)

## Changes Made

**`config.mode="lossless"`**
- Runs format-native folds only, with no markers and no CCR store
writes. A registered lossless provider still applies.
- Turns off stale-Read pointers, which drop the file body and need the
retrieval tool.
- Turns off cross-turn dedup pointers, which a client that never numbers
its messages can't resolve.
- Scope: the guarantee covers message compression (lossless codecs, no
CCR). On a gateway turn, tool schema compaction and registered turn
hooks still run as configured, as in every other mode; description
truncation only happens when an operator sets
`HEADROOM_TOOL_DESC_MAX_CHARS`.

**`provider_for_body`**
- Hooks and the session tracker now use the body's wire shape, and fall
back to the model name when the shape proves nothing, such as plain text
with no system prompt or tools.
- Anthropic's own tool types (server tools such as
`web_search_20250305`, client tools such as `bash_20250124`) end in an
eight-digit date and count as the Anthropic shape, so a first-turn body
whose only tool is a server tool is read correctly.
- `route.provider` still follows the model.
- The cache breakpoint budget runs when either the shape or the model is
Anthropic, and never on a Responses body.
- `gateway_response_fields` loses its unused `provider` parameter, and
`RESPONSE_RECEIVED` keeps reporting the model's provider.

## Testing

- [x] Unit tests pass (`pytest`)
- [x] Linting passes (`ruff check .`, `ruff format --check .`, on the
pinned 0.17.0)
- [ ] Type checking passes (`mypy headroom`): one error, in
`headroom/integrations/langchain/chat_model.py`, which this PR doesn't
touch (local mypy 1.19.1)
- [x] New tests added for new functionality
- [x] Manual testing performed

### Test Output

```text
pytest tests/test_proxy_compress_endpoint.py tests/gateway tests/test_gateway_turn_unit.py tests/test_compress_route_tokenizer_by_model.py
425 passed, 4 skipped

Regression tests with the fixes removed: 8 failed, 7 passed
```

## Real Behavior Proof

- **Environment:** LiteLLM main with the follow-up guardrail change,
this branch as the sidecar, and a fake upstream that simulates prompt
caching. No real provider API was called.
- **Exact command / steps:** replayed a scripted 17-call agent session
with exact-duplicate outputs removed, once direct to the fake upstream
and once through LiteLLM and `/v1/compress`.
- **Observed result:** 0 errors, 0 rewrites of already-sent results,
`Read` and `Edit` results unchanged, about 1.3s added in total.

| Client | Prompt cost vs direct |
|---|---|
| Anthropic Messages, Claude Code cache markers | −3.9% |
| Chat Completions | −3.8% |
| Responses | −4.1% |

The script's outputs are synthetic, so treat these as a comparison
between setups, not a forecast for real traffic.

## Known limits

- The default mode and `lossy_inline` can still return a stale-Read
`Retrieve original: hash=` marker, although the docs call them
marker-free. This predates the PR and needs a separate fix. Proxy
`--lossless` has no read-lifecycle guard either, from reading the code.
- With no `ContentRouter`, `_derived_compress_pipeline` falls back to
the default pipeline, so `lossless` wouldn't hold. Production always has
a router, so only test stubs reach this.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- devin-review-badge-begin -->

---

<a href="https://app.devin.ai/review/headroomlabs-ai/headroom/pull/4617"
target="_blank"><picture><source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img
src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4"
alt="Devin Review"></picture></a>
<!-- devin-review-badge-end -->

## Maintainer post-merge revisit: main e9331b6b
Published head `e50b001bd05c9bc85405accca49cbef0e7786e51` incorporates
upstream main `e9331b6b963b5b6554f45943abed2366aaa25ea6` after #4142,
#4637 and #4641 merged. 164 endpoint/gateway/tokenizer/admission tests
pass; one json_minifier strategy assertion fails identically on actual
main e9331b6b. Ruff/format/diff pass. Import-only conflict resolved by
retaining both provider_for_body and RequestBodyTooLarge. Both existing
holds reconfirmed: lossless HTTP output removes unique description
suffix via tool_desc_compaction; Anthropic server tool with Gemini model
is classified OpenAI.

Contributor correctness logic was not rewritten. The existing Changes
Requested decision remains applicable; unchanged findings are not
reposted as duplicate reviews. Scoped Windows qualification uses the
existing development native extension, not a fresh build. Hosted checks
must finish independently; no contributor CI action requested and
nothing merged by this review.


## Maintainer post-merge revisit: main cc1eb540
Published `38b871120e318f6eaa1cb2ce16f96d4f6cc2b1e8` includes upstream
main `cc1eb5402aade58204b96b6b4b4d280cdd5456d2`. 90 gateway/tokenizer
tests pass; both existing HTTP/provider counterexamples reconfirmed.
Clean merge; Ruff/format/diff pass. Contributor correctness logic was
not rewritten. The existing Changes Requested decision remains
applicable; unchanged findings are not reposted. Scoped Windows
qualification uses the existing development native extension, not a
fresh build. Hosted checks must finish independently; nothing merged by
this review.


### Maintainer current-main requalification

Exact head `33395b5cdd7ee9facce9f97f2a3250f5e6e49cb2`, upstream main
`ecbaf86d78cf52d185fbffa306157b9a4cc1b906`.

Mechanically merged upstream/main
ecbaf86d78 without changing contributor
policy logic. Re-reviewed the combined gateway/provider delta and
existing comments. All 90 focused gateway/tokenizer tests and ten
inherited Gemini fixture cases pass; Ruff0.17.3 lint/format and
whitespace checks pass. The shared Gemini repair was already present, so
no duplicate fixture commit was added.

Both existing correctness findings independently remain on this combined
tree. An HTTP200 /v1/compress request with config.mode=lossless still
drops UNIQUE_REQUIREMENT_AT_END from a long tool description, reporting
tool_desc_compaction. An Anthropic web_search_20250305 tool body with a
Gemini-named model still returns provider openai. Existing requested
semantic fixes/regressions remain necessary; maintainers are handling CI
and no contributor CI execution is requested. No contributor logic was
rewritten and nothing merged.


Exact-head hosted checks are being handled by maintainers. Existing
correctness/qualification holds remain; nothing merged.


### Maintainer current-main requalification

Exact head `4c40adb53a68f382e32f00620adcfaf1cff477f5`, upstream main
`8d3e9e5ca7cd645eb73084b848edbea5fc796e1a`.

Clean mechanical sync with upstream
main8d3e9e5ca7cd645eb73084b848edbea5fc796e1a including intervening
release/runtime/cache/CCR/SSE/HTTP1.1 merges. No contributor
gateway/provider policy rewritten. Fresh author/Devin discussion
considered.100focused gateway-contract/tokenizer/Gemini tests
pass;7changed Python files pass Ruff0.17.3check/format and whitespace
checks pass. Last main delta after test start changes only
Rust/OpenClaw, leaving tested Python inputs unchanged.

Both existing blockers remain freshly reproduced from this worktree
(source import path verified): real app POST/v1/compress lossless
returns200 but drops UNIQUE_REQUIREMENT_AT_END from tool description via
tool_desc_compaction; Anthropic server-tool wire shape with Gemini model
returns provider openai. Preserve promised lossless content and classify
server-tool wire forms correctly, with regressions. No external provider
session/nativebuild claimed. Copied extension supports Python startup;
maintainers handle hosted checks. Nothing merged.


Exact-head hosted checks are being handled by maintainers. Existing
correctness/qualification holds remain; nothing merged.


### Maintainer current-main requalification

Exact head `8b7b2b0d02daf1a031828ecb13095ab315431f7e`, upstream main
`917edc62230c3c4a8a415e2053da68dab1f003dd`.

Current-main integration against917edc62230c3c4a8a415e2053da68dab1f003dd
is clean. Compared entire headroom/crates/Python manifests+lock/tests
inputs to prior qualified4c40adb53: byte-identical. Intervening changes
are reviewed npm maintenance and release-envelope recovery workflow; no
contributor gateway policy changed.75new-base
release-workflow/normalizer tests pass,whitespace passes.
Prior100gateway/tokenizer/Gemini results remain scoped to those
identical inputs rather than relabeled fresh.

Both gateway blockers freshly rechecked from worktree: Anthropic
server-tool+Gemini body classifiesopenai; actual lossless/v1/compress
returns200 but drops unique description suffix via tool_desc_compaction.
Retain existing losslessness/classification corrections. No fresh
nativebuild/provider claim. Maintainers handle exactheadCI;nothing
merged.


Exact-head hosted checks are being handled by maintainers. Existing
correctness/qualification holds remain; nothing merged.


### Maintainer current-main requalification

Exact head `490ff6defdebddda9106e9e143d42d1e463b6324`, upstream main
`7592e681459f14a2041eb5f524a658cb6ad1dd92`.

Clean integration with upstream/main
7592e68145. Reviewed both intervening
memory fixes and fresh PR discussion. Gateway/runtime/Rust inputs are
unchanged from the previously reviewed head; only the two main memory
fixes and their regressions enter this merge. Nine memory/Gemini
regression tests pass; main-relative whitespace passes.

Fresh actual-app probes retain both existing blockers: Anthropic
server-tool content with a Gemini model classifies as OpenAI; lossless
/v1/compress removes the unique tool-description suffix through
tool_desc_compaction. No contributor policy was rewritten. Existing
native extension used for Python startup, not a fresh native-build
claim. Maintainers handle hosted checks; nothing merged.


Exact-head hosted checks are being handled by maintainers. Existing
correctness/qualification holds remain; nothing merged.


### Maintainer current-main requalification

Exact head `d3cb3a02af03991a696461160ee0db322dd8bf48`, upstream main
`2d3ee51846435ef5b320eea4806af14e602b0d8c`.

Clean integration with upstream/main
2d3ee51846 after the external 0.43.1
release merge. Exact headroom/crates/tests comparison against prior
reviewed 490ff6def shows no changes. Re-reviewed generated release
metadata; 78 release/version/MCP tests pass on this composed tree, and
whitespace passes. Previous nine memory/Gemini regressions and fresh
gateway probes remain scoped to identical runtime inputs.

Both established blockers remain: lossless /v1/compress drops the unique
tool-description suffix, and Anthropic server-tool content with a Gemini
model classifies as OpenAI. Runtime probes were not relabeled as rerun
after this metadata-only merge. No contributor policy rewritten; no
fresh native-build claim. Maintainers handle exact-head checks; nothing
merged.


Exact-head hosted checks are being handled by maintainers. Existing
correctness/qualification holds remain; nothing merged.


### Maintainer current-main requalification

Exact head `e0c873630e9ffc7bc0d0d2fdd22c483b731e49a3`, upstream main
`910588e6b15ab54c4099d03703e5fa20c8abb757`.

Clean mechanical synchronization with upstream
main910588e6b15ab54c4099d03703e5fa20c8abb757, including the externally
merged runtime fixes, docs dependency update and tree-sitter lock
repair. No contributor gateway/provider policy rewritten. Current
author/Devin discussion considered. All90 gateway
contract/tokenizer-by-model tests pass on the preceding composed runtime
tree; the final dependency-only merge changes only pyproject/uv.lock,
leaving those gateway/tokenizer sources unchanged. No redundant rerun on
the final merge is claimed. Changed Python Ruff lint/format and
main-relative whitespace pass.

Both existing blockers freshly reproduce on the composed runtime paths:
lossless /v1/compress returns200 but drops UNIQUE_REQUIREMENT_AT_END
from the tool description and reports tool_desc_compaction; Anthropic
server-tool content with a Gemini model is classified as OpenAI.
Preserve the lossless original payload and classify the full request
protocol consistently, with endpoint regressions for these inputs. The
main fixes do not close either defect.

Tests use the existing native core for startup, not a fresh native
build; no live provider traffic was made. Maintainers handle hosted
checks; no inherited-main pipeline failure attributed and nothing
merged.


Exact-head hosted checks are being handled by maintainers. Existing
correctness/qualification holds remain; nothing merged.


### Maintainer current-main requalification

Exact head `507433606f698249e546e1418928caee99d0c901`, upstream main
`7877241d84c93b3ec487e07324245838ddae85cc`.

Clean mechanical integration with
upstream/main7877241d84c93b3ec487e07324245838ddae85cc. Gateway
production/contracts remain byte-identical to the preceding reviewed
head; re-reviewed the new CLI/Hermes integration.127 gateway
request/response contract and model-tokenizer tests pass; whitespace
passes. Both existing holds freshly reproduce on this exact tree:
lossless /v1/compress returns200 while dropping
UNIQUE_REQUIREMENT_AT_END and reporting tool_desc_compaction; Anthropic
server-tool content with a Gemini model is classified as OpenAI.
Preserve the lossless original payload and classify the full request
protocol consistently, with endpoint regressions. No contributor
gateway/provider policy rewritten. Existing native core used for
startup; no fresh native build or live provider claim. Maintainers
handle hosted checks; nothing merged.


Exact-head hosted checks are being handled by maintainers. Existing
correctness/qualification holds remain; nothing merged.


### Maintainer current-main requalification

Exact head `b0daece6b10f623a6e7b0dc3eb01c73e05fa3209`, upstream main
`c01cf07d943d816cfd9d97e6838ed4e38f1ff9a4`.

Final post-Dependabot requalification against upstream/main
c01cf07d94. All six Dependabot updates are
now merged. Relative to this branch's freshly tested prepared tree, the
final main sync changes only the three intended Cargo.lock records;
Python/source/test inputs are unchanged. Re-reviewed the integration and
confirmed complete native source/lock/toolchain objects match the tested
combined build and exact fresh native DLL used for this branch's local
tests.

Focused fresh-native qualification: 127 passed, 3 warnings in 104.78s
(0:01:44). Selected real dependency overlays and native DLL paths are
recorded in final4617-fresh-native-tests.log; the DLL provenance/input
hashes are in final-native-artifact-proof.json. No redundant rerun is
implied after this Cargo-only merge. Whitespace passes. Prior source
review and scoped real-behavior evidence remain applicable to unchanged
contributor inputs.

Both existing blockers freshly reproduce using the combined native DLL:
lossless /v1/compress returns200 but removes UNIQUE_REQUIREMENT_AT_END
and reports tool_desc_compaction; Anthropic server-tool content with a
Gemini model is classified as OpenAI. Preserve the original lossless
payload and classify the complete wire protocol, with endpoint
regressions.

Maintainers handle hosted checks; no external-provider claim,
contributor semantic rewrite or non-Dependabot merge.


Exact-head hosted checks are being handled by maintainers. Existing
correctness/qualification holds remain; nothing merged.


### Maintainer current-main requalification

Exact head `ec6abc0228a93c5eab1881938041dfee344b1e3a`, upstream main
`2973ca593d2fe65c3259941fdff8009175eff456`.

Requalified after human merges #4667/#4669/#4670 against upstream main
ce42754912. All 11 integration patches
exactly match the prior-main-to-current-main delta after ignoring diff
locations; no contributor gateway/provider policy changed. Fresh gateway
request/response contracts, model-tokenizer, gateway unit,
Kompress-disable and must-keep suites: 207 passed, 3 warnings. Six
changed Python files pass Ruff lint/format; offline lock validation and
whitespace pass. Existing matching-core DLL used; native
source/lock/toolchain unchanged by these main merges, with no fresh
native build or live-provider claim. Both existing blockers freshly
reproduce: lossless /v1/compress returns 200 while removing
UNIQUE_REQUIREMENT_AT_END and reporting tool_desc_compaction; Anthropic
server-tool content with a Gemini model is classified as OpenAI.
Preserve original lossless payload and recognize complete wire protocol
with endpoint regressions. Author and Devin discussions checked;
existing findings remain actionable. Maintainers handle hosted checks;
nothing merged.
Subsequent human merge #4671 advanced main to
2973ca593d before publication; guard
stopped the old candidate. Cleanly integrated the new workflow-only
delta and re-reviewed action pinning with 62 workflow/release tests
passing. Runtime/native sources are byte-identical to the immediately
preceding 207-test and real-behavior qualification; those results apply
to unchanged inputs. All prior-main hosted results are historical for
readiness.


Exact-head hosted checks are being handled by maintainers. Existing
correctness/qualification holds remain; nothing merged.


### Maintainer current-main requalification

Exact head `9f857218486fa451ecacc675863a64bc95f45bb0`, upstream main
`2b0315b2d4b0d54947050bbdad2de9e89df06378`.

Current-main requalification
against2b0315b2d4b0d54947050bbdad2de9e89df06378 after later human
merges. All37 integration patches exactly match2973ca59-to-current-main
delta after diff-location normalization; contributor gateway/provider
policy unchanged.393gateway request/response
contracts,model-tokenizer,gateway
unit,Kompress-disable,must-keep,doctor,search tests
pass;3warnings.27changedPythonfiles pass Ruff lint/format;offline
lock/whitespacepass. Existing pr3982 native DLL verified every tracked
native-input hash/artifactchecksum;no fresh build claimed. Author/Devin
discussion checked. Both correctness blockers freshly reproduce:lossless
/v1/compress returns200while droppingUNIQUE_REQUIREMENT_AT_END and
reportingtool_desc_compaction;Anthropicserver-toolcontent
withGeminimodel classifiedOpenAI. Preserve original lossless payload and
classify full request wire protocol consistently,with endpoint
regressions. No live provider qualification,contributor logic rewrite,or
inherited-main CI fault attributed. Maintainers handle hosted
checks;nothing merged.


Exact-head hosted checks are being handled by maintainers. Existing
correctness/qualification holds remain; nothing merged.


### Maintainer current-main requalification

Exact head `41b2145418db7f5980cd52e6235ab330fcd31ac0`, upstream main
`0ddaa56c21cdc01c4774391fdcc69e987ecc4e5c`.

Clean integration with upstream/main
0ddaa56c21. All 17 integration patches
exactly match the prior-reviewed-main to current-main delta after
diff-location normalization; contributor gateway/provider policy is
unchanged. Fresh gateway/tokenizer/search/doctor and incoming
Vertex/backend/CLI qualification: 455 passed, 11 skipped, 3 warnings.
Additional gateway request/response contracts and compress-endpoint
suite: 158 passed, 1 warning. Twelve changed Python files pass Ruff
lint/format; offline lock and whitespace checks pass.

Author discussion and outstanding Devin findings read. Both existing
correctness findings freshly reproduce on this exact tree: lossless
/v1/compress returns 200 but drops UNIQUE_REQUIREMENT_AT_END through
tool_desc_compaction; Anthropic server-tool content with a Gemini model
classifies as OpenAI. Existing requested corrections remain; no new
duplicate finding. Local app probes are not live provider proof. Native
DLL reused only after verifying the complete tracked input set, every
recorded input SHA256 and artifact checksum against
pr3982-c01-native-proof.json; no fresh build claimed. Maintainers handle
exact-head hosted checks. No PR merged.


Exact-head hosted checks are being handled by maintainers. Existing
correctness/qualification holds remain; nothing merged.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: JD Davis <mxjerrett@gmail.com>
2026-11-07 20:36:11 -06:00
Shubham SrivastavaandJerrettDavis ce42754912 fix(sdk): keep Vercel AI SDK tool-result output kinds through compression (#4670)
## Description

`headroomMiddleware` / `withHeadroom` convert the Vercel AI SDK prompt
to OpenAI chat shape for `/v1/compress` and back. A `tool-result` part's
`output` is one of six kinds (`@ai-sdk/provider`, LanguageModelV3 and V4
alike): `text`, `json`, `error-text`, `error-json`, `execution-denied`,
and `content` (a list of text, file and custom members). The converters
flattened every kind to one string and the reverse side guessed the kind
back by trying `JSON.parse`. So after a round trip:

- **`error-text` / `error-json` came back as `text` / `json`.** The AI
SDK produces the error kinds for every tool that throws
(`createToolModelOutput`, `errorMode` text/json). `@ai-sdk/anthropic`
sets `is_error: true` only for those two kinds and `@ai-sdk/openai`
wraps them as `{"error": ...}`; both were gone, so a failed tool read as
a successful one.
- **`execution-denied` came back as a `json` value holding the denial
object** (`{ type: "json", value: { type: "execution-denied", reason }
}`), because it has no `value` and the whole output was stringified. The
providers send its `reason` (or "Tool call execution denied."), and
`@ai-sdk/openai` reads `output.providerOptions.openai.approvalId` from
it.
- **A `content` output** — what a tool's `toModelOutput` returns for a
screenshot, a PDF or an MCP result — **was JSON-stringified, compressed
as text (base64 included) and restored as `json`**, so the provider sent
the base64 as text instead of the `image` / `document` blocks
(`@ai-sdk/anthropic`) or `input_image` / `input_file` items
(`@ai-sdk/openai`, Responses) it builds from the members.
- Output-level `providerOptions` were dropped, and the guess flipped
kinds on its own: `text` `"42"` became `json` `42`, `json` `"ok"` became
`text` `"ok"`.

Captured on `main` (`ecbaf86d`) by the new tests before the change:

```text
error-text "ECONNREFUSED 10.0.0.7:443"  -> { type: "text", value: "ECONNREFUSED 10.0.0.7:443" }
error-json { code: 7 }                  -> { type: "json", value: { code: 7 } }
execution-denied "Not from CI."         -> { type: "json", value: { type: "execution-denied", reason: "Not from CI." } }
content [text, file, custom]            -> { type: "json", value: [ ...the members as JSON... ] }
text "42"                               -> { type: "json", value: 42 }
json "ok"                               -> { type: "text", value: "ok" }
output providerOptions                  -> dropped
```

Same carrier pattern as #4564. The output's `value` still travels as the
OpenAI tool message `content`, so the proxy compresses it exactly as
before; the rest of the output object (`type`, `reason`,
`providerOptions`) rides on the message under `output` and rebuilds the
same kind on the way back. A `content` output goes out as the tool
message's content array: `/v1/compress` compresses the top-level `text`
blocks of a tool message as fragments of one tool result and passes
every other block through untouched (the same block walk that already
carries the `reasoning` parts), so text members shrink and file / custom
members come back byte for byte, with no per-version mapping (V3
`image-data` / `file-url` / `file-id` and V4 `file` / `custom` members
alike). A JSON body the proxy no longer returned as JSON would come back
as the kind's text twin (`json` → `text`, `error-json` → `error-text`);
in practice the proxy keeps JSON tool bodies parseable (see the proof).

Closes # (none — follow-up to #4564, which listed this under "Not in
this PR")

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [x] Documentation update
- [ ] Performance improvement
- [ ] Code refactoring (no functional changes)

## Changes Made

- **`sdk/typescript/src/utils/format.ts`**
- `vercelToOpenAI`: a `tool-result` whose `output` is an object sends
its `value` as `content` — `text` / `error-text` as the string, `json` /
`error-json` JSON-encoded, `execution-denied` as `""`, `content` as the
member array — and the rest of the output under `output`. A bare
`output` value or the pre-v6 `result` field behaves as before.
- `openAIToVercel`: with the carrier present, rebuilds an output of that
kind from the returned content (`execution-denied` without a value;
`content` from the array; `json` / `error-json` parsed, text twin if the
body no longer parses; any other kind as the string). Without it, the
old JSON.parse guess stays for OpenAI-native tool messages.
- `openAIToGemini`: reads the tool body as text whichever shape it has
(follows the type widening; Gemini input never produces the array).
- **`sdk/typescript/src/types.ts`** — `ToolMessage.content` is `string |
Array<TextContentPart | ToolResultMediaPart>`, `ToolMessage.output?` is
the carrier, `ToolResultMediaPart` is the verbatim member type.
- **Tests** — `test/utils/format.test.ts` (13): a round trip per kind
including output-level `providerOptions` and the V4 and V3 member
shapes; the wire shape for `error-text`, `content` and
`execution-denied`; the `error-json` → `error-text` twin when a body
stops parsing, and a guard for the `json` → `text` twin.
`test/adapters/vercel-ai.test.ts` (1): a typed `LanguageModelV4Prompt`
with a denied, a multi-part and an error result through
`transformParams`, asserting on the restored results (one OpenAI tool
message is one result, so a multi-result tool message comes back as one
message per result, as before this PR).
- **Docs** — `docs/content/docs/vercel-ai-sdk.mdx`: one sentence on what
the output kinds keep.

**Not in this PR.** Regrouping the split tool messages into the AI SDK's
one-message-per-step shape (pre-existing; the providers group
consecutive tool messages themselves). The Gemini-native converter's
`thought` parts and `thoughtSignature` (separate PR).

## Testing

- [x] Unit tests pass (`npm test` — vitest, incl. typecheck)
- [x] Type checking passes (`npm run typecheck` — tsc --noEmit)
- [x] Build passes (`npm run build` — tsup)
- [x] New tests added for new functionality
- [x] Manual testing performed (below)

### Test Output

```text
$ cd sdk/typescript && npm test
 Test Files  19 passed | 5 skipped (24)
      Tests  449 passed | 33 skipped (482)
Type Errors  no errors

$ npm run typecheck      # tsc --noEmit — clean
$ npm run build          # tsup — ESM and DTS built
```

## Real Behavior Proof

- Environment: published proxy `headroom-ai 0.43.1` (`uvx --from
'headroom-ai[proxy]==0.43.1' headroom proxy --host 127.0.0.1 --port
8799`), this branch built with `npm run build`, `ai` 7.0.137 /
`@ai-sdk/provider` 4.0.26 types, Node v22.16.0, macOS.
- Exact command / steps: a LanguageModelV4 prompt whose one tool message
carries five results — `execution-denied` with a reason and
`openai.approvalId`; a `content` result with a 56 KB text member, a 24
KB base64 `file` member and a `custom` member; an `error-text` and an
`error-json` with 56 KB bodies; a 56 KB `json` — passed through
`headroomMiddleware().transformParams` against the live proxy, with the
request the proxy received and its answer captured.
- Observed result: every kind came back as itself, the text bodies
shrank by about 44%, the file and custom members and the denial came
back byte-identical. Full output:

```text
== wire shape the proxy received (tool messages) ==
  call_1: content=string(0) output={"type":"execution-denied","reason":"Not from CI.","providerOptions":{"openai":{"approvalId":"apr_1"}}}
  call_2: content=[text, file, custom] output={"type":"content"}
  call_3: content=string(56064) output={"type":"error-text"}
  call_4: content=string(56043) output={"type":"error-json"}
  call_5: content=string(56002) output={"type":"json"} messageProviderOptions=yes
== proxy answer: tokens 81695 -> 57772, transforms=["router:protected:system_message","router:text_block:mixed","router:mixed:0.45","router:smart_crusher:0.57","router:smart_crusher:0.45"]
== what the AI SDK gets back ==
system/user/assistant byte-identical: true
  results back: call_1=execution-denied, call_2=content, call_3=error-text, call_4=error-json, call_5=json; toolNames kept: true
  call_1 execution-denied byte-identical (reason + output providerOptions): true
  call_2 content: members back [text, file, custom]; text member 56022 -> 31308 chars; file member byte-identical: true; custom member byte-identical: true
  call_3 error-text: type=error-text, 56064 -> 31350 chars, still starts with the error line: true
  call_4 error-json: type=error-json, 56043 -> 31731 chars, value is an object with keys error/last_rows, last_rows now a string
  call_5 json: type=json, 56002 -> 31690 chars, value is a JSON string (the proxy returned the compact table as a JSON string literal): "[400]{id:int,level:string,msg:string,path:string,service:str"...
  message-level providerOptions on the last tool message only: -,-,-,-,yes
```

The JSON kinds: the proxy keeps a JSON tool body parseable — the array
body came back as a JSON string holding the compact table and the object
body kept its shape with the nested array compacted — so both parse and
keep their kind; the text-twin fallback did not trigger. The same prompt
through the converters on `main` loses every item listed in the
Description (the new tests, run before the change).
- Not tested: an end-to-end multi-step `generateText` with a denied
approval or an image-returning tool against a provider (no provider keys
in this environment); the provider behaviour is taken from the installed
`@ai-sdk/anthropic` 4.0.78 and `@ai-sdk/openai` 4.0.91 sources and the
`ai` 7.0.137 core cited above.

## Runtime Rollout Safety

- Rollout-managed feature(s): none (TypeScript SDK only, no proxy
change)
- Minimum rollout channel: n/a
- Stable/default behavior changed: for SDK users, a Vercel tool result's
OpenAI-shaped message now carries an `output` key, and a `content`
result sends its member array instead of a JSON string; `/v1/compress`
already passes both through. `ToolMessage.content` widens to `string |
array` (additive).
- Kill switch / disable path: unchanged — `fallback: true` returns the
original prompt when the proxy is unreachable; unwrap the model to
disable compression.
- Unsafe override required: no
- Qualification impact: none
- Rollback path: revert this PR

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] I did **not** edit `CHANGELOG.md` — it is generated by
release-please from my Conventional Commit PR title (a CI guard enforces
this)

## Screenshots (if applicable)

N/A

## Additional Notes

- The `output` carrier never reaches an OpenAI endpoint through the
SDK's own paths, like the #4564 carriers: the universal `compress()`
returns messages in the input format, and the OpenAI adapter never sees
Vercel input.
- Enumerated before writing: `LanguageModelV3ToolResultOutput` and
`LanguageModelV4ToolResultOutput` in `@ai-sdk/provider` 4.0.26. `ai` 7's
`LanguageModelMiddleware` is V4-based while the SDK's peer range (`ai >=
6.0.0`) still includes V3 prompts; both member shapes are carried the
same way, which is why the members are not mapped.

<!-- devin-review-badge-begin -->

---

<a href="https://app.devin.ai/review/headroomlabs-ai/headroom/pull/4670"
target="_blank"><picture><source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img
src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4"
alt="Devin Review"></picture></a>
<!-- devin-review-badge-end -->

### Maintainer current-main requalification

Exact head `e26525d382a135f1fe2a7f0b8671bfbae1f2d64a`, upstream main
`c01cf07d943d816cfd9d97e6838ed4e38f1ff9a4`.

Reviewed the five-file SDK delta, adjacent conversion/middleware paths,
existing discussion and Devin no-issues result. The output carrier
retains denial/error/content kinds and output-level providerOptions;
JSON parse failures retain the error flag via error-text. Mixed content
members stay in the tool-message array. Current proxy route accepts
message dictionaries and returns pipeline messages; no new schema
stripping is introduced. Author runtime proof and its provider-inference
limitations were considered. Fresh verification on the clean mechanical
main merge: 449 tests passed, 33 skipped; typecheck and SDK build
passed; main-relative whitespace passed. No contributor logic changed.
Hosted CI must qualify the published merge head; no new provider-runtime
test or inference claim.


Exact-head hosted checks are being handled by maintainers. No new
finding in the reviewed scope; formal approval awaits exact-head hosted
qualification; nothing merged.

Co-authored-by: JerrettDavis <mxjerrett@gmail.com>
2026-11-06 08:52:20 -06:00
headroom-release[bot]andgithub-actions[bot] 2d3ee51846 chore: release 0.43.1 (#4661)
🤖 I have created a release *beep* *boop*
---


##
[0.43.1](https://github.com/headroomlabs-ai/headroom/compare/v0.43.0...v0.43.1)
(2026-11-05)


### Bug Fixes

* **ccr:** keep the in-memory order queue from evicting re-stored
entries
([#4545](https://github.com/headroomlabs-ai/headroom/issues/4545))
([c6f5bf9](https://github.com/headroomlabs-ai/headroom/commit/c6f5bf9549e9b357e9c2369d4e04bc437f5e180d))
* **memory:** read the relation key the memory_save schema advertises
([#4647](https://github.com/headroomlabs-ai/headroom/issues/4647))
([7592e68](https://github.com/headroomlabs-ai/headroom/commit/7592e681459f14a2041eb5f524a658cb6ad1dd92))
* **memory:** replace the HNSW vector when a memory is re-indexed
([#4649](https://github.com/headroomlabs-ai/headroom/issues/4649))
([ee638f9](https://github.com/headroomlabs-ai/headroom/commit/ee638f9532b3788bacd13ed8d26dd0faf0740baf))
* **openclaw:** accept 12-character hashes in headroom_retrieve
([#4640](https://github.com/headroomlabs-ai/headroom/issues/4640))
([8d3e9e5](https://github.com/headroomlabs-ai/headroom/commit/8d3e9e5ca7cd645eb73084b848edbea5fc796e1a))
* **ort:** avoid implicit runtime discovery from the workspace
([#4570](https://github.com/headroomlabs-ai/headroom/issues/4570))
([69fbd23](https://github.com/headroomlabs-ai/headroom/commit/69fbd2390d9c8b0fa1f59fb8314bc9b8f01b1a55))
* **proxy:** bound the model-keyed tokenizer, beacon and litellm caches
([#4497](https://github.com/headroomlabs-ai/headroom/issues/4497))
([e51b806](https://github.com/headroomlabs-ai/headroom/commit/e51b8065a4a2aa3a3c7f266c1cb8d8bde6b568d0))
* **proxy:** use HTTP/1.1 client for ChatGPT streaming and model
metadata
([#4006](https://github.com/headroomlabs-ai/headroom/issues/4006))
([e1becdf](https://github.com/headroomlabs-ai/headroom/commit/e1becdf7329bf4ca03874b9f512ac19837ca29c2))
* **release:** normalize damaged release PR envelopes before detection
([#4664](https://github.com/headroomlabs-ai/headroom/issues/4664))
([917edc6](https://github.com/headroomlabs-ai/headroom/commit/917edc62230c3c4a8a415e2053da68dab1f003dd))
* **router:** keep tagged blocks out of the lossy size-gate fallback
([#4543](https://github.com/headroomlabs-ai/headroom/issues/4543))
([f333edf](https://github.com/headroomlabs-ai/headroom/commit/f333edf20f0d7acf5ea67e040c1f58539a0edd4d))
* **router:** log the ONNX fallbacks at info instead of warning
([#4535](https://github.com/headroomlabs-ai/headroom/issues/4535))
([db30d82](https://github.com/headroomlabs-ai/headroom/commit/db30d82dfffdb3bbe4d60a0e0bfe88640e58470f))


### Dependencies

* bump the npm-minor-patch group across 3 directories with 6 updates
([#4662](https://github.com/headroomlabs-ai/headroom/issues/4662))
([8f104f8](https://github.com/headroomlabs-ai/headroom/commit/8f104f8e298c85ff0005f2fd4848eea95f32b7c7))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: headroom-release[bot] <352661243+headroom-release[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-05 13:33:39 -06:00
dependabot[bot]andJerrettDavis 8f104f8e29 deps: bump the npm-minor-patch group across 3 directories with 6 updates (#4662)
Bumps the npm-minor-patch group with 3 updates in the /plugins/openclaw
directory: headroom-ai,
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
and
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest).
Bumps the npm-minor-patch group with 5 updates in the /plugins/opencode
directory:

| Package | From | To |
| --- | --- | --- |
| headroom-ai | `0.41.0` | `0.42.0` |
|
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
| `26.6.5` | `26.6.6` |
|
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
| `5.0.5` | `5.1.0` |
| @opencode-ai/plugin | `1.19.4` | `1.19.5` |
| headroom-ai | `0.41.0` | `0.42.0` |
|
[@opencode/plugin](https://github.com/anomalyco/opencode/tree/HEAD/packages/plugin)
| `2.1.4` | `2.2.5` |
|
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
| `26.6.5` | `26.6.6` |
|
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
| `5.0.5` | `5.1.0` |
|
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
| `26.6.5` | `26.6.6` |
|
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
| `5.0.5` | `5.1.0` |

Bumps the npm-minor-patch group with 2 updates in the /sdk/typescript
directory:
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
and [openai](https://github.com/openai/openai-node).

Updates `headroom-ai` from 0.41.0 to 0.42.0

Updates `@types/node` from 26.6.5 to 26.6.6
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `vitest` from 5.0.5 to 5.1.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.1.0</h2>
<h3>   🚀 Features</h3>
<ul>
<li>Add <code>--last-failed</code> to run only failed tests  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11558">vitest-dev/vitest#11558</a>
<a href="https://github.com/vitest-dev/vitest/commit/82f634220"><!-- raw
HTML omitted -->(82f63)<!-- raw HTML omitted --></a></li>
<li>Support <code>Temporal.Instant</code> and
<code>Temporal.ZonedDateTime</code> in <code>vi.setSystemTime()</code>
 -  by <a
href="https://github.com/Prajwal2246"><code>@​Prajwal2246</code></a>,
<strong>Prajwal2246</strong>, <strong>Claude Opus 5.5 (1M
context)</strong>, <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11321">vitest-dev/vitest#11321</a>
<a href="https://github.com/vitest-dev/vitest/commit/f150f5108"><!-- raw
HTML omitted -->(f150f)<!-- raw HTML omitted --></a></li>
<li>Introduce <code>--since-last-run</code> flag  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11516">vitest-dev/vitest#11516</a>
<a href="https://github.com/vitest-dev/vitest/commit/08bd93b7e"><!-- raw
HTML omitted -->(08bd9)<!-- raw HTML omitted --></a></li>
<li>Expose per-retry/repeat attempt result  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Codex (GPT-6)</strong> and <strong>Claude Opus 5.5 (1M
context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11232">vitest-dev/vitest#11232</a>
<a href="https://github.com/vitest-dev/vitest/commit/21be412ed"><!-- raw
HTML omitted -->(21be4)<!-- raw HTML omitted --></a></li>
<li>Support fake timers for <code>node:timers</code> and
<code>node:timers/promise</code>  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>OpenCode</strong> and <strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10899">vitest-dev/vitest#10899</a>
<a href="https://github.com/vitest-dev/vitest/commit/fbe973cae"><!-- raw
HTML omitted -->(fbe97)<!-- raw HTML omitted --></a></li>
<li>Allow coverage providers to store data in fs module cache  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11747">vitest-dev/vitest#11747</a>
<a href="https://github.com/vitest-dev/vitest/commit/54a2bdb81"><!-- raw
HTML omitted -->(54a2b)<!-- raw HTML omitted --></a></li>
<li>Interactively review failed snapshots  -  by <a
href="https://github.com/macarie"><code>@​macarie</code></a> and <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11325">vitest-dev/vitest#11325</a>
<a href="https://github.com/vitest-dev/vitest/commit/54e5b8a8a"><!-- raw
HTML omitted -->(54e5b)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Mock modules through an import map  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11534">vitest-dev/vitest#11534</a>
<a href="https://github.com/vitest-dev/vitest/commit/707f8adf4"><!-- raw
HTML omitted -->(707f8)<!-- raw HTML omitted --></a></li>
<li>Drop experimental label from trace view  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11518">vitest-dev/vitest#11518</a>
<a href="https://github.com/vitest-dev/vitest/commit/44c3c2fcf"><!-- raw
HTML omitted -->(44c3c)<!-- raw HTML omitted --></a></li>
<li>Introduce experimental <code>pointer</code> API  -  by <a
href="https://github.com/macarie"><code>@​macarie</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10780">vitest-dev/vitest#10780</a>
<a href="https://github.com/vitest-dev/vitest/commit/5dc09f0ea"><!-- raw
HTML omitted -->(5dc09)<!-- raw HTML omitted --></a></li>
<li>Capture aria snapshot in trace view  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11492">vitest-dev/vitest#11492</a>
<a href="https://github.com/vitest-dev/vitest/commit/0cc39fb90"><!-- raw
HTML omitted -->(0cc39)<!-- raw HTML omitted --></a></li>
<li>Show trace steps timeline on terminal on test failure  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11594">vitest-dev/vitest#11594</a>
<a href="https://github.com/vitest-dev/vitest/commit/973dc84be"><!-- raw
HTML omitted -->(973dc)<!-- raw HTML omitted --></a></li>
<li>Add failure-only trace view mode  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11612">vitest-dev/vitest#11612</a>
<a href="https://github.com/vitest-dev/vitest/commit/d5d7d2f06"><!-- raw
HTML omitted -->(d5d7d)<!-- raw HTML omitted --></a></li>
<li>Enable failure-only trace view by default  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11766">vitest-dev/vitest#11766</a>
<a href="https://github.com/vitest-dev/vitest/commit/f37b6b707"><!-- raw
HTML omitted -->(f37b6)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>coverage</strong>:
<ul>
<li>V8 to support <code>ignoreNode</code> option  -  by <a
href="https://github.com/erickserra"><code>@​erickserra</code></a> and
<a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11688">vitest-dev/vitest#11688</a>
<a href="https://github.com/vitest-dev/vitest/commit/e02db0869"><!-- raw
HTML omitted -->(e02db)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>experimental</strong>:
<ul>
<li>Add trace timeline for node  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11753">vitest-dev/vitest#11753</a>
<a href="https://github.com/vitest-dev/vitest/commit/4e9855151"><!-- raw
HTML omitted -->(4e985)<!-- raw HTML omitted --></a></li>
<li>Add message option to vi.waitFor and vi.waitUntil  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11754">vitest-dev/vitest#11754</a>
<a href="https://github.com/vitest-dev/vitest/commit/fd145d8d6"><!-- raw
HTML omitted -->(fd145)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Rerun setup files after <code>--changed</code> filtering  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11621">vitest-dev/vitest#11621</a>
<a href="https://github.com/vitest-dev/vitest/commit/3a39cfc54"><!-- raw
HTML omitted -->(3a39c)<!-- raw HTML omitted --></a></li>
<li>Return the mock to concurrent imports  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11623">vitest-dev/vitest#11623</a>
<a href="https://github.com/vitest-dev/vitest/commit/1453ba690"><!-- raw
HTML omitted -->(1453b)<!-- raw HTML omitted --></a></li>
<li>Don&amp;<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/39">#39</a>;t
fail on console log pending at teardown  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11619">vitest-dev/vitest#11619</a>
<a href="https://github.com/vitest-dev/vitest/commit/a60b8e132"><!-- raw
HTML omitted -->(a60b8)<!-- raw HTML omitted --></a></li>
<li>Reference chai types in every d.ts chunk  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11618">vitest-dev/vitest#11618</a>
<a href="https://github.com/vitest-dev/vitest/commit/fb150158b"><!-- raw
HTML omitted -->(fb150)<!-- raw HTML omitted --></a></li>
<li>Detect mock factory cycles that form later  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11642">vitest-dev/vitest#11642</a>
<a href="https://github.com/vitest-dev/vitest/commit/e95541584"><!-- raw
HTML omitted -->(e9554)<!-- raw HTML omitted --></a></li>
<li>Skip fs module cache for typed import.meta.glob  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11666">vitest-dev/vitest#11666</a>
<a href="https://github.com/vitest-dev/vitest/commit/79501f3a1"><!-- raw
HTML omitted -->(79501)<!-- raw HTML omitted --></a></li>
<li>Run tests that import a deleted file  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11669">vitest-dev/vitest#11669</a>
<a href="https://github.com/vitest-dev/vitest/commit/80aa13dd6"><!-- raw
HTML omitted -->(80aa1)<!-- raw HTML omitted --></a></li>
<li>Keep syntax highlighting in code frames  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11705">vitest-dev/vitest#11705</a>
<a href="https://github.com/vitest-dev/vitest/commit/d39f51548"><!-- raw
HTML omitted -->(d39f5)<!-- raw HTML omitted --></a></li>
<li>Respect CLI filters when prewarming browsers  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> and
<strong>Benjamin Tang</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11706">vitest-dev/vitest#11706</a>
<a href="https://github.com/vitest-dev/vitest/commit/109474892"><!-- raw
HTML omitted -->(10947)<!-- raw HTML omitted --></a></li>
<li>Read cached source as utf-8  -  by <a
href="https://github.com/juan-fernandez"><code>@​juan-fernandez</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11682">vitest-dev/vitest#11682</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11709">vitest-dev/vitest#11709</a>
<a href="https://github.com/vitest-dev/vitest/commit/867a5e41c"><!-- raw
HTML omitted -->(867a5)<!-- raw HTML omitted --></a></li>
<li>Inherit <code>watch</code> from the root config in projects  -  by
<a href="https://github.com/nstepien"><code>@​nstepien</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11724">vitest-dev/vitest#11724</a>
<a href="https://github.com/vitest-dev/vitest/commit/77c122c6b"><!-- raw
HTML omitted -->(77c12)<!-- raw HTML omitted --></a></li>
<li>Prefix expect.poll message to all errors  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11756">vitest-dev/vitest#11756</a>
<a href="https://github.com/vitest-dev/vitest/commit/cab5877db"><!-- raw
HTML omitted -->(cab58)<!-- raw HTML omitted --></a></li>
<li>Support api.port 0  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11641">vitest-dev/vitest#11641</a>
<a href="https://github.com/vitest-dev/vitest/commit/3667cf8a3"><!-- raw
HTML omitted -->(3667c)<!-- raw HTML omitted --></a></li>
<li>Show attempts in test error logs of retried tests  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11696">vitest-dev/vitest#11696</a>
<a href="https://github.com/vitest-dev/vitest/commit/77a94328a"><!-- raw
HTML omitted -->(77a94)<!-- raw HTML omitted --></a></li>
<li>Preserve rootDir in project paths  -  by <a
href="https://github.com/btea"><code>@​btea</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11816">vitest-dev/vitest#11816</a>
<a href="https://github.com/vitest-dev/vitest/commit/bf96dad6a"><!-- raw
HTML omitted -->(bf96d)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Change default port to 23315  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11640">vitest-dev/vitest#11640</a>
<a href="https://github.com/vitest-dev/vitest/commit/a2ec4166d"><!-- raw
HTML omitted -->(a2ec4)<!-- raw HTML omitted --></a></li>
<li>Advance fake timers in actions and expect.element  -  by <a
href="https://github.com/julienw"><code>@​julienw</code></a>, <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11242">vitest-dev/vitest#11242</a>
<a href="https://github.com/vitest-dev/vitest/commit/6819008ce"><!-- raw
HTML omitted -->(68190)<!-- raw HTML omitted --></a></li>
<li>Drop trace view warning without html reporter  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11665">vitest-dev/vitest#11665</a>
<a href="https://github.com/vitest-dev/vitest/commit/e64075ef5"><!-- raw
HTML omitted -->(e6407)<!-- raw HTML omitted --></a></li>
<li>Detect shared chunks via the optimizer  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11661">vitest-dev/vitest#11661</a>
<a href="https://github.com/vitest-dev/vitest/commit/e2e9c64b0"><!-- raw
HTML omitted -->(e2e9c)<!-- raw HTML omitted --></a></li>
<li>Clear screenshot stability timeout  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11659">vitest-dev/vitest#11659</a>
<a href="https://github.com/vitest-dev/vitest/commit/fbe37c083"><!-- raw
HTML omitted -->(fbe37)<!-- raw HTML omitted --></a></li>
<li>Measure prepare duration with one clock  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11667">vitest-dev/vitest#11667</a>
<a href="https://github.com/vitest-dev/vitest/commit/a3ed42a14"><!-- raw
HTML omitted -->(a3ed4)<!-- raw HTML omitted --></a></li>
<li>Keep failure screenshot per attempt  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11694">vitest-dev/vitest#11694</a>
<a href="https://github.com/vitest-dev/vitest/commit/a5022655d"><!-- raw
HTML omitted -->(a5022)<!-- raw HTML omitted --></a></li>
<li>Print trace timeline of each attempt  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11695">vitest-dev/vitest#11695</a>
<a href="https://github.com/vitest-dev/vitest/commit/272296e5d"><!-- raw
HTML omitted -->(27229)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/7a3844954d8753fc0d5bed76a96ffd3a21716c22"><code>7a38449</code></a>
chore: release v5.1.0 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11838">#11838</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/a5ec316f8e8bf133154a5d5cf43fd5437319e455"><code>a5ec316</code></a>
fix(vm): keep assignable accessor globals writable in node environment
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11834">#11834</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/e46c6c1847462d62f9ff5ea4c351fe510a4edf2e"><code>e46c6c1</code></a>
refactor: share trace types and utils (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11825">#11825</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/9e23ce57cc112205126b7d37d68126860126b953"><code>9e23ce5</code></a>
refactor(snapshot): unify review update with <code>SnapshotState</code>
update (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11790">#11790</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/a0e33cc8b063b4bd8ccd95235532d072d83f75ad"><code>a0e33cc</code></a>
chore: eliminate lint error (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11822">#11822</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/fd145d8d60fd877a2eb9622b6771edc08ef26372"><code>fd145d8</code></a>
feat(experimental): add message option to vi.waitFor and vi.waitUntil
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11754">#11754</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/4e985515109b4fd9fcdc2e81d2b1c5f264799cf7"><code>4e98551</code></a>
feat(experimental): add trace timeline for node (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11753">#11753</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/bf96dad6ab66fe01a1a2c008754f999399309c85"><code>bf96dad</code></a>
fix: preserve rootDir in project paths (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11816">#11816</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/54e5b8a8a0d7f007ec69b604fec3446b0e88f2c6"><code>54e5b8a</code></a>
feat: interactively review failed snapshots (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11325">#11325</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/42770759fcca4ff82ab4df49e4ee241f4f680e99"><code>4277075</code></a>
fix(expect): keep soft .resolves/.rejects error location (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11792">#11792</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.1.0/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />

Updates `headroom-ai` from 0.41.0 to 0.42.0

Updates `@types/node` from 26.6.5 to 26.6.6
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `vitest` from 5.0.5 to 5.1.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.1.0</h2>
<h3>   🚀 Features</h3>
<ul>
<li>Add <code>--last-failed</code> to run only failed tests  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11558">vitest-dev/vitest#11558</a>
<a href="https://github.com/vitest-dev/vitest/commit/82f634220"><!-- raw
HTML omitted -->(82f63)<!-- raw HTML omitted --></a></li>
<li>Support <code>Temporal.Instant</code> and
<code>Temporal.ZonedDateTime</code> in <code>vi.setSystemTime()</code>
 -  by <a
href="https://github.com/Prajwal2246"><code>@​Prajwal2246</code></a>,
<strong>Prajwal2246</strong>, <strong>Claude Opus 5.5 (1M
context)</strong>, <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11321">vitest-dev/vitest#11321</a>
<a href="https://github.com/vitest-dev/vitest/commit/f150f5108"><!-- raw
HTML omitted -->(f150f)<!-- raw HTML omitted --></a></li>
<li>Introduce <code>--since-last-run</code> flag  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11516">vitest-dev/vitest#11516</a>
<a href="https://github.com/vitest-dev/vitest/commit/08bd93b7e"><!-- raw
HTML omitted -->(08bd9)<!-- raw HTML omitted --></a></li>
<li>Expose per-retry/repeat attempt result  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Codex (GPT-6)</strong> and <strong>Claude Opus 5.5 (1M
context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11232">vitest-dev/vitest#11232</a>
<a href="https://github.com/vitest-dev/vitest/commit/21be412ed"><!-- raw
HTML omitted -->(21be4)<!-- raw HTML omitted --></a></li>
<li>Support fake timers for <code>node:timers</code> and
<code>node:timers/promise</code>  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>OpenCode</strong> and <strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10899">vitest-dev/vitest#10899</a>
<a href="https://github.com/vitest-dev/vitest/commit/fbe973cae"><!-- raw
HTML omitted -->(fbe97)<!-- raw HTML omitted --></a></li>
<li>Allow coverage providers to store data in fs module cache  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11747">vitest-dev/vitest#11747</a>
<a href="https://github.com/vitest-dev/vitest/commit/54a2bdb81"><!-- raw
HTML omitted -->(54a2b)<!-- raw HTML omitted --></a></li>
<li>Interactively review failed snapshots  -  by <a
href="https://github.com/macarie"><code>@​macarie</code></a> and <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11325">vitest-dev/vitest#11325</a>
<a href="https://github.com/vitest-dev/vitest/commit/54e5b8a8a"><!-- raw
HTML omitted -->(54e5b)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Mock modules through an import map  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11534">vitest-dev/vitest#11534</a>
<a href="https://github.com/vitest-dev/vitest/commit/707f8adf4"><!-- raw
HTML omitted -->(707f8)<!-- raw HTML omitted --></a></li>
<li>Drop experimental label from trace view  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11518">vitest-dev/vitest#11518</a>
<a href="https://github.com/vitest-dev/vitest/commit/44c3c2fcf"><!-- raw
HTML omitted -->(44c3c)<!-- raw HTML omitted --></a></li>
<li>Introduce experimental <code>pointer</code> API  -  by <a
href="https://github.com/macarie"><code>@​macarie</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10780">vitest-dev/vitest#10780</a>
<a href="https://github.com/vitest-dev/vitest/commit/5dc09f0ea"><!-- raw
HTML omitted -->(5dc09)<!-- raw HTML omitted --></a></li>
<li>Capture aria snapshot in trace view  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11492">vitest-dev/vitest#11492</a>
<a href="https://github.com/vitest-dev/vitest/commit/0cc39fb90"><!-- raw
HTML omitted -->(0cc39)<!-- raw HTML omitted --></a></li>
<li>Show trace steps timeline on terminal on test failure  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11594">vitest-dev/vitest#11594</a>
<a href="https://github.com/vitest-dev/vitest/commit/973dc84be"><!-- raw
HTML omitted -->(973dc)<!-- raw HTML omitted --></a></li>
<li>Add failure-only trace view mode  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11612">vitest-dev/vitest#11612</a>
<a href="https://github.com/vitest-dev/vitest/commit/d5d7d2f06"><!-- raw
HTML omitted -->(d5d7d)<!-- raw HTML omitted --></a></li>
<li>Enable failure-only trace view by default  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11766">vitest-dev/vitest#11766</a>
<a href="https://github.com/vitest-dev/vitest/commit/f37b6b707"><!-- raw
HTML omitted -->(f37b6)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>coverage</strong>:
<ul>
<li>V8 to support <code>ignoreNode</code> option  -  by <a
href="https://github.com/erickserra"><code>@​erickserra</code></a> and
<a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11688">vitest-dev/vitest#11688</a>
<a href="https://github.com/vitest-dev/vitest/commit/e02db0869"><!-- raw
HTML omitted -->(e02db)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>experimental</strong>:
<ul>
<li>Add trace timeline for node  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11753">vitest-dev/vitest#11753</a>
<a href="https://github.com/vitest-dev/vitest/commit/4e9855151"><!-- raw
HTML omitted -->(4e985)<!-- raw HTML omitted --></a></li>
<li>Add message option to vi.waitFor and vi.waitUntil  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11754">vitest-dev/vitest#11754</a>
<a href="https://github.com/vitest-dev/vitest/commit/fd145d8d6"><!-- raw
HTML omitted -->(fd145)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Rerun setup files after <code>--changed</code> filtering  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11621">vitest-dev/vitest#11621</a>
<a href="https://github.com/vitest-dev/vitest/commit/3a39cfc54"><!-- raw
HTML omitted -->(3a39c)<!-- raw HTML omitted --></a></li>
<li>Return the mock to concurrent imports  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11623">vitest-dev/vitest#11623</a>
<a href="https://github.com/vitest-dev/vitest/commit/1453ba690"><!-- raw
HTML omitted -->(1453b)<!-- raw HTML omitted --></a></li>
<li>Don&amp;<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/39">#39</a>;t
fail on console log pending at teardown  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11619">vitest-dev/vitest#11619</a>
<a href="https://github.com/vitest-dev/vitest/commit/a60b8e132"><!-- raw
HTML omitted -->(a60b8)<!-- raw HTML omitted --></a></li>
<li>Reference chai types in every d.ts chunk  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11618">vitest-dev/vitest#11618</a>
<a href="https://github.com/vitest-dev/vitest/commit/fb150158b"><!-- raw
HTML omitted -->(fb150)<!-- raw HTML omitted --></a></li>
<li>Detect mock factory cycles that form later  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11642">vitest-dev/vitest#11642</a>
<a href="https://github.com/vitest-dev/vitest/commit/e95541584"><!-- raw
HTML omitted -->(e9554)<!-- raw HTML omitted --></a></li>
<li>Skip fs module cache for typed import.meta.glob  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11666">vitest-dev/vitest#11666</a>
<a href="https://github.com/vitest-dev/vitest/commit/79501f3a1"><!-- raw
HTML omitted -->(79501)<!-- raw HTML omitted --></a></li>
<li>Run tests that import a deleted file  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11669">vitest-dev/vitest#11669</a>
<a href="https://github.com/vitest-dev/vitest/commit/80aa13dd6"><!-- raw
HTML omitted -->(80aa1)<!-- raw HTML omitted --></a></li>
<li>Keep syntax highlighting in code frames  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11705">vitest-dev/vitest#11705</a>
<a href="https://github.com/vitest-dev/vitest/commit/d39f51548"><!-- raw
HTML omitted -->(d39f5)<!-- raw HTML omitted --></a></li>
<li>Respect CLI filters when prewarming browsers  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> and
<strong>Benjamin Tang</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11706">vitest-dev/vitest#11706</a>
<a href="https://github.com/vitest-dev/vitest/commit/109474892"><!-- raw
HTML omitted -->(10947)<!-- raw HTML omitted --></a></li>
<li>Read cached source as utf-8  -  by <a
href="https://github.com/juan-fernandez"><code>@​juan-fernandez</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11682">vitest-dev/vitest#11682</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11709">vitest-dev/vitest#11709</a>
<a href="https://github.com/vitest-dev/vitest/commit/867a5e41c"><!-- raw
HTML omitted -->(867a5)<!-- raw HTML omitted --></a></li>
<li>Inherit <code>watch</code> from the root config in projects  -  by
<a href="https://github.com/nstepien"><code>@​nstepien</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11724">vitest-dev/vitest#11724</a>
<a href="https://github.com/vitest-dev/vitest/commit/77c122c6b"><!-- raw
HTML omitted -->(77c12)<!-- raw HTML omitted --></a></li>
<li>Prefix expect.poll message to all errors  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11756">vitest-dev/vitest#11756</a>
<a href="https://github.com/vitest-dev/vitest/commit/cab5877db"><!-- raw
HTML omitted -->(cab58)<!-- raw HTML omitted --></a></li>
<li>Support api.port 0  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11641">vitest-dev/vitest#11641</a>
<a href="https://github.com/vitest-dev/vitest/commit/3667cf8a3"><!-- raw
HTML omitted -->(3667c)<!-- raw HTML omitted --></a></li>
<li>Show attempts in test error logs of retried tests  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11696">vitest-dev/vitest#11696</a>
<a href="https://github.com/vitest-dev/vitest/commit/77a94328a"><!-- raw
HTML omitted -->(77a94)<!-- raw HTML omitted --></a></li>
<li>Preserve rootDir in project paths  -  by <a
href="https://github.com/btea"><code>@​btea</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11816">vitest-dev/vitest#11816</a>
<a href="https://github.com/vitest-dev/vitest/commit/bf96dad6a"><!-- raw
HTML omitted -->(bf96d)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Change default port to 23315  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11640">vitest-dev/vitest#11640</a>
<a href="https://github.com/vitest-dev/vitest/commit/a2ec4166d"><!-- raw
HTML omitted -->(a2ec4)<!-- raw HTML omitted --></a></li>
<li>Advance fake timers in actions and expect.element  -  by <a
href="https://github.com/julienw"><code>@​julienw</code></a>, <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11242">vitest-dev/vitest#11242</a>
<a href="https://github.com/vitest-dev/vitest/commit/6819008ce"><!-- raw
HTML omitted -->(68190)<!-- raw HTML omitted --></a></li>
<li>Drop trace view warning without html reporter  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11665">vitest-dev/vitest#11665</a>
<a href="https://github.com/vitest-dev/vitest/commit/e64075ef5"><!-- raw
HTML omitted -->(e6407)<!-- raw HTML omitted --></a></li>
<li>Detect shared chunks via the optimizer  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11661">vitest-dev/vitest#11661</a>
<a href="https://github.com/vitest-dev/vitest/commit/e2e9c64b0"><!-- raw
HTML omitted -->(e2e9c)<!-- raw HTML omitted --></a></li>
<li>Clear screenshot stability timeout  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11659">vitest-dev/vitest#11659</a>
<a href="https://github.com/vitest-dev/vitest/commit/fbe37c083"><!-- raw
HTML omitted -->(fbe37)<!-- raw HTML omitted --></a></li>
<li>Measure prepare duration with one clock  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11667">vitest-dev/vitest#11667</a>
<a href="https://github.com/vitest-dev/vitest/commit/a3ed42a14"><!-- raw
HTML omitted -->(a3ed4)<!-- raw HTML omitted --></a></li>
<li>Keep failure screenshot per attempt  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11694">vitest-dev/vitest#11694</a>
<a href="https://github.com/vitest-dev/vitest/commit/a5022655d"><!-- raw
HTML omitted -->(a5022)<!-- raw HTML omitted --></a></li>
<li>Print trace timeline of each attempt  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11695">vitest-dev/vitest#11695</a>
<a href="https://github.com/vitest-dev/vitest/commit/272296e5d"><!-- raw
HTML omitted -->(27229)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/7a3844954d8753fc0d5bed76a96ffd3a21716c22"><code>7a38449</code></a>
chore: release v5.1.0 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11838">#11838</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/a5ec316f8e8bf133154a5d5cf43fd5437319e455"><code>a5ec316</code></a>
fix(vm): keep assignable accessor globals writable in node environment
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11834">#11834</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/e46c6c1847462d62f9ff5ea4c351fe510a4edf2e"><code>e46c6c1</code></a>
refactor: share trace types and utils (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11825">#11825</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/9e23ce57cc112205126b7d37d68126860126b953"><code>9e23ce5</code></a>
refactor(snapshot): unify review update with <code>SnapshotState</code>
update (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11790">#11790</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/a0e33cc8b063b4bd8ccd95235532d072d83f75ad"><code>a0e33cc</code></a>
chore: eliminate lint error (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11822">#11822</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/fd145d8d60fd877a2eb9622b6771edc08ef26372"><code>fd145d8</code></a>
feat(experimental): add message option to vi.waitFor and vi.waitUntil
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11754">#11754</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/4e985515109b4fd9fcdc2e81d2b1c5f264799cf7"><code>4e98551</code></a>
feat(experimental): add trace timeline for node (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11753">#11753</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/bf96dad6ab66fe01a1a2c008754f999399309c85"><code>bf96dad</code></a>
fix: preserve rootDir in project paths (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11816">#11816</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/54e5b8a8a0d7f007ec69b604fec3446b0e88f2c6"><code>54e5b8a</code></a>
feat: interactively review failed snapshots (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11325">#11325</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/42770759fcca4ff82ab4df49e4ee241f4f680e99"><code>4277075</code></a>
fix(expect): keep soft .resolves/.rejects error location (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11792">#11792</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.1.0/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />

Updates `@types/node` from 26.6.5 to 26.6.6
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `vitest` from 5.0.5 to 5.1.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.1.0</h2>
<h3>   🚀 Features</h3>
<ul>
<li>Add <code>--last-failed</code> to run only failed tests  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11558">vitest-dev/vitest#11558</a>
<a href="https://github.com/vitest-dev/vitest/commit/82f634220"><!-- raw
HTML omitted -->(82f63)<!-- raw HTML omitted --></a></li>
<li>Support <code>Temporal.Instant</code> and
<code>Temporal.ZonedDateTime</code> in <code>vi.setSystemTime()</code>
 -  by <a
href="https://github.com/Prajwal2246"><code>@​Prajwal2246</code></a>,
<strong>Prajwal2246</strong>, <strong>Claude Opus 5.5 (1M
context)</strong>, <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11321">vitest-dev/vitest#11321</a>
<a href="https://github.com/vitest-dev/vitest/commit/f150f5108"><!-- raw
HTML omitted -->(f150f)<!-- raw HTML omitted --></a></li>
<li>Introduce <code>--since-last-run</code> flag  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11516">vitest-dev/vitest#11516</a>
<a href="https://github.com/vitest-dev/vitest/commit/08bd93b7e"><!-- raw
HTML omitted -->(08bd9)<!-- raw HTML omitted --></a></li>
<li>Expose per-retry/repeat attempt result  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Codex (GPT-6)</strong> and <strong>Claude Opus 5.5 (1M
context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11232">vitest-dev/vitest#11232</a>
<a href="https://github.com/vitest-dev/vitest/commit/21be412ed"><!-- raw
HTML omitted -->(21be4)<!-- raw HTML omitted --></a></li>
<li>Support fake timers for <code>node:timers</code> and
<code>node:timers/promise</code>  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>OpenCode</strong> and <strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10899">vitest-dev/vitest#10899</a>
<a href="https://github.com/vitest-dev/vitest/commit/fbe973cae"><!-- raw
HTML omitted -->(fbe97)<!-- raw HTML omitted --></a></li>
<li>Allow coverage providers to store data in fs module cache  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11747">vitest-dev/vitest#11747</a>
<a href="https://github.com/vitest-dev/vitest/commit/54a2bdb81"><!-- raw
HTML omitted -->(54a2b)<!-- raw HTML omitted --></a></li>
<li>Interactively review failed snapshots  -  by <a
href="https://github.com/macarie"><code>@​macarie</code></a> and <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11325">vitest-dev/vitest#11325</a>
<a href="https://github.com/vitest-dev/vitest/commit/54e5b8a8a"><!-- raw
HTML omitted -->(54e5b)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Mock modules through an import map  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11534">vitest-dev/vitest#11534</a>
<a href="https://github.com/vitest-dev/vitest/commit/707f8adf4"><!-- raw
HTML omitted -->(707f8)<!-- raw HTML omitted --></a></li>
<li>Drop experimental label from trace view  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11518">vitest-dev/vitest#11518</a>
<a href="https://github.com/vitest-dev/vitest/commit/44c3c2fcf"><!-- raw
HTML omitted -->(44c3c)<!-- raw HTML omitted --></a></li>
<li>Introduce experimental <code>pointer</code> API  -  by <a
href="https://github.com/macarie"><code>@​macarie</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10780">vitest-dev/vitest#10780</a>
<a href="https://github.com/vitest-dev/vitest/commit/5dc09f0ea"><!-- raw
HTML omitted -->(5dc09)<!-- raw HTML omitted --></a></li>
<li>Capture aria snapshot in trace view  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11492">vitest-dev/vitest#11492</a>
<a href="https://github.com/vitest-dev/vitest/commit/0cc39fb90"><!-- raw
HTML omitted -->(0cc39)<!-- raw HTML omitted --></a></li>
<li>Show trace steps timeline on terminal on test failure  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11594">vitest-dev/vitest#11594</a>
<a href="https://github.com/vitest-dev/vitest/commit/973dc84be"><!-- raw
HTML omitted -->(973dc)<!-- raw HTML omitted --></a></li>
<li>Add failure-only trace view mode  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11612">vitest-dev/vitest#11612</a>
<a href="https://github.com/vitest-dev/vitest/commit/d5d7d2f06"><!-- raw
HTML omitted -->(d5d7d)<!-- raw HTML omitted --></a></li>
<li>Enable failure-only trace view by default  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11766">vitest-dev/vitest#11766</a>
<a href="https://github.com/vitest-dev/vitest/commit/f37b6b707"><!-- raw
HTML omitted -->(f37b6)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>coverage</strong>:
<ul>
<li>V8 to support <code>ignoreNode</code> option  -  by <a
href="https://github.com/erickserra"><code>@​erickserra</code></a> and
<a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11688">vitest-dev/vitest#11688</a>
<a href="https://github.com/vitest-dev/vitest/commit/e02db0869"><!-- raw
HTML omitted -->(e02db)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>experimental</strong>:
<ul>
<li>Add trace timeline for node  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11753">vitest-dev/vitest#11753</a>
<a href="https://github.com/vitest-dev/vitest/commit/4e9855151"><!-- raw
HTML omitted -->(4e985)<!-- raw HTML omitted --></a></li>
<li>Add message option to vi.waitFor and vi.waitUntil  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11754">vitest-dev/vitest#11754</a>
<a href="https://github.com/vitest-dev/vitest/commit/fd145d8d6"><!-- raw
HTML omitted -->(fd145)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Rerun setup files after <code>--changed</code> filtering  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11621">vitest-dev/vitest#11621</a>
<a href="https://github.com/vitest-dev/vitest/commit/3a39cfc54"><!-- raw
HTML omitted -->(3a39c)<!-- raw HTML omitted --></a></li>
<li>Return the mock to concurrent imports  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11623">vitest-dev/vitest#11623</a>
<a href="https://github.com/vitest-dev/vitest/commit/1453ba690"><!-- raw
HTML omitted -->(1453b)<!-- raw HTML omitted --></a></li>
<li>Don&amp;<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/39">#39</a>;t
fail on console log pending at teardown  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11619">vitest-dev/vitest#11619</a>
<a href="https://github.com/vitest-dev/vitest/commit/a60b8e132"><!-- raw
HTML omitted -->(a60b8)<!-- raw HTML omitted --></a></li>
<li>Reference chai types in every d.ts chunk  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11618">vitest-dev/vitest#11618</a>
<a href="https://github.com/vitest-dev/vitest/commit/fb150158b"><!-- raw
HTML omitted -->(fb150)<!-- raw HTML omitted --></a></li>
<li>Detect mock factory cycles that form later  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11642">vitest-dev/vitest#11642</a>
<a href="https://github.com/vitest-dev/vitest/commit/e95541584"><!-- raw
HTML omitted -->(e9554)<!-- raw HTML omitted --></a></li>
<li>Skip fs module cache for typed import.meta.glob  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11666">vitest-dev/vitest#11666</a>
<a href="https://github.com/vitest-dev/vitest/commit/79501f3a1"><!-- raw
HTML omitted -->(79501)<!-- raw HTML omitted --></a></li>
<li>Run tests that import a deleted file  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11669">vitest-dev/vitest#11669</a>
<a href="https://github.com/vitest-dev/vitest/commit/80aa13dd6"><!-- raw
HTML omitted -->(80aa1)<!-- raw HTML omitted --></a></li>
<li>Keep syntax highlighting in code frames  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11705">vitest-dev/vitest#11705</a>
<a href="https://github.com/vitest-dev/vitest/commit/d39f51548"><!-- raw
HTML omitted -->(d39f5)<!-- raw HTML omitted --></a></li>
<li>Respect CLI filters when prewarming browsers  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> and
<strong>Benjamin Tang</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11706">vitest-dev/vitest#11706</a>
<a href="https://github.com/vitest-dev/vitest/commit/109474892"><!-- raw
HTML omitted -->(10947)<!-- raw HTML omitted --></a></li>
<li>Read cached source as utf-8  -  by <a
href="https://github.com/juan-fernandez"><code>@​juan-fernandez</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11682">vitest-dev/vitest#11682</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11709">vitest-dev/vitest#11709</a>
<a href="https://github.com/vitest-dev/vitest/commit/867a5e41c"><!-- raw
HTML omitted -->(867a5)<!-- raw HTML omitted --></a></li>
<li>Inherit <code>watch</code> from the root config in projects  -  by
<a href="https://github.com/nstepien"><code>@​nstepien</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11724">vitest-dev/vitest#11724</a>
<a href="https://github.com/vitest-dev/vitest/commit/77c122c6b"><!-- raw
HTML omitted -->(77c12)<!-- raw HTML omitted --></a></li>
<li>Prefix expect.poll message to all errors  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11756">vitest-dev/vitest#11756</a>
<a href="https://github.com/vitest-dev/vitest/commit/cab5877db"><!-- raw
HTML omitted -->(cab58)<!-- raw HTML omitted --></a></li>
<li>Support api.port 0  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11641">vitest-dev/vitest#11641</a>
<a href="https://github.com/vitest-dev/vitest/commit/3667cf8a3"><!-- raw
HTML omitted -->(3667c)<!-- raw HTML omitted --></a></li>
<li>Show attempts in test error logs of retried tests  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11696">vitest-dev/vitest#11696</a>
<a href="https://github.com/vitest-dev/vitest/commit/77a94328a"><!-- raw
HTML omitted -->(77a94)<!-- raw HTML omitted --></a></li>
<li>Preserve rootDir in project paths  -  by <a
href="https://github.com/btea"><code>@​btea</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11816">vitest-dev/vitest#11816</a>
<a href="https://github.com/vitest-dev/vitest/commit/bf96dad6a"><!-- raw
HTML omitted -->(bf96d)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Change default port to 23315  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11640">vitest-dev/vitest#11640</a>
<a href="https://github.com/vitest-dev/vitest/commit/a2ec4166d"><!-- raw
HTML omitted -->(a2ec4)<!-- raw HTML omitted --></a></li>
<li>Advance fake timers in actions and expect.element  -  by <a
href="https://github.com/julienw"><code>@​julienw</code></a>, <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11242">vitest-dev/vitest#11242</a>
<a href="https://github.com/vitest-dev/vitest/commit/6819008ce"><!-- raw
HTML omitted -->(68190)<!-- raw HTML omitted --></a></li>
<li>Drop trace view warning without html reporter  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11665">vitest-dev/vitest#11665</a>
<a href="https://github.com/vitest-dev/vitest/commit/e64075ef5"><!-- raw
HTML omitted -->(e6407)<!-- raw HTML omitted --></a></li>
<li>Detect shared chunks via the optimizer  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11661">vitest-dev/vitest#11661</a>
<a href="https://github.com/vitest-dev/vitest/commit/e2e9c64b0"><!-- raw
HTML omitted -->(e2e9c)<!-- raw HTML omitted --></a></li>
<li>Clear screenshot stability timeout  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11659">vitest-dev/vitest#11659</a>
<a href="https://github.com/vitest-dev/vitest/commit/fbe37c083"><!-- raw
HTML omitted -->(fbe37)<!-- raw HTML omitted --></a></li>
<li>Measure prepare duration with one clock  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11667">vitest-dev/vitest#11667</a>
<a href="https://github.com/vitest-dev/vitest/commit/a3ed42a14"><!-- raw
HTML omitted -->(a3ed4)<!-- raw HTML omitted --></a></li>
<li>Keep failure screenshot per attempt  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11694">vitest-dev/vitest#11694</a>
<a href="https://github.com/vitest-dev/vitest/commit/a5022655d"><!-- raw
HTML omitted -->(a5022)<!-- raw HTML omitted --></a></li>
<li>Print trace timeline of each attempt  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11695">vitest-dev/vitest#11695</a>
<a href="https://github.com/vitest-dev/vitest/commit/272296e5d"><!-- raw
HTML omitted -->(27229)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/7a3844954d8753fc0d5bed76a96ffd3a21716c22"><code>7a38449</code></a>
chore: release v5.1.0 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11838">#11838</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/a5ec316f8e8bf133154a5d5cf43fd5437319e455"><code>a5ec316</code></a>
fix(vm): keep assignable accessor globals writable in node environment
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11834">#11834</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/e46c6c1847462d62f9ff5ea4c351fe510a4edf2e"><code>e46c6c1</code></a>
refactor: share trace types and utils (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11825">#11825</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/9e23ce57cc112205126b7d37d68126860126b953"><code>9e23ce5</code></a>
refactor(snapshot): unify review update with <code>SnapshotState</code>
update (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11790">#11790</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/a0e33cc8b063b4bd8ccd95235532d072d83f75ad"><code>a0e33cc</code></a>
chore: eliminate lint error (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11822">#11822</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/fd145d8d60fd877a2eb9622b6771edc08ef26372"><code>fd145d8</code></a>
feat(experimental): add message option to vi.waitFor and vi.waitUntil
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11754">#11754</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/4e985515109b4fd9fcdc2e81d2b1c5f264799cf7"><code>4e98551</code></a>
feat(experimental): add trace timeline for node (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11753">#11753</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/bf96dad6ab66fe01a1a2c008754f999399309c85"><code>bf96dad</code></a>
fix: preserve rootDir in project paths (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11816">#11816</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/54e5b8a8a0d7f007ec69b604fec3446b0e88f2c6"><code>54e5b8a</code></a>
feat: interactively review failed snapshots (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11325">#11325</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/42770759fcca4ff82ab4df49e4ee241f4f680e99"><code>4277075</code></a>
fix(expect): keep soft .resolves/.rejects error location (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11792">#11792</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.1.0/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />

Updates `headroom-ai` from 0.41.0 to 0.42.0

Updates `@types/node` from 26.6.5 to 26.6.6
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `vitest` from 5.0.5 to 5.1.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.1.0</h2>
<h3>   🚀 Features</h3>
<ul>
<li>Add <code>--last-failed</code> to run only failed tests  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11558">vitest-dev/vitest#11558</a>
<a href="https://github.com/vitest-dev/vitest/commit/82f634220"><!-- raw
HTML omitted -->(82f63)<!-- raw HTML omitted --></a></li>
<li>Support <code>Temporal.Instant</code> and
<code>Temporal.ZonedDateTime</code> in <code>vi.setSystemTime()</code>
 -  by <a
href="https://github.com/Prajwal2246"><code>@​Prajwal2246</code></a>,
<strong>Prajwal2246</strong>, <strong>Claude Opus 5.5 (1M
context)</strong>, <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11321">vitest-dev/vitest#11321</a>
<a href="https://github.com/vitest-dev/vitest/commit/f150f5108"><!-- raw
HTML omitted -->(f150f)<!-- raw HTML omitted --></a></li>
<li>Introduce <code>--since-last-run</code> flag  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11516">vitest-dev/vitest#11516</a>
<a href="https://github.com/vitest-dev/vitest/commit/08bd93b7e"><!-- raw
HTML omitted -->(08bd9)<!-- raw HTML omitted --></a></li>
<li>Expose per-retry/repeat attempt result  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Codex (GPT-6)</strong> and <strong>Claude Opus 5.5 (1M
context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11232">vitest-dev/vitest#11232</a>
<a href="https://github.com/vitest-dev/vitest/commit/21be412ed"><!-- raw
HTML omitted -->(21be4)<!-- raw HTML omitted --></a></li>
<li>Support fake timers for <code>node:timers</code> and
<code>node:timers/promise</code>  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>OpenCode</strong> and <strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10899">vitest-dev/vitest#10899</a>
<a href="https://github.com/vitest-dev/vitest/commit/fbe973cae"><!-- raw
HTML omitted -->(fbe97)<!-- raw HTML omitted --></a></li>
<li>Allow coverage providers to store data in fs module cache  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11747">vitest-dev/vitest#11747</a>
<a href="https://github.com/vitest-dev/vitest/commit/54a2bdb81"><!-- raw
HTML omitted -->(54a2b)<!-- raw HTML omitted --></a></li>
<li>Interactively review failed snapshots  -  by <a
href="https://github.com/macarie"><code>@​macarie</code></a> and <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11325">vitest-dev/vitest#11325</a>
<a href="https://github.com/vitest-dev/vitest/commit/54e5b8a8a"><!-- raw
HTML omitted -->(54e5b)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Mock modules through an import map  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11534">vitest-dev/vitest#11534</a>
<a href="https://github.com/vitest-dev/vitest/commit/707f8adf4"><!-- raw
HTML omitted -->(707f8)<!-- raw HTML omitted --></a></li>
<li>Drop experimental label from trace view  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11518">vitest-dev/vitest#11518</a>
<a href="https://github.com/vitest-dev/vitest/commit/44c3c2fcf"><!-- raw
HTML omitted -->(44c3c)<!-- raw HTML omitted --></a></li>
<li>Introduce experimental <code>pointer</code> API  -  by <a
href="https://github.com/macarie"><code>@​macarie</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10780">vitest-dev/vitest#10780</a>
<a href="https://github.com/vitest-dev/vitest/commit/5dc09f0ea"><!-- raw
HTML omitted -->(5dc09)<!-- raw HTML omitted --></a></li>
<li>Capture aria snapshot in trace view  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11492">vitest-dev/vitest#11492</a>
<a href="https://github.com/vitest-dev/vitest/commit/0cc39fb90"><!-- raw
HTML omitted -->(0cc39)<!-- raw HTML omitted --></a></li>
<li>Show trace steps timeline on terminal on test failure  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11594">vites...

_Description has been truncated_

### Maintainer current-main requalification

Exact head `23848c2414aef92de4e6ab05f736271bb6385fd9`, upstream main
`8d3e9e5ca7cd645eb73084b848edbea5fc796e1a`.

Clean mechanical sync with upstream
main8d3e9e5ca7cd645eb73084b848edbea5fc796e1a. Reviewed manifests, full
lock deltas, existing author/Devin discussion and install surface. No
contributor runtime code changed. The runtime headroom-ai dependency
advances0.41to0.42 in the plugins; maintained by this repository's team,
it keeps the existing compression/retrieval client and existing proxy
network surface. The OpenCode plugin/protocol dependency refreshes
remain on their declared major ranges and were tested against the
integration adapter. OpenAI7.47 is a dev/test dependency used by SDK
compatibility coverage. DefinitelyTyped Node definitions and Vitest5.1
are dev/test refreshes; associated rolldown platform-native bindings
already existed in the build graph. No new hasInstallScript declarations
appear in the lock delta. This is a tested compatible maintenance
update, not a claimed security fix or newly required feature.

Real behavior proof: Windows,Node22.22.0/npm10.9.4; npm ci
--ignore-scripts followed by test,typecheck,build in
sdk/typescript,plugins/openclaw,plugins/opencode.
SDK435pass33skip;OpenClaw153pass2skip;OpenCode66pass.
All3typechecks/builds pass. Installation fetched registry artifacts;
lifecycle scripts were disabled during install, then package builds
executed explicitly. Whitespace checks pass. This verifies local
package/adapter/build compatibility, not live OpenClaw/OpenCode host
sessions or provider calls. Exact-head hosted/security checks remain
maintainer-owned and must qualify before formal approval. Nothing
merged.


Exact-head hosted checks are being handled by maintainers. No new
finding in the reviewed scope; formal approval awaits exact-head hosted
qualification; nothing merged.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JerrettDavis <mxjerrett@gmail.com>
2026-11-05 12:24:21 -06:00
81fa4bdda6 chore: release 0.43.0 (#4643)
🤖 I have created a release *beep* *boop*
---


##
[0.43.0](https://github.com/headroomlabs-ai/headroom/compare/v0.42.0...v0.43.0)
(2026-11-05)


### ⚠ BREAKING CHANGES

* **mcp:** port MCP servers to SDK 2.x
([#4603](https://github.com/headroomlabs-ai/headroom/issues/4603))

### Features

* **ccr:** answer headroom_retrieve on streaming chat completions
([#4631](https://github.com/headroomlabs-ai/headroom/issues/4631))
([31dcaf4](https://github.com/headroomlabs-ai/headroom/commit/31dcaf41f7fafaebec0838a05ff328da456faef0))
* **mcp:** port MCP servers to SDK 2.x
([#4603](https://github.com/headroomlabs-ai/headroom/issues/4603))
([ee2252a](https://github.com/headroomlabs-ai/headroom/commit/ee2252a3155c87e948c8893b79af5824eb30e64c))
* **plugins:** headroom skill for Claude Code, Codex, Copilot and
skills.sh
([#4533](https://github.com/headroomlabs-ai/headroom/issues/4533))
([66e1467](https://github.com/headroomlabs-ai/headroom/commit/66e14676827366c2bf8d15e252f8766cb27b1a98))
* **savings:** show the proxy's model-routing savings in headroom
savings
([#4304](https://github.com/headroomlabs-ai/headroom/issues/4304))
([aaab338](https://github.com/headroomlabs-ai/headroom/commit/aaab338b64cb55929de904411db65db126e22ec0))


### Bug Fixes

* [BUG] A timeout in one image compression call resets the shared worker
pool and affects concurrent requests
([#4528](https://github.com/headroomlabs-ai/headroom/issues/4528))
([e9bcfe7](https://github.com/headroomlabs-ai/headroom/commit/e9bcfe73fadf69f0b27b7bc338ea7d2380931054))
* [BUG] DirectMem0Adapter.search_memories calls removed mem0 search API
([#4518](https://github.com/headroomlabs-ai/headroom/issues/4518))
([d9cee45](https://github.com/headroomlabs-ai/headroom/commit/d9cee452681c79d6f13919e9e651e88a774c0874))
* [BUG] Saved request metrics lose their cache optimization fields
([#4584](https://github.com/headroomlabs-ai/headroom/issues/4584))
([b4c9bdf](https://github.com/headroomlabs-ai/headroom/commit/b4c9bdf100d97fb038beba95de6d4ad6a8786090))
* [BUG] Volatile SQLite metrics stores lose their schema before the
first save
([#4633](https://github.com/headroomlabs-ai/headroom/issues/4633))
([d8ff0fe](https://github.com/headroomlabs-ai/headroom/commit/d8ff0fe9d2cb2477f6662a90f8fcd7e030a52666))
* Add info about apply to README.md
([#1592](https://github.com/headroomlabs-ai/headroom/issues/1592))
([4d34680](https://github.com/headroomlabs-ai/headroom/commit/4d34680c34ad379d693820869e77d4a2a6be2cdf))
* **backends/litellm:** keep cache_control on text blocks for Bedrock
prompt caching
([#4565](https://github.com/headroomlabs-ai/headroom/issues/4565))
([23a5bb1](https://github.com/headroomlabs-ai/headroom/commit/23a5bb1c81dc943398f9271f068a02487207f2e7))
* **backends:** forward the standard service_tier param (litellm +
anyllm)
([#2468](https://github.com/headroomlabs-ai/headroom/issues/2468))
([62cc38a](https://github.com/headroomlabs-ai/headroom/commit/62cc38a6b09dbcf723681a0ff56acd02131ad1f1))
* **cache:** build semantic entry before evicting so a failed embedding
keeps live entries
([#4581](https://github.com/headroomlabs-ai/headroom/issues/4581))
([0d4c450](https://github.com/headroomlabs-ai/headroom/commit/0d4c450d774691568b850f0d22ce17e087405281))
* **cache:** count a tool_result with no text as replayable in the
frozen prefix
([#4523](https://github.com/headroomlabs-ai/headroom/issues/4523))
([fba09f6](https://github.com/headroomlabs-ai/headroom/commit/fba09f674c8a9c91b39a563a70ab7727b44d1dbc))
* **cache:** fail closed on SQLite corruption instead of deleting the
store online
([#4361](https://github.com/headroomlabs-ai/headroom/issues/4361))
([9801833](https://github.com/headroomlabs-ai/headroom/commit/98018333f997783487af15efe4d9e631ecd85939))
* **cache:** invalidate configured registry instances on replacement
([#4363](https://github.com/headroomlabs-ai/headroom/issues/4363))
([1bcdca2](https://github.com/headroomlabs-ai/headroom/commit/1bcdca2d9dd279f49aa4276d523d93c2cfeb5a51))
* **cache:** namespace SemanticCacheLayer by provider, model and
metadata
([#4473](https://github.com/headroomlabs-ai/headroom/issues/4473))
([99cdaaf](https://github.com/headroomlabs-ai/headroom/commit/99cdaaf1c7de2bd81a8e64f198462fd1ceec3a17))
* **cache:** preserve OpenAI tool block metadata on cached replay
([#4334](https://github.com/headroomlabs-ai/headroom/issues/4334))
([f1035ac](https://github.com/headroomlabs-ai/headroom/commit/f1035ac73788a577fb5495a59eed0fc925d42782))
* **cache:** scope router results to request compression policy
([#4590](https://github.com/headroomlabs-ai/headroom/issues/4590))
([5d40fe7](https://github.com/headroomlabs-ai/headroom/commit/5d40fe76471b12ffe2a5c81309d9df617ca60b41))
* **ccr:** buffer a stream only for a marker new this turn
([#4607](https://github.com/headroomlabs-ai/headroom/issues/4607))
([946a70c](https://github.com/headroomlabs-ai/headroom/commit/946a70cfcbdc522f940b01f0aeb2b7a214f54cb5))
* **ccr:** keep proactive expansion out of the cached prefix
([#4300](https://github.com/headroomlabs-ai/headroom/issues/4300))
([b1f340e](https://github.com/headroomlabs-ai/headroom/commit/b1f340e0b35d4659d7ebc993d9dcc08057da93e9))
* **cli:** document that code-aware compression is enabled by default
([#4616](https://github.com/headroomlabs-ai/headroom/issues/4616))
([affd17c](https://github.com/headroomlabs-ai/headroom/commit/affd17c5fde174ad78287eef1696251e18363722))
* **client:** close upstream responses when wrapped streams are closed
([#4482](https://github.com/headroomlabs-ai/headroom/issues/4482))
([3d8dcf4](https://github.com/headroomlabs-ai/headroom/commit/3d8dcf476c148f633e66eb98c478095adfd9354b))
* **client:** honor configured cache optimizer enablement
([#4501](https://github.com/headroomlabs-ai/headroom/issues/4501))
([d4c0810](https://github.com/headroomlabs-ai/headroom/commit/d4c0810ea3ebdd7e49e5d29f4e0dfd2da1511b02))
* **client:** preserve Anthropic create stream flags
([#4500](https://github.com/headroomlabs-ai/headroom/issues/4500))
([3910caa](https://github.com/headroomlabs-ai/headroom/commit/3910caabd68311ae99d5659aa2d470eb2c15ea0e))
* **codex:** accept multi-line inline tables in Codex config.toml
([#4436](https://github.com/headroomlabs-ai/headroom/issues/4436))
([4a851ed](https://github.com/headroomlabs-ai/headroom/commit/4a851ed25469a51de00ccd00d14d0a6ab62a0866))
* **compaction:** reject negative dictionary indices and non-array
legends in expand_compacted
([#4470](https://github.com/headroomlabs-ai/headroom/issues/4470))
([3c1fcbd](https://github.com/headroomlabs-ai/headroom/commit/3c1fcbdfde31069795b03faf9f43fdd73e6941d9))
* **core:** case-insensitive Bearer scheme, clamp SQLite CCR TTLs,
redact the Redis URL in logs
([#4561](https://github.com/headroomlabs-ai/headroom/issues/4561))
([9e8cc64](https://github.com/headroomlabs-ai/headroom/commit/9e8cc64b48ebd4e2fb31332f261464d3bd0550b7))
* **dedup:** bound line-number digit run and never fold into a longer
pointer
([#4488](https://github.com/headroomlabs-ai/headroom/issues/4488))
([21e8867](https://github.com/headroomlabs-ai/headroom/commit/21e8867504df57c8f99aa30bd889e7eed01cd49e))
* **deps:** clear the glob and minimatch npm audit findings
([#4599](https://github.com/headroomlabs-ai/headroom/issues/4599))
([2e49e53](https://github.com/headroomlabs-ai/headroom/commit/2e49e5304b245fdaca0d2640bb1a59cb1ffa63fc))
* **diff:** keep combined-diff changes made against a later parent
([#4318](https://github.com/headroomlabs-ai/headroom/issues/4318))
([4b788fd](https://github.com/headroomlabs-ai/headroom/commit/4b788fd04d407cea0113c74f979f7cc3072a0132))
* **docker:** install the redis extra in every image
([#4514](https://github.com/headroomlabs-ai/headroom/issues/4514))
([8d5dde7](https://github.com/headroomlabs-ai/headroom/commit/8d5dde77656c9bb3daa354a14ffa6904cb8311aa))
* **docker:** pass RUNTIME_HOME=/root for root bake targets
([#4445](https://github.com/headroomlabs-ai/headroom/issues/4445))
([670767e](https://github.com/headroomlabs-ai/headroom/commit/670767eeb49f224a7a0bcbcc31b3584a35110b7d))
* **doctor:** detect root openai_base_url Codex routing and
agent-configured proxy ports
([#4490](https://github.com/headroomlabs-ai/headroom/issues/4490))
([222f2d1](https://github.com/headroomlabs-ai/headroom/commit/222f2d1df3c6296462bc38c871cd29c221af55bc))
* **evals:** reject changed numeric probe values
([#4502](https://github.com/headroomlabs-ai/headroom/issues/4502))
([1fe8549](https://github.com/headroomlabs-ai/headroom/commit/1fe8549f9ca77a2bc1280e4319980e0b9b31f5b9))
* **install:** stabilize Windows task lifecycle and eliminate console
window popup
([#4627](https://github.com/headroomlabs-ai/headroom/issues/4627))
([6b903cb](https://github.com/headroomlabs-ai/headroom/commit/6b903cbc81c13f417485f059aa6ef7aca6b0c4ec))
* **install:** tolerate absent Windows tasks in stop_supervisor
([#4465](https://github.com/headroomlabs-ai/headroom/issues/4465))
([#4468](https://github.com/headroomlabs-ai/headroom/issues/4468))
([50af2ff](https://github.com/headroomlabs-ai/headroom/commit/50af2ff7a81efb89d6752374a811be4fa2eec6f6))
* **kompress:** keep words past the tokenizer's truncation point
([#4328](https://github.com/headroomlabs-ai/headroom/issues/4328))
([bb13384](https://github.com/headroomlabs-ai/headroom/commit/bb13384829069e7e0559fccf77620891e0c90be0))
* **kompress:** read the pinned snapshot from Python's one HF cache in
the native proxy
([#4438](https://github.com/headroomlabs-ai/headroom/issues/4438))
([eef44f6](https://github.com/headroomlabs-ai/headroom/commit/eef44f60cc56118a0de98455012cc18ff3eaafbd))
* **langgraph:** replace the compressed ToolMessage in graph state
([#4620](https://github.com/headroomlabs-ai/headroom/issues/4620))
([70a8f09](https://github.com/headroomlabs-ai/headroom/commit/70a8f0979e585aa4e9b6f663fa7528340fb4efd6))
* **mcp:** confine headroom_read to the workspace (GHSA-8g49-pg6g-xgrf)
([#4525](https://github.com/headroomlabs-ai/headroom/issues/4525))
([8ab2e91](https://github.com/headroomlabs-ai/headroom/commit/8ab2e914687266f5b602f6d3a78f13026fd5ef88))
* **memory:** bound verb-pattern word runs to stop quadratic
backtracking in bridge import
([#4370](https://github.com/headroomlabs-ai/headroom/issues/4370))
([#4376](https://github.com/headroomlabs-ai/headroom/issues/4376))
([d232d09](https://github.com/headroomlabs-ai/headroom/commit/d232d097cf33d92f3a5112c14a306ba4a80330ee))
* **memory:** fail close unresolved project operations
([#2637](https://github.com/headroomlabs-ai/headroom/issues/2637))
([957ab18](https://github.com/headroomlabs-ai/headroom/commit/957ab1830d73a39ba7662ee9b01dd22c7abd403e))
* **memory:** keep learned evidence until persistence succeeds
([#4229](https://github.com/headroomlabs-ai/headroom/issues/4229))
([662a7f6](https://github.com/headroomlabs-ai/headroom/commit/662a7f6fd836ca87db5f2093c6487b500e8da2eb))
* **memory:** preserve parent scopes when clearing memories
([#4305](https://github.com/headroomlabs-ai/headroom/issues/4305))
([a8375a1](https://github.com/headroomlabs-ai/headroom/commit/a8375a1d26c5fc6dd619bfa7a50a15bbba18acf3))
* **mixed-content:** do not carve ISO-timestamped log rows as search
results
([#4463](https://github.com/headroomlabs-ai/headroom/issues/4463))
([abbade9](https://github.com/headroomlabs-ai/headroom/commit/abbade9b4c761a82f711d0687703d0409fbe6edc))
* **offline:** guard the learn and memory-eval LLM calls under
HEADROOM_OFFLINE
([#4344](https://github.com/headroomlabs-ai/headroom/issues/4344))
([dd361bb](https://github.com/headroomlabs-ai/headroom/commit/dd361bb7a3a1d3f2e3c7572bf544ea4ea895b0a5))
* **openclaw/release:** ship responsive npm integrations
([#1458](https://github.com/headroomlabs-ai/headroom/issues/1458))
([33f2044](https://github.com/headroomlabs-ai/headroom/commit/33f204406cc670588b9a873678b74b4af6ca3620))
* **openclaw:** record turn advancements as one marker file per key
([#4212](https://github.com/headroomlabs-ai/headroom/issues/4212))
([24acbe8](https://github.com/headroomlabs-ai/headroom/commit/24acbe8f32b6d49e3f61097398330e7529729d3e))
* **opencode:** only route POST requests to LLM endpoint paths
([#4464](https://github.com/headroomlabs-ai/headroom/issues/4464))
([336d462](https://github.com/headroomlabs-ai/headroom/commit/336d46225370c946ad8420ecb3f6bac81193e2f7))
* **opencode:** route Copilot Claude models through the proxy
([#4594](https://github.com/headroomlabs-ai/headroom/issues/4594))
([3d9a6f2](https://github.com/headroomlabs-ai/headroom/commit/3d9a6f2cf7fefa2cd0d347521e0050d604a50d22))
* **output-savings:** rewrite a pre-rule ledger once instead of warning
on every /stats poll
([#4196](https://github.com/headroomlabs-ai/headroom/issues/4196))
([96e81ac](https://github.com/headroomlabs-ai/headroom/commit/96e81ac6703dcfcf4535f989319d677775e2384d))
* **packaging:** rename the sandbox extra to lean and correct
SECURITY.md claims
([#3727](https://github.com/headroomlabs-ai/headroom/issues/3727))
([09b7e8c](https://github.com/headroomlabs-ai/headroom/commit/09b7e8c1e41779b4c22f1a4ec941b59a61e621f1))
* **packaging:** use direct CLI module entry point
([#2665](https://github.com/headroomlabs-ai/headroom/issues/2665))
([2892214](https://github.com/headroomlabs-ai/headroom/commit/28922148816b2b6ebf192abfcd6e65db8bb71511))
* **pipeline:** store the pipeline input in CCR behind offload markers
([#4576](https://github.com/headroomlabs-ai/headroom/issues/4576))
([4d7765c](https://github.com/headroomlabs-ai/headroom/commit/4d7765c84b06d1a8630faa32a897a39a40261cd1))
* **pricing:** add Claude Haiku 5.5 rates, 1M context and its 100K
long-prompt card
([#4037](https://github.com/headroomlabs-ai/headroom/issues/4037))
([703755e](https://github.com/headroomlabs-ai/headroom/commit/703755e873d3af74b89d25792c7c9869322b0467))
* **privacy:** turn off Mem0's PostHog telemetry by default
([#4619](https://github.com/headroomlabs-ai/headroom/issues/4619))
([fe69f38](https://github.com/headroomlabs-ai/headroom/commit/fe69f381168035ea6527bb7b908d11eeeb01838f))
* **providers:** isolate resolved Anthropic context limits
([#4593](https://github.com/headroomlabs-ai/headroom/issues/4593))
([51258ef](https://github.com/headroomlabs-ai/headroom/commit/51258ef14a987b2c3137027e0c90f586eb290462))
* **proxy/memory:** harden _extract_tool_calls against malformed choices
and blocks
([#2483](https://github.com/headroomlabs-ai/headroom/issues/2483))
([effa5a5](https://github.com/headroomlabs-ai/headroom/commit/effa5a5886be7e3c5bc553b86da5b506046d461f))
* **proxy:** allow loopback-published container hosts to access
/debug/memory
([#4259](https://github.com/headroomlabs-ai/headroom/issues/4259))
([e546e71](https://github.com/headroomlabs-ai/headroom/commit/e546e71aeb32c355584d37abb61e8d587efce0c3))
* **proxy:** answer /api/hello probes behind the token gate, log
rejection context
([#4150](https://github.com/headroomlabs-ai/headroom/issues/4150))
([673831a](https://github.com/headroomlabs-ai/headroom/commit/673831a456ef0f551de8dc3b2cbb0deae3861c65))
* **proxy:** cap cache_control breakpoints on OpenAI chat path
([#4471](https://github.com/headroomlabs-ai/headroom/issues/4471))
([#4491](https://github.com/headroomlabs-ai/headroom/issues/4491))
([55602fc](https://github.com/headroomlabs-ai/headroom/commit/55602fc1e207e7101917e45bf6dba30ce544558c))
* **proxy:** do not book Gemini countTokens as a request outcome
([#4412](https://github.com/headroomlabs-ai/headroom/issues/4412))
([4d2dd62](https://github.com/headroomlabs-ai/headroom/commit/4d2dd62b7c61724497b4bde33ef8685717f6a682))
* **proxy:** don't fail startup when libc_ver() can't read the
interpreter
([#4519](https://github.com/headroomlabs-ai/headroom/issues/4519))
([28172a9](https://github.com/headroomlabs-ai/headroom/commit/28172a921f4e3945aa43061a9e5cdd0ffd066c0e))
* **proxy:** forward Copilot accounting headers on streaming path
([#4431](https://github.com/headroomlabs-ai/headroom/issues/4431))
([66023a0](https://github.com/headroomlabs-ai/headroom/commit/66023a0187b3260747ece4e99e6932098805442a))
* **proxy:** handle ClientDisconnect in anthropic_messages
([#3532](https://github.com/headroomlabs-ai/headroom/issues/3532))
([251d149](https://github.com/headroomlabs-ai/headroom/commit/251d149a13ae482c1a0843d899b0321e175ac66d))
* **proxy:** honor x-headroom-base-url on provider passthrough routes
([#4596](https://github.com/headroomlabs-ai/headroom/issues/4596))
([5c8772b](https://github.com/headroomlabs-ai/headroom/commit/5c8772b7210caeb291a202a58d4b5e88d51ff35b))
* **proxy:** install SOCKS support for websocket proxies
([#3357](https://github.com/headroomlabs-ai/headroom/issues/3357))
([79181ca](https://github.com/headroomlabs-ai/headroom/commit/79181ca0fe35798b25104ff93b2c3a6c38baa72c))
* **proxy:** keep Gemini memory context on entries with non-text parts
([#4506](https://github.com/headroomlabs-ai/headroom/issues/4506))
([35a2b76](https://github.com/headroomlabs-ai/headroom/commit/35a2b763f09bb147888aeeec69f72d1ed3ae872b))
* **proxy:** keep health probes and the Codex attestation out of the
proxy log
([#4611](https://github.com/headroomlabs-ai/headroom/issues/4611))
([78736a1](https://github.com/headroomlabs-ai/headroom/commit/78736a16bc46ee0bd86b7aae8ef04f7f9cfa9d6d))
* **proxy:** keep read maturation out of the provider-confirmed prefix
([#4522](https://github.com/headroomlabs-ai/headroom/issues/4522))
([526e06b](https://github.com/headroomlabs-ai/headroom/commit/526e06b7e0120820e5b1be44b4ded70698bb86c8))
* **proxy:** keep tool deferral on Copilot
Business/Enterprise/Individual hosts
([#4608](https://github.com/headroomlabs-ai/headroom/issues/4608))
([be456d4](https://github.com/headroomlabs-ai/headroom/commit/be456d4e3f46c7f4dae725c2dd150324000c724f))
* **proxy:** log unknown model ids as one bounded token; skip
unparseable PERF lines
([#4374](https://github.com/headroomlabs-ai/headroom/issues/4374))
([c014bd6](https://github.com/headroomlabs-ai/headroom/commit/c014bd6311742e35c86ef64adfbec88ab264ef28))
* **proxy:** preserve response cache keys across in-place hooks
([#4457](https://github.com/headroomlabs-ai/headroom/issues/4457))
([03590cd](https://github.com/headroomlabs-ai/headroom/commit/03590cd61e17ad1ef313e38a35932f729ff0c871))
* **proxy:** recognise every local spelling of the proxy in the
cc-switch loop guard
([#4405](https://github.com/headroomlabs-ai/headroom/issues/4405))
([d9958bf](https://github.com/headroomlabs-ai/headroom/commit/d9958bfdff047ff2a7ef26f9e29fc7263f790346))
* **proxy:** reconcile Chat content-block cache markers after prefix
replay
([#4333](https://github.com/headroomlabs-ai/headroom/issues/4333))
([35ca9b8](https://github.com/headroomlabs-ai/headroom/commit/35ca9b835616f7923eab23e99e9561a8da452f9f))
* **proxy:** route /v1/models to the x-headroom-base-url upstream
([#4308](https://github.com/headroomlabs-ai/headroom/issues/4308))
([6ef52c2](https://github.com/headroomlabs-ai/headroom/commit/6ef52c2047688e41c7903a0331149a915f20d6b3))
* **proxy:** skip memory-context search in cache mode on OpenAI routes
([#4632](https://github.com/headroomlabs-ai/headroom/issues/4632))
([365f6fe](https://github.com/headroomlabs-ai/headroom/commit/365f6fe5233c4e102584ee4c3e7a140aeccb6a75))
* **proxy:** skip memory-context search on OpenAI paths in cache mode
([#4634](https://github.com/headroomlabs-ai/headroom/issues/4634))
([3654037](https://github.com/headroomlabs-ai/headroom/commit/36540379e0dee0c071e3a3ff00bea9b16eb3902a))
* **proxy:** skip the memory-context search in cache mode
([#4606](https://github.com/headroomlabs-ai/headroom/issues/4606))
([053925b](https://github.com/headroomlabs-ai/headroom/commit/053925b03c6cae028731634f0ad3557518f931d5))
* **proxy:** strip only one leading space from SSE field values
([#4306](https://github.com/headroomlabs-ai/headroom/issues/4306))
([9226eaf](https://github.com/headroomlabs-ai/headroom/commit/9226eaf3852f6d7462ebb95e6d09af3b33eb53c3))
* **proxy:** strip upstream transport framing headers from Gemini
response replays
([#4605](https://github.com/headroomlabs-ai/headroom/issues/4605))
([dfcac78](https://github.com/headroomlabs-ai/headroom/commit/dfcac78119b7038b2e20ad38cead2f4e7fe60c43))
* **read-lifecycle:** keep Reads fresh after a failed Edit or Write
([#4461](https://github.com/headroomlabs-ai/headroom/issues/4461))
([4c3799f](https://github.com/headroomlabs-ai/headroom/commit/4c3799fd81567cd516cdc5c1463f23cea99d6594))
* **relevance:** cap embedding batch size so ORT's arena stays small
([#4507](https://github.com/headroomlabs-ai/headroom/issues/4507))
([a2d4fe7](https://github.com/headroomlabs-ai/headroom/commit/a2d4fe72381e186651466ee94e92ce9d8d1396cc))
* **relevance:** hand the embedding arena back after each run on macOS
([#4567](https://github.com/headroomlabs-ai/headroom/issues/4567))
([2363f83](https://github.com/headroomlabs-ai/headroom/commit/2363f833092052227a9b98a9e21a0b1a69647eab))
* **relevance:** load the Rust default embedder from Python's pinned
snapshot
([#4190](https://github.com/headroomlabs-ai/headroom/issues/4190))
([9bb4b13](https://github.com/headroomlabs-ai/headroom/commit/9bb4b130ff87a2914a8f74dbcc6b49b49c3c87a8))
* **router:** keep small shell results verbatim
([#3590](https://github.com/headroomlabs-ai/headroom/issues/3590))
([#4426](https://github.com/headroomlabs-ai/headroom/issues/4426))
([4ee6164](https://github.com/headroomlabs-ai/headroom/commit/4ee616453fcebed5ab7ce847e1da1016c827a4ed))
* **router:** preserve read protection for quiet sed options
([#4521](https://github.com/headroomlabs-ai/headroom/issues/4521))
([312ffec](https://github.com/headroomlabs-ai/headroom/commit/312ffec8ead5c8c93b8f4c794ca7f588a7b84bd2))
* **router:** validate lossless provider output on the excluded-tool
path ([#4486](https://github.com/headroomlabs-ai/headroom/issues/4486))
([9f068a6](https://github.com/headroomlabs-ai/headroom/commit/9f068a6c135730c1bd4f1d800083f9318a3067a4))
* **scripts:** resolve hooks dir via git so install-git-hooks works in
linked worktrees
([#4176](https://github.com/headroomlabs-ai/headroom/issues/4176))
([0f4275f](https://github.com/headroomlabs-ai/headroom/commit/0f4275f8b331f3db14c41d958c85180a3c70a318))
* **sdk:** carry Vercel AI SDK reasoning parts and provider options
through compression
([#4564](https://github.com/headroomlabs-ai/headroom/issues/4564))
([a26faae](https://github.com/headroomlabs-ai/headroom/commit/a26faaeee34ecfde57608aea4a1ec7ea2b33272f))
* **sdk:** send Anthropic messages to /v1/compress natively so thinking
blocks survive
([#4489](https://github.com/headroomlabs-ai/headroom/issues/4489))
([cd5e2b9](https://github.com/headroomlabs-ai/headroom/commit/cd5e2b9e73eb8bd783ab872bdda71263b941e2d3))
* **security:** lstat before narrowing sqlite files
([#4527](https://github.com/headroomlabs-ai/headroom/issues/4527))
([2cf64ef](https://github.com/headroomlabs-ai/headroom/commit/2cf64ef0cc918c7cdb3de98d56f48fdc9c4c2b4b))
* **smart-crusher:** preserve unchanged JSON bytes
([#4044](https://github.com/headroomlabs-ai/headroom/issues/4044))
([93279f3](https://github.com/headroomlabs-ai/headroom/commit/93279f3208b1afffdbba87c2fdecbeea246d5234))
* **tabular:** keep empty records and separator-like Markdown body rows
([#4582](https://github.com/headroomlabs-ai/headroom/issues/4582))
([5cebb90](https://github.com/headroomlabs-ai/headroom/commit/5cebb90db1f179b00eafdf79568efbc98c8ef366))
* **tabular:** keep interior blank CSV rows instead of dropping them
([#4563](https://github.com/headroomlabs-ai/headroom/issues/4563))
([8c360ca](https://github.com/headroomlabs-ai/headroom/commit/8c360ca69fd3fc9cd6bc1e4b02109c1e5595385c))
* **thinking:** isolate compaction memo by compressor instance
([#4569](https://github.com/headroomlabs-ai/headroom/issues/4569))
([5dcb1e4](https://github.com/headroomlabs-ai/headroom/commit/5dcb1e4adec4f6e82d943488d8aecb8967753e4e))
* **thinking:** leave a thinking block with a null or non-string value
unchanged
([#4562](https://github.com/headroomlabs-ai/headroom/issues/4562))
([cc1eb54](https://github.com/headroomlabs-ai/headroom/commit/cc1eb5402aade58204b96b6b4b4d280cdd5456d2))
* **toin:** preserve stores that exceed the byte limit
([#4589](https://github.com/headroomlabs-ai/headroom/issues/4589))
([f9cae66](https://github.com/headroomlabs-ai/headroom/commit/f9cae66b6b19d6e6acfa4bf6da031642c256404a))
* **toin:** retain pending changes after filesystem save failures
([#4568](https://github.com/headroomlabs-ai/headroom/issues/4568))
([8b15a15](https://github.com/headroomlabs-ai/headroom/commit/8b15a15799898d8c0a396ca0d39f951be4e0cfcf))
* **toin:** skip a malformed pattern instead of aborting the store load
([#4484](https://github.com/headroomlabs-ai/headroom/issues/4484))
([8b628d9](https://github.com/headroomlabs-ai/headroom/commit/8b628d968574053b26849b21e5cea2e2593691c5))
* **tokenizers:** coerce structured text values in message token
counters
([#4472](https://github.com/headroomlabs-ai/headroom/issues/4472))
([6cc27a4](https://github.com/headroomlabs-ai/headroom/commit/6cc27a453d9cf69c76dc8134eb6739891471716e))
* **tokenizers:** don't cache token-count inputs larger than max_chars
([#4469](https://github.com/headroomlabs-ai/headroom/issues/4469))
([aebb729](https://github.com/headroomlabs-ai/headroom/commit/aebb729ef3f03bee8852d067c365f075957638f9))
* **tokenizers:** price Anthropic document blocks by page count, not as
([fc1ba89](https://github.com/headroomlabs-ai/headroom/commit/fc1ba891bff2d1e0cb53c4ffd4037f5066988c8e))
* **tokenizers:** price Anthropic document blocks by page count, not as
base64 text
([#4441](https://github.com/headroomlabs-ai/headroom/issues/4441))
([fc1ba89](https://github.com/headroomlabs-ai/headroom/commit/fc1ba891bff2d1e0cb53c4ffd4037f5066988c8e))
* **tokenizers:** resolve tiktoken encoding for gateway-prefixed model
ids ([#4637](https://github.com/headroomlabs-ai/headroom/issues/4637))
([e9331b6](https://github.com/headroomlabs-ai/headroom/commit/e9331b6b963b5b6554f45943abed2366aaa25ea6))
* **transforms:** enforce role, mutable, and cache zone guards in batch
compression
([#4480](https://github.com/headroomlabs-ai/headroom/issues/4480))
([#4494](https://github.com/headroomlabs-ai/headroom/issues/4494))
([40cd7e7](https://github.com/headroomlabs-ai/headroom/commit/40cd7e7503c66a903ac88e6a090aa0bdac7b315d))
* **transforms:** honour Subscription toin_read_only when the router
calls SmartCrusher
([#4493](https://github.com/headroomlabs-ai/headroom/issues/4493))
([7c11d46](https://github.com/headroomlabs-ai/headroom/commit/7c11d462e6d8265a2cfdb8a1cf62026fb4d1f401))
* **transforms:** preserve YAML block scalar data during comment elision
([#4498](https://github.com/headroomlabs-ai/headroom/issues/4498))
([534cec0](https://github.com/headroomlabs-ai/headroom/commit/534cec0e14db48e787ada13535e0763fc7c52e8e))
* **transforms:** recognise code fences whose info string is not a bare
word ([#4291](https://github.com/headroomlabs-ai/headroom/issues/4291))
([a8df6f9](https://github.com/headroomlabs-ai/headroom/commit/a8df6f919f1c4730971fc2481fd18853ddcfe6b9))
* **transforms:** stop an embedded markdown table from dropping the rest
of a tool result
([#4216](https://github.com/headroomlabs-ai/headroom/issues/4216))
([b66c9c7](https://github.com/headroomlabs-ai/headroom/commit/b66c9c7db6fb7314c366fd2c28866d0ab688f211))
* **transforms:** tolerate malformed assistant tool calls in
ContentRouter.apply
([#4459](https://github.com/headroomlabs-ai/headroom/issues/4459))
([cddd2fd](https://github.com/headroomlabs-ai/headroom/commit/cddd2fd60ed711d7fc1df75b1d5e1cac947ae6c8))
* **update-check:** skip releases with no files and do not fall back to
an uninstallable version
([#4560](https://github.com/headroomlabs-ai/headroom/issues/4560))
([c1dae5a](https://github.com/headroomlabs-ai/headroom/commit/c1dae5adae2b93871314143bba4cb03b7b971e05))
* use all user text blocks for relevance scoring
([#4628](https://github.com/headroomlabs-ai/headroom/issues/4628))
([12dca26](https://github.com/headroomlabs-ai/headroom/commit/12dca26aa11d99b3af6c6d68cdf96ff90ef415aa))
* **wrap:** overwrite drifted selfheal hook command instead of skipping
it ([#2723](https://github.com/headroomlabs-ai/headroom/issues/2723))
([2643f34](https://github.com/headroomlabs-ai/headroom/commit/2643f34a542d944ba3ad4a0a574b5e9e9d9bd474))
* **wrap:** route OMP OpenAI providers through Headroom
([#2755](https://github.com/headroomlabs-ai/headroom/issues/2755))
([fae1e84](https://github.com/headroomlabs-ai/headroom/commit/fae1e849cb59c85cfbd46e76a05e6c299e446b02))


### Dependencies

* Bump @anthropic-ai/sdk from 0.133.0 to 1.3.0 in /sdk/typescript
([#4554](https://github.com/headroomlabs-ai/headroom/issues/4554))
([74277d4](https://github.com/headroomlabs-ai/headroom/commit/74277d47ecfbca349ddb99f81094c4dd30539d43))
* Bump lru from 0.18.5 to 0.19.0
([#4382](https://github.com/headroomlabs-ai/headroom/issues/4382))
([038af59](https://github.com/headroomlabs-ai/headroom/commit/038af599e1a3c5e7e6b3047781aaf9ba2bbbf8bd))
* bump ruff from 0.17.0 to 0.17.2 in the pip-minor-patch group across 1
directory
([#4380](https://github.com/headroomlabs-ai/headroom/issues/4380))
([64f43bd](https://github.com/headroomlabs-ai/headroom/commit/64f43bdf8f2080d5d7c1874fe1572acbb05872b6))
* bump ruff from 0.17.2 to 0.17.3 in the pip-minor-patch group
([#4652](https://github.com/headroomlabs-ai/headroom/issues/4652))
([cb9602a](https://github.com/headroomlabs-ai/headroom/commit/cb9602aef0e4914f723a33ef6bad3a7c06eb485a))
* Bump the cargo-minor-patch group across 1 directory with 12 updates
([#4553](https://github.com/headroomlabs-ai/headroom/issues/4553))
([b9049d7](https://github.com/headroomlabs-ai/headroom/commit/b9049d703af340ff90ed867f86e5fafa10c155c9))
* Bump the npm-minor-patch group across 1 directory with 6 updates
([#4621](https://github.com/headroomlabs-ai/headroom/issues/4621))
([5e4827d](https://github.com/headroomlabs-ai/headroom/commit/5e4827de12c9fdf33d7d36b1939eee73a18fe6c5))
* Bump the npm-minor-patch group across 2 directories with 14 updates
([#4455](https://github.com/headroomlabs-ai/headroom/issues/4455))
([f10725e](https://github.com/headroomlabs-ai/headroom/commit/f10725e6b9940d8bc2fcde950c86f8ac97543cb6))
* Bump the npm-minor-patch group across 3 directories with 9 updates
([#4495](https://github.com/headroomlabs-ai/headroom/issues/4495))
([f367728](https://github.com/headroomlabs-ai/headroom/commit/f36772805178e3fed1a95313e8211c57a291b953))
* Bump tsup from 8.5.1 to 9.0.0 in /plugins/openclaw
([#4384](https://github.com/headroomlabs-ai/headroom/issues/4384))
([9d87151](https://github.com/headroomlabs-ai/headroom/commit/9d871516101ff5428b592acb213aeacd30afc328))
* Bump tsup from 8.5.1 to 9.0.0 in /plugins/opencode
([#4385](https://github.com/headroomlabs-ai/headroom/issues/4385))
([99e223c](https://github.com/headroomlabs-ai/headroom/commit/99e223c0e2c2ea6eb88ce28b160ae179897a9c67))
* Bump tsup from 8.5.1 to 9.0.0 in /sdk/typescript
([#4386](https://github.com/headroomlabs-ai/headroom/issues/4386))
([e666fd8](https://github.com/headroomlabs-ai/headroom/commit/e666fd8e35dbe7c0433739297873b6a0a51c26cf))
* qualify latest Anthropic SDK 1.4.0 in docs
([#4556](https://github.com/headroomlabs-ai/headroom/issues/4556))
([65bcc4c](https://github.com/headroomlabs-ai/headroom/commit/65bcc4c313aadfb609973563573b8bb3f308d81f))
* qualify latest compatible docs and E2E tools
([#4580](https://github.com/headroomlabs-ai/headroom/issues/4580))
([e42f74e](https://github.com/headroomlabs-ai/headroom/commit/e42f74ebc9a784014ad9799b75f862efe4bf69e3))
* require Python 3.11; clear Dependabot alerts in the 3.10 lock fork
([#4517](https://github.com/headroomlabs-ai/headroom/issues/4517))
([3c6f82b](https://github.com/headroomlabs-ai/headroom/commit/3c6f82b06091206379106f8fe1a54f2400ed7a93))
* update tomlkit requirement from &lt;1.0,&gt;=0.15.0 to
&gt;=0.15.2,&lt;1.0
([#4653](https://github.com/headroomlabs-ai/headroom/issues/4653))
([00d5a5c](https://github.com/headroomlabs-ai/headroom/commit/00d5a5ca619f6e23da54d8b7e3fa4cc7af444035))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

### Maintainer current-main requalification

Exact head `0dea0c5acf5a9b00efff4eb4aa5cb4bf44d5d4fe`, upstream main
`ecbaf86d78cf52d185fbffa306157b9a4cc1b906`.

Re-reviewed generated release metadata against current main
ecbaf86d78. The bot-generated release
commit had restored Ruff 0.17.2 while current main, uv.lock and
pre-commit use 0.17.3. Both verify-ruff-version and offline lock checks
reproduced this mechanical mismatch; restored only the current-main
development-tool pin. No release version, contributor runtime logic or
dependency lock versions changed.

All 88 focused release workflow/version/MCP descriptor/Gemini tests
pass. verify-versions reports tracked release metadata aligned at
0.43.0. After the pin correction, verify-ruff-version, uv lock --check
--offline and whitespace checks pass. Generated CHANGELOG was reviewed
without manual edits. Earlier Devin version-metadata finding is
addressed. Formal approval awaits exact-head hosted qualification;
maintainers handle CI. Nothing merged or published as a release.


Exact-head hosted checks are being handled by maintainers. No new
finding in the reviewed scope; formal approval awaits exact-head hosted
qualification; nothing merged.


Current release-bot head 2a1ebf746b has
the identical tree to the locally verified Ruff correction (including
preserved manifest line endings). Exact-head hosted qualification is in
progress; no release published or PR merged.

---------

Co-authored-by: headroom-release[bot] <352661243+headroom-release[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: JerrettDavis <mxjerrett@gmail.com>
2026-11-05 10:35:15 -06:00
Shubham SrivastavaandJerrettDavis a26faaeee3 fix(sdk): carry Vercel AI SDK reasoning parts and provider options through compression (#4564)
## Description

`headroomMiddleware` / `withHeadroom` for the Vercel AI SDK convert the
prompt to OpenAI chat shape before `/v1/compress` and back afterwards.
The converters only model `text`, `file`/`image`, `tool-call` and
`tool-result` parts, so everything else the AI SDK puts on a prompt is
dropped: **`reasoning` parts**, and **`providerOptions`** on every
message and part (`providerExecuted` on tool calls too).

That is the state the providers need back on the next step of a tool
loop:

- `@ai-sdk/anthropic` rebuilds `thinking` / `redacted_thinking` blocks
from `reasoning` parts' `providerOptions.anthropic.signature` /
`redactedData`; without them the request reaches Anthropic with
`tool_use` and no thinking block, which its docs say "triggers a 400
error". Message- and part-level `anthropic.cacheControl` breakpoints are
read from `providerOptions` as well.
- `@ai-sdk/google` carries Gemini thought signatures as
`providerOptions.google.thoughtSignature` on text, tool-call, file and
reasoning parts. Its current release injects a sentinel for Gemini 3 "to
keep the request from failing with HTTP 400" and names the cause:
"application code that drops `providerOptions.google.thoughtSignature`
when persisting or serializing assistant tool-call messages" — which is
what this middleware did.
- `@ai-sdk/openai` keeps Responses `itemId` /
`reasoningEncryptedContent` the same way.

Captured on `main` (`a2d4fe72`) by running a LanguageModelV3 step-2
prompt through the public converters, which is the middleware's exact
path — every message changed:

```text
[0] system   : providerOptions (anthropic.cacheControl) dropped
[1] user     : text part providerOptions (anthropic.cacheControl) dropped
[2] assistant: both reasoning parts dropped (signature + redactedData); text and tool-call
               providerOptions (google.thoughtSignature, openai.itemId) dropped
[3] tool     : tool-result providerOptions (anthropic.cacheControl) dropped
```

The proxy does not need any of this removed. `/v1/compress` copies
messages with their extra keys, keeps extra keys on text parts even when
it rewrites the text, and passes unknown content parts through (verified
live, below). So the converters now carry the AI SDK state as-is and the
reverse conversion hands it back verbatim.

Closes # (none — follow-up to #4489; same converter sweep)

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [x] Documentation update
- [ ] Performance improvement
- [ ] Code refactoring (no functional changes)

## Changes Made

- **`sdk/typescript/src/utils/format.ts`**
- `vercelToOpenAI` / `openAIToVercel`: `providerOptions` on a
system/user/assistant message stays on the OpenAI message under the same
key; on text parts it stays on the part; on `image`/`file` parts it
rides inside the existing `image_url` carrier object. Assistant parts
the converter does not model — `reasoning`, `reasoning-file`, `custom`,
provider-executed `tool-result` — keep their place in the OpenAI
`content[]` verbatim (text-only turns still collapse to a string unless
a text part carries options; same for user turns). `tool-call` →
`tool_calls[i]` plus `providerOptions` / `providerExecuted`, and
`position` (how many content parts preceded the call), so
`openAIToVercel` puts each call back in its place among reasoning / text
/ provider-executed parts instead of appending it; a turn whose text
follows a tool call keeps the content array for the same reason. One
OpenAI tool message is one `tool-result` part, so the part's options
take `providerOptions` and the Vercel message's go under
`messageProviderOptions` on the last split message only (a copy on each
would multiply an Anthropic cache breakpoint); a
`tool-approval-response` part (no OpenAI equivalent) is carried on
`part` and restored as-is. All of it restored on the way back.
- `detectFormat`: `reasoning` / `reasoning-file` / `custom` /
`tool-approval-*` parts are Vercel markers (Anthropic spells its block
`thinking`); `image_url` / `input_audio` / `refusal` / `file`-object
parts are OpenAI markers. A message-level `providerOptions` key is
Vercel evidence only once no message carries a structural marker,
because the public OpenAI message types allow the key too.
  - `toOpenAI(messages, format?)` accepts a declared format.
- **`sdk/typescript/src/types.ts`, `src/index.ts`** — `ProviderOptions`;
`providerOptions?` on `TextContentPart`, `ToolCall` (plus
`providerExecuted?`) and the four message types; `ReasoningContentPart`
and a literal-typed `PassthroughContentPart` join `ContentPart`, so
`part.type === "text"` narrowing stays exact; `CompressOptions.format`.
- **`sdk/typescript/src/compress.ts`** — `format` (declared input
format) skips autodetection and is passed to `toOpenAI`.
- **`sdk/typescript/src/adapters/vercel-ai.ts`** — the middleware and
`compressVercelMessages` call `compress(prompt, { format: "vercel" })`
and use `result.messages`, instead of converting themselves and then
handing OpenAI-shaped messages to `compress()`, which re-detects the
format. That re-detection is why `format` exists: reasoning parts are
not OpenAI-shaped, so a converted conversation whose first marker is a
reasoning part would have been read as Vercel input again and lost its
tool calls; and a text-only prompt is indistinguishable from OpenAI
messages, which the middleware could never declare before.
- **Tests** — `test/utils/format.test.ts`: the original "skips reasoning
parts" expectation becomes a carry-verbatim one; a step-2 prompt
(system/user/assistant/tool with options everywhere, two reasoning
parts, tool-call options) round-trips exactly; tool-call
`providerOptions`/`providerExecuted`; provider-executed `tool-result`
and `tool-approval-response` parts verbatim; user text with options kept
as a part; text-only assistant turns still a string; file-part options
through the media carrier. `test/adapters/vercel-ai.test.ts`: a typed
`LanguageModelV3Prompt` through `transformParams` with the proxy
rewriting only the tool message. `test/compress.test.ts`: `format:
"vercel"` on a text-only prompt. `test/utils/detect-format.test.ts`: the
new markers, and OpenAI `image_url` / `file` / `input_audio` parts
outranking `providerOptions` (the review repro included).
`test/types.test-d.ts`: the public type changes. Review round 1 added:
`compress()` with no `format` keeping an OpenAI user message with
`providerOptions`, `image_url` and `file`; round trips for `[tool-call,
reasoning, tool-call]`, a provider-executed search turn and `[tool-call,
text]`; the `text, tool-call` wire shape unchanged; message-level
options once per split tool message; the search turn through
`transformParams`.
- **Docs** — `docs/content/docs/vercel-ai-sdk.mdx` (what is carried),
`docs/content/docs/api-reference.mdx` and `sdk/typescript/README.md`
(the `format` option).

**Not in this PR.** Tool-result `output` kinds: every output is still
flattened to a string and restored as `json`/`text`, so `error-text` /
`error-json` lose their error-ness and `content` outputs with media
become JSON text. Same converter, different defect — next PR. The
Gemini-native converter's `thought` parts and `thoughtSignature` are
also a separate PR.

## Testing

- [x] Unit tests pass (`npm test` — vitest, incl. typecheck)
- [x] Type checking passes (`npm run typecheck` — tsc --noEmit)
- [x] Build passes (`npm run build` — tsup)
- [x] New tests added for new functionality
- [x] Manual testing performed (below)

### Test Output

```text
$ cd sdk/typescript && npm test
 Test Files  19 passed | 5 skipped (24)
      Tests  435 passed | 33 skipped (468)
Type Errors  no errors

$ npm run typecheck      # tsc --noEmit — clean
$ npm run build          # tsup — ESM, CJS and DTS built
```

## Real Behavior Proof

- Environment: published proxy `headroom-ai 0.42.0` (`uvx --from
'headroom-ai[proxy]' headroom proxy --port 8799`), this branch built
with `npm run build`, Node v22.16.0, macOS.
- Exact command / steps: a LanguageModelV3 step-2 prompt — system and
user with `anthropic.cacheControl`, assistant with two `reasoning` parts
(signature, redactedData), a text part and a tool call carrying
`google.thoughtSignature` / `openai.itemId`, message-level options, and
a `tool-result` carrying a 72 KB JSON log plus `cacheControl` — passed
through `headroomMiddleware().transformParams` against the live proxy;
the returned prompt compared message by message with the input.
- Observed result: every message other than the tool result came back
byte-identical, the tool result kept its options and shrank from 72 432
to 34 916 chars. Full output:

```text
system byte-identical (cacheControl kept): true
user byte-identical (text providerOptions kept): true
assistant byte-identical (2 reasoning parts, text + tool-call providerOptions, message providerOptions): true
tool-result output: 72432 -> 34916 chars, type=text, toolName=fetch_gateway_metrics, providerOptions kept: true
tool-result output head: "[400]{id:int,level:string,msg:string,path:string,service:string,status:int,ts:string}\n0,WA"
```

Review round 1, same proxy: an interleaved provider-executed turn
(`reasoning, tool-call, tool-result, reasoning, text, tool-call`)
through `headroomMiddleware`, then an OpenAI user message with
`providerOptions` + `image_url` + `file` (and a 56 KB tool result)
through `compress()` with no `format`:

```text
assistant byte-identical (order back: reasoning, tool-call, tool-result, reasoning, text, tool-call): true
tool-result output: 56002 -> 31287 chars, type=text, toolName=fetch_gateway_metrics; message providerOptions kept: true
detectFormat: openai
user message byte-identical (image_url and file kept): true
tool message: 56002 -> 31690 chars; compressed=true
```

The same payload through the converters on `main` loses every item
listed in the Description (captured before the change with the same
script).
- Not tested: an end-to-end multi-step `generateText` against Anthropic
/ Gemini with thinking enabled (no provider keys in this environment);
the provider behaviour is taken from the `@ai-sdk/anthropic` and
`@ai-sdk/google` sources and Anthropic's docs quoted above.

## Runtime Rollout Safety

- Rollout-managed feature(s): none (TypeScript SDK only, no proxy
change)
- Minimum rollout channel: n/a
- Stable/default behavior changed: for SDK users, OpenAI-shaped messages
sent to `/v1/compress` now carry the AI SDK's `providerOptions` keys and
reasoning parts, which the proxy already passes through; the public
`ContentPart` union grows (additive).
- Kill switch / disable path: unchanged — `fallback: true` returns the
original prompt when the proxy is unreachable; unwrap the model to
disable compression.
- Unsafe override required: no
- Qualification impact: none
- Rollback path: revert this PR

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] I did **not** edit `CHANGELOG.md` — it is generated by
release-please from my Conventional Commit PR title (a CI guard enforces
this)

## Screenshots (if applicable)

N/A

## Additional Notes

- The carried keys never reach an OpenAI endpoint through the SDK's own
paths: the universal `compress()` returns messages in the input format,
and the OpenAI adapter never sees Vercel input.
- Enumerated before writing: the V3 and V4 prompt unions
(`@ai-sdk/provider` 4.0.26) and the `ModelMessage` unions
(`@ai-sdk/provider-utils` 5.0.58); every assistant and tool part type in
them is either modelled or carried verbatim.

<!-- devin-review-badge-begin -->

---

<a href="https://app.devin.ai/review/headroomlabs-ai/headroom/pull/4564"
target="_blank"><picture><source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img
src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4"
alt="Devin Review"></picture></a>
<!-- devin-review-badge-end -->

---------

Co-authored-by: JerrettDavis <mxjerrett@gmail.com>
2026-11-03 23:41:35 -06:00
dependabot[bot]andJerrettDavis e666fd8e35 deps: Bump tsup from 8.5.1 to 9.0.0 in /sdk/typescript (#4386)
Build the SDK with Headroom's patched esbuild release inside the
bundler's supported dependency range. Headroom already overrides esbuild
to the 0.28 series as part of dependency-CVE remediation
([#1509](https://github.com/headroomlabs-ai/headroom/pull/1509)); tsup
8.5.1 declares ^0.27.0, so that combination relies on an out-of-range
override. Tsup 9 declares ^0.28.2. Upgrade the bundler and raise the
override floor from ^0.28.1 to ^0.28.2 so the selected secure-build
inputs agree with the upstream-supported range.

The original tsup 9 lock still selected esbuild 0.28.1 through the
override. This maintainer follow-up corrects that mismatch, regenerates
the lock and documents the actual source-build Node requirement. It does
not claim that 0.28.1 introduces a new advisory or that the old
bundler's emitted SDK was demonstrated broken.

## Dependency assessment

- **Why tsup/version:** existing ESM/CJS/declaration builder; version 9
provides the upstream-supported esbuild 0.28 build combination needed by
the existing security override. This avoids introducing a new bundler or
relying indefinitely on tsup 8's incompatible declared dependency range.
[Official v9
changes](https://github.com/egoist/tsup/releases/tag/v9.0.0).
- **Maintenance/security:** tsup's published 9.0.0 release/source and
installed manifest were reviewed, including esbuild/chokidar upgrades,
the debug-to-obug change, and the Node floor. Security expectations are
evaluated on the resolved dependency tree, not inferred from the major
number. Fresh Windows and Linux audits report zero vulnerabilities; this
does not assert a clean history for every upstream project.
- **Build/runtime boundary:** tsup 9 requires `^22.18.0 || ^24.11.0 ||
>=26.0.0`. The source-build README now recommends Node 24 LTS >=24.11
and documents the alternatives. The published SDK's Node >=18 engines
field and optional peer requirements are unchanged. Built ESM/CJS
entrypoints load and construct the SDK client on Node 18.20.8; current
Vercel peers have their own higher runtime floor, qualified separately
on Node 22.
- **Transitive/native/install surface:** the lock adds Rollup's optional
Linux-x64 GNU LZMA binding and Android-x64 parser binding. It removes
debug, ms, source-map and a nested tinyexec entry while updating the
bundler's declared toolchain. No new install-script flag is introduced.
Existing esbuild/Rollup platform-native components and installation
scripts remain development inputs. The Linux LZMA package is a
legitimate Rollup optional dependency, not an unreferenced lock entry.
It was installed and resolvable in the Linux qualification; its
compression functions and Android bindings were not independently
exercised. Fresh installs with scripts enabled and actual builds were
run on Windows x64 and Linux x64 GNU. No build tooling/native binary is
added to the SDK's published runtime dependency list.
- **Network surface:** npm registry/package downloads and any existing
build-tool setup behavior remain install-time network surfaces. Normal
SDK/provider HTTP behavior is unchanged; the proof uses an isolated
local proxy/provider fixture and no real vendor credential. No release
or production rollout is performed.

## Real behavior proof

Windows/Node 22.22.0 and Linux/Debian bookworm/Node 24.22.2, with the
resolved tsup 9.0.0 and esbuild 0.28.2. The Linux run copies the SDK
source into an ephemeral container, keeping its install/build separate
from the Windows tree.

From `sdk/typescript`, on each environment:

```bash
npm ci --ignore-scripts=false --no-audit --no-fund
npm run typecheck
npm test -- --reporter=dot
npm run build
npm audit --audit-level=low
```

Both report **406 tests passed, 33 skipped**, no type errors, successful
ESM/CJS/declaration builds, and zero audit findings. Linux resolves
`@napi-rs/lzma-linux-x64-gnu` and loads Rollup 4.67.2. These are fresh
installs with scripts enabled, rather than relying only on a
scripts-disabled install.

Against the Windows-built artifacts, `python
scripts/verify_sdk_provider_peers.py` runs the real Headroom HTTP
compression path (isolated temporary state, stateless mode, no
subscription tracking/upstream discovery) and actual provider/native SDK
clients with loopback provider responses. It verifies final JSON text
preservation, per-request async credential resolution, and native chat
completion through the generated adapters. Observed exit 0 with four
`/v1/compress` responses of 200. The local run reused an existing
Headroom native extension and does not claim a fresh local Rust build or
live model inference.

From `sdk/typescript`, `npm exec --yes --package=node@18.20.8 -- node
../../scripts/verify_sdk_dist_compat.mjs .` reports that the built ESM
and CJS SDK entrypoints load and construct the client. This tests the
core entrypoint boundary, not all optional provider peers or every SDK
call on Node 18.

`git diff --check` and the new Node proof's syntax check pass. The
branch is synchronized with main, including the already-qualified
dependency/security updates.

After main gained the native Anthropic 1.3 update, the SDK lock was
combined again without dropping that update or any of the six
provider-group targets. The final tree retains tsup 9.0.0, esbuild
0.28.2 and native Anthropic 1.3.0, preserving unrelated platform
metadata. Fresh scripts-enabled install, 406 tests/33 skips,
types/build/audit and Node 18 entrypoint loading pass again on Windows.
Both `verify_sdk_provider_peers.py` (four compression HTTP calls) and
`verify_anthropic_peer.py` (native thinking/cache/tool/system/metadata
preservation) also pass against these newly built artifacts. The earlier
Linux qualification used the same bundler/esbuild graph before that
native-peer merge; final-head hosted platform CI supplies the
combined-tree platform coverage.

Untested: other operating systems/architectures, Android or musl native
bindings, LZMA compression behavior, watch-mode filesystem events, live
vendor models/credentials, streaming, production publishing, and the 33
skipped tests. Hosted CI must qualify the current head.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JerrettDavis <mxjerrett@gmail.com>
2026-11-03 08:45:00 -06:00
dependabot[bot]andJerrettDavis 74277d47ec deps: Bump @anthropic-ai/sdk from 0.133.0 to 1.3.0 in /sdk/typescript (#4554)
Qualify the TypeScript SDK's native Anthropic adapter against
Anthropic's stable 1.3.0 client, rather than testing only the old
0.133.0 development peer. Current-peer compatibility is a required
qualification target for this SDK maintenance work, including the native
Anthropic client admitted by the existing `@anthropic-ai/sdk >=0.30.0`
range. The README installs Headroom only; Anthropic is an optional,
separately installed peer, not an automatically installed dependency.
This PR makes the selected 1.3.0 qualification concrete with actual HTTP
transport and Headroom compression, including the native blocks that
must survive unchanged.

## Dependency assessment

- **Why package/version:** retain Anthropic's official client as an
optional integration peer instead of duplicating its authentication,
request serialization, retries and response API. Version 1.3.0 is the
selected stable peer qualification target for the native adapter under
the required current-client compatibility scope. The broad peer range
permits 1.x but is not itself evidence that it was tested, nor a
requirement for users to install it. This is deliberate compatibility
qualification, not a claim that Enterprise Claude Tag endpoints are used
by Headroom or that an unrelated upstream feature fixes compression.
[Official
release](https://github.com/anthropics/anthropic-sdk-typescript/releases/tag/sdk-v1.3.0).
- **Maintenance/security:** maintained by Anthropic, with the reviewed
release/source history covering the stable client and request-layer
changes. Fresh SDK audit reports zero vulnerabilities; this is not a
guarantee about all past/future upstream security issues. Actual
transport, build and test results support acceptance rather than the
major version number alone.
- **Install surface:** the only added lock package is
`@opentelemetry/api` 1.9.0 (SDK requirement ^1.4.1). Existing
standardwebhooks and json-schema-to-ts dependencies remain. No new
install-script flag, native package or exporter is introduced. The
Anthropic SDK remains a development/test dependency here; published
optional peer ranges are unchanged. A registry install and the client's
existing provider HTTP requests remain network surfaces. Node 22.22.0
was tested; the distribution has no engines field, so this result is not
a claim of qualification on every Node version.
- **Tracing/privacy:** the new client can emit API-call spans when the
application has registered an OpenTelemetry tracer provider. Defaults
use metadata-only content mode and permit trace-context propagation;
prompt/response content capture requires content mode selection.
`openTelemetry: false` or the documented ANTHROPIC_OPEN_TELEMETRY
environment setting disables spans. The API package supplies no exporter
itself, but an application's existing tracer/exporter can receive the
new spans. This behavior and configuration are part of the upgrade's
surface, not assumed absent because the dependency is JavaScript-only.
Exporter/propagation behavior was inspected but not exercised by the
transport proof.

The branch is synchronized with main, including the merged #4599
glob/minimatch audit remediation and its existing exact bundled
exceptions/November 15 expiry. The SDK lock conflict with merged #4621
is resolved by retaining all six of that group's updates and applying
the Anthropic 1.3.0 change to that combined lock. A parsed comparison
with main confirms the only package-version difference is Anthropic and
the only added package is the telemetry API.

## Real behavior proof

Windows, Node 22.22.0, Python 3.12.13, the actual 1.3.0 client from the
PR lock, and Headroom's built native Anthropic adapter. The local proxy
used an existing native Headroom extension, isolated temporary
workspace/config storage, stateless operation, disabled subscription
tracking, and skipped upstream discovery. A loopback provider fixture
sends a valid SDK response. No cloud credential, real model inference,
or genuine thinking signature was used.

```powershell
cd sdk/typescript
npm ci --ignore-scripts --no-audit --no-fund
npm run build
cd ../..
python scripts/verify_anthropic_peer.py
```

Observed, exit 0:

```text
PASS: actual Anthropic SDK client + Headroom adapter preserve thinking, cache markers, tool pairs, system and metadata on the wire
Real Headroom /v1/compress response: [200]
```

The actual 1.3.0 `client.messages.create()` passes through
`withHeadroom`, makes a real compression HTTP request with fallback
disabled, then sends a real HTTP request to `/v1/messages`. The fixture
asserts the complete message array (opaque thinking/signature, paired
tool use/result and cache markers), separate system blocks and metadata;
the returned SDK text is also asserted. No SDK/client/compression
function is replaced. The short payload does not trigger token
reduction, so this proves native transport/payload preservation rather
than a long-input compression ratio or vendor acceptance of the
synthetic signature.

SDK tests: **406 passed, 33 skipped**. Typecheck, ESM/CJS/declaration
build and zero-finding audit pass. Python lint/format, Node syntax and
whitespace checks pass.

After the main/SDK-group synchronization, the native proof and all these
checks passed again. The committed `python
scripts/verify_sdk_provider_peers.py` also passes on the combined tree:
the actual Vercel Anthropic provider retains final JSON text, the OpenAI
provider resolves two async credentials separately, and the native
OpenAI client completes its request, with four real `/v1/compress`
responses of 200. Thus the conflict resolution preserves the
already-qualified peer matrix alongside the new native Anthropic client.

Untested: live Anthropic credentials/models, streaming/beta/new
Enterprise APIs, signed-thinking validation by Anthropic, tracing
export/propagation, browser behavior, active compression of long inputs,
other Node/platform combinations, and the 33 skipped tests. Current-head
hosted CI remains required.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JerrettDavis <mxjerrett@gmail.com>
2026-11-02 22:44:52 -06:00
dependabot[bot]andJerrettDavis 5e4827de12 deps: Bump the npm-minor-patch group across 1 directory with 6 updates (#4621)
Update the TypeScript SDK's development peer matrix to versions that
preserve Anthropic JSON final answers and support async OpenAI
credential callbacks through Headroom's existing adapters. With the old
locked Anthropic provider, a model in JSON-tool mode that returns final
text without calling the tool produces an empty SDK answer. With the old
OpenAI provider, an async API-key callback is rejected as a non-string.
Both behaviors were reproduced with the actual old packages, the real
Headroom middleware and compression HTTP endpoint, and a loopback
provider response.

## Dependency assessment

- **@ai-sdk/anthropic 4.0.87 -> 4.0.94:** includes the final-text
preservation fix
[e10aebb](https://github.com/vercel/ai/commit/e10aebbad661c641a5463c645272168d03a5c2f2).
Headroom must preserve assistant output rather than allowing the peer
provider to discard it in JSON mode/manual thinking. The new proof fails
on the old locked provider with `actual ''` versus `expected
'{"name":"Ada"}'`, and passes with this version. It also includes schema
handling fixes for newer Claude models; those additional models are not
claimed tested here.
- **@ai-sdk/openai 4.0.101 -> 4.0.106:** includes per-request resolution
of async credential settings
([v4.0.106](https://github.com/vercel/ai/releases/tag/%40ai-sdk%2Fopenai%404.0.106)).
The new proof calls the wrapped provider twice and observes a different
resolved bearer value each time, after passing through Headroom. The old
locked provider fails with `AI_LoadAPIKeyError: OpenAI API key must be a
string.` This qualifies the new credential functionality for the
existing middleware without adding an authentication mechanism to
Headroom.
- **@ai-sdk/provider 4.0.33 -> 4.0.35** is the shared contract used by
the updated providers. **ai 7.0.152 -> 7.0.159** is the actual
wrapLanguageModel peer used by Headroom's convenience wrapper. Qualify
that provider/AI combination together instead of treating compilation of
isolated provider packages as compatibility evidence.
- **openai 7.43.0 -> 7.46.0** and **@types/node 26.6.5 -> 26.6.6** are
retained as required current-peer compatibility coverage for Headroom,
alongside the provider fixes. The real native OpenAI chat client has a
transport check through the native Headroom adapter; the Node
declarations are checked by the SDK typecheck. These are deliberate
qualification targets for the supported peer matrix, rather than claims
that either package fixes the Vercel defects. The native client's
independent new API surfaces and Node 26 runtime behavior are not
covered by the chat/typecheck proof.
- **Maintenance/security:** Vercel maintains ai and the provider
packages, OpenAI maintains the native client, and DefinitelyTyped
maintains @types/node. The linked provider releases/source fixes and
OpenAI's 7.46.0 release were reviewed; active upstream release history
does not imply a spotless security record. Fresh SDK audit reports zero
vulnerabilities.
- **Install/runtime surface:** all six are development dependencies,
used to build/test optional peer integrations. This PR does not change
published runtime dependency or peer ranges, so consumers do not
automatically receive the provider fixes merely by installing a new
Headroom package. Compared with the prior lock, no package paths are
added/removed, no new install-script flags appear, and all resolved
tarballs remain on registry.npmjs.org. Existing esbuild/native build
tooling remains part of SDK development. The existing Vercel peer
toolchain already requires Node 22; these patches do not newly establish
that floor. Node type declarations are not shipped runtime code. OpenAI
widens the optional google-auth-library peer upper bound, but this
install does not add that optional peer. Registry installs and provider
API traffic remain network surfaces; the proof uses no real credential
and contacts no cloud model.

## Real behavior proof

Windows, Node 22.22.0, Python 3.12.13, the actual PR's package-lock
install, and the real Headroom proxy source. The local run reused an
existing native Headroom extension; it does not claim a fresh local Rust
build. The proof runs the proxy with isolated temporary workspace/config
paths, stateless storage, subscription tracking disabled, and upstream
discovery skipped. A loopback HTTP provider fixture deliberately
supplies valid API responses; it is not a live model.

```powershell
cd sdk/typescript
npm ci --ignore-scripts --no-audit --no-fund
npm run build
cd ../..
python scripts/verify_sdk_provider_peers.py
```

Observed, exit 0:

```text
PASS: real provider + Headroom middleware + real compression HTTP path preserve final JSON text without a tool call
PASS: real OpenAI provider resolves async credentials separately for both wrapped requests
PASS: native OpenAI SDK chat client completes a real HTTP request through the Headroom adapter
Real Headroom /v1/compress response: [200, 200, 200, 200]
```

The same Anthropic case on main's old lock drops the final JSON text.
Running the proof with `openai-only` against a separate old-lock
checkout reproduces the old async-credential error. No
client/model/compress function is replaced; the actual SDKs make the
HTTP requests, and all four calls pass through Headroom's real
/v1/compress endpoint with fallback disabled. The short prompts do not
trigger token reduction, so this is transport/response preservation
proof, not a compression-ratio benchmark.

Additional validation: SDK tests **406 passed, 33 skipped**; typecheck
and ESM/CJS/declaration build pass; `npm audit --json` reports zero
vulnerabilities. The Python proof passes Ruff lint/format, the Node
proof passes `node --check`, and whitespace checks pass.

Untested: live vendor credentials/models, streaming responses, async
credential failures/refresh races, actual token reduction on long
inputs, browser environments, other platforms, new native OpenAI
agent/image/organization APIs, and the 33 skipped tests. Current-head
hosted CI remains required.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JerrettDavis <mxjerrett@gmail.com>
2026-11-02 22:07:30 -06:00
Shubham SrivastavaandJD Davis cd5e2b9e73 fix(sdk): send Anthropic messages to /v1/compress natively so thinking blocks survive (#4489)
## Description

The TypeScript SDK's Anthropic adapter converts every request to OpenAI
chat shape before `/v1/compress` and back afterwards. The converters
only model `text`, `tool_use`, `tool_result`, `image` and `document`, so
an assistant turn's **`thinking` and `redacted_thinking` blocks are
dropped**, `cache_control` markers on text blocks are lost, server-tool
blocks vanish, and a `tool_result` whose content is a block array is
flattened to text (an image inside it becomes a JSON string).
`compress()` does the same for Anthropic-format input.

Anthropic requires the thinking blocks back during a tool-use turn. From
the Thinking docs: "**Required:** within a tool-use turn, pass thinking
blocks back" and "Within the latest assistant message, the sequence of
consecutive `thinking` blocks must match what the model generated in the
original request: you can't rearrange, edit, or partially drop them.
This includes `redacted_thinking` blocks." The tool-workflows page:
"rebuilding the message or filtering out `redacted_thinking` blocks
triggers a 400 error." So a thinking-enabled tool-use turn through
`withHeadroom(anthropic)` reaches Anthropic with its `tool_use` block
but no thinking block.

Verified on `main` through the public converters (the adapter's exact
path):

```text
assistant blocks in : thinking, redacted_thinking, text, tool_use
assistant blocks out: text, tool_use
user cache_control kept: false
```

The conversion is unnecessary. Since #2743 (0.34.0) `/v1/compress` "does
no format conversion — callers send whichever wire shape they already
use"; the proxy docs list "content-block lists with `tool_use` /
`tool_result` / `thinking` blocks" among the natively compressed shapes
and say "an Anthropic-native caller does not need to convert to OpenAI
format first". The adapter page itself called the conversion "an SDK
choice, not an API requirement" while also calling it lossless. This PR
stops converting: the adapter and `compress()` send Anthropic messages
to the proxy as they are and forward what comes back.

Closes # (none — found while sweeping the converters after #4048)

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [x] Documentation update
- [ ] Performance improvement
- [ ] Code refactoring (no functional changes)

## Changes Made

- **`sdk/typescript/src/adapters/anthropic.ts`** — no conversion:
`compress(params.messages, …)` and forward `result.messages` (or the
original messages on fallback, as before). The converter imports go
away.
- **`sdk/typescript/src/compress.ts`** — when the detected format is
`anthropic`, the messages go to the proxy unconverted and the proxy's
messages are returned unconverted; every other format still goes through
`toOpenAI` / `fromOpenAI`. `hooks.computeBiases` receives the messages
exactly as they are sent to the proxy.
- **`sdk/typescript/src/utils/format.ts`** — `detectFormat` treats
`thinking` / `redacted_thinking` blocks as Anthropic markers (a
thinking-only turn used to fall through to the OpenAI default).
`anthropicToOpenAI` / `openAIToAnthropic` are unchanged and still
exported.
- **Tests** — `test/adapters/anthropic.test.ts` rewritten for native
pass-through: a thinking-enabled tool-use turn (user text with
`cache_control`, assistant `thinking` + `redacted_thinking` + `text` +
`tool_use`, array `tool_result` with an image) is posted unchanged and
the proxy's returned messages are forwarded unchanged;
tool_use/tool_result and image turns likewise; fallback unchanged.
`test/compress.test.ts`: native round trip for Anthropic input, and the
#4048 document-only case now asserts the native document block.
`test/utils/detect-format.test.ts`: thinking / redacted_thinking
detection.
- **`docs/content/docs/anthropic-sdk.mdx`** — "How it works" describes
the native path; the conversion table, the "This conversion is lossless"
claim and the "SDK choice" callout are replaced by what is actually
preserved.

**Not in this PR.** `simulate()` still converts Anthropic input (a dry
run; nothing reaches Anthropic). The Vercel middleware drops `reasoning`
parts and `providerOptions` the same way, and the Gemini converter
merges `thought` parts into text; both need carriers because the proxy
cannot read those shapes, so they are separate PRs.

## Testing

- [x] Unit tests pass (`npm test` — vitest, incl. typecheck)
- [x] Type checking passes (`npm run typecheck` — tsc --noEmit)
- [x] Build passes (`npm run build` — tsup)
- [x] New tests added for new functionality
- [x] Manual testing performed (below)

### Test Output

```text
$ cd sdk/typescript && npm test
 Test Files  19 passed | 5 skipped (24)
      Tests  406 passed | 33 skipped (439)
Type Errors  no errors

$ npm run typecheck      # tsc --noEmit — clean
$ npm run build          # tsup — ESM, CJS and DTS built
```

## Real Behavior Proof

- Environment: published proxy `headroom-ai 0.41.0` (`uvx --from
'headroom-ai[proxy]' headroom proxy --port 8799`), this branch built
with `npm run build`, Node v22.16.0, macOS.
- Exact command / steps: one three-message conversation — a user text
block with `cache_control`, an assistant turn `[thinking,
redacted_thinking, text, tool_use]`, and a `tool_result` carrying a 72
KB JSON log — sent (a) through the public converters, which is what the
adapter did before, (b) through `withHeadroom()` wrapping a fake client
that captures the forwarded params, (c) through `compress()`.
- Observed result: before the change the conversion dropped both
thinking blocks and the `cache_control` marker; after it, the assistant
and user turns came back from the live proxy byte-identical while the
`tool_result` shrank from 72 432 to 34 916 chars (14 781 tokens saved).
Full output:

```text
== before: toOpenAI -> fromOpenAI (what the adapter used to do) ==
assistant blocks in : thinking, redacted_thinking, text, tool_use
assistant blocks out: text, tool_use
user cache_control kept: false

== after: withHeadroom(anthropic) against the live proxy ==
assistant turn byte-identical (thinking, redacted_thinking, text, tool_use): true
user turn byte-identical (cache_control kept): true
tool_result content: 72432 -> 34916 chars, still a tool_result block: true
compress(): tokensBefore=30471 tokensAfter=15690 tokensSaved=14781 transforms=["router:tool_result:mixed"]
compress() result thinking block byte-identical: true
```

The same tool result sent in OpenAI shape (`role: "tool"`) saves the
same 14 781 tokens (`router:mixed:0.39`), so the native path compresses
no less than the converted one did.
- Not tested: an end-to-end request to the Anthropic API with thinking
enabled (no key in this environment); the 400 is taken from Anthropic's
documentation quoted above.

## Runtime Rollout Safety

- Rollout-managed feature(s): none (TypeScript SDK only, no proxy
change)
- Minimum rollout channel: n/a
- Stable/default behavior changed: for SDK users, Anthropic messages now
reach `/v1/compress` in Anthropic shape; the proxy has compressed that
shape natively since 0.34.0.
- Kill switch / disable path: unchanged — `fallback: true` forwards the
original messages when the proxy is unreachable; unwrap the client to
disable compression.
- Unsafe override required: no
- Qualification impact: none
- Rollback path: revert this PR

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] I did **not** edit `CHANGELOG.md` — it is generated by
release-please from my Conventional Commit PR title (a CI guard enforces
this)

## Screenshots (if applicable)

N/A

## Additional Notes

- Token counts for Claude models now come from the proxy's per-model
tokenizer registry instead of being counted on an OpenAI-shaped copy, so
`tokensBefore` / `tokensAfter` for the Anthropic adapter may differ
slightly from previous versions.
- Follow-ups, each its own PR: Vercel `reasoning` parts and
`providerOptions` (Anthropic signatures, Gemini `thoughtSignature`,
OpenAI `itemId`), and Gemini `thought` parts / `thoughtSignature`.

Co-authored-by: JD Davis <mxjerrett@gmail.com>
2026-10-28 23:37:52 -05:00
6c3d747507 chore(sdk-typescript): npm metadata and the proxy requirement up front (#4536)
## Description

The npm page for `headroom-ai` shows a one-line description and nothing
else: no keywords, repository, homepage or bugs, so the registry cannot
link the source (or an `AGENTS.md`) and search finds the package only by
name. The README mentioned the proxy requirement only after the Quick
Start snippet.

## Type of Change

- [x] Documentation update

## Changes Made

- `sdk/typescript/package.json`: job-word `description`, `keywords`,
`homepage`, `repository` (with `directory`), `bugs`. No dependency
changes.
- `sdk/typescript/README.md`: title names the install name; "Requires
the Headroom proxy" plus its install command moved to the first screen;
the old trailing sentence replaced with a `baseUrl` pointer (matches
`src/client.ts`: `options.baseUrl ?? HEADROOM_BASE_URL ?? default`).

## Testing

- [x] Manual testing performed: `node -e
"require('./sdk/typescript/package.json')"` parses;
`repository.directory` and 16 keywords present.

### Test Output

```text
node -e "require('./sdk/typescript/package.json')": parsed; repository.directory=sdk/typescript, 16 keywords, homepage=https://docs.headroomlabs.ai/docs/quickstart
```

## Real Behavior Proof

- Environment: macOS, Node 26.
- Exact command / steps: parse the edited manifest with Node; diff the
README.
- Observed result: valid JSON, fields as listed. Takes effect on
npmjs.com with the next publish.
- Not tested: `npm publish` (release workflow).

## Runtime Rollout Safety

- Rollout-managed feature(s): none; documentation and metadata only, no
runtime code path changes
- Minimum rollout channel: n/a
- Stable/default behavior changed: no
- Kill switch / disable path: n/a (revert the PR)
- Unsafe override required: no
- Qualification impact: none
- Rollback path: revert the commit

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: JerrettDavis <mxjerrett@gmail.com>
2026-10-28 19:51:14 -07:00
dependabot[bot] f367728051 deps: Bump the npm-minor-patch group across 3 directories with 9 updates (#4495)
Bumps the npm-minor-patch group with 2 updates in the /plugins/openclaw
directory: headroom-ai and
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest).
Bumps the npm-minor-patch group with 3 updates in the /plugins/opencode
directory: headroom-ai,
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
and [@opencode/plugin](https://github.com/anomalyco/opencode).
Bumps the npm-minor-patch group with 7 updates in the /sdk/typescript
directory:

| Package | From | To |
| --- | --- | --- |
|
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
| `5.0.3` | `5.0.5` |
|
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
| `5.0.3` | `5.0.5` |
|
[@ai-sdk/anthropic](https://github.com/vercel/ai/tree/HEAD/packages/anthropic)
| `4.0.78` | `4.0.87` |
|
[@ai-sdk/openai](https://github.com/vercel/ai/tree/HEAD/packages/openai)
| `4.0.91` | `4.0.101` |
|
[@ai-sdk/provider](https://github.com/vercel/ai/tree/HEAD/packages/provider)
| `4.0.26` | `4.0.33` |
| [ai](https://github.com/vercel/ai/tree/HEAD/packages/ai) | `7.0.137` |
`7.0.152` |
| [dotenv](https://github.com/motdotla/dotenv) | `18.0.7` | `18.0.9` |
| [openai](https://github.com/openai/openai-node) | `7.32.0` | `7.43.0`
|
|
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
| `5.0.3` | `5.0.5` |


Updates `headroom-ai` from 0.40.0 to 0.41.0

Updates `vitest` from 5.0.3 to 5.0.5
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.5</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Keep vite default <code>fs.deny</code> with api token file  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude Opus 5.5</strong> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11578">vitest-dev/vitest#11578</a>
<a href="https://github.com/vitest-dev/vitest/commit/28dc1edfb"><!-- raw
HTML omitted -->(28dc1)<!-- raw HTML omitted --></a></li>
<li>Handle quoted file names in <code>--changed</code>  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11583">vitest-dev/vitest#11583</a>
<a href="https://github.com/vitest-dev/vitest/commit/14921e962"><!-- raw
HTML omitted -->(14921)<!-- raw HTML omitted --></a></li>
<li>Add <code>data</code> to the <code>import.meta.hot</code> stub  - 
by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11590">vitest-dev/vitest#11590</a>
<a href="https://github.com/vitest-dev/vitest/commit/3a8289ac3"><!-- raw
HTML omitted -->(3a828)<!-- raw HTML omitted --></a></li>
<li>Set <code>skip</code> in <code>skipIf</code>, ignore
<code>undefined</code> options  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11591">vitest-dev/vitest#11591</a>
<a href="https://github.com/vitest-dev/vitest/commit/d523a15f2"><!-- raw
HTML omitted -->(d523a)<!-- raw HTML omitted --></a></li>
<li>Skip builtin loading in async leak detector  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11598">vitest-dev/vitest#11598</a>
<a href="https://github.com/vitest-dev/vitest/commit/fe86a64c6"><!-- raw
HTML omitted -->(fe86a)<!-- raw HTML omitted --></a></li>
<li>Keep the import frame in native loader errors  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11599">vitest-dev/vitest#11599</a>
<a href="https://github.com/vitest-dev/vitest/commit/9697b3894"><!-- raw
HTML omitted -->(9697b)<!-- raw HTML omitted --></a></li>
<li>Run hook cleanups when a later hook fails  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11605">vitest-dev/vitest#11605</a>
<a href="https://github.com/vitest-dev/vitest/commit/6c5a44720"><!-- raw
HTML omitted -->(6c5a4)<!-- raw HTML omitted --></a></li>
<li>Release mocks of finished test files  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11607">vitest-dev/vitest#11607</a>
<a href="https://github.com/vitest-dev/vitest/commit/e9c3d72f0"><!-- raw
HTML omitted -->(e9c3d)<!-- raw HTML omitted --></a></li>
<li>Abort all running tests on cancel  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11606">vitest-dev/vitest#11606</a>
<a href="https://github.com/vitest-dev/vitest/commit/6621a72d6"><!-- raw
HTML omitted -->(6621a)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Ignore synthetic pagehide events  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11582">vitest-dev/vitest#11582</a>
<a href="https://github.com/vitest-dev/vitest/commit/ca0813584"><!-- raw
HTML omitted -->(ca081)<!-- raw HTML omitted --></a></li>
<li>Run plugin buildStart on server creation  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11593">vitest-dev/vitest#11593</a>
<a href="https://github.com/vitest-dev/vitest/commit/ea611e44c"><!-- raw
HTML omitted -->(ea611)<!-- raw HTML omitted --></a></li>
<li>Drop late connections of closed sessions  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11600">vitest-dev/vitest#11600</a>
<a href="https://github.com/vitest-dev/vitest/commit/f161e6df2"><!-- raw
HTML omitted -->(f161e)<!-- raw HTML omitted --></a></li>
<li>Wait 30s for the browser to close  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11601">vitest-dev/vitest#11601</a>
<a href="https://github.com/vitest-dev/vitest/commit/6498b666a"><!-- raw
HTML omitted -->(6498b)<!-- raw HTML omitted --></a></li>
<li>Run global setup once with instances  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11596">vitest-dev/vitest#11596</a>
<a href="https://github.com/vitest-dev/vitest/commit/8dd67c262"><!-- raw
HTML omitted -->(8dd67)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>reporter</strong>:
<ul>
<li>End reason
<code>&amp;[#39](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/39);failed&amp;[#39](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/39);</code>
on worker crash  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11568">vitest-dev/vitest#11568</a>
<a href="https://github.com/vitest-dev/vitest/commit/6ae8e89ff"><!-- raw
HTML omitted -->(6ae8e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v5.0.4...v5.0.5">View
changes on GitHub</a></h5>
<h2>v5.0.4</h2>
<h3>   🚀 Features</h3>
<ul>
<li><strong>experimental</strong>:
<ul>
<li>Tag cache directories with CACHEDIR.TAG  -  by <a
href="https://github.com/lifeiscontent"><code>@​lifeiscontent</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11461">vitest-dev/vitest#11461</a>
<a href="https://github.com/vitest-dev/vitest/commit/a8ea3c8fd"><!-- raw
HTML omitted -->(a8ea3)<!-- raw HTML omitted --></a></li>
<li>Support <code>test.ui.theme</code> option  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11499">vitest-dev/vitest#11499</a>
<a href="https://github.com/vitest-dev/vitest/commit/1da66405d"><!-- raw
HTML omitted -->(1da66)<!-- raw HTML omitted --></a></li>
<li>Highlight selector multiple matches in trace view  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude Opus 5.5</strong> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11489">vitest-dev/vitest#11489</a>
<a href="https://github.com/vitest-dev/vitest/commit/5abba1e1b"><!-- raw
HTML omitted -->(5abba)<!-- raw HTML omitted --></a></li>
<li>Print how many tests were affected and a total when running
<code>--changed</code>  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11424">vitest-dev/vitest#11424</a>
<a href="https://github.com/vitest-dev/vitest/commit/a23368585"><!-- raw
HTML omitted -->(a2336)<!-- raw HTML omitted --></a></li>
<li>Add an option to cache dependencies instead of statically parsing
them  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11515">vitest-dev/vitest#11515</a>
<a href="https://github.com/vitest-dev/vitest/commit/c06012ac8"><!-- raw
HTML omitted -->(c0601)<!-- raw HTML omitted --></a></li>
<li>Add fit and zoom controls to trace viewer  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude Opus 5.5</strong> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11490">vitest-dev/vitest#11490</a>
<a href="https://github.com/vitest-dev/vitest/commit/f5dd99ed0"><!-- raw
HTML omitted -->(f5dd9)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Fail the run on git and location filter errors  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11430">vitest-dev/vitest#11430</a>
<a href="https://github.com/vitest-dev/vitest/commit/30d0304d2"><!-- raw
HTML omitted -->(30d03)<!-- raw HTML omitted --></a></li>
<li>Enable fsModuleCache by default  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11435">vitest-dev/vitest#11435</a>
<a href="https://github.com/vitest-dev/vitest/commit/ad208cc29"><!-- raw
HTML omitted -->(ad208)<!-- raw HTML omitted --></a></li>
<li>Track project files and mocks with --changed  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11432">vitest-dev/vitest#11432</a>
<a href="https://github.com/vitest-dev/vitest/commit/b0f2b3bb9"><!-- raw
HTML omitted -->(b0f2b)<!-- raw HTML omitted --></a></li>
<li>Refactor caching, fix <code>:</code> in project and change the shape
of <code>results</code> cache  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11453">vitest-dev/vitest#11453</a>
<a href="https://github.com/vitest-dev/vitest/commit/9673c49a4"><!-- raw
HTML omitted -->(9673c)<!-- raw HTML omitted --></a></li>
<li>Keep full <code>$</code> string values when
<code>taskTitleValueFormatTruncate</code> is 0  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude Opus 5.5</strong> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11485">vitest-dev/vitest#11485</a>
<a href="https://github.com/vitest-dev/vitest/commit/4f7e1799b"><!-- raw
HTML omitted -->(4f7e1)<!-- raw HTML omitted --></a></li>
<li>Resolve node builtins in client environments  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11417">vitest-dev/vitest#11417</a>
<a href="https://github.com/vitest-dev/vitest/commit/56b319ac6"><!-- raw
HTML omitted -->(56b31)<!-- raw HTML omitted --></a></li>
<li>Fix module graph builtin externals after <a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11421">#11421</a>
 -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude Opus 5.5</strong> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11491">vitest-dev/vitest#11491</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11421">vitest-dev/vitest#11421</a>
<a href="https://github.com/vitest-dev/vitest/commit/008e184cb"><!-- raw
HTML omitted -->(008e1)<!-- raw HTML omitted --></a></li>
<li>Wrap module mocks during in-source testing  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11505">vitest-dev/vitest#11505</a>
<a href="https://github.com/vitest-dev/vitest/commit/36d19cb00"><!-- raw
HTML omitted -->(36d19)<!-- raw HTML omitted --></a></li>
<li>Handle line endings in snapshot  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11522">vitest-dev/vitest#11522</a>
<a href="https://github.com/vitest-dev/vitest/commit/4c468aa40"><!-- raw
HTML omitted -->(4c468)<!-- raw HTML omitted --></a></li>
<li>Respect root in projects  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11521">vitest-dev/vitest#11521</a>
<a href="https://github.com/vitest-dev/vitest/commit/26642f793"><!-- raw
HTML omitted -->(26642)<!-- raw HTML omitted --></a></li>
<li>Resolve mocks in directories with spaces  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11539">vitest-dev/vitest#11539</a>
<a href="https://github.com/vitest-dev/vitest/commit/caaef9416"><!-- raw
HTML omitted -->(caaef)<!-- raw HTML omitted --></a></li>
<li><strong>api</strong>:
<ul>
<li>Publish the api token atomically  -  by <a
href="https://github.com/umairnawaz333"><code>@​umairnawaz333</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11323">vitest-dev/vitest#11323</a>
<a href="https://github.com/vitest-dev/vitest/commit/6f990fef1"><!-- raw
HTML omitted -->(6f990)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>browser</strong>:</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/7a825db43e2beca0b219d2eadaec334cb81af0c7"><code>7a825db</code></a>
chore: release v5.0.5 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11609">#11609</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/6621a72d6ed371e43f80ff327f5063693bd6b1ad"><code>6621a72</code></a>
fix: abort all running tests on cancel (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11606">#11606</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/e9c3d72f0c8d6867de06a3df43ea28a05eeec444"><code>e9c3d72</code></a>
fix: release mocks of finished test files (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11607">#11607</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/8dd67c2625943d824e257b87ae57a14094e90eed"><code>8dd67c2</code></a>
fix(browser): run global setup once with instances (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11596">#11596</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/6c5a447203a29a0708fbc5de4fb91ea501bdc395"><code>6c5a447</code></a>
fix: run hook cleanups when a later hook fails (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11605">#11605</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/9697b3894f456b85db91f3824ebe833449305c04"><code>9697b38</code></a>
fix: keep the import frame in native loader errors (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11599">#11599</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/6498b666a3ae8961f6f2a8abdc89015b6fd0b3aa"><code>6498b66</code></a>
fix(browser): wait 30s for the browser to close (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11601">#11601</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/f161e6df2b3c0bc84982d374094379139e380791"><code>f161e6d</code></a>
fix(browser): drop late connections of closed sessions (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11600">#11600</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/fe86a64c6c6aa75481bffe5880b5c4e35ea67927"><code>fe86a64</code></a>
fix: skip builtin loading in async leak detector (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11598">#11598</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/6ae8e89ff0734cf476e30186a83aebe6771aa330"><code>6ae8e89</code></a>
fix(reporter): end reason <code>'failed'</code> on worker crash (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11568">#11568</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.0.5/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />

Updates `headroom-ai` from 0.40.0 to 0.41.0

Updates `vitest` from 5.0.3 to 5.0.5
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.5</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Keep vite default <code>fs.deny</code> with api token file  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude Opus 5.5</strong> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11578">vitest-dev/vitest#11578</a>
<a href="https://github.com/vitest-dev/vitest/commit/28dc1edfb"><!-- raw
HTML omitted -->(28dc1)<!-- raw HTML omitted --></a></li>
<li>Handle quoted file names in <code>--changed</code>  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11583">vitest-dev/vitest#11583</a>
<a href="https://github.com/vitest-dev/vitest/commit/14921e962"><!-- raw
HTML omitted -->(14921)<!-- raw HTML omitted --></a></li>
<li>Add <code>data</code> to the <code>import.meta.hot</code> stub  - 
by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11590">vitest-dev/vitest#11590</a>
<a href="https://github.com/vitest-dev/vitest/commit/3a8289ac3"><!-- raw
HTML omitted -->(3a828)<!-- raw HTML omitted --></a></li>
<li>Set <code>skip</code> in <code>skipIf</code>, ignore
<code>undefined</code> options  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11591">vitest-dev/vitest#11591</a>
<a href="https://github.com/vitest-dev/vitest/commit/d523a15f2"><!-- raw
HTML omitted -->(d523a)<!-- raw HTML omitted --></a></li>
<li>Skip builtin loading in async leak detector  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11598">vitest-dev/vitest#11598</a>
<a href="https://github.com/vitest-dev/vitest/commit/fe86a64c6"><!-- raw
HTML omitted -->(fe86a)<!-- raw HTML omitted --></a></li>
<li>Keep the import frame in native loader errors  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11599">vitest-dev/vitest#11599</a>
<a href="https://github.com/vitest-dev/vitest/commit/9697b3894"><!-- raw
HTML omitted -->(9697b)<!-- raw HTML omitted --></a></li>
<li>Run hook cleanups when a later hook fails  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11605">vitest-dev/vitest#11605</a>
<a href="https://github.com/vitest-dev/vitest/commit/6c5a44720"><!-- raw
HTML omitted -->(6c5a4)<!-- raw HTML omitted --></a></li>
<li>Release mocks of finished test files  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11607">vitest-dev/vitest#11607</a>
<a href="https://github.com/vitest-dev/vitest/commit/e9c3d72f0"><!-- raw
HTML omitted -->(e9c3d)<!-- raw HTML omitted --></a></li>
<li>Abort all running tests on cancel  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11606">vitest-dev/vitest#11606</a>
<a href="https://github.com/vitest-dev/vitest/commit/6621a72d6"><!-- raw
HTML omitted -->(6621a)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Ignore synthetic pagehide events  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11582">vitest-dev/vitest#11582</a>
<a href="https://github.com/vitest-dev/vitest/commit/ca0813584"><!-- raw
HTML omitted -->(ca081)<!-- raw HTML omitted --></a></li>
<li>Run plugin buildStart on server creation  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11593">vitest-dev/vitest#11593</a>
<a href="https://github.com/vitest-dev/vitest/commit/ea611e44c"><!-- raw
HTML omitted -->(ea611)<!-- raw HTML omitted --></a></li>
<li>Drop late connections of closed sessions  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11600">vitest-dev/vitest#11600</a>
<a href="https://github.com/vitest-dev/vitest/commit/f161e6df2"><!-- raw
HTML omitted -->(f161e)<!-- raw HTML omitted --></a></li>
<li>Wait 30s for the browser to close  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11601">vitest-dev/vitest#11601</a>
<a href="https://github.com/vitest-dev/vitest/commit/6498b666a"><!-- raw
HTML omitted -->(6498b)<!-- raw HTML omitted --></a></li>
<li>Run global setup once with instances  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11596">vitest-dev/vitest#11596</a>
<a href="https://github.com/vitest-dev/vitest/commit/8dd67c262"><!-- raw
HTML omitted -->(8dd67)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>reporter</strong>:
<ul>
<li>End reason
<code>&amp;[#39](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/39);failed&amp;[#39](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/39);</code>
on worker crash  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11568">vitest-dev/vitest#11568</a>
<a href="https://github.com/vitest-dev/vitest/commit/6ae8e89ff"><!-- raw
HTML omitted -->(6ae8e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v5.0.4...v5.0.5">View
changes on GitHub</a></h5>
<h2>v5.0.4</h2>
<h3>   🚀 Features</h3>
<ul>
<li><strong>experimental</strong>:
<ul>
<li>Tag cache directories with CACHEDIR.TAG  -  by <a
href="https://github.com/lifeiscontent"><code>@​lifeiscontent</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11461">vitest-dev/vitest#11461</a>
<a href="https://github.com/vitest-dev/vitest/commit/a8ea3c8fd"><!-- raw
HTML omitted -->(a8ea3)<!-- raw HTML omitted --></a></li>
<li>Support <code>test.ui.theme</code> option  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11499">vitest-dev/vitest#11499</a>
<a href="https://github.com/vitest-dev/vitest/commit/1da66405d"><!-- raw
HTML omitted -->(1da66)<!-- raw HTML omitted --></a></li>
<li>Highlight selector multiple matches in trace view  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude Opus 5.5</strong> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11489">vitest-dev/vitest#11489</a>
<a href="https://github.com/vitest-dev/vitest/commit/5abba1e1b"><!-- raw
HTML omitted -->(5abba)<!-- raw HTML omitted --></a></li>
<li>Print how many tests were affected and a total when running
<code>--changed</code>  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11424">vitest-dev/vitest#11424</a>
<a href="https://github.com/vitest-dev/vitest/commit/a23368585"><!-- raw
HTML omitted -->(a2336)<!-- raw HTML omitted --></a></li>
<li>Add an option to cache dependencies instead of statically parsing
them  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11515">vitest-dev/vitest#11515</a>
<a href="https://github.com/vitest-dev/vitest/commit/c06012ac8"><!-- raw
HTML omitted -->(c0601)<!-- raw HTML omitted --></a></li>
<li>Add fit and zoom controls to trace viewer  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude Opus 5.5</strong> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11490">vitest-dev/vitest#11490</a>
<a href="https://github.com/vitest-dev/vitest/commit/f5dd99ed0"><!-- raw
HTML omitted -->(f5dd9)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Fail the run on git and location filter errors  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11430">vitest-dev/vitest#11430</a>
<a href="https://github.com/vitest-dev/vitest/commit/30d0304d2"><!-- raw
HTML omitted -->(30d03)<!-- raw HTML omitted --></a></li>
<li>Enable fsModuleCache by default  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11435">vitest-dev/vitest#11435</a>
<a href="https://github.com/vitest-dev/vitest/commit/ad208cc29"><!-- raw
HTML omitted -->(ad208)<!-- raw HTML omitted --></a></li>
<li>Track project files and mocks with --changed  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11432">vitest-dev/vitest#11432</a>
<a href="https://github.com/vitest-dev/vitest/commit/b0f2b3bb9"><!-- raw
HTML omitted -->(b0f2b)<!-- raw HTML omitted --></a></li>
<li>Refactor caching, fix <code>:</code> in project and change the shape
of <code>results</code> cache  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11453">vitest-dev/vitest#11453</a>
<a href="https://github.com/vitest-dev/vitest/commit/9673c49a4"><!-- raw
HTML omitted -->(9673c)<!-- raw HTML omitted --></a></li>
<li>Keep full <code>$</code> string values when
<code>taskTitleValueFormatTruncate</code> is 0  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude Opus 5.5</strong> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11485">vitest-dev/vitest#11485</a>
<a href="https://github.com/vitest-dev/vitest/commit/4f7e1799b"><!-- raw
HTML omitted -->(4f7e1)<!-- raw HTML omitted --></a></li>
<li>Resolve node builtins in client environments  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11417">vitest-dev/vitest#11417</a>
<a href="https://github.com/vitest-dev/vitest/commit/56b319ac6"><!-- raw
HTML omitted -->(56b31)<!-- raw HTML omitted --></a></li>
<li>Fix module graph builtin externals after <a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11421">#11421</a>
 -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude Opus 5.5</strong> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11491">vitest-dev/vitest#11491</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11421">vitest-dev/vitest#11421</a>
<a href="https://github.com/vitest-dev/vitest/commit/008e184cb"><!-- raw
HTML omitted -->(008e1)<!-- raw HTML omitted --></a></li>
<li>Wrap module mocks during in-source testing  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11505">vitest-dev/vitest#11505</a>
<a href="https://github.com/vitest-dev/vitest/commit/36d19cb00"><!-- raw
HTML omitted -->(36d19)<!-- raw HTML omitted --></a></li>
<li>Handle line endings in snapshot  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11522">vitest-dev/vitest#11522</a>
<a href="https://github.com/vitest-dev/vitest/commit/4c468aa40"><!-- raw
HTML omitted -->(4c468)<!-- raw HTML omitted --></a></li>
<li>Respect root in projects  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11521">vitest-dev/vitest#11521</a>
<a href="https://github.com/vitest-dev/vitest/commit/26642f793"><!-- raw
HTML omitted -->(26642)<!-- raw HTML omitted --></a></li>
<li>Resolve mocks in directories with spaces  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11539">vitest-dev/vitest#11539</a>
<a href="https://github.com/vitest-dev/vitest/commit/caaef9416"><!-- raw
HTML omitted -->(caaef)<!-- raw HTML omitted --></a></li>
<li><strong>api</strong>:
<ul>
<li>Publish the api token atomically  -  by <a
href="https://github.com/umairnawaz333"><code>@​umairnawaz333</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11323">vitest-dev/vitest#11323</a>
<a href="https://github.com/vitest-dev/vitest/commit/6f990fef1"><!-- raw
HTML omitted -->(6f990)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>browser</strong>:</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/7a825db43e2beca0b219d2eadaec334cb81af0c7"><code>7a825db</code></a>
chore: release v5.0.5 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11609">#11609</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/6621a72d6ed371e43f80ff327f5063693bd6b1ad"><code>6621a72</code></a>
fix: abort all running tests on cancel (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11606">#11606</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/e9c3d72f0c8d6867de06a3df43ea28a05eeec444"><code>e9c3d72</code></a>
fix: release mocks of finished test files (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11607">#11607</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/8dd67c2625943d824e257b87ae57a14094e90eed"><code>8dd67c2</code></a>
fix(browser): run global setup once with instances (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11596">#11596</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/6c5a447203a29a0708fbc5de4fb91ea501bdc395"><code>6c5a447</code></a>
fix: run hook cleanups when a later hook fails (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11605">#11605</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/9697b3894f456b85db91f3824ebe833449305c04"><code>9697b38</code></a>
fix: keep the import frame in native loader errors (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11599">#11599</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/6498b666a3ae8961f6f2a8abdc89015b6fd0b3aa"><code>6498b66</code></a>
fix(browser): wait 30s for the browser to close (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11601">#11601</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/f161e6df2b3c0bc84982d374094379139e380791"><code>f161e6d</code></a>
fix(browser): drop late connections of closed sessions (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11600">#11600</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/fe86a64c6c6aa75481bffe5880b5c4e35ea67927"><code>fe86a64</code></a>
fix: skip builtin loading in async leak detector (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11598">#11598</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/6ae8e89ff0734cf476e30186a83aebe6771aa330"><code>6ae8e89</code></a>
fix(reporter): end reason <code>'failed'</code> on worker crash (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11568">#11568</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.0.5/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />

Updates `vitest` from 5.0.3 to 5.0.5
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.5</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Keep vite default <code>fs.deny</code> with api token file  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude Opus 5.5</strong> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11578">vitest-dev/vitest#11578</a>
<a href="https://github.com/vitest-dev/vitest/commit/28dc1edfb"><!-- raw
HTML omitted -->(28dc1)<!-- raw HTML omitted --></a></li>
<li>Handle quoted file names in <code>--changed</code>  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11583">vitest-dev/vitest#11583</a>
<a href="https://github.com/vitest-dev/vitest/commit/14921e962"><!-- raw
HTML omitted -->(14921)<!-- raw HTML omitted --></a></li>
<li>Add <code>data</code> to the <code>import.meta.hot</code> stub  - 
by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11590">vitest-dev/vitest#11590</a>
<a href="https://github.com/vitest-dev/vitest/commit/3a8289ac3"><!-- raw
HTML omitted -->(3a828)<!-- raw HTML omitted --></a></li>
<li>Set <code>skip</code> in <code>skipIf</code>, ignore
<code>undefined</code> options  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11591">vitest-dev/vitest#11591</a>
<a href="https://github.com/vitest-dev/vitest/commit/d523a15f2"><!-- raw
HTML omitted -->(d523a)<!-- raw HTML omitted --></a></li>
<li>Skip builtin loading in async leak detector  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11598">vitest-dev/vitest#11598</a>
<a href="https://github.com/vitest-dev/vitest/commit/fe86a64c6"><!-- raw
HTML omitted -->(fe86a)<!-- raw HTML omitted --></a></li>
<li>Keep the import frame in native loader errors  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11599">vitest-dev/vitest#11599</a>
<a href="https://github.com/vitest-dev/vitest/commit/9697b3894"><!-- raw
HTML omitted -->(9697b)<!-- raw HTML omitted --></a></li>
<li>Run hook cleanups when a later hook fails  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11605">vitest-dev/vitest#11605</a>
<a href="https://github.com/vitest-dev/vitest/commit/6c5a44720"><!-- raw
HTML omitted -->(6c5a4)<!-- raw HTML omitted --></a></li>
<li>Release mocks of finished test files  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11607">vitest-dev/vitest#11607</a>
<a href="https://github.com/vitest-dev/vitest/commit/e9c3d72f0"><!-- raw
HTML omitted -->(e9c3d)<!-- raw HTML omitted --></a></li>
<li>Abort all running tests on cancel  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11606">vitest-dev/vitest#11606</a>
<a href="https://github.com/vitest-dev/vitest/commit/6621a72d6"><!-- raw
HTML omitted -->(6621a)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Ignore synthetic pagehide events  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11582">vitest-dev/vitest#11582</a>
<a href="https://github.com/vitest-dev/vitest/commit/ca0813584"><!-- raw
HTML omitted -->(ca081)<!-- raw HTML omitted --></a></li>
<li>Run plugin buildStart on server creation  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11593">vitest-dev/vitest#11593</a>
<a href="https://github.com/vitest-dev/vitest/commit/ea611e44c"><!-- raw
HTML omitted -->(ea611)<!-- raw HTML omitted --></a></li>
<li>Drop late connections of closed sessions  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11600">vitest-dev/vitest#11600</a>
<a href="https://github.com/vitest-dev/vitest/commit/f161e6df2"><!-- raw
HTML omitted -->(f161e)<!-- raw HTML omitted --></a></li>
<li>Wait 30s for the browser to close  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11601">vitest-dev/vitest#11601</a>
<a href="https://github.com/vitest-dev/vitest/commit/6498b666a"><!-- raw
HTML omitted -->(6498b)<!-- raw HTML omitted --></a></li>
<li>Run global setup once with instances  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11596">vitest-dev/vitest#11596</a>
<a href="https://github.com/vitest-dev/vitest/commit/8dd67c262"><!-- raw
HTML omitted -->(8dd67)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>reporter</strong>:
<ul>
<li>End reason
<code>&amp;[#39](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/39);failed&amp;[#39](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/39);</code>
on worker crash  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11568">vitest-dev/vitest#11568</a>
<a href="https://github.com/vitest-dev/vitest/commit/6ae8e89ff"><!-- raw
HTML omitted -->(6ae8e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v5.0.4...v5.0.5">View
changes on GitHub</a></h5>
<h2>v5.0.4</h2>
<h3>   🚀 Features</h3>
<ul>
<li><strong>experimental</strong>:
<ul>
<li>Tag cache directories with CACHEDIR.TAG  -  by <a
href="https://github.com/lifeiscontent"><code>@​lifeiscontent</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11461">vitest-dev/vitest#11461</a>
<a href="https://github.com/vitest-dev/vitest/commit/a8ea3c8fd"><!-- raw
HTML omitted -->(a8ea3)<!-- raw HTML omitted --></a></li>
<li>Support <code>test.ui.theme</code> option  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11499">vitest-dev/vitest#11499</a>
<a href="https://github.com/vitest-dev/vitest/commit/1da66405d"><!-- raw
HTML omitted -->(1da66)<!-- raw HTML omitted --></a></li>
<li>Highlight selector multiple matches in trace view  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude Opus 5.5</strong> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11489">vitest-dev/vitest#11489</a>
<a href="https://github.com/vitest-dev/vitest/commit/5abba1e1b"><!-- raw
HTML omitted -->(5abba)<!-- raw HTML omitted --></a></li>
<li>Print how many tests were affected and a total when running
<code>--changed</code>  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11424">vitest-dev/vitest#11424</a>
<a href="https://github.com/vitest-dev/vitest/commit/a23368585"><!-- raw
HTML omitted -->(a2336)<!-- raw HTML omitted --></a></li>
<li>Add an option to cache dependencies instead of statically parsing
them  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11515">vitest-dev/vitest#11515</a>
<a href="https://github.com/vitest-dev/vitest/commit/c06012ac8"><!-- raw
HTML omitted -->(c0601)<!-- raw HTML omitted --></a></li>
<li>Add fit and zoom controls to trace viewer  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude Opus 5.5</strong> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11490">vitest-dev/vitest#11490</a>
<a href="https://github.com/vitest-dev/vitest/commit/f5dd99ed0"><!-- raw
HTML omitted -->(f5dd9)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Fail the run on git and location filter errors  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11430">vitest-dev/vitest#11430</a>
<a href="https://github.com/vitest-dev/vitest/commit/30d0304d2"><!-- raw
HTML omitted -->(30d03)<!-- raw HTML omitted --></a></li>
<li>Enable fsModuleCache by default  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11435">vitest-dev/vitest#11435</a>
<a href="https://github.com/vitest-dev/vitest/commit/ad208cc29"><!-- raw
HTML omitted -->(ad208)<!-- raw HTML omitted --></a></li>
<li>Track project files and mocks with --changed  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11432">vitest-dev/vitest#11432</a>
<a href="https://github.com/vitest-dev/vitest/commit/b0f2b3bb9"><!-- raw
HTML omitted -->(b0f2b)<!-- raw HTML omitted --></a></li>
<li>Refactor caching, fix <code>:</code> in project and change the shape
of <code>results</code> cache  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11453">vitest-dev/vitest#11453</a>
<a href="https://github.com/vitest-dev/vitest/commit/9673c49a4"><!-- raw
HTML omitted -->(9673c)<!-- raw HTML omitted --></a></li>
<li>Keep full <code>$</code> string values when
<code>taskTitleValueFormatTruncate</code> is 0  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude Opus 5.5</strong> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11485">vitest-dev/vitest#11485</a>
<a href="https://github.com/vitest-dev/vitest/commit/4f7e1799b"><!-- raw
HTML omitted -->(4f7e1)<!-- raw HTML omitted --></a></li>
<li>Resolve node builtins in client environments  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11417">vitest-dev/vitest#11417</a>
<a href="https://github.com/vitest-dev/vitest/commit/56b319ac6"><!-- raw
HTML omitted -->(56b31)<!-- raw HTML omitted --></a></li>
<li>Fix module graph builtin externals after <a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11421">#11421</a>
 -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude Opus 5.5</strong> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11491">vitest-dev/vitest#11491</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11421">vitest-dev/vitest#11421</a>
<a href="https://github.com/vitest-dev/vitest/commit/008e184cb"><!-- raw
HTML omitted -->(008e1)<!-- raw HTML omitted --></a></li>
<li>Wrap module mocks during in-source testing  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11505">vitest-dev/vitest#11505</a>
<a href="https://github.com/vitest-dev/vitest/commit/36d19cb00"><!-- raw
HTML omitted -->(36d19)<!-- raw HTML omitted --></a></li>
<li>Handle line endings in snapshot  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11522">vitest-dev/vitest#11522</a>
<a href="https://github.com/vitest-dev/vitest/commit/4c468aa40"><!-- raw
HTML omitted -->(4c468)<!-- raw HTML omitted --></a></li>
<li>Respect root in projects  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11521">vitest-dev/vitest#11521</a>
<a href="https://github.com/vitest-dev/vitest/commit/26642f793"><!-- raw
HTML omitted -->(26642)<!-- raw HTML omitted --></a></li>
<li>Resolve mocks in directories with spaces  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11539">vitest-dev/vitest#11539</a>
<a href="https://github.com/vitest-dev/vitest/commit/caaef9416"><!-- raw
HTML omitted -->(caaef)<!-- raw HTML omitted --></a></li>
<li><strong>api</strong>:
<ul>
<li>Publish the api token atomically  -  by <a
href="https://github.com/umairnawaz333"><code>@​umairnawaz333</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11323">vitest-dev/vitest#11323</a>
<a href="https://github.com/vitest-dev/vitest/commit/6f990fef1"><!-- raw
HTML omitted -->(6f990)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>browser</strong>:</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/7a825db43e2beca0b219d2eadaec334cb81af0c7"><code>7a825db</code></a>
chore: release v5.0.5 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11609">#11609</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/6621a72d6ed371e43f80ff327f5063693bd6b1ad"><code>6621a72</code></a>
fix: abort all running tests on cancel (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11606">#11606</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/e9c3d72f0c8d6867de06a3df43ea28a05eeec444"><code>e9c3d72</code></a>
fix: release mocks of finished test files (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11607">#11607</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/8dd67c2625943d824e257b87ae57a14094e90eed"><code>8dd67c2</code></a>
fix(browser): run global setup once with instances (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11596">#11596</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/6c5a447203a29a0708fbc5de4fb91ea501bdc395"><code>6c5a447</code></a>
fix: run hook cleanups when a later hook fails (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11605">#11605</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/9697b3894f456b85db91f3824ebe833449305c04"><code>9697b38</code></a>
fix: keep the import frame in native loader errors (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11599">#11599</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/6498b666a3ae8961f6f2a8abdc89015b6fd0b3aa"><code>6498b66</code></a>
fix(browser): wait 30s for the browser to close (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11601">#11601</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/f161e6df2b3c0bc84982d374094379139e380791"><code>f161e6d</code></a>
fix(browser): drop late connections of closed sessions (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11600">#11600</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/fe86a64c6c6aa75481bffe5880b5c4e35ea67927"><code>fe86a64</code></a>
fix: skip builtin loading in async leak detector (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11598">#11598</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/6ae8e89ff0734cf476e30186a83aebe6771aa330"><code>6ae8e89</code></a>
fix(reporter): end reason <code>'failed'</code> on worker crash (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11568">#11568</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.0.5/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />

Updates `headroom-ai` from 0.40.0 to 0.41.0

Updates `vitest` from 5.0.3 to 5.0.5
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.5</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Keep vite default <code>fs.deny</code> with api token file  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude Opus 5.5</strong> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11578">vitest-dev/vitest#11578</a>
<a href="https://github.com/vitest-dev/vitest/commit/28dc1edfb"><!-- raw
HTML omitted -->(28dc1)<!-- raw HTML omitted --></a></li>
<li>Handle quoted file names in <code>--changed</code>  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11583">vitest-dev/vitest#11583</a>
<a href="https://github.com/vitest-dev/vitest/commit/14921e962"><!-- raw
HTML omitted -->(14921)<!-- raw HTML omitted --></a></li>
<li>Add <code>data</code> to the <code>import.meta.hot</code> stub  - 
by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11590">vitest-dev/vitest#11590</a>
<a href="https://github.com/vitest-dev/vitest/commit/3a8289ac3"><!-- raw
HTML omitted -->(3a828)<!-- raw HTML omitted --></a></li>
<li>Set <code>skip</code> in <code>skipIf</code>, ignore
<code>undefined</code> options  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11591">vitest-dev/vitest#11591</a>
<a href="https://github.com/vitest-dev/vitest/commit/d523a15f2"><!-- raw
HTML omitted -->(d523a)<!-- raw HTML omitted --></a></li>
<li>Skip builtin loading in async leak detector  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11598">vitest-dev/vitest#11598</a>
<a href="https://github.com/vitest-dev/vitest/commit/fe86a64c6"><!-- raw
HTML omitted -->(fe86a)<!-- raw HTML omitted --></a></li>
<li>Keep the import frame in native loader errors  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11599">vitest-dev/vitest#11599</a>
<a href="https://github.com/vitest-dev/vitest/commit/9697b3894"><!-- raw
HTML omitted -->(9697b)<!-- raw HTML omitted --></a></li>
<li>Run hook cleanups when a later hook fails  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11605">vitest-dev/vitest#11605</a>
<a href="https://github.com/vitest-dev/vitest/commit/6c5a44720"><!-- raw
HTML omitted -->(6c5a4)<!-- raw HTML omitted --></a></li>
<li>Release mocks of finished test files  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11607">vitest-dev/vitest#11607</a>
<a href="https://github.com/vitest-dev/vitest/commit/e9c3d72f0"><!-- raw
HTML omitted -->(e9c3d)<!-- raw HTML omitted --></a></li>
<li>Abort all running tests on cancel  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11606">vitest-dev/vitest#11606</a>
<a href="https://github.com/vitest-dev/vitest/commit/6621a72d6"><!-- raw
HTML omitted -->(6621a)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Ignore synthetic pagehide events  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11582">vitest-dev/vitest#11582</a>
<a href="https://github.com/vitest-dev/vitest/commit/ca0813584"><!-- raw
HTML omitted -->(ca081)<!-- raw HTML omitted --></a></li>
<li>Run plugin buildStart on server creation  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11593">vitest-dev/vitest#11593</a>
<a href="https://github.com/vitest-dev/vitest/commit/ea611e44c"><!-- raw
HTML omitted -->(ea611)<!-- raw HTML omitted --></a></li>
<li>Drop late connections of closed sessions  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11600">vitest-dev/vitest#11600</a>
<a href="https://github.com/vitest-dev/vitest/commit/f161e6df2"><!-- raw
HTML omitted -->(f161e)<!-- raw HTML omitted --></a></li>
<li>Wait 30s for the browser to close  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11601">vitest-dev/vitest#11601</a>
<a href="https://github.com/vitest-dev/vitest/commit/6498b666a"><!-- raw
HTML omitted -->(6498b)<!-- raw HTML omitted --></a></li>
<li>Run global setup once with instances  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11596">vitest-dev/vitest#11596</a>
<a href="https://github.com/vitest-dev/vitest/commit/8dd67c262"><!-- raw
HTML omitted -->(8dd67)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>reporter</strong>:
<ul>
<li>End reason
<code>&amp;[#39](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/39);failed&amp;[#39](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/39);</code>
on worker crash  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11568">vitest-dev/vitest#11568</a>
<a href="https://github.com/vitest-dev/vitest/commit/6ae8e89ff"><!-- raw
HTML omitted -->(6ae8e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v5.0.4...v5.0.5">View
changes on GitHub</a></h5>
<h2>v5.0.4</h2>
<h3>   🚀 Features</h3>
<ul>
<li><strong>experimental</strong>:
<ul>
<li>Tag cache directories with CACHEDIR.TAG  -  by <a
href="https://github.com/lifeiscontent"><code>@​lifeiscontent</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11461">vitest-dev/vitest#11461</a>
<a href="https://github.com/vitest-dev/vitest/commit/a8ea3c8fd"><!-- raw
HTML omitted -->(a8ea3)<!-- raw HTML omitted --></a></li>
<li>Support <code>test.ui.theme</code> option  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11499">vitest-dev/vitest#11499</a>
<a href="https://github.com/vitest-dev/vitest/commit/1da66405d"><!-- raw
HTML omitted -->(1da66)<!-- raw HTML omitted --></a></li>
<li>Highlight selector multiple matches in trace view  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude Opus 5.5</strong> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11489">vitest-dev/vitest#11489</a>
<a href="https://github.com/vitest-dev/vitest/commit/5abba1e1b"><!-- raw
HTML omitted -->(5abba)<!-- raw HTML omitted --></a></li>
<li>Print how many tests were affected and a total when running
<code>--changed</code>  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11424">vitest-dev/vitest#11424</a>
<a href="https://github.com/vitest-dev/vitest/commit/a23368585"><!-- raw
HTML omitted -->(a2336)<!-- raw HTML omitted --></a></li>
<li>Add an option to cache dependencies instead of statically parsing
them  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11515">vitest-dev/vitest#11515</a>
<a href="https://github.com/vitest-dev/vitest/commit/c06012ac8"><!-- raw
HTML omitted -->(c0601)<!-- raw HTML omitted --></a></li>
<li>Add fit and zoom controls to trace viewer  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude Opus 5.5</strong> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11490">vitest-dev/vitest#11490</a>
<a href="https://github.com/vitest-dev/vitest/commit/f5dd99ed0"><!-- raw
HTML omitted -->(f5dd9)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Fail the run on git and location filter errors  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11430">vitest-dev/vitest#11430</a>
<a href="https://github.com/vitest-dev/vitest/commit/30d0304d2"><!-- raw
HTML omitted -->(30d03)<!-- raw HTML omitted --></a></li>
<li>Enable fsModuleCache by default  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11435">vitest-dev/vitest#11435</a>
<a href="https://github.com/vitest-dev/vitest/commit/ad208cc29"><!-- raw
HTML omitted -->(ad208)<!-- raw HTML omitted --></a></li>
<li>Track project files and mocks with --changed  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11432">vitest-dev/vitest#11432</a>
<a href="https://github.com/vitest-dev/vitest/commit/b0f2b3bb9"><!-- raw
HTML omitted -->(b0f2b)<!-- raw HTML omitted --></a></li>
<li>Refactor caching, fix <code>:</code> in project and change the shape
of <code>results</code> cache  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11453">vitest-dev/vitest#11453</a>
<a href="https://github.com/vitest-dev/vitest/commit/9673c49a4"><!-- raw
HTML omitted -->(9673c)<!-- raw HTML omitted --></a></li>
<li>Keep full <code>$</code> string values when
<code>taskTitleValueFormatTruncate</code> is 0  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude Opus 5.5</strong> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11485">vitest-dev/vitest#11485</a>
<a href="https://github.com/vitest-dev/vitest/commit/4f7e1799b"><!-- raw
HTML omitted -->(4f7e1)<!-- raw HTML omitted --></a></li>
<li>Resolve node builtins in client environments  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11417">vitest-dev/vitest#11417</a>
<a href="https://github.com/vitest-dev/vitest/commit/56b319ac6"><!-- raw
HTML omitted -->(56b31)<!-- raw HTML omitted --></a></li>
<li>Fix module graph builtin externals after <a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11421">#11421</a>
 -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude Opus 5.5</strong> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11491">vitest-dev/vitest#11491</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11421">vitest-dev/vitest#11421</a>
<a href="https://github.com/vitest-dev/vitest/commit/008e184cb"><!-- raw
HTML omitted -->(008e1)<!-- raw HTML omitted --></a></li>
<li>Wrap module mocks during in-source testing  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11505">vitest-dev/vitest#11505</a>
<a href="https://github.com/vitest-dev/vitest/commit/36d19cb00"><!-- raw
HTML omitted -->(36d19)<!-- raw HTML omitted --></a></li>
<li>Handle line endings in snapshot  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11522">vitest-dev/vitest#11522</a>
<a href="https://github.com/vitest-dev/vitest/commit/4c468aa40"><!-- raw
HTML omitted -->(4c468)<!-- raw HTML omitted --></a></li>
<li>Respect root in projects  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11521">vitest-dev/vitest#11521</a>
<a href="https://github.com/vitest-dev/vitest/commit/26642f793"><!-- raw
HTML omitted -->(26642)<!-- raw HTML omitted --></a></li>
<li>Resolve mocks in directories with spaces  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11539">vitest-dev/vitest#11539</a>
<a href="https://github.com/vitest-dev/vitest/commit/caaef9416"><!-- raw
HTML omitted -->(caaef)<!-- raw HTML omitted --></a></li>
<li><strong>api</strong>:
<ul>
<li>Publish the api token atomically  -  by <a
href="https://github.com/umairnawaz333"><code>@​umairnawaz333</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11323">vitest-dev/vitest#11323</a>
<a href="https://github.com/vitest-dev/vitest/commit/6f990fef1"><!-- raw
HTML omitted -->(6f990)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>browser</strong>:</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/7a825db43e2beca0b219d2eadaec334cb81af0c7"><code>7a825db</code></a>
chore: release v5.0.5 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11609">#11609</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/6621a72d6ed371e43f80ff327f5063693bd6b1ad"><code>6621a72</code></a>
fix: abort all running tests on cancel (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11606">#11606</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/e9c3d72f0c8d6867de06a3df43ea28a05eeec444"><code>e9c3d72</code></a>
fix: release mocks of finished test files (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11607">#11607</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/8dd67c2625943d824e257b87ae57a14094e90eed"><code>8dd67c2</code></a>
fix(browser): run global setup once with instances (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11596">#11596</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/6c5a447203a29a0708fbc5de4fb91ea501bdc395"><code>6c5a447</code></a>
fix: run hook cleanups when a later hook fails (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11605">#11605</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/9697b3894f456b85db91f3824ebe833449305c04"><code>9697b38</code></a>
fix: keep the import frame in native loader errors (<a
href="https://git...

_Description has been truncated_

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-27 17:28:32 -07:00
JD Davisandgithub-actions[bot] 17d38e5699 chore: release 0.42.0 (#4228)
🤖 I have created a release *beep* *boop*
---


##
[0.42.0](https://github.com/headroomlabs-ai/headroom/compare/v0.41.0...v0.42.0)
(2026-10-26)


### Features

* **pipeline:** put per-request saved tokens on OutcomeSnapshot
([#4231](https://github.com/headroomlabs-ai/headroom/issues/4231))
([8cedf7b](https://github.com/headroomlabs-ai/headroom/commit/8cedf7be4decfb3a0da42e4e955b6a3301a66dc9))
* **proxy:** let turn hooks rewrite OpenAI Responses requests on HTTP
and WebSocket
([#4232](https://github.com/headroomlabs-ai/headroom/issues/4232))
([fbf7bc3](https://github.com/headroomlabs-ai/headroom/commit/fbf7bc3278c11975299b9bd0a2ecf200dfd25a05))
* **proxy:** report the same tool savings on gateway /v1/compress as the
proxy path
([#4467](https://github.com/headroomlabs-ai/headroom/issues/4467))
([a904210](https://github.com/headroomlabs-ai/headroom/commit/a90421083a781990b877d34fdaba0bc1b6cf6c4d))
* **savings:** add the per-request counterfactual savings record
([#4236](https://github.com/headroomlabs-ai/headroom/issues/4236))
([2912b7b](https://github.com/headroomlabs-ai/headroom/commit/2912b7b620d7abd39828db73e4f326b9a041d309))


### Bug Fixes

* **batch:** preserve live contexts during capacity cleanup
([#4210](https://github.com/headroomlabs-ai/headroom/issues/4210))
([2cbdd22](https://github.com/headroomlabs-ai/headroom/commit/2cbdd22a65789676d9ebbd9e2b6a908e7f8fad95))
* **batch:** preserve native Gemini continuation tools
([#4211](https://github.com/headroomlabs-ai/headroom/issues/4211))
([8757458](https://github.com/headroomlabs-ai/headroom/commit/875745889ff065208d3a32aa583881468ae7c41d))
* **cache:** bound the router's compression cache, keep the rest in
SQLite
([#4357](https://github.com/headroomlabs-ai/headroom/issues/4357))
([b196424](https://github.com/headroomlabs-ai/headroom/commit/b196424e35df0afc0c8576aea1950ed16b00e027))
* **cache:** keep indented lines intact in OpenAI whitespace
normalization
([#4343](https://github.com/headroomlabs-ai/headroom/issues/4343))
([2480100](https://github.com/headroomlabs-ai/headroom/commit/248010091578e1f05ebcf65c8146bb57f9fb4e00))
* **cache:** keep prefix-tracker state across a graceful proxy restart
([#4299](https://github.com/headroomlabs-ai/headroom/issues/4299))
([62b3bed](https://github.com/headroomlabs-ai/headroom/commit/62b3bedaba988de87e38b1a58c11d28baaba7dbf))
* **ccr:** recognize client-owned MCP retrieval aliases
([#4165](https://github.com/headroomlabs-ai/headroom/issues/4165))
([89545fb](https://github.com/headroomlabs-ai/headroom/commit/89545fbdf3873f75461f71a03c89b1f9c64d650d))
* **ccr:** stream the buffered CCR upstream request so idle-killing
networks cannot cut it
([#4206](https://github.com/headroomlabs-ai/headroom/issues/4206))
([ca6ba34](https://github.com/headroomlabs-ai/headroom/commit/ca6ba3486c09badecb1bfe99ddabf562c9f01c77))
* **ci:** pin checkout in release notification smoke workflow
([#4399](https://github.com/headroomlabs-ai/headroom/issues/4399))
([70273db](https://github.com/headroomlabs-ai/headroom/commit/70273db0af392e8f971d42e21484656676255d0b))
* **copilot:** detect COPILOT_API_URL in cli-main.js for Copilot CLI
&gt;= 1.0.93
([#4450](https://github.com/headroomlabs-ai/headroom/issues/4450))
([043fe09](https://github.com/headroomlabs-ai/headroom/commit/043fe09d8c620201045619bcbcd88e26e2c6e71f))
* **copilot:** preserve native inline OAuth identity
([#4144](https://github.com/headroomlabs-ai/headroom/issues/4144))
([ad62166](https://github.com/headroomlabs-ai/headroom/commit/ad62166ba3056e5b98fc5bfee19f0c9b6c316e8d))
* **deps:** bump rustls to 0.23.46 for RUSTSEC-2026-0346..0349
([#4222](https://github.com/headroomlabs-ai/headroom/issues/4222))
([132dbc7](https://github.com/headroomlabs-ai/headroom/commit/132dbc76995cdbecc25b4f647dbf919351cd5f7f))
* **deps:** patch OpenClaw Undici and narrow E2E audit exceptions
([#4453](https://github.com/headroomlabs-ai/headroom/issues/4453))
([1be699f](https://github.com/headroomlabs-ai/headroom/commit/1be699f68ee884c5c319cee9841ca304e448873c))
* **deps:** require hf-xet&gt;=1.6.0 so a Hub download can't crash
Python at exit
([#4192](https://github.com/headroomlabs-ai/headroom/issues/4192))
([9e5dac7](https://github.com/headroomlabs-ai/headroom/commit/9e5dac7c74979abd8d1b9ad9615443b76e42b530))
* **deps:** require mcp&gt;=1.30.0 for CVE-2026-59951
([#4239](https://github.com/headroomlabs-ai/headroom/issues/4239))
([2f7a83a](https://github.com/headroomlabs-ai/headroom/commit/2f7a83a91d3ca33a79b5c41b8095f6454b5bfb43))
* **gateway:** keep input_includes_cache when re-drive usage is merged
([#4423](https://github.com/headroomlabs-ai/headroom/issues/4423))
([3f94144](https://github.com/headroomlabs-ai/headroom/commit/3f941446bfbeb0b66cf6eb4a1ddf254e17d0c2a4))
* **gemini:** keep snake_case inline_data and function parts when
compressing
([#4290](https://github.com/headroomlabs-ai/headroom/issues/4290))
([4bf1bf5](https://github.com/headroomlabs-ai/headroom/commit/4bf1bf55d175ad047c32cc3049aeff51126424c8))
* **image:** clear last_result before each compress() call
([#4341](https://github.com/headroomlabs-ai/headroom/issues/4341))
([19c91a8](https://github.com/headroomlabs-ai/headroom/commit/19c91a870fac09f824001197e72c8929698ea0b8))
* **image:** flatten transparent images onto white before re-encoding as
JPEG ([#4296](https://github.com/headroomlabs-ai/headroom/issues/4296))
([9f5cfcf](https://github.com/headroomlabs-ai/headroom/commit/9f5cfcfd2bb90097f79144ff3821fc7db9fe36d5))
* **install:** keep the HuggingFace cache on a writable mount in Docker
presets
([#4207](https://github.com/headroomlabs-ai/headroom/issues/4207))
([#4209](https://github.com/headroomlabs-ai/headroom/issues/4209))
([7b6cb77](https://github.com/headroomlabs-ai/headroom/commit/7b6cb7790552ac10f0135013337ea4a09a9e951e))
* **kompress:** skip the local model download when a remote endpoint is
set ([#4234](https://github.com/headroomlabs-ai/headroom/issues/4234))
([ff36931](https://github.com/headroomlabs-ai/headroom/commit/ff3693165344410eaf2882209648e504f9d3eaf0))
* **kompress:** time each model-load stage and stop false not-ready
warnings during warm-up
([#4195](https://github.com/headroomlabs-ai/headroom/issues/4195))
([89b229c](https://github.com/headroomlabs-ai/headroom/commit/89b229ce5feaeb8710f4e226a47697426231ca55))
* **learn:** anchor the managed block on its last start marker, append
when no end marker
([#4342](https://github.com/headroomlabs-ai/headroom/issues/4342))
([45dacc1](https://github.com/headroomlabs-ai/headroom/commit/45dacc1f94a4343c76a6e257143d22d67dc713f0))
* **learn:** keep the digest's loop section inside its budget
([#4269](https://github.com/headroomlabs-ai/headroom/issues/4269))
([506ba16](https://github.com/headroomlabs-ai/headroom/commit/506ba16c4a7f231b177d28066bcda389133a5e91))
* **logs:** count omitted levels from dropped lines
([#4141](https://github.com/headroomlabs-ai/headroom/issues/4141))
([023dd1b](https://github.com/headroomlabs-ai/headroom/commit/023dd1bc5402dcebf52a5ed3cf6a2a2878a524d9))
* **mcp:** accept the JSONC opencode config that wrap and install
already accept
([#4297](https://github.com/headroomlabs-ai/headroom/issues/4297))
([9202948](https://github.com/headroomlabs-ai/headroom/commit/9202948c1e57a4ab8daa7c00c400605844c19f4f))
* **memory:** bound retrieval queries before embedding
([#4244](https://github.com/headroomlabs-ai/headroom/issues/4244))
([8c07cf4](https://github.com/headroomlabs-ai/headroom/commit/8c07cf4a0fff1b67da1b542dc746b0b4a0e952e6))
* **memory:** ignore incidental cwd prose
([#4166](https://github.com/headroomlabs-ai/headroom/issues/4166))
([3765439](https://github.com/headroomlabs-ai/headroom/commit/37654390b60ccb7658bb96a2f177b8666c7b7273))
* **memory:** log storage and SQLite failures that currently make
retrieval miss silently
([#4111](https://github.com/headroomlabs-ai/headroom/issues/4111))
([4e6e955](https://github.com/headroomlabs-ai/headroom/commit/4e6e955cad0bff318e30bd4f24e934a23f57e9c6))
* **memory:** resolve partial IDs beyond the first 1000 records
([#4389](https://github.com/headroomlabs-ai/headroom/issues/4389))
([c4ea31b](https://github.com/headroomlabs-ai/headroom/commit/c4ea31b156478adde015833074ad7278230b4512))
* **memory:** treat a cwd with no UTF-8 form as unresolved instead of
raising
([#4167](https://github.com/headroomlabs-ai/headroom/issues/4167))
([760c05e](https://github.com/headroomlabs-ai/headroom/commit/760c05e1b0ff8c34443f5d6eba0c4ff36f171eb2))
* **openai:** read Responses cache_write_tokens instead of inferring
writes
([#4237](https://github.com/headroomlabs-ai/headroom/issues/4237))
([4630602](https://github.com/headroomlabs-ai/headroom/commit/46306024e74b3a44aca17fb70c1416f96b2a0b53))
* **openai:** recompress cached Responses units whose CCR entries
expired
([#4146](https://github.com/headroomlabs-ai/headroom/issues/4146))
([8f7b419](https://github.com/headroomlabs-ai/headroom/commit/8f7b41998076727d08e5db4ee57c8bd579988c30))
* **opencode:** do not rewrite an OpenCode config that fails to parse
([#4424](https://github.com/headroomlabs-ai/headroom/issues/4424))
([0fe0a59](https://github.com/headroomlabs-ai/headroom/commit/0fe0a597c1929bcb4a7372e6689fd62410bad9d2))
* **opencode:** restore process env keys on transport dispose
([#4430](https://github.com/headroomlabs-ai/headroom/issues/4430))
([d17bac8](https://github.com/headroomlabs-ai/headroom/commit/d17bac8d64dd74ade81638ac7170715851c9704b))
* **pricing:** suppress litellm's Provider List banner that corrupts
perf JSON
([#4197](https://github.com/headroomlabs-ai/headroom/issues/4197))
([e01ad35](https://github.com/headroomlabs-ai/headroom/commit/e01ad350dc71d44f1a4e07df5ea4e45fa39a4773))
* **proxy:** accept HEADROOM_MEMORY_INJECTION_MODE=tool
([#4395](https://github.com/headroomlabs-ai/headroom/issues/4395))
([f89c928](https://github.com/headroomlabs-ai/headroom/commit/f89c9282a8216b8e168c29d85c6f13c5ce7d6301))
* **proxy:** bound per-model state keyed by the client model string
([#4407](https://github.com/headroomlabs-ai/headroom/issues/4407))
([33e5f67](https://github.com/headroomlabs-ai/headroom/commit/33e5f67464286961f37d09298d31c5022d275a32))
* **proxy:** copy cached tool compaction results (hardening)
([#4410](https://github.com/headroomlabs-ai/headroom/issues/4410))
([a256231](https://github.com/headroomlabs-ai/headroom/commit/a25623109d5075276af057e79c3ed3e309906563))
* **proxy:** count output tokens from CRLF-framed SSE streams too
([#4298](https://github.com/headroomlabs-ai/headroom/issues/4298))
([755293d](https://github.com/headroomlabs-ai/headroom/commit/755293dd68d495b6fcec15fd47d324c3ce5eeefa))
* **proxy:** do not rebuild a failed turn-hook re-drive as HTTP 200
([#4398](https://github.com/headroomlabs-ai/headroom/issues/4398))
([f59c8ff](https://github.com/headroomlabs-ai/headroom/commit/f59c8ffcd80f19564cf041d1fa4eb6247f2e1d01))
* **proxy:** drop web_search_call history from a Responses request with
no web_search tool
([#4202](https://github.com/headroomlabs-ai/headroom/issues/4202))
([2a70d12](https://github.com/headroomlabs-ai/headroom/commit/2a70d128195575cbc52129a5287a9a3ccc097744))
* **proxy:** honor bypass header and license gate in Anthropic batch
create
([#4411](https://github.com/headroomlabs-ai/headroom/issues/4411))
([4fd9cdd](https://github.com/headroomlabs-ai/headroom/commit/4fd9cddfd2e9cbbe38ab0b9d3acc6bc6f934a6e2))
* **proxy:** import Response at runtime in the Bedrock handler
([#4397](https://github.com/headroomlabs-ai/headroom/issues/4397))
([51e4ae3](https://github.com/headroomlabs-ai/headroom/commit/51e4ae36a5751fc494c0b583d37e62213e5a08a9))
* **proxy:** judge NAT64 upstream addresses by their embedded IPv4
([#4179](https://github.com/headroomlabs-ai/headroom/issues/4179))
([486afaa](https://github.com/headroomlabs-ai/headroom/commit/486afaac7426fa1d6735fe2ce6ae37630d9d11ae))
* **proxy:** keep in-period costs in the budget ledger when the entry
cap is reached
([#4448](https://github.com/headroomlabs-ai/headroom/issues/4448))
([41c15b3](https://github.com/headroomlabs-ai/headroom/commit/41c15b311cd5ab34d5108569eef4249a60973f96))
* **proxy:** keep negative compression savings across restart
([#4406](https://github.com/headroomlabs-ai/headroom/issues/4406))
([bebe24c](https://github.com/headroomlabs-ai/headroom/commit/bebe24c5ff0e815ac87937d9ecb1633a5091ab64))
* **proxy:** keep tool deferral for GitHub Copilot upstream
([#4356](https://github.com/headroomlabs-ai/headroom/issues/4356))
([217b658](https://github.com/headroomlabs-ai/headroom/commit/217b658845389e32a02760d75886de20d60e2ba3))
* **proxy:** let HEADROOM_LOG_LEVEL=debug turn on Headroom's own debug
logs ([#4137](https://github.com/headroomlabs-ai/headroom/issues/4137))
([00093ce](https://github.com/headroomlabs-ai/headroom/commit/00093ceddcf42c3936a96ea5f280af2d0e1b2e47))
* **proxy:** make handler failures debuggable from the logs
([#4127](https://github.com/headroomlabs-ai/headroom/issues/4127))
([7dc20b6](https://github.com/headroomlabs-ai/headroom/commit/7dc20b6fe027cf262c5e2d0415f0dbb2032ac73b))
* **proxy:** net tools a turn hook adds against the saving it books
([#4057](https://github.com/headroomlabs-ai/headroom/issues/4057))
([85520c2](https://github.com/headroomlabs-ai/headroom/commit/85520c2941ed6b2c4cd4bfd9f747b24227a256aa))
* **proxy:** record a stream the client closes after its terminal event
as completed
([#4286](https://github.com/headroomlabs-ai/headroom/issues/4286))
([762a337](https://github.com/headroomlabs-ai/headroom/commit/762a337bbeba268ae1e172c7a7de1e374231e32c))
* **proxy:** record outcome when a passthrough stream ends mid-character
([#4429](https://github.com/headroomlabs-ai/headroom/issues/4429))
([75cfbba](https://github.com/headroomlabs-ai/headroom/commit/75cfbba91d9bb2ff55df3949eddd4452dd9fb661))
* **proxy:** report disabled Kompress at startup
([#4217](https://github.com/headroomlabs-ai/headroom/issues/4217))
([430ea4f](https://github.com/headroomlabs-ai/headroom/commit/430ea4f4ebaeb0b217e237084963b64775bef24a))
* **proxy:** report read maturation as inert in cache mode
([#4198](https://github.com/headroomlabs-ai/headroom/issues/4198))
([ba82453](https://github.com/headroomlabs-ai/headroom/commit/ba824539d6f80c3e056f299789c1cf079a4693fe))
* **proxy:** show turn-hook savings in /stats extension_savings, incl.
Codex WS
([#4233](https://github.com/headroomlabs-ai/headroom/issues/4233))
([1d112cd](https://github.com/headroomlabs-ai/headroom/commit/1d112cd36c9aee765ec3b550773de0c93c6d79be))
* **proxy:** snapshot the original messages when a turn hook can edit
them ([#4241](https://github.com/headroomlabs-ai/headroom/issues/4241))
([df11f27](https://github.com/headroomlabs-ai/headroom/commit/df11f2749862a0090db11f7fca3e7dc42a75b612))
* **relevance:** load the default embedder from one pinned snapshot
([#4152](https://github.com/headroomlabs-ai/headroom/issues/4152))
([f380692](https://github.com/headroomlabs-ai/headroom/commit/f380692b463637e90de84f1b5cc29c7ae9f7b969))
* **savings:** key a Responses conversation on its thread, not the
shared session
([#4440](https://github.com/headroomlabs-ai/headroom/issues/4440))
([11f743d](https://github.com/headroomlabs-ai/headroom/commit/11f743dd90e9f60cf01805a23514bd06440dd2d2))
* **sdk:** preserve Vercel AI SDK file and image parts through
compression
([#4048](https://github.com/headroomlabs-ai/headroom/issues/4048))
([1668a6c](https://github.com/headroomlabs-ai/headroom/commit/1668a6c0dd73cd8a1b9d7fc5eae297149e8f7d93))
* **security:** restrict the Windows runtime log via NTFS ACL, not just
warn ([#4135](https://github.com/headroomlabs-ai/headroom/issues/4135))
([125a703](https://github.com/headroomlabs-ai/headroom/commit/125a703a65c574e9db809f95eefdc70407e0250e))
* **smart-crusher:** match audit-safe protected_patterns against
unescaped text
([#4294](https://github.com/headroomlabs-ai/headroom/issues/4294))
([e11afdb](https://github.com/headroomlabs-ai/headroom/commit/e11afdbdf8a729e50553681143d0f925b71fcd83))
* **storage:** normalize timezone-aware JSONL time filters
([#4063](https://github.com/headroomlabs-ai/headroom/issues/4063))
([bf34ccf](https://github.com/headroomlabs-ai/headroom/commit/bf34ccf58861a687e814abf1a158885987add9ae))
* **tabular:** pass tables with repeated header names through verbatim
([#4278](https://github.com/headroomlabs-ai/headroom/issues/4278))
([ed3195b](https://github.com/headroomlabs-ai/headroom/commit/ed3195beef1dcfbb0219c2da9b59984167c81c01))
* **telemetry:** give empty-item compressions a stable tool signature
([#4396](https://github.com/headroomlabs-ai/headroom/issues/4396))
([a79def4](https://github.com/headroomlabs-ai/headroom/commit/a79def4dd1b7217a75ce6c4eebd0b06ea3a70c1d))
* **telemetry:** let HEADROOM_TELEMETRY=off stop the anonymous beacon
([#4235](https://github.com/headroomlabs-ai/headroom/issues/4235))
([1a40b3c](https://github.com/headroomlabs-ai/headroom/commit/1a40b3ce67ad9e155ba768e8d05cec4c872c7f99))
* **transforms:** keep the fences of a code block passed through for a
protected tag
([#4292](https://github.com/headroomlabs-ai/headroom/issues/4292))
([02958c6](https://github.com/headroomlabs-ai/headroom/commit/02958c6ffe41a1d3466c21558670875df87384ae))
* **transforms:** log the compression failures that silently become "no
savings"
([#4092](https://github.com/headroomlabs-ai/headroom/issues/4092))
([580cc83](https://github.com/headroomlabs-ai/headroom/commit/580cc83a9a412123040978447a2c9b77c08670b0))
* **zcode:** skip providers that point at the Headroom proxy itself
([#4413](https://github.com/headroomlabs-ai/headroom/issues/4413))
([9ac1b52](https://github.com/headroomlabs-ai/headroom/commit/9ac1b52c2762bbc40d3e459e5f87cd4bbfbde8aa))


### Dependencies

* Bump base64 from 0.22.1 to 0.23.1
([#4029](https://github.com/headroomlabs-ai/headroom/issues/4029))
([8d468d4](https://github.com/headroomlabs-ai/headroom/commit/8d468d455c2e3c195cc2975bbc13e63d6b85ef59))
* Bump ruff from 0.16.8 to 0.17.0 in the pip-minor-patch group across 1
directory
([#4026](https://github.com/headroomlabs-ai/headroom/issues/4026))
([de3f639](https://github.com/headroomlabs-ai/headroom/commit/de3f639803f1f172f65c05c165bfab92c0bec9e8))
* Bump the cargo-minor-patch group across 1 directory with 12 updates
([#4186](https://github.com/headroomlabs-ai/headroom/issues/4186))
([683c9a6](https://github.com/headroomlabs-ai/headroom/commit/683c9a6120c309e84e4848378dbe3891d064f82e))
* Bump the npm-minor-patch group across 2 directories with 16 updates
([#4218](https://github.com/headroomlabs-ai/headroom/issues/4218))
([07c8bbf](https://github.com/headroomlabs-ai/headroom/commit/07c8bbf1edcc143a7fe97b9e29214355cc371a19))
* Bump the npm-minor-patch group across 3 directories with 12 updates
([#4219](https://github.com/headroomlabs-ai/headroom/issues/4219))
([1f71cb3](https://github.com/headroomlabs-ai/headroom/commit/1f71cb3d64e1586c97331a3482aae84558741102))
* Update huggingface-hub requirement from &lt;2.0,&gt;=1.5.0 to
&gt;=1.5.0,&lt;3.0
([#4027](https://github.com/headroomlabs-ai/headroom/issues/4027))
([fcf3db8](https://github.com/headroomlabs-ai/headroom/commit/fcf3db8e70d15aef0d80a561cf5d0e45e918a338))


### Code Refactoring

* **integrations:** share the local/cloud compress backend of asgi and
litellm_callback
([#4124](https://github.com/headroomlabs-ai/headroom/issues/4124))
([58caafb](https://github.com/headroomlabs-ai/headroom/commit/58caafb59b40c00b35ceee6237ef2289df71f25d))
* **transforms:** share one CCR persist helper for the Rust-backed
compressors
([#4094](https://github.com/headroomlabs-ai/headroom/issues/4094))
([ea947ca](https://github.com/headroomlabs-ai/headroom/commit/ea947ca421ee6d6b8f15a9ed522c3a3bea5a3225))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-26 18:03:36 -05:00
Shubham SrivastavaandJerrettDavis 1668a6c0dd fix(sdk): preserve Vercel AI SDK file and image parts through compression (#4048)
## Description

The TypeScript SDK's Vercel AI SDK converters lose or break media:

- **`headroomMiddleware()` / `withHeadroom(model)` drop every image and
document.** The provider prompt the middleware receives
(`params.prompt`) carries media only as `file` parts — in the installed
`@ai-sdk/provider` 4.0.19 a user message is
`Array<LanguageModelV3TextPart | LanguageModelV3FilePart>`; there is no
`image` part at that level. `vercelToOpenAI()` only handles `text` and
`image`, so a `file` part is silently removed and a file-only turn
becomes `content: []`. Because the middleware returns the original
params when compression did not happen, the media is lost exactly when
compression succeeds.
- **`compressVercelMessages()` crashes on binary images.** For
user-level `ModelMessage`s, an `image` part whose data is a `Uint8Array`
(or a bare base64 string) is stringified on the way out
(`"137,80,78,71"`) and `openAIToVercel()` then calls `new URL()` on it:
`TypeError: Invalid URL`, after a successful compression. `file` parts
(e.g. a PDF) are dropped on this path too.

Reproduced through the public `toOpenAI` / `fromOpenAI` on `main`
(`20ce054f`):

```text
prompt: text+file(image/png, bytes) | OpenAI: {"role":"user","content":"what is this?"}   | back: text only
prompt: file-only (application/pdf) | OpenAI: {"role":"user","content":[]}               | back: {"role":"user","content":[]}
message: image as Uint8Array        | OpenAI: image_url.url = "137,80,78,71"              | ROUND TRIP THROWS TypeError: Invalid URL
message: image as base64 string     | OpenAI: image_url.url = "iVBORw0KGgo="              | ROUND TRIP THROWS TypeError: Invalid URL
message: file part (pdf)            | OpenAI: {"role":"user","content":"summarise"}       | back: text only
```

Seven more, found in review (JerrettDavis and the Devin bot,
2026-10-09/14) and fixed here as well:

- **The public `compress()` could not even detect a media-only Vercel
conversation.** `detectFormat` knew Vercel only by `tool-call` /
`tool-result` parts, so a conversation whose only Vercel markers were
`file` / `image` parts was classified as OpenAI and sent as-is — a
`Uint8Array` serialises as `{"0":137,"1":80,…}` on the wire.
- **Assistant file parts were dropped by the explicit converters too.**
AI SDK 6's `AssistantContent` includes `FilePart` (generated media sent
back as history) and this package's peer range is `ai >=6.0.0`, but the
assistant branch of `vercelToOpenAI` kept only text and tool calls.
- **Assistant media was dropped again when converting back to Anthropic
or Gemini.** The first revision's `assistantText` helper kept only the
text of an assistant content array, so an assistant image or file in the
OpenAI shape (e.g. from a Vercel file part) vanished in `fromOpenAI(…,
"anthropic" | "gemini")` even though both targets have media parts.
- **AI SDK 7 / LanguageModelV4 file parts were dropped by the
middleware.** `wrapLanguageModel` in `ai` 7.x hands `transformParams` a
V4 prompt whose `file` parts carry `data` as a tagged union (`{ type:
"data" | "url" | "text" | "reference", … }`), not the bare
bytes/string/URL the converter read, so the attachment vanished before
compression. Provider references were silently removed too.
- **A conversation whose only Anthropic marker is a `document` block was
detected as OpenAI**, so `compress()` skipped the Anthropic converter —
and once detected, the Anthropic user branch dropped the document, since
it only knew images.
- **Adjacent assistant text parts lost their newline join** in the
Anthropic and Gemini reverse converters.
- **Anthropic document sources other than PDF were dropped, and document
fields were lost.** A document with a plain-text source (or a content /
file source) produced no media part — a document-only turn vanished —
and a PDF document came back without its `title`, `context` and
`citations`.

Same bug class as #3439 (Anthropic) and #3882 (Gemini), on the Vercel
adapter, fixed the same way: media becomes OpenAI `image_url` parts the
proxy passes through untouched, with the few facts the OpenAI shape
cannot hold carried on private keys so the reverse conversion rebuilds
the right Vercel part.

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Performance improvement
- [ ] Code refactoring (no functional changes)

## Changes Made

- **`sdk/typescript/src/utils/format.ts`**
- `vercelToOpenAI` user branch (forward): `image` **and** `file` parts
are converted. `Uint8Array` / `ArrayBuffer` / base64-string data →
`image_url` with a `data:<mediaType>;base64,…` URI (the media type
travels inside it; if the part has none, an empty media type is carried
rather than guessed); `URL` objects and URL strings → the URL, with the
part's media type on a private `mime_type` key (the same private key
#3882 introduced for Gemini, so one key serves every converter). A
`file` part additionally carries `part: "file"` and its `filename`.
Unconvertible data (e.g. provider file references) is skipped without
deleting the turn. A turn with media is emitted as an ordered part
array; **text-only turns are unchanged** (still joined into a string).
- **LanguageModelV4 / AI SDK 7 tagged data:** the carrier records the
tag on a private `data_tag` key — `data` and `text` travel as data: URIs
and are restored tagged (base64 inside `data`, decoded text inside
`text`), `url` is restored as a `URL` object inside the tag, and a
`reference` (tagged, or a bare AI SDK 6 `ProviderReference`) is carried
verbatim on a `reference` key with an empty data: URI as the opaque url
and returned untouched instead of being removed. Bare AI SDK 6 inputs
restore bare, so standalone `ModelMessage` handling is unchanged.
- `openAIToVercel` user branch (reverse): a data URI → base64 data plus
its media type; an http(s) URL → a `URL` object (unchanged behaviour,
existing test kept); anything else → left as a string. **Never throws.**
Emits `{ type: "file", mediaType, data, filename? }` when `part ===
"file"` or the media type is not `image/*`, else `{ type: "image",
image, mediaType? }`. Base64 strings are valid data for both the
provider prompt (`LanguageModelV3DataContent = Uint8Array | string |
URL`, string = base64) and `ModelMessage` (`DataContent` accepts
base64), so byte inputs come back as base64 strings — equal content, not
the same object.
- `detectFormat`: a `file` part carrying `data` / `mediaType` (OpenAI's
`file` part carries a `file` object instead) or an `image` part carrying
`image` (Anthropic's carries `source`) now marks the Vercel format; an
Anthropic `document` block with a `source.type` marks Anthropic. OpenAI
`image_url` parts and Anthropic `image` blocks are unaffected, with
tests for both.
- `vercelToOpenAI` assistant branch: a turn with `file` parts becomes an
ordered part array (text + `image_url` with the carriers above);
text-only assistant turns still convert to a string. `openAIToVercel`
rebuilds text and `file` parts with the assistant role.
- `openAIToAnthropic` / `openAIToGemini` assistant branches: a text-only
array joins with `"\n"` into one block/part, as the forward converters
join text-only turns; an array carrying media keeps every part separate,
because the forward converters keep exact parts in that case and a round
trip must not add or move characters (`groupAssistantParts`); assistant
media in the OpenAI shape is rebuilt in order relative to text —
Anthropic `image/*` → image block, `application/pdf` → document block
(base64 or url source, per the SDK's `DocumentBlockParam`); Gemini data
URIs → `inlineData`, URL-backed files → `fileData` with the carried MIME
type. Media Anthropic has no block for is omitted rather than mis-typed.
The Anthropic user branch now maps PDFs to document blocks as well.
- `anthropicToOpenAI` user branch: `document` blocks are kept beside
images — base64 PDF → data: URI; url source → url with `mime_type`;
plain-text source → `data:text/plain;base64,…` tagged `source_type:
"text"` and restored as text; content and file sources carried verbatim
on a `source` key (preserved, not removed); `title` / `context` /
`citations` / `cache_control` carried on a `document` key and
re-attached — so every `DocumentBlockParam` round-trips exactly and a
document-only turn is no longer dropped.
- `anthropicToOpenAI` assistant and `geminiToOpenAI` model branches:
image/document blocks and `inlineData`/`fileData` become ordered parts,
so both formats round-trip exactly (Gemini image-generation output is a
real case).
- Helpers: `bytesToBase64` / `base64ToText` (use `Buffer` when present,
`btoa`/`atob` otherwise), `parseUrl`, `isProviderReference`,
`vercelMediaImageUrl`, `vercelMediaPart`, `groupAssistantParts`,
`anthropicMediaImageUrl` / `anthropicMediaBlock` (with the
`AnthropicMediaImageUrl` carrier and `ANTHROPIC_DOCUMENT_FIELDS`).
- **`sdk/typescript/src/types.ts`** — `AssistantMessage.content` widens
from `string | null` to `string | ContentPart[] | null` so an assistant
turn can carry media parts; OpenAI's own API already accepts an array of
parts as assistant content. Additive for producers; the only readers in
the SDK (`hooks.ts`) already branch on arrays, and the
`plugins/openclaw` converter defines its own message type. The public
type test is updated to match.
- **`sdk/typescript/test/utils/detect-format.test.ts`** — media-only
Vercel turns (file part; image part) detect as `vercel`; a document-only
Anthropic turn detects as `anthropic`; OpenAI `image_url` and Anthropic
`image` detection unchanged.
- **`sdk/typescript/test/compress.test.ts`** — the public `compress()`
with a media-only Vercel turn and a mocked proxy: the wire body carries
an `image_url` data URI (and no `"0":137`), and the result comes back as
a Vercel `file` part; a document-only Anthropic turn through
`compress()` against a pass-through mock comes back as the same document
block.
- **`sdk/typescript/test/utils/format.test.ts`** — Anthropic document
sources (document-only text turn through detection and conversion, mixed
text+document with context, content and file sources verbatim, PDF
fields, assistant document); V4 tagged data (data, url, text, reference,
and a bare reference) forward/reverse/round trip; assistant text
separators (text-only join; media-bearing arrays keep parts; exact
Gemini and Anthropic round trips with adjacent text before media);
Anthropic user documents (text+document, document-only, round trip
through detection); cross-format assistant media: the review thread's
Vercel → OpenAI → Gemini / Anthropic example, both reverse converters
(image; PDF base64 and url; text-only backward compat), both forward
converters, exact Anthropic and Gemini assistant round trips; Vercel
assistant: text + file forward, reverse with the assistant role, round
trip, text-only backward compat; user: forward (prompt `file` image
bytes with text; file-only PDF with filename; `Uint8Array` image;
bare-base64 image; URL-backed file with carried media type), reverse
(data URI marked `file`; image data URI; URL-backed file; unparseable
url does not throw), and exact round trips (prompt text+file; byte
image).
- **`sdk/typescript/test/adapters/vercel-ai.test.ts`** —
`headroomMiddleware`: a prompt `file` part reaches `/v1/compress` as an
`image_url` data URI and comes back in the returned prompt as a `file`
part; the same for an assistant file turn in the prompt; a public
`transformParams` round trip typed with the actual
`LanguageModelV4FilePart` / `LanguageModelV4Prompt` (tagged data
restored tagged) and a provider reference passed through untouched;
`compressVercelMessages` no longer throws on byte image data.

## Testing

- [x] Unit tests pass (`npm test` — vitest, incl. typecheck; also run by
the new `sdk-typescript.yml` job)
- [x] Type checking passes (`npm run typecheck` — tsc --noEmit)
- [x] Build passes (`npm run build` — tsup)
- [x] New tests added for new functionality
- [x] Manual testing performed

### Test Output

```text
$ cd sdk/typescript && npx vitest run test/utils/format.test.ts test/utils/detect-format.test.ts test/compress.test.ts \
    test/adapters/vercel-ai.test.ts test/adapters/anthropic.test.ts test/adapters/gemini.test.ts
 Test Files  6 passed (6)
      Tests  147 passed (147)

$ npm test                       # full suite
 Test Files  19 passed | 5 skipped (24)
      Tests  404 passed | 33 skipped (437)
Type Errors  no errors

$ npm run typecheck              # tsc --noEmit
(clean, no errors)

$ npm run build                  # tsup
CJS / ESM / DTS Build success
```

## Real Behavior Proof

- Environment: macOS (Apple silicon), Node v22.16.0, npm 10.9.2; `cd
sdk/typescript && npm ci` (`ai` 7.0.119, `@ai-sdk/provider` 4.0.19,
`@ai-sdk/provider-utils` 5.0.50).
- Exact command / steps: (1) the block in the description — a `node
--input-type=module` script calling the built `toOpenAI` / `fromOpenAI`
from `dist/index.js` on `main`; (2) the thirteen new tests run on `main`
before the change and on this branch after; (3) for the review findings:
`detectFormat` + `toOpenAI` on a media-only Vercel turn, and the
converters on an assistant text+file turn, both against the first
revision; then the eight new tests before and after the second commit;
(4) second review round: `fromOpenAI(vercelToOpenAI(<assistant text +
file>), "gemini")` on the second revision, then the eleven new tests
before and after the third commit; then `npm test`, `npm run typecheck`,
`npm run build`.
- Observed result: on `main` all thirteen fail for the expected reasons
— media parts missing from the converted output, and `AssertionError:
expected [Function] to not throw an error but 'TypeError: Invalid URL'
was thrown` for the byte/base64 cases (the middleware test fails the
same way). With the first commit all 71 targeted tests pass. Review
findings reproduced on that revision: `detect = openai` and the wire
payload
`{"type":"file","mediaType":"image/png","data":{"0":137,"1":80,"2":78,"3":71}}`
for a media-only turn; `{role:"assistant",content:"generated image"}`
for an assistant text+file turn (file gone). The eight new tests fail on
that revision (seven runtime, one type assertion) and pass after the
second commit. Second round: on that revision the Gemini conversion of a
Vercel assistant file returned `{ role: "model", parts: [{ text:
"generated image" }] }` (media gone); the eleven new tests fail there
and pass after the third commit: 127 targeted tests, full suite 384
passed | 33 skipped, typecheck and build clean.
- **Live proxy round trip** (replaces the earlier "not tested"):
`headroom proxy` 0.40.0 from the published wheel (`uvx --from
'headroom-ai[proxy]' headroom proxy --port 8799`), the built middleware
from this branch, a V4 prompt with a 120-line service log, a data-tagged
PNG, a provider-reference PDF and an assistant file turn; then the
public `compress()` with a media-only Vercel turn. Captured on
`b00b388b`; the later `f5dbdbcc` changes only the Anthropic user branch
and the text-part rule, not the Vercel path exercised here. Output (text
parts shown as `text(<length>)`):

```text
proxy http://127.0.0.1:8799/v1/compress status 200 | tokens_before 4497 tokens_after 532 tokens_saved 3965 | transforms ["router:text_block:log"]
SENT     : [["text(10758)","{\"type\":\"image_url\",\"image_url\":{\"url\":\"data:image/png;base64,iVBORw==\",\"part\":\"file\",\"data_tag\":\"data\"}}","{\"type\":\"image_url\",\"image_url\":{\"url\":\"data:application/pdf;base64,\",\"part\":\"file\",\"data_tag\":\"reference\",\"reference\":{\"openai\":\"file-abc\"}}}"],["text(15)","{\"type\":\"image_url\",\"image_url\":{\"url\":\"data:image/png;base64,iVBORw==\",\"part\":\"file\",\"data_tag\":\"data\"}}"]]
RETURNED : [["text(29)","{\"type\":\"image_url\",\"image_url\":{\"url\":\"data:image/png;base64,iVBORw==\",\"part\":\"file\",\"data_tag\":\"data\"}}","{\"type\":\"image_url\",\"image_url\":{\"url\":\"data:application/pdf;base64,\",\"part\":\"file\",\"data_tag\":\"reference\",\"reference\":{\"openai\":\"file-abc\"}}}"],["text(15)","{\"type\":\"image_url\",\"image_url\":{\"url\":\"data:image/png;base64,iVBORw==\",\"part\":\"file\",\"data_tag\":\"data\"}}"]]
RESTORED : [["text(29)","{\"type\":\"file\",\"mediaType\":\"image/png\",\"data\":{\"type\":\"data\",\"data\":\"iVBORw==\"}}","{\"type\":\"file\",\"mediaType\":\"application/pdf\",\"data\":{\"type\":\"reference\",\"reference\":{\"openai\":\"file-abc\"}}}"],["text(15)","{\"type\":\"file\",\"mediaType\":\"image/png\",\"data\":{\"type\":\"data\",\"data\":\"iVBORw==\"}}"]]
middleware returned original params (no compression)? false
compress(): sent part[1] = {"type":"image_url","image_url":{"url":"data:image/png;base64,iVBORw==","part":"file"}} | returned part[1] = {"type":"image_url","image_url":{"url":"data:image/png;base64,iVBORw==","part":"file"}} | result part[1] = {"type":"file","mediaType":"image/png","data":"iVBORw=="} | compressed = true saved 3950
```

The proxy compressed the log, returned every media part with the private
carrier keys intact, and the restored prompt carries the tagged V4 parts
and the reference unchanged; the public `compress()` path detected
Vercel, compressed, and restored the file part.
- Not tested: a live provider call downstream of the proxy.

## Runtime Rollout Safety

- Rollout-managed feature(s): None. Client-side TypeScript SDK
conversion fix; no server/runtime feature flag or rollout channel
involved.
- Minimum rollout channel: N/A.
- Stable/default behavior changed: Only the buggy paths — media that was
dropped is preserved, inputs that threw now convert, and media-only
Vercel conversations are now detected as Vercel. Text-only turns, tool
calls/results and the http-URL image case are byte-identical to before.
The one public type change is additive: `AssistantMessage.content` also
admits an array of content parts.
- Kill switch / disable path: N/A — correctness fix, not a gated
feature.
- Unsafe override required: No.
- Qualification impact: None — additive media handling; existing
conversion tests unchanged and green.
- Rollback path: Revert this PR; no persisted state, migrations, or
config to unwind.

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] I did **not** edit `CHANGELOG.md` — it is generated by
release-please from my Conventional Commit PR title (a CI guard enforces
this)

## Screenshots (if applicable)

N/A

## Additional Notes

- Out of scope, left as-is and pre-existing: assistant `reasoning` parts
(dropped by the assistant branch of `vercelToOpenAI`); media inside
`tool-result` parts; `providerOptions` on parts. Each is a separate
follow-up.
- Anthropic has blocks only for images and PDFs (and text documents);
other media reaching `openAIToAnthropic` is omitted rather than emitted
as a mis-typed block.
- Revisions after review: detection of media-only Vercel conversations
and assistant file parts (second commit), including the
`AssistantMessage.content` widening described above; assistant media
through the Anthropic and Gemini converters in both directions, the
`mime_type` carrier rename and the removal of `assistantText` (third
commit); LanguageModelV4 tagged data and provider references, Anthropic
document detection, assistant text separators and the live proxy proof
(fourth commit); user documents kept in the Anthropic user branch and
exact text parts beside media (fifth commit); Anthropic text / content /
file document sources and document fields (sixth commit, on top of the
maintainer's `main` sync).
- Large documents travel as base64 inside the request body, as
`inlineData` already does for Gemini (#3882); the proxy counts image
parts at a fixed cost.
- CHANGELOG left untouched — the `no-manual-changelog` CI guard owns it;
the Conventional Commit title drives the entry.

---------

Co-authored-by: JerrettDavis <mxjerrett@gmail.com>
2026-10-24 08:39:09 -07:00
1be699f68e fix(deps): patch OpenClaw Undici and narrow E2E audit exceptions (#4453)
## Description

Includes the approved #4358 as its prerequisite. This PR targets main so
the complete integration workflows qualify the combined repair; its diff
will shrink to this follow-up once #4358 lands. Replace OpenClaw's
affected Undici copy instead of excepting it, and reduce the E2E audit
exceptions from seven advisory/path pairs to three.

OpenClaw 2026.10.2 lists Undici in `bundleDependencies`. Version
2026.10.6 removes it from that bundle, allowing a targeted, same-major
override to install fixed Undici 8.12.3. npm 12.2.1 still bundles its
own affected copies; this PR retains only those existing, expiring
exceptions.

## Type of Change

- [x] Bug fix

## Changes Made

- Pin the existing E2E OpenClaw CLI to 2026.10.6 and override only its
Undici dependency to 8.12.3.
- Regenerate the E2E lockfile; keep Codex and the npm override
unchanged.
- Remove every OpenClaw exception and the now-stale advisory, preserving
the parent's exact bundled-version checks and 2026-11-15 expiry.
- Update the Dockerfile comment to the actual Node requirement: 24.22.1
in the Node 24 line. Its NodeSource installation already selects that
line.

## Dependency and install-surface assessment

This updates an existing upstream-maintained CLI for a security fix,
rather than adding a replacement package. The fixed Undici remains in
the same major line. The graph is used only by the Docker wrap E2E
harness and is not shipped in Headroom's wheel or SDK. Normal
installation runs OpenClaw's existing lifecycle scripts and fetches
packages from the registry; those scripts were inspected, then exercised
inside a fresh Linux container without host credentials. No application
compression or routing logic changes.

## Testing

- [x] Manual testing performed
- [x] Dependency installation and runtime resolution verified

### Test Output

```text
OpenClaw runtime resolves Undici 8.12.3
OpenClaw 2026.10.6 (fe06181)
Installed audit: only npm bundled copies remain
{ info: 0, low: 0, moderate: 1, high: 1, critical: 0, total: 2 }
parent: 9 audit-guard cases passed
child: 9 audit-guard cases passed
git diff --check: passed
```

The guard accepts the current scoped findings and rejects a new
advisory, wrong path, expired exception, stale exception, audit error,
changed version, non-bundled copy, and missing inherited-advisory entry.
A raw audit remains nonzero for npm's bundled dependencies; this PR does
not claim those packages are patched.

## Real Behavior Proof

- Environment: fresh Linux amd64 Docker container,
`node:24.22.1-bookworm-slim`, Node 24.22.1 / npm 11.19.1, normal `npm
ci` with lifecycle scripts enabled.
- Exact command / steps: copy the two committed package files into a
fresh container volume; run `npm ci --no-audit --no-fund`; resolve
`undici/package.json` using
`createRequire('/work/node_modules/openclaw/package.json')` and assert
version 8.12.3; run `node node_modules/openclaw/openclaw.mjs --version`
and `--help`; run `npm audit --json` and assert that every remaining
affected node is under `node_modules/npm/`.
- Observed result: installation, exact runtime-resolution assertion,
version, and help all succeeded. Both installed-tree and lockfile audits
leave only npm's bundled Undici 6.29.0 and ip-address 10.7.2. The parent
workflow's guard passes with the narrowed exceptions and rejects all
eight negative cases.
- Not tested: a billed provider request or live production deployment.
Hosted Docker agent/integration scenarios have now passed. Hosted
qualification on head 63c3abc5b3 is
complete: all reported checks are terminal with no failures or pending
checks, including the full Security, build, test, and Docker integration
workflows.

## Runtime Rollout Safety

- Rollout-managed feature(s): none; E2E dependency data only.
- Minimum rollout channel: existing E2E test environment.
- Stable/default behavior changed: this follow-up patches only the
harness CLI. The included parent retains its explicitly documented
affected-Pillow decoder guard.
- Kill switch / disable path: revert this dependency commit.
- Unsafe override required: none; the override selects a compatible
fixed Undici 8.x patch. The parent's existing, bounded npm exceptions
remain explicit.
- Qualification impact: package installation, CLI startup, runtime
dependency resolution, and audit guarding were verified in isolation.
- Rollback path: revert the four-file change.

## Review Readiness

- [x] I performed self-review
- [x] This PR is ready for human merge review; the complete hosted check
set passed

## Checklist

- [x] I did not edit CHANGELOG.md.
- [x] The exception scope is reduced, not expanded.
- [x] No contributor correctness logic was modified.

Python lint/type checks and new production unit tests are not applicable
to these dependency/data changes. Independent human approval is
required; this is an author-side qualification record.

---------

Co-authored-by: Tejas Chopra <chopratejas@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Tejas Chopra <tejas@headroomlabs.ai>
2026-10-23 23:11:35 -07:00
dependabot[bot]andJD Davis 1f71cb3d64 deps: Bump the npm-minor-patch group across 3 directories with 12 updates (#4219)
## Description

Qualify the grouped npm updates in the OpenClaw/OpenCode plugins and
TypeScript SDK, with a patched MCP shipping dependency floor.

## Type of Change

- [x] Bug fix / dependency security and qualification

## Changes Made

Synced with upstream `main`
(`486afaac7426fa1d6735fe2ce6ae37630d9d11ae`). No contributor
implementation logic changed. Tested head:
`8c33aca5a9818dc348e3c1970ea8d3f6ae827818`. Includes the reviewed
dependency-floor fix from #4239 because the vulnerable version was still
permitted by shipping extras.

## Dependency assessment

Retains the upstream grouped dependency updates and existing MCP
JavaScript SDK security override. Packages retain their existing
install/runtime surfaces; no plugin or SDK source logic changes. The
Python MCP prerequisite excludes CVE-2026-59951 while keeping SDK v1.
Dependencies remain under their existing upstream maintainers; committed
lockfiles provide exact integrity-pinned trees. See the retained
Dependabot release notes below for individual package changes.

## Testing

npm ci --ignore-scripts, npm test and npm audit all passed in
plugins/openclaw, plugins/opencode and sdk/typescript; all audits report
zero vulnerabilities. TypeScript SDK npm run build passed. Branch
dependency contract: 1 passed; uv lock --check passed.

### Test Output

```text
npm ci --ignore-scripts, npm test and npm audit all passed in plugins/openclaw, plugins/opencode and sdk/typescript; all audits report zero vulnerabilities. TypeScript SDK npm run build passed. Branch dependency contract: 1 passed; uv lock --check passed.
```

## Real Behavior Proof

- Environment: Windows, PowerShell; installed Python/uv, Node/npm/Bun
and Rust tooling as applicable. No live provider/model used.
- Exact commands / steps:

```text
npm ci --ignore-scripts; npm test; npm audit (each changed package directory)
npm run build (sdk/typescript)
uv lock --check
python -m pytest -q tests/test_mcp_dependency_contract.py
git diff --check
```

- Observed result: npm ci --ignore-scripts, npm test and npm audit all
passed in plugins/openclaw, plugins/opencode and sdk/typescript; all
audits report zero vulnerabilities. TypeScript SDK npm run build passed.
Branch dependency contract: 1 passed; uv lock --check passed.
- Not tested: live model/provider traffic and full Docker E2E locally;
hosted cross-platform checks are running on the pushed head. Read hosted
results before merging. Focused checks are not a claim of complete
platform qualification.

## Runtime Rollout Safety

- Rollout-managed features: none added or enabled.
- Minimum rollout channel: unchanged.
- Stable/default behavior changed: dependency versions/ranges and
associated install metadata only; no feature rollout defaults changed.
- Kill switch / disable path: existing optional extras and plugin opt-in
paths remain available.
- Unsafe override required: no runtime qualification bypass. Security
dependency override is documented above where applicable.
- Qualification impact: hosted checks and the focused evidence above
must pass; no existing gate is removed.
- Rollback path: revert this dependency change and restore its prior
lockfiles together; retain the patched MCP minimum or another reviewed
security remediation.

## Review Readiness

- [x] Maintainer self-review and focused verification performed.
- [x] All hosted checks passed on the reviewed head. Ready for final
human merge review.

## Checklist

- [x] No contributor implementation logic rewritten.
- [x] Committed lockfiles checked against the changed manifests.
- [x] No manual CHANGELOG.md changes.
- [x] Known limitations recorded above.

## Original Dependabot update

Bumps the npm-minor-patch group with 3 updates in the /plugins/openclaw
directory: headroom-ai,
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
and
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest).
Bumps the npm-minor-patch group with 5 updates in the /plugins/opencode
directory:

| Package | From | To |
| --- | --- | --- |
| headroom-ai | `0.39.1` | `0.40.0` |
|
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
| `26.6.3` | `26.6.5` |
|
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
| `5.0.2` | `5.0.3` |
| @opencode-ai/plugin | `1.18.33` | `1.19.0` |
| headroom-ai | `0.39.1` | `0.40.0` |
| [@opencode/plugin](https://github.com/anomalyco/opencode) | `2.0.24` |
`2.0.27` |
|
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
| `26.6.3` | `26.6.5` |
|
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
| `5.0.2` | `5.0.3` |
|
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
| `26.6.3` | `26.6.5` |
|
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
| `5.0.2` | `5.0.3` |

Bumps the npm-minor-patch group with 9 updates in the /sdk/typescript
directory:

| Package | From | To |
| --- | --- | --- |
|
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
| `26.6.3` | `26.6.5` |
|
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
| `5.0.2` | `5.0.3` |
|
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
| `26.6.3` | `26.6.5` |
|
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
| `5.0.2` | `5.0.3` |
|
[@ai-sdk/anthropic](https://github.com/vercel/ai/tree/HEAD/packages/anthropic)
| `4.0.66` | `4.0.78` |
|
[@ai-sdk/openai](https://github.com/vercel/ai/tree/HEAD/packages/openai)
| `4.0.79` | `4.0.91` |
|
[@ai-sdk/provider](https://github.com/vercel/ai/tree/HEAD/packages/provider)
| `4.0.19` | `4.0.26` |
|
[@anthropic-ai/sdk](https://github.com/anthropics/anthropic-sdk-typescript)
| `0.129.0` | `0.133.0` |
|
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
| `26.6.3` | `26.6.5` |
| [ai](https://github.com/vercel/ai/tree/HEAD/packages/ai) | `7.0.119` |
`7.0.137` |
| [dotenv](https://github.com/motdotla/dotenv) | `18.0.4` | `18.0.7` |
| [openai](https://github.com/openai/openai-node) | `7.23.0` | `7.32.0`
|
|
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
| `5.0.2` | `5.0.3` |


Updates `headroom-ai` from 0.39.1 to 0.40.0

Updates `@types/node` from 26.6.3 to 26.6.5
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `vitest` from 5.0.2 to 5.0.3
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.3</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Isolate <code>result.status</code> between <code>repeats</code> runs
 -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11218">vitest-dev/vitest#11218</a>
<a href="https://github.com/vitest-dev/vitest/commit/5dbebe9e3"><!-- raw
HTML omitted -->(5dbeb)<!-- raw HTML omitted --></a></li>
<li>Don't print an interceptor warning in browser mode  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11377">vitest-dev/vitest#11377</a>
<a href="https://github.com/vitest-dev/vitest/commit/15cc006aa"><!-- raw
HTML omitted -->(15cc0)<!-- raw HTML omitted --></a></li>
<li>Don't retry when <code>test.fails</code> expectedly failed  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11219">vitest-dev/vitest#11219</a>
<a href="https://github.com/vitest-dev/vitest/commit/b24585f08"><!-- raw
HTML omitted -->(b2458)<!-- raw HTML omitted --></a></li>
<li>Scope cache key generators to projects  -  by <a
href="https://github.com/ecoyoung"><code>@​ecoyoung</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11281">vitest-dev/vitest#11281</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11301">vitest-dev/vitest#11301</a>
<a href="https://github.com/vitest-dev/vitest/commit/92ba7fc1d"><!-- raw
HTML omitted -->(92ba7)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Delay server <code>listen</code> until tests start running  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11366">vitest-dev/vitest#11366</a>
<a href="https://github.com/vitest-dev/vitest/commit/7d8ed3e9b"><!-- raw
HTML omitted -->(7d8ed)<!-- raw HTML omitted --></a></li>
<li>Check mock path boundaries  -  by <a
href="https://github.com/saryn17"><code>@​saryn17</code></a>,
<strong>Ryosei Sato</strong> and <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11361">vitest-dev/vitest#11361</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11362">vitest-dev/vitest#11362</a>
<a href="https://github.com/vitest-dev/vitest/commit/1c3888bce"><!-- raw
HTML omitted -->(1c388)<!-- raw HTML omitted --></a></li>
<li>Keep config of browser-consumed environments  -  by <a
href="https://github.com/kasperpeulen"><code>@​kasperpeulen</code></a>
and <strong>Claude</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11378">vitest-dev/vitest#11378</a>
<a href="https://github.com/vitest-dev/vitest/commit/aafc0996f"><!-- raw
HTML omitted -->(aafc0)<!-- raw HTML omitted --></a></li>
<li>Ignore page crash while cancelling  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11386">vitest-dev/vitest#11386</a>
<a href="https://github.com/vitest-dev/vitest/commit/7c36748fa"><!-- raw
HTML omitted -->(7c367)<!-- raw HTML omitted --></a></li>
<li><code>toMatchScreenshot</code> uses wrong reference on retried tests
 -  by <a href="https://github.com/macarie"><code>@​macarie</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11393">vitest-dev/vitest#11393</a>
<a href="https://github.com/vitest-dev/vitest/commit/c22aba992"><!-- raw
HTML omitted -->(c22ab)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>cache</strong>:
<ul>
<li>Revalidate imports of cached modules  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11381">vitest-dev/vitest#11381</a>
<a href="https://github.com/vitest-dev/vitest/commit/38f98855f"><!-- raw
HTML omitted -->(38f98)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>deps</strong>:
<ul>
<li>Pin <code>why-is-node-running</code> to <code>3.2.1</code> to avoid
users running into <code>ERR_PNPM_TRUST_DOWNGRADE</code>  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11403">vitest-dev/vitest#11403</a>
<a href="https://github.com/vitest-dev/vitest/commit/f6c9a4977"><!-- raw
HTML omitted -->(f6c9a)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>expect</strong>:
<ul>
<li>Pass current equality testers to <code>expect.extend</code>
asymmetric matchers  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11401">vitest-dev/vitest#11401</a>
<a href="https://github.com/vitest-dev/vitest/commit/3e794a96b"><!-- raw
HTML omitted -->(3e794)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>jsdom</strong>:
<ul>
<li>Support Blob on jsdom 30.1  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11379">vitest-dev/vitest#11379</a>
<a href="https://github.com/vitest-dev/vitest/commit/6c49b7197"><!-- raw
HTML omitted -->(6c49b)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>pool</strong>:
<ul>
<li>Preserve unique pool ids when <code>groupOrder</code> is set  -  by
<a href="https://github.com/mtorp"><code>@​mtorp</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11392">vitest-dev/vitest#11392</a>
<a href="https://github.com/vitest-dev/vitest/commit/50312ebb4"><!-- raw
HTML omitted -->(50312)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>ui</strong>:
<ul>
<li>Split-pane handle overlapping iframe  -  by <a
href="https://github.com/macarie"><code>@​macarie</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11221">vitest-dev/vitest#11221</a>
<a href="https://github.com/vitest-dev/vitest/commit/f91db0dfd"><!-- raw
HTML omitted -->(f91db)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>vitest</strong>:
<ul>
<li>Remove root temp dir on close  -  by <a
href="https://github.com/abhinav-phi"><code>@​abhinav-phi</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11248">vitest-dev/vitest#11248</a>
<a href="https://github.com/vitest-dev/vitest/commit/7c7119cf7"><!-- raw
HTML omitted -->(7c711)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>vm</strong>:
<ul>
<li>Do not optimize deps from index.html  -  by <a
href="https://github.com/ezefernandezyf"><code>@​ezefernandezyf</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11329">vitest-dev/vitest#11329</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11360">vitest-dev/vitest#11360</a>
<a href="https://github.com/vitest-dev/vitest/commit/caf2887de"><!-- raw
HTML omitted -->(caf28)<!-- raw HTML omitted --></a></li>
<li>Don't reuse scripts across vite environments  -  by <a
href="https://github.com/MO2k4"><code>@​MO2k4</code></a>, <strong>Martin
Oehlert</strong> and <strong>Claude</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11395">vitest-dev/vitest#11395</a>
<a href="https://github.com/vitest-dev/vitest/commit/346d3896b"><!-- raw
HTML omitted -->(346d3)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v5.0.2...v5.0.3">View
changes on GitHub</a></h5>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/33cadea62e8763c455c7fca38d9ab1dda87c5f75"><code>33cadea</code></a>
chore: release v5.0.3 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11409">#11409</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/346d3896b65c3c907174447a035807342799f346"><code>346d389</code></a>
fix(vm): don't reuse scripts across vite environments (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11395">#11395</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/f6c9a4977ad3363f796a737834572e54c6ad5c18"><code>f6c9a49</code></a>
fix(deps): pin <code>why-is-node-running</code> to <code>3.2.1</code> to
avoid users running into `...</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/062c75d8b63519211d951d8293ea81b5a9e3c124"><code>062c75d</code></a>
chore: fix standalone docs build, update exports maps (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11394">#11394</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/caf2887dee8987a60118d53933f6e9cabd6b3e2a"><code>caf2887</code></a>
fix(vm): do not optimize deps from index.html (fix <a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11329">#11329</a>)
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11360">#11360</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/50312ebb4eca6a98f6d0b2b61d5d9d38cbbabcef"><code>50312eb</code></a>
fix(pool): preserve unique pool ids when <code>groupOrder</code> is set
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11392">#11392</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/7c36748fad1eae9687312f2f7ceadce6ec88b5df"><code>7c36748</code></a>
fix(browser): ignore page crash while cancelling (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11386">#11386</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/92ba7fc1df16a4fa5bbee3f198c582fbd56689d8"><code>92ba7fc</code></a>
fix: scope cache key generators to projects (fix <a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11281">#11281</a>)
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11301">#11301</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/38f98855fa9cd7fd376afb84094eba0fda256a74"><code>38f9885</code></a>
fix(cache): revalidate imports of cached modules (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11381">#11381</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/b24585f08f2ea267746a2d6ca0e43edcbb29726f"><code>b24585f</code></a>
fix: don't retry when <code>test.fails</code> expectedly failed (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11219">#11219</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.0.3/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />

Updates `headroom-ai` from 0.39.1 to 0.40.0

Updates `@types/node` from 26.6.3 to 26.6.5
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `vitest` from 5.0.2 to 5.0.3
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.3</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Isolate <code>result.status</code> between <code>repeats</code> runs
 -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11218">vitest-dev/vitest#11218</a>
<a href="https://github.com/vitest-dev/vitest/commit/5dbebe9e3"><!-- raw
HTML omitted -->(5dbeb)<!-- raw HTML omitted --></a></li>
<li>Don't print an interceptor warning in browser mode  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11377">vitest-dev/vitest#11377</a>
<a href="https://github.com/vitest-dev/vitest/commit/15cc006aa"><!-- raw
HTML omitted -->(15cc0)<!-- raw HTML omitted --></a></li>
<li>Don't retry when <code>test.fails</code> expectedly failed  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11219">vitest-dev/vitest#11219</a>
<a href="https://github.com/vitest-dev/vitest/commit/b24585f08"><!-- raw
HTML omitted -->(b2458)<!-- raw HTML omitted --></a></li>
<li>Scope cache key generators to projects  -  by <a
href="https://github.com/ecoyoung"><code>@​ecoyoung</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11281">vitest-dev/vitest#11281</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11301">vitest-dev/vitest#11301</a>
<a href="https://github.com/vitest-dev/vitest/commit/92ba7fc1d"><!-- raw
HTML omitted -->(92ba7)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Delay server <code>listen</code> until tests start running  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11366">vitest-dev/vitest#11366</a>
<a href="https://github.com/vitest-dev/vitest/commit/7d8ed3e9b"><!-- raw
HTML omitted -->(7d8ed)<!-- raw HTML omitted --></a></li>
<li>Check mock path boundaries  -  by <a
href="https://github.com/saryn17"><code>@​saryn17</code></a>,
<strong>Ryosei Sato</strong> and <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11361">vitest-dev/vitest#11361</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11362">vitest-dev/vitest#11362</a>
<a href="https://github.com/vitest-dev/vitest/commit/1c3888bce"><!-- raw
HTML omitted -->(1c388)<!-- raw HTML omitted --></a></li>
<li>Keep config of browser-consumed environments  -  by <a
href="https://github.com/kasperpeulen"><code>@​kasperpeulen</code></a>
and <strong>Claude</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11378">vitest-dev/vitest#11378</a>
<a href="https://github.com/vitest-dev/vitest/commit/aafc0996f"><!-- raw
HTML omitted -->(aafc0)<!-- raw HTML omitted --></a></li>
<li>Ignore page crash while cancelling  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11386">vitest-dev/vitest#11386</a>
<a href="https://github.com/vitest-dev/vitest/commit/7c36748fa"><!-- raw
HTML omitted -->(7c367)<!-- raw HTML omitted --></a></li>
<li><code>toMatchScreenshot</code> uses wrong reference on retried tests
 -  by <a href="https://github.com/macarie"><code>@​macarie</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11393">vitest-dev/vitest#11393</a>
<a href="https://github.com/vitest-dev/vitest/commit/c22aba992"><!-- raw
HTML omitted -->(c22ab)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>cache</strong>:
<ul>
<li>Revalidate imports of cached modules  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11381">vitest-dev/vitest#11381</a>
<a href="https://github.com/vitest-dev/vitest/commit/38f98855f"><!-- raw
HTML omitted -->(38f98)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>deps</strong>:
<ul>
<li>Pin <code>why-is-node-running</code> to <code>3.2.1</code> to avoid
users running into <code>ERR_PNPM_TRUST_DOWNGRADE</code>  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11403">vitest-dev/vitest#11403</a>
<a href="https://github.com/vitest-dev/vitest/commit/f6c9a4977"><!-- raw
HTML omitted -->(f6c9a)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>expect</strong>:
<ul>
<li>Pass current equality testers to <code>expect.extend</code>
asymmetric matchers  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11401">vitest-dev/vitest#11401</a>
<a href="https://github.com/vitest-dev/vitest/commit/3e794a96b"><!-- raw
HTML omitted -->(3e794)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>jsdom</strong>:
<ul>
<li>Support Blob on jsdom 30.1  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11379">vitest-dev/vitest#11379</a>
<a href="https://github.com/vitest-dev/vitest/commit/6c49b7197"><!-- raw
HTML omitted -->(6c49b)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>pool</strong>:
<ul>
<li>Preserve unique pool ids when <code>groupOrder</code> is set  -  by
<a href="https://github.com/mtorp"><code>@​mtorp</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11392">vitest-dev/vitest#11392</a>
<a href="https://github.com/vitest-dev/vitest/commit/50312ebb4"><!-- raw
HTML omitted -->(50312)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>ui</strong>:
<ul>
<li>Split-pane handle overlapping iframe  -  by <a
href="https://github.com/macarie"><code>@​macarie</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11221">vitest-dev/vitest#11221</a>
<a href="https://github.com/vitest-dev/vitest/commit/f91db0dfd"><!-- raw
HTML omitted -->(f91db)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>vitest</strong>:
<ul>
<li>Remove root temp dir on close  -  by <a
href="https://github.com/abhinav-phi"><code>@​abhinav-phi</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11248">vitest-dev/vitest#11248</a>
<a href="https://github.com/vitest-dev/vitest/commit/7c7119cf7"><!-- raw
HTML omitted -->(7c711)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>vm</strong>:
<ul>
<li>Do not optimize deps from index.html  -  by <a
href="https://github.com/ezefernandezyf"><code>@​ezefernandezyf</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11329">vitest-dev/vitest#11329</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11360">vitest-dev/vitest#11360</a>
<a href="https://github.com/vitest-dev/vitest/commit/caf2887de"><!-- raw
HTML omitted -->(caf28)<!-- raw HTML omitted --></a></li>
<li>Don't reuse scripts across vite environments  -  by <a
href="https://github.com/MO2k4"><code>@​MO2k4</code></a>, <strong>Martin
Oehlert</strong> and <strong>Claude</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11395">vitest-dev/vitest#11395</a>
<a href="https://github.com/vitest-dev/vitest/commit/346d3896b"><!-- raw
HTML omitted -->(346d3)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v5.0.2...v5.0.3">View
changes on GitHub</a></h5>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/33cadea62e8763c455c7fca38d9ab1dda87c5f75"><code>33cadea</code></a>
chore: release v5.0.3 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11409">#11409</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/346d3896b65c3c907174447a035807342799f346"><code>346d389</code></a>
fix(vm): don't reuse scripts across vite environments (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11395">#11395</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/f6c9a4977ad3363f796a737834572e54c6ad5c18"><code>f6c9a49</code></a>
fix(deps): pin <code>why-is-node-running</code> to <code>3.2.1</code> to
avoid users running into `...</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/062c75d8b63519211d951d8293ea81b5a9e3c124"><code>062c75d</code></a>
chore: fix standalone docs build, update exports maps (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11394">#11394</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/caf2887dee8987a60118d53933f6e9cabd6b3e2a"><code>caf2887</code></a>
fix(vm): do not optimize deps from index.html (fix <a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11329">#11329</a>)
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11360">#11360</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/50312ebb4eca6a98f6d0b2b61d5d9d38cbbabcef"><code>50312eb</code></a>
fix(pool): preserve unique pool ids when <code>groupOrder</code> is set
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11392">#11392</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/7c36748fad1eae9687312f2f7ceadce6ec88b5df"><code>7c36748</code></a>
fix(browser): ignore page crash while cancelling (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11386">#11386</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/92ba7fc1df16a4fa5bbee3f198c582fbd56689d8"><code>92ba7fc</code></a>
fix: scope cache key generators to projects (fix <a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11281">#11281</a>)
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11301">#11301</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/38f98855fa9cd7fd376afb84094eba0fda256a74"><code>38f9885</code></a>
fix(cache): revalidate imports of cached modules (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11381">#11381</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/b24585f08f2ea267746a2d6ca0e43edcbb29726f"><code>b24585f</code></a>
fix: don't retry when <code>test.fails</code> expectedly failed (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11219">#11219</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.0.3/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />

Updates `@types/node` from 26.6.3 to 26.6.5
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `vitest` from 5.0.2 to 5.0.3
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.3</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Isolate <code>result.status</code> between <code>repeats</code> runs
 -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11218">vitest-dev/vitest#11218</a>
<a href="https://github.com/vitest-dev/vitest/commit/5dbebe9e3"><!-- raw
HTML omitted -->(5dbeb)<!-- raw HTML omitted --></a></li>
<li>Don't print an interceptor warning in browser mode  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11377">vitest-dev/vitest#11377</a>
<a href="https://github.com/vitest-dev/vitest/commit/15cc006aa"><!-- raw
HTML omitted -->(15cc0)<!-- raw HTML omitted --></a></li>
<li>Don't retry when <code>test.fails</code> expectedly failed  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11219">vitest-dev/vitest#11219</a>
<a href="https://github.com/vitest-dev/vitest/commit/b24585f08"><!-- raw
HTML omitted -->(b2458)<!-- raw HTML omitted --></a></li>
<li>Scope cache key generators to projects  -  by <a
href="https://github.com/ecoyoung"><code>@​ecoyoung</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11281">vitest-dev/vitest#11281</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11301">vitest-dev/vitest#11301</a>
<a href="https://github.com/vitest-dev/vitest/commit/92ba7fc1d"><!-- raw
HTML omitted -->(92ba7)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Delay server <code>listen</code> until tests start running  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11366">vitest-dev/vitest#11366</a>
<a href="https://github.com/vitest-dev/vitest/commit/7d8ed3e9b"><!-- raw
HTML omitted -->(7d8ed)<!-- raw HTML omitted --></a></li>
<li>Check mock path boundaries  -  by <a
href="https://github.com/saryn17"><code>@​saryn17</code></a>,
<strong>Ryosei Sato</strong> and <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11361">vitest-dev/vitest#11361</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11362">vitest-dev/vitest#11362</a>
<a href="https://github.com/vitest-dev/vitest/commit/1c3888bce"><!-- raw
HTML omitted -->(1c388)<!-- raw HTML omitted --></a></li>
<li>Keep config of browser-consumed environments  -  by <a
href="https://github.com/kasperpeulen"><code>@​kasperpeulen</code></a>
and <strong>Claude</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11378">vitest-dev/vitest#11378</a>
<a href="https://github.com/vitest-dev/vitest/commit/aafc0996f"><!-- raw
HTML omitted -->(aafc0)<!-- raw HTML omitted --></a></li>
<li>Ignore page crash while cancelling  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11386">vitest-dev/vitest#11386</a>
<a href="https://github.com/vitest-dev/vitest/commit/7c36748fa"><!-- raw
HTML omitted -->(7c367)<!-- raw HTML omitted --></a></li>
<li><code>toMatchScreenshot</code> uses wrong reference on retried tests
 -  by <a href="https://github.com/macarie"><code>@​macarie</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11393">vitest-dev/vitest#11393</a>
<a href="https://github.com/vitest-dev/vitest/commit/c22aba992"><!-- raw
HTML omitted -->(c22ab)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>cache</strong>:
<ul>
<li>Revalidate imports of cached modules  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11381">vitest-dev/vitest#11381</a>
<a href="https://github.com/vitest-dev/vitest/commit/38f98855f"><!-- raw
HTML omitted -->(38f98)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>deps</strong>:
<ul>
<li>Pin <code>why-is-node-running</code> to <code>3.2.1</code> to avoid
users running into <code>ERR_PNPM_TRUST_DOWNGRADE</code>  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11403">vitest-dev/vitest#11403</a>
<a href="https://github.com/vitest-dev/vitest/commit/f6c9a4977"><!-- raw
HTML omitted -->(f6c9a)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>expect</strong>:
<ul>
<li>Pass current equality testers to <code>expect.extend</code>
asymmetric matchers  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11401">vitest-dev/vitest#11401</a>
<a href="https://github.com/vitest-dev/vitest/commit/3e794a96b"><!-- raw
HTML omitted -->(3e794)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>jsdom</strong>:
<ul>
<li>Support Blob on jsdom 30.1  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11379">vitest-dev/vitest#11379</a>
<a href="https://github.com/vitest-dev/vitest/commit/6c49b7197"><!-- raw
HTML omitted -->(6c49b)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>pool</strong>:
<ul>
<li>Preserve unique pool ids when <code>groupOrder</code> is set  -  by
<a href="https://github.com/mtorp"><code>@​mtorp</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11392">vitest-dev/vitest#11392</a>
<a href="https://github.com/vitest-dev/vitest/commit/50312ebb4"><!-- raw
HTML omitted -->(50312)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>ui</strong>:
<ul>
<li>Split-pane handle overlapping iframe  -  by <a
href="https://github.com/macarie"><code>@​macarie</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11221">vitest-dev/vitest#11221</a>
<a href="https://github.com/vitest-dev/vitest/commit/f91db0dfd"><!-- raw
HTML omitted -->(f91db)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>vitest</strong>:
<ul>
<li>Remove root temp dir on close  -  by <a
href="https://github.com/abhinav-phi"><code>@​abhinav-phi</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11248">vitest-dev/vitest#11248</a>
<a href="https://github.com/vitest-dev/vitest/commit/7c7119cf7"><!-- raw
HTML omitted -->(7c711)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>vm</strong>:
<ul>
<li>Do not optimize deps from index.html  -  by <a
href="https://github.com/ezefernandezyf"><code>@​ezefernandezyf</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11329">vitest-dev/vitest#11329</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11360">vitest-dev/vitest#11360</a>
<a href="https://github.com/vitest-dev/vitest/commit/caf2887de"><!-- raw
HTML omitted -->(caf28)<!-- raw HTML omitted --></a></li>
<li>Don't reuse scripts across vite environments  -  by <a
href="https://github.com/MO2k4"><code>@​MO2k4</code></a>, <strong>Martin
Oehlert</strong> and <strong>Claude</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11395">vitest-dev/vitest#11395</a>
<a href="https://github.com/vitest-dev/vitest/commit/346d3896b"><!-- raw
HTML omitted -->(346d3)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v5.0.2...v5.0.3">View
changes on GitHub</a></h5>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/33cadea62e8763c455c7fca38d9ab1dda87c5f75"><code>33cadea</code></a>
chore: release v5.0.3 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11409">#11409</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/346d3896b65c3c907174447a035807342799f346"><code>346d389</code></a>
fix(vm): don't reuse scripts across vite environments (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11395">#11395</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/f6c9a4977ad3363f796a737834572e54c6ad5c18"><code>f6c9a49</code></a>
fix(deps): pin <code>why-is-node-running</code> to <code>3.2.1</code> to
avoid users running into `...</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/062c75d8b63519211d951d8293ea81b5a9e3c124"><code>062c75d</code></a>
chore: fix standalone docs build, update exports maps (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11394">#11394</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/caf2887dee8987a60118d53933f6e9cabd6b3e2a"><code>caf2887</code></a>
fix(vm): do not optimize deps from index.html (fix <a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11329">#11329</a>)
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11360">#11360</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/50312ebb4eca6a98f6d0b2b61d5d9d38cbbabcef"><code>50312eb</code></a>
fix(pool): preserve unique pool ids when <code>groupOrder</code> is set
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11392">#11392</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/7c36748fad1eae9687312f2f7ceadce6ec88b5df"><code>7c36748</code></a>
fix(browser): ignore page crash while cancelling (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11386">#11386</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/92ba7fc1df16a4fa5bbee3f198c582fbd56689d8"><code>92ba7fc</code></a>
fix: scope cache key generators to projects (fix <a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11281">#11281</a>)
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11301">#11301</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/38f98855fa9cd7fd376afb84094eba0fda256a74"><code>38f9885</code></a>
fix(cache): revalidate imports of cached modules (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11381">#11381</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/b24585f08f2ea267746a2d6ca0e43edcbb29726f"><code>b24585f</code></a>
fix: don't retry when <code>test.fails</code> expectedly failed (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11219">#11219</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.0.3/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />

Updates `headroom-ai` from 0.39.1 to 0.40.0

Updates `@types/node` from 26.6.3 to 26.6.5
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `vitest` from 5.0.2 to 5.0.3
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.3</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Isolate <code>result.status</code> between <code>repeats</code> runs
 -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11218">vitest-dev/vitest#11218</a>
<a href="https://github.com/vitest-dev/vitest/commit/5dbebe9e3"><!-- raw
HTML omitted -->(5dbeb)<!-- raw HTML omitted --></a></li>
<li>Don't print an interceptor warning in browser mode  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11377">vitest-dev/vitest#11377</a>
<a href="https://github.com/vitest-dev/vitest/commit/15cc006aa"><!-- raw
HTML omitted -->(15cc0)<!-- raw HTML omitted --></a></li>
<li>Don't retry when <code>test.fails</code> expectedly failed  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11219">vitest-dev/vitest#11219</a>
<a href="https://github.com/vitest-dev/vitest/commit/b24585f08"><!-- raw
HTML omitted -->(b2458)<!-- raw HTML omitted --></a></li>
<li>Scope cache key generators to projects  -  by <a
href="https://github.com/ecoyoung"><code>@​ecoyoung</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11281">vitest-dev/vitest#11281</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11301">vitest-dev/vitest#11301</a>
<a href="https://github.com/vitest-dev/vitest/commit/92ba7fc1d"><!-- raw
HTML omitted -->(92ba7)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Delay server <code>listen</code> until tests start running  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11366">vitest-dev/vitest#11366</a>
<a href="https://github.com/vitest-dev/vitest/commit/7d8ed3e9b"><!-- raw
HTML omitted -->(7d8ed)<!-- raw HTML omitted --></a></li>
<li>Check mock path boundaries  -  by <a
href="https://github.com/saryn17"><code>@​saryn17</code></a>,
<strong>Ryosei Sato</strong> and <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11361">vitest-dev/vitest#11361</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11362">vitest-dev/vitest#11362</a>
<a href="https://github.com/vitest-dev/vitest/commit/1c3888bce"><!-- raw
HTML omitted -->(1c388)<!-- raw HTML omitted --></a></li>
<li>Keep config of browser-consumed environments  -  by <a
href="https://github.com/kasperpeulen"><code>@​kasperpeulen</code></a>
and <strong>Claude</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11378">vitest-dev/vitest#11378</a>
<a href="https://github.com/vitest-dev/vitest/commit/aafc0996f"><!-- raw
HTML omitted -->(aafc0)<!-- raw HTML omitted --></a></li>
<li>Ignore page crash while cancelling  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11386">vitest-dev/vitest#11386</a>
<a href="https://github.com/vitest-dev/vitest/commit/7c36748fa"><!-- raw
HTML omitted -->(7c367)<!-- raw HTML omitted --></a></li>
<li><code>toMatchScreenshot</code> uses wrong reference on retried tests
 -  by <a href="https://github.com/macarie"><code>@​macarie</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11393">vitest-dev/vitest#11393</a>
<a href="https://github.com/vitest-dev/vitest/commit/c22aba992"><!-- raw
HTML omitted -->(c22ab)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>cache</strong>:
<ul>
<li>Revalidate imports of cached modules  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11381">vitest-dev/vitest#11381</a>
<a href="https://github.com/vitest-dev/vitest/commit/38f98855f"><!-- raw
HTML omitted -->(38f98)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>deps</strong>:
<ul>
<li>Pin <code>why-is-node-running</code> to <code>3.2.1</code> to avoid
users running into <code>ERR_PNPM_TRUST_DOWNGRADE</code>  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11403">vitest-dev/vitest#11403</a>
<a href="https://github.com/vitest-dev/vitest/commit/f6c9a4977"><!-- raw
HTML omitted -->(f6c9a)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>expect</strong>:
<ul>
<li>Pass current equality testers to <code>expect.extend</code>
asymmetric matchers  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11401">vitest-dev/vitest#11401</a>
<a href="https://github.com/vitest-dev/vitest/commit/3e794a96b"><!-- raw
HTML omitted -->(3e794)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>jsdom</strong>:
<ul>
<li>Support Blob on jsdom 30.1  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11379">vitest-dev/vitest#11379</a>
<a href="https://github.com/vitest-dev/vitest/commit/6c49b7197"><!-- raw
HTML omitted -->(6c49b)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>pool</strong>:
<ul>
<li>Preserve unique pool ids when <code>groupOrder</code> is set  -  by
<a href="https://github.com/mtorp"><code>@​mtorp</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11392">vitest-dev/vitest#11392</a>
<a href="https://github.com/vitest-dev/vitest/commit/50312ebb4"><!-- raw
HTML omitted -->(50312)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>ui</strong>:
<ul>
<li>Split-pane handle overlapping iframe  -  by <a
href="https://github.com/macarie"><code>@​macarie</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11221">vitest-dev/vitest#11221</a>
<a href="https://github.com/vitest-dev/vitest/commit/f91db0dfd"><!-- raw
HTML omitted -->(f91db)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>vitest</strong>:
<ul>
<li>Remove root temp dir on close  -  by <a
href="https://github.com/abhinav-phi"><code>@​abhinav-phi</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11248">vitest-dev/vitest#11248</a>
<a href="https://github.com/vitest-dev/vitest/commit/7c7119cf7"><!-- raw
HTML omitted -->(7c711)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>vm</strong>:
<ul>
<li>Do not optimize deps from index.html  -  by <a
href="https://github.com/ezefernandezyf"><code>@​ezefernandezyf</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11329">vitest-dev/vitest#11329</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11360">vitest-dev/vitest#11360</a>
<a href="https://github.com/vitest-dev/vitest/commit/caf2887de"><!-- raw
HTML omitted -->(caf28)<!-- raw HTML omitted --></a></li>
<li>Don't reuse scripts across vite environments  -  by <a
href="https://github.com/MO2k4"><code>@​MO2k4</code></a>, <strong>Martin
Oehlert</strong> and <strong>Claude</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11395">vitest-dev/vitest#11395</a>
<a href="https://github.com/vitest-dev/vitest/commit/346d3896b"><!-- raw
HTML omitted -->(346d3)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v5.0.2...v5.0.3">View
changes on GitHub</a></h5>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/33cadea62e8763c455c7fca38d9ab1dda87c5f75"><code>33cadea</code></a>
chore: release v5.0.3 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11409">#11409</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/346d3896b65c3c907174447a035807342799f346"><code>346d389</code></a>
fix(vm): don't reuse scripts across vite environments (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11395">#11395</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/f6c9a4977ad3363f796a737834572e54c6ad5c18"><code>f6c9a49</code></a>
fix(deps): pin <code>why-is-node-running</code> to <code>3.2.1</code> to
avoid users running into `...</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/062c75d8b63519211d951d8293ea81b5a9e3c124"><code>062c75d</code></a>
chore: fix standalone docs build, update exports maps (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11394">#11394</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/caf2887dee8987a60118d53933f6e9cabd6b3e2a"><code>caf2887</code></a>
fix(vm): do not optimize deps from index.html (fix <a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11329">#11329</a>)
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11360">#11360</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/50312ebb4eca6a98f6d0b2b61d5d9d38cbbabcef"><code>50312eb</code></a>
fix(pool): preserve unique pool ids when <code>groupOrder</code> is set
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11392">#11392</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/7c36748fad1eae9687312f2f7ceadce6ec88b5df"><code>7c36748</code></a>
fix(browser): ignore page crash while cancelling (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11386">#11386</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/92ba7fc1df16a4fa5bbee3f198c582fbd56689d8"><code>92ba7fc</code></a>
fix: scope cache key generators to projects (fix <a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11281">#11281</a>)
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11301">#11301</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/38f98855fa9cd7fd376afb84094eba0fda256a74"><code>38f9885</code></a>
fix(cache): revalidate imports of cached modules (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11381">#11381</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/b24585f08f2ea267746a2d6ca0e43edcbb29726f"><code>b24585f</code></a>
fix: don't retry when <code>test.fails</code> expectedly failed (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11219">#11219</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.0.3/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />

Updates `@opencode-ai/plugin` from 1.18.33 to 1.19.0

Updates `headroom-ai` from 0.39.1 to 0.40.0

Updates `@opencode/plugin` from 2.0.24 to 2.0.27
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/anomalyco/opencode/blob/dev/CHANGELOG.md">@​opencode/plugin's
changelog</a>.</em></p>
<blockquote>
<h2>v2.0.27 — 2026-10-12</h2>
<h3>Highlights</h3>
<ul>
<li><strong>Built-In Worktree Tools</strong>: Ask OpenCode to use
<code>worktree_create</code>, <code>worktree_list</code>, and
<code>worktree_remove</code> in Code Mode. You can create isolated
worktrees, move sessions into them, and remove them with normal edit
approval. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/53981">#53981</a>)</li>
<li><strong>Safer Remote Pairing</strong>: The first <code>opencode pair
--remote</code> now warns that it will expose your server and asks for
confirmation. For non-interactive use, pass <code>opencode pair --remote
--yes</code>. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/54561">#54561</a>)</li>
<li><strong>Installable Web App</strong>: Use Chrome or Edge’s
<strong>Install</strong> button to install the OpenCode web app,
including when it runs behind an authenticating proxy. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/53905">#53905</a>)</li>
<li><strong>Clear Session Failures</strong>: Desktop and TUI timelines
now show execution errors that happen before or between model steps
instead of ending without an explanation. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/53826">#53826</a>)</li>
<li><strong>Automatic Project Cleanup</strong>: Projects whose
directories no longer exist are automatically hidden from the project
list. Opening the directory again restores the project. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/54354">#54354</a>)</li>
</ul>
<h3>Core</h3>
<h4>Improvements</h4>
<ul>
<li>Added the built-in Code Mode tools
<code>opencode.worktree_create</code>,
<code>opencode.worktree_list</code>, and
<code>opencode.worktree_remove</code>. Removing a worktree requires edit
approval, and <code>force: true</code> can discard modified or untracked
files. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/53981">#53981</a>)</li>
<li>Added confirmation before <code>opencode pair --remote</code> first
enables internet access, plus <code>--yes</code>/<code>-y</code> for
scripts and other non-interactive use. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/54561">#54561</a>)</li>
<li>Automatically archived projects when all known directories
disappear. Reopening a project restores it, while surviving clones and
linked worktrees keep it active. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/54354">#54354</a>)</li>
<li>Raised the ChatGPT OAuth input limit for <code>gpt-6.1-sol</code>
and <code>gpt-6.1-sol-fast</code> to 500,000 tokens. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/54668">#54668</a>)</li>
<li>Added Vertex AI routes for Interactions and Mistral models. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/54175">#54175</a>,
<a
href="https://redirect.github.com/anomalyco/opencode/pull/54058">#54058</a>)</li>
</ul>
<h4>Bug fixes</h4>
<ul>
<li>Fixed updater detection for symlinked home directories and
package-manager installations, increased probe timeouts, and now report
unavailable updates clearly when the installation method cannot be
detected. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/54609">#54609</a>,
<a
href="https://redirect.github.com/anomalyco/opencode/pull/54622">#54622</a>,
<a
href="https://redirect.github.com/anomalyco/opencode/pull/54672">#54672</a>)</li>
<li>Fixed GitHub Copilot routing for Gemini, Anthropic, and Responses
models when live model metadata is unavailable, and accepted interleaved
Claude reasoning values. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/54208">#54208</a>,
<a
href="https://redirect.github.com/anomalyco/opencode/pull/54210">#54210</a>,
<a
href="https://redirect.github.com/anomalyco/opencode/pull/54201">#54201</a>)</li>
<li>Fixed Google Vertex Application Default Credentials when
<code>CLOUDSDK_CONFIG</code> points to a custom gcloud configuration
directory. Thanks <a
href="https://github.com/H-Max"><code>@​H-Max</code></a>. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/54164">#54164</a>)</li>
<li>Prevented ChatGPT token-sharing sessions from sending unsupported
mid-session reasoning-effort updates. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/54085">#54085</a>)</li>
<li>Blocked <code>file://</code> access through Code Mode’s
<code>fetch</code>, which now returns a clear filesystem-access error.
Thanks <a
href="https://github.com/ferdinandyb"><code>@​ferdinandyb</code></a>.
(<a
href="https://redirect.github.com/anomalyco/opencode/pull/54510">#54510</a>)</li>
<li>Fixed remote workspace file operations so driver-provided filesystem
overrides are used correctly.</li>
<li>Preserved subagent notifications when location services are evicted,
and propagated well-known configuration updates across locations with
bounded HTTP timeouts. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/54072">#54072</a>,
<a
href="https://redirect.github.com/anomalyco/opencode/pull/53821">#53821</a>)</li>
</ul>
<h3>TUI</h3>
<h4>Bug fixes</h4>
<ul>
<li>Displayed session execution failures that occur before or between
model steps directly in the timeline. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/53826">#53826</a>)</li>
<li>Preserved a saved session’s unavailable model selection instead of
silently replacing it with a fallback. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/53822">#53822</a>)</li>
<li>Added syntax highlighting for C++ module interface files such as
<code>.cppm</code>, <code>.ixx</code>, and <code>.cxxm</code>. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/53853">#53853</a>)</li>
<li>Summarized integrations with multiple credentials as a connection
count, preventing long labels from crowding the integration name. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/54054">#54054</a>)</li>
</ul>
<h3>Desktop</h3>
<h4>Improvements</h4>
<ul>
<li>Made the web app installable from Chrome and Edge, including
deployments behind cookie-based authenticating proxies. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/53905">#53905</a>)</li>
<li>Updated the session column layout and text wrapping for clearer long
content. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/54020">#54020</a>)</li>
</ul>
<h4>Bug fixes</h4>
<ul>
<li>Displayed session execution failures that occur before or between
model steps directly in the timeline. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/53826">#53826</a>)</li>
<li>Fixed command-palette selection so newly arriving higher-ranked
results become active until you explicitly choose a result. (<a
href="https://redirect.github.com/anomalyco/opencode/pull/54275">#54275</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/anomalyco/opencode/commit/1f4d07a4a519185955ae8ab2ea3607805509e386"><code>1f4d07a</code></a>
release: v2.0.27</li>
<li><a
href="https://github.com/anomalyco/opencode/commit/4d9678a79d6367ad1257c258049075e7a2d0c6c8"><code>4d9678a</code></a>
fix(release): exclude V1 history from the release review range (<a
href="https://redirect.github.com/anomalyco/opencode/issues/54674">#54674</a>)</li>
<li><a
href="https://github.com/anomalyco/opencode/commit/4d3d8fd769523b4e2f6b523e3df9fa965130fb4c"><code>4d3d8fd</code></a>
docs: trim agent instructions (<a
href="https://redirect.github.com/anomalyco/opencode/issues/54678">#54678</a>)</li>
<li><a
href="https://github.com/anomalyco/opencode/commit/e5a557efeee02c94486d391afc48f24a49ebc9a5"><code>e5a557e</code></a>
fix(cli): return unavailable in updater.check when install method is
unknown ...</li>
<li><a
href="https://github.com/anomalyco/opencode/commit/35ef229454d3664624ca798f53341858fc0dc33d"><code>35ef229</code></a>
feat(core): raise ChatGPT OAuth context for gpt-6.1-sol to 500k (<a
href="https://redirect.github.com/anomalyco/opencode/issues/54668">#54668</a>)</li>
<li><a
href="https://github.com/anomalyco/opencode/commit/707de5832656e89cc0f04436aa1cd5f4f91c5763"><code>707de58</code></a>
fix(cli): prioritize path-matched package manager and extend probe
timeout (#...</li>
<li><a
href="https://github.com/anomalyco/opencode/commit/ca19780de1b5ece1b84e0482e0f41c3a39228288"><code>ca19780</code></a>
fix(stats): bound public page caching</li>
<li><a
href="https://github.com/anomalyco/opencode/commit/47e5e71599c1adf43119a125003c31c7b376675c"><code>47e5e71</code></a>
fix(cli): resolve symlinked home path when detecting curl installs (<a
href="https://redirect.github.com/anomalyco/opencode/issues/54609">#54609</a>)</li>
<li><a
href="https://github.com/anomalyco/opencode/commit/1c63fe9afeff4ead2623e9bbb2e2bc40e6205c0b"><code>1c63fe9</code></a>
docs: use update service latest redirect URLs for downloads (<a
href="https://redirect.github.com/anomalyco/opencode/issues/54598">#54598</a>)</li>
<li><a
href="https://github.com/anomalyco/opencode/commit/727fd603bef6472aa4d2a82479d0c09478b057de"><code>727fd60</code></a>
feat(update): redirect artifact filenames to latest release URLs (<a
href="https://redirect.github.com/anomalyco/opencode/issues/54597">#54597</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/anomalyco/opencode/compare/v2.0.24...v2.0.27">compare
view</a></li>
</ul>
</details>
<br />

Updates `@types/node` from 26.6.3 to 26.6.5
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `vitest` from 5.0.2 to 5.0.3
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.3</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Isolate <code>result.status</code> between <code>repeats</code> runs
 -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11218">vitest-dev/vitest#11218</a>
<a href="https://github.com/vitest-dev/vitest/commit/5dbebe9e3"><!-- raw
HTML omitted -->(5dbeb)<!-- raw HTML omitted --></a></li>
<li>Don't print an interceptor warning in browser mode  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11377">vitest-dev/vitest#11377</a>
<a href="https://github.com/vitest-dev/vitest/commit/15cc006aa"><!-- raw
HTML omitted -->(15cc0)<!-- raw HTML omitted --></a></li>
<li>Don't retry when <code>test.fails</code> expectedly failed  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11219">vitest-dev/vitest#11219</a>
<a href="https://github.com/vitest-dev/vitest/commit/b24585f08"><!-- raw
HTML omitted -->(b2458)<!-- raw HTML omitted --></a></li>
<li>Scope cache key generators to projects  -  by <a
href="https://github.com/ecoyoung"><code>@​ecoyoung</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11281">vitest-dev/vitest#11281</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11301">vitest-dev/vitest#11301</a>
<a href="https://github.com/vitest-dev/vitest/commit/92ba7fc1d"><!-- raw
HTML omitted -->(92ba7)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Delay server <code>listen</code> until tests start running  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11366">vitest-dev/vitest#11366</a>
<a href="https://github.com/vitest-dev/vitest/commit/7d8ed3e9b"><!-- raw
HTML omitted -->(7d8ed)<!-- raw HTML omitted --></a></li>
<li>Check mock path boundaries  -  by <a
href="https://github.com/saryn17"><code>@​saryn17</code></a>,
<strong>Ryosei Sato</strong> and <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11361">vitest-dev/vitest#11361</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11362">vitest-dev/vitest#11362</a>
<a href="https://github.com/vitest-dev/vitest/commit/1c3888bce"><!-- raw
HTML omitted -->(1c388)<!-- raw HTML omitted --></a></li>
<li>Keep config of browser-consumed environments  -  by <a
href="https://github.com/kasperpeulen"><code>@​kasperpeulen</code></a>
and <strong>Claude</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11378">vitest-dev/vitest#11378</a>
<a href="https://github.com/vitest-dev/vitest/commit/aafc0996f"><!-- raw
HTML omitted -->(aafc0)<!-- raw HTML omitted --></a></li>
<li>Ignore page crash while cancelling  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11386">vitest-dev/vitest#11386</a>
<a href="https://github.com/vitest-dev/vitest/commit/7c36748fa"><!-- raw
HTML omitted -->(7c367)<!-- raw HTML omitted --></a></li>
<li><code>toMatchScreenshot</code> uses wrong reference on retried tests
 -  by <a href="https://github.com/macarie"><code>@​macarie</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11393">vitest-dev/vitest#11393</a>
<a href="https://github.com/vitest-dev/vitest/commit/c22aba992"><!-- raw
HTML omitted -->(c22ab)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>cache</strong>:
<ul>
<li>Revalidate imports of cached modules  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11381">vitest-dev/vitest#11381</a>
<a href="https://github.com/vitest-dev/vitest/commit/38f98855f"><!-- raw
HTML omitted -->(38f98)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>deps</strong>:
<ul>
<li>Pin <code>why-is-node-running</code> to <code>3.2.1</code> to avoid
users running into <code>ERR_PNPM_TRUST_DOWNGRADE</code>  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11403">vitest-dev/vitest#11403</a>
<a href="https://github.com/vitest-dev/vitest/commit/f6c9a4977"><!-- raw
HTML omitted -->(f6c9a)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>expect</strong>:
<ul>
<li>Pass current equality testers to <code>expect.extend</code>
asymmetric matchers  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Claude</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11401">vitest-dev/vitest#11401</a>
<a href="https://github.com/vitest-dev/vitest/commit/3e794a96b"><!-- raw
HTML omitted -->(3e794)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>jsdom</strong>:
<ul>
<li>Support Blob on jsdom 30.1  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11379">vitest-dev/vitest#11379</a>
<a href="https://github.com/vitest-dev/vitest/commit/6c49b7197"><!-- raw
HTML omitted -->(6c49b)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>pool</strong>:
<ul>
<li>Preserve unique pool ids when <code>groupOrder</code> is set  -  by
<a href="https://github.com/mtorp"><code>@​mtorp</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11392">vitest-dev/vitest#11392</a>
<a href="https://github.com/vitest-dev/vitest/commit/50312ebb4"><!-- raw
HTML omitted -->(50312)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>ui</strong>:
<ul>
<li>Split-pane handle overlapping iframe  -  by <a
href="https://github.com/macarie"><code>@​macarie</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11221">vitest-dev/vitest#11221</a>
<a href="https://github.com/vitest-dev/vitest/commit/f91db0dfd"><!-- raw
HTML omitted -->(f91db)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>vitest</strong>:
<ul>
<li>Remove root temp dir on close  -  by <a
href="https://github.com/abhinav-phi"><code>@​abhinav-phi</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11248">vitest-dev/vitest#11248</a>
<a href="https://github.com/vitest-dev/vitest/commit/7c7119cf7"><!-- raw
HTML omitted -->(7c711)<!-- raw HTML omitted --></a></li>
</ul>
</li>...

_Description has been truncated_

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JD Davis <mxjerrett@gmail.com>
2026-10-15 21:46:59 -05:00
JD Davisandgithub-actions[bot] 76133cff59 chore: release 0.41.0 (#4002)
🤖 I have created a release *beep* *boop*
---


##
[0.41.0](https://github.com/headroomlabs-ai/headroom/compare/v0.40.0...v0.41.0)
(2026-10-13)


### Features

* **antigravity:** add native Google Antigravity IDE integration
([#3817](https://github.com/headroomlabs-ai/headroom/issues/3817))
([cd4367b](https://github.com/headroomlabs-ai/headroom/commit/cd4367b040bf80b7358f100da54994f6d5fbfcfe))
* **opencode:** support the OpenCode 2.x plugin API
([#3999](https://github.com/headroomlabs-ai/headroom/issues/3999))
([1d4b357](https://github.com/headroomlabs-ai/headroom/commit/1d4b357ca745549382e1ed9a3a6d39b5df52d3d5))
* **plugins:** add headroom-snip Claude Code mod that animates
compression
([#3980](https://github.com/headroomlabs-ai/headroom/issues/3980))
([17abee2](https://github.com/headroomlabs-ai/headroom/commit/17abee2721c1946bc8903d623bec91ff6e531c17))
* **proxy:** native spend/savings stats + dashboard for the Rust proxy
([#2321](https://github.com/headroomlabs-ai/headroom/issues/2321))
([70b21c1](https://github.com/headroomlabs-ai/headroom/commit/70b21c12c41cd128c7b8700c33b29b687de567a4))
* **router:** add max_output_tokens condition to ModelRoute
([#3898](https://github.com/headroomlabs-ai/headroom/issues/3898))
([01185e3](https://github.com/headroomlabs-ai/headroom/commit/01185e32d393c02ae63b104429f6dbfc6cdd1da0))
* **savings:** per-agent attribution in history checkpoints and rollups
([#2627](https://github.com/headroomlabs-ai/headroom/issues/2627))
([489de46](https://github.com/headroomlabs-ai/headroom/commit/489de468258584c69c90c798397d81e0b35ace67))
* show the Headroom for Teams offer in the dashboard, docs, llms.txt and
release notes
([#3991](https://github.com/headroomlabs-ai/headroom/issues/3991))
([1ad92f0](https://github.com/headroomlabs-ai/headroom/commit/1ad92f0cbc3dea27676e253588100f64a2af6994))


### Bug Fixes

* **anthropic:** route /api/hello connectivity probes to Anthropic
([#3336](https://github.com/headroomlabs-ai/headroom/issues/3336))
([#4059](https://github.com/headroomlabs-ai/headroom/issues/4059))
([931e5b9](https://github.com/headroomlabs-ai/headroom/commit/931e5b9666f4022feb38abadfbdb77c96c69e95a))
* **beacon:** stop Cloudflare logging senders' IP addresses
([#4018](https://github.com/headroomlabs-ai/headroom/issues/4018))
([db983ba](https://github.com/headroomlabs-ai/headroom/commit/db983bacc616fec3d622e8a039b47135b1ad4166))
* **cache:** keep cache mode when Claude Code re-serializes its last
reply ([#4003](https://github.com/headroomlabs-ai/headroom/issues/4003))
([aeb09f8](https://github.com/headroomlabs-ai/headroom/commit/aeb09f8d1884318d27b05b440b44c603e1c0d727))
* **cache:** retain prefix trackers for the provider cache lifetime
([#4023](https://github.com/headroomlabs-ai/headroom/issues/4023))
([9553d42](https://github.com/headroomlabs-ai/headroom/commit/9553d4292f949224105bfee8c29f4979a2c3092a))
* **cache:** stop Claude Code forks from cold-starting the
conversation's lineage
([#4043](https://github.com/headroomlabs-ai/headroom/issues/4043))
([1cf4d05](https://github.com/headroomlabs-ai/headroom/commit/1cf4d053d2bae276280dd3b71ebcf00cfd4d9cfc))
* **ccr:** serve headroom_retrieve when the model calls it alongside
client tools
([#4034](https://github.com/headroomlabs-ai/headroom/issues/4034))
([01d9194](https://github.com/headroomlabs-ai/headroom/commit/01d9194854233ef6ed04005cf0a5b8c32bf65d6d))
* **cli:** name the broken Codex config, write init configs atomically,
keep the identity check
([#4129](https://github.com/headroomlabs-ai/headroom/issues/4129))
([976aa71](https://github.com/headroomlabs-ai/headroom/commit/976aa714ef3e19174dc0cb586cee7b20d064e4ef))
* **cli:** pass configured SSL context to stdlib urlopen calls
([#4011](https://github.com/headroomlabs-ai/headroom/issues/4011))
([22d0905](https://github.com/headroomlabs-ai/headroom/commit/22d0905a73d1498e1a3658427687416373c1d4a1))
* **cli:** say why the proxy failed to start
([#4120](https://github.com/headroomlabs-ai/headroom/issues/4120))
([f3d240b](https://github.com/headroomlabs-ai/headroom/commit/f3d240bcae5f12d87925b5fa46d36eecff19ba2d))
* **codex:** make unwrap codex remove headroom init routing
([#3920](https://github.com/headroomlabs-ai/headroom/issues/3920))
([3260795](https://github.com/headroomlabs-ai/headroom/commit/326079517b40d2bbec6d2c7a453b22be9b8b6755))
* **codex:** preserve auth.json API keys through Headroom
([#3355](https://github.com/headroomlabs-ai/headroom/issues/3355))
([a6523b1](https://github.com/headroomlabs-ai/headroom/commit/a6523b19678af49ed1039fe946ae0cfee2181509))
* **copilot:** honour GitHub's advertised Business/Enterprise host by
default
([#4155](https://github.com/headroomlabs-ai/headroom/issues/4155))
([1dc7a18](https://github.com/headroomlabs-ai/headroom/commit/1dc7a183f55db35188aefa95f9cd4aed18377862))
* **copilot:** send VS Code next-edit requests to the completions host
([#4188](https://github.com/headroomlabs-ai/headroom/issues/4188))
([22a1296](https://github.com/headroomlabs-ai/headroom/commit/22a1296cfabc855f9bc6e36a1bcb0f9e788f75a5))
* **dashboard:** keep savings profile visible in light mode
([#2544](https://github.com/headroomlabs-ai/headroom/issues/2544))
([4e4f49d](https://github.com/headroomlabs-ai/headroom/commit/4e4f49d058846c44ae6061edd5a53776c03a0507))
* **dashboard:** show the effective value in settings enum selects
([#4032](https://github.com/headroomlabs-ai/headroom/issues/4032))
([20ce054](https://github.com/headroomlabs-ai/headroom/commit/20ce054f8d34af50106daa0c8aa518231e17004b))
* **deps:** bump quinn-proto to 0.11.19 for RUSTSEC-2026-0338..0342
([#4178](https://github.com/headroomlabs-ai/headroom/issues/4178))
([49751ec](https://github.com/headroomlabs-ai/headroom/commit/49751ec4c797c9ff8ae7e3cdfed6c8372c7fbfcd))
* **deps:** clear the two high npm advisories failing the Security
workflow
([#4004](https://github.com/headroomlabs-ai/headroom/issues/4004))
([5a516b5](https://github.com/headroomlabs-ai/headroom/commit/5a516b54afd50156521638645a9063992e395a7b))
* **deps:** recommend headroom-ai for optional extras
([#4046](https://github.com/headroomlabs-ai/headroom/issues/4046))
([f1bc260](https://github.com/headroomlabs-ai/headroom/commit/f1bc260948c159549d6937e9c4d2cf969256f2bb))
* **deps:** support Intel macOS ONNX Runtime resolution
([#3823](https://github.com/headroomlabs-ai/headroom/issues/3823))
([51ec6e8](https://github.com/headroomlabs-ai/headroom/commit/51ec6e8ffef8d3c76b0dc7b283c8c5eabcd6acc2))
* **docker:** adds mount for the litellm config dir
([#2454](https://github.com/headroomlabs-ai/headroom/issues/2454))
([64a661d](https://github.com/headroomlabs-ai/headroom/commit/64a661d5b4898d97061bfcaa10caad477b319b37))
* **gateway:** report why /v1/compress/response rejected a body
([#4081](https://github.com/headroomlabs-ai/headroom/issues/4081))
([5cac7ab](https://github.com/headroomlabs-ai/headroom/commit/5cac7ab693c2f1e3d8dbbe4756f0e7f6fa0687d6))
* **grok:** attribute api.x.ai chat outcomes as provider xai, recognize
grok-shell UA
([#2626](https://github.com/headroomlabs-ai/headroom/issues/2626))
([b1fb162](https://github.com/headroomlabs-ai/headroom/commit/b1fb162b622327102832f15b2ca14a4613da9fcd))
* **install/windows:** back persistent-service with an always-on task
([#1866](https://github.com/headroomlabs-ai/headroom/issues/1866))
([#2460](https://github.com/headroomlabs-ai/headroom/issues/2460))
([5682883](https://github.com/headroomlabs-ai/headroom/commit/5682883bb03472caeb510d6ff84070d5558d0f62))
* **install:** distinguish protocol targets in status
([#4040](https://github.com/headroomlabs-ai/headroom/issues/4040))
([79f2c27](https://github.com/headroomlabs-ai/headroom/commit/79f2c2781a1e6d5a13c75ae233e01c6d8d910ef1))
* **install:** keep an explicitly empty dashboard allowlist on Windows
PowerShell 5.1
([#4012](https://github.com/headroomlabs-ai/headroom/issues/4012))
([c195a12](https://github.com/headroomlabs-ai/headroom/commit/c195a1220f8d3525879c87486bd63d96e870e648))
* **install:** preserve OpenCode edits during reactivation
([#4022](https://github.com/headroomlabs-ai/headroom/issues/4022))
([40955b0](https://github.com/headroomlabs-ai/headroom/commit/40955b0eef2e509aad1a200db9cfa0762ca457ce))
* **learn:** decode sanitized pattern-id markers and keep visible-text
dedup keys
([#3956](https://github.com/headroomlabs-ai/headroom/issues/3956))
([ec1ba70](https://github.com/headroomlabs-ai/headroom/commit/ec1ba70c974fb0729870bfd444cdc1152a1b4301))
* **learn:** make live traffic learning use the shared error classifier
([#4110](https://github.com/headroomlabs-ai/headroom/issues/4110))
([e6eaa41](https://github.com/headroomlabs-ai/headroom/commit/e6eaa411791750884a7eb2594d0b86f9e4100f81))
* **learn:** pin the learned verbosity level on a cache-mode proxy
([#4033](https://github.com/headroomlabs-ai/headroom/issues/4033))
([71663b4](https://github.com/headroomlabs-ai/headroom/commit/71663b44e26fc2e0ad7d52c0b264aa7500926900))
* **logging:** add payload-safe helpers for exceptions, URLs, ids and
repeat warnings
([#4138](https://github.com/headroomlabs-ai/headroom/issues/4138))
([bebe559](https://github.com/headroomlabs-ai/headroom/commit/bebe5593ea4abaf326215c7236586b38e7b325a5))
* **onnx:** stop magika's ORT intra-op pool from spinning idle cores
([#4189](https://github.com/headroomlabs-ai/headroom/issues/4189))
([2016dc6](https://github.com/headroomlabs-ai/headroom/commit/2016dc6d6064926790b9c843fbf1798d2e660524))
* **openclaw:** preserve tool-call thought signatures
([#4038](https://github.com/headroomlabs-ai/headroom/issues/4038))
([37f3f9e](https://github.com/headroomlabs-ai/headroom/commit/37f3f9efe16f6b1ff94e03dbae85a27e387097a2))
* **plugins/openclaw:** keep compression system-prompt notice
cache-stable
([#3811](https://github.com/headroomlabs-ai/headroom/issues/3811))
([f885187](https://github.com/headroomlabs-ai/headroom/commit/f8851878a4feb0b64df8a5b22a89ebb198199bdf))
* **pricing:** reconcile cache billing with model-specific LiteLLM rates
([#3033](https://github.com/headroomlabs-ai/headroom/issues/3033))
([463c1a4](https://github.com/headroomlabs-ai/headroom/commit/463c1a43e30fc33cb256a3f455daf28043e53b05))
* **providers:** drop the shadowed POST /v1/messages route spec
([#4075](https://github.com/headroomlabs-ai/headroom/issues/4075))
([69a16cb](https://github.com/headroomlabs-ai/headroom/commit/69a16cb59c0fe4b8233caf5824e34e5772f48d81))
* **proxy/bedrock:** record the real upstream status on InvokeModel
outcomes
([#4025](https://github.com/headroomlabs-ai/headroom/issues/4025))
([159daa2](https://github.com/headroomlabs-ai/headroom/commit/159daa25a0886fb5c5808e37d62fe8cf4971290a))
* **proxy/streaming:** tolerate malformed upstream SSE events
([#2558](https://github.com/headroomlabs-ai/headroom/issues/2558))
([d091fbd](https://github.com/headroomlabs-ai/headroom/commit/d091fbd9f2ccc522de87350c0bc7a85f0de230eb))
* **proxy:** astgrep disk verify truncation
([#3192](https://github.com/headroomlabs-ai/headroom/issues/3192))
([1fb4cba](https://github.com/headroomlabs-ai/headroom/commit/1fb4cbaea0dcc62aa092bac3af04991d994207d0))
* **proxy:** break the compact-every-turn loop near the real context
window
([#2942](https://github.com/headroomlabs-ai/headroom/issues/2942))
([76cceeb](https://github.com/headroomlabs-ai/headroom/commit/76cceeb48728a4f179626e43f1ec23d1f7cebd79))
* **proxy:** classify failed streams as failed requests
([#3747](https://github.com/headroomlabs-ai/headroom/issues/3747))
([42d4f58](https://github.com/headroomlabs-ai/headroom/commit/42d4f58b434bdca8f81cabf5f00d6e8e02a7fb2c))
* **proxy:** don't retry a 429/529 that cannot succeed within the
backoff cap
([#3992](https://github.com/headroomlabs-ai/headroom/issues/3992))
([a961a6f](https://github.com/headroomlabs-ai/headroom/commit/a961a6fea083a9a739df40d1371e1e7ec108516d))
* **proxy:** don't send a memory continuation with unanswered client
tool calls
([#4009](https://github.com/headroomlabs-ai/headroom/issues/4009))
([#4013](https://github.com/headroomlabs-ai/headroom/issues/4013))
([87e05b6](https://github.com/headroomlabs-ai/headroom/commit/87e05b68b8aa578f1439abfc8006b38cd09db14d))
* **proxy:** forward x-litellm-key-* headers on streaming path
([#2532](https://github.com/headroomlabs-ai/headroom/issues/2532))
([33ade5b](https://github.com/headroomlabs-ai/headroom/commit/33ade5b0e1019adf34d9fd888cc105d4bc23935e))
* **proxy:** ignore defer_loading when measuring a turn hook's tool
delta ([#4056](https://github.com/headroomlabs-ai/headroom/issues/4056))
([f8212a3](https://github.com/headroomlabs-ai/headroom/commit/f8212a39dcc5b03a75e98b60a8ecdef81a0f48ed))
* **proxy:** keep Claude Haiku 5.5 mid-conversation system messages in
place ([#4153](https://github.com/headroomlabs-ai/headroom/issues/4153))
([a9eb2a7](https://github.com/headroomlabs-ai/headroom/commit/a9eb2a7b6fe6b75042646284109846da46939649))
* **proxy:** keep leading Anthropic system payloads valid
([#3671](https://github.com/headroomlabs-ai/headroom/issues/3671))
([d9e29bb](https://github.com/headroomlabs-ai/headroom/commit/d9e29bb2600a746dea80caa7721f0fb98109589c))
* **proxy:** log the savings and metrics failures that currently vanish
([#4084](https://github.com/headroomlabs-ai/headroom/issues/4084))
([2800932](https://github.com/headroomlabs-ai/headroom/commit/2800932e1827400cf41be1cff6154f78f691ccce))
* **proxy:** read stream cache usage from message_delta; keep Fireworks
sessions on one replica
([#4174](https://github.com/headroomlabs-ai/headroom/issues/4174))
([30b22df](https://github.com/headroomlabs-ai/headroom/commit/30b22df7fda6163c576c8f720982bf1ca48762c3))
* **proxy:** record the provider's billed input count on streamed turns
([#4052](https://github.com/headroomlabs-ai/headroom/issues/4052))
([a9815bb](https://github.com/headroomlabs-ai/headroom/commit/a9815bbb5fa2d2347ceeeac0f01cc9f041e2ded2))
* **proxy:** say why proxy.log is missing and why a knob or extension
was ignored
([#4088](https://github.com/headroomlabs-ai/headroom/issues/4088))
([72302a3](https://github.com/headroomlabs-ai/headroom/commit/72302a3998104a400765fa7e21177ed59f429f38))
* **release:** synchronize editable uv lock version
([#4054](https://github.com/headroomlabs-ai/headroom/issues/4054))
([3f99066](https://github.com/headroomlabs-ai/headroom/commit/3f990663cca5b9dd2ed0ca26343b0619bbab0aa7))
* **router:** bound ML compression per request, not just per block
([#3721](https://github.com/headroomlabs-ai/headroom/issues/3721))
([f37980f](https://github.com/headroomlabs-ai/headroom/commit/f37980f7f7612e7ae58b4f3b5b98f185e216fd91))
* **router:** preserve nested JSON records through compression
([#3680](https://github.com/headroomlabs-ai/headroom/issues/3680))
([fd06703](https://github.com/headroomlabs-ai/headroom/commit/fd067033da185f1abf48ea58e63c6d71d4d11ec1))
* **savings,ccr:** log the ledger and MCP failures that are swallowed
silently
([#4105](https://github.com/headroomlabs-ai/headroom/issues/4105))
([97680e7](https://github.com/headroomlabs-ai/headroom/commit/97680e7782423308b8e35c5560fea5b1d9434e1b))
* **savings:** don't let a thin holdout arm decide the headline number
([#3127](https://github.com/headroomlabs-ai/headroom/issues/3127))
([2a12e03](https://github.com/headroomlabs-ai/headroom/commit/2a12e035a3239bdfbb4fe75e1246923c144aabef))
* **security:** resolve 23 open CodeQL alerts
([#4045](https://github.com/headroomlabs-ai/headroom/issues/4045))
([a88e2d5](https://github.com/headroomlabs-ai/headroom/commit/a88e2d51452f7a2fa1882639585d482e1f05d92f))
* **security:** resolve high-severity CodeQL alerts
([#4005](https://github.com/headroomlabs-ai/headroom/issues/4005))
([dea9092](https://github.com/headroomlabs-ai/headroom/commit/dea9092e19385f286b7f67a64f4d85de2708d756))
* **smart-crusher:** preserve wrapped retrieval results in apply
([#4149](https://github.com/headroomlabs-ai/headroom/issues/4149))
([9762a14](https://github.com/headroomlabs-ai/headroom/commit/9762a14a40bde4d3f58a027c086b6ac75fbd5ed2))
* **subscription:** log a failed OTEL window update instead of passing
silently
([#4131](https://github.com/headroomlabs-ai/headroom/issues/4131))
([7d9dd55](https://github.com/headroomlabs-ai/headroom/commit/7d9dd55e7c4bbd2a95b054de7e5722c4cf20ce50))
* **toin:** make diagnostic pattern identifiers addressable
([#4021](https://github.com/headroomlabs-ai/headroom/issues/4021))
([def6d41](https://github.com/headroomlabs-ai/headroom/commit/def6d41185d3091d4ef42ae379829087deeaf38f))
* **transforms:** log failed transforms with tracebacks
([#3981](https://github.com/headroomlabs-ai/headroom/issues/3981))
([a654558](https://github.com/headroomlabs-ai/headroom/commit/a65455804ce6c16670af6fe253bd9f8f6105bfe3))
* **wrap:** carry the shared proxy's extensions over to a dedicated
Copilot proxy
([#4154](https://github.com/headroomlabs-ai/headroom/issues/4154))
([feea130](https://github.com/headroomlabs-ai/headroom/commit/feea130f81953030bda222ffe88abb61fbb60ee8))
* **wrap:** let `wrap opencode` target a third-party OpenAI-compatible
upstream
([#3125](https://github.com/headroomlabs-ai/headroom/issues/3125))
([0d7d61d](https://github.com/headroomlabs-ai/headroom/commit/0d7d61d5ccaee25d399ae3209e8ce067e8673b30))
* **wrap:** reject saved bob gateway URLs the proxy would not route
([#3975](https://github.com/headroomlabs-ai/headroom/issues/3975))
([944eafc](https://github.com/headroomlabs-ai/headroom/commit/944eafc6d4bcebbe6624cff95681f5af8b257868))
* **wrap:** trim the wrap claude startup banner
([#3900](https://github.com/headroomlabs-ai/headroom/issues/3900))
([aba75cb](https://github.com/headroomlabs-ai/headroom/commit/aba75cbf6d2fe1e4c728e4af258907d9c28028d0))
* **wrap:** warn when reused proxy ignores compression settings
([#4019](https://github.com/headroomlabs-ai/headroom/issues/4019))
([278bbc8](https://github.com/headroomlabs-ai/headroom/commit/278bbc8771938eec18e89df942e1594b6ddf41d4))


### Performance Improvements

* **proxy:** avoid eager dependency imports
([#3546](https://github.com/headroomlabs-ai/headroom/issues/3546))
([59bd482](https://github.com/headroomlabs-ai/headroom/commit/59bd482fa1661293d86834e73fe90f0ee21130c5))


### Code Refactoring

* **backends:** reuse the LiteLLM tool converters in the any-llm backend
([#4076](https://github.com/headroomlabs-ai/headroom/issues/4076))
([03538f2](https://github.com/headroomlabs-ai/headroom/commit/03538f2f2f55cafc0cec4ddf1b22e3189e2a0a24))
* **cli:** one missing-binary error for every wrap command
([#4122](https://github.com/headroomlabs-ai/headroom/issues/4122))
([2c2357a](https://github.com/headroomlabs-ai/headroom/commit/2c2357ad342de69d4576f0e38efc58646f054913))
* **cli:** remove test-only and dead helpers from wrap, proxy and mcp
([#4118](https://github.com/headroomlabs-ai/headroom/issues/4118))
([73f59a3](https://github.com/headroomlabs-ai/headroom/commit/73f59a32ccda8fe9de385031ccd032d1007be650))
* **compression:** deprecate the test-only UniversalCompressor package
([#4095](https://github.com/headroomlabs-ai/headroom/issues/4095))
([fc8ff5a](https://github.com/headroomlabs-ai/headroom/commit/fc8ff5a7619271ffe306ffad50f2ee936d5d2158))
* **core:** remove unreferenced helpers, attributes and a shadowed
module
([#4091](https://github.com/headroomlabs-ai/headroom/issues/4091))
([08fce18](https://github.com/headroomlabs-ai/headroom/commit/08fce1831067005f048cb81f0033abc17a89e9fd))
* **graph:** drop the bespoke codebase-memory-mcp downloader nothing
calls ([#4102](https://github.com/headroomlabs-ai/headroom/issues/4102))
([30d23fb](https://github.com/headroomlabs-ai/headroom/commit/30d23fb799674a5d9a3c531baf09a307d62c2bf2))
* **mcp_registry:** share spec helpers and fold GrokRegistrar onto the
Codex TOML registrar
([#4121](https://github.com/headroomlabs-ai/headroom/issues/4121))
([6e14ee0](https://github.com/headroomlabs-ai/headroom/commit/6e14ee0bc2dde72378b841f708f73cdf79df6e2d))
* **memory,learn,cache:** remove unreferenced classes, methods and
constants
([#4112](https://github.com/headroomlabs-ai/headroom/issues/4112))
([abbf36f](https://github.com/headroomlabs-ai/headroom/commit/abbf36f052fca643a3cd5f7cadd21b5a7d4bf406))
* **memory:** deprecate the never-wired agent memory writers
([#4101](https://github.com/headroomlabs-ai/headroom/issues/4101))
([2e497cb](https://github.com/headroomlabs-ai/headroom/commit/2e497cbec3c26c1d2c83adcc94794164cbab3268))
* **memory:** deprecate the orphaned Mem0SystemAdapter
([#4114](https://github.com/headroomlabs-ai/headroom/issues/4114))
([7387b8c](https://github.com/headroomlabs-ai/headroom/commit/7387b8cc11ecdf4775faa6042e7cc15d114b4942))
* **memory:** drop the unused extraction prompts and tool schemas
([#4100](https://github.com/headroomlabs-ai/headroom/issues/4100))
([6d23895](https://github.com/headroomlabs-ai/headroom/commit/6d23895dc003e865c3c5d4690853551406e7cdc8))
* **memory:** remove the unused memory budget manager
([#4099](https://github.com/headroomlabs-ai/headroom/issues/4099))
([e7ac6ca](https://github.com/headroomlabs-ai/headroom/commit/e7ac6ca6f81834549a66fc0832b1ddb2470da245))
* **proxy:** delete the unused memory_tool_adapter module
([#4071](https://github.com/headroomlabs-ai/headroom/issues/4071))
([7e5d97f](https://github.com/headroomlabs-ai/headroom/commit/7e5d97fe29073af0751cc0abc7bdf6a6d3bd74a2))
* **proxy:** drop the test-only memory ranker and file-backed native
memory ops
([#4072](https://github.com/headroomlabs-ai/headroom/issues/4072))
([fc5ac70](https://github.com/headroomlabs-ai/headroom/commit/fc5ac70b4a1eac8f49d86ad386c76c67bab40372))
* **proxy:** parse HEADROOM_OUTPUT_HOLDOUT in one place
([#4082](https://github.com/headroomlabs-ai/headroom/issues/4082))
([1a4e419](https://github.com/headroomlabs-ai/headroom/commit/1a4e4194a0b26e4f09026c18ac6b8935c6a99c0c))
* **proxy:** remove dead aliases and wrappers from helpers,
body_forwarding, forwarded_headers
([#4080](https://github.com/headroomlabs-ai/headroom/issues/4080))
([63cc9af](https://github.com/headroomlabs-ai/headroom/commit/63cc9afa9d282aeae127e6af20d9a9efa2eebd7e))
* **proxy:** remove dead wiring and unused re-exports from server.py
([#4073](https://github.com/headroomlabs-ai/headroom/issues/4073))
([58387c1](https://github.com/headroomlabs-ai/headroom/commit/58387c1174e6f7f526c3677b72986079da554a8a))
* **proxy:** remove test-only and dead helpers from the handlers
([#4117](https://github.com/headroomlabs-ai/headroom/issues/4117))
([31d378b](https://github.com/headroomlabs-ai/headroom/commit/31d378b0e5337bf8c572ca272e8649762457dc5f))
* **proxy:** remove the unreachable debug branches from the Responses
payload compressor
([#4116](https://github.com/headroomlabs-ai/headroom/issues/4116))
([132cd58](https://github.com/headroomlabs-ai/headroom/commit/132cd583daeb968dd4121f0163677f5b1605f29c))
* **proxy:** remove the unreachable debug branches from the Responses
unit router
([#4115](https://github.com/headroomlabs-ai/headroom/issues/4115))
([25cc2d5](https://github.com/headroomlabs-ai/headroom/commit/25cc2d586316fee5cb67b7a25ef2927198a0ae6b))
* **proxy:** remove unreferenced and test-only helpers
([#4074](https://github.com/headroomlabs-ai/headroom/issues/4074))
([e5cbec5](https://github.com/headroomlabs-ai/headroom/commit/e5cbec5f1a860eb51e4e49507b8eb26742abba22))
* remove test-only compatibility helpers in rollout and agent_savings
([#4089](https://github.com/headroomlabs-ai/headroom/issues/4089))
([310c108](https://github.com/headroomlabs-ai/headroom/commit/310c108c24caef1839a538a28878b6709f8987f9))
* remove write-only and test-only code in subscription and install
([#4123](https://github.com/headroomlabs-ai/headroom/issues/4123))
([c191bee](https://github.com/headroomlabs-ai/headroom/commit/c191beef59cc9bde622cf7db251ac94eb2a20c70))
* **transforms:** deprecate the unused Python AnchorSelector port
([#4104](https://github.com/headroomlabs-ai/headroom/issues/4104))
([9b1971d](https://github.com/headroomlabs-ai/headroom/commit/9b1971dd82c941d683902014b203de4bf617cc61))
* **transforms:** deprecate unused compress_with_stats, extract_batch
and align_for_cache
([#4098](https://github.com/headroomlabs-ai/headroom/issues/4098))
([e4a1ec1](https://github.com/headroomlabs-ai/headroom/commit/e4a1ec19be787a312624fdca52e2184b9a4127b9))
* **transforms:** drop the Python mirror of the Rust log selector
([#4096](https://github.com/headroomlabs-ai/headroom/issues/4096))
([a20c76c](https://github.com/headroomlabs-ai/headroom/commit/a20c76c26b15557a1bf176c4ef84f46121550297))
* **transforms:** drop the Python mirror of the Rust search selector
([#4103](https://github.com/headroomlabs-ai/headroom/issues/4103))
([47f8710](https://github.com/headroomlabs-ai/headroom/commit/47f8710817ddc6612127662714b5fcecf83dc644))
* **transforms:** remove the unused summarize_dropped_items
([#4093](https://github.com/headroomlabs-ai/headroom/issues/4093))
([eaa7308](https://github.com/headroomlabs-ai/headroom/commit/eaa7308a52620ad803b13c7f66300d7196f63212))
* **transforms:** remove unused convenience wrappers and helpers
([#4097](https://github.com/headroomlabs-ai/headroom/issues/4097))
([5c72d82](https://github.com/headroomlabs-ai/headroom/commit/5c72d824f4d1ab0d46a960f8f61a14d000482591))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-14 17:45:55 -05:00
Mansurshakh JaparovandJD Davis def6d41185 fix(toin): make diagnostic pattern identifiers addressable (#4021)
## Description

Return the full scoped aggregation key, using the issue's option 2,
rather than truncating it. The current key contains tenant, auth mode,
model family, and signature; truncating to 12 characters makes different
patterns share IDs and makes list-to-detail lookup silently return a
different pattern.

Closes #2928.

## Type of Change

- [x] Bug fix
- [x] Documentation update
- [x] Intentional diagnostic contract change: listed `hash` values are
complete scoped identifiers; ambiguous abbreviated lookups now return
409 instead of an arbitrary first match.

## Changes Made

- Return the exact stored scoped key from `/v1/toin/patterns`.
- Resolve exact keys first; allow an abbreviated prefix only if it
matches one pattern. Keep 404 for unknown IDs and return 409 for
ambiguity.
- Capture the complete URL-decoded identifier, including a slash in a
tenant ID, without falling through to an upstream passthrough route.
- Preserve loopback authorization and the existing privacy whitelist.
- Update the TypeScript SDK README to round-trip the listed ID. No SDK
runtime change: `getPattern` already URL-encodes the string.

## Testing

- [x] Unit tests pass (`pytest`), including scoped-ID round-trips and
authorization regressions.
- [x] Changed-file lint, configured pre-commit mypy and manual
production HTTP checks pass.

### Test Output

```text
================== 144 passed, 1 warning in 71.73s (0:01:11) ===================
```

The mandatory pre-push `make ci-precheck` passed: workspace Rust
fmt/clippy/tests, native extension build/import verification, the
complete configured Python gate, and Commitlint. The native gate used
the installed CPU `libonnxruntime.so.1.26.0` explicitly via
`ORT_DYLIB_PATH`, without skipping cached-model assertions.

```text
[build_rust_extension] headroom._core build + install + verify: OK
================== 177 passed, 4 skipped, 1 warning in 9.70s ===================
✅ ci-precheck PASSED — safe to push.
```

```sh
python -m pytest -q tests/test_proxy_loopback_gating.py
```

**144 passed**, one existing Starlette TestClient deprecation warning.
The new consumer regressions produce **2 failed, 2 passed** against the
unchanged baseline (preloaded baseline modules prevent foreign-worktree
conftest imports from selecting the treatment).

Changed-file Ruff, formatting, installed pre-commit `mypy headroom`, and
Commitlint hooks passed. Full-tree Ruff was not green locally because
five unchanged OAuth2 plugin files have executable filesystem
permissions while Git tracks 100644. A separate full dev-environment
mypy run found an unchanged optional LangChain `truthy-function` error;
the isolated configured pre-commit mypy hook passed. No unrelated source
or permissions were changed.

## Real Behavior Proof

- Environment: Linux x86_64, CPython 3.13.14; unchanged
`dea9092e19385f286b7f67a64f4d85de2708d756` and this branch, real
production FastAPI app over loopback HTTP (ports 18792/18793), actual
TOIN instance and public `import_patterns`, no mocked endpoint or fake
TOIN.
- Exact command / steps: import four patterns
`global|unknown|unknown|abc123`, `global|unknown|unknown|abc456`,
`global|payg|claude|abc123`, `other-tenant|unknown|unknown|abc123` with
counts 8, 16, 24, 32; GET `/v1/toin/patterns`; URL-encode each returned
`hash` and GET `/v1/toin/pattern/{hash}`; request the shared prefix
`global|unknown|unknown|abc`.
- Before: four entries produced only three IDs. The entry with count 16
returned count 8 when addressed by its listed ID. The shared prefix
returned 200.
- Observed result: after the fix, four entries produce four distinct
IDs; every detail request returns its own count (8→8, 16→16, 24→24,
32→32); the ambiguous prefix returns **409**. Exact and unique-prefix
lookups remain successful; unknown-prefix regression remains 404.
- Rebased onto current main `1ad92f0cbc3dea27676e253588100f64a2af6994`
and reran the full suite: **144 passed**. A further real HTTP smoke on
port 18794 imported a fifth key,
`tenant/alpha?scope=one#fragment|unknown|unknown|abc123`, URL-encoded
it, and round-tripped all **5/5** counts including **40→40**. The
reserved-character edge case failed before the path-converter fix and
passed after it.
- Not tested: a live remote tenant deployment or the SDK against a cloud
proxy. Existing authorization/privacy tests were exercised locally.

## Runtime Rollout Safety

- Rollout-managed feature(s): none; diagnostic API bug fix.
- Minimum rollout channel: stable; no rollout-managed feature is
enabled.
- Stable/default behavior changed: full scoped list identifiers and
rejection of ambiguous prefixes. This is the selected issue alternative,
not a new raw-signature alias or migration shim.
- Kill switch / disable path: disable access to the loopback diagnostic
API; no new runtime flag.
- Unsafe override required: no.
- Qualification impact: diagnostic IDs only; no compression or billing
change.
- Rollback path: revert this commit; no persistent data migration.

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] Existing API and privacy conventions reused; SDK documentation
updated.
- [x] Regression tests cover scoped collisions, list-to-detail
round-trips, exact/unique/ambiguous/missing lookups, and existing
loopback gating.
- [x] `CHANGELOG.md` not edited; Conventional Commit title supplied.

GitHub CI results are not inferred from local checks.

<!-- devin-review-badge-begin -->

---

<a href="https://app.devin.ai/review/headroomlabs-ai/headroom/pull/4021"
target="_blank"><picture><source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img
src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4"
alt="Devin Review"></picture></a>
<!-- devin-review-badge-end -->

Co-authored-by: JD Davis <mxjerrett@gmail.com>
2026-10-07 14:07:38 -05:00
Tejas ChopraandClaude Opus 5.5 dea9092e19 fix(security): resolve high-severity CodeQL alerts (#4005)
## Description

Resolves the high-severity CodeQL alerts in product code. Three are real
leaks (an API key in the proxy log, a credential in an oauth2 warning,
XSS in the HTML report); the rest are hardening.

Closes #

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Performance improvement
- [ ] Code refactoring (no functional changes)

## Changes Made

- **#63, Gemini API key written to the proxy log.** Google forwarders
build `...?key=<api key>` URLs (`batch.py:442` and others) and
`log_outbound_request` logged the full URL at INFO. The log line now
drops the query string, fragment and userinfo, keeping scheme, host
(IPv6 literals stay bracketed) and path. A URL with an invalid port logs
`<unparseable>` rather than raising.
- **#104, credential in an oauth2 warning.** A static header written as
`Authorization: Bearer x=y` splits on the first `=`, so `Authorization:
Bearer x` lands in the key, is rejected as malformed, and was echoed by
the warning. The warning no longer prints the key.
- **#131, XSS in the HTML report.** `model` and other request fields are
client supplied. Jinja2 autoescape is now on; no report field relies on
raw HTML.
- **#127:** `SNOWFLAKE_HOST` must end with `.snowflakecomputing.com`
instead of merely containing it.
- **#19, #128, #129, #130:** the `/\/+$/` trailing-slash regex in the TS
SDK and opencode plugin backtracks quadratically on long runs of `/`.
Replaced with a loop. The committed wheel bundle
(`headroom/providers/opencode/_dist/entry.opencode.js`) is rebuilt to
match.

Not changed (false positives, to dismiss): **#105** (URL already reduced
to `scheme://host` by `_redact_url`) and **#109** (`token_fingerprint`
is a short SHA-256 fingerprint of a high-entropy token for comparison,
not password storage).

## Testing

- [x] Unit tests pass (`pytest`)
- [x] Linting passes (`ruff check .`)
- [ ] Type checking passes (`mypy headroom`)
- [x] New tests added for new functionality
- [x] Manual testing performed

New tests: outbound log keeps no `key=` value or userinfo, keeps IPv6
brackets, and handles relative paths and invalid ports; the report
escapes `<script>`; the Snowflake host must end with the domain; both TS
trailing-slash helpers are tested on normal inputs and on a 100k-slash
input (the old regex took ~5.2 s on it; the test bound is 1 s).

### Test Output

```text
$ HEADROOM_REQUIRE_RUST_CORE=false pytest -q tests/test_proxy_byte_faithful_forwarding.py tests/test_reporting.py tests/test_provider_cortex_code.py
105 passed in 4.65s

$ HEADROOM_REQUIRE_RUST_CORE=false pytest -q plugins/headroom-oauth2/tests
70 passed

$ ruff check headroom/proxy/helpers.py tests/test_proxy_byte_faithful_forwarding.py && ruff format --check ...
All checks passed!
2 files already formatted

$ (cd plugins/opencode && npm run typecheck && npx vitest run)
Test Files  3 passed (3)
     Tests  38 passed (38)

$ (cd sdk/typescript && npx vitest run)
Test Files  19 passed | 5 skipped (24)
     Tests  351 passed | 33 skipped (384)

$ (cd plugins/opencode && npm run build:standalone) && cmp dist-standalone/entry.opencode.js ../../headroom/providers/opencode/_dist/entry.opencode.js
(no output: bundle matches source)
```

The two oauth2 tests that start the full proxy need the Rust core, which
was not built in the local worktree, so they ran with
`HEADROOM_REQUIRE_RUST_CORE=false`.

## Real Behavior Proof

- Environment: macOS 26 (Darwin 25.6), Python 3.12 venv, this branch at
`bb634a3b`, `HEADROOM_REQUIRE_RUST_CORE=false`. A local fake Gemini
upstream (Python `http.server`) listening on IPv6 `[::1]:9911`.
- Exact command / steps:
1. `python fake_gemini.py` (accepts POST, logs the request path, returns
`{"batch":{"name":"batches/fake"}}`)
  2. `headroom proxy --port 8799 --gemini-api-url 'http://[::1]:9911'`
3. `curl -X POST
'http://127.0.0.1:8799/v1beta/models/gemini-2.5-pro:batchGenerateContent'
-H 'x-goog-api-key: AIzaFAKE-RUNTIME-PROOF-123' -H 'content-type:
application/json' -d
'{"batch":{"displayName":"proof","inputConfig":{"requests":{"requests":[]}}}}'`
  4. `grep outbound_request proxy.log; grep -c AIzaFAKE proxy.log`
- Observed result: the client got `HTTP 200`. The upstream still
received the key
(`/v1beta/models/gemini-2.5-pro:batchGenerateContent?key=AIzaFAKE-RUNTIME-PROOF-123`),
so forwarding is unchanged. The proxy log line was
`event=outbound_request forwarder=google_batch_passthrough method=POST
path=http://[::1]:9911/v1beta/models/gemini-2.5-pro:batchGenerateContent
body_bytes=76 ...`, and the key appeared in the proxy log **0** times.
- Not tested: real Google, Snowflake or oauth2 provider endpoints; the
HTML report was exercised only through unit tests; the opencode plugin
was not loaded into a live opencode session; Windows.

## Runtime Rollout Safety

- Rollout-managed feature(s): None. No rollout-managed feature or flag
is touched.
- Minimum rollout channel: Stable. These are security fixes with no
opt-in behaviour.
- Stable/default behavior changed: Only diagnostics and validation: the
`outbound_request` log line no longer includes the query string,
fragment or userinfo; the oauth2 malformed-header warning no longer
prints the key; HTML report fields are escaped; a `SNOWFLAKE_HOST` that
merely contains `.snowflakecomputing.com` is now rejected. Request
forwarding is byte-for-byte unchanged.
- Kill switch / disable path: None needed; nothing new is enabled.
Reverting the PR restores the previous behaviour.
- Unsafe override required: No.
- Qualification impact: None. No compression, routing or
token-accounting path changes.
- Rollback path: Revert this PR.

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] I did **not** edit `CHANGELOG.md` — it is generated by
release-please from my Conventional Commit PR title (a CI guard enforces
this)

## Additional Notes

Possible overlap: #3999 also replaces the opencode trailing-slash regex.
Whichever lands second will need a small rebase.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 23:11:40 -05:00
JD Davisandgithub-actions[bot] 855390d611 chore: release 0.40.0 (#3833)
🤖 I have created a release *beep* *boop*
---


##
[0.40.0](https://github.com/headroomlabs-ai/headroom/compare/v0.39.1...v0.40.0)
(2026-10-06)


### ⚠ BREAKING CHANGES

* **proxy:** read HEADROOM_LICENSE and make usage reporting opt-in
([#3857](https://github.com/headroomlabs-ai/headroom/issues/3857))
* drop the crewai extra to remove chromadb from the lockfile
([#3870](https://github.com/headroomlabs-ai/headroom/issues/3870))

### Features

* **compress:** add per-message compression diagnostics
([#3058](https://github.com/headroomlabs-ai/headroom/issues/3058))
([fef99cc](https://github.com/headroomlabs-ai/headroom/commit/fef99cc5b444bb16ac33fe8ec70108f7c0271de1))
* **compress:** live-agent densify mode, lossless and cache-safe
([#1402](https://github.com/headroomlabs-ai/headroom/issues/1402))
([84f0e84](https://github.com/headroomlabs-ai/headroom/commit/84f0e84dccd3736b4a0c6c817bc83da307a5fbb8))
* **dashboard:** add CO₂ Saved card to dashboard and /stats API
([#1369](https://github.com/headroomlabs-ai/headroom/issues/1369))
([2bc9419](https://github.com/headroomlabs-ai/headroom/commit/2bc94194671548c5def53809f736340285e20e76))
* **dashboard:** give savings metrics one canonical home
([#3320](https://github.com/headroomlabs-ai/headroom/issues/3320))
([6af7efe](https://github.com/headroomlabs-ai/headroom/commit/6af7efe0d1fa9786d1fd5e5dc9884b7750c0f569))
* **learn:** add agy (Antigravity CLI) as an analysis backend
([#3939](https://github.com/headroomlabs-ai/headroom/issues/3939))
([4ba231a](https://github.com/headroomlabs-ai/headroom/commit/4ba231ab3d51c409804af24ea03692aed33deb2e))
* **live-zone:** wire the SourceCode and PlainText dispatch arms
([#3227](https://github.com/headroomlabs-ai/headroom/issues/3227))
([49f69be](https://github.com/headroomlabs-ai/headroom/commit/49f69be2836e90cbd210e39d82b36d514404cc76))
* **memory:** persist TrafficLearner pending evidence across restarts +
expose learner stats
([#3104](https://github.com/headroomlabs-ai/headroom/issues/3104))
([4257ed4](https://github.com/headroomlabs-ai/headroom/commit/4257ed4df377a93cd2e0d526ef61d2a32cbc54cf))
* **proxy:** add x-headroom-keep-last-turns header for per-request
context trimming (issue
[#2858](https://github.com/headroomlabs-ai/headroom/issues/2858))
([#3059](https://github.com/headroomlabs-ai/headroom/issues/3059))
([246162d](https://github.com/headroomlabs-ai/headroom/commit/246162d70bbc68cc1b7d44a015ddaf320cd23a3d))
* **proxy:** route Gemini plugin traffic through native transforms
([#2697](https://github.com/headroomlabs-ai/headroom/issues/2697))
([0ad996a](https://github.com/headroomlabs-ai/headroom/commit/0ad996a82eef65183271243fa71bb0f5653be369))
* **proxy:** serve on a Unix domain socket (--uds)
([#3151](https://github.com/headroomlabs-ai/headroom/issues/3151))
([e7b3baf](https://github.com/headroomlabs-ai/headroom/commit/e7b3baf236b832e1d4d086c4425b8d32560d0d7c))
* **wrap:** add headroom wrap bob for IBM Bob CLI
([#3801](https://github.com/headroomlabs-ai/headroom/issues/3801))
([0b7dab4](https://github.com/headroomlabs-ai/headroom/commit/0b7dab47c62a8372c7bf7031d744658d71745679))
* **wrap:** extend reduce-at-source quiet defaults to telemetry/nag
banners
([#2550](https://github.com/headroomlabs-ai/headroom/issues/2550))
([3a3a465](https://github.com/headroomlabs-ai/headroom/commit/3a3a465bb129ad74f6e04f7c50e0fe7489383ba2))


### Bug Fixes

* **anthropic:** preserve failed CCR continuations
([#3843](https://github.com/headroomlabs-ai/headroom/issues/3843))
([94bb055](https://github.com/headroomlabs-ai/headroom/commit/94bb055810dc1258bd248cd0a9d0e7c51df64844))
* **backends/anyllm:** map Anthropic tool_choice none to OpenAI none
([#3963](https://github.com/headroomlabs-ai/headroom/issues/3963))
([d722a64](https://github.com/headroomlabs-ai/headroom/commit/d722a6414c3896ef092a0d8764c64d9681e07410))
* **backends/litellm:** align streaming usage tokens with the
non-streaming path
([#2688](https://github.com/headroomlabs-ai/headroom/issues/2688))
([90a68e0](https://github.com/headroomlabs-ai/headroom/commit/90a68e02910126373f3d3769158925e3a55ce411))
* **backends/litellm:** keep the upstream 4xx status on send_message
errors
([#3944](https://github.com/headroomlabs-ai/headroom/issues/3944))
([e0e41cd](https://github.com/headroomlabs-ai/headroom/commit/e0e41cd2f57a80612ddbf1568e4ad245046a0131))
* **backends/litellm:** map Anthropic tool_choice none to OpenAI none
([#2689](https://github.com/headroomlabs-ai/headroom/issues/2689))
([57a5708](https://github.com/headroomlabs-ai/headroom/commit/57a57088de8920091ecaaac0e3cadf3932698154))
* **backends/litellm:** match the caller-key Bearer scheme
case-insensitively (RFC 7235)
([#3965](https://github.com/headroomlabs-ai/headroom/issues/3965))
([848d7a0](https://github.com/headroomlabs-ai/headroom/commit/848d7a04b489600d3c0de0ba4f7c47cdb8ed5cc2))
* **backends/litellm:** report requested model in OpenAI streaming
chunks
([#2690](https://github.com/headroomlabs-ai/headroom/issues/2690))
([8538a83](https://github.com/headroomlabs-ai/headroom/commit/8538a831531bb277a6083ed2a010312a849c3050))
* **cache:** keep prefix lineage across a replaced system tail
([#3934](https://github.com/headroomlabs-ai/headroom/issues/3934))
([16eaec1](https://github.com/headroomlabs-ai/headroom/commit/16eaec1e95cd39135ef06f6664b309c71b03e3ad))
* **ccr:** answer headroom_retrieve on the direct chat path instead of
forwarding it
([#3816](https://github.com/headroomlabs-ai/headroom/issues/3816))
([126e144](https://github.com/headroomlabs-ai/headroom/commit/126e144876d2bd01246b5066dd5d3379b7a0e2da))
* **ccr:** inject headroom_retrieve before the prefix is warm, not after
([#3810](https://github.com/headroomlabs-ai/headroom/issues/3810))
([bb8c285](https://github.com/headroomlabs-ai/headroom/commit/bb8c285714b19dadf4f96305ba5a74877a0dd103))
* **ccr:** only proactively expand compressions present in the
requesting conversation
([#3924](https://github.com/headroomlabs-ai/headroom/issues/3924))
([9b9a883](https://github.com/headroomlabs-ai/headroom/commit/9b9a883e96ec28e361a3d95e34ec29ecd2ef8abb))
* **ccr:** unwrap Hermes batched tool_call so headroom_retrieve stays
exempt
([#3839](https://github.com/headroomlabs-ai/headroom/issues/3839))
([2f07668](https://github.com/headroomlabs-ai/headroom/commit/2f076687b069f09c69a1ce3e6f3eaaa521b838f7))
* **ci:** clear dependency audit and gate Docker publishing
([#3984](https://github.com/headroomlabs-ai/headroom/issues/3984))
([67ce7d0](https://github.com/headroomlabs-ai/headroom/commit/67ce7d0f3119883a873a53c1fb1e569c80d36d71))
* **ci:** keep hard watchdog out of pytest shards
([#3845](https://github.com/headroomlabs-ai/headroom/issues/3845))
([2527431](https://github.com/headroomlabs-ai/headroom/commit/25274310ca396aaf5761d78d07106de3dfde2951))
* **ci:** tolerate missing Docker cache blobs
([#3945](https://github.com/headroomlabs-ai/headroom/issues/3945))
([540f4da](https://github.com/headroomlabs-ai/headroom/commit/540f4da19995ce9ec60240f991a8091466ee7e51))
* clarify CCR marker content preservation
([#3175](https://github.com/headroomlabs-ai/headroom/issues/3175))
([005a4e1](https://github.com/headroomlabs-ai/headroom/commit/005a4e146f94e2388e8e0e7eaabe5a831676b26b))
* **cli:** honor CODEX_HOME and align wrap/init/doctor with the live
proxy port
([#3855](https://github.com/headroomlabs-ai/headroom/issues/3855))
([5bf6612](https://github.com/headroomlabs-ai/headroom/commit/5bf661232667fe2573caafcd9b48f86c6388b5bd))
* **cli:** strip unmarked headroom_memory TOML table before injecting
([#3490](https://github.com/headroomlabs-ai/headroom/issues/3490))
([08dda4c](https://github.com/headroomlabs-ai/headroom/commit/08dda4cb0b5fe69bff8aa1deeabfb2111738087c))
* **codex:** explain why wrapped Codex runs without the shared server
([#3899](https://github.com/headroomlabs-ai/headroom/issues/3899))
([1982b3a](https://github.com/headroomlabs-ai/headroom/commit/1982b3a773093ff8262887e69ffb12e342ce4ffc))
* **codex:** preserve remote compaction in init config
([#3410](https://github.com/headroomlabs-ai/headroom/issues/3410))
([6df4a96](https://github.com/headroomlabs-ai/headroom/commit/6df4a963ae4cfefa2269b751874e142b02feb726))
* **codex:** resolve per-turn project context
([#2636](https://github.com/headroomlabs-ai/headroom/issues/2636))
([0396ea2](https://github.com/headroomlabs-ai/headroom/commit/0396ea2fc22d72d95d1f3bfa63bfbdd0abd74a80))
* **codex:** strip stale compression framing on the Responses subpath
passthrough
([#3792](https://github.com/headroomlabs-ai/headroom/issues/3792))
([0eba65c](https://github.com/headroomlabs-ai/headroom/commit/0eba65ca4a8f04b55d568fc35829eca053a7cfac))
* **copilot:** defer keychain auth lookup
([#2739](https://github.com/headroomlabs-ai/headroom/issues/2739))
([81a8a28](https://github.com/headroomlabs-ai/headroom/commit/81a8a28da38f1837c6b8dd6217a35a5ebb98bc87))
* **copilot:** read timezone-naive token expiry as UTC, not host local
time ([#3216](https://github.com/headroomlabs-ai/headroom/issues/3216))
([2b2dc1b](https://github.com/headroomlabs-ai/headroom/commit/2b2dc1b2c93c596ad5129dff914978c5679ef126))
* **copilot:** warn when a VS Code profile cannot see the proxy settings
([#3919](https://github.com/headroomlabs-ai/headroom/issues/3919))
([7b68fc2](https://github.com/headroomlabs-ai/headroom/commit/7b68fc263a925f97116e1e648cd3fa22a0f04f1b))
* **deps:** patch brace-expansion in wrap E2E lockfile
([#3873](https://github.com/headroomlabs-ai/headroom/issues/3873))
([5e0435d](https://github.com/headroomlabs-ai/headroom/commit/5e0435d2156229c04951da9fafeafdf74d2abf84))
* **deps:** patch urllib3 and Next.js advisories
([#3896](https://github.com/headroomlabs-ai/headroom/issues/3896))
([573e385](https://github.com/headroomlabs-ai/headroom/commit/573e385f120cfd4f5e4d54c791025f2253abf08a))
* **doctor:** recognize Azure Foundry routing for Claude Code
([#1339](https://github.com/headroomlabs-ai/headroom/issues/1339))
([d5318ac](https://github.com/headroomlabs-ai/headroom/commit/d5318ac235595b9740fccb0910ec7139c42d51a0))
* **grok:** route CLI traffic to api.x.ai on shared proxies
([#2693](https://github.com/headroomlabs-ai/headroom/issues/2693))
([ef1c528](https://github.com/headroomlabs-ai/headroom/commit/ef1c528e92a2b037a170f94ec8adf917322ba630))
* honor configured port in container startup and healthcheck
([#2436](https://github.com/headroomlabs-ai/headroom/issues/2436))
([1b7977c](https://github.com/headroomlabs-ai/headroom/commit/1b7977cecd95e53cccf45f04248097a8e4137b3f))
* **install/apply:** add --no-rate-limit flag, persist in proxy_args
([#1350](https://github.com/headroomlabs-ai/headroom/issues/1350))
([#1365](https://github.com/headroomlabs-ai/headroom/issues/1365))
([31d0344](https://github.com/headroomlabs-ai/headroom/commit/31d03449910fbacbefdde8c04ea2c10299f9bba6))
* **install:** parse Windows Task Scheduler XML output
([#3830](https://github.com/headroomlabs-ai/headroom/issues/3830))
([c32a4f4](https://github.com/headroomlabs-ai/headroom/commit/c32a4f4131934dee48d793156fb8a536a4b2617e))
* **install:** replace the launchd wrapper with the proxy listener
([#3224](https://github.com/headroomlabs-ai/headroom/issues/3224))
([44db755](https://github.com/headroomlabs-ai/headroom/commit/44db755ee6d85d0eb74f1fc79ef737741f87debc))
* **install:** use safe model backends for persistent services
([#3646](https://github.com/headroomlabs-ai/headroom/issues/3646))
([7287589](https://github.com/headroomlabs-ai/headroom/commit/7287589d23b76911b036d97f58c3cc043a9693c8))
* **integrations:** record metric timestamps in UTC, not naive local
time ([#3117](https://github.com/headroomlabs-ai/headroom/issues/3117))
([76ef2c3](https://github.com/headroomlabs-ai/headroom/commit/76ef2c3bc9cc302f4b638fab83467ab53cb192c1))
* **kompress:** degrade when a native dep is installed but unloadable
([#3133](https://github.com/headroomlabs-ai/headroom/issues/3133))
([8f3d677](https://github.com/headroomlabs-ai/headroom/commit/8f3d677354f50df9181cbb3fa002003be4e3c237))
* **kompress:** pin ModernBERT tokenizer and encoder revisions
([#3808](https://github.com/headroomlabs-ai/headroom/issues/3808))
([2de5828](https://github.com/headroomlabs-ai/headroom/commit/2de582875b7dd1ef8754df8a2905ab4d72dab581))
* **learn:** drop the echoed prompt from a failed cli's error
([#3928](https://github.com/headroomlabs-ai/headroom/issues/3928))
([f00d425](https://github.com/headroomlabs-ai/headroom/commit/f00d42561402752e56666ff35962ad8da6f7966c))
* **learn:** keep CLAUDE.local.md out of git via .git/info/exclude
([#3108](https://github.com/headroomlabs-ai/headroom/issues/3108))
([c072251](https://github.com/headroomlabs-ai/headroom/commit/c072251c10a1334265974ed33f655487518d41d0))
* **learn:** keep transcript-derived content inside the managed block
([#3850](https://github.com/headroomlabs-ai/headroom/issues/3850))
([c46e74d](https://github.com/headroomlabs-ai/headroom/commit/c46e74d06b5ffa9643f420f28d2da6686fb7e487))
* **learn:** merge git worktree sessions into the repo's project
([#3854](https://github.com/headroomlabs-ai/headroom/issues/3854))
([3fdf18e](https://github.com/headroomlabs-ai/headroom/commit/3fdf18ededa162e5f46f5a996a164a6ca9de283f))
* **learn:** preserve stable traffic pattern items
([#2293](https://github.com/headroomlabs-ai/headroom/issues/2293))
([1631cde](https://github.com/headroomlabs-ai/headroom/commit/1631cde6865cbc03a60ade5e9baaa28837add4e4))
* **learn:** recognize escaped persisted pattern IDs
([#3951](https://github.com/headroomlabs-ai/headroom/issues/3951))
([2e74f06](https://github.com/headroomlabs-ai/headroom/commit/2e74f06ecec73d365e06de6832b13f7e9fe386b7))
* **learn:** run the claude-cli analysis with hooks disabled
([#3926](https://github.com/headroomlabs-ai/headroom/issues/3926))
([2a4d34c](https://github.com/headroomlabs-ai/headroom/commit/2a4d34c47676080336577bb4b227864258cb2c78))
* **learn:** run the claude-cli analysis with no tools
([#3892](https://github.com/headroomlabs-ai/headroom/issues/3892))
([db90b93](https://github.com/headroomlabs-ai/headroom/commit/db90b93da9f8decb9cac7fa007674de7974a1cdb))
* **log_compressor:** keep and name pytest short-summary failures
([#3828](https://github.com/headroomlabs-ai/headroom/issues/3828))
([d90b320](https://github.com/headroomlabs-ai/headroom/commit/d90b32008dc47f25737d9cef8da942fd8dc1af76))
* make Headroom work behind Zscaler and other TLS-inspecting networks
([#3831](https://github.com/headroomlabs-ai/headroom/issues/3831))
([66258c4](https://github.com/headroomlabs-ai/headroom/commit/66258c40a4589bb2fef934dec6fb69c527ae8b44))
* **mcp:** bound version-detection git subprocess
([#3038](https://github.com/headroomlabs-ai/headroom/issues/3038))
([0712e04](https://github.com/headroomlabs-ai/headroom/commit/0712e048b034e7f15ce10c0fc4e99795cab082ff))
* **mcp:** escape control characters when rendering TOML server blocks
([#3964](https://github.com/headroomlabs-ai/headroom/issues/3964))
([a96154f](https://github.com/headroomlabs-ai/headroom/commit/a96154f03b65179f23496a1ff9682cfc476eaff5))
* **mcp:** keep other apps' tables when replacing the Codex/Grok MCP
span ([#3877](https://github.com/headroomlabs-ai/headroom/issues/3877))
([d0fd56e](https://github.com/headroomlabs-ai/headroom/commit/d0fd56e4910c997a3121aa27ab578b998b260f5a))
* **mcp:** resolve opencode.jsonc for MCP registration
([#2496](https://github.com/headroomlabs-ai/headroom/issues/2496))
([f824a27](https://github.com/headroomlabs-ai/headroom/commit/f824a270f132516443deeef2555076bf4cd40a34))
* **memory:** align project routing with wrap headers
([#3603](https://github.com/headroomlabs-ai/headroom/issues/3603))
([b1b005a](https://github.com/headroomlabs-ai/headroom/commit/b1b005a9a867d75cbc6b459b1f5276c272e7ac50))
* **memory:** avoid injecting tools into tool-free requests
([#3677](https://github.com/headroomlabs-ai/headroom/issues/3677))
([46755b5](https://github.com/headroomlabs-ai/headroom/commit/46755b5f72804c32dc7d6ded5595342a2cac6157))
* **memory:** close SQLite connections in memory/fts5/graph adapters
([#3153](https://github.com/headroomlabs-ai/headroom/issues/3153))
([231a627](https://github.com/headroomlabs-ai/headroom/commit/231a6277024938d28e0ebeda29378dea3822b527))
* **memory:** handle list-shaped system content in inline memory
injection
([#3794](https://github.com/headroomlabs-ai/headroom/issues/3794))
([717527b](https://github.com/headroomlabs-ai/headroom/commit/717527bc8681665326c064ed47e3f5a0284b01a5))
* **memory:** ignore leading cd prefix when pairing Bash error
recoveries
([#3776](https://github.com/headroomlabs-ai/headroom/issues/3776))
([143a38d](https://github.com/headroomlabs-ai/headroom/commit/143a38d56f5bddb96dd486948c3318bd8dc93372))
* **memory:** pin LF on memory writers and guard the learn-writer
newline contract
([#3706](https://github.com/headroomlabs-ai/headroom/issues/3706))
([b10dd8d](https://github.com/headroomlabs-ai/headroom/commit/b10dd8db6e71903e550edd1707ce044f3520f0b4))
* **oauth2:** mint and inject only on requests that go upstream
([#3849](https://github.com/headroomlabs-ai/headroom/issues/3849))
([f977d52](https://github.com/headroomlabs-ai/headroom/commit/f977d525e4cf4ac1cad64dd59cfc6d3e54cd8e36))
* **offline:** make HEADROOM_OFFLINE a real air-gap via one chokepoint
([#3729](https://github.com/headroomlabs-ai/headroom/issues/3729))
([119d1a1](https://github.com/headroomlabs-ai/headroom/commit/119d1a19393697f22140da654f0b6a10c3866d79))
* **opencode:** hide spawned Windows console windows
([#3743](https://github.com/headroomlabs-ai/headroom/issues/3743))
([2157400](https://github.com/headroomlabs-ai/headroom/commit/2157400b005b858fb4ab96dadde022bb22d3d244))
* **opencode:** route only LLM traffic through Headroom
([#3884](https://github.com/headroomlabs-ai/headroom/issues/3884))
([d75eecd](https://github.com/headroomlabs-ai/headroom/commit/d75eecd814d391f51c6b98b1594c0ea180e9103a))
* **output-savings:** seed the holdout key on the whole first user
message
([#3209](https://github.com/headroomlabs-ai/headroom/issues/3209))
([117ff72](https://github.com/headroomlabs-ai/headroom/commit/117ff72ec9aa6385c4e6afb23f06a4a6edb59f8e))
* **parser:** stop counting HTML comments twice in waste signals
([#3942](https://github.com/headroomlabs-ai/headroom/issues/3942))
([d0e9c4c](https://github.com/headroomlabs-ai/headroom/commit/d0e9c4ca4810f36c8bd71cfc567be9e72c8c06d1))
* **parser:** whitespace waste signal always reported zero
([#1102](https://github.com/headroomlabs-ai/headroom/issues/1102))
([f19bc9a](https://github.com/headroomlabs-ai/headroom/commit/f19bc9a9c344e846ef61de09652c55f8db835aa1))
* **plugin:** resolve hook CLI through plugin-root launcher
([#3053](https://github.com/headroomlabs-ai/headroom/issues/3053))
([ef7605f](https://github.com/headroomlabs-ai/headroom/commit/ef7605fdbb82a5c1a75c9192432bc719aa92927d))
* **plugins/openclaw:** return messages the proxy did not change exactly
as they came in
([#3826](https://github.com/headroomlabs-ai/headroom/issues/3826))
([d1ad189](https://github.com/headroomlabs-ai/headroom/commit/d1ad189819d0dd87137267a17233ab2703eb803c))
* prevent HF tokenizer downloads in offline mode
([#3783](https://github.com/headroomlabs-ai/headroom/issues/3783))
([d503c57](https://github.com/headroomlabs-ai/headroom/commit/d503c575eabd6dfed3f390754d391a337340d7d7))
* **pricing:** add Claude Sonnet 5.5 / Opus 5.5 / Fable 5.1, correct
Sonnet 5 rates
([#3841](https://github.com/headroomlabs-ai/headroom/issues/3841))
([0d99c56](https://github.com/headroomlabs-ai/headroom/commit/0d99c56dc519c4684079a0e1107399068342104d))
* protect file reads in chained shell commands
([#2668](https://github.com/headroomlabs-ai/headroom/issues/2668))
([ffc3599](https://github.com/headroomlabs-ai/headroom/commit/ffc359976b09f64388ac9cb8685904c5a5f59708))
* **providers/vertex:** Vertex route multi-region locations
([#3802](https://github.com/headroomlabs-ai/headroom/issues/3802))
([a9c1ac5](https://github.com/headroomlabs-ai/headroom/commit/a9c1ac5368798382b0d7e081e910a6df2a728bb0))
* **proxy/anthropic:** keep tool_result blocks first when neutralizing
headroom_retrieve history
([#3874](https://github.com/headroomlabs-ai/headroom/issues/3874))
([ccd9fff](https://github.com/headroomlabs-ai/headroom/commit/ccd9fffce93cd93d694d78c601ec50eeff0bd256))
* **proxy/batch:** honor x-headroom-bypass on the batch paths
([#2570](https://github.com/headroomlabs-ai/headroom/issues/2570))
([9b26a49](https://github.com/headroomlabs-ai/headroom/commit/9b26a49c14eacd8e14385bf8d28c67b2425b3c5c))
* **proxy:** add same-origin check to /v1/retrieve/tool_call
([#3955](https://github.com/headroomlabs-ai/headroom/issues/3955))
([2297b50](https://github.com/headroomlabs-ai/headroom/commit/2297b5059f27c0018b15f7857a5b3a7026a68bdd))
* **proxy:** bill the whole prompt on the gateway path so savings read
true ([#3632](https://github.com/headroomlabs-ai/headroom/issues/3632))
([befdb52](https://github.com/headroomlabs-ai/headroom/commit/befdb52fd565ff990e4ff1463f0550ba7df588b5))
* **proxy:** carry safeguard_results through SSE resynthesis
([#3958](https://github.com/headroomlabs-ai/headroom/issues/3958))
([f37ef59](https://github.com/headroomlabs-ai/headroom/commit/f37ef591894c6b89bc25ea628b64b40bdd1037fb))
* **proxy:** classify Pi Codex Responses alias
([#2583](https://github.com/headroomlabs-ai/headroom/issues/2583))
([a493f55](https://github.com/headroomlabs-ai/headroom/commit/a493f559a1a85a5462fc3bf3f363d64c3c9444ce))
* **proxy:** do not cache error replies delivered as http 200
([#3930](https://github.com/headroomlabs-ai/headroom/issues/3930))
([1132a54](https://github.com/headroomlabs-ai/headroom/commit/1132a54b21482332f6ffeeebe8c9935a69709afa))
* **proxy:** drop a tool_reference naming the search tool itself
([#3172](https://github.com/headroomlabs-ai/headroom/issues/3172))
([b73adaa](https://github.com/headroomlabs-ai/headroom/commit/b73adaa0ce36a2e65a98f5590c46ea555751b445))
* **proxy:** F3 — per-tenant TOIN learning key
([#404](https://github.com/headroomlabs-ai/headroom/issues/404))
([f90a56b](https://github.com/headroomlabs-ai/headroom/commit/f90a56b0388f3dcb6455425a3405b40b67da6858))
* **proxy:** forward operator-listed guarded upstreams through a proxy
([#3804](https://github.com/headroomlabs-ai/headroom/issues/3804))
([4b7e5d2](https://github.com/headroomlabs-ai/headroom/commit/4b7e5d246e54b856af22cd1a90b47d93b26226cb))
* **proxy:** freeze and replay the forwarded prefix on Gemini paths
([#3394](https://github.com/headroomlabs-ai/headroom/issues/3394))
([#3865](https://github.com/headroomlabs-ai/headroom/issues/3865))
([dd84321](https://github.com/headroomlabs-ai/headroom/commit/dd84321daa0c3c9dca9264098bb396a75d9e52cd))
* **proxy:** gate the raw request body, not just its Content-Length
header
([#3338](https://github.com/headroomlabs-ai/headroom/issues/3338))
([c946b6b](https://github.com/headroomlabs-ai/headroom/commit/c946b6b0b0ae048c576940d1a57071b84cb05fb6))
* **proxy:** hard watchdog that dumps and exits when a native call
seizes the GIL
([#3180](https://github.com/headroomlabs-ai/headroom/issues/3180))
([79daeb5](https://github.com/headroomlabs-ai/headroom/commit/79daeb590f46c8f74483e975647c202d09f01fbb))
* **proxy:** inject memory context past a trailing system message
([#3948](https://github.com/headroomlabs-ai/headroom/issues/3948))
([3948dbe](https://github.com/headroomlabs-ai/headroom/commit/3948dbe409eba48c065a3ecb2af9fa2f51921787))
* **proxy:** keep cache_control outside content blocks where the Chat
Completions client put it
([#3895](https://github.com/headroomlabs-ai/headroom/issues/3895))
([a6d6c14](https://github.com/headroomlabs-ai/headroom/commit/a6d6c14cf781a7725e4e8366e8cd86b1e4e44ba9))
* **proxy:** keep exception text and the proxy token out of client
output
([#3851](https://github.com/headroomlabs-ai/headroom/issues/3851))
([861e94d](https://github.com/headroomlabs-ai/headroom/commit/861e94d8c173bcca1ec4ae4f84a3e7ef477c4a19))
* **proxy:** keep the newest user message verbatim in cache-mode delta
compression
([#3923](https://github.com/headroomlabs-ai/headroom/issues/3923))
([613ae92](https://github.com/headroomlabs-ai/headroom/commit/613ae9215058c1d5cabc67186f3b47089b22eddb))
* **proxy:** key rate limits by peer unless the caller authenticated
([#3860](https://github.com/headroomlabs-ai/headroom/issues/3860))
([6fb7cad](https://github.com/headroomlabs-ai/headroom/commit/6fb7cadfe4c54c2be6b90e9fdea36e91da7b2945))
* **proxy:** kill the image worker a timed-out call abandons
([#3940](https://github.com/headroomlabs-ai/headroom/issues/3940))
([793bb85](https://github.com/headroomlabs-ai/headroom/commit/793bb85659d9aa907115ec16ea3356c5459f6299))
* **proxy:** label plain OpenAI chat traffic openai, not custom
([#3912](https://github.com/headroomlabs-ai/headroom/issues/3912))
([7df8bd8](https://github.com/headroomlabs-ai/headroom/commit/7df8bd87b54725174e1ea88e2dcd428b66cb608f))
* **proxy:** log response_content_length in proxy_inbound_response
([#2701](https://github.com/headroomlabs-ai/headroom/issues/2701))
([cfa479a](https://github.com/headroomlabs-ai/headroom/commit/cfa479af8e551d5d2710debf80adb86fd72b16e5))
* **proxy:** preserve Bedrock body-limit error dialect
([#3871](https://github.com/headroomlabs-ai/headroom/issues/3871))
([ffc6edb](https://github.com/headroomlabs-ai/headroom/commit/ffc6edb4ba7a775d2f6440769b626132a66aa7d3))
* **proxy:** preserve Windows service when Rust core is blocked
([#2989](https://github.com/headroomlabs-ai/headroom/issues/2989))
([eaa16d9](https://github.com/headroomlabs-ai/headroom/commit/eaa16d9f6343f9d5364863c7522734f6b86b1844))
* **proxy:** quarantine compression only once half the pool is stuck
([#3932](https://github.com/headroomlabs-ai/headroom/issues/3932))
([be2b205](https://github.com/headroomlabs-ai/headroom/commit/be2b205c51430236404177bb7d80930a2d299d5a))
* **proxy:** read HEADROOM_LICENSE and make usage reporting opt-in
([#3857](https://github.com/headroomlabs-ai/headroom/issues/3857))
([7460389](https://github.com/headroomlabs-ai/headroom/commit/746038991cf2b4dbb31dd2227d607db7bc273da7))
* **proxy:** reap wrap-spawned proxies once no wrap clients remain
([#3202](https://github.com/headroomlabs-ai/headroom/issues/3202))
([4227bd2](https://github.com/headroomlabs-ai/headroom/commit/4227bd2419e72a922149d5dfaf416808d8e08139))
* **proxy:** redact upstream error detail and add opt-in /metrics
loopback gate
([#2589](https://github.com/headroomlabs-ai/headroom/issues/2589))
([a05717f](https://github.com/headroomlabs-ai/headroom/commit/a05717f6ec2b0514ccaa42b9bd1b3c95d3465730))
* **proxy:** refuse token-less non-loopback binds, gate operator routes
([#3852](https://github.com/headroomlabs-ai/headroom/issues/3852))
([ee731d7](https://github.com/headroomlabs-ai/headroom/commit/ee731d7ea84503ad844eb2759fcb5bbf04a1ae0e))
* **proxy:** reset the cc-switch upstream when Claude Official is
selected
([#3166](https://github.com/headroomlabs-ai/headroom/issues/3166))
([fed7281](https://github.com/headroomlabs-ai/headroom/commit/fed7281120af5b476d3911ca1ebf4dc66d5ca1ea))
* **proxy:** run extension middleware inside the security gate and body
ceiling
([#3847](https://github.com/headroomlabs-ai/headroom/issues/3847))
([1854fd7](https://github.com/headroomlabs-ai/headroom/commit/1854fd7fd3f52bb4cc0b17803de0a04a850eb8f7))
* **proxy:** run injected memory tools server-side on streaming turns
([#3947](https://github.com/headroomlabs-ai/headroom/issues/3947))
([1cf4966](https://github.com/headroomlabs-ai/headroom/commit/1cf496612e781ef8d67ff87ee4f78037492f0bc7))
* **proxy:** share one compression deadline across a Responses request
([#3938](https://github.com/headroomlabs-ai/headroom/issues/3938))
([4d27d02](https://github.com/headroomlabs-ai/headroom/commit/4d27d024b09fe04f6e32b158063538f084d7febb))
* **proxy:** skip pricing lookup for passthrough:* models
([#2585](https://github.com/headroomlabs-ai/headroom/issues/2585))
([f87848c](https://github.com/headroomlabs-ai/headroom/commit/f87848cf78db43dcd4b7e9b6aca3859245348456))
* **proxy:** stop headroom logger from suppressing propagation to
stdout/stderr
([#3096](https://github.com/headroomlabs-ai/headroom/issues/3096))
([f78e66f](https://github.com/headroomlabs-ai/headroom/commit/f78e66f7cc5e00d5db04c493f702ef4ebe7035b0))
* **relevance:** bound segment size by max_chars
([#2518](https://github.com/headroomlabs-ai/headroom/issues/2518))
([0ef7b2a](https://github.com/headroomlabs-ai/headroom/commit/0ef7b2a7fdd7daf4dbb8628c616c28a233ce7910))
* **reporting:** price the savings tile instead of fabricating $0.00
([#3821](https://github.com/headroomlabs-ai/headroom/issues/3821))
([f519fa8](https://github.com/headroomlabs-ai/headroom/commit/f519fa8b97aa9ccef369f5973f1d476af2a65edf))
* **router:** fall back to built-ins when an external compressor passes
through
([#3893](https://github.com/headroomlabs-ai/headroom/issues/3893))
([2c4b20f](https://github.com/headroomlabs-ai/headroom/commit/2c4b20fcba6da0366c1c637a2a3cc61e843012a7))
* **router:** keep ccr_retrieve exemption through orchestrator wrappers
([#3915](https://github.com/headroomlabs-ai/headroom/issues/3915))
([6151ed1](https://github.com/headroomlabs-ai/headroom/commit/6151ed1f52f3d0dd24eb28e0fa666226150a0055))
* **rust-proxy:** forward request paths verbatim and pin the rustls
provider
([#3853](https://github.com/headroomlabs-ai/headroom/issues/3853))
([9d98ea5](https://github.com/headroomlabs-ai/headroom/commit/9d98ea59082ca6b00be2508f00b85ef90c94f744))
* **savings:** record tool-schema dollars disjointly beside the folded
headline
([#3170](https://github.com/headroomlabs-ai/headroom/issues/3170))
([c719d4a](https://github.com/headroomlabs-ai/headroom/commit/c719d4af55ebca177c81c98f74531bfaca831366))
* **savings:** stop scoring unobserved strata against the global mean
([#3128](https://github.com/headroomlabs-ai/headroom/issues/3128))
([f864525](https://github.com/headroomlabs-ai/headroom/commit/f8645257c074b7e5babd949e705d7ca4e8366ae4))
* **sdk:** keep tool names on Vercel tool-result parts through the
OpenAI round trip
([#3883](https://github.com/headroomlabs-ai/headroom/issues/3883))
([b715671](https://github.com/headroomlabs-ai/headroom/commit/b7156714acf1f06cd37f642044455e23e2f89d47))
* **sdk:** preserve Gemini media parts in message conversion instead of
dropping the turn
([#3882](https://github.com/headroomlabs-ai/headroom/issues/3882))
([038c923](https://github.com/headroomlabs-ai/headroom/commit/038c923b4bcd01305f18d993e301b837d668c343))
* **sdk:** stop JSON-wrapping structured tool_result content in the
Anthropic adapter
([#3797](https://github.com/headroomlabs-ai/headroom/issues/3797))
([2e4a60a](https://github.com/headroomlabs-ai/headroom/commit/2e4a60ae3730fc7ea8f5afebbc29961d5fd0af11))
* **search:** stop a context line's body from becoming its line marker
([#3788](https://github.com/headroomlabs-ai/headroom/issues/3788))
([f3f2e00](https://github.com/headroomlabs-ai/headroom/commit/f3f2e0077ae67d492bfc5922e9a49427036e32e0))
* **security:** create memory stores and other state files owner-only
([#3848](https://github.com/headroomlabs-ai/headroom/issues/3848))
([5119b6e](https://github.com/headroomlabs-ai/headroom/commit/5119b6eb545e35b617e2d08b183e968d0104d548))
* **security:** exempt only GET health probes from the proxy token
([#3921](https://github.com/headroomlabs-ai/headroom/issues/3921))
([d99779d](https://github.com/headroomlabs-ai/headroom/commit/d99779dae69d44c934d2115ffd8ee1f1a6cbb898))
* **security:** partition the response cache by credential and principal
([#3862](https://github.com/headroomlabs-ai/headroom/issues/3862))
([ee6cfcc](https://github.com/headroomlabs-ai/headroom/commit/ee6cfcccf6a8944225344c2a468f509783934239))
* **security:** poll usage only with the operator's own credential
([#3863](https://github.com/headroomlabs-ai/headroom/issues/3863))
([65e63c0](https://github.com/headroomlabs-ai/headroom/commit/65e63c08835410149bec4acba8e3737366eb0586))
* **security:** stop forwarding the proxy token to upstream providers
([#3891](https://github.com/headroomlabs-ai/headroom/issues/3891))
([0147cf0](https://github.com/headroomlabs-ai/headroom/commit/0147cf02207fd76be8a14932bcc65a9709bfdb59))
* **settings:** report live proxy configuration
([#3177](https://github.com/headroomlabs-ai/headroom/issues/3177))
([58b1454](https://github.com/headroomlabs-ai/headroom/commit/58b1454282f2b2dee49616c6637fa135ccb885b7))
* **smart-crusher:** recurse at adaptive array limit
([#3770](https://github.com/headroomlabs-ai/headroom/issues/3770))
([7790bde](https://github.com/headroomlabs-ai/headroom/commit/7790bdeebda290b9fdbf899df1cbf9a05e0bc5e9))
* **storage:** page JSONL queries after sorting
([#3872](https://github.com/headroomlabs-ai/headroom/issues/3872))
([91237ca](https://github.com/headroomlabs-ai/headroom/commit/91237cae70771e8e19cbc06ca65d328ac6cb0878))
* **subscription:** match the Bearer scheme case-insensitively for the
Codex usage poll (RFC 7235)
([#3966](https://github.com/headroomlabs-ai/headroom/issues/3966))
([fe88461](https://github.com/headroomlabs-ai/headroom/commit/fe884612c07d2e8a4454615ccc5b6d4feed1d7dd))
* **subscription:** poll with the refreshed credentials-file OAuth token
([#3916](https://github.com/headroomlabs-ai/headroom/issues/3916))
([2dc9fc2](https://github.com/headroomlabs-ai/headroom/commit/2dc9fc22f09ec85d8e73c916e7c1f6f565d271ec))
* surface Codex responses traffic in dashboard
([#399](https://github.com/headroomlabs-ai/headroom/issues/399))
([ecc4967](https://github.com/headroomlabs-ai/headroom/commit/ecc496709b7f2c2657de25d1e3f8de3f226b32e5))
* **telemetry:** label custom-base chat upstreams from a fixed provider
set ([#3759](https://github.com/headroomlabs-ai/headroom/issues/3759))
([f0ec2bb](https://github.com/headroomlabs-ai/headroom/commit/f0ec2bb37697b1addccb416bd626e7bf3c5ea835))
* **thinking:** don't read the model's date suffix as its minor version
([#3791](https://github.com/headroomlabs-ai/headroom/issues/3791))
([afaaaa8](https://github.com/headroomlabs-ai/headroom/commit/afaaaa88049357bac7ec186ea33678f406d02609))
* **transforms/kompress:** preserve line boundaries and tabular output
in Kompress
([#3119](https://github.com/headroomlabs-ai/headroom/issues/3119))
([fe2ed2b](https://github.com/headroomlabs-ai/headroom/commit/fe2ed2b545e4b3c97d21872232d5446cb54aedc2))
* **transforms:** judge a Codex exec envelope read by its output
([#3878](https://github.com/headroomlabs-ai/headroom/issues/3878))
([922924e](https://github.com/headroomlabs-ai/headroom/commit/922924ef44ebd7501ff00923cc0c2007f06cfade))
* **transforms:** judge the code_aware Kompress fallback in tokens
([#3881](https://github.com/headroomlabs-ai/headroom/issues/3881))
([6326965](https://github.com/headroomlabs-ai/headroom/commit/63269650462c1a565c259cfe3fc3bd67ac942f5a))
* **transforms:** keep record-bearing JSON out of Kompress
([#3673](https://github.com/headroomlabs-ai/headroom/issues/3673))
([#3880](https://github.com/headroomlabs-ai/headroom/issues/3880))
([8dbbd1d](https://github.com/headroomlabs-ai/headroom/commit/8dbbd1d8967f719acfaa21e2c1668e9f3193dbe8))
* **wrap:** never reuse a non-Headroom listener on the proxy port
([#3799](https://github.com/headroomlabs-ai/headroom/issues/3799))
([3ffa57e](https://github.com/headroomlabs-ai/headroom/commit/3ffa57ec25a6f05dff073c0ad0b14c90ce264fd8))
* **wrap:** never reuse a proxy with incompatible routing config
([#3201](https://github.com/headroomlabs-ai/headroom/issues/3201))
([f69e246](https://github.com/headroomlabs-ai/headroom/commit/f69e2463a0c29cea7943af5efe4b2a2170a1e863))
* **wrap:** preserve pre-set ANTHROPIC_BASE_URL as proxy upstream
([#1358](https://github.com/headroomlabs-ai/headroom/issues/1358))
([bb1ab6a](https://github.com/headroomlabs-ai/headroom/commit/bb1ab6afd35a5c22b6c11b549aba4075fb7791ec))
* **wrap:** scope Serena's MCP registration to the wrapped project
([#2787](https://github.com/headroomlabs-ai/headroom/issues/2787))
([#2992](https://github.com/headroomlabs-ai/headroom/issues/2992))
([8cfeb69](https://github.com/headroomlabs-ai/headroom/commit/8cfeb692ca0cad9598160020a144c5c671cd2fc3))
* **wrap:** set ANTHROPIC_HOST so `wrap goose` actually proxies
Anthropic
([#2619](https://github.com/headroomlabs-ai/headroom/issues/2619))
([c07fad0](https://github.com/headroomlabs-ai/headroom/commit/c07fad0f37d44b7f6886e6ce774d424463636242))
* **wrap:** strip -dev from running proxy version in restart check
([#3200](https://github.com/headroomlabs-ai/headroom/issues/3200))
([bd0296b](https://github.com/headroomlabs-ai/headroom/commit/bd0296b5e7b62b620df7b37b41ce573d57958e71))


### Performance Improvements

* add savings audit output
([#1211](https://github.com/headroomlabs-ai/headroom/issues/1211))
([9a72bc0](https://github.com/headroomlabs-ai/headroom/commit/9a72bc024263e2470626fae7f20430db682e0042))
* **compression/code:** avoid a UTF-8 copy per code block in
byte-to-char mapping
([#3169](https://github.com/headroomlabs-ai/headroom/issues/3169))
([d5e5534](https://github.com/headroomlabs-ai/headroom/commit/d5e5534b4763b14d7710908153e0d6a89423eea9))
* **image:** OCR and SigLIP each image once, not once per turn
([#3941](https://github.com/headroomlabs-ai/headroom/issues/3941))
([a8561fb](https://github.com/headroomlabs-ai/headroom/commit/a8561fb4be1bdc17bf8bf86ac97c17651e2820b7))
* **memory:** bound traffic-learner _persisted_ids with the dedup window
([#3341](https://github.com/headroomlabs-ai/headroom/issues/3341))
([7e73438](https://github.com/headroomlabs-ai/headroom/commit/7e73438dc5f923c90ad0c1f2f07cb6de221c9f08))
* **metrics:** cap inbound request-path cardinality to bound memory
([#3340](https://github.com/headroomlabs-ai/headroom/issues/3340))
([88a1f4e](https://github.com/headroomlabs-ai/headroom/commit/88a1f4e52ba220b5ddb34d94ac0a201391c16027))
* **proxy:** lighter request path: alias the message snapshot, keep the
token cache on re-counts, decompress off the event loop
([#3909](https://github.com/headroomlabs-ai/headroom/issues/3909))
([c873d13](https://github.com/headroomlabs-ai/headroom/commit/c873d13fe07d09be71d5dcbfd640a78ec5b3f0d7))
* **tokenizer:** memoize OpenAI token counts like the Anthropic counter
([#3168](https://github.com/headroomlabs-ai/headroom/issues/3168))
([0a2c80d](https://github.com/headroomlabs-ai/headroom/commit/0a2c80d5207642a5e58ba9eb65e19cd004018642))


### Dependencies

* bump pyjwt 2.13.0 -&gt; 2.15.1 for CVE-2026-102274
([#3861](https://github.com/headroomlabs-ai/headroom/issues/3861))
([37b9c46](https://github.com/headroomlabs-ai/headroom/commit/37b9c46069f11a2b2a477ae4ef25dd33bf359684))
* Bump source-map-js from 1.2.1 to 1.2.2 in /docs
([#3986](https://github.com/headroomlabs-ai/headroom/issues/3986))
([e06631a](https://github.com/headroomlabs-ai/headroom/commit/e06631a7a78d18432c90cfb44b30e461424cfd30))
* Bump source-map-js from 1.2.1 to 1.2.2 in /plugins/openclaw
([#3988](https://github.com/headroomlabs-ai/headroom/issues/3988))
([4be83b3](https://github.com/headroomlabs-ai/headroom/commit/4be83b35e683df077b11af4c4b37b301c4a65547))
* Bump source-map-js from 1.2.1 to 1.2.2 in /plugins/opencode
([#3987](https://github.com/headroomlabs-ai/headroom/issues/3987))
([478dd9e](https://github.com/headroomlabs-ai/headroom/commit/478dd9e0a34cd592fdc0e313019297bc23b17db3))
* Bump source-map-js from 1.2.1 to 1.2.2 in /sdk/typescript
([#3985](https://github.com/headroomlabs-ai/headroom/issues/3985))
([62cde35](https://github.com/headroomlabs-ai/headroom/commit/62cde35b939d7405735b72d1e50aa7c1407e5892))
* bump the npm-minor-patch group across 2 directories with 11 updates
([#3903](https://github.com/headroomlabs-ai/headroom/issues/3903))
([afe4f4e](https://github.com/headroomlabs-ai/headroom/commit/afe4f4eca58977ae9382dfb2899a8097b46c0909))
* bump the npm-minor-patch group across 3 directories with 11 updates
([#3910](https://github.com/headroomlabs-ai/headroom/issues/3910))
([ff1a0d6](https://github.com/headroomlabs-ai/headroom/commit/ff1a0d69f4a83f7c5583a7af2d2961025587801e))
* bump webpki-roots from 0.26.11 to 1.0.8
([#3905](https://github.com/headroomlabs-ai/headroom/issues/3905))
([fee53b4](https://github.com/headroomlabs-ai/headroom/commit/fee53b4daa3a0ac2b2378a692278f24f0062d584))
* drop the crewai extra to remove chromadb from the lockfile
([#3870](https://github.com/headroomlabs-ai/headroom/issues/3870))
([59b8cef](https://github.com/headroomlabs-ai/headroom/commit/59b8cefc24e48539974787e0677298f335b2720e))


### Code Refactoring

* **ccr:** read the expansion query through extract_user_query
([#2707](https://github.com/headroomlabs-ai/headroom/issues/2707))
([dcec845](https://github.com/headroomlabs-ai/headroom/commit/dcec845851d8202ce3361022a14b3716fdeb59c0))
* **wrap:** generate goose/openhands/openclaude from a WrapTarget
registry
([#3800](https://github.com/headroomlabs-ai/headroom/issues/3800))
([de4cf7e](https://github.com/headroomlabs-ai/headroom/commit/de4cf7e7a1ece51ce6c60d25bc34f46897e972c9))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-05 22:06:30 -05:00
dependabot[bot]andJerrettDavis 4be83b35e6 deps: Bump source-map-js from 1.2.1 to 1.2.2 in /plugins/openclaw (#3988)
Bumps [source-map-js](https://github.com/7rulnik/source-map-js) from
1.2.1 to 1.2.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/7rulnik/source-map-js/releases">source-map-js's
releases</a>.</em></p>
<blockquote>
<h2>v1.2.2</h2>
<ul>
<li>
<p>Fix crash when executing in browser with CSP script-src that don't
permit unsafe-eval (<a
href="https://redirect.github.com/7rulnik/source-map-js/pull/29">#29</a>)
<a href="https://github.com/xfournet"><code>@​xfournet</code></a></p>
</li>
<li>
<p>Fix denial of service from malicious indexed source maps
(CVE-2026-93749) (<a
href="https://redirect.github.com/7rulnik/source-map-js/pull/79">#79</a>)</p>
<p>Reported by <a
href="https://github.com/waydeshi"><code>@​waydeshi</code></a> in <a
href="https://redirect.github.com/7rulnik/source-map-js/issues/76">#76</a>.
A fix was also proposed by <a
href="https://github.com/aniebiet"><code>@​aniebiet</code></a> in <a
href="https://redirect.github.com/7rulnik/source-map-js/pull/78">#78</a>.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/7rulnik/source-map-js/blob/main/CHANGELOG.md">source-map-js's
changelog</a>.</em></p>
<blockquote>
<h2>1.2.2</h2>
<ul>
<li>
<p>Fix crash when executing in browser with CSP script-src that don't
permit unsafe-eval (<a
href="https://redirect.github.com/7rulnik/source-map-js/pull/29">#29</a>)
<a href="https://github.com/xfournet"><code>@​xfournet</code></a></p>
</li>
<li>
<p>Fix denial of service from malicious indexed source maps
(CVE-2026-93749) (<a
href="https://redirect.github.com/7rulnik/source-map-js/pull/79">#79</a>)</p>
<p>Reported by <a
href="https://github.com/waydeshi"><code>@​waydeshi</code></a> in <a
href="https://redirect.github.com/7rulnik/source-map-js/issues/76">#76</a>.
A fix was also proposed by <a
href="https://github.com/aniebiet"><code>@​aniebiet</code></a> in <a
href="https://redirect.github.com/7rulnik/source-map-js/pull/78">#78</a>.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/7rulnik/source-map-js/commit/0a1d334fd1e55a47df97fcd60a7915d46df3b08a"><code>0a1d334</code></a>
1.2.2</li>
<li><a
href="https://github.com/7rulnik/source-map-js/commit/4c6fa26d77419bd8e48ec92844866cce7d9ae739"><code>4c6fa26</code></a>
Update changelog</li>
<li><a
href="https://github.com/7rulnik/source-map-js/commit/cf7658058ceeaa8619d5ae0ec90be6905209d016"><code>cf76580</code></a>
Fix denial of service from malicious indexed source maps
(CVE-2026-93749) (<a
href="https://redirect.github.com/7rulnik/source-map-js/issues/79">#79</a>)</li>
<li><a
href="https://github.com/7rulnik/source-map-js/commit/7899a86615c630f4fc220273ff9fe2e8e49a56df"><code>7899a86</code></a>
Fix crash when executing browser with CSP script-src that don't permit
unsafe...</li>
<li>See full diff in <a
href="https://github.com/7rulnik/source-map-js/compare/v1.2.1...v1.2.2">compare
view</a></li>
</ul>
</details>
<br />


## Verification and dependency justification

The SDK and OpenClaw lockfiles both need source-map-js 1.2.2: the
repository audits both directories on each PR. The original hosted audit
failed on the unchanged directory with GHSA-68fv-2mgg-jv7q (high
severity). Updating the second lockfile lets this PR pass independently
of its sibling Dependabot PR. Both PRs now have identical lockfiles for
these directories.

### Real behavior proof

Setup: Windows, Node v22.22.0, npm 10.9.4; no provider, model,
credentials, or external service is needed for these tests. In each of
`sdk/typescript` and `plugins/openclaw`, ran `npm audit
--audit-level=high`, `npm ci --ignore-scripts`, `npm test`, and `npm run
build`: both audits reported zero vulnerabilities, and both test and
build commands exited successfully. Rechecked both audits after trimming
unrelated lockfile churn; both remained clean. `git diff --check`
passes. Hosted CI is rerunning on the updated heads.

Not tested locally: the full Python suite, Docker/native publication, or
live OpenClaw/remote-provider behavior. Installation used
`--ignore-scripts`. Existing package tests and builds exercise the
updated dependency graph; no new test mirrors the transitive lock entry.
Actual source-map exploit reproduction was not run; the before-fix
hosted vulnerability report and after-fix registry audits verify the
advisory version remediation.

### Supply chain

source-map-js is an existing transitive dependency, so no new library or
direct dependency is added. Version 1.2.2 is selected for the security
fix in GHSA-68fv-2mgg-jv7q, not a cosmetic update. npm identifies
maintainer `7rulnik` and upstream
https://github.com/7rulnik/source-map-js, an active, non-archived
source-map fork (observed upstream push 2026-09-30). This is a
small-maintainer project; human review of the advisory fix and artifacts
remains appropriate. The release metadata declares no runtime
dependencies, supports Node >=0.10.0, and distributes JavaScript without
native-extension installation. Its declared scripts are
development/test/build scripts, with no package install lifecycle hook.
Runtime source-map processing requires no network service. Installation
fetches npm registry artifacts; the lock records the new version,
integrity hash, and resolved artifact. Other package versions remain
unchanged.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JerrettDavis <mxjerrett@gmail.com>
2026-10-05 20:34:28 -05:00
Shubham SrivastavaandJD Davis 2651489745 test(sdk): give the Vercel withHeadroom fixtures a LanguageModelV3 result (#3949)
## Description

`npm test` in `sdk/typescript` is red on `main` again. Dependabot's
#3910 (merged 2026-10-01) bumped `ai` from 7.0.107 to 7.0.119. The newer
`ai` wraps a `specificationVersion: "v3"` model in a v4 adapter
(`node_modules/ai/src/model/as-language-model-v4.ts`) whose `doGenerate`
maps over the result's `content`. The three fake models in
`test/adapters/vercel-ai.test.ts` declare `v3` but resolve `doGenerate`
with a V1-era shape (`text`, `usage.promptTokens`, `rawCall`) and no
`content`, so every `wrapped.doGenerate()` call now throws:

```text
FAIL  test/adapters/vercel-ai.test.ts > withHeadroom > triggers compression on doGenerate
FAIL  test/adapters/vercel-ai.test.ts > withHeadroom > passes options through to headroomMiddleware
FAIL  test/adapters/vercel-ai.test.ts > withHeadroom > falls back when proxy is down
TypeError: Cannot read properties of undefined (reading 'map')
 ❯ Proxy.target.doStream node_modules/ai/src/model/as-language-model-v4.ts:45:39
```

The shipped adapter is not affected — real models return `content` — so
this is a fixture problem. This makes the three fixtures genuine
`LanguageModelV3` results and **type-checks them**: `content`,
`finishReason: { unified, raw }`, `usage` with the nested `inputTokens {
total, noCache, cacheRead, cacheWrite }` / `outputTokens { total, text,
reasoning }` objects, `warnings`, each literal asserted with `satisfies
Awaited<ReturnType<LanguageModelV3["doGenerate"]>>`. Because
`test/*.test.ts` files are outside the SDK's type-check (`tsconfig.json`
excludes `test/`; `tsconfig.typecheck.json` includes only
`*.test-d.ts`), the test file is added to `tsconfig.typecheck.json` so
vitest's typecheck actually enforces the contract — a wrong literal now
fails `npm test`. No source change.

Second time in a week that `main` went red without a signal (the first
was #3424 + #3370, repaired in #3796): nothing in CI runs the SDK suite,
so the dependabot PR merged green. A path-gated SDK workflow is proposed
separately.

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Performance improvement
- [x] Code refactoring (no functional changes) — test-only fixture
correction

## Changes Made

- **`sdk/typescript/test/adapters/vercel-ai.test.ts`** — the three
`withHeadroom` fake models resolve `doGenerate` with a real
`LanguageModelV3GenerateResult`: `content: [{ type: "text", text }]`,
`finishReason: { unified: "stop", raw: "stop" }`, `usage: { inputTokens:
{ total, noCache, cacheRead, cacheWrite }, outputTokens: { total, text,
reasoning } }`, `warnings: []`; each literal carries `satisfies
Awaited<ReturnType<LanguageModelV3["doGenerate"]>>` (`import type {
LanguageModelV3 } from "@ai-sdk/provider"`, already a devDependency).
- **`sdk/typescript/tsconfig.typecheck.json`** —
`test/adapters/vercel-ai.test.ts` added to `include`, so vitest's
typecheck (`npm test`) checks the literals. This file type-checks with
zero errors; the other `test/*.test.ts` files are left out of scope (15
pre-existing errors across four files if everything were included).

## Testing

- [x] Unit tests pass (`npm test` — vitest, incl. typecheck)
- [x] Type checking passes (`npm run typecheck` — tsc --noEmit)
- [x] Build passes (`npm run build` — tsup)
- [ ] New tests added for new functionality (existing fixtures
corrected)
- [x] Manual testing performed

### Test Output

```text
$ cd sdk/typescript && npx vitest run test/adapters/vercel-ai.test.ts   # on main (540f4da1)
 FAIL  … > withHeadroom > triggers compression on doGenerate
 FAIL  … > withHeadroom > passes options through to headroomMiddleware
 FAIL  … > withHeadroom > falls back when proxy is down
      Tests  3 failed | 8 passed (11)

$ npx vitest run test/adapters/vercel-ai.test.ts                        # with this change
      Tests  11 passed (11)

$ npm test                                                              # full suite, with this change
 Test Files  19 passed | 5 skipped (24)
      Tests  350 passed | 33 skipped (383)
Type Errors  no errors

$ npm run typecheck   # tsc --noEmit
(clean, no errors)

$ npm run build       # tsup
CJS / ESM / DTS Build success
```

## Real Behavior Proof

- Environment: macOS (Apple silicon), Node v22.16.0, npm 10.9.2; `cd
sdk/typescript && npm ci` (installs `ai` 7.0.119 from the current
lockfile).
- Exact command / steps: `npx vitest run
test/adapters/vercel-ai.test.ts` on `main`; the same at `395aadf0` (a
merge of `main` from before #3910, lockfile with `ai` 7.0.107) after
`npm ci`; the same on this branch; then `npm test`, `npm run typecheck`,
`npm run build`. Negative probe: change one literal's `finishReason`
back to the string `"stop"` and run `npm test`.
- Observed result: on `main` 3 failed | 8 passed with the `TypeError …
reading 'map'` from `as-language-model-v4.ts:45`; at the pre-bump
lockfile 11 passed, which isolates the bump as the cause; with this
change 11 passed and the full suite is 350 passed | 33 skipped,
typecheck and build clean. Negative probe: `npm test` exits 1 with
`TypeCheckError: Type 'string' is not assignable to type
'LanguageModelV3FinishReason'` — the fixture contract is now enforced,
which it was not when the literals were only cast through `any`.
- Not tested: N/A — test-only change.

## Runtime Rollout Safety

- Rollout-managed feature(s): None. Test-only change in the TypeScript
SDK.
- Minimum rollout channel: N/A.
- Stable/default behavior changed: No. No shipped code changes.
- Kill switch / disable path: N/A.
- Unsafe override required: No.
- Qualification impact: None — restores a green `npm test` on `main`.
- Rollback path: Revert this PR; no persisted state.

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] I did **not** edit `CHANGELOG.md` — it is generated by
release-please from my Conventional Commit PR title (a CI guard enforces
this)

## Screenshots (if applicable)

N/A

## Additional Notes

- The fixtures' `doStream: vi.fn()` is untouched; no test calls
`doStream`.
- Revision after review: the first push used the right `content` but
still the pre-4.x scalar `finishReason`/token counts; the literals now
match the installed `@ai-sdk/provider` 4.0.19 and are checked by `tsc`
through vitest.
- CHANGELOG left untouched — the `no-manual-changelog` CI guard owns it.

---------

Co-authored-by: JD Davis <mxjerrett@gmail.com>
2026-10-05 10:30:46 -05:00
Shubham Srivastava 038c923b4b fix(sdk): preserve Gemini media parts in message conversion instead of dropping the turn (#3882)
## Description

The TypeScript SDK's Gemini converters drop media. `geminiToOpenAI()`
only carries `text` and `functionResponse` parts, so for a user turn:

- an **`inlineData`** part (the normal way to send an image to Gemini)
is silently dropped; an **image-only** turn produces no message at all
and the turn is deleted;
- a **`fileData`** part (Files API / URI reference) is dropped the same
way.

`openAIToGemini()` drops `image_url` parts on the way back, so even a
preserved image could not have survived the return trip.

Verified through the public `toOpenAI` / `fromOpenAI` on `main`:

```text
image-only    | OpenAI: []                                          | back to Gemini: []
text+image    | OpenAI: [{"role":"user","content":"what is this?"}] | back to Gemini: [{"role":"user","parts":[{"text":"what is this?"}]}]
text+fileData | OpenAI: [{"role":"user","content":"summarise"}]     | back to Gemini: [{"role":"user","parts":[{"text":"summarise"}]}]
```

This hits the universal `compress()` for Gemini-format input and the
Gemini `withHeadroom()` adapter. The adapter always forwards the
round-tripped messages (it does not check `result.compressed`), so with
the adapter **every** vision request loses its image, including when the
proxy is unreachable and the client falls back. This is the Gemini
counterpart of #3439 (Anthropic image blocks), fixed the same way.

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Performance improvement
- [ ] Code refactoring (no functional changes)

## Changes Made

- **`sdk/typescript/src/utils/format.ts`**
- `geminiToOpenAI` user branch (forward): `inlineData { mimeType, data
}` → `{ type: "image_url", image_url: { url:
"data:<mimeType>;base64,<data>" } }`; `fileData { mimeType, fileUri }` →
`image_url` with the URI plus a private `mime_type` key carrying the
MIME type. A user turn containing media is emitted as one `content` part
array preserving part order; unconvertible media parts are skipped
without deleting the turn. **Text-only turns are unchanged** (still a
newline-joined string) and `functionResponse` handling is untouched.
- `openAIToGemini` user branch (reverse): a `data:` URI → `inlineData {
mimeType, data }` (lossless); any other URL → `fileData { mimeType,
fileUri }` using the carried `mime_type`, else a type inferred from a
common image/PDF extension, else `fileUri` only. Text-only array content
still collapses to a single text part as before.
- Two small helpers, `geminiMediaImageUrl` / `geminiMediaPart`,
mirroring the Anthropic ones from #3439.
- **`sdk/typescript/test/utils/format.test.ts`** — first unit tests for
the Gemini converters (there were none): forward (inline image with
text, image-only turn, `fileData` with its MIME type carried), reverse
(data URI → `inlineData`, carried type → complete `fileData`, extension
inference, `fileUri`-only fallback), exact round trips for
text+`inlineData` and text+`fileData` (`application/pdf`), plus two
backward-compat guards for the text-only paths.
- **`sdk/typescript/test/adapters/gemini.test.ts`** — end-to-end through
`withHeadroom`: the image reaches `/v1/compress` as an `image_url` part
and comes back to `generateContent` as `inlineData` on a successful
compression; an image-only turn survives when the proxy is unreachable.

**Why the MIME type is carried:** `@google/generative-ai` declares
`FileData { mimeType: string; fileUri: string }` with both fields
required, so the OpenAI-shaped part must carry the type for the round
trip to be exact. The proxy's content walkers append non-text parts
unchanged (`headroom/proxy/helpers.py`, see the issue #3552 note there),
so the private `mime_type` key survives `/v1/compress`; it is never sent
to an OpenAI endpoint by the SDK's own paths. A foreign `image_url` with
no known type falls back to `fileUri` only (the REST schema marks
`mimeType` optional), and a test documents that fallback. `inlineData`
round-trips byte-for-byte via the data URI.

## Testing

- [x] Unit tests pass (`npm test` — vitest, incl. typecheck)
- [x] Type checking passes (`npm run typecheck` — tsc --noEmit)
- [x] Build passes (`npm run build` — tsup)
- [x] New tests added for new functionality
- [x] Manual testing performed

### Test Output

```text
$ cd sdk/typescript && npx vitest run test/utils/format.test.ts test/adapters/gemini.test.ts
 Test Files  2 passed (2)
      Tests  54 passed (54)

$ npm test                       # full suite
 Test Files  19 passed | 5 skipped (24)
      Tests  350 passed | 33 skipped (383)
Type Errors  no errors

$ npm run typecheck              # tsc --noEmit
(clean, no errors)

$ npm run build                  # tsup
CJS / ESM / DTS Build success
```

## Real Behavior Proof

- Environment: macOS (Apple silicon), Node v22.16.0, npm 10.9.2; `cd
sdk/typescript && npm ci`.
- Exact command / steps: (1) the block above — `node
--input-type=module` script calling the built `toOpenAI` / `fromOpenAI`
from `dist/index.js` on `main`; (2) the ten new tests run on `main`
before the change and on this branch after; then `npm test`, `npm run
typecheck`, `npm run build`.
- Observed result: On `main` the eight behavioural tests fail for the
expected reason — e.g. `expected 'what is this?' to deeply equal [ {
type: 'text', … }, … ]` (the image part is missing) and the adapter
fallback test receives `contents` without the `inlineData` part (`[]`
messages). With the change all 54 targeted tests pass, including the
exact text+`fileData` (`application/pdf`) round trip; full suite 350
passed | 33 skipped; typecheck and build clean.
- Not tested: a live proxy round trip and a live Gemini call. The
conversion is pure and covered by the unit tests; the proxy consumes
standard OpenAI-format content parts (the same `image_url` parts #3439
already sends for Anthropic input).

## Runtime Rollout Safety

- Rollout-managed feature(s): None. Client-side TypeScript SDK
conversion fix; no server/runtime feature flag or rollout channel
involved.
- Minimum rollout channel: N/A.
- Stable/default behavior changed: Only the buggy path — media parts
that were dropped are now preserved. Text-only and `functionResponse`
conversions are byte-identical to before.
- Kill switch / disable path: N/A — correctness fix, not a gated
feature.
- Unsafe override required: No.
- Qualification impact: None — additive media handling; existing tests
unchanged and green.
- Rollback path: Revert this PR; no persisted state, migrations, or
config to unwind.

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] I did **not** edit `CHANGELOG.md` — it is generated by
release-please from my Conventional Commit PR title (a CI guard enforces
this)

## Screenshots (if applicable)

N/A

## Additional Notes

- Out of scope, left as-is: media parts in **model** (assistant) turns
are still dropped by `geminiToOpenAI`, and non-text content inside a
`functionResponse` is JSON-stringified. Both are pre-existing and rarer;
happy to follow up if wanted.
- The Gemini adapter forwarding round-tripped messages even when
`result.compressed` is false is also pre-existing; with this fix that
round trip is lossless for text and inline media, so the behaviour is
now harmless rather than destructive.
- CHANGELOG left untouched — the `no-manual-changelog` CI guard owns it;
the Conventional Commit title drives the entry.
2026-10-02 10:31:00 -07:00
dependabot[bot] ff1a0d69f4 deps: bump the npm-minor-patch group across 3 directories with 11 updates (#3910)
Bumps the npm-minor-patch group with 3 updates in the /plugins/openclaw
directory: headroom-ai,
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
and
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest).
Bumps the npm-minor-patch group with 4 updates in the /plugins/opencode
directory: headroom-ai,
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node),
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
and @opencode-ai/plugin.
Bumps the npm-minor-patch group with 9 updates in the /sdk/typescript
directory:

| Package | From | To |
| --- | --- | --- |
|
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
| `26.6.2` | `26.6.3` |
|
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
| `5.0.1` | `5.0.2` |
|
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
| `26.6.2` | `26.6.3` |
|
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
| `5.0.1` | `5.0.2` |
|
[@ai-sdk/anthropic](https://github.com/vercel/ai/tree/HEAD/packages/anthropic)
| `4.0.58` | `4.0.66` |
|
[@ai-sdk/openai](https://github.com/vercel/ai/tree/HEAD/packages/openai)
| `4.0.71` | `4.0.79` |
|
[@ai-sdk/provider](https://github.com/vercel/ai/tree/HEAD/packages/provider)
| `4.0.17` | `4.0.19` |
|
[@anthropic-ai/sdk](https://github.com/anthropics/anthropic-sdk-typescript)
| `0.127.0` | `0.129.0` |
|
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
| `26.6.2` | `26.6.3` |
| [ai](https://github.com/vercel/ai/tree/HEAD/packages/ai) | `7.0.107` |
`7.0.119` |
| [dotenv](https://github.com/motdotla/dotenv) | `18.0.1` | `18.0.4` |
| [openai](https://github.com/openai/openai-node) | `7.20.0` | `7.23.0`
|
|
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
| `5.0.1` | `5.0.2` |


Updates `headroom-ai` from 0.37.0 to 0.39.1

Updates `@types/node` from 26.6.2 to 26.6.3
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `vitest` from 5.0.1 to 5.0.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.2</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Bind <code>process</code> in case global is overwritten  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11343">vitest-dev/vitest#11343</a>
<a href="https://github.com/vitest-dev/vitest/commit/0b79231ad"><!-- raw
HTML omitted -->(0b792)<!-- raw HTML omitted --></a></li>
<li><strong>detect-async-leaks</strong>:
<ul>
<li>Ignore <code>process.stdio</code> handles  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11333">vitest-dev/vitest#11333</a>
<a href="https://github.com/vitest-dev/vitest/commit/0fd6b9790"><!-- raw
HTML omitted -->(0fd6b)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>expect</strong>:
<ul>
<li>Fix <code>toMatchObject</code> with asymmetric matchers  -  by <a
href="https://github.com/ShreeBohara"><code>@​ShreeBohara</code></a>,
<strong>Claude Opus 5</strong>, <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-5)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11100">vitest-dev/vitest#11100</a>
<a href="https://github.com/vitest-dev/vitest/commit/42523289e"><!-- raw
HTML omitted -->(42523)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>jsdom</strong>:
<ul>
<li>Fix <code>Request</code> with <code>Blob</code> body on jsdom 28+
 -  by <a
href="https://github.com/harshit-d3v"><code>@​harshit-d3v</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11295">vitest-dev/vitest#11295</a>
<a href="https://github.com/vitest-dev/vitest/commit/d1c3ecc93"><!-- raw
HTML omitted -->(d1c3e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>reporter</strong>:
<ul>
<li><code>agent</code> to respect <code>--silent</code>  -  by <a
href="https://github.com/Raj4478"><code>@​Raj4478</code></a> and <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11271">vitest-dev/vitest#11271</a>
<a href="https://github.com/vitest-dev/vitest/commit/5b95efb6d"><!-- raw
HTML omitted -->(5b95e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>reporters</strong>:
<ul>
<li>Handle concurrent <code>createReport</code> calls  -  by <a
href="https://github.com/7rulnik"><code>@​7rulnik</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11278">vitest-dev/vitest#11278</a>
<a href="https://github.com/vitest-dev/vitest/commit/e8e556ff7"><!-- raw
HTML omitted -->(e8e55)<!-- raw HTML omitted --></a></li>
<li><code>hanging-process</code> to use ESM entrypoint  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11316">vitest-dev/vitest#11316</a>
<a href="https://github.com/vitest-dev/vitest/commit/4e91e5668"><!-- raw
HTML omitted -->(4e91e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>spy</strong>:
<ul>
<li>Fix stack overflow when spying <code>Set.prototype.add</code>  -  by
<a href="https://github.com/fengmk2"><code>@​fengmk2</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11299">vitest-dev/vitest#11299</a>
<a href="https://github.com/vitest-dev/vitest/commit/a0a939653"><!-- raw
HTML omitted -->(a0a93)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>ui</strong>:
<ul>
<li>Persist authentication cookie beyond current browser session  -  by
<a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>OpenCode
(gpt-5.6-sol)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11066">vitest-dev/vitest#11066</a>
<a href="https://github.com/vitest-dev/vitest/commit/f88195e16"><!-- raw
HTML omitted -->(f8819)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v5.0.1...v5.0.2">View
changes on GitHub</a></h5>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/428e2e5043c64635b6b157358bde2fdeaa7b6b3a"><code>428e2e5</code></a>
chore: release v5.0.2 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11357">#11357</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/0b79231ad7897f03de17940ef16684b63aa217fe"><code>0b79231</code></a>
fix: bind <code>process</code> in case global is overwritten (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11343">#11343</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/597df569aba3e8b24c9ad231aacd3cf641ac3bdf"><code>597df56</code></a>
docs: correct stale config defaults (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11354">#11354</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/ea1c44fb581978421f9f0901ce8c635970ea72fb"><code>ea1c44f</code></a>
docs: <code>sequence.setupFiles</code> default is <code>'list'</code>
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11351">#11351</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/0fd6b97902bc828d489385e0a28b82515f57b7cf"><code>0fd6b97</code></a>
fix(detect-async-leaks): ignore <code>process.stdio</code> handles (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11333">#11333</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/4e91e56687de43427fbb664d86a63438ca73b681"><code>4e91e56</code></a>
fix(reporters): <code>hanging-process</code> to use ESM entrypoint (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11316">#11316</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/1a57929a49fb6fb2db02b47e56c4677ca5ae1704"><code>1a57929</code></a>
docs(browser): fix locators.exact default (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11338">#11338</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/5b95efb6dfe378dc6fc8380f5b1e96832f019a5d"><code>5b95efb</code></a>
fix(reporter): <code>agent</code> to respect <code>--silent</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11271">#11271</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/f58a209779ffd3007006481d0c9da0099d5226e6"><code>f58a209</code></a>
docs: correct benchmark.exclude and watch defaults (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11268">#11268</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/d1c3ecc932dcb4cd50420c54aa1f7fa3051deac7"><code>d1c3ecc</code></a>
fix(jsdom): fix <code>Request</code> with <code>Blob</code> body on
jsdom 28+ (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11295">#11295</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.0.2/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />

Updates `headroom-ai` from 0.37.0 to 0.39.1

Updates `@types/node` from 26.6.2 to 26.6.3
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `vitest` from 5.0.1 to 5.0.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.2</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Bind <code>process</code> in case global is overwritten  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11343">vitest-dev/vitest#11343</a>
<a href="https://github.com/vitest-dev/vitest/commit/0b79231ad"><!-- raw
HTML omitted -->(0b792)<!-- raw HTML omitted --></a></li>
<li><strong>detect-async-leaks</strong>:
<ul>
<li>Ignore <code>process.stdio</code> handles  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11333">vitest-dev/vitest#11333</a>
<a href="https://github.com/vitest-dev/vitest/commit/0fd6b9790"><!-- raw
HTML omitted -->(0fd6b)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>expect</strong>:
<ul>
<li>Fix <code>toMatchObject</code> with asymmetric matchers  -  by <a
href="https://github.com/ShreeBohara"><code>@​ShreeBohara</code></a>,
<strong>Claude Opus 5</strong>, <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-5)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11100">vitest-dev/vitest#11100</a>
<a href="https://github.com/vitest-dev/vitest/commit/42523289e"><!-- raw
HTML omitted -->(42523)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>jsdom</strong>:
<ul>
<li>Fix <code>Request</code> with <code>Blob</code> body on jsdom 28+
 -  by <a
href="https://github.com/harshit-d3v"><code>@​harshit-d3v</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11295">vitest-dev/vitest#11295</a>
<a href="https://github.com/vitest-dev/vitest/commit/d1c3ecc93"><!-- raw
HTML omitted -->(d1c3e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>reporter</strong>:
<ul>
<li><code>agent</code> to respect <code>--silent</code>  -  by <a
href="https://github.com/Raj4478"><code>@​Raj4478</code></a> and <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11271">vitest-dev/vitest#11271</a>
<a href="https://github.com/vitest-dev/vitest/commit/5b95efb6d"><!-- raw
HTML omitted -->(5b95e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>reporters</strong>:
<ul>
<li>Handle concurrent <code>createReport</code> calls  -  by <a
href="https://github.com/7rulnik"><code>@​7rulnik</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11278">vitest-dev/vitest#11278</a>
<a href="https://github.com/vitest-dev/vitest/commit/e8e556ff7"><!-- raw
HTML omitted -->(e8e55)<!-- raw HTML omitted --></a></li>
<li><code>hanging-process</code> to use ESM entrypoint  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11316">vitest-dev/vitest#11316</a>
<a href="https://github.com/vitest-dev/vitest/commit/4e91e5668"><!-- raw
HTML omitted -->(4e91e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>spy</strong>:
<ul>
<li>Fix stack overflow when spying <code>Set.prototype.add</code>  -  by
<a href="https://github.com/fengmk2"><code>@​fengmk2</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11299">vitest-dev/vitest#11299</a>
<a href="https://github.com/vitest-dev/vitest/commit/a0a939653"><!-- raw
HTML omitted -->(a0a93)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>ui</strong>:
<ul>
<li>Persist authentication cookie beyond current browser session  -  by
<a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>OpenCode
(gpt-5.6-sol)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11066">vitest-dev/vitest#11066</a>
<a href="https://github.com/vitest-dev/vitest/commit/f88195e16"><!-- raw
HTML omitted -->(f8819)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v5.0.1...v5.0.2">View
changes on GitHub</a></h5>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/428e2e5043c64635b6b157358bde2fdeaa7b6b3a"><code>428e2e5</code></a>
chore: release v5.0.2 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11357">#11357</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/0b79231ad7897f03de17940ef16684b63aa217fe"><code>0b79231</code></a>
fix: bind <code>process</code> in case global is overwritten (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11343">#11343</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/597df569aba3e8b24c9ad231aacd3cf641ac3bdf"><code>597df56</code></a>
docs: correct stale config defaults (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11354">#11354</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/ea1c44fb581978421f9f0901ce8c635970ea72fb"><code>ea1c44f</code></a>
docs: <code>sequence.setupFiles</code> default is <code>'list'</code>
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11351">#11351</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/0fd6b97902bc828d489385e0a28b82515f57b7cf"><code>0fd6b97</code></a>
fix(detect-async-leaks): ignore <code>process.stdio</code> handles (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11333">#11333</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/4e91e56687de43427fbb664d86a63438ca73b681"><code>4e91e56</code></a>
fix(reporters): <code>hanging-process</code> to use ESM entrypoint (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11316">#11316</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/1a57929a49fb6fb2db02b47e56c4677ca5ae1704"><code>1a57929</code></a>
docs(browser): fix locators.exact default (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11338">#11338</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/5b95efb6dfe378dc6fc8380f5b1e96832f019a5d"><code>5b95efb</code></a>
fix(reporter): <code>agent</code> to respect <code>--silent</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11271">#11271</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/f58a209779ffd3007006481d0c9da0099d5226e6"><code>f58a209</code></a>
docs: correct benchmark.exclude and watch defaults (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11268">#11268</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/d1c3ecc932dcb4cd50420c54aa1f7fa3051deac7"><code>d1c3ecc</code></a>
fix(jsdom): fix <code>Request</code> with <code>Blob</code> body on
jsdom 28+ (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11295">#11295</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.0.2/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />

Updates `@types/node` from 26.6.2 to 26.6.3
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `vitest` from 5.0.1 to 5.0.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.2</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Bind <code>process</code> in case global is overwritten  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11343">vitest-dev/vitest#11343</a>
<a href="https://github.com/vitest-dev/vitest/commit/0b79231ad"><!-- raw
HTML omitted -->(0b792)<!-- raw HTML omitted --></a></li>
<li><strong>detect-async-leaks</strong>:
<ul>
<li>Ignore <code>process.stdio</code> handles  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11333">vitest-dev/vitest#11333</a>
<a href="https://github.com/vitest-dev/vitest/commit/0fd6b9790"><!-- raw
HTML omitted -->(0fd6b)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>expect</strong>:
<ul>
<li>Fix <code>toMatchObject</code> with asymmetric matchers  -  by <a
href="https://github.com/ShreeBohara"><code>@​ShreeBohara</code></a>,
<strong>Claude Opus 5</strong>, <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-5)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11100">vitest-dev/vitest#11100</a>
<a href="https://github.com/vitest-dev/vitest/commit/42523289e"><!-- raw
HTML omitted -->(42523)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>jsdom</strong>:
<ul>
<li>Fix <code>Request</code> with <code>Blob</code> body on jsdom 28+
 -  by <a
href="https://github.com/harshit-d3v"><code>@​harshit-d3v</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11295">vitest-dev/vitest#11295</a>
<a href="https://github.com/vitest-dev/vitest/commit/d1c3ecc93"><!-- raw
HTML omitted -->(d1c3e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>reporter</strong>:
<ul>
<li><code>agent</code> to respect <code>--silent</code>  -  by <a
href="https://github.com/Raj4478"><code>@​Raj4478</code></a> and <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11271">vitest-dev/vitest#11271</a>
<a href="https://github.com/vitest-dev/vitest/commit/5b95efb6d"><!-- raw
HTML omitted -->(5b95e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>reporters</strong>:
<ul>
<li>Handle concurrent <code>createReport</code> calls  -  by <a
href="https://github.com/7rulnik"><code>@​7rulnik</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11278">vitest-dev/vitest#11278</a>
<a href="https://github.com/vitest-dev/vitest/commit/e8e556ff7"><!-- raw
HTML omitted -->(e8e55)<!-- raw HTML omitted --></a></li>
<li><code>hanging-process</code> to use ESM entrypoint  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11316">vitest-dev/vitest#11316</a>
<a href="https://github.com/vitest-dev/vitest/commit/4e91e5668"><!-- raw
HTML omitted -->(4e91e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>spy</strong>:
<ul>
<li>Fix stack overflow when spying <code>Set.prototype.add</code>  -  by
<a href="https://github.com/fengmk2"><code>@​fengmk2</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11299">vitest-dev/vitest#11299</a>
<a href="https://github.com/vitest-dev/vitest/commit/a0a939653"><!-- raw
HTML omitted -->(a0a93)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>ui</strong>:
<ul>
<li>Persist authentication cookie beyond current browser session  -  by
<a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>OpenCode
(gpt-5.6-sol)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11066">vitest-dev/vitest#11066</a>
<a href="https://github.com/vitest-dev/vitest/commit/f88195e16"><!-- raw
HTML omitted -->(f8819)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v5.0.1...v5.0.2">View
changes on GitHub</a></h5>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/428e2e5043c64635b6b157358bde2fdeaa7b6b3a"><code>428e2e5</code></a>
chore: release v5.0.2 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11357">#11357</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/0b79231ad7897f03de17940ef16684b63aa217fe"><code>0b79231</code></a>
fix: bind <code>process</code> in case global is overwritten (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11343">#11343</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/597df569aba3e8b24c9ad231aacd3cf641ac3bdf"><code>597df56</code></a>
docs: correct stale config defaults (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11354">#11354</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/ea1c44fb581978421f9f0901ce8c635970ea72fb"><code>ea1c44f</code></a>
docs: <code>sequence.setupFiles</code> default is <code>'list'</code>
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11351">#11351</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/0fd6b97902bc828d489385e0a28b82515f57b7cf"><code>0fd6b97</code></a>
fix(detect-async-leaks): ignore <code>process.stdio</code> handles (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11333">#11333</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/4e91e56687de43427fbb664d86a63438ca73b681"><code>4e91e56</code></a>
fix(reporters): <code>hanging-process</code> to use ESM entrypoint (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11316">#11316</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/1a57929a49fb6fb2db02b47e56c4677ca5ae1704"><code>1a57929</code></a>
docs(browser): fix locators.exact default (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11338">#11338</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/5b95efb6dfe378dc6fc8380f5b1e96832f019a5d"><code>5b95efb</code></a>
fix(reporter): <code>agent</code> to respect <code>--silent</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11271">#11271</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/f58a209779ffd3007006481d0c9da0099d5226e6"><code>f58a209</code></a>
docs: correct benchmark.exclude and watch defaults (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11268">#11268</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/d1c3ecc932dcb4cd50420c54aa1f7fa3051deac7"><code>d1c3ecc</code></a>
fix(jsdom): fix <code>Request</code> with <code>Blob</code> body on
jsdom 28+ (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11295">#11295</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.0.2/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />

Updates `headroom-ai` from 0.37.0 to 0.39.1

Updates `@types/node` from 26.6.2 to 26.6.3
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `vitest` from 5.0.1 to 5.0.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.2</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Bind <code>process</code> in case global is overwritten  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11343">vitest-dev/vitest#11343</a>
<a href="https://github.com/vitest-dev/vitest/commit/0b79231ad"><!-- raw
HTML omitted -->(0b792)<!-- raw HTML omitted --></a></li>
<li><strong>detect-async-leaks</strong>:
<ul>
<li>Ignore <code>process.stdio</code> handles  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11333">vitest-dev/vitest#11333</a>
<a href="https://github.com/vitest-dev/vitest/commit/0fd6b9790"><!-- raw
HTML omitted -->(0fd6b)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>expect</strong>:
<ul>
<li>Fix <code>toMatchObject</code> with asymmetric matchers  -  by <a
href="https://github.com/ShreeBohara"><code>@​ShreeBohara</code></a>,
<strong>Claude Opus 5</strong>, <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-5)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11100">vitest-dev/vitest#11100</a>
<a href="https://github.com/vitest-dev/vitest/commit/42523289e"><!-- raw
HTML omitted -->(42523)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>jsdom</strong>:
<ul>
<li>Fix <code>Request</code> with <code>Blob</code> body on jsdom 28+
 -  by <a
href="https://github.com/harshit-d3v"><code>@​harshit-d3v</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11295">vitest-dev/vitest#11295</a>
<a href="https://github.com/vitest-dev/vitest/commit/d1c3ecc93"><!-- raw
HTML omitted -->(d1c3e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>reporter</strong>:
<ul>
<li><code>agent</code> to respect <code>--silent</code>  -  by <a
href="https://github.com/Raj4478"><code>@​Raj4478</code></a> and <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11271">vitest-dev/vitest#11271</a>
<a href="https://github.com/vitest-dev/vitest/commit/5b95efb6d"><!-- raw
HTML omitted -->(5b95e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>reporters</strong>:
<ul>
<li>Handle concurrent <code>createReport</code> calls  -  by <a
href="https://github.com/7rulnik"><code>@​7rulnik</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11278">vitest-dev/vitest#11278</a>
<a href="https://github.com/vitest-dev/vitest/commit/e8e556ff7"><!-- raw
HTML omitted -->(e8e55)<!-- raw HTML omitted --></a></li>
<li><code>hanging-process</code> to use ESM entrypoint  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11316">vitest-dev/vitest#11316</a>
<a href="https://github.com/vitest-dev/vitest/commit/4e91e5668"><!-- raw
HTML omitted -->(4e91e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>spy</strong>:
<ul>
<li>Fix stack overflow when spying <code>Set.prototype.add</code>  -  by
<a href="https://github.com/fengmk2"><code>@​fengmk2</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11299">vitest-dev/vitest#11299</a>
<a href="https://github.com/vitest-dev/vitest/commit/a0a939653"><!-- raw
HTML omitted -->(a0a93)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>ui</strong>:
<ul>
<li>Persist authentication cookie beyond current browser session  -  by
<a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>OpenCode
(gpt-5.6-sol)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11066">vitest-dev/vitest#11066</a>
<a href="https://github.com/vitest-dev/vitest/commit/f88195e16"><!-- raw
HTML omitted -->(f8819)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v5.0.1...v5.0.2">View
changes on GitHub</a></h5>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/428e2e5043c64635b6b157358bde2fdeaa7b6b3a"><code>428e2e5</code></a>
chore: release v5.0.2 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11357">#11357</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/0b79231ad7897f03de17940ef16684b63aa217fe"><code>0b79231</code></a>
fix: bind <code>process</code> in case global is overwritten (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11343">#11343</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/597df569aba3e8b24c9ad231aacd3cf641ac3bdf"><code>597df56</code></a>
docs: correct stale config defaults (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11354">#11354</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/ea1c44fb581978421f9f0901ce8c635970ea72fb"><code>ea1c44f</code></a>
docs: <code>sequence.setupFiles</code> default is <code>'list'</code>
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11351">#11351</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/0fd6b97902bc828d489385e0a28b82515f57b7cf"><code>0fd6b97</code></a>
fix(detect-async-leaks): ignore <code>process.stdio</code> handles (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11333">#11333</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/4e91e56687de43427fbb664d86a63438ca73b681"><code>4e91e56</code></a>
fix(reporters): <code>hanging-process</code> to use ESM entrypoint (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11316">#11316</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/1a57929a49fb6fb2db02b47e56c4677ca5ae1704"><code>1a57929</code></a>
docs(browser): fix locators.exact default (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11338">#11338</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/5b95efb6dfe378dc6fc8380f5b1e96832f019a5d"><code>5b95efb</code></a>
fix(reporter): <code>agent</code> to respect <code>--silent</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11271">#11271</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/f58a209779ffd3007006481d0c9da0099d5226e6"><code>f58a209</code></a>
docs: correct benchmark.exclude and watch defaults (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11268">#11268</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/d1c3ecc932dcb4cd50420c54aa1f7fa3051deac7"><code>d1c3ecc</code></a>
fix(jsdom): fix <code>Request</code> with <code>Blob</code> body on
jsdom 28+ (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11295">#11295</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.0.2/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />

Updates `@opencode-ai/plugin` from 1.18.31 to 1.18.33

Updates `headroom-ai` from 0.37.0 to 0.39.1

Updates `@types/node` from 26.6.2 to 26.6.3
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `vitest` from 5.0.1 to 5.0.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.2</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Bind <code>process</code> in case global is overwritten  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11343">vitest-dev/vitest#11343</a>
<a href="https://github.com/vitest-dev/vitest/commit/0b79231ad"><!-- raw
HTML omitted -->(0b792)<!-- raw HTML omitted --></a></li>
<li><strong>detect-async-leaks</strong>:
<ul>
<li>Ignore <code>process.stdio</code> handles  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11333">vitest-dev/vitest#11333</a>
<a href="https://github.com/vitest-dev/vitest/commit/0fd6b9790"><!-- raw
HTML omitted -->(0fd6b)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>expect</strong>:
<ul>
<li>Fix <code>toMatchObject</code> with asymmetric matchers  -  by <a
href="https://github.com/ShreeBohara"><code>@​ShreeBohara</code></a>,
<strong>Claude Opus 5</strong>, <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-5)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11100">vitest-dev/vitest#11100</a>
<a href="https://github.com/vitest-dev/vitest/commit/42523289e"><!-- raw
HTML omitted -->(42523)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>jsdom</strong>:
<ul>
<li>Fix <code>Request</code> with <code>Blob</code> body on jsdom 28+
 -  by <a
href="https://github.com/harshit-d3v"><code>@​harshit-d3v</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11295">vitest-dev/vitest#11295</a>
<a href="https://github.com/vitest-dev/vitest/commit/d1c3ecc93"><!-- raw
HTML omitted -->(d1c3e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>reporter</strong>:
<ul>
<li><code>agent</code> to respect <code>--silent</code>  -  by <a
href="https://github.com/Raj4478"><code>@​Raj4478</code></a> and <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11271">vitest-dev/vitest#11271</a>
<a href="https://github.com/vitest-dev/vitest/commit/5b95efb6d"><!-- raw
HTML omitted -->(5b95e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>reporters</strong>:
<ul>
<li>Handle concurrent <code>createReport</code> calls  -  by <a
href="https://github.com/7rulnik"><code>@​7rulnik</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11278">vitest-dev/vitest#11278</a>
<a href="https://github.com/vitest-dev/vitest/commit/e8e556ff7"><!-- raw
HTML omitted -->(e8e55)<!-- raw HTML omitted --></a></li>
<li><code>hanging-process</code> to use ESM entrypoint  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11316">vitest-dev/vitest#11316</a>
<a href="https://github.com/vitest-dev/vitest/commit/4e91e5668"><!-- raw
HTML omitted -->(4e91e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>spy</strong>:
<ul>
<li>Fix stack overflow when spying <code>Set.prototype.add</code>  -  by
<a href="https://github.com/fengmk2"><code>@​fengmk2</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11299">vitest-dev/vitest#11299</a>
<a href="https://github.com/vitest-dev/vitest/commit/a0a939653"><!-- raw
HTML omitted -->(a0a93)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>ui</strong>:
<ul>
<li>Persist authentication cookie beyond current browser session  -  by
<a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>OpenCode
(gpt-5.6-sol)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11066">vitest-dev/vitest#11066</a>
<a href="https://github.com/vitest-dev/vitest/commit/f88195e16"><!-- raw
HTML omitted -->(f8819)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v5.0.1...v5.0.2">View
changes on GitHub</a></h5>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/428e2e5043c64635b6b157358bde2fdeaa7b6b3a"><code>428e2e5</code></a>
chore: release v5.0.2 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11357">#11357</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/0b79231ad7897f03de17940ef16684b63aa217fe"><code>0b79231</code></a>
fix: bind <code>process</code> in case global is overwritten (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11343">#11343</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/597df569aba3e8b24c9ad231aacd3cf641ac3bdf"><code>597df56</code></a>
docs: correct stale config defaults (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11354">#11354</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/ea1c44fb581978421f9f0901ce8c635970ea72fb"><code>ea1c44f</code></a>
docs: <code>sequence.setupFiles</code> default is <code>'list'</code>
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11351">#11351</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/0fd6b97902bc828d489385e0a28b82515f57b7cf"><code>0fd6b97</code></a>
fix(detect-async-leaks): ignore <code>process.stdio</code> handles (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11333">#11333</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/4e91e56687de43427fbb664d86a63438ca73b681"><code>4e91e56</code></a>
fix(reporters): <code>hanging-process</code> to use ESM entrypoint (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11316">#11316</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/1a57929a49fb6fb2db02b47e56c4677ca5ae1704"><code>1a57929</code></a>
docs(browser): fix locators.exact default (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11338">#11338</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/5b95efb6dfe378dc6fc8380f5b1e96832f019a5d"><code>5b95efb</code></a>
fix(reporter): <code>agent</code> to respect <code>--silent</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11271">#11271</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/f58a209779ffd3007006481d0c9da0099d5226e6"><code>f58a209</code></a>
docs: correct benchmark.exclude and watch defaults (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11268">#11268</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/d1c3ecc932dcb4cd50420c54aa1f7fa3051deac7"><code>d1c3ecc</code></a>
fix(jsdom): fix <code>Request</code> with <code>Blob</code> body on
jsdom 28+ (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11295">#11295</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.0.2/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />

Updates `@types/node` from 26.6.2 to 26.6.3
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `vitest` from 5.0.1 to 5.0.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.2</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Bind <code>process</code> in case global is overwritten  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11343">vitest-dev/vitest#11343</a>
<a href="https://github.com/vitest-dev/vitest/commit/0b79231ad"><!-- raw
HTML omitted -->(0b792)<!-- raw HTML omitted --></a></li>
<li><strong>detect-async-leaks</strong>:
<ul>
<li>Ignore <code>process.stdio</code> handles  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11333">vitest-dev/vitest#11333</a>
<a href="https://github.com/vitest-dev/vitest/commit/0fd6b9790"><!-- raw
HTML omitted -->(0fd6b)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>expect</strong>:
<ul>
<li>Fix <code>toMatchObject</code> with asymmetric matchers  -  by <a
href="https://github.com/ShreeBohara"><code>@​ShreeBohara</code></a>,
<strong>Claude Opus 5</strong>, <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-5)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11100">vitest-dev/vitest#11100</a>
<a href="https://github.com/vitest-dev/vitest/commit/42523289e"><!-- raw
HTML omitted -->(42523)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>jsdom</strong>:
<ul>
<li>Fix <code>Request</code> with <code>Blob</code> body on jsdom 28+
 -  by <a
href="https://github.com/harshit-d3v"><code>@​harshit-d3v</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11295">vitest-dev/vitest#11295</a>
<a href="https://github.com/vitest-dev/vitest/commit/d1c3ecc93"><!-- raw
HTML omitted -->(d1c3e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>reporter</strong>:
<ul>
<li><code>agent</code> to respect <code>--silent</code>  -  by <a
href="https://github.com/Raj4478"><code>@​Raj4478</code></a> and <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11271">vitest-dev/vitest#11271</a>
<a href="https://github.com/vitest-dev/vitest/commit/5b95efb6d"><!-- raw
HTML omitted -->(5b95e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>reporters</strong>:
<ul>
<li>Handle concurrent <code>createReport</code> calls  -  by <a
href="https://github.com/7rulnik"><code>@​7rulnik</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11278">vitest-dev/vitest#11278</a>
<a href="https://github.com/vitest-dev/vitest/commit/e8e556ff7"><!-- raw
HTML omitted -->(e8e55)<!-- raw HTML omitted --></a></li>
<li><code>hanging-process</code> to use ESM entrypoint  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11316">vitest-dev/vitest#11316</a>
<a href="https://github.com/vitest-dev/vitest/commit/4e91e5668"><!-- raw
HTML omitted -->(4e91e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>spy</strong>:
<ul>
<li>Fix stack overflow when spying <code>Set.prototype.add</code>  -  by
<a href="https://github.com/fengmk2"><code>@​fengmk2</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11299">vitest-dev/vitest#11299</a>
<a href="https://github.com/vitest-dev/vitest/commit/a0a939653"><!-- raw
HTML omitted -->(a0a93)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>ui</strong>:
<ul>
<li>Persist authentication cookie beyond current browser session  -  by
<a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>OpenCode
(gpt-5.6-sol)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11066">vitest-dev/vitest#11066</a>
<a href="https://github.com/vitest-dev/vitest/commit/f88195e16"><!-- raw
HTML omitted -->(f8819)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v5.0.1...v5.0.2">View
changes on GitHub</a></h5>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/428e2e5043c64635b6b157358bde2fdeaa7b6b3a"><code>428e2e5</code></a>
chore: release v5.0.2 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11357">#11357</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/0b79231ad7897f03de17940ef16684b63aa217fe"><code>0b79231</code></a>
fix: bind <code>process</code> in case global is overwritten (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11343">#11343</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/597df569aba3e8b24c9ad231aacd3cf641ac3bdf"><code>597df56</code></a>
docs: correct stale config defaults (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11354">#11354</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/ea1c44fb581978421f9f0901ce8c635970ea72fb"><code>ea1c44f</code></a>
docs: <code>sequence.setupFiles</code> default is <code>'list'</code>
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11351">#11351</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/0fd6b97902bc828d489385e0a28b82515f57b7cf"><code>0fd6b97</code></a>
fix(detect-async-leaks): ignore <code>process.stdio</code> handles (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11333">#11333</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/4e91e56687de43427fbb664d86a63438ca73b681"><code>4e91e56</code></a>
fix(reporters): <code>hanging-process</code> to use ESM entrypoint (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11316">#11316</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/1a57929a49fb6fb2db02b47e56c4677ca5ae1704"><code>1a57929</code></a>
docs(browser): fix locators.exact default (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11338">#11338</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/5b95efb6dfe378dc6fc8380f5b1e96832f019a5d"><code>5b95efb</code></a>
fix(reporter): <code>agent</code> to respect <code>--silent</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11271">#11271</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/f58a209779ffd3007006481d0c9da0099d5226e6"><code>f58a209</code></a>
docs: correct benchmark.exclude and watch defaults (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11268">#11268</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/d1c3ecc932dcb4cd50420c54aa1f7fa3051deac7"><code>d1c3ecc</code></a>
fix(jsdom): fix <code>Request</code> with <code>Blob</code> body on
jsdom 28+ (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11295">#11295</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.0.2/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />

Updates `@types/node` from 26.6.2 to 26.6.3
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `vitest` from 5.0.1 to 5.0.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.2</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Bind <code>process</code> in case global is overwritten  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11343">vitest-dev/vitest#11343</a>
<a href="https://github.com/vitest-dev/vitest/commit/0b79231ad"><!-- raw
HTML omitted -->(0b792)<!-- raw HTML omitted --></a></li>
<li><strong>detect-async-leaks</strong>:
<ul>
<li>Ignore <code>process.stdio</code> handles  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11333">vitest-dev/vitest#11333</a>
<a href="https://github.com/vitest-dev/vitest/commit/0fd6b9790"><!-- raw
HTML omitted -->(0fd6b)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>expect</strong>:
<ul>
<li>Fix <code>toMatchObject</code> with asymmetric matchers  -  by <a
href="https://github.com/ShreeBohara"><code>@​ShreeBohara</code></a>,
<strong>Claude Opus 5</strong>, <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-5)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11100">vitest-dev/vitest#11100</a>
<a href="https://github.com/vitest-dev/vitest/commit/42523289e"><!-- raw
HTML omitted -->(42523)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>jsdom</strong>:
<ul>
<li>Fix <code>Request</code> with <code>Blob</code> body on jsdom 28+
 -  by <a
href="https://github.com/harshit-d3v"><code>@​harshit-d3v</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11295">vitest-dev/vitest#11295</a>
<a href="https://github.com/vitest-dev/vitest/commit/d1c3ecc93"><!-- raw
HTML omitted -->(d1c3e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>reporter</strong>:
<ul>
<li><code>agent</code> to respect <code>--silent</code>  -  by <a
href="https://github.com/Raj4478"><code>@​Raj4478</code></a> and <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11271">vitest-dev/vitest#11271</a>
<a href="https://github.com/vitest-dev/vitest/commit/5b95efb6d"><!-- raw
HTML omitted -->(5b95e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>reporters</strong>:
<ul>
<li>Handle concurrent <code>createReport</code> calls  -  by <a
href="https://github.com/7rulnik"><code>@​7rulnik</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11278">vitest-dev/vitest#11278</a>
<a href="https://github.com/vitest-dev/vitest/commit/e8e556ff7"><!-- raw
HTML omitted -->(e8e55)<!-- raw HTML omitted --></a></li>
<li><code>hanging-process</code> to use ESM entrypoint  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11316">vitest-dev/vitest#11316</a>
<a href="https://github.com/vitest-dev/vitest/commit/4e91e5668"><!-- raw
HTML omitted -->(4e91e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>spy</strong>:
<ul>
<li>Fix stack overflow when spying <code>Set.prototype.add</code>  -  by
<a href="https://github.com/fengmk2"><code>@​fengmk2</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11299">vitest-dev/vitest#11299</a>
<a href="https://github.com/vitest-dev/vitest/commit/a0a939653"><!-- raw
HTML omitted -->(a0a93)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>ui</strong>:
<ul>
<li>Persist authentication cookie beyond current browser session  -  by
<a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>OpenCode
(gpt-5.6-sol)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11066">vitest-dev/vitest#11066</a>
<a href="https://github.com/vitest-dev/vitest/commit/f88195e16"><!-- raw
HTML omitted -->(f8819)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v5.0.1...v5.0.2">View
changes on GitHub</a></h5>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/428e2e5043c64635b6b157358bde2fdeaa7b6b3a"><code>428e2e5</code></a>
chore: release v5.0.2 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11357">#11357</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/0b79231ad7897f03de17940ef16684b63aa217fe"><code>0b79231</code></a>
fix: bind <code>process</code> in case global is overwritten (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11343">#11343</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/597df569aba3e8b24c9ad231aacd3cf641ac3bdf"><code>597df56</code></a>
docs: correct stale config defaults (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11354">#11354</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/ea1c44fb581978421f9f0901ce8c635970ea72fb"><code>ea1c44f</code></a>
docs: <code>sequence.setupFiles</code> default is <code>'list'</code>
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11351">#11351</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/0fd6b97902bc828d489385e0a28b82515f57b7cf"><code>0fd6b97</code></a>
fix(detect-async-leaks): ignore <code>process.stdio</code> handles (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11333">#11333</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/4e91e56687de43427fbb664d86a63438ca73b681"><code>4e91e56</code></a>
fix(reporters): <code>hanging-process</code> to use ESM entrypoint (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11316">#11316</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/1a57929a49fb6fb2db02b47e56c4677ca5ae1704"><code>1a57929</code></a>
docs(browser): fix locators.exact default (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11338">#11338</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/5b95efb6dfe378dc6fc8380f5b1e96832f019a5d"><code>5b95efb</code></a>
fix(reporter): <code>agent</code> to respect <code>--silent</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11271">#11271</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/f58a209779ffd3007006481d0c9da0099d5226e6"><code>f58a209</code></a>
docs: correct benchmark.exclude and watch defaults (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11268">#11268</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/d1c3ecc932dcb4cd50420c54aa1f7fa3051deac7"><code>d1c3ecc</code></a>
fix(jsdom): fix <code>Request</code> with <code>Blob</code> body on
jsdom 28+ (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11295">#11295</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.0.2/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />

Updates `@types/node` from 26.6.2 to 26.6.3
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `vitest` from 5.0.1 to 5.0.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.2</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Bind <code>process</code> in case global is overwritten  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11343">vitest-dev/vitest#11343</a>
<a href="https://github.com/vitest-dev/vitest/commit/0b79231ad"><!-- raw
HTML omitted -->(0b792)<!-- raw HTML omitted --></a></li>
<li><strong>detect-async-leaks</strong>:
<ul>
<li>Ignore <code>process.stdio</code> handles  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11333">vitest-dev/vitest#11333</a>
<a href="https://github.com/vitest-dev/vitest/commit/0fd6b9790"><!-- raw
HTML omitted -->(0fd6b)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>expect</strong>:
<ul>
<li>Fix <code>toMatchObject</code> with asymmetric matchers  -  by <a
href="https://github.com/ShreeBohara"><code>@​ShreeBohara</code></a>,
<strong>Claude Opus 5</strong>, <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex (GPT-5)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11100">vitest-dev/vitest#11100</a>
<a href="https://github.com/vitest-dev/vitest/commit/42523289e"><!-- raw
HTML omitted -->(42523)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>jsdom</strong>:
<ul>
<li>Fix <code>Request</code> with <code>Blob</code> body on jsdom 28+
 -  by <a
href="https://github.com/harshit-d3v"><code>@​harshit-d3v</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11295">vitest-dev/vitest#11295</a>
<a href="https://github.com/vitest-dev/vitest/commit/d1c3ecc93"><!-- raw
HTML omitted -->(d1c3e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>reporter</strong>:
<ul>
<li><code>agent</code> to respect <code>--silent</code>  -  by <a
href="https://github.com/Raj4478"><code>@​Raj4478</code></a> and <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11271">vitest-dev/vitest#11271</a>
<a href="https://github.com/vitest-dev/vitest/commit/5b95efb6d"><!-- raw
HTML omitted -->(5b95e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>reporters</strong>:
<ul>
<li>Handle concurrent <code>createReport</code> calls  -  by <a
href="https://github.com/7rulnik"><code>@​7rulnik</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11278">vitest-dev/vitest#11278</a>
<a href="https://github.com/vitest-dev/vitest/commit/e8e556ff7"><!-- raw
HTML omitted -->(e8e55)<!-- raw HTML omitted --></a></li>
<li><code>hanging-process</code> to use ESM entrypoint  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11316">vitest-dev/vitest#11316</a>
<a href="https://github.com/vitest-dev/vitest/commit/4e91e5668"><!-- raw
HTML omitted -->(4e91e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>spy</strong>:
<ul>
<li>Fix stack overflow when spying <code>Set.prototype.add</code>  -  by
<a href="https://github.com/fengmk2"><code>@​fengmk2</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11299">vitest-dev/vitest#11299</a>
<a href="https://github.com/vitest-dev/vitest/commit/a0a939653"><!-- raw
HTML omitted -->(a0a93)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>ui</strong>:
<ul>
<li>Persist authentication cookie beyond current browser session  -  by
<a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>OpenCode
(gpt-5.6-sol)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11066">vitest-dev/vitest#11066</a>
<a href="https://github.com/vitest-dev/vitest/commit/f88195e16"><!-- raw
HTML omitted -->(f8819)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v5.0.1...v5.0.2">View
changes on GitHub</a></h5>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/428e2e5043c64635b6b157358bde2fdeaa7b6b3a"><code>428e2e5</code></a>
chore: release v5.0.2 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11357">#11357</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/0b79231ad7897f03de17940ef16684b63aa217fe"><code>0b79231</code></a>
fix: bind <code>process</code> in case global is overwritten (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11343">#11343</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/597df569aba3e8b24c9ad231aacd3cf641ac3bdf"><code>597df56</code></a>
docs: correct stale config defaults (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11354">#11354</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/ea1c44fb581978421f9f0901ce8c635970ea72fb"><code>ea1c44f</code></a>
docs: <code>sequence.setupFiles</code> default is <code>'list'</code>
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11351">#11351</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/0fd6b97902bc828d489385e0a28b82515f57b7cf"><code>0fd6b97</code></a>
fix(detect-async-leaks): ignore <code>process.stdio</code> handles (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11333">#11333</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/4e91e56687de43427fbb664d86a63438ca73b681"><code>4e91e56</code></a>
fix(reporters): <code>hanging-process</code> to use ESM entrypoint (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11316">#11316</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/1a57929a49fb6fb2db02b47e56c4677ca5ae1704"><code>1a57929</code></a>
docs(browser): fix locators.exact default (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11338">#11338</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/5b95efb6dfe378dc6fc8380f5b1e96832f019a5d"><code>5b95efb</code></a>
fix(reporter): <code>agent</code> to respect <code>--silent</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11271">#11271</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/f58a209779ffd3007006481d0c9da0099d5226e6"><code>f58a209</code></a>
docs: correct benchmark.exclude and watch defaults (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11268">#11268</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/d1c3ecc932dcb4cd50420c54aa1f7fa3051deac7"><code>d1c3ecc</code></a>
fix(jsdom): fix <code>Request</code> with <code>Blob</code> body on
jsdom 28+ (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11295">#11295</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.0.2/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />

Updates `@ai-sdk/anthropic` from 4.0.58 to 4.0.66
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vercel/ai/blob/main/packages/anthropic/CHANGELOG.md">@​ai-sdk/anthropic's
changelog</a>.</em></p>
<blockquote>
<h2>4.0.66</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies [e3605f6]</li>
<li>Updated dependencies [525efc5]
<ul>
<li><code>@​ai-sdk/provider-utils</code><a
href="https://github.com/5"><code>@​5</code></a>.0.50</li>
<li><code>@​ai-sdk/provider</code><a
href="https://github.com/4"><code>@​4</code></a>.0.19</li>
</ul>
</li>
</ul>
<h2>4.0.65</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies [af9597b]</li>
<li>Updated dependencies [bc49f78]
<ul>
<li><code>@​ai-sdk/provider-utils</code><a
href="https://github.com/5"><code>@​5</code></a>.0.49</li>
</ul>
</li>
</ul>
<h2>4.0.64</h2>
<h3>Patch Changes</h3>
<ul>
<li>67f8000: Preserve effort updates on empty system messages at the
beginning of a conversation, including consecutive updates.</li>
<li>Updated dependencies [be877ff]
<ul>
<li><code>@​ai-sdk/provider-utils</code><a
href="https://github.com/5"><code>@​5</code></a>.0.48</li>
</ul>
</li>
</ul>
<h2>4.0.63</h2>
<h3>Patch Changes</h3>
<ul>
<li>154221f: feat(anthropic): support on-demand compaction and preserve
signed compaction blocks</li>
</ul>
<h2>4.0.62</h2>
<h3>Patch Changes</h3>
<ul>
<li>771e74b: chore: enable dead code lint rules</li>
<li>Updated dependencies [fe07867]</li>
<li>Updated dependencies [a4b0940]</li>
<li>Updated dependencies [771e74b]
<ul>
<li><code>@​ai-sdk/provider-utils</code><a
href="https://github.com/5"><code>@​5</code></a>.0.47</li>
</ul>
</li>
</ul>
<h2>4.0.61</h2>
<h3>Patch Changes</h3>
<ul>
<li>3733d6e: fix(anthropic): omit empty compaction blocks from
replay</li>
<li>Updated dependencies [ffb0e76]
<ul>
<li><code>@​ai-sdk/provider</code><a
href="https://github.com/4"><code>@​4</code></a>.0.18</li>
<li><code>@​ai-sdk/provider-utils</code><a
href="https://github.com/5"><code>@​5</code></a>.0.46</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vercel/ai/commit/20ad146f3c1177375639f8ba96b4bc5be4a729b1"><code>20ad146</code></a>
Version Packages (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/anthropic/issues/21569">#21569</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/ee3169b3c4880e2abe4d0d7c781243bb81822ec4"><code>ee3169b</c...

_Description has been truncated_

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-01 14:24:43 -05:00
Shubham Srivastava b7156714ac fix(sdk): keep tool names on Vercel tool-result parts through the OpenAI round trip (#3883)
## Description

`openAIToVercel()` emits every `tool-result` part with `toolName:
"unknown"`, because an OpenAI `tool` message only carries the
`tool_call_id`. So after any successful compression through
`headroomMiddleware()` / `compressVercelMessages()`, every tool result
in the prompt reaches the AI SDK provider with the wrong tool name.

That is not cosmetic for providers that put the name on the wire. In the
AI SDK source, `packages/google/src/convert-to-google-messages.ts`
builds `functionResponse: { name: toolName, … }` and
`packages/mistral/src/convert-to-mistral-chat-messages.ts` sends `name:
part.toolName` — both receive `"unknown"` today, which no longer matches
the preceding function call.

The name is recoverable: the assistant message that precedes the tool
result carries `tool_calls[].function.name` for the same id. This
records the `id → name` mapping while converting and uses it for the
matching `tool-result`, keeping `"unknown"` only as the fallback when no
call matches (the existing lone-tool-message test stays valid
unchanged).

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Performance improvement
- [ ] Code refactoring (no functional changes)

## Changes Made

- **`sdk/typescript/src/utils/format.ts`** — `openAIToVercel`: a
`toolNames` map filled from each assistant `tool_calls` entry as it is
converted; the `tool-result` part uses `toolNames.get(msg.tool_call_id)
?? "unknown"`. Three lines net.
- **`sdk/typescript/test/utils/format.test.ts`** — `openAIToVercel`
carries the name from the matching tool-call onto the tool-result; a
Vercel → OpenAI → Vercel round trip preserves `toolName`.
- **`sdk/typescript/test/adapters/vercel-ai.test.ts`** —
`compressVercelMessages` keeps tool names on tool-result parts after a
(mocked) compression that returns the assistant tool call and the tool
message.

## Testing

- [x] Unit tests pass (`npm test` — vitest, incl. typecheck)
- [x] Type checking passes (`npm run typecheck` — tsc --noEmit)
- [x] Build passes (`npm run build` — tsup)
- [x] New tests added for new functionality
- [x] Manual testing performed

### Test Output

```text
$ cd sdk/typescript && npx vitest run test/utils/format.test.ts test/adapters/vercel-ai.test.ts
 Test Files  2 passed (2)
      Tests  47 passed (47)

$ npm test                       # full suite
 Test Files  19 passed | 5 skipped (24)
      Tests  337 passed | 33 skipped (370)
Type Errors  no errors

$ npm run typecheck              # tsc --noEmit
(clean, no errors)

$ npm run build                  # tsup
CJS / ESM / DTS Build success
```

## Real Behavior Proof

- Environment: macOS (Apple silicon), Node v22.16.0, npm 10.9.2; `cd
sdk/typescript && npm ci`.
- Exact command / steps: a `node --input-type=module` script calling the
built `toOpenAI` / `fromOpenAI` from `dist/index.js` on `main` with a
user → assistant `tool-call` (`getWeather`) → `tool-result`
conversation; then the three new tests on `main` and on this branch;
then `npm test`, `npm run typecheck`, `npm run build`.
- Observed result: On `main` the round-tripped tool-result part is `{
"type": "tool-result", "toolCallId": "call_1", "toolName": "unknown", …
}` while the tool-call part keeps `"getWeather"`; the three new tests
fail with `Expected: "getWeather" / Received: "unknown"`. With the
change they pass and the round trip yields `toolName: "getWeather"`;
full suite 337 passed | 33 skipped; typecheck and build clean.
- Not tested: a live provider call. The conversion is pure; the AI SDK
provider code cited above is what consumes the name.

## Runtime Rollout Safety

- Rollout-managed feature(s): None. Client-side TypeScript SDK
conversion fix; no server/runtime feature flag or rollout channel
involved.
- Minimum rollout channel: N/A.
- Stable/default behavior changed: Only the buggy path — tool-result
parts now carry the real tool name when the matching tool call is
present; everything else is byte-identical, and the `"unknown"` fallback
is unchanged for unmatched results.
- Kill switch / disable path: N/A — correctness fix, not a gated
feature.
- Unsafe override required: No.
- Qualification impact: None — existing conversion tests unchanged and
green.
- Rollback path: Revert this PR; no persisted state, migrations, or
config to unwind.

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] I did **not** edit `CHANGELOG.md` — it is generated by
release-please from my Conventional Commit PR title (a CI guard enforces
this)

## Screenshots (if applicable)

N/A

## Additional Notes

- A tool result whose matching assistant call was compressed away (or
never present) still gets `"unknown"`; recovering a name in that case is
impossible from the OpenAI shape and out of scope.
- CHANGELOG left untouched — the `no-manual-changelog` CI guard owns it;
the Conventional Commit title drives the entry.
2026-09-30 09:27:09 -05:00
f88c10df6a test(sdk): update the compress() type assertion for the per-call config option (#3796)
## Description

`npm test` in `sdk/typescript` is red on `main` after two PRs that
merged within minutes of each other on 2026-09-24:

- #3424 (merged 21:59 UTC) turned the previously dormant `expectTypeOf`
checks in `test/types.test-d.ts` into enforced ones, and corrected the
`HeadroomClientInterface["compress"]` parameters assertion to `{ model?:
string; tokenBudget?: number }` — the signature at the time.
- #3370 (merged 22:06 UTC) widened that same signature to `{ model?:
string; tokenBudget?: number; config?: CompressRequestConfig }`.

Neither branch contained the other, so the assertion #3424 enforces now
fails against the signature #3370 shipped:

```text
FAIL  test/types.test-d.ts:177 > HeadroomClientInterface > compress accepts messages and optional options
Tests  1 failed | 331 passed | 33 skipped (365)
```

No CI job runs the SDK's vitest suite, so nothing flagged it. This adds
the `config?: CompressRequestConfig` key to the assertion so it matches
the interface as shipped. Test-only; no source change.

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Performance improvement
- [x] Code refactoring (no functional changes) — test-only correction

## Changes Made

- **`sdk/typescript/test/types.test-d.ts`** — the `compress accepts
messages and optional options` assertion now expects `[OpenAIMessage[],
({ model?: string; tokenBudget?: number; config?: CompressRequestConfig
} | undefined)?]`; `CompressRequestConfig` is imported from
`../src/types/config.js`. Nothing else changes (+5 / −1).

## Testing

- [x] Unit tests pass (`npm test` — vitest, incl. typecheck)
- [x] Type checking passes (`npm run typecheck` — tsc --noEmit)
- [x] Build passes (`npm run build` — tsup)
- [ ] New tests added for new functionality (existing assertion
corrected)
- [x] Manual testing performed

### Test Output

```text
$ cd sdk/typescript && npx vitest run test/types.test-d.ts     # on main (e64b9f58)
 FAIL  test/types.test-d.ts:177 > HeadroomClientInterface > compress accepts messages and optional options
      Tests  1 failed | 25 passed (26)

$ npx vitest run test/types.test-d.ts                           # with this change
      Tests  26 passed (26)
Type Errors  no errors

$ npm test                                                      # full suite, with this change
 Test Files  19 passed | 5 skipped (24)
      Tests  332 passed | 33 skipped (365)
Type Errors  no errors

$ npm run typecheck   # tsc --noEmit
(clean, no errors)

$ npm run build       # tsup
CJS / ESM / DTS Build success
```

## Real Behavior Proof

- Environment: macOS (Apple silicon), Node v22.16.0, npm 10.9.2; `cd
sdk/typescript && npm ci`.
- Exact command / steps: `npx vitest run test/types.test-d.ts` on `main`
and on this branch; negative probe: temporarily remove `config?:
CompressRequestConfig` from `HeadroomClientInterface.compress` in
`src/types.ts` and re-run; restore; then `npm test`, `npm run
typecheck`, `npm run build`.
- Observed result: On `main` the assertion fails (1 failed | 25 passed).
With the corrected assertion: 26 passed, no type errors. Negative probe:
with `config` removed from the interface the corrected assertion fails
again (`FAIL test/types.test-d.ts:178 … compress accepts messages and
optional options`), so it guards the real signature; restoring the
interface returns it to green. Full suite 332 passed | 33 skipped, 0
failed; typecheck and build clean.
- Not tested: N/A — test-only change, no runtime code path.

## Runtime Rollout Safety

- Rollout-managed feature(s): None. Test-only change in the TypeScript
SDK.
- Minimum rollout channel: N/A.
- Stable/default behavior changed: No. No shipped code changes; the
assertion is aligned with the signature already on `main`.
- Kill switch / disable path: N/A.
- Unsafe override required: No.
- Qualification impact: None — restores a green `npm test` on `main`.
- Rollback path: Revert this PR; no persisted state.

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] I did **not** edit `CHANGELOG.md` — it is generated by
release-please from my Conventional Commit PR title (a CI guard enforces
this)

## Screenshots (if applicable)

N/A

## Additional Notes

- Both PRs involved are mine, hence the prompt follow-up.
- The root cause is structural: there is no CI job running
`sdk/typescript`'s vitest suite, so two individually green PRs can
combine into a red `main` without anyone noticing. Adding a path-gated
`npm test` job for the SDK would prevent a repeat; happy to open that as
a separate PR if wanted.
- CHANGELOG left untouched — the `no-manual-changelog` CI guard owns it.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: JD Davis <mxjerrett@gmail.com>
2026-09-29 16:26:05 -05:00
2e4a60ae37 fix(sdk): stop JSON-wrapping structured tool_result content in the Anthropic adapter (#3797)
## Description

`withHeadroom()` for the Anthropic SDK
(`sdk/typescript/src/adapters/anthropic.ts`) carried its own private
copies of the Anthropic ⇄ OpenAI message converters instead of using the
exported ones in `sdk/typescript/src/utils/format.ts`. The two copies
had drifted. For a `tool_result` block whose `content` is an **array of
blocks** (the documented Anthropic form, and the required one whenever a
tool returns more than a plain string), the adapter's copy serialised
the whole array with `JSON.stringify`, while the shared converter
flattens it to newline-joined text.

So a wrapped `messages.create()` sent the proxy a tool message whose
content was `[{"type":"text","text":"row 1"},{"type":"text","text":"row
2"}]` instead of `row 1\nrow 2`. The compressor then works on a
JSON-escaped blob rather than the tool's actual output (defeating the
content detectors for logs, tables, etc.), and after compression the
model receives the JSON-wrapped text as the tool result.

This removes the private copies and imports the shared converters, so
the adapter behaves exactly like the universal `compress()` path does
for Anthropic input. Net effect: −179 lines in the adapter, one import
added; the wrapper's flow (convert → compress → convert back →
`messages.create`) is unchanged. This is the de-duplication left as a
follow-up in #3439.

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Performance improvement
- [ ] Code refactoring (no functional changes)

## Changes Made

- **`sdk/typescript/src/adapters/anthropic.ts`** — delete the private
`anthropicImageUrl`, `openAIImageBlock`, `anthropicToOpenAI` and
`openAIToAnthropic`; import `anthropicToOpenAI` / `openAIToAnthropic`
from `../utils/format.js`; drop the now-unused `OpenAIMessage`,
`AssistantMessage`, `ToolCall` type imports. `withHeadroom` itself is
untouched (file goes from 252 to 73 lines).
- **`sdk/typescript/test/adapters/anthropic.test.ts`** — new test: an
array-content `tool_result` reaches `/v1/compress` as `{ role: "tool",
content: "row 1\nrow 2", tool_call_id }`. Fails on `main`.
- **`sdk/typescript/test/utils/format.test.ts`** — characterisation test
pinning the shared `anthropicToOpenAI` flattening that the adapter now
relies on (passes on `main`; that branch of the shared converter was
previously untested).

Behaviour differences on the adapter path, both bringing it in line with
the shared converter:
1. Array-content `tool_result` → newline-joined text instead of a JSON
string (**the fix**).
2. A `tool_use.input` given as a string is passed through as the OpenAI
`arguments` instead of being re-`JSON.stringify`ed. Anthropic defines
`input` as an object, so this cannot affect a valid request.

Everything else (string and text-only turns, images including the #3439
round trip, object `tool_use` inputs, system/tool role mapping) is
byte-identical between the two copies, so no other behaviour changes.

## Testing

- [x] Unit tests pass (`npm test` — vitest, incl. typecheck)
- [x] Type checking passes (`npm run typecheck` — tsc --noEmit)
- [x] Build passes (`npm run build` — tsup)
- [x] New tests added for new functionality
- [x] Manual testing performed

### Test Output

```text
$ cd sdk/typescript && npx vitest run test/adapters/anthropic.test.ts
 Test Files  1 passed (1)
      Tests  10 passed (10)

$ npx vitest run test/utils/format.test.ts
 Test Files  1 passed (1)
      Tests  34 passed (34)

$ npm test                       # full suite
 Test Files  1 failed | 18 passed | 5 skipped (24)
      Tests  1 failed | 333 passed | 33 skipped (367)
# The one failure is test/types.test-d.ts:177 and is pre-existing on main: #3424's
# enforced `compress` parameters assertion predates the `config` option #3370 added
# to the interface. Fixed separately in #3796.

$ npm run typecheck              # tsc --noEmit
(clean, no errors)

$ npm run build                  # tsup
CJS / ESM / DTS Build success
```

## Real Behavior Proof

- Environment: macOS (Apple silicon), Node v22.16.0, npm 10.9.2; `cd
sdk/typescript && npm ci`.
- Exact command / steps: `npx vitest run
test/adapters/anthropic.test.ts` with the new test on `main` and on this
branch; then `npm test`, `npm run typecheck`, `npm run build`.
- Observed result: On `main` the new test fails — the `/v1/compress`
request carries the tool message content as
`"[{\"type\":\"text\",\"text\":\"row
1\"},{\"type\":\"text\",\"text\":\"row 2\"}]"` where `"row 1\nrow 2"` is
expected. With the change it passes and the request body carries `{
role: "tool", content: "row 1\nrow 2", tool_call_id: "tu_1" }`. Full
suite 333 passed (the single remaining failure is the pre-existing type
assertion noted above); typecheck and build clean.
- Not tested: a live proxy round trip. The conversion is pure and
covered by the unit tests; the proxy consumes standard OpenAI-format
messages either way.

## Runtime Rollout Safety

- Rollout-managed feature(s): None. Client-side TypeScript SDK adapter
fix; no server/runtime feature flag or rollout channel involved.
- Minimum rollout channel: N/A.
- Stable/default behavior changed: Only the buggy path — array-content
tool results are now sent to the proxy as text instead of a JSON string.
Text-only, image and object-`tool_use` conversions are unchanged.
- Kill switch / disable path: N/A — correctness fix, not a gated
feature.
- Unsafe override required: No.
- Qualification impact: None — the adapter now uses the converter
already exercised by the universal `compress()` tests.
- Rollback path: Revert this PR; no persisted state, migrations, or
config to unwind.

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] I did **not** edit `CHANGELOG.md` — it is generated by
release-please from my Conventional Commit PR title (a CI guard enforces
this)

## Screenshots (if applicable)

N/A

## Additional Notes

- Pure deletion plus one import; the shared converters gained no new
code and no other adapter is touched.
- Out of scope (pre-existing in both copies): non-text blocks *inside* a
`tool_result` (e.g. images returned by a tool) are JSON-stringified by
the shared converter. A follow-up could map them to image parts the way
#3439 did for user turns.
- CHANGELOG left untouched — the `no-manual-changelog` CI guard owns it;
the Conventional Commit title drives the entry.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: JD Davis <mxjerrett@gmail.com>
2026-09-29 16:22:06 -05:00
JD Davisandgithub-actions[bot] d13e1966f8 chore: release 0.39.1 (#3807)
🤖 I have created a release *beep* *boop*
---


##
[0.39.1](https://github.com/headroomlabs-ai/headroom/compare/v0.39.0...v0.39.1)
(2026-09-26)


### Bug Fixes

* **proxy:** stop the 0.39.0 TPM limiter from refusing large-context
requests forever
([#3806](https://github.com/headroomlabs-ai/headroom/issues/3806))
([7968122](https://github.com/headroomlabs-ai/headroom/commit/7968122658c31c06ef3e5b1fe7911c8cb0a79ade))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-26 15:31:25 -05:00
JD Davisandgithub-actions[bot] 66f426171b chore: release 0.39.0 (#3713)
🤖 I have created a release *beep* *boop*
---


##
[0.39.0](https://github.com/headroomlabs-ai/headroom/compare/v0.38.0...v0.39.0)
(2026-09-25)


### Features

* **compression:** describe what CCR compression dropped, not just how
much ([#3635](https://github.com/headroomlabs-ai/headroom/issues/3635))
([62d1cc0](https://github.com/headroomlabs-ai/headroom/commit/62d1cc08b10c3e397875d82a33e500ce9a6b44e7))
* **hooks:** add protect_messages, a hard per-message compression veto
([#3772](https://github.com/headroomlabs-ai/headroom/issues/3772))
([d17ac6a](https://github.com/headroomlabs-ai/headroom/commit/d17ac6a174d9617951ca6eff4646da4c19f83922))
* **opencode:** exclude hosts from transport plugin routing
([#3668](https://github.com/headroomlabs-ai/headroom/issues/3668))
([0024b57](https://github.com/headroomlabs-ai/headroom/commit/0024b57405ee0b9b622c7ef5e18bde1657d4a142))
* **proxy:** let /transformations/feed omit message bodies for
number-only pollers
([#3672](https://github.com/headroomlabs-ai/headroom/issues/3672))
([46ac52d](https://github.com/headroomlabs-ai/headroom/commit/46ac52d39d6d7fc275dc24c7788bca5acfbcde31))
* **savings:** carry exact cache-read cost in history rollups
([#3734](https://github.com/headroomlabs-ai/headroom/issues/3734))
([1cb779e](https://github.com/headroomlabs-ai/headroom/commit/1cb779e1bcaebad4cba113bf2106bcd9825bef40))
* **savings:** show the new-input savings basis beside the whole-wire
figure
([#3485](https://github.com/headroomlabs-ai/headroom/issues/3485))
([e92cccc](https://github.com/headroomlabs-ai/headroom/commit/e92cccca00fa53f27d4a04b5ec244cc105e60caa))
* **savings:** track lifetime output spend so a bill-share rate has a
denominator
([#3520](https://github.com/headroomlabs-ai/headroom/issues/3520))
([c766bdb](https://github.com/headroomlabs-ai/headroom/commit/c766bdb2b36199dedb081963a74a77652e633c98))
* **sdk:** support per-call config override in compress()
([#3370](https://github.com/headroomlabs-ai/headroom/issues/3370))
([c3e8a1e](https://github.com/headroomlabs-ai/headroom/commit/c3e8a1ee63f8a2fec25a2f1b507413dd1f50faf7))
* **wrap:** support 1m context in vscode claude
([#3361](https://github.com/headroomlabs-ai/headroom/issues/3361))
([fc5a09e](https://github.com/headroomlabs-ai/headroom/commit/fc5a09e1b3daa9e434b27f5f3160f8d1d56a4896))


### Bug Fixes

* **anthropic:** reject ping-only SSE from buffered CCR
([#3682](https://github.com/headroomlabs-ai/headroom/issues/3682))
([000fefc](https://github.com/headroomlabs-ai/headroom/commit/000fefceaa26223ee95e8f9deb58bfc1854275ec))
* **anthropic:** stop the spurious compaction warning and drop dead
handler code
([#3678](https://github.com/headroomlabs-ai/headroom/issues/3678))
([6e71267](https://github.com/headroomlabs-ai/headroom/commit/6e712672cb5cc298772c8edd0e4480da53853f99))
* **backends/litellm:** stop dropping image blocks from /v1/messages
requests
([#3753](https://github.com/headroomlabs-ai/headroom/issues/3753))
([577336d](https://github.com/headroomlabs-ai/headroom/commit/577336d2b66ab0d08cd28c408e2244dca15a3bbc))
* **binaries:** fail closed when a download carries no sha256 pin
([#3724](https://github.com/headroomlabs-ai/headroom/issues/3724))
([26a2c49](https://github.com/headroomlabs-ai/headroom/commit/26a2c4939c408bf6a0b7b20f3671378fc5cd61f6))
* **cache/google:** tolerate timezone-aware cache expiry timestamps
([#3210](https://github.com/headroomlabs-ai/headroom/issues/3210))
([7ce2580](https://github.com/headroomlabs-ai/headroom/commit/7ce2580ff95c5943d9e68e2d1d6cd89e1abd9bdc))
* **cache:** default CCR payload previews off; harden the log when they
are on
([#3728](https://github.com/headroomlabs-ai/headroom/issues/3728))
([5cb87bc](https://github.com/headroomlabs-ai/headroom/commit/5cb87bc3516fc7c1a2ba6bde8aa6a0337c6437c9))
* **cache:** never batch-compress already-forwarded small Responses
outputs in cache mode
([#3756](https://github.com/headroomlabs-ai/headroom/issues/3756))
([ab62b9e](https://github.com/headroomlabs-ai/headroom/commit/ab62b9e0ad95494793b91c6317e122ebc8d18709))
* **cache:** preserve cache_control schema properties
([#3348](https://github.com/headroomlabs-ai/headroom/issues/3348))
([b84c4c9](https://github.com/headroomlabs-ai/headroom/commit/b84c4c9f7164fae8e1e74e419af026ad37c2869e))
* **cache:** preserve the forwarded OpenAI chat prefix across turns
([#3757](https://github.com/headroomlabs-ai/headroom/issues/3757))
([deca575](https://github.com/headroomlabs-ai/headroom/commit/deca575c63ec2c09b3e465229c2cd674b29299d9))
* **cache:** stop prefix transforms from busting the provider cache
([#3735](https://github.com/headroomlabs-ai/headroom/issues/3735))
([a2bf5ed](https://github.com/headroomlabs-ai/headroom/commit/a2bf5ed1ba456303173d35611e3844909a2614db))
* **cache:** stop skipping tool compaction on a pinned tools array
([#3750](https://github.com/headroomlabs-ai/headroom/issues/3750))
([a6a9cef](https://github.com/headroomlabs-ai/headroom/commit/a6a9cef9458e2e07c8222d76714e540a7de68ac4))
* **cli:** keep non-ASCII working directory names out of the init
profile slug
([#3718](https://github.com/headroomlabs-ai/headroom/issues/3718))
([f3d95ee](https://github.com/headroomlabs-ai/headroom/commit/f3d95ee275a33631d37f03b16a8c64c87787a064))
* **cli:** report anonymous beacon status accurately in the banner, log,
and /stats
([#3533](https://github.com/headroomlabs-ai/headroom/issues/3533))
([fa9edb3](https://github.com/headroomlabs-ai/headroom/commit/fa9edb3a2989a06323c1471131c8570425e45497))
* **content_detector:** detect CMTrace (SCCM/Intune) logs as
BUILD_OUTPUT
([#3712](https://github.com/headroomlabs-ai/headroom/issues/3712))
([6feb1fb](https://github.com/headroomlabs-ai/headroom/commit/6feb1fb22a3977f173d115285468e9ec1e8af39f))
* **dashboard:** separate rolling cache economics by owner
([#3319](https://github.com/headroomlabs-ai/headroom/issues/3319))
([a29162b](https://github.com/headroomlabs-ai/headroom/commit/a29162baa674f3c210d074c1f0d1a0b589538b7d)),
closes [#960](https://github.com/headroomlabs-ai/headroom/issues/960)
* **docker:** support OpenCode in native wrapper
([#3547](https://github.com/headroomlabs-ai/headroom/issues/3547))
([d90dadf](https://github.com/headroomlabs-ai/headroom/commit/d90dadf2668ac3b4f9706d45aa04b39f9dabac79))
* fall back for non-admin Windows task installs
([#3437](https://github.com/headroomlabs-ai/headroom/issues/3437))
([b958509](https://github.com/headroomlabs-ai/headroom/commit/b95850945270678bd1a1ed555149dc45be8e878e))
* **graph:** fetch and extract the zip codebase-memory-mcp asset on
Windows
([#3730](https://github.com/headroomlabs-ai/headroom/issues/3730))
([b776983](https://github.com/headroomlabs-ai/headroom/commit/b7769831282a5e67ec3a331f26e77d823decdeb6))
* **grok:** preserve xAI model context metadata
([#3312](https://github.com/headroomlabs-ai/headroom/issues/3312))
([#3315](https://github.com/headroomlabs-ai/headroom/issues/3315))
([c81378c](https://github.com/headroomlabs-ai/headroom/commit/c81378c878121d6bcf144c89ba8c07029e86baea))
* **init:** raise the ensure hook's timeout above cold-start latency
([#3438](https://github.com/headroomlabs-ai/headroom/issues/3438))
([9a11109](https://github.com/headroomlabs-ai/headroom/commit/9a1110997a1387394844993a07a3674a8a09f288))
* **install:** apply managed env vars added after a deployment was
installed
([#3740](https://github.com/headroomlabs-ai/headroom/issues/3740))
([a4cb2bc](https://github.com/headroomlabs-ai/headroom/commit/a4cb2bc02144d4bb6d8213c71f66ee039d03ae15))
* **install:** wait for the old process to stop before restarting
([#3670](https://github.com/headroomlabs-ai/headroom/issues/3670))
([11c7320](https://github.com/headroomlabs-ai/headroom/commit/11c7320bbcc45033238a7a804aaf515ea276bfed))
* **kompress:** bound the inference deadline to the request, not each
block ([#3693](https://github.com/headroomlabs-ai/headroom/issues/3693))
([7f2766c](https://github.com/headroomlabs-ai/headroom/commit/7f2766ca4beb9270ce35aa4f18aa01ef7ae3698a))
* **kompress:** keep the boolean connectives that hold a condition
together
([#3687](https://github.com/headroomlabs-ai/headroom/issues/3687))
([bf290ba](https://github.com/headroomlabs-ai/headroom/commit/bf290ba9a9de3a6af62fe3aa4bd8dacc8d9e2b92))
* **learn:** treat an unreadable project memory dir as absent instead of
crashing
([#3710](https://github.com/headroomlabs-ai/headroom/issues/3710))
([ff60d57](https://github.com/headroomlabs-ai/headroom/commit/ff60d5764c6499fe6453a475a6f26647fd87a508))
* **mcp:** accept an empty install ledger instead of failing mutations
as malformed
([#3235](https://github.com/headroomlabs-ai/headroom/issues/3235))
([19ddfe1](https://github.com/headroomlabs-ai/headroom/commit/19ddfe1a56ec7cbd48e595686f650e1d57469e4e))
* **memory/graph:** apply relation_type filter to both sides of a BOTH
subgraph query
([#3236](https://github.com/headroomlabs-ai/headroom/issues/3236))
([1a6f941](https://github.com/headroomlabs-ai/headroom/commit/1a6f941908038c696987a3f1a159f64e3145fae0))
* **memory:** fail closed for unresolved tools
([#3655](https://github.com/headroomlabs-ai/headroom/issues/3655))
([7c3cbc8](https://github.com/headroomlabs-ai/headroom/commit/7c3cbc824c1b584274450a90ea406072faa94f61))
* **memory:** make extract_system_prompt concatenative, not first-match
([#3644](https://github.com/headroomlabs-ai/headroom/issues/3644))
([3f3cf19](https://github.com/headroomlabs-ai/headroom/commit/3f3cf19e1a68313e949a3dd178aed2fafa050ed6))
* **memory:** tolerate None message content in inline memory parser
([#3211](https://github.com/headroomlabs-ai/headroom/issues/3211))
([5ccec67](https://github.com/headroomlabs-ai/headroom/commit/5ccec67f0c3abfe57d52308ccbe1f93cb772eba4))
* **metrics:** split rate-limited by source and label failures by
provider
([#3707](https://github.com/headroomlabs-ai/headroom/issues/3707))
([5ff4ea1](https://github.com/headroomlabs-ai/headroom/commit/5ff4ea1ef948563304c9e8f4b9ccff0e2ae3aedd))
* **openclaw:** declare transcriptSemantics and implement commitTurn
([#3442](https://github.com/headroomlabs-ai/headroom/issues/3442))
([a28dd4e](https://github.com/headroomlabs-ai/headroom/commit/a28dd4eab70a8fd6f72e3752e4cf1e363fca344c))
* **perf:** make budget checks constant-time
([#3368](https://github.com/headroomlabs-ai/headroom/issues/3368))
([ed08069](https://github.com/headroomlabs-ai/headroom/commit/ed08069ba00d5335d39c1726b95b218ef55be919))
* **perf:** make rate limiter bucket checks constant-time
([#3373](https://github.com/headroomlabs-ai/headroom/issues/3373))
([a8bd9be](https://github.com/headroomlabs-ai/headroom/commit/a8bd9becb300ea5fe774a27d89ee8d84033186da))
* preserve null and empty strings in lossless CSV compaction
([#3665](https://github.com/headroomlabs-ai/headroom/issues/3665))
([7ad9f80](https://github.com/headroomlabs-ai/headroom/commit/7ad9f809fa1b4191937dea1c2e1a974eee2eefe8))
* **proxy:** admit container host gateway on compress routes
([#3715](https://github.com/headroomlabs-ai/headroom/issues/3715))
([a8ae0a6](https://github.com/headroomlabs-ai/headroom/commit/a8ae0a6fd5d6274c0eb9fa63ba57f24de05c1080))
* **proxy:** bound request-log message payloads to the feed window; trim
glibc too
([#3717](https://github.com/headroomlabs-ai/headroom/issues/3717))
([994a89f](https://github.com/headroomlabs-ai/headroom/commit/994a89f169d436f369ca97824c5518287669803a))
* **proxy:** count a ceiling-stopped stream exactly instead of
estimating its text
([#3771](https://github.com/headroomlabs-ai/headroom/issues/3771))
([b36e59a](https://github.com/headroomlabs-ai/headroom/commit/b36e59a89370f2ffddcd0cfc4068956da1248626))
* **proxy:** discard partial SSE tails during finalization
([#3411](https://github.com/headroomlabs-ai/headroom/issues/3411))
([6c0e817](https://github.com/headroomlabs-ai/headroom/commit/6c0e817bcc0a83e23a7030c3df6d313280bcb30a))
* **proxy:** enforce configured TPM limits
([#3350](https://github.com/headroomlabs-ai/headroom/issues/3350))
([138736c](https://github.com/headroomlabs-ai/headroom/commit/138736c96f2421dbf40bf0698bc2ae8d9527a80e))
* **proxy:** fall back when forced Kompress is cold
([#3381](https://github.com/headroomlabs-ai/headroom/issues/3381))
([ca54c2a](https://github.com/headroomlabs-ai/headroom/commit/ca54c2aba1809f9b19acfc2ef9a9dd13276f4f19))
* **proxy:** make the output shaper actually reduce output in the
default mode
([#3773](https://github.com/headroomlabs-ai/headroom/issues/3773))
([c029298](https://github.com/headroomlabs-ai/headroom/commit/c02929846cafa4b9bc68c9d2ef47f41a10a6989d))
* **proxy:** partition response cache by upstream
([#3349](https://github.com/headroomlabs-ai/headroom/issues/3349))
([dfdc725](https://github.com/headroomlabs-ai/headroom/commit/dfdc72511ef4dd7c1ddb1e6acf1735f1ba10d2e3))
* **proxy:** pin the validated address so DNS rebinding cannot move an
upstream
([#3731](https://github.com/headroomlabs-ai/headroom/issues/3731))
([a102e05](https://github.com/headroomlabs-ai/headroom/commit/a102e05b511297ba979963a506318ca7459e63e0))
* **proxy:** preserve Claude Code auto-mode protocol
([#3784](https://github.com/headroomlabs-ai/headroom/issues/3784))
([12c1579](https://github.com/headroomlabs-ai/headroom/commit/12c157966f3ec378d66c764757d5d55dfb2a16d1))
* **proxy:** preserve empty transport error context
([#3675](https://github.com/headroomlabs-ai/headroom/issues/3675))
([ca02f28](https://github.com/headroomlabs-ai/headroom/commit/ca02f28c674473e94e3089eda970c046dd6a2426))
* **proxy:** preserve OpenCode Headroom retrieve results
([#3782](https://github.com/headroomlabs-ai/headroom/issues/3782))
([c7ebaed](https://github.com/headroomlabs-ai/headroom/commit/c7ebaedd74b2146f41e1b86e27b46334df477ea2))
* **proxy:** protect Codex exec reads whose argument is a JavaScript
object literal
([#3737](https://github.com/headroomlabs-ai/headroom/issues/3737))
([ecb5e5a](https://github.com/headroomlabs-ai/headroom/commit/ecb5e5afea15493d43aa89db67a4e9e90de6cab1))
* **proxy:** reject Anthropic batch operations on Copilot
([#3318](https://github.com/headroomlabs-ai/headroom/issues/3318))
([871bbde](https://github.com/headroomlabs-ai/headroom/commit/871bbde37ae2bf181917a281efcbc6e6a99fb1e3))
* **proxy:** repair client-side tool_search tool_reference blocks
([#3443](https://github.com/headroomlabs-ai/headroom/issues/3443))
([f12e3fb](https://github.com/headroomlabs-ai/headroom/commit/f12e3fbeed523d2f3f81fc83c8a08b46fdc9111b))
* **proxy:** resolve Codex custom_tool_call names for Responses tool
exclusion
([#3755](https://github.com/headroomlabs-ai/headroom/issues/3755))
([55c78de](https://github.com/headroomlabs-ai/headroom/commit/55c78deaa8171234e705b4315fdde5df0156cbdb))
* **proxy:** restrict urlopen SSL context ALPN to http/1.1
([#3567](https://github.com/headroomlabs-ai/headroom/issues/3567))
([5baa439](https://github.com/headroomlabs-ai/headroom/commit/5baa439ebf4aae37358f7f0a5707912d1007dbbc))
* **proxy:** scope OpenAI rate limits by api-key
([#3365](https://github.com/headroomlabs-ai/headroom/issues/3365))
([b9e8462](https://github.com/headroomlabs-ai/headroom/commit/b9e8462a3a84af7c92fa288fd53bd2e0d46b2dd2))
* **proxy:** stamp x-headroom-* compression metrics on streaming
responses
([#3769](https://github.com/headroomlabs-ai/headroom/issues/3769))
([2c4dc44](https://github.com/headroomlabs-ai/headroom/commit/2c4dc446279ddaf89930e54385a2a27fc3aa20e0))
* remove deprecated Apache license classifier
([#3566](https://github.com/headroomlabs-ai/headroom/issues/3566))
([b2d9275](https://github.com/headroomlabs-ai/headroom/commit/b2d927532895d37721d54039a8a9d02a909cf09a))
* **savings:** report negative savings instead of flooring them at zero
([#3744](https://github.com/headroomlabs-ai/headroom/issues/3744))
([1455f00](https://github.com/headroomlabs-ai/headroom/commit/1455f0022220f9c526e20f9898e4d56d951ec379))
* **sdk:** enforce dormant public type tests
([#3424](https://github.com/headroomlabs-ai/headroom/issues/3424))
([95cbbb8](https://github.com/headroomlabs-ai/headroom/commit/95cbbb8158292cbdf04eb873c9e62f25946f77a2))
* **sdk:** preserve Anthropic image blocks in message conversion instead
of dropping the turn
([#3439](https://github.com/headroomlabs-ai/headroom/issues/3439))
([63676e6](https://github.com/headroomlabs-ai/headroom/commit/63676e6cff020047687af9c526c69ff1e135931d))
* **sdk:** preserve proxy authentication alongside provider credentials
([#3450](https://github.com/headroomlabs-ai/headroom/issues/3450))
([ca4b47a](https://github.com/headroomlabs-ai/headroom/commit/ca4b47a3fc63584bcbc8792da9b099435b430c67))
* **security:** create credential files private instead of narrowing
after write
([#3215](https://github.com/headroomlabs-ai/headroom/issues/3215))
([9b8cae8](https://github.com/headroomlabs-ai/headroom/commit/9b8cae844808ec67d43006e6785daa4c246d5dfb))
* **security:** reject unauthenticated public proxy binds
([#3316](https://github.com/headroomlabs-ai/headroom/issues/3316))
([b0c19a2](https://github.com/headroomlabs-ai/headroom/commit/b0c19a25f0e2adfd23031d5f0a37d842618c3203))
* **smart-crusher:** disclose dropped scalar-array items with a
retrievable ccr sentinel
([#3692](https://github.com/headroomlabs-ai/headroom/issues/3692))
([c1fc84a](https://github.com/headroomlabs-ai/headroom/commit/c1fc84ade6c80486b63d5e8220c08d90cb8938e6))
* **spreadsheet:** stop .xls integer rendering fabricating digits above
2^53 ([#3704](https://github.com/headroomlabs-ai/headroom/issues/3704))
([e8a5109](https://github.com/headroomlabs-ai/headroom/commit/e8a510982a1e9164b6c2c48e92eeade90dc24fcf))
* **spreadsheet:** stop inventing digits for .xls cells above 2**53
([#3700](https://github.com/headroomlabs-ai/headroom/issues/3700))
([1a7c5bb](https://github.com/headroomlabs-ai/headroom/commit/1a7c5bbf52aefb4ce950f6b4c8e7feac0c62315e))
* **tests:** ask litellm for a model it prices instead of naming a
retired one
([#3722](https://github.com/headroomlabs-ai/headroom/issues/3722))
([0ad5e68](https://github.com/headroomlabs-ai/headroom/commit/0ad5e68ca559b3fc2c82a230a577b1b4bfc77792))
* **tool-search:** detect every wire shape of client-side deferral
([#3746](https://github.com/headroomlabs-ai/headroom/issues/3746))
([665b73d](https://github.com/headroomlabs-ai/headroom/commit/665b73df1b256c4eb0c41e44e29c93211e35f5d4))
* **tool-search:** don't orphan deferred tools, and stop overstating the
saving
([#3739](https://github.com/headroomlabs-ai/headroom/issues/3739))
([85f9e01](https://github.com/headroomlabs-ai/headroom/commit/85f9e01d71c712ef071d64a54e3e1c57eb330147))
* **tool-search:** make the core-tools override authoritative and the
warning recurrent
([#3745](https://github.com/headroomlabs-ai/headroom/issues/3745))
([a9757c9](https://github.com/headroomlabs-ai/headroom/commit/a9757c9c7e0e50635c5bc82d59a543cc45cde7b2))
* **transforms:** detect fixed-width command output as tabular and keep
it out of Kompress
([#3786](https://github.com/headroomlabs-ai/headroom/issues/3786))
([6c9aef1](https://github.com/headroomlabs-ai/headroom/commit/6c9aef1dec71e99fa2872737de9842ce9fea284d))
* **transforms:** stop embedded JSON pre-pass short-circuiting HTML
extraction
([#3620](https://github.com/headroomlabs-ai/headroom/issues/3620))
([195910b](https://github.com/headroomlabs-ai/headroom/commit/195910b218da26a053b22101df119f4cb2889813))
* **transforms:** stop routing timestamped log rows as grep matches
([#3748](https://github.com/headroomlabs-ai/headroom/issues/3748))
([d971f7c](https://github.com/headroomlabs-ai/headroom/commit/d971f7c3983b05653ef1eb88539bbbbc3667eb67))
* **wrap:** handle SIGHUP on the shared proxy paths, not just `claude`
([#3331](https://github.com/headroomlabs-ai/headroom/issues/3331))
([c4df2dd](https://github.com/headroomlabs-ai/headroom/commit/c4df2dde62d0c8d527323b4f6985d57469ae594e))
* **wrap:** stop blocking the launch on the Serena pre-index
([#3557](https://github.com/headroomlabs-ai/headroom/issues/3557))
([df8ebdf](https://github.com/headroomlabs-ai/headroom/commit/df8ebdf97da68496ab514f321583a393b74243ea))


### Performance Improvements

* **cache:** drop eager full-backend TTL sweep on every new-key store()
([#3256](https://github.com/headroomlabs-ai/headroom/issues/3256))
([2fed685](https://github.com/headroomlabs-ai/headroom/commit/2fed685e77734efe234cc12da363d185d7922378))
* **cache:** LRU-bound the compression-feedback tool-pattern map
([#3342](https://github.com/headroomlabs-ai/headroom/issues/3342))
([2d10b10](https://github.com/headroomlabs-ai/headroom/commit/2d10b10ae47aa10682d94d7145b7b6204c2a9f70))
* **memory:** reindex FTS5 a page at a time instead of a record at a
time ([#3466](https://github.com/headroomlabs-ai/headroom/issues/3466))
([3e36aef](https://github.com/headroomlabs-ai/headroom/commit/3e36aefb432e69e7ce065c1efe7600f85909e7fc))
* **providers:** cache Google/Cohere token counters across requests
([#3273](https://github.com/headroomlabs-ai/headroom/issues/3273))
([cc6a07c](https://github.com/headroomlabs-ai/headroom/commit/cc6a07cd651abbd7552814414e90096e0c1bcdde))
* **relevance:** order BM25 query terms once, not once per document
([#3468](https://github.com/headroomlabs-ai/headroom/issues/3468))
([6880984](https://github.com/headroomlabs-ai/headroom/commit/6880984b4a96d29fd655354e7633b797c9f511b6))


### Dependencies

* bump dotenv from 17.4.2 to 18.0.1 in /sdk/typescript
([#3765](https://github.com/headroomlabs-ai/headroom/issues/3765))
([56edfbc](https://github.com/headroomlabs-ai/headroom/commit/56edfbc9312b3e16a505c5d82e9ce7d75ffb8a76))
* bump ruff from 0.16.7 to 0.16.8 in the pip-minor-patch group
([#3761](https://github.com/headroomlabs-ai/headroom/issues/3761))
([b9ded1a](https://github.com/headroomlabs-ai/headroom/commit/b9ded1ae5587751cfd10dd2254d73f7205ca58a2))
* bump the cargo-minor-patch group with 3 updates
([#3762](https://github.com/headroomlabs-ai/headroom/issues/3762))
([fbbe8b8](https://github.com/headroomlabs-ai/headroom/commit/fbbe8b8e99635fd9805b7ef7946fa00d615ab0a9))
* bump the npm-minor-patch group across 2 directories with 19 updates
([#3763](https://github.com/headroomlabs-ai/headroom/issues/3763))
([54357ff](https://github.com/headroomlabs-ai/headroom/commit/54357ff660a413dafa01594c54362de6e11ebb9f))
* bump the npm-minor-patch group across 3 directories with 9 updates
([#3764](https://github.com/headroomlabs-ai/headroom/issues/3764))
([6311332](https://github.com/headroomlabs-ai/headroom/commit/63113329cfe96dde5087fe0a2837eb543ed1391b))


### Code Refactoring

* **sdk:** route _fetch through rawFetch instead of duplicating it
([#3473](https://github.com/headroomlabs-ai/headroom/issues/3473))
([b2b5847](https://github.com/headroomlabs-ai/headroom/commit/b2b58474c4a3b43bbcc81cc833c0a8f28dadaa21))
* **smart-crusher:** drop the dead crush_object clone from the object
path ([#3705](https://github.com/headroomlabs-ai/headroom/issues/3705))
([7221724](https://github.com/headroomlabs-ai/headroom/commit/72217242c1cc52e3ed09780b53440abe9ca22478))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-25 14:29:40 -05:00
Shubham Srivastava c3e8a1ee63 feat(sdk): support per-call config override in compress() (#3370)
## Description

The TypeScript SDK's `simulate()` accepts a per-call `config` (spread
into the `/v1/compress` request body), but `compress()` did not —
`HeadroomClient.compress()` only used the `config` set once at
construction. There was no way to tune compression per request (e.g. a
different `mode` or `targetRatio`) without building a whole new client,
even though the proxy accepts per-request `config` on that same endpoint
(proven by `simulate()`).

This threads an optional per-call `config` through both
`HeadroomClient.compress()` and the standalone `compress()`, merged over
the client-level config — closing the `simulate()`/`compress()`
inconsistency.

**Config type (addresses review):** the per-call and client-level
`config` are typed as a new `CompressRequestConfig`, not
`HeadroomConfig`. `HeadroomConfig` (with `defaultMode`,
`contentRouterEnabled`, `smartCrusher`, …) is the `wrap`/proxy runtime
config and is **not** the schema `POST /v1/compress` reads.
`handle_compress` in `headroom/proxy/handlers/openai.py` honors only a
flat set of keys — `mode`, `target_ratio`, `compress_user_messages`,
`protect_recent`, `protect_analysis_context`, `frozen_message_count`,
`session_id` — and rejects (400) any `mode` outside `ccr | lossy_inline
| lossless_then_lossy`. `CompressRequestConfig` (camelCase, snake_cased
on the wire) models exactly those keys, so the SDK now offers only knobs
the endpoint actually accepts.

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [x] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Performance improvement
- [ ] Code refactoring (no functional changes)

## Changes Made

- **`sdk/typescript/src/types/config.ts`** — add `CompressMode` (`"ccr"
| "lossy_inline" | "lossless_then_lossy"`) and `CompressRequestConfig`
(the flat, all-optional set of keys `/v1/compress` honors: `mode`,
`targetRatio`, `compressUserMessages`, `protectRecent`,
`protectAnalysisContext`, `frozenMessageCount`, `sessionId`).
- **`sdk/typescript/src/index.ts`** — export `CompressMode` and
`CompressRequestConfig`.
- **`sdk/typescript/src/types.ts`** — `config?: CompressRequestConfig`
on `CompressOptions`; widen `HeadroomClientInterface.compress`'s options
to `{ model?; tokenBudget?; config? }`.
- **`sdk/typescript/src/client.ts`** — client-level and per-call
`config` retyped from `HeadroomConfig` to `CompressRequestConfig`;
`compress()` accepts `config` and forwards it to `_doCompress()`;
`_doCompress()` gains a `config?` param and builds the body config as
`const merged = { ...this.config, ...config }; if
(Object.keys(merged).length > 0) body.config = deepSnakeCase(merged);`
(replacing the old `if (this.config)` block).
- **`sdk/typescript/src/compress.ts`** — destructure `config` from
options and forward it to `client.compress(...)`. (Previously `config`
fell into `...clientOptions` and was silently dropped when a pre-built
`client` was supplied — this also fixes that latent drop.)

**Merge semantics:** shallow, per-call keys override client-level keys
at the top level — matching `simulate()`'s existing shallow spread. When
neither client nor call sets `config`, no `config` key is sent
(byte-identical to prior behavior — no regression). `simulate()` is
untouched. Additive, optional, non-breaking; every
`CompressRequestConfig` field is optional so a partial `{ mode: "ccr" }`
is valid.

## Testing

- [x] Unit tests pass (`npm test` — vitest)
- [x] Type checking passes (`npm run typecheck` — tsc --noEmit)
- [x] Build passes (`npm run build` — tsup)
- [x] New tests added for new functionality

### Test Output

```text
$ cd sdk/typescript && npm test
Test Files  18 passed | 5 skipped (23)
Tests  298 passed | 33 skipped (331)

$ npm run typecheck   # tsc --noEmit
(clean, no errors)

$ npm run build       # tsup
(ESM + CJS + DTS built successfully)
```

New tests (`test/client.test.ts`, `test/compress.test.ts`):
- per-call `config` is sent snake_cased in the request body (`mode`,
`target_ratio`, `compress_user_messages`);
- per-call `config` overrides client-level `config` (client `mode:
"lossy_inline"` + call `mode: "ccr"` → sends `"ccr"`);
- no `config` key when neither client nor call sets one (no regression);
- standalone `compress()` forwards a per-call `config` (`mode: "ccr"`,
`targetRatio: 0.25`) that overrides a **provided** client's config
(fails pre-fix — `config` was dropped when a `client` was supplied).

## Real Behavior Proof

- Environment: Node v22.16.0, Windows 11; TypeScript SDK built from this
branch (`cd sdk/typescript && npm install`).
- Exact command / steps: `cd sdk/typescript && npm test` (vitest), `npm
run typecheck` (tsc --noEmit), `npm run build` (tsup). The four new
tests drive the real `compress()` / `HeadroomClient.compress()` /
standalone `compress()` paths against a mocked `fetch` and assert the
actual `/v1/compress` request body.
- Observed result: On `main` (implementation reverted, tests kept) the
config tests FAIL — `body.config` is `undefined` because the per-call
config is dropped (`TypeError: Cannot read properties of undefined
(reading 'mode')`, and `expected undefined to be 'ccr'`). After the
change: `298 passed | 33 skipped`, typecheck clean, build clean, and
`body.config.mode` reflects the per-call override (`"ccr"` overriding a
client-level `"lossy_inline"`), with `targetRatio` sent as
`target_ratio`.
- Not tested: a live proxy round-trip. The request-body assertions (via
mocked fetch) cover the SDK's responsibility; the proxy already accepts
per-request `config` on `/v1/compress`, as the existing `simulate()`
path demonstrates.

## Runtime Rollout Safety

- Rollout-managed feature(s): None. This is a client-side TypeScript SDK
API change; no server/runtime feature flag or rollout channel is
involved.
- Minimum rollout channel: N/A (not gated by any rollout channel).
- Stable/default behavior changed: No. The new `config` parameter is
optional; when it (and the client-level config) is unset, the request
body is byte-identical to before (no `config` key sent). Existing
callers are unaffected.
- Kill switch / disable path: N/A — the behavior is opt-in per call
(omit `config` to get prior behavior).
- Unsafe override required: No.
- Qualification impact: None — additive optional parameter; existing SDK
tests unchanged and green.
- Rollback path: Revert this PR; no persisted state, migrations, or
config to unwind.

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] I have updated the CHANGELOG.md if applicable

## Screenshots (if applicable)

N/A

## Additional Notes

- CHANGELOG left untouched — the repo enforces a `no-manual-changelog`
CI check (release-please owns `CHANGELOG.md`); the conventional-commit
`feat(sdk):` message drives the entry.
- Scope kept minimal: no deep/recursive merge (shallow top-level
override matches `simulate()`; a deep-merge could be a future
enhancement), no proxy change, no new dependency.
- Pre-existing, out of scope (happy to file/fix separately if wanted):
`simulate()` calls `compressRaw()` directly and so never merges
client-level `config` (only per-call) — a small asymmetry this PR does
not touch; and `test/types.test.ts`'s
`HeadroomClientInterface["compress"]` param type-assertion was already
stale (it predates this change, missing `tokenBudget`) — it's a dormant
`expectTypeOf` check not enforced by `npm test`/`tsc`.
2026-09-24 17:06:01 -05:00
Shubham SrivastavaandJerrett Davis 63676e6cff fix(sdk): preserve Anthropic image blocks in message conversion instead of dropping the turn (#3439)
## Description

The TypeScript SDK's `anthropicToOpenAI()` converter drops image content
when translating Anthropic-format messages to OpenAI format for
compression. For a `user` message with array `content`, it only extracts
`text` and `tool_result` blocks — there is no branch for `image` blocks.
So:

- An **image-only** user turn (a normal vision request) produces
`textBlocks.length === 0` with no tool_results, and **nothing is
pushed** — the entire conversation turn is silently deleted, breaking
role alternation and losing the image.
- A **mixed text+image** turn keeps the text but silently drops the
image.

`detectFormat()` already recognizes Anthropic images (`{ type: "image",
source: { type } }`), and the sibling `vercelToOpenAI()` already
converts images to OpenAI `image_url` parts — so images are a known,
intended input; the Anthropic converter simply had no branch for them.

The bug exists in two copies, both on real user paths:
- `sdk/typescript/src/utils/format.ts` — exported `anthropicToOpenAI`,
used by `toOpenAI()` on the main `compress()` path.
- `sdk/typescript/src/adapters/anthropic.ts` — the private helper used
by `withHeadroom()` for the Anthropic SDK.

This adds image handling to both: Anthropic image blocks are converted
to OpenAI `image_url` content parts (base64 source → a `data:` URI, url
source → the url), a turn containing images is emitted as a multimodal
`content` array with original block order preserved, and unconvertible
image blocks are skipped without deleting the turn. Text-only turns are
unchanged (still a joined string), so no regression on the common path.

**Round trip:** the reverse conversion (`openAIToAnthropic`, in both
files) also mapped every non-text part to empty text, so on a successful
compression the newly-preserved `image_url` was turned into an empty
text block before reaching the wrapped Anthropic client — the image was
lost anyway. This PR also fixes the reverse mapping (`image_url` →
Anthropic image block: a `data:<media_type>;base64,<data>` URI → a
base64 source, any other url → a url source), so images survive the full
`withHeadroom()` round trip through to `messages.create`.

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Performance improvement
- [ ] Code refactoring (no functional changes)

## Changes Made

- **`sdk/typescript/src/utils/format.ts`** —
- `anthropicToOpenAI` user-branch (forward): handle `image` blocks.
Added `anthropicImageUrl(source)` (base64 →
`data:<media_type>;base64,<data>`, url → `source.url`, else `null`).
When a user turn has image blocks, emit one `{ role: "user", content:
ContentPart[] }` preserving text/image order; unconvertible images are
skipped. Text-only and tool_result handling unchanged.
- `openAIToAnthropic` user-branch (reverse): added
`openAIImageBlock(url)` and map `image_url` parts back to Anthropic
image blocks (data URI → base64 source, other url → url source).
- **`sdk/typescript/src/adapters/anthropic.ts`** — same forward and
reverse fixes applied to the duplicated private helpers (kept
self-contained; existing `tool_result`/assistant handling preserved
unchanged).
- **Tests** — forward, reverse, round-trip, and adapter end-to-end cases
(see Testing).

## Testing

- [x] Unit tests pass (`npm test` — vitest)
- [x] Type checking passes (`npm run typecheck` — tsc --noEmit)
- [x] Build passes (`npm run build` — tsup)
- [x] New tests added for new functionality
- [x] Manual testing performed

### Test Output

```text
$ cd sdk/typescript && npm test
 Test Files  18 passed | 5 skipped (23)
      Tests  308 passed | 33 skipped (340)

$ npm run typecheck   # tsc --noEmit
(clean, no errors)

$ npm run build       # tsup
(ESM + CJS + DTS built successfully)
```

New tests (`test/utils/format.test.ts`,
`test/adapters/anthropic.test.ts`):
- **forward** (`anthropicToOpenAI`): image-only user message → returns a
message (not `[]`) with an `image_url` part; base64 → `data:` URI; url →
passthrough; text+image → array, order preserved; text-only → unchanged
(string); image+tool_result → user message plus separate tool message;
- **reverse** (`openAIToAnthropic`): `image_url` → Anthropic image block
(data URI → base64 source; http → url source); mixed order preserved;
- **round trip**: `openAIToAnthropic(anthropicToOpenAI(input))`
reproduces image-only and mixed turns exactly;
- **adapter end-to-end** (`withHeadroom`): with a mocked compression
response that retains the image, the original `messages.create` receives
the Anthropic image block (image-only and mixed turns) — not empty text.

## Real Behavior Proof

- Environment: Node v22.16.0, Windows 11; TypeScript SDK from this
branch (`cd sdk/typescript && npm install`).
- Exact command / steps: `cd sdk/typescript && npm test` (vitest), `npm
run typecheck` (tsc --noEmit), `npm run build` (tsup). The new tests
drive the real exported `anthropicToOpenAI` and assert the returned
OpenAI messages.
- Observed result: Before the fix, `anthropicToOpenAI([{ role: "user",
content: [{ type: "image", source: {...} }] }])` returns `[]` (the turn
is dropped); and even a preserved image was flattened to empty text by
the reverse conversion before reaching the wrapped client. After: the
forward pass returns a `user` message carrying the image as an
`image_url` part (base64 → `data:` URI, url → passthrough, order
preserved, text-only still a string), and the reverse pass restores it
to an Anthropic image block — the adapter test asserts the original
`messages.create` receives the image block (image-only and mixed turns)
on a successful compression. `npm test`: 308 passed | 33 skipped,
typecheck + build clean.
- Not tested: a live proxy round-trip. The conversion is pure and fully
covered by unit tests; the proxy consumes standard OpenAI-format
messages.

## Runtime Rollout Safety

- Rollout-managed feature(s): None. Client-side TypeScript SDK
message-conversion fix; no server/runtime feature flag or rollout
channel involved.
- Minimum rollout channel: N/A.
- Stable/default behavior changed: Only the buggy path changes — image
content that was previously dropped is now preserved. Text-only and
tool_result conversions are byte-identical to before (no regression on
the common path).
- Kill switch / disable path: N/A — this is a correctness fix, not a
gated feature.
- Unsafe override required: No.
- Qualification impact: None — additive image handling; existing
conversion tests unchanged and green.
- Rollback path: Revert this PR; no persisted state, migrations, or
config to unwind.

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] I did **not** edit `CHANGELOG.md` — it is generated by
release-please from my Conventional Commit PR title (a CI guard enforces
this)

## Screenshots (if applicable)

N/A

## Additional Notes

- Both directions of the conversion are fixed so the `withHeadroom()`
round trip preserves images. One related cleanup is left as a follow-up
rather than widening this PR: the image conversion (and the converters
generally) are duplicated across `utils/format.ts` and
`adapters/anthropic.ts` (with slightly different `tool_result` handling)
— a candidate for later de-duplication into the shared util. Happy to
file/fix that separately.
- CHANGELOG left untouched — the `no-manual-changelog` CI guard owns it;
the Conventional Commit title drives the entry.

---------

Co-authored-by: Jerrett Davis <mxjerrett@gmail.com>
2026-09-24 17:03:58 -05:00
Shubham SrivastavaandJerrett Davis 95cbbb8158 fix(sdk): enforce dormant public type tests (#3424)
## Description

The TypeScript SDK's public type assertions were not enforced: Vitest
treated `expectTypeOf` calls as runtime no-ops, and the source tsconfig
excluded the tests. This enables Vitest type checking with a dedicated
tsconfig, renames the type test to `types.test-d.ts`, and corrects the
stale `compress` options assertion to include `tokenBudget`.

`CompressResult.messages` remains `any[]`: the universal API returns the
input format, which can be Anthropic, Gemini, or Vercel rather than
OpenAI. The final change does not narrow that public result contract.

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Performance improvement
- [ ] Code refactoring (no functional changes)

## Changes Made

- **`sdk/typescript/vitest.config.ts`** — enable `test.typecheck` with a
dedicated tsconfig so `vitest run` type-checks `expectTypeOf` assertions
instead of no-oping them.
- **`sdk/typescript/tsconfig.typecheck.json`** (new) — typecheck-only
tsconfig that includes the test type-files. Required: the root
`tsconfig.json` excludes `test/`, so without it vitest's typecheck
silently reports "no errors" even for a deliberately wrong assertion.
- **`sdk/typescript/test/types.test.ts` → `test/types.test-d.ts`** —
renamed to vitest's type-test convention so typecheck collects it. It is
the only file using `expectTypeOf`; the runtime suite is unchanged.
- **Stale assertion fixed** — `HeadroomClientInterface["compress"]`
params corrected from `{ model?: string }` to `{ model?: string;
tokenBudget?: number }` to match `src/types.ts`.
- **`CompressResult["messages"]` assertion** — kept at `any[]` with a
comment explaining the format-preserving return (an earlier revision
narrowed it to `OpenAIMessage[]`; reverted per review). No `src/`
change.

## Testing

- [x] Unit tests pass (`npm test` — vitest, now including typecheck)
- [x] Type checking passes (`npm run typecheck` — tsc --noEmit on src)
- [x] Build passes (`npm run build` — tsup)
- [x] New tests added for new functionality
- [x] Manual testing performed

### Test Output

```text
$ cd sdk/typescript && npm test          # vitest run, typecheck.enabled
Testing types with tsc and vue-tsc is an experimental feature.
 Test Files  18 passed | 5 skipped (23)
      Tests  294 passed | 33 skipped (327)
Type Errors  no errors
   Duration  2.28s (typecheck 1.33s)

$ npm run typecheck   # tsc --noEmit on src
(clean, no errors)

$ npm run build       # tsup
(ESM + CJS + DTS built successfully)
```

Maintainer re-validation on `159a646` (isolated `npm ci
--ignore-scripts`, macOS): 294 passed, 33 skipped, no type-test errors;
`npm run typecheck` and `npm run build` pass.

## Real Behavior Proof

- Environment: Node v22.16.0 on Windows 11 (author) and macOS
(maintainer re-validation); `sdk/typescript` with an isolated `npm ci
--ignore-scripts`.
- Exact command / steps: `cd sdk/typescript && npm ci --ignore-scripts
&& npm test && npm run typecheck && npm run build`.
- Observed result: Vitest executes `types.test-d.ts` (blocks tagged `✓
TS`) and reports no type errors; runtime tests pass; tsc and the
ESM/CJS/DTS build succeed. Negative probe: temporarily changing the
assertion to `tokenBudget?: string` makes `npm test` FAIL
(`TypeCheckError ... test/types.test-d.ts:177:7`, `Type Errors 1
failed`, non-zero exit); restoring it returns to `Type Errors: no
errors`, 294 passed.
- Not tested: live provider requests. The change affects test
enforcement only; there is no runtime code path.

## Runtime Rollout Safety

- Rollout-managed feature(s): None; test enforcement only.
- Minimum rollout channel: N/A.
- Stable/default behavior changed: No runtime behavior or public
result-type narrowing.
- Kill switch / disable path: Revert the test configuration change.
- Unsafe override required: No.
- Qualification impact: Type assertions now participate in `npm test`.
- Rollback path: Revert this PR; no persisted-state changes.

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] I did **not** edit `CHANGELOG.md` — it is generated by
release-please from my Conventional Commit PR title (a CI guard enforces
this)

## Screenshots (if applicable)

N/A

## Additional Notes

- Body restored to the PR template after the governance bot flagged the
condensed version (missing `Changes Made`, template checkboxes absent).
Content matches the twice-approved revision; no source changes.
- The dedicated `tsconfig.typecheck.json` is load-bearing: with
`typecheck.enabled` alone, vitest resolved the root `tsconfig.json`
(which excludes `test/`) and reported "no errors" even for a
deliberately absurd probe assertion.
- No dedicated vitest CI job exists, so enforcement primarily protects
local development; it still stops the public-API type assertions from
silently rotting the way the `compress` one already had.

---------

Co-authored-by: Jerrett Davis <mxjerrett@gmail.com>
2026-09-24 16:59:38 -05:00
trs-80andClaude Opus 5 b2b58474c4 refactor(sdk): route _fetch through rawFetch instead of duplicating it (#3473)
## Description

`HeadroomClient.rawFetch()` and `HeadroomClient._fetch()` in
`sdk/typescript/src/client.ts` each carried their own copy of the same
transport: URL construction, the `Content-Type` default and
caller-header merge, proxy auth, the `X-Headroom-Stack` guard, `fetch`
with `AbortSignal.timeout`, `HeadroomConnectionError` wrapping, and
non-ok response parsing into `mapProxyError`. The two differed only in
body handling — `rawFetch()` serializes a structured body, `_fetch()`
takes an already-serialized string — and in auth, where `rawFetch()`
refuses to override a provider credential.

`rawFetch()` now sends a `string` body as-is and JSON-serializes
anything else, so `_fetch()` collapses to a typed delegate and the
transport exists once. `client.ts` goes from 632 to 598 lines. This is a
maintenance-only cleanup flagged in the repository efficiency audit;
there is no performance claim.

Nothing observable changes. `_fetch()` is `private` with 25 call sites,
all in `client.ts`, and none passes `headers`, so `rawFetch()`'s "don't
override provider auth" guard resolves exactly the way `_fetch()`'s
unconditional `Authorization` assignment did. Provider-credential
handling itself is untouched.

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Performance improvement
- [x] Code refactoring (no functional changes)

## Changes Made

- `sdk/typescript/src/client.ts`: `rawFetch()` keeps the single
transport implementation; its body argument is now `typeof options.body
=== "string" ? options.body : options.body ?
JSON.stringify(options.body) : undefined`, still evaluated inside the
existing `try`, so an unserializable body keeps throwing
`HeadroomConnectionError`.
- `sdk/typescript/src/client.ts`: `_fetch()` drops from 47 duplicated
lines to `return this.rawFetch(path, init)`. Its `headers` field — dead
across all 25 call sites — is removed from the init type, so a future
caller that needs headers gets a compile error instead of silently
different auth behavior.
- `sdk/typescript/test/client-expanded.test.ts`: six regression cases in
a new `shared HTTP transport` block, covering body encoding, header
precedence, both provider-auth paths, and the error paths.
- No public signature changes, no new class/helper/options object, no
new dependency. `rawFetch()`'s unused `stream` option is left alone; its
callers read `params.stream` themselves.

## Testing

- [ ] Unit tests pass (`pytest`)
- [ ] Linting passes (`ruff check .`)
- [ ] Type checking passes (`mypy headroom`)
- [x] New tests added for new functionality
- [x] Manual testing performed

TypeScript-only change, so the Python gates do not apply; the SDK's own
suite, `tsc --noEmit` and `tsup` build are the equivalents and all pass.

### Test Output

```text
$ npm test          # sdk/typescript
 Test Files  18 passed | 5 skipped (23)
      Tests  300 passed | 33 skipped (333)
# base e67b3c8a on the same worktree: 294 passed | 33 skipped (327)

$ npm run typecheck
> tsc --noEmit
# clean, exit 0

$ npm run build
DTS dist/index.d.cts              27.79 KB
DTS dist/adapters/vercel-ai.d.cts 1.95 KB
# clean, exit 0

$ gh pr diff 3450 | git apply --check --3way
Applied patch to 'sdk/typescript/src/client.ts' cleanly.
Applied patch to 'sdk/typescript/test/client-expanded.test.ts' cleanly.
```

## Real Behavior Proof

- Environment: macOS 25.6, Node 22 / npm, fresh worktree of `main` @
`e67b3c8a`, `npm ci` in `sdk/typescript`.
- Exact command / steps: enumerated every caller (`rawFetch()` — 2
sites, both in `client.ts`; `_fetch()` — 25 sites, all in `client.ts`,
none passing `headers`); ran `npm test`, `npm run typecheck`, `npm run
build`; then mutation-tested each new assertion by editing `client.ts`
and re-running `npx vitest run test/client-expanded.test.ts`, restoring
the file after each mutation. Mutations: always-stringify
(double-encodes serialized bodies), never-stringify, drop the
`!headers["Authorization"] && !headers["x-api-key"]` guard, drop the
`Content-Type` default, drop the `X-Headroom-Stack` block, send `{}`
instead of no body.
- Observed result: 294 → 300 passing tests with zero regressions;
typecheck and build clean; every one of the six mutations fails 1–2 of
the new tests, so none of them is decorative. The pre-existing
authentication regressions in `client.test.ts` and `compress.test.ts`
still pass unchanged.
- Not tested: no live proxy or provider traffic — the change is a pure
refactor of client-side request assembly, and every assertion is made on
the exact object handed to `fetch`. Streaming was not re-exercised
beyond the existing suite: `parseSSE` consumes the `Response` that
`rawFetch()` already returned unread, and that path is not touched by
this diff.

## Runtime Rollout Safety

- Rollout-managed feature(s): none — this is TypeScript SDK client code
with no rollout gate.
- Minimum rollout channel: n/a; no channel-gated behavior is introduced.
- Stable/default behavior changed: no. Same URL, method, headers, body
bytes, timeout and thrown error types for every existing caller.
- Kill switch / disable path: n/a — revert the commit; there is no
runtime flag to flip.
- Unsafe override required: no.
- Qualification impact: none. No proxy, compression or cache behavior is
involved.
- Rollback path: `git revert` of this single commit; it touches two
files and no persisted state or schema.

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] I did **not** edit `CHANGELOG.md` — it is generated by
release-please from my Conventional Commit PR title (a CI guard enforces
this)

## Additional Notes

Overlap with open PR #3450 (`fix(sdk): preserve proxy authentication
alongside provider credentials`): that PR adds one line inside
`rawFetch()`'s `if (this.apiKey)` block, which this PR does not touch,
and its tests land at the top of `client-expanded.test.ts` while these
land at the bottom. `gh pr diff 3450 | git apply --check --3way` against
this branch reports both files applying cleanly, in either merge order.

One combined effect is worth naming: once both land,
`X-Headroom-Proxy-Token` will also be sent on the proxy-only endpoints
that previously went through `_fetch()`. That is harmless —
`read_proxy_token()` (`headroom/proxy/server.py:2618`) prefers that
header and otherwise falls back to the `Authorization: Bearer` token
those same requests already carry, so the proxy reads an identical
credential either way.

Documentation checkbox is unticked because no documented behavior or
public signature changed; `rawFetch()` is `@internal` and `_fetch()` is
private.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-24 16:52:47 -05:00
trs-80 ca4b47a3fc fix(sdk): preserve proxy authentication alongside provider credentials (#3450)
## Description

The TypeScript SDK omits its proxy `apiKey` when an OpenAI or Anthropic
provider credential is present, causing token-protected remote proxies
to reject those requests with 401. Send `X-Headroom-Proxy-Token` from
shared `rawFetch()` while preserving provider authentication and the
existing bearer fallback. The server already supports this header via
#3422.

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)

## Changes Made

- Add the dedicated proxy-token header in `sdk/typescript/src/client.ts`
whenever an SDK proxy key is configured; provider
`Authorization`/`x-api-key` headers and the bearer fallback are
untouched.
- Add eight regression cases covering both providers with explicit keys,
environment keys, proxy-only authentication, and provider-only
authentication.

## Testing

- [x] Unit tests pass (`pytest`) — N/A, TypeScript-only change; `npm
test` run instead
- [x] New tests added for new functionality
- [x] Manual testing performed

### Test Output

```text
cd sdk/typescript
npm test
Test Files  18 passed | 5 skipped (23)
Tests       302 passed | 33 skipped (335)
npm run typecheck  # passed
npm run build      # passed
git diff --check   # passed
```

## Real Behavior Proof

- Environment: macOS, Node.js 26.5.1; locked SDK dependencies installed
with `npm ci`.
- Exact command / steps: `cd sdk/typescript && npm ci && npm test --
test/client-expanded.test.ts`, then `npm test`, `npm run typecheck`,
`npm run build`.
- Observed result: before the fix, six of the eight new cases failed
because `X-Headroom-Proxy-Token` was absent from the request headers.
After the fix all eight pass and still assert the expected provider
headers (`Authorization: Bearer <provider-key>` for OpenAI, `x-api-key`
for Anthropic, bearer fallback when no provider key is set). Tests drive
the real SDK clients and inspect requests at a mocked fetch boundary.
- Not tested: live provider calls, a deployed remote proxy, and the
Python test suite. The SDK suite reports 33 skipped tests.

## Runtime Rollout Safety

- Rollout-managed feature(s): None. The header is sent unconditionally
from `rawFetch()` when a proxy key is configured; no rollout flag or
channel gate is involved.
- Minimum rollout channel: N/A — not rollout-managed; the fix ships to
every channel with the next SDK release.
- Stable/default behavior changed: Yes. When an SDK proxy key is
configured, chat/message requests now also carry
`X-Headroom-Proxy-Token`. Provider auth headers and the existing bearer
fallback are unchanged, and no header is added when no proxy key is set.
- Kill switch / disable path: Do not configure a proxy key (`apiKey`
option / `HEADROOM_API_KEY`) — the header is only added when one exists.
Otherwise pin the previous SDK version.
- Unsafe override required: No.
- Qualification impact: None. Server-side support for the header landed
in #3422, and proxies that do not read it ignore the extra header.
- Rollback path: Revert this commit, or pin the preceding SDK release.

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] My changes generate no new warnings
- [x] I did **not** edit `CHANGELOG.md` — it is generated by
release-please from my Conventional Commit PR title (a CI guard enforces
this)

## Additional Notes

Python-specific template checks (`pytest`, `ruff`, `mypy`) are not
applicable to this TypeScript-only change; the equivalent SDK commands
are recorded above. Documentation is unchanged — no new dependencies or
public configuration options are introduced.
2026-09-24 16:52:16 -05:00
dependabot[bot] 63113329cf deps: bump the npm-minor-patch group across 3 directories with 9 updates (#3764)
Bumps the npm-minor-patch group with 2 updates in the /plugins/openclaw
directory:
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
and
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest).
Bumps the npm-minor-patch group with 3 updates in the /plugins/opencode
directory:
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node),
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
and @opencode-ai/plugin.
Bumps the npm-minor-patch group with 8 updates in the /sdk/typescript
directory:

| Package | From | To |
| --- | --- | --- |
|
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
| `26.5.1` | `26.6.2` |
|
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
| `5.0.0` | `5.0.1` |
|
[@ai-sdk/anthropic](https://github.com/vercel/ai/tree/HEAD/packages/anthropic)
| `4.0.53` | `4.0.58` |
|
[@ai-sdk/openai](https://github.com/vercel/ai/tree/HEAD/packages/openai)
| `4.0.66` | `4.0.71` |
|
[@ai-sdk/provider](https://github.com/vercel/ai/tree/HEAD/packages/provider)
| `4.0.14` | `4.0.17` |
|
[@anthropic-ai/sdk](https://github.com/anthropics/anthropic-sdk-typescript)
| `0.125.0` | `0.127.0` |
| [ai](https://github.com/vercel/ai/tree/HEAD/packages/ai) | `7.0.99` |
`7.0.107` |
| [openai](https://github.com/openai/openai-node) | `7.15.0` | `7.20.0`
|


Updates `@types/node` from 26.5.1 to 26.6.2
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `vitest` from 5.0.0 to 5.0.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.1</h2>
<h3>   🚀 Features</h3>
<ul>
<li><strong>ui</strong>:
<ul>
<li>Move trace attempts selector to viewer header  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11189">vitest-dev/vitest#11189</a>
<a href="https://github.com/vitest-dev/vitest/commit/5dc4b5c92"><!-- raw
HTML omitted -->(5dc4b)<!-- raw HTML omitted --></a></li>
<li>Add focused trace view layout mode  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong>, <strong>OpenCode (gpt-5.6-sol)</strong>
and <strong>Codex</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11190">vitest-dev/vitest#11190</a>
<a href="https://github.com/vitest-dev/vitest/commit/376dc3bc1"><!-- raw
HTML omitted -->(376dc)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Exit 1 when vitest list fails collection  -  by <a
href="https://github.com/hamed-bavar"><code>@​hamed-bavar</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11145">vitest-dev/vitest#11145</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11146">vitest-dev/vitest#11146</a>
<a href="https://github.com/vitest-dev/vitest/commit/6108b8197"><!-- raw
HTML omitted -->(6108b)<!-- raw HTML omitted --></a></li>
<li>Keep parse error details in static collection  -  by <a
href="https://github.com/hamed-bavar"><code>@​hamed-bavar</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11150">vitest-dev/vitest#11150</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11151">vitest-dev/vitest#11151</a>
<a href="https://github.com/vitest-dev/vitest/commit/7c818153a"><!-- raw
HTML omitted -->(7c818)<!-- raw HTML omitted --></a></li>
<li>Avoid recursive prototype in automocking  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11195">vitest-dev/vitest#11195</a>
<a href="https://github.com/vitest-dev/vitest/commit/99fc52591"><!-- raw
HTML omitted -->(99fc5)<!-- raw HTML omitted --></a></li>
<li>Prevent false Vitest import resolution  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11196">vitest-dev/vitest#11196</a>
<a href="https://github.com/vitest-dev/vitest/commit/b426c1976"><!-- raw
HTML omitted -->(b426c)<!-- raw HTML omitted --></a></li>
<li>Keep metadata file when clearing the cache  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11199">vitest-dev/vitest#11199</a>
<a href="https://github.com/vitest-dev/vitest/commit/73614654a"><!-- raw
HTML omitted -->(73614)<!-- raw HTML omitted --></a></li>
<li>Correct typos in error message and comments  -  by <a
href="https://github.com/shinji00222"><code>@​shinji00222</code></a> and
<strong>Shinji</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11187">vitest-dev/vitest#11187</a>
<a href="https://github.com/vitest-dev/vitest/commit/115c3f6d2"><!-- raw
HTML omitted -->(115c3)<!-- raw HTML omitted --></a></li>
<li>Resolve ResolvedConfig exactOptionalPropertyTypes errors  -  by <a
href="https://github.com/LukeAbby"><code>@​LukeAbby</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11175">vitest-dev/vitest#11175</a>
<a href="https://github.com/vitest-dev/vitest/commit/498fbe922"><!-- raw
HTML omitted -->(498fb)<!-- raw HTML omitted --></a></li>
<li>Share the server on self-referencing <code>extends</code>  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11034">vitest-dev/vitest#11034</a>
<a href="https://github.com/vitest-dev/vitest/commit/23dda738c"><!-- raw
HTML omitted -->(23dda)<!-- raw HTML omitted --></a></li>
<li>Warn when deprecated <code>deps.optimizer.web</code> is used  -  by
<a href="https://github.com/im10furry"><code>@​im10furry</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11214">vitest-dev/vitest#11214</a>
<a href="https://github.com/vitest-dev/vitest/commit/2ce29d5fa"><!-- raw
HTML omitted -->(2ce29)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Avoid double quotes in <code>config.define</code>  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11198">vitest-dev/vitest#11198</a>
<a href="https://github.com/vitest-dev/vitest/commit/972e24bab"><!-- raw
HTML omitted -->(972e2)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>doctor</strong>:
<ul>
<li>Measure vm pools for custom environments  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11212">vitest-dev/vitest#11212</a>
<a href="https://github.com/vitest-dev/vitest/commit/91ab1588c"><!-- raw
HTML omitted -->(91ab1)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>expect</strong>:
<ul>
<li>Correct return value in <code>toMatchAriaSnapshot</code>  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11208">vitest-dev/vitest#11208</a>
<a href="https://github.com/vitest-dev/vitest/commit/c119be016"><!-- raw
HTML omitted -->(c119b)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>fakeTimers</strong>:
<ul>
<li>Force <code>queueMicrotask</code> and <code>nextTick</code> in
<code>toNotFake</code>  -  by <a
href="https://github.com/kingmakeruix"><code>@​kingmakeruix</code></a>,
<strong>kingmakeruix</strong>, <strong>Hiroshi Ogawa</strong>,
<strong>Codex</strong> and <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11261">vitest-dev/vitest#11261</a>
<a href="https://github.com/vitest-dev/vitest/commit/a47d7908f"><!-- raw
HTML omitted -->(a47d7)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>snapshot</strong>:
<ul>
<li>Report obsolete keys next to skipped tests  -  by <a
href="https://github.com/hamed-bavar"><code>@​hamed-bavar</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>OpenCode
(gpt-5.6-sol)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11157">vitest-dev/vitest#11157</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11158">vitest-dev/vitest#11158</a>
<a href="https://github.com/vitest-dev/vitest/commit/17e2b22dd"><!-- raw
HTML omitted -->(17e2b)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>types</strong>:
<ul>
<li>Make public declarations self-contained  -  by <a
href="https://github.com/ZoeySigel"><code>@​ZoeySigel</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11141">vitest-dev/vitest#11141</a>
<a href="https://github.com/vitest-dev/vitest/commit/455466c16"><!-- raw
HTML omitted -->(45546)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>ui</strong>:
<ul>
<li>Fix collapse/expand suite with file name search  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11260">vitest-dev/vitest#11260</a>
<a href="https://github.com/vitest-dev/vitest/commit/0a7122daa"><!-- raw
HTML omitted -->(0a712)<!-- raw HTML omitted --></a></li>
<li>Fix explorer file summary count  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong>, <strong>OpenCode (gpt-5.6-sol)</strong>
and <strong>Codex</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11125">vitest-dev/vitest#11125</a>
<a href="https://github.com/vitest-dev/vitest/commit/05982297d"><!-- raw
HTML omitted -->(05982)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>utils</strong>:
<ul>
<li>Fix <code>deepMerge</code> to handle prototype  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11215">vitest-dev/vitest#11215</a>
<a href="https://github.com/vitest-dev/vitest/commit/4944cf498"><!-- raw
HTML omitted -->(4944c)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v5.0.0...v5.0.1">View
changes on GitHub</a></h5>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/03630a5995d10455fa136be53bfb2b2409381106"><code>03630a5</code></a>
chore: release v5.0.1 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11275">#11275</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/a47d7908f0635e9cba6cbe5e1a209bb6add5e0ab"><code>a47d790</code></a>
fix(fakeTimers): force <code>queueMicrotask</code> and
<code>nextTick</code> in <code>toNotFake</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11261">#11261</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/2ce29d5fa758046e5453bd92b8ed6c9da9709bb5"><code>2ce29d5</code></a>
fix: warn when deprecated <code>deps.optimizer.web</code> is used (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11214">#11214</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/ccd6d057b6e4ca29a5e6b753a2b8e16b0afd8cda"><code>ccd6d05</code></a>
docs: fix typecheck exclude default in documentation (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11223">#11223</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/91ab1588c72c9c5f7c638368a541cd20e0e8a934"><code>91ab158</code></a>
fix(doctor): measure vm pools for custom environments (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11212">#11212</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/23dda738ccacb11682426426cd7b876afd107621"><code>23dda73</code></a>
fix: share the server on self-referencing <code>extends</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11034">#11034</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/498fbe9222eb9aa3d8cf48481e200c16bb693bbd"><code>498fbe9</code></a>
fix: resolve ResolvedConfig exactOptionalPropertyTypes errors (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11175">#11175</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/115c3f6d2bfa6a8672eeab8cc21bbecc6a4ef3d0"><code>115c3f6</code></a>
fix: correct typos in error message and comments (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11187">#11187</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/73614654a46f617c357920eecda439654a561f92"><code>7361465</code></a>
fix: keep metadata file when clearing the cache (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11199">#11199</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/972e24bab5fb96843de72447eb65585628b8dbde"><code>972e24b</code></a>
fix(browser): avoid double quotes in <code>config.define</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11198">#11198</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.0.1/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />

Updates `@types/node` from 26.5.1 to 26.6.2
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `vitest` from 5.0.0 to 5.0.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.1</h2>
<h3>   🚀 Features</h3>
<ul>
<li><strong>ui</strong>:
<ul>
<li>Move trace attempts selector to viewer header  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11189">vitest-dev/vitest#11189</a>
<a href="https://github.com/vitest-dev/vitest/commit/5dc4b5c92"><!-- raw
HTML omitted -->(5dc4b)<!-- raw HTML omitted --></a></li>
<li>Add focused trace view layout mode  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong>, <strong>OpenCode (gpt-5.6-sol)</strong>
and <strong>Codex</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11190">vitest-dev/vitest#11190</a>
<a href="https://github.com/vitest-dev/vitest/commit/376dc3bc1"><!-- raw
HTML omitted -->(376dc)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Exit 1 when vitest list fails collection  -  by <a
href="https://github.com/hamed-bavar"><code>@​hamed-bavar</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11145">vitest-dev/vitest#11145</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11146">vitest-dev/vitest#11146</a>
<a href="https://github.com/vitest-dev/vitest/commit/6108b8197"><!-- raw
HTML omitted -->(6108b)<!-- raw HTML omitted --></a></li>
<li>Keep parse error details in static collection  -  by <a
href="https://github.com/hamed-bavar"><code>@​hamed-bavar</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11150">vitest-dev/vitest#11150</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11151">vitest-dev/vitest#11151</a>
<a href="https://github.com/vitest-dev/vitest/commit/7c818153a"><!-- raw
HTML omitted -->(7c818)<!-- raw HTML omitted --></a></li>
<li>Avoid recursive prototype in automocking  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11195">vitest-dev/vitest#11195</a>
<a href="https://github.com/vitest-dev/vitest/commit/99fc52591"><!-- raw
HTML omitted -->(99fc5)<!-- raw HTML omitted --></a></li>
<li>Prevent false Vitest import resolution  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11196">vitest-dev/vitest#11196</a>
<a href="https://github.com/vitest-dev/vitest/commit/b426c1976"><!-- raw
HTML omitted -->(b426c)<!-- raw HTML omitted --></a></li>
<li>Keep metadata file when clearing the cache  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11199">vitest-dev/vitest#11199</a>
<a href="https://github.com/vitest-dev/vitest/commit/73614654a"><!-- raw
HTML omitted -->(73614)<!-- raw HTML omitted --></a></li>
<li>Correct typos in error message and comments  -  by <a
href="https://github.com/shinji00222"><code>@​shinji00222</code></a> and
<strong>Shinji</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11187">vitest-dev/vitest#11187</a>
<a href="https://github.com/vitest-dev/vitest/commit/115c3f6d2"><!-- raw
HTML omitted -->(115c3)<!-- raw HTML omitted --></a></li>
<li>Resolve ResolvedConfig exactOptionalPropertyTypes errors  -  by <a
href="https://github.com/LukeAbby"><code>@​LukeAbby</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11175">vitest-dev/vitest#11175</a>
<a href="https://github.com/vitest-dev/vitest/commit/498fbe922"><!-- raw
HTML omitted -->(498fb)<!-- raw HTML omitted --></a></li>
<li>Share the server on self-referencing <code>extends</code>  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11034">vitest-dev/vitest#11034</a>
<a href="https://github.com/vitest-dev/vitest/commit/23dda738c"><!-- raw
HTML omitted -->(23dda)<!-- raw HTML omitted --></a></li>
<li>Warn when deprecated <code>deps.optimizer.web</code> is used  -  by
<a href="https://github.com/im10furry"><code>@​im10furry</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11214">vitest-dev/vitest#11214</a>
<a href="https://github.com/vitest-dev/vitest/commit/2ce29d5fa"><!-- raw
HTML omitted -->(2ce29)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Avoid double quotes in <code>config.define</code>  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11198">vitest-dev/vitest#11198</a>
<a href="https://github.com/vitest-dev/vitest/commit/972e24bab"><!-- raw
HTML omitted -->(972e2)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>doctor</strong>:
<ul>
<li>Measure vm pools for custom environments  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11212">vitest-dev/vitest#11212</a>
<a href="https://github.com/vitest-dev/vitest/commit/91ab1588c"><!-- raw
HTML omitted -->(91ab1)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>expect</strong>:
<ul>
<li>Correct return value in <code>toMatchAriaSnapshot</code>  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11208">vitest-dev/vitest#11208</a>
<a href="https://github.com/vitest-dev/vitest/commit/c119be016"><!-- raw
HTML omitted -->(c119b)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>fakeTimers</strong>:
<ul>
<li>Force <code>queueMicrotask</code> and <code>nextTick</code> in
<code>toNotFake</code>  -  by <a
href="https://github.com/kingmakeruix"><code>@​kingmakeruix</code></a>,
<strong>kingmakeruix</strong>, <strong>Hiroshi Ogawa</strong>,
<strong>Codex</strong> and <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11261">vitest-dev/vitest#11261</a>
<a href="https://github.com/vitest-dev/vitest/commit/a47d7908f"><!-- raw
HTML omitted -->(a47d7)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>snapshot</strong>:
<ul>
<li>Report obsolete keys next to skipped tests  -  by <a
href="https://github.com/hamed-bavar"><code>@​hamed-bavar</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>OpenCode
(gpt-5.6-sol)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11157">vitest-dev/vitest#11157</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11158">vitest-dev/vitest#11158</a>
<a href="https://github.com/vitest-dev/vitest/commit/17e2b22dd"><!-- raw
HTML omitted -->(17e2b)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>types</strong>:
<ul>
<li>Make public declarations self-contained  -  by <a
href="https://github.com/ZoeySigel"><code>@​ZoeySigel</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11141">vitest-dev/vitest#11141</a>
<a href="https://github.com/vitest-dev/vitest/commit/455466c16"><!-- raw
HTML omitted -->(45546)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>ui</strong>:
<ul>
<li>Fix collapse/expand suite with file name search  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11260">vitest-dev/vitest#11260</a>
<a href="https://github.com/vitest-dev/vitest/commit/0a7122daa"><!-- raw
HTML omitted -->(0a712)<!-- raw HTML omitted --></a></li>
<li>Fix explorer file summary count  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong>, <strong>OpenCode (gpt-5.6-sol)</strong>
and <strong>Codex</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11125">vitest-dev/vitest#11125</a>
<a href="https://github.com/vitest-dev/vitest/commit/05982297d"><!-- raw
HTML omitted -->(05982)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>utils</strong>:
<ul>
<li>Fix <code>deepMerge</code> to handle prototype  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11215">vitest-dev/vitest#11215</a>
<a href="https://github.com/vitest-dev/vitest/commit/4944cf498"><!-- raw
HTML omitted -->(4944c)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v5.0.0...v5.0.1">View
changes on GitHub</a></h5>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/03630a5995d10455fa136be53bfb2b2409381106"><code>03630a5</code></a>
chore: release v5.0.1 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11275">#11275</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/a47d7908f0635e9cba6cbe5e1a209bb6add5e0ab"><code>a47d790</code></a>
fix(fakeTimers): force <code>queueMicrotask</code> and
<code>nextTick</code> in <code>toNotFake</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11261">#11261</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/2ce29d5fa758046e5453bd92b8ed6c9da9709bb5"><code>2ce29d5</code></a>
fix: warn when deprecated <code>deps.optimizer.web</code> is used (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11214">#11214</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/ccd6d057b6e4ca29a5e6b753a2b8e16b0afd8cda"><code>ccd6d05</code></a>
docs: fix typecheck exclude default in documentation (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11223">#11223</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/91ab1588c72c9c5f7c638368a541cd20e0e8a934"><code>91ab158</code></a>
fix(doctor): measure vm pools for custom environments (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11212">#11212</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/23dda738ccacb11682426426cd7b876afd107621"><code>23dda73</code></a>
fix: share the server on self-referencing <code>extends</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11034">#11034</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/498fbe9222eb9aa3d8cf48481e200c16bb693bbd"><code>498fbe9</code></a>
fix: resolve ResolvedConfig exactOptionalPropertyTypes errors (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11175">#11175</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/115c3f6d2bfa6a8672eeab8cc21bbecc6a4ef3d0"><code>115c3f6</code></a>
fix: correct typos in error message and comments (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11187">#11187</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/73614654a46f617c357920eecda439654a561f92"><code>7361465</code></a>
fix: keep metadata file when clearing the cache (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11199">#11199</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/972e24bab5fb96843de72447eb65585628b8dbde"><code>972e24b</code></a>
fix(browser): avoid double quotes in <code>config.define</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11198">#11198</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.0.1/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />

Updates `@opencode-ai/plugin` from 1.18.30 to 1.18.31

Updates `@types/node` from 26.5.1 to 26.6.2
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `vitest` from 5.0.0 to 5.0.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.1</h2>
<h3>   🚀 Features</h3>
<ul>
<li><strong>ui</strong>:
<ul>
<li>Move trace attempts selector to viewer header  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11189">vitest-dev/vitest#11189</a>
<a href="https://github.com/vitest-dev/vitest/commit/5dc4b5c92"><!-- raw
HTML omitted -->(5dc4b)<!-- raw HTML omitted --></a></li>
<li>Add focused trace view layout mode  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong>, <strong>OpenCode (gpt-5.6-sol)</strong>
and <strong>Codex</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11190">vitest-dev/vitest#11190</a>
<a href="https://github.com/vitest-dev/vitest/commit/376dc3bc1"><!-- raw
HTML omitted -->(376dc)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Exit 1 when vitest list fails collection  -  by <a
href="https://github.com/hamed-bavar"><code>@​hamed-bavar</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11145">vitest-dev/vitest#11145</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11146">vitest-dev/vitest#11146</a>
<a href="https://github.com/vitest-dev/vitest/commit/6108b8197"><!-- raw
HTML omitted -->(6108b)<!-- raw HTML omitted --></a></li>
<li>Keep parse error details in static collection  -  by <a
href="https://github.com/hamed-bavar"><code>@​hamed-bavar</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11150">vitest-dev/vitest#11150</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11151">vitest-dev/vitest#11151</a>
<a href="https://github.com/vitest-dev/vitest/commit/7c818153a"><!-- raw
HTML omitted -->(7c818)<!-- raw HTML omitted --></a></li>
<li>Avoid recursive prototype in automocking  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11195">vitest-dev/vitest#11195</a>
<a href="https://github.com/vitest-dev/vitest/commit/99fc52591"><!-- raw
HTML omitted -->(99fc5)<!-- raw HTML omitted --></a></li>
<li>Prevent false Vitest import resolution  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11196">vitest-dev/vitest#11196</a>
<a href="https://github.com/vitest-dev/vitest/commit/b426c1976"><!-- raw
HTML omitted -->(b426c)<!-- raw HTML omitted --></a></li>
<li>Keep metadata file when clearing the cache  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11199">vitest-dev/vitest#11199</a>
<a href="https://github.com/vitest-dev/vitest/commit/73614654a"><!-- raw
HTML omitted -->(73614)<!-- raw HTML omitted --></a></li>
<li>Correct typos in error message and comments  -  by <a
href="https://github.com/shinji00222"><code>@​shinji00222</code></a> and
<strong>Shinji</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11187">vitest-dev/vitest#11187</a>
<a href="https://github.com/vitest-dev/vitest/commit/115c3f6d2"><!-- raw
HTML omitted -->(115c3)<!-- raw HTML omitted --></a></li>
<li>Resolve ResolvedConfig exactOptionalPropertyTypes errors  -  by <a
href="https://github.com/LukeAbby"><code>@​LukeAbby</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11175">vitest-dev/vitest#11175</a>
<a href="https://github.com/vitest-dev/vitest/commit/498fbe922"><!-- raw
HTML omitted -->(498fb)<!-- raw HTML omitted --></a></li>
<li>Share the server on self-referencing <code>extends</code>  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11034">vitest-dev/vitest#11034</a>
<a href="https://github.com/vitest-dev/vitest/commit/23dda738c"><!-- raw
HTML omitted -->(23dda)<!-- raw HTML omitted --></a></li>
<li>Warn when deprecated <code>deps.optimizer.web</code> is used  -  by
<a href="https://github.com/im10furry"><code>@​im10furry</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11214">vitest-dev/vitest#11214</a>
<a href="https://github.com/vitest-dev/vitest/commit/2ce29d5fa"><!-- raw
HTML omitted -->(2ce29)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Avoid double quotes in <code>config.define</code>  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11198">vitest-dev/vitest#11198</a>
<a href="https://github.com/vitest-dev/vitest/commit/972e24bab"><!-- raw
HTML omitted -->(972e2)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>doctor</strong>:
<ul>
<li>Measure vm pools for custom environments  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11212">vitest-dev/vitest#11212</a>
<a href="https://github.com/vitest-dev/vitest/commit/91ab1588c"><!-- raw
HTML omitted -->(91ab1)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>expect</strong>:
<ul>
<li>Correct return value in <code>toMatchAriaSnapshot</code>  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11208">vitest-dev/vitest#11208</a>
<a href="https://github.com/vitest-dev/vitest/commit/c119be016"><!-- raw
HTML omitted -->(c119b)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>fakeTimers</strong>:
<ul>
<li>Force <code>queueMicrotask</code> and <code>nextTick</code> in
<code>toNotFake</code>  -  by <a
href="https://github.com/kingmakeruix"><code>@​kingmakeruix</code></a>,
<strong>kingmakeruix</strong>, <strong>Hiroshi Ogawa</strong>,
<strong>Codex</strong> and <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11261">vitest-dev/vitest#11261</a>
<a href="https://github.com/vitest-dev/vitest/commit/a47d7908f"><!-- raw
HTML omitted -->(a47d7)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>snapshot</strong>:
<ul>
<li>Report obsolete keys next to skipped tests  -  by <a
href="https://github.com/hamed-bavar"><code>@​hamed-bavar</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>OpenCode
(gpt-5.6-sol)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11157">vitest-dev/vitest#11157</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11158">vitest-dev/vitest#11158</a>
<a href="https://github.com/vitest-dev/vitest/commit/17e2b22dd"><!-- raw
HTML omitted -->(17e2b)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>types</strong>:
<ul>
<li>Make public declarations self-contained  -  by <a
href="https://github.com/ZoeySigel"><code>@​ZoeySigel</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11141">vitest-dev/vitest#11141</a>
<a href="https://github.com/vitest-dev/vitest/commit/455466c16"><!-- raw
HTML omitted -->(45546)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>ui</strong>:
<ul>
<li>Fix collapse/expand suite with file name search  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11260">vitest-dev/vitest#11260</a>
<a href="https://github.com/vitest-dev/vitest/commit/0a7122daa"><!-- raw
HTML omitted -->(0a712)<!-- raw HTML omitted --></a></li>
<li>Fix explorer file summary count  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong>, <strong>OpenCode (gpt-5.6-sol)</strong>
and <strong>Codex</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11125">vitest-dev/vitest#11125</a>
<a href="https://github.com/vitest-dev/vitest/commit/05982297d"><!-- raw
HTML omitted -->(05982)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>utils</strong>:
<ul>
<li>Fix <code>deepMerge</code> to handle prototype  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>Codex</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11215">vitest-dev/vitest#11215</a>
<a href="https://github.com/vitest-dev/vitest/commit/4944cf498"><!-- raw
HTML omitted -->(4944c)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v5.0.0...v5.0.1">View
changes on GitHub</a></h5>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/03630a5995d10455fa136be53bfb2b2409381106"><code>03630a5</code></a>
chore: release v5.0.1 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11275">#11275</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/a47d7908f0635e9cba6cbe5e1a209bb6add5e0ab"><code>a47d790</code></a>
fix(fakeTimers): force <code>queueMicrotask</code> and
<code>nextTick</code> in <code>toNotFake</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11261">#11261</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/2ce29d5fa758046e5453bd92b8ed6c9da9709bb5"><code>2ce29d5</code></a>
fix: warn when deprecated <code>deps.optimizer.web</code> is used (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11214">#11214</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/ccd6d057b6e4ca29a5e6b753a2b8e16b0afd8cda"><code>ccd6d05</code></a>
docs: fix typecheck exclude default in documentation (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11223">#11223</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/91ab1588c72c9c5f7c638368a541cd20e0e8a934"><code>91ab158</code></a>
fix(doctor): measure vm pools for custom environments (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11212">#11212</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/23dda738ccacb11682426426cd7b876afd107621"><code>23dda73</code></a>
fix: share the server on self-referencing <code>extends</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11034">#11034</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/498fbe9222eb9aa3d8cf48481e200c16bb693bbd"><code>498fbe9</code></a>
fix: resolve ResolvedConfig exactOptionalPropertyTypes errors (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11175">#11175</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/115c3f6d2bfa6a8672eeab8cc21bbecc6a4ef3d0"><code>115c3f6</code></a>
fix: correct typos in error message and comments (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11187">#11187</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/73614654a46f617c357920eecda439654a561f92"><code>7361465</code></a>
fix: keep metadata file when clearing the cache (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11199">#11199</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/972e24bab5fb96843de72447eb65585628b8dbde"><code>972e24b</code></a>
fix(browser): avoid double quotes in <code>config.define</code> (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11198">#11198</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.0.1/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />

Updates `@ai-sdk/anthropic` from 4.0.53 to 4.0.58
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vercel/ai/releases">@​ai-sdk/anthropic's
releases</a>.</em></p>
<blockquote>
<h2><code>@​ai-sdk/provider-utils</code><a
href="https://github.com/4"><code>@​4</code></a>.0.54</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p>069a945: Fix Google <code>embedMany</code> calls with more than 100
values by keeping per-value multimodal content aligned across automatic
batches, including text-only entries. Validate content length before
sending requests and validate each batch's provider options after
middleware transforms them.</p>
</li>
<li>
<p>d1a36d2: fix(ai): execute manually approved tool inputs produced by
schema transforms</p>
<p>Preserve approved inputs during revalidation and reject histories
whose reconstructed schema output differs, including signed approvals
with missing original input. Validate transformed UI tool inputs against
the reconstructed output before returning them as static tool parts.</p>
</li>
<li>
<p>f7f36d2: chore: enable dead code lint rules</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vercel/ai/blob/main/packages/anthropic/CHANGELOG.md">@​ai-sdk/anthropic's
changelog</a>.</em></p>
<blockquote>
<h2>4.0.58</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies [2973485]</li>
<li>Updated dependencies [a4db5ea]</li>
<li>Updated dependencies [2937ea2]
<ul>
<li><code>@​ai-sdk/provider-utils</code><a
href="https://github.com/5"><code>@​5</code></a>.0.45</li>
</ul>
</li>
</ul>
<h2>4.0.57</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies [0455398]
<ul>
<li><code>@​ai-sdk/provider-utils</code><a
href="https://github.com/5"><code>@​5</code></a>.0.44</li>
</ul>
</li>
</ul>
<h2>4.0.56</h2>
<h3>Patch Changes</h3>
<ul>
<li>d4d96bf: Add <code>anthropic.evaluationModel()</code> for
experimental Choice, Score, and Boolean evaluations through Messages
structured output, with exact labels, validated score bounds, and
prompted Boolean P(true) estimates validated to be in [0, 1]. Boolean
estimates are not guaranteed to be calibrated; application code chooses
thresholds.</li>
<li>Updated dependencies [215b25e]</li>
<li>Updated dependencies [d4d96bf]</li>
<li>Updated dependencies [a7dd893]</li>
<li>Updated dependencies [3456e2c]</li>
<li>Updated dependencies [c4e76de]
<ul>
<li><code>@​ai-sdk/provider-utils</code><a
href="https://github.com/5"><code>@​5</code></a>.0.43</li>
<li><code>@​ai-sdk/provider</code><a
href="https://github.com/4"><code>@​4</code></a>.0.17</li>
</ul>
</li>
</ul>
<h2>4.0.55</h2>
<h3>Patch Changes</h3>
<ul>
<li>132bdae: feat(anthropic): add 20260318 web search and web fetch
tools with response inclusion controls</li>
<li>Updated dependencies [91c2128]</li>
<li>Updated dependencies [2cd80b3]</li>
<li>Updated dependencies [d06bb2a]</li>
<li>Updated dependencies [123d71f]</li>
<li>Updated dependencies [2fa5e0e]
<ul>
<li><code>@​ai-sdk/provider-utils</code><a
href="https://github.com/5"><code>@​5</code></a>.0.42</li>
<li><code>@​ai-sdk/provider</code><a
href="https://github.com/4"><code>@​4</code></a>.0.16</li>
</ul>
</li>
</ul>
<h2>4.0.54</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies [5c0054d]</li>
<li>Updated dependencies [39535af]
<ul>
<li><code>@​ai-sdk/provider</code><a
href="https://github.com/4"><code>@​4</code></a>.0.15</li>
<li><code>@​ai-sdk/provider-utils</code><a
href="https://github.com/5"><code>@​5</code></a>.0.41</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vercel/ai/commit/08ae5ad05bc12496dd1ffcf64e34419e0831300d"><code>08ae5ad</code></a>
Version Packages (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/anthropic/issues/21089">#21089</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/b3033f77f0459bcc68df182c8052f52305467bcc"><code>b3033f7</code></a>
Version Packages (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/anthropic/issues/20979">#20979</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/1a82df1c7b6239f4cefe9fb73c357b3a6529c629"><code>1a82df1</code></a>
Version Packages (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/anthropic/issues/20860">#20860</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/215b25e47afa03d8755b958ed3fb093c79a47a28"><code>215b25e</code></a>
fix(provider-utils): default language-model evaluations to no reasoning
(<a
href="https://github.com/vercel/ai/tree/HEAD/packages/anthropic/issues/20868">#20868</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/d4d96bfa7648ba039639a66ed07f8e1ad9b928f3"><code>d4d96bf</code></a>
feat: add experimental evaluation models and shared adapter to openai,
google...</li>
<li><a
href="https://github.com/vercel/ai/commit/c60b9d321bb7961679b604b3d06a3f282469c373"><code>c60b9d3</code></a>
Version Packages (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/anthropic/issues/20799">#20799</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/132bdae19a3810777dc573f601f941d0a07a49ca"><code>132bdae</code></a>
feat: add Anthropic 20260318 web search and fetch tools with response
inclusi...</li>
<li><a
href="https://github.com/vercel/ai/commit/c83bc677cd7089b57a618f437d78af88c7057dec"><code>c83bc67</code></a>
feat(bedrock,vertex): add Claude Fable 5.1 model IDs to Bedrock and
Vertex pr...</li>
<li><a
href="https://github.com/vercel/ai/commit/ccecb2d13fdde457c01fa47584fa199a9828a5b0"><code>ccecb2d</code></a>
Version Packages (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/anthropic/issues/20765">#20765</a>)</li>
<li>See full diff in <a
href="https://github.com/vercel/ai/commits/@ai-sdk/anthropic@4.0.58/packages/anthropic">compare
view</a></li>
</ul>
</details>
<br />

Updates `@ai-sdk/openai` from 4.0.66 to 4.0.71
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vercel/ai/blob/main/packages/openai/CHANGELOG.md">@​ai-sdk/openai's
changelog</a>.</em></p>
<blockquote>
<h2>4.0.71</h2>
<h3>Patch Changes</h3>
<ul>
<li>e76a0a3: fix(openai): cancel image edit URL downloads when the
request is aborted</li>
<li>Updated dependencies [2973485]</li>
<li>Updated dependencies [a4db5ea]</li>
<li>Updated dependencies [2937ea2]
<ul>
<li><code>@​ai-sdk/provider-utils</code><a
href="https://github.com/5"><code>@​5</code></a>.0.45</li>
</ul>
</li>
</ul>
<h2>4.0.70</h2>
<h3>Patch Changes</h3>
<ul>
<li>fd75cee: fix(openai): preserve provider file references in Responses
tool results</li>
<li>1f5bb62: fix(openai): send assistant text as Responses easy input
messages</li>
<li>Updated dependencies [0455398]
<ul>
<li><code>@​ai-sdk/provider-utils</code><a
href="https://github.com/5"><code>@​5</code></a>.0.44</li>
</ul>
</li>
</ul>
<h2>4.0.69</h2>
<h3>Patch Changes</h3>
<ul>
<li>d4d96bf: Add experimental Choice, Score, and Boolean evaluations
through <code>openai.evaluationModel()</code> and a shared structured
language-model evaluation adapter in
<code>@ai-sdk/provider-utils/experimental-evaluation</code>. Preserve
exact labels and metadata, validate score bounds, and return prompted
Boolean P(true) estimates validated to be in [0, 1]. Boolean estimates
are not guaranteed to be calibrated; application code chooses
thresholds.</li>
<li>Updated dependencies [215b25e]</li>
<li>Updated dependencies [d4d96bf]</li>
<li>Updated dependencies [a7dd893]</li>
<li>Updated dependencies [3456e2c]</li>
<li>Updated dependencies [c4e76de]
<ul>
<li><code>@​ai-sdk/provider-utils</code><a
href="https://github.com/5"><code>@​5</code></a>.0.43</li>
<li><code>@​ai-sdk/provider</code><a
href="https://github.com/4"><code>@​4</code></a>.0.17</li>
</ul>
</li>
</ul>
<h2>4.0.68</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies [91c2128]</li>
<li>Updated dependencies [2cd80b3]</li>
<li>Updated dependencies [d06bb2a]</li>
<li>Updated dependencies [123d71f]</li>
<li>Updated dependencies [2fa5e0e]
<ul>
<li><code>@​ai-sdk/provider-utils</code><a
href="https://github.com/5"><code>@​5</code></a>.0.42</li>
<li><code>@​ai-sdk/provider</code><a
href="https://github.com/4"><code>@​4</code></a>.0.16</li>
</ul>
</li>
</ul>
<h2>4.0.67</h2>
<h3>Patch Changes</h3>
<ul>
<li>5c0054d: Add optional browser-direct WebRTC for experimental
client-delegated Live conversations alongside the existing WebSocket
path. Exchange SDP through an application endpoint with
<code>api.session</code>, configure server-owned data-channel
permissions, and preserve committed React session ownership. Capture
follows the selected sender track, borrowed tracks remain caller-owned,
and disconnect recovery and finalization stay bounded. Applications
continue to handle client delegation and submit context; Live session
updates and Responses delegation remain unsupported.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vercel/ai/commit/08ae5ad05bc12496dd1ffcf64e34419e0831300d"><code>08ae5ad</code></a>
Version Packages (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/21089">#21089</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/e76a0a367706c081cac0afb7259c6b966aa34519"><code>e76a0a3</code></a>
fix: OpenAI image edits remain pending after cancellation while
downloading i...</li>
<li><a
href="https://github.com/vercel/ai/commit/b3033f77f0459bcc68df182c8052f52305467bcc"><code>b3033f7</code></a>
Version Packages (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/20979">#20979</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/fd75ceeb625c0714a24e92787929038b7ccac12e"><code>fd75cee</code></a>
fix: Preserve uploaded-file references in OpenAI Responses tool results
(<a
href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/20978">#20978</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/1f5bb62f7b64560f44bca0df18ceb666bb29dcb5"><code>1f5bb62</code></a>
fix(openai): send assistant text as Responses easy input messages (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/20995">#20995</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/1a82df1c7b6239f4cefe9fb73c357b3a6529c629"><code>1a82df1</code></a>
Version Packages (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/20860">#20860</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/215b25e47afa03d8755b958ed3fb093c79a47a28"><code>215b25e</code></a>
fix(provider-utils): default language-model evaluations to no reasoning
(<a
href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/20868">#20868</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/d4d96bfa7648ba039639a66ed07f8e1ad9b928f3"><code>d4d96bf</code></a>
feat: add experimental evaluation models and shared adapter to openai,
google...</li>
<li><a
href="https://github.com/vercel/ai/commit/c60b9d321bb7961679b604b3d06a3f282469c373"><code>c60b9d3</code></a>
Version Packages (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/20799">#20799</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/ccecb2d13fdde457c01fa47584fa199a9828a5b0"><code>ccecb2d</code></a>
Version Packages (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/20765">#20765</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vercel/ai/commits/@ai-sdk/openai@4.0.71/packages/openai">compare
view</a></li>
</ul>
</details>
<br />

Updates `@ai-sdk/provider` from 4.0.14 to 4.0.17
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vercel/ai/blob/main/packages/provider/CHANGELOG.md">@​ai-sdk/provider's
changelog</a>.</em></p>
<blockquote>
<h2>4.0.17</h2>
<h3>Patch Changes</h3>
<ul>
<li>a7dd893: Add experimental evaluation model aliases and registry
resolution. <code>customProvider</code> accepts
<code>evaluationModels</code>, registries expose
<code>evaluationModel</code>, and <code>experimental_evaluate</code>
accepts string IDs when an evaluation-capable default provider is
explicitly configured. Evaluation never implicitly falls back to
Gateway. Model-resolution errors now identify
<code>evaluationModel</code> while stable provider contracts remain
unchanged.</li>
</ul>
<h2>4.0.16</h2>
<h3>Patch Changes</h3>
<ul>
<li>d06bb2a: Allow readonly arrays and objects containing them to be
used as JSON values.</li>
<li>123d71f: Add <code>experimental_evaluate</code> and the isolated
experimental v4 evaluation model specification for Choice, Score, and
Boolean questions against shared state. Includes typed answers, optional
Choice/Score distributions, required Boolean probabilities, validation,
retries, cancellation, and
<code>Experimental_EvaluationUnsupportedQuestionTypeError</code> for
unsupported questions.</li>
</ul>
<h2>4.0.15</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p>5c0054d: Add optional browser-direct WebRTC for experimental
client-delegated Live conversations alongside the existing WebSocket
path. Exchange SDP through an application endpoint with
<code>api.session</code>, configure server-owned data-channel
permissions, and preserve committed React session ownership. Capture
follows the selected sender track, borrowed tracks remain caller-owned,
and disconnect recovery and finalization stay bounded. Applications
continue to handle client delegation and submit context; Live session
updates and Responses delegation remain unsupported.</p>
<p>Serialize microphone sender changes and close the peer if detachment
fails, without stopping borrowed tracks. Validate nonempty SDP setup
answers with a bounded response body, and document the same-origin
broker authentication contract.</p>
</li>
<li>
<p>39535af: Add experimental OpenAI Live provider support through the
unified <code>openai.experimental_realtime</code> factory for server
WebSocket sessions with client delegation. Applications own their agents
and tools, receive continuous audio/transcript events and delegation
metadata, and return context through validated channels. Support
immutable startup options, microphone mute controls, graceful session
close, and cumulative voice usage. Responses delegation and Live session
updates reject before sending.</p>
<p>Route known Live model IDs to Live, allow an OpenAI-specific
<code>api</code> override for early-access models, and preserve legacy
Realtime defaults for unknown IDs. Token minting follows the same
selection rules and rejects Live before requesting unsupported
credentials. Extend the realtime v4 specification with optional server
WebSocket configuration, per-connection raw-event parsers, and
model-wide startup/finalization capabilities. This provider layer
supplies connection settings and protocol mapping for server adapters;
browser lifecycle and UI integration belong to the core runtime and
framework hooks.</p>
<p>Preserve Realtime client event IDs for session updates and audio
appends, and correlate server errors with the originating client
event.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vercel/ai/commit/1a82df1c7b6239f4cefe9fb73c357b3a6529c629"><code>1a82df1</code></a>
Version Packages (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/provider/issues/20860">#20860</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/a7dd89386a4ae1e095b9c2f649346763c80c0da4"><code>a7dd893</code></a>
feat(ai): add experimental evaluation model registry support (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/provider/issues/20875">#20875</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/c60b9d321bb7961679b604b3d06a3f282469c373"><code>c60b9d3</code></a>
Version Packages (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/provider/issues/20799">#20799</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/123d71f7a63f04618ac1f4bf62a8301a702ac705"><code>123d71f</code></a>
feat(ai): add experimental evaluation API and model spec (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/provider/issues/20848">#20848</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/d06bb2aaa45c5d97f6c2e6d59b2087b9c56acba6"><code>d06bb2a</code></a>
fix: accept recursively readonly JSON structures as tool-result output
(<a
href="https://github.com/vercel/ai/tree/HEAD/packages/provider/issues/17282">#17282</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/ccecb2d13fdde457c01fa47584fa199a9828a5b0"><code>ccecb2d</code></a>
Version Packages (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/provider/issues/20765">#20765</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/5c0054d54af332cfb587c38fd9034474b92d604f"><code>5c0054d</code></a>
feat(realtime): add optional browser-direct Live WebRTC (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/provider/issues/20630">#20630</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/39535af2f68235d738993906bf4f70ec3cc42cfd"><code>39535af</code></a>
feat(openai): add experimental Live WebSocket provider (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/provider/issues/20627">#20627</a>)</li>
<li>See full diff in <a
href="https://github.com/vercel/ai/commits/@ai-sdk/provider@4.0.17/packages/provider">compare
view</a></li>
</ul>
</details>
<br />

Updates `@anthropic-ai/sdk` from 0.125.0 to 0.127.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/anthropics/anthropic-sdk-typescript/releases">@​anthropic-ai/sdk's
releases</a>.</em></p>
<blockquote>
<h2>sdk: v0.127.0</h2>
<h2>0.127.0 (2026-09-18)</h2>
<p>Full Changelog: <a
href="https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.126.0...sdk-v0.127.0">sdk-v0.126.0...sdk-v0.127.0</a></p>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> add group with display_name to rate limits,
deprecate group_type (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/2575d977be0508d0bd3e3c429b758efeb1e240a2">2575d97</a>)</li>
<li><strong>tools:</strong> add compactBeforeNextTurn() to the tool
runner (<a
href="https://redirect.github.com/anthropics/anthropic-sdk-typescript/issues/682">#682</a>)
(<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/9f75ca69905ba808709c95f31c4159e74fbf6e19">9f75ca6</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><strong>BetaMessageStream:</strong> stop coercing a null
compaction_delta content into &quot;null&quot; (<a
href="https://redirect.github.com/anthropics/anthropic-sdk-typescript/issues/655">#655</a>)
(<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/dbd684543914f57d8d974d28ad97769d123e56a1">dbd6845</a>)</li>
<li><strong>client:</strong> don't retry requests whose body is a stream
or iterator (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/eebc1b995b031c7e288a03c1621a3834cc71f3e3">eebc1b9</a>)</li>
<li><strong>client:</strong> join multiple anthropic-beta values with a
comma and no space (<a
href="https://redirect.github.com/anthropics/anthropic-sdk-typescript/issues/638">#638</a>)
(<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/e0cb1ff479dcd26e58e47dc1ba8c9d68d191e6b5">e0cb1ff</a>)</li>
<li><strong>client:</strong> make pagination exports on the client
namespace type-only (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/5adea1f6fa5063b06fe3384f23d46fb0418da3c4">5adea1f</a>)</li>
<li><strong>internal:</strong> drop jest from tsconfig types (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/60588af343e0c19cc507e5eaef62fb86f28c4c38">60588af</a>)</li>
<li><strong>middleware:</strong> echo a streamed compaction summary in
the fallback continuation (<a
href="https://redirect.github.com/anthropics/anthropic-sdk-typescript/issues/657">#657</a>)
(<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/2e0f0042e8d39d0dccfac8bdcaa42e3d10de626e">2e0f004</a>)</li>
<li><strong>tools:</strong> keep $defs when transformJSONSchema root is
a $ref (<a
href="https://redirect.github.com/anthropics/anthropic-sdk-typescript/issues/687">#687</a>)
(<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/57a9f30bf3cb166666dc8fa3006384977cca8bf6">57a9f30</a>)</li>
</ul>
<h3>Performance Improvements</h3>
<ul>
<li><strong>client:</strong> skip formatting request details when debug
logging is off (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/2b29ed2f71ea72beed40fea45f532f5aec64af2d">2b29ed2</a>)</li>
</ul>
<h3>Chores</h3>
<ul>
<li><strong>ci:</strong> publish releases from Node 24 with its bundled
npm (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/6b3c6f544a17d268ca24e56458b391bb3ad13b26">6b3c6f5</a>)</li>
<li><strong>docs:</strong> add descriptions for enum values and path
parameters (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/cb254c48f3d15edb66b77ff36a3835123ef31fc6">cb254c4</a>)</li>
<li><strong>docs:</strong> clarify the compaction tool_changes and tool
change descriptions (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/5a695eb84e48b7e639465aecd09442ac168f78a5">5a695eb</a>)</li>
<li><strong>internal:</strong> build the sub-packages with TypeScript
6.0.3 (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/8a69ff594ffeec3f6bd964030086b01ae5354aaf">8a69ff5</a>)</li>
<li><strong>internal:</strong> build with TypeScript 6.0.3 and
typescript-eslint 8.58.0 (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/01f3ee693619bd099ce2a85c76a565a46885be19">01f3ee6</a>)</li>
<li><strong>internal:</strong> keep lib/internal out of the published
exports map (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/763fb43ee3a8d55fda55d99fe84a3af4d894366c">763fb43</a>)</li>
<li><strong>internal:</strong> re-export pagination classes with a plain
export list (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/c77bdc3ce95e56cfce425fb1fb1edf21caa74de5">c77bdc3</a>)</li>
<li><strong>internal:</strong> share a single Simplify type util (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/31d5e7574613a6be77e9be5b88b2e73eef50dca2">31d5e75</a>)</li>
<li><strong>internal:</strong> switch unit tests from jest to vitest (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/110542dde844ce5171807af0b8f6dcd14a89a825">110542d</a>,
<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/788c9c62ba2bd8180ffc7dcebd1cee14cd692d03">788c9c6</a>)</li>
</ul>
<h2>sdk: v0.126.0</h2>
<h2>0.126.0 (2026-09-15)</h2>
<p>Full Changelog: <a
href="https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.125.0...sdk-v0.126.0">sdk-v0.125.0...sdk-v0.126.0</a></p>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> add auto mode tool permissions for Managed
Agents (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/7829b4302375a14db64d5536226768601f843233">7829b43</a>)</li>
<li><strong>api:</strong> add compaction parameter and signed compaction
blocks (beta) (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/05fd87804f1cb2db1ea94528ba3b5087403177ba">05fd878</a>)</li>
<li><strong>api:</strong> add enum types for workspace data-residency
geo fields (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/89c59203ec82987a500f8ab9ddf591d1ee6067ae">89c5920</a>)</li>
<li><strong>api:</strong> add thinking_mismatch_allowed entries to
input_transformations (beta) (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/1f32871253f8791de968bcc72e33cc0acf350811">1f32871</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/anthropics/anthropic-sdk-typescript/blob/main/CHANGELOG.md">@​anthropic-ai/sdk's
changelog</a>.</em></p>
<blockquote>
<h2>0.127.0 (2026-09-18)</h2>
<p>Full Changelog: <a
href="https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.126.0...sdk-v0.127.0">sdk-v0.126.0...sdk-v0.127.0</a></p>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> add group with display_name to rate limits,
deprecate group_type (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/2575d977be0508d0bd3e3c429b758efeb1e240a2">2575d97</a>)</li>
<li><strong>tools:</strong> add compactBeforeNextTurn() to the tool
runner (<a
href="https://redirect.github.com/anthropics/anthropic-sdk-typescript/issues/682">#682</a>)
(<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/9f75ca69905ba808709c95f31c4159e74fbf6e19">9f75ca6</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><strong>BetaMessageStream:</strong> stop coercing a null
compaction_delta content into &quot;null&quot; (<a
href="https://redirect.github.com/anthropics/anthropic-sdk-typescript/issues/655">#655</a>)
(<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/dbd684543914f57d8d974d28ad97769d123e56a1">dbd6845</a>)</li>
<li><strong>client:</strong> don't retry requests whose body is a stream
or iterator (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/eebc1b995b031c7e288a03c1621a3834cc71f3e3">eebc1b9</a>)</li>
<li><strong>client:</strong> join multiple anthropic-beta values with a
comma and no space (<a
href="https://redirect.github.com/anthropics/anthropic-sdk-typescript/issues/638">#638</a>)
(<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/e0cb1ff479dcd26e58e47dc1ba8c9d68d191e6b5">e0cb1ff</a>)</li>
<li><strong>client:</strong> make pagination exports on the client
namespace type-only (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/5adea1f6fa5063b06fe3384f23d46fb0418da3c4">5adea1f</a>)</li>
<li><strong>internal:</strong> drop jest from tsconfig types (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/60588af343e0c19cc507e5eaef62fb86f28c4c38">60588af</a>)</li>
<li><strong>middleware:</strong> echo a streamed compaction summary in
the fallback continuation (<a
href="https://redirect.github.com/anthropics/anthropic-sdk-typescript/issues/657">#657</a>)
(<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/2e0f0042e8d39d0dccfac8bdcaa42e3d10de626e">2e0f004</a>)</li>
<li><strong>tools:</strong> keep $defs when transformJSONSchema root is
a $ref (<a
href="https://redirect.github.com/anthropics/anthropic-sdk-typescript/issues/687">#687</a>)
(<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/57a9f30bf3cb166666dc8fa3006384977cca8bf6">57a9f30</a>)</li>
</ul>
<h3>Performance Improvements</h3>
<ul>
<li><strong>client:</strong> skip formatting request details when debug
logging is off (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/2b29ed2f71ea72beed40fea45f532f5aec64af2d">2b29ed2</a>)</li>
</ul>
<h3>Chores</h3>
<ul>
<li><strong>ci:</strong> publish releases from Node 24 with its bundled
npm (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/6b3c6f544a17d268ca24e56458b391bb3ad13b26">6b3c6f5</a>)</li>...

_Description has been truncated_

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-24 16:15:00 -05:00
dependabot[bot] 56edfbc931 deps: bump dotenv from 17.4.2 to 18.0.1 in /sdk/typescript (#3765)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 17.4.2 to
18.0.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md">dotenv's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/motdotla/dotenv/compare/v18.0.0...v18.0.1">18.0.1</a>
(2026-09-18)</h2>
<h3>Changed</h3>
<ul>
<li>Handle file urls in config logging (<a
href="https://redirect.github.com/motdotla/dotenv/pull/1054">#1054</a>)</li>
</ul>
<h2><a
href="https://github.com/motdotla/dotenv/compare/v17.4.2...v18.0.0">18.0.0</a>
(2026-09-17)</h2>
<h3>Added</h3>
<ul>
<li>NEW: Dotenv now has a CLI. (<a
href="https://redirect.github.com/motdotla/dotenv/pull/1022">#1022</a>)</li>
</ul>
<pre lang="sh"><code>$ dotenv run -- node index.js
◇ injected env (2) from .env
Hello Dotenv
</code></pre>
<ul>
<li>NEW: Dotenv now has a fast parser thanks to <a
href="https://github.com/homanp"><code>@​homanp</code></a> of <a
href="https://superagent.sh">superagent.sh</a>. Pass <code>config({
fast: true })</code>, flag <code>--fast</code>, or set
<code>DOTENV_FAST=true</code> to opt-in to ~2x faster character-scanner
parser. (<a
href="https://redirect.github.com/motdotla/dotenv/pull/1010">#1010</a>)</li>
</ul>
<pre lang="sh"><code>$ dotenv run --fast -- node index.js
◇ injected env (2) from .env
Hello Dotenv
</code></pre>
<h3>Changed</h3>
<ul>
<li>Injecting message sent to stderr rather than stdout and tips removed
(<a
href="https://redirect.github.com/motdotla/dotenv/pull/1037">#1037</a>)</li>
</ul>
<h3>Removed</h3>
<ul>
<li>Remove tips (<a
href="https://redirect.github.com/motdotla/dotenv/pull/1031">#1031</a>)</li>
<li>Remove skill files (<a
href="https://redirect.github.com/motdotla/dotenv/pull/1032">#1032</a>)</li>
<li>Remove Spanish README (<a
href="https://redirect.github.com/motdotla/dotenv/pull/1034">#1034</a>)</li>
<li>Remove .env.vault support (<a
href="https://redirect.github.com/motdotla/dotenv/pull/1033">#1033</a>)</li>
<li>Remove preloading. Instead use cli <code>dotenv run --
your-command</code> (<a
href="https://redirect.github.com/motdotla/dotenv/pull/1035">#1035</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/motdotla/dotenv/commit/ce3bfb4a9a3c1a1864533e908cf4a4d5b6c52f23"><code>ce3bfb4</code></a>
18.0.1</li>
<li><a
href="https://github.com/motdotla/dotenv/commit/294230e3ef27fa09ca7e9045263a6f474a473d07"><code>294230e</code></a>
changelog</li>
<li><a
href="https://github.com/motdotla/dotenv/commit/4fcffd4f5c76db54b1e1c0273142112b1496b62f"><code>4fcffd4</code></a>
Merge pull request <a
href="https://redirect.github.com/motdotla/dotenv/issues/1054">#1054</a>
from jakezwang/fix-url-path-logging</li>
<li><a
href="https://github.com/motdotla/dotenv/commit/8ea84d6685d993917345bf972190fdbe67de8385"><code>8ea84d6</code></a>
fix: handle file URLs in config logging</li>
<li><a
href="https://github.com/motdotla/dotenv/commit/2815fa8cb4d2d80cf3e0f9e00b48596b8c066683"><code>2815fa8</code></a>
18.0.0</li>
<li><a
href="https://github.com/motdotla/dotenv/commit/451c6cb074b209b7c52ffb6db9fefc2ec13dcbce"><code>451c6cb</code></a>
add spacing</li>
<li><a
href="https://github.com/motdotla/dotenv/commit/7c7ed02dc4cf0debf1b6bd4bc7fd71b5d04021dc"><code>7c7ed02</code></a>
update README and changelog</li>
<li><a
href="https://github.com/motdotla/dotenv/commit/7454f56fd505ec7f20b32737d60e45a8ea0cf150"><code>7454f56</code></a>
Merge pull request <a
href="https://redirect.github.com/motdotla/dotenv/issues/1052">#1052</a>
from motdotla/cli-cleanup</li>
<li><a
href="https://github.com/motdotla/dotenv/commit/f5de622a590def2d3e46084bbc1b9a07f3a8b37a"><code>f5de622</code></a>
.cmd coverage</li>
<li><a
href="https://github.com/motdotla/dotenv/commit/75289b1a9d85146dcd5511aa22c377865b232c84"><code>75289b1</code></a>
changelog</li>
<li>Additional commits viewable in <a
href="https://github.com/motdotla/dotenv/compare/v17.4.2...v18.0.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dotenv&package-manager=npm_and_yarn&previous-version=17.4.2&new-version=18.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-24 16:14:33 -05:00
JD Davis 94206e2652 chore: release 0.38.0
Release Headroom 0.38.0.
2026-09-21 18:47:42 -05:00
Shubham SrivastavaandJD Davis ebc0b363e4 fix(sdk): emit the final SSE event when the stream has no trailing newline (#3581)
## Description

The TypeScript SDK's `parseSSE()` (used by `HeadroomClient` streaming at
`client.ts:106`/`:158`, and exported from the package root) drops the
**final** event of a stream when that event arrives without a trailing
newline.

The read loop accumulates bytes, splits on `\n`, and holds the last
(possibly incomplete) segment back in `buffer` for the next chunk:

```ts
buffer += decoder.decode(value, { stream: true });
const lines = buffer.split("\n");
buffer = lines.pop()!;   // last segment held back
```

But when the read completes it `break`s immediately, and the `finally`
releases the reader — so whatever is still in `buffer` is discarded. If
the stream closes right after its last `data: {...}` line with no
trailing `\n`, that event is silently lost. The streaming `TextDecoder`
is also never flushed, so a multi-byte character split across the final
chunk boundary can be lost too.

This restructures the loop so the terminating read flushes the decoder
and processes every remaining line (including the last held-back one)
before exiting. `[DONE]` termination, non-JSON `data:` skipping, and
`reader.releaseLock()` in `finally` are unchanged.

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Performance improvement
- [ ] Code refactoring (no functional changes)

## Changes Made

- **`sdk/typescript/src/utils/stream.ts`** — `parseSSE`: on the final
read (`done`), flush the decoder (`decoder.decode()` with no args) and
stop popping the last line so every remaining line is processed; then
`break`. A final unterminated `data:` line is now emitted instead of
dropped.
- **`sdk/typescript/test/utils/stream.test.ts`** (new) — first test
coverage for this module (there was none): the no-trailing-newline
regression, newline-terminated multi-event, event split across chunk
boundaries, `[DONE]` termination, non-JSON line skipping, and a
multi-byte char split across chunks.

## Testing

- [x] Unit tests pass (`npm test` — vitest)
- [x] Type checking passes (`npm run typecheck` — tsc --noEmit)
- [x] Build passes (`npm run build` — tsup)
- [x] New tests added for new functionality

### Test Output

```text
$ cd sdk/typescript && npm test
 Test Files  19 passed | 5 skipped (24)
      Tests  300 passed | 33 skipped (333)

$ npm run typecheck   # tsc --noEmit
(clean, no errors)

$ npm run build       # tsup
(ESM + CJS + DTS built successfully)
```

## Real Behavior Proof

- Environment: Node v22.16.0, Windows 11; TypeScript SDK from this
branch (`cd sdk/typescript && npm install`).
- Exact command / steps: `cd sdk/typescript && npm test`, `npm run
typecheck`, `npm run build`. The new tests drive the real exported
`parseSSE` against `Response` objects backed by a `ReadableStream` with
controlled chunk/byte boundaries.
- Observed result: The regression test streams `['data: {"a":1}\n',
'data: {"b":2}']` (no trailing newline on the last line). Before the fix
`parseSSE` yields only `[{a:1}]` — `data: {"b":2}` is popped into
`buffer` and discarded when the loop exits. After the fix it yields
`[{a:1},{b:2}]`. All 6 new tests pass; full suite 300 passed | 33
skipped; typecheck and build clean.
- Not tested: a live proxy stream. `parseSSE` is pure (input `Response`
→ parsed events) and fully covered by the unit tests over the byte-level
behavior that mattered.

## Runtime Rollout Safety

- Rollout-managed feature(s): None. Client-side TypeScript SDK parser
fix; no server/runtime feature flag or rollout channel involved.
- Minimum rollout channel: N/A.
- Stable/default behavior changed: Only the buggy path changes — a final
event that was dropped is now delivered. Streams that already ended with
a trailing newline parse identically to before (no regression).
- Kill switch / disable path: N/A — correctness fix, not a gated
feature.
- Unsafe override required: No.
- Qualification impact: None — additive coverage; the fix strictly
delivers events that were previously lost.
- Rollback path: Revert this PR; no persisted state, migrations, or
config to unwind.

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] I did **not** edit `CHANGELOG.md` — it is generated by
release-please from my Conventional Commit PR title (a CI guard enforces
this)

## Screenshots (if applicable)

N/A

## Additional Notes

- Scope kept minimal: only `parseSSE`'s loop termination changed, plus a
new test file. `collectStream` and the callers are untouched.
- CHANGELOG left untouched — the `no-manual-changelog` CI guard owns it;
the Conventional Commit title drives the entry.

Co-authored-by: JD Davis <mxjerrett@gmail.com>
2026-09-21 10:22:48 -07:00
dependabot[bot]andJD Davis 2d5909c37a deps: bump the npm-minor-patch group across 3 directories with 6 updates (#3622)
Bumps the npm-minor-patch group with 1 update in the /plugins/openclaw
directory:
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node).
Bumps the npm-minor-patch group with 2 updates in the /plugins/opencode
directory:
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
and @opencode-ai/plugin.
Bumps the npm-minor-patch group with 5 updates in the /sdk/typescript
directory:

| Package | From | To |
| --- | --- | --- |
|
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
| `26.5.0` | `26.5.1` |
|
[@ai-sdk/openai](https://github.com/vercel/ai/tree/HEAD/packages/openai)
| `4.0.60` | `4.0.66` |
|
[@anthropic-ai/sdk](https://github.com/anthropics/anthropic-sdk-typescript)
| `0.124.0` | `0.125.0` |
| [ai](https://github.com/vercel/ai/tree/HEAD/packages/ai) | `7.0.93` |
`7.0.99` |
| [openai](https://github.com/openai/openai-node) | `7.10.0` | `7.15.0`
|


Updates `@types/node` from 26.5.0 to 26.5.1
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `@types/node` from 26.5.0 to 26.5.1
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `@opencode-ai/plugin` from 1.18.29 to 1.18.30

Updates `@types/node` from 26.5.0 to 26.5.1
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />

Updates `@ai-sdk/openai` from 4.0.60 to 4.0.66
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vercel/ai/blob/main/packages/openai/CHANGELOG.md">@​ai-sdk/openai's
changelog</a>.</em></p>
<blockquote>
<h2>4.0.66</h2>
<h3>Patch Changes</h3>
<ul>
<li>5ec21a6: fix: reject unsupported batch request types</li>
<li>7469a3b: feat: support image generation requests in batches</li>
<li>0de8886: fix(openai): allow providers to disable web search source
includes</li>
<li>d5e3024: fix(openai): remove propertyNames from JSON Schema</li>
<li>Updated dependencies [5ec21a6]</li>
<li>Updated dependencies [7469a3b]</li>
<li>Updated dependencies [813bb36]</li>
<li>Updated dependencies [c43e4b7]
<ul>
<li><code>@​ai-sdk/provider</code><a
href="https://github.com/4"><code>@​4</code></a>.0.14</li>
<li><code>@​ai-sdk/provider-utils</code><a
href="https://github.com/5"><code>@​5</code></a>.0.40</li>
</ul>
</li>
</ul>
<h2>4.0.65</h2>
<h3>Patch Changes</h3>
<ul>
<li>9942196: feat(openai): add batch cancellation and listing</li>
<li>Updated dependencies [9942196]
<ul>
<li><code>@​ai-sdk/provider</code><a
href="https://github.com/4"><code>@​4</code></a>.0.13</li>
<li><code>@​ai-sdk/provider-utils</code><a
href="https://github.com/5"><code>@​5</code></a>.0.39</li>
</ul>
</li>
</ul>
<h2>4.0.64</h2>
<h3>Patch Changes</h3>
<ul>
<li>ccb8952: fix(openai): return an AI SDK error for empty chat
completion choices</li>
<li>Updated dependencies [912fb01]
<ul>
<li><code>@​ai-sdk/provider</code><a
href="https://github.com/4"><code>@​4</code></a>.0.12</li>
<li><code>@​ai-sdk/provider-utils</code><a
href="https://github.com/5"><code>@​5</code></a>.0.38</li>
</ul>
</li>
</ul>
<h2>4.0.63</h2>
<h3>Patch Changes</h3>
<ul>
<li>85db433: Include explicit message item types in Azure AI Foundry
Responses requests.</li>
<li>5fb2a64: feat(openai): add GPT Image 2.5 Flare and Sunburst model
IDs</li>
<li>e105b2b: fix(openai): reject denied programmatic tool calls</li>
<li>45f2b6a: fix(openai): report apply patch responses with a tool-calls
finish reason</li>
</ul>
<h2>4.0.62</h2>
<h3>Patch Changes</h3>
<ul>
<li>8487955: Add <code>xhigh</code> and <code>max</code> quality support
for GPT Image 2.5 Flare and Sunburst in image generation, image editing,
and the Responses API image generation tool.</li>
</ul>
<h2>4.0.61</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vercel/ai/commit/9ed46d2da5df1394079c66d422bc553fd0c34376"><code>9ed46d2</code></a>
Version Packages (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/20569">#20569</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/d5e30246540adcc334aab700e9262c038c4cce13"><code>d5e3024</code></a>
fix(openai): remove propertyNames from JSON Schema (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/20621">#20621</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/7469a3bc5daf0fd8c535c903f883d730a39de191"><code>7469a3b</code></a>
feat: support image generation requests in batches (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/20594">#20594</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/0de88864f70b6f02cf89d1625aeb3fece0648a7f"><code>0de8886</code></a>
fix(openai): allow providers to disable web search source includes (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/20599">#20599</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/74bbd933714d5a549927bad0e85117c7a34fd3cd"><code>74bbd93</code></a>
test(openai): avoid network in file path encoding test (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/20592">#20592</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/5ec21a6946e13159d3c353c3fcd170ca8564d378"><code>5ec21a6</code></a>
fix: reject unsupported batch request types (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/20562">#20562</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/e9795abf6185594ecdde53226c8149f8ea8b288d"><code>e9795ab</code></a>
Version Packages (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/20555">#20555</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/99421961221a46f9267080717eacb0109cb9f22d"><code>9942196</code></a>
feat(openai): add batch cancellation and listing (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/20551">#20551</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/65eb52b767008e1dd6a074fbc2e9223ae50a8739"><code>65eb52b</code></a>
Version Packages (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/openai/issues/20524">#20524</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/ccb8952ab73b604b84660a692cb95d972f176fd9"><code>ccb8952</code></a>
fix: handle empty non-streaming chat completion choices as invalid
provider r...</li>
<li>Additional commits viewable in <a
href="https://github.com/vercel/ai/commits/@ai-sdk/openai@4.0.66/packages/openai">compare
view</a></li>
</ul>
</details>
<br />

Updates `@anthropic-ai/sdk` from 0.124.0 to 0.125.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/anthropics/anthropic-sdk-typescript/releases">@​anthropic-ai/sdk's
releases</a>.</em></p>
<blockquote>
<h2>sdk: v0.125.0</h2>
<h2>0.125.0 (2026-09-10)</h2>
<p>Full Changelog: <a
href="https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.124.0...sdk-v0.125.0">sdk-v0.124.0...sdk-v0.125.0</a></p>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> add auto mode tool permissions for Managed
Agents (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/7f5e2c6d01eb3498b86ddbf5eaf1327c266f2ded">7f5e2c6</a>)</li>
<li><strong>api:</strong> add content_too_large web_fetch tool error
code (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/f06416ebff8d2857d8ca9d06123ef6a9cedf2c94">f06416e</a>)</li>
<li><strong>api:</strong> add the user-profiles-2026-09-04 beta value
and external_user_details to user profiles (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/318d42daeb7bbba4eefce7590c3db0bb1dd81b5d">318d42d</a>)</li>
<li><strong>api:</strong> support mounting public GitHub repositories
without an authorization_token in Managed Agents sessions (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/9e2d945226435360915908c529ba7c6969f64458">9e2d945</a>)</li>
</ul>
<h3>Chores</h3>
<ul>
<li><strong>client:</strong> clean up the unused idempotency request
option (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/4ce2772a5020e252725f21400d211b762eb76cdc">4ce2772</a>)</li>
<li><strong>docs:</strong> correct the environment scope field
description (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/835c67764a183cd7d2862b0689a5cce1f4416879">835c677</a>)</li>
<li><strong>internal:</strong> restore package version (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/b43a7f68a067206757391d83a4f7e87e742ef9a1">b43a7f6</a>)</li>
<li><strong>internal:</strong> stop stamping the package version into
generated files (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/80ace5ec7737ed08acfccfa7becaa62c0043b90a">80ace5e</a>)</li>
<li><strong>tests:</strong> restore empty test package marker files (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/4f2751917c04ce1fcd229244f5949acfad804ccd">4f27519</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/anthropics/anthropic-sdk-typescript/blob/main/CHANGELOG.md">@​anthropic-ai/sdk's
changelog</a>.</em></p>
<blockquote>
<h2>0.125.0 (2026-09-10)</h2>
<p>Full Changelog: <a
href="https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.124.0...sdk-v0.125.0">sdk-v0.124.0...sdk-v0.125.0</a></p>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> add auto mode tool permissions for Managed
Agents (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/7f5e2c6d01eb3498b86ddbf5eaf1327c266f2ded">7f5e2c6</a>)</li>
<li><strong>api:</strong> add content_too_large web_fetch tool error
code (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/f06416ebff8d2857d8ca9d06123ef6a9cedf2c94">f06416e</a>)</li>
<li><strong>api:</strong> add the user-profiles-2026-09-04 beta value
and external_user_details to user profiles (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/318d42daeb7bbba4eefce7590c3db0bb1dd81b5d">318d42d</a>)</li>
<li><strong>api:</strong> support mounting public GitHub repositories
without an authorization_token in Managed Agents sessions (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/9e2d945226435360915908c529ba7c6969f64458">9e2d945</a>)</li>
</ul>
<h3>Chores</h3>
<ul>
<li><strong>client:</strong> clean up the unused idempotency request
option (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/4ce2772a5020e252725f21400d211b762eb76cdc">4ce2772</a>)</li>
<li><strong>docs:</strong> correct the environment scope field
description (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/835c67764a183cd7d2862b0689a5cce1f4416879">835c677</a>)</li>
<li><strong>internal:</strong> restore package version (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/b43a7f68a067206757391d83a4f7e87e742ef9a1">b43a7f6</a>)</li>
<li><strong>internal:</strong> stop stamping the package version into
generated files (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/80ace5ec7737ed08acfccfa7becaa62c0043b90a">80ace5e</a>)</li>
<li><strong>tests:</strong> restore empty test package marker files (<a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/4f2751917c04ce1fcd229244f5949acfad804ccd">4f27519</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/135f71e9297683e14614d4307081c0273ed0a09c"><code>135f71e</code></a>
Merge pull request <a
href="https://redirect.github.com/anthropics/anthropic-sdk-typescript/issues/1184">#1184</a>
from anthropics/release-please--branches--main--chan...</li>
<li><a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/415537b991217ebb2ec3d345f5e1cfb6c6bef0e0"><code>415537b</code></a>
chore: release main</li>
<li><a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/7f5e2c6d01eb3498b86ddbf5eaf1327c266f2ded"><code>7f5e2c6</code></a>
feat(api): add auto mode tool permissions for Managed Agents</li>
<li><a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/9e2d945226435360915908c529ba7c6969f64458"><code>9e2d945</code></a>
feat(api): support mounting public GitHub repositories without an
authorizati...</li>
<li><a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/96ecb87b40b69b8638e2771ca28217d40cadf687"><code>96ecb87</code></a>
environments: the worker runs on the work item's session token alone
when one...</li>
<li><a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/318d42daeb7bbba4eefce7590c3db0bb1dd81b5d"><code>318d42d</code></a>
feat(api): add the user-profiles-2026-09-04 beta value and
external_user_deta...</li>
<li><a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/835c67764a183cd7d2862b0689a5cce1f4416879"><code>835c677</code></a>
chore(docs): correct the environment scope field description</li>
<li><a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/4ce2772a5020e252725f21400d211b762eb76cdc"><code>4ce2772</code></a>
chore(client): clean up the unused idempotency request option</li>
<li><a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/f06416ebff8d2857d8ca9d06123ef6a9cedf2c94"><code>f06416e</code></a>
feat(api): add content_too_large web_fetch tool error code</li>
<li><a
href="https://github.com/anthropics/anthropic-sdk-typescript/commit/b43a7f68a067206757391d83a4f7e87e742ef9a1"><code>b43a7f6</code></a>
chore(internal): restore package version</li>
<li>Additional commits viewable in <a
href="https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.124.0...sdk-v0.125.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `ai` from 7.0.93 to 7.0.99
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vercel/ai/blob/main/packages/ai/CHANGELOG.md">ai's
changelog</a>.</em></p>
<blockquote>
<h2>7.0.99</h2>
<h3>Patch Changes</h3>
<ul>
<li>615ac89: feat(ai): use InvalidArgumentError for utility input
validation</li>
<li>Updated dependencies [7f76d83]
<ul>
<li><code>@​ai-sdk/gateway</code><a
href="https://github.com/4"><code>@​4</code></a>.0.80</li>
</ul>
</li>
</ul>
<h2>7.0.98</h2>
<h3>Patch Changes</h3>
<ul>
<li>5ec21a6: fix: reject unsupported batch request types</li>
<li>db59d78: feat(ai): add runtime context attribution to embed,
embedMany and rerank</li>
<li>7469a3b: feat: support image generation requests in batches</li>
<li>f87bf07: fix(ai): reject invalid reranking provider indices</li>
<li>bc5cb7a: fix(ai): accept inferred tools in
<code>validateUIMessages</code></li>
<li>a5f449a: feat(ai): add a stable UI message type and type guard for
tool output errors</li>
<li>Updated dependencies [5ec21a6]</li>
<li>Updated dependencies [7469a3b]</li>
<li>Updated dependencies [dbd83a3]</li>
<li>Updated dependencies [813bb36]</li>
<li>Updated dependencies [c43e4b7]</li>
<li>Updated dependencies [03f4e59]
<ul>
<li><code>@​ai-sdk/gateway</code><a
href="https://github.com/4"><code>@​4</code></a>.0.79</li>
<li><code>@​ai-sdk/provider</code><a
href="https://github.com/4"><code>@​4</code></a>.0.14</li>
<li><code>@​ai-sdk/provider-utils</code><a
href="https://github.com/5"><code>@​5</code></a>.0.40</li>
</ul>
</li>
</ul>
<h2>7.0.97</h2>
<h3>Patch Changes</h3>
<ul>
<li>ef3bac4: Observe video webhook receiver rejections before generation
starts to prevent unhandled rejections during or after a failed start.
Preserve start error precedence and assimilate custom receivers only
once.</li>
<li>9942196: feat: add batch cancel and list APIs</li>
<li>Updated dependencies [9942196]
<ul>
<li><code>@​ai-sdk/provider</code><a
href="https://github.com/4"><code>@​4</code></a>.0.13</li>
<li><code>@​ai-sdk/gateway</code><a
href="https://github.com/4"><code>@​4</code></a>.0.78</li>
<li><code>@​ai-sdk/provider-utils</code><a
href="https://github.com/5"><code>@​5</code></a>.0.39</li>
</ul>
</li>
</ul>
<h2>7.0.96</h2>
<h3>Patch Changes</h3>
<ul>
<li>912fb01: feat: add batch cancel and list APIs</li>
<li>c595e6e: fix(ai): call <code>atob</code> without a receiver for
Cloudflare Workers compatibility</li>
<li>Updated dependencies [912fb01]</li>
<li>Updated dependencies [aa4cc14]</li>
<li>Updated dependencies [f102e41]
<ul>
<li><code>@​ai-sdk/provider</code><a
href="https://github.com/4"><code>@​4</code></a>.0.12</li>
<li><code>@​ai-sdk/gateway</code><a
href="https://github.com/4"><code>@​4</code></a>.0.77</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vercel/ai/commit/6c6c2210b9532a4c369615c044a16d595f3db117"><code>6c6c221</code></a>
Version Packages (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/ai/issues/20670">#20670</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/615ac892b4b1bd0fb0b769fbf906588b27437a97"><code>615ac89</code></a>
feat: use InvalidArgumentError for utility input validation (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/ai/issues/20304">#20304</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/9ed46d2da5df1394079c66d422bc553fd0c34376"><code>9ed46d2</code></a>
Version Packages (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/ai/issues/20569">#20569</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/a5f449ad2d94713240d68bc33cd0f8a0b45b2aa4"><code>a5f449a</code></a>
feat: add a stable UI message type and type guard for tool output errors
(<a
href="https://github.com/vercel/ai/tree/HEAD/packages/ai/issues/20">#20</a>...</li>
<li><a
href="https://github.com/vercel/ai/commit/bc5cb7ac5f966a721d86edd1099f8482f7ffb168"><code>bc5cb7a</code></a>
fix(ai): accept inferred tools in <code>validateUIMessages</code> (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/ai/issues/20660">#20660</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/db59d78f8134ff9d231bbe34a91ca882013e1740"><code>db59d78</code></a>
feat(ai): add runtime context attribution to embed, embedMany and rerank
(<a
href="https://github.com/vercel/ai/tree/HEAD/packages/ai/issues/20">#20</a>...</li>
<li><a
href="https://github.com/vercel/ai/commit/7469a3bc5daf0fd8c535c903f883d730a39de191"><code>7469a3b</code></a>
feat: support image generation requests in batches (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/ai/issues/20594">#20594</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/f87bf07ebe466217464770ee37abe32bda3f2697"><code>f87bf07</code></a>
fix: rerank() returns undefined documents for invalid provider ranking
indice...</li>
<li><a
href="https://github.com/vercel/ai/commit/5ec21a6946e13159d3c353c3fcd170ca8564d378"><code>5ec21a6</code></a>
fix: reject unsupported batch request types (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/ai/issues/20562">#20562</a>)</li>
<li><a
href="https://github.com/vercel/ai/commit/e9795abf6185594ecdde53226c8149f8ea8b288d"><code>e9795ab</code></a>
Version Packages (<a
href="https://github.com/vercel/ai/tree/HEAD/packages/ai/issues/20555">#20555</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vercel/ai/commits/ai@7.0.99/packages/ai">compare
view</a></li>
</ul>
</details>
<br />

Updates `openai` from 7.10.0 to 7.15.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/openai/openai-node/releases">openai's
releases</a>.</em></p>
<blockquote>
<h2>v7.15.0</h2>
<h2><a
href="https://github.com/openai/openai-node/compare/v7.14.0...v7.15.0">7.15.0</a>
(2026-09-10)</h2>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> add Agents API (<a
href="https://redirect.github.com/openai/openai-node/issues/2719">#2719</a>)
(<a
href="https://github.com/openai/openai-node/commit/20a47f9d608885c73a8053a4036b1faec9b5493f">20a47f9</a>)</li>
</ul>
<h2>v7.14.0</h2>
<h2><a
href="https://github.com/openai/openai-node/compare/v7.13.0...v7.14.0">7.14.0</a>
(2026-09-10)</h2>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> Add Live API (<a
href="https://github.com/openai/openai-node/commit/c037ba724235cd58943e95d5b3b98ff76235e83c">c037ba7</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><strong>deps-dev:</strong> bump joi from 18.2.3 to 18.2.5 in
/ecosystem-tests/vercel-edge (<a
href="https://redirect.github.com/openai/openai-node/issues/2702">#2702</a>)
(<a
href="https://github.com/openai/openai-node/commit/029b805b8d65995a9f53d8872ee83cd4b145355b">029b805</a>)</li>
<li><strong>deps:</strong> bump next from 15.5.23 to 15.5.25 in
/ecosystem-tests/vercel-edge (<a
href="https://redirect.github.com/openai/openai-node/issues/2703">#2703</a>)
(<a
href="https://github.com/openai/openai-node/commit/e9446db4bc43ce7977a4957c9990bddb8fc5913f">e9446db</a>)</li>
<li><strong>deps:</strong> bump sharp from 0.35.3 to 0.35.4 in
/ecosystem-tests/vercel-edge (<a
href="https://redirect.github.com/openai/openai-node/issues/2704">#2704</a>)
(<a
href="https://github.com/openai/openai-node/commit/ca957050c7cfd8c4a12335ee3345148a660827cc">ca95705</a>)</li>
<li><strong>deps:</strong> update remaining tooling and fixture patches
(<a
href="https://redirect.github.com/openai/openai-node/issues/2712">#2712</a>)
(<a
href="https://github.com/openai/openai-node/commit/bcaabee91cf476446cfd79e4fd71bf0c80fe157b">bcaabee</a>)</li>
</ul>
<h2>v7.13.0</h2>
<h2><a
href="https://github.com/openai/openai-node/compare/v7.12.1...v7.13.0">7.13.0</a>
(2026-09-09)</h2>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> Add API key expiration controls (<a
href="https://redirect.github.com/openai/openai-node/issues/2708">#2708</a>)
(<a
href="https://github.com/openai/openai-node/commit/b4168065d3839b3008d557fdbb8972da2e247f24">b416806</a>)</li>
</ul>
<h2>v7.12.1</h2>
<h2><a
href="https://github.com/openai/openai-node/compare/v7.12.0...v7.12.1">7.12.1</a>
(2026-09-09)</h2>
<p>Includes the GPT Image 2.5 support from 7.12.0, which was not
published to npm.</p>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> add GPT Image 2.5 models and image options (<a
href="https://redirect.github.com/openai/openai-node/pull/2705">#2705</a>)
(<a
href="https://github.com/openai/openai-node/commit/6500a1670911e8f5a6cbbd9f7ff42800af6450cd">6500a16</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><strong>ci:</strong> run Cloudflare example regressions before
release (<a
href="https://redirect.github.com/openai/openai-node/issues/2706">#2706</a>)
(<a
href="https://github.com/openai/openai-node/commit/c5cc31c5895b7cc69f49cb36ab2badc5fbd35b51">c5cc31c</a>)</li>
</ul>
<h2>v7.12.0</h2>
<h2><a
href="https://github.com/openai/openai-node/compare/v7.11.0...v7.12.0">7.12.0</a>
(2026-09-08)</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/openai/openai-node/blob/main/CHANGELOG.md">openai's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/openai/openai-node/compare/v7.14.0...v7.15.0">7.15.0</a>
(2026-09-10)</h2>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> add Agents API (<a
href="https://redirect.github.com/openai/openai-node/issues/2719">#2719</a>)
(<a
href="https://github.com/openai/openai-node/commit/20a47f9d608885c73a8053a4036b1faec9b5493f">20a47f9</a>)</li>
</ul>
<h2><a
href="https://github.com/openai/openai-node/compare/v7.13.0...v7.14.0">7.14.0</a>
(2026-09-10)</h2>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> Add Live API (<a
href="https://github.com/openai/openai-node/commit/c037ba724235cd58943e95d5b3b98ff76235e83c">c037ba7</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><strong>deps-dev:</strong> bump joi from 18.2.3 to 18.2.5 in
/ecosystem-tests/vercel-edge (<a
href="https://redirect.github.com/openai/openai-node/issues/2702">#2702</a>)
(<a
href="https://github.com/openai/openai-node/commit/029b805b8d65995a9f53d8872ee83cd4b145355b">029b805</a>)</li>
<li><strong>deps:</strong> bump next from 15.5.23 to 15.5.25 in
/ecosystem-tests/vercel-edge (<a
href="https://redirect.github.com/openai/openai-node/issues/2703">#2703</a>)
(<a
href="https://github.com/openai/openai-node/commit/e9446db4bc43ce7977a4957c9990bddb8fc5913f">e9446db</a>)</li>
<li><strong>deps:</strong> bump sharp from 0.35.3 to 0.35.4 in
/ecosystem-tests/vercel-edge (<a
href="https://redirect.github.com/openai/openai-node/issues/2704">#2704</a>)
(<a
href="https://github.com/openai/openai-node/commit/ca957050c7cfd8c4a12335ee3345148a660827cc">ca95705</a>)</li>
<li><strong>deps:</strong> update remaining tooling and fixture patches
(<a
href="https://redirect.github.com/openai/openai-node/issues/2712">#2712</a>)
(<a
href="https://github.com/openai/openai-node/commit/bcaabee91cf476446cfd79e4fd71bf0c80fe157b">bcaabee</a>)</li>
</ul>
<h2><a
href="https://github.com/openai/openai-node/compare/v7.12.1...v7.13.0">7.13.0</a>
(2026-09-09)</h2>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> Add API key expiration controls (<a
href="https://redirect.github.com/openai/openai-node/issues/2708">#2708</a>)
(<a
href="https://github.com/openai/openai-node/commit/b4168065d3839b3008d557fdbb8972da2e247f24">b416806</a>)</li>
</ul>
<h2><a
href="https://github.com/openai/openai-node/compare/v7.12.0...v7.12.1">7.12.1</a>
(2026-09-09)</h2>
<p>Includes the GPT Image 2.5 support from 7.12.0, which was not
published to npm.</p>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> add GPT Image 2.5 models and image options (<a
href="https://redirect.github.com/openai/openai-node/pull/2705">#2705</a>)
(<a
href="https://github.com/openai/openai-node/commit/6500a1670911e8f5a6cbbd9f7ff42800af6450cd">6500a16</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><strong>ci:</strong> run Cloudflare example regressions before
release (<a
href="https://redirect.github.com/openai/openai-node/issues/2706">#2706</a>)
(<a
href="https://github.com/openai/openai-node/commit/c5cc31c5895b7cc69f49cb36ab2badc5fbd35b51">c5cc31c</a>)</li>
</ul>
<h2><a
href="https://github.com/openai/openai-node/compare/v7.11.0...v7.12.0">7.12.0</a>
(2026-09-08)</h2>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> add GPT Image 2.5 models and image options (<a
href="https://redirect.github.com/openai/openai-node/issues/2705">#2705</a>)
(<a
href="https://github.com/openai/openai-node/commit/6500a1670911e8f5a6cbbd9f7ff42800af6450cd">6500a16</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/openai/openai-node/commit/50eb4b26fc4a70ac355aff5d822e250602faa1e5"><code>50eb4b2</code></a>
release: 7.15.0 (<a
href="https://redirect.github.com/openai/openai-node/issues/2720">#2720</a>)</li>
<li><a
href="https://github.com/openai/openai-node/commit/20a47f9d608885c73a8053a4036b1faec9b5493f"><code>20a47f9</code></a>
feat(api): add Agents API (<a
href="https://redirect.github.com/openai/openai-node/issues/2719">#2719</a>)</li>
<li><a
href="https://github.com/openai/openai-node/commit/c1f88cdebeb8ecb573384cb37f4302a641f7877c"><code>c1f88cd</code></a>
release: 7.14.0 (<a
href="https://redirect.github.com/openai/openai-node/issues/2711">#2711</a>)</li>
<li><a
href="https://github.com/openai/openai-node/commit/c037ba724235cd58943e95d5b3b98ff76235e83c"><code>c037ba7</code></a>
feat(api) Add Live API (<a
href="https://redirect.github.com/openai/openai-node/issues/2718">#2718</a>)</li>
<li><a
href="https://github.com/openai/openai-node/commit/fe2d6a382623b00753f002de539f8a26c936b5be"><code>fe2d6a3</code></a>
test: reduce CI subprocess and validation overhead (<a
href="https://redirect.github.com/openai/openai-node/issues/2713">#2713</a>)</li>
<li><a
href="https://github.com/openai/openai-node/commit/bcaabee91cf476446cfd79e4fd71bf0c80fe157b"><code>bcaabee</code></a>
fix(deps): update remaining tooling and fixture patches (<a
href="https://redirect.github.com/openai/openai-node/issues/2712">#2712</a>)</li>
<li><a
href="https://github.com/openai/openai-node/commit/029b805b8d65995a9f53d8872ee83cd4b145355b"><code>029b805</code></a>
fix(deps-dev): bump joi from 18.2.3 to 18.2.5 in
/ecosystem-tests/vercel-edge...</li>
<li><a
href="https://github.com/openai/openai-node/commit/e9446db4bc43ce7977a4957c9990bddb8fc5913f"><code>e9446db</code></a>
fix(deps): bump next from 15.5.23 to 15.5.25 in
/ecosystem-tests/vercel-edge ...</li>
<li><a
href="https://github.com/openai/openai-node/commit/ca957050c7cfd8c4a12335ee3345148a660827cc"><code>ca95705</code></a>
fix(deps): bump sharp from 0.35.3 to 0.35.4 in
/ecosystem-tests/vercel-edge (...</li>
<li><a
href="https://github.com/openai/openai-node/commit/a661a7dc7b28a4cfc00a3d1e7277c7a91086f517"><code>a661a7d</code></a>
release: 7.13.0 (<a
href="https://redirect.github.com/openai/openai-node/issues/2710">#2710</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/openai/openai-node/compare/v7.10.0...v7.15.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JD Davis <mxjerrett@gmail.com>
2026-09-21 09:52:00 -07:00
JD Davisanddependabot[bot] aa4739e54a chore(deps): consolidate current dependency updates (#3568)
## Description

Consolidates every currently open Dependabot update into one changeset,
rebased on current `main`, and advances stale bot proposals to the
newest compatible releases available on 2026-09-12.

TypeScript 6 exposed two SDK declaration-build assumptions: tsup injects
the deprecated `baseUrl` option, and the SDK needs explicit Node/DOM
ambient types. The SDK tsconfig now acknowledges TypeScript 6
deprecations and declares those environments explicitly. TypeScript 7
remains bounded by the existing verified tsup compiler-API
incompatibility.

This draft supersedes #3535, #3536, #3537, #3538, #3539, and #3540 after
merge. Do not close those PRs early; keeping them open preserves update
visibility until this combined branch lands.

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)

## Changes Made

- Ruff 0.16.7 in the Python manifest, lockfile, and pre-commit
configuration.
- `astral-sh/setup-uv` v10.1.0 in the security workflow.
- TypeScript 6.0.3, `@ai-sdk/provider` 4.0.14, and `@ai-sdk/anthropic`
4.0.53 in the TypeScript SDK.
- tree-sitter 0.27.0 in the Rust core and Cargo lockfile.
- Explicit Node/DOM types and TypeScript 6 deprecation handling for SDK
declaration builds.

## Testing

- [x] Unit tests pass
- [x] Manual testing performed

### Test Output

- SDK clean install and audit: 0 vulnerabilities.
- SDK declaration build and typecheck passed.
- SDK tests: 294 passed, 33 external/integration skips.
- Release workflow tests: 50 passed.
- Rust workspace/all-target `cargo check --locked` passed.
- Rust workspace/all-target clippy passed with `-D warnings`.
- Ruff check and format check passed.
- `uv lock --check`, actionlint, cargo fmt, and git diff checks passed.

## Real Behavior Proof

- Reproduced the TypeScript 6 declaration failure locally (`TS5101` from
tsup's injected `baseUrl`) before the compatibility change.
- After the fix, a clean npm install builds ESM, CJS, and all
declaration artifacts, typechecks, and passes the SDK suite.

## Review Readiness

- [x] I have performed a self-review
- [ ] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I did **not** edit `CHANGELOG.md`

## Additional Notes

The four existing unpatched optional-extra alerts remain: three ChromaDB
advisories and one Accelerate advisory have no patched release. Existing
bounded Dependabot ignores preserve future eligible versions and do not
dismiss alerts.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-13 12:07:11 -05:00
JD Davis 04cdf79ab0 fix: stabilize release checks and consolidate dependency updates (#3531)
## Description

Consolidates the open dependency updates into one draft and fixes the
remaining release 0.38.0 test failures. Release packaging already
includes the merged Node 24 fix from #3516. The concurrency test now
proves request overlap with a barrier, and the release workflow tests
verify registry-range consistency and publication failure gating without
hard-coding obsolete dependency versions.

Updates npm, Cargo, Python, and GitHub Actions dependencies. Adds
recurring audits of all five npm lockfiles at every severity. Upgrades
CrewAI to remove its vulnerable json-repair 0.25.2 pin, and replaces
yanked chacha20 and pypdfium2 releases.

This remains a draft. All 67 hosted checks pass on 59854000c, including
CI, release dry-run, security scans, and end-to-end tests. Unpatched
optional ChromaDB/Accelerate vulnerabilities still prevent claiming that
all dependency security issues are fixed. No alerts are dismissed and no
integration is removed.

## Type of Change

- [x] Bug fix (non-breaking change that fixes an issue)

## Changes Made

- Upgrade OpenAI SDK / AI SDK development dependencies, Fumadocs
Twoslash, docs TypeScript, OpenCode Vitest, grouped npm dependencies,
and the wrap CLI pin.
- Upgrade Cargo's grouped dependencies, Redis to locked 1.7.0,
tree-sitter to 0.26.12, and chacha20 to 0.10.2.
- Upgrade Ruff to 0.16.4, Sentence Transformers to locked 6.0.1, CrewAI
to >=1.15.21 / json-repair 0.60.1, and pypdfium2 to 5.13.0.
- Consolidate checkout v7 and the Rust toolchain / PyPI publishing
action updates. Use Node 24 for OpenCode's Vitest 5 checks.
- Scope TypeScript 7 exceptions to the SDK and plugins whose tsup
declaration builds still require its legacy compiler API. Docs uses
TypeScript 7 successfully. Retain the Python tree-sitter-language-pack
1.x compatibility exception documented in #1216.
- Ignore only the reviewed unpatched ChromaDB/Accelerate update ranges,
leaving later releases eligible. Document all five distinct upstream
advisories in SECURITY.md (four currently have open repository
Dependabot alerts).

## Dependabot PR disposition

The dispositions below describe what this branch will supersede after
successful validation and merge. They do not authorize closing the PRs
before then. Future releases and newly disclosed advisories must remain
eligible for updates.

| PRs | Disposition |
| --- | --- |
| #3530, #3524 | @ai-sdk/openai 4.0.60 in SDK and docs |
| #3529, #3526, #3297 | openai 7.10.0 in SDK and docs |
| #3525 | fumadocs-twoslash 4.0.0 |
| #2278 | docs TypeScript 7.0.2 |
| #3528, #3527, #2282 | Bounded TypeScript 7 exception for tsup
consumers; TypeScript 7 declaration failure reproduced |
| #3523 | Grouped npm updates included |
| #3518 | Cargo grouped updates included |
| #3515 | Superseded secure wrap tree: OpenClaw 2026.9.3, Hono 4.13.7,
tar 7.5.22 |
| #3497 | OpenCode Vitest 5.0.0 |
| #3420 | TOML 4.3.0 already present |
| #3303 | All remaining checkout actions moved to v7 |
| #3299 | PyPI publish action 1.14.2; Rust uses @stable with explicit
1.95.0 input matching rust-toolchain.toml (1.100.0 downloads return 404,
and compiler versions are no longer action refs for Dependabot to
update) |
| #3292 | Sentence Transformers <7 constraint, locked 6.0.1 |
| #3291 | Bounded language-pack 1.x exception; incompatible parser API
documented in #1216 |
| #3290 | Ruff 0.16.4 in pyproject, lockfile, and pre-commit |
| #3159 | Rust tree-sitter 0.26.12, grammar versions unchanged |
| #3148 | Redis 1.x supported and locked at 1.7.0 |

## Testing

- [x] Unit tests pass (`pytest`) for the changed/tested areas below
- [x] Manual testing performed

### Test Output

- All five npm locks audit clean; changed npm trees re-audited after
major upgrades.
- SDK: typecheck, build, 294 tests passed / 33 external integration
tests skipped.
- OpenCode: typecheck, build, 17 tests passed; both rebuilt standalone
artifacts match the committed wheel bundles.
- OpenClaw: typecheck and build passed. Wrap CLIs installed and version
checks passed.
- Docs: fresh-container npm ci, typecheck, and production build passed
with TypeScript 7 and Twoslash 4 (164 pages), excluding all generated
caches. Updated Twoslash compiler options to its native string format
after hosted CI exposed the old numeric/filename configuration.
- Rust: core check with Redis enabled passed; 14 CCR backend tests
passed against a live isolated Redis, including round-trip and TTL
tests. All 30 code-compression parity fixtures matched. Other parity
categories passed or reported their existing unavailable
comparators/models.
- Cargo audit: zero vulnerabilities and warnings under the existing
repository policy; its existing unmaintained-paste exception is
unchanged.
- Python: all 50 release workflow tests plus embedder tests passed (62
passed, 3 MPS-only skips); all 12 CrewAI integration tests passed
against dependencies exported from the revised lockfile.
- Real Sentence Transformers 6.0.1 CPU embedding produced a (2, 384)
array; PDFium 5.13.0 rendered a 100x100 page.
- PyPI vulnerability metadata checked for all 288 registry
package/version pairs in uv.lock. Only ChromaDB and Accelerate remain
affected. The production pip-audit export also passed after the final
CrewAI-related lock refresh.
- Ruff 0.16.4, actionlint, uv lock --check, Dependabot directory
uniqueness, and git diff --check passed.
- Final combined release/concurrency suite: 76 passed. Strict
workspace/all-target Rust clippy with Redis enabled passed with -D
warnings.
- Independent read-only review found no important actionable issues
before pushing e5c542f57. Hosted CI then exposed unavailable Rust
1.100.0 downloads and obsolete Twoslash compiler options; both were
corrected in 59854000c. All 67 hosted checks passed on final commit
59854000c: CI run 34506787966 and release dry-run 34506788244 both
succeeded. All four Python shards passed; shard 1 reported 3,037 passed
/ 141 skipped. The docs build, Rust tests/parity/audit, all wheel import
checks, security scans, devcontainers, and Docker/native end-to-end
checks also passed.

## Real Behavior Proof

- Environment: local Windows/Python 3.12, Linux Node 24 containers, and
isolated Redis 7 container.
- Exact command / steps: npm package scripts; cargo test --locked -p
headroom-core --features redis --test ccr_backends with
HEADROOM_TEST_REDIS_URL set; cargo run --locked -p headroom-parity --
run --fixtures tests/parity/fixtures; pytest
tests/test_release_workflows.py and relevant embedder/CrewAI tests.
- Observed result: tests and builds above pass. Temporarily serializing
the overlap test causes TimeoutError; restoring unbounded mode passes
all 26 tests in that module.
- Not performed: publication or merge. Final hosted CI and release
dry-run both passed. MPS-only and external-service SDK tests were
skipped locally.

## Runtime Rollout Safety

- Rollout-managed feature(s): no new feature flags; dependency and test
changes.
- Minimum rollout channel: existing policy unchanged.
- Stable/default behavior changed: dependency versions updated; no
integration removed.
- Kill switch / disable path: existing feature controls unchanged.
- Unsafe override required: no.
- Qualification impact: hosted release, security, and end-to-end checks
passed on final head 59854000c. Unpatched optional-extra advisories
remain a security qualification blocker.
- Rollback path: revert the applicable commits.

## Review Readiness

- [x] I have performed a self-review
- [ ] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I did **not** edit `CHANGELOG.md`

## Additional Notes

Unresolved upstream vulnerabilities: ChromaDB GHSA-f4j7-r4q5-qw2c,
GHSA-2wm9-hf6c-p5cr, GHSA-36p7-vc44-83pf, GHSA-xph7-9rjv-w5fr;
Accelerate GHSA-4j2p-28q2-5m79. Existing exposure restrictions are
mitigations, not fixes. Dependabot ignore rules cannot make these
dependencies vulnerability-free. Keep this draft open; do not merge
automatically.
2026-09-10 12:34:31 -05:00
dependabot[bot]andJerrett Davis 6f1251f6f3 deps: bump vitest from 4.1.10 to 5.0.0 in /sdk/typescript (#3496)
## Maintainer validation

Reviewed the Vitest 5 dependency/lockfile migration and test usage.
Local Node 24 validation: 294 tests passed, 33 skipped; typecheck and
build passed. The same tests also passed on Node 20, although Vitest 5
officially requires Node 22.12+ for development/test execution. The
failing Docker job was the previously reproduced npm 10.9.8 Arborist
edgesOut crash, unrelated to Vitest. Applied the exact already-validated
npm 11.16.0 Docker pin; new remote CI is pending.

Bumps
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
from 4.1.10 to 5.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.0</h2>
<p>Vitest 5 is officially out! This release focuses on performance and
brings a lot of new features while fixing long-standing bugs. See our <a
href="https://vitest.dev/blog/vitest-5.html">blog post</a> for the
official announcement.</p>
<h3>   🚨 Breaking Changes</h3>
<ul>
<li>Replace <code>loupe.inspect</code> with pretty-format  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Claude Opus 5 (1M context)</strong> and <strong>OpenAI
Codex</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/9609">vitest-dev/vitest#9609</a>
<a href="https://github.com/vitest-dev/vitest/commit/3f802da4b"><!-- raw
HTML omitted -->(3f802)<!-- raw HTML omitted --></a></li>
<li>Remove quotes from string values in <code>test.for/each</code> title
<code>$</code> variable (take 2)  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10170">vitest-dev/vitest#10170</a>
<a href="https://github.com/vitest-dev/vitest/commit/04d37e9d7"><!-- raw
HTML omitted -->(04d37)<!-- raw HTML omitted --></a></li>
<li>Default <code>attachmentsDir</code> from
<code>.vitest-attachements/</code> to <code>.vitest/attachments/</code>
 -  by <a
href="https://github.com/MdSadiqMd"><code>@​MdSadiqMd</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10186">vitest-dev/vitest#10186</a>
<a href="https://github.com/vitest-dev/vitest/commit/1ba7338c3"><!-- raw
HTML omitted -->(1ba73)<!-- raw HTML omitted --></a></li>
<li>Remove <code>sequential</code> test/suite options in favor of
<code>concurrent</code>  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>OpenAI Codex</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10198">vitest-dev/vitest#10198</a>
<a href="https://github.com/vitest-dev/vitest/commit/9229f2edc"><!-- raw
HTML omitted -->(9229f)<!-- raw HTML omitted --></a></li>
<li>Represent locator as an object instead of a string  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/10212">vitest-dev/vitest#10212</a>
<a href="https://github.com/vitest-dev/vitest/commit/80f07edf6"><!-- raw
HTML omitted -->(80f07)<!-- raw HTML omitted --></a></li>
<li>Inline <code>expect</code> package  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/10221">vitest-dev/vitest#10221</a>
<a href="https://github.com/vitest-dev/vitest/commit/ad16223e7"><!-- raw
HTML omitted -->(ad162)<!-- raw HTML omitted --></a></li>
<li>Remove deprecated entry points  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/10222">vitest-dev/vitest#10222</a>
<a href="https://github.com/vitest-dev/vitest/commit/994c6ddb9"><!-- raw
HTML omitted -->(994c6)<!-- raw HTML omitted --></a></li>
<li>Require Node.js 22 and Vite 6.4  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/10178">vitest-dev/vitest#10178</a>
<a href="https://github.com/vitest-dev/vitest/commit/3876283e8"><!-- raw
HTML omitted -->(38762)<!-- raw HTML omitted --></a></li>
<li>Fail <code>expect.poll</code> when function didn't resolve in time
 -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>
and <strong>OpenAI Codex</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10233">vitest-dev/vitest#10233</a>
<a href="https://github.com/vitest-dev/vitest/commit/4df048c11"><!-- raw
HTML omitted -->(4df04)<!-- raw HTML omitted --></a></li>
<li>Throw an error if hoistable methods are outside the top level scope
 -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/10460">vitest-dev/vitest#10460</a>
<a href="https://github.com/vitest-dev/vitest/commit/d0b4fddcb"><!-- raw
HTML omitted -->(d0b4f)<!-- raw HTML omitted --></a></li>
<li><code>toHaveTextContent</code> is strict, add
<code>toMatchTextContent</code> as alternative  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/10473">vitest-dev/vitest#10473</a>
<a href="https://github.com/vitest-dev/vitest/commit/18f303079"><!-- raw
HTML omitted -->(18f30)<!-- raw HTML omitted --></a></li>
<li>Don't lookup config file from ancestor directories  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>OpenAI Codex</strong> and <strong>Hiroshi Ogawa</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10428">vitest-dev/vitest#10428</a>
<a href="https://github.com/vitest-dev/vitest/commit/945d9090e"><!-- raw
HTML omitted -->(945d9)<!-- raw HTML omitted --></a></li>
<li>Inline <code>@vitest/runner</code> package, do not publish it
anymore  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/10511">vitest-dev/vitest#10511</a>
<a href="https://github.com/vitest-dev/vitest/commit/6d6e46b1e"><!-- raw
HTML omitted -->(6d6e4)<!-- raw HTML omitted --></a></li>
<li>Allow mutating happy-dom/jsdom window object  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>OpenAI Codex</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10373">vitest-dev/vitest#10373</a>
<a href="https://github.com/vitest-dev/vitest/commit/206e8cff8"><!-- raw
HTML omitted -->(206e8)<!-- raw HTML omitted --></a></li>
<li>Expose <code>concurrencyId</code>/<code>workerId</code> on
TestModule's diagnostics, make id 1-based  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/10516">vitest-dev/vitest#10516</a>
<a href="https://github.com/vitest-dev/vitest/commit/bdd985433"><!-- raw
HTML omitted -->(bdd98)<!-- raw HTML omitted --></a></li>
<li>Add <code>screenshotDirectory</code> config to
<code>browser.expect.toMatchScreenshot</code>  -  by <a
href="https://github.com/macarie"><code>@​macarie</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10592">vitest-dev/vitest#10592</a>
<a href="https://github.com/vitest-dev/vitest/commit/a60ded0fb"><!-- raw
HTML omitted -->(a60de)<!-- raw HTML omitted --></a></li>
<li>Update <code>@sinonjs/fake-timers</code> and support mocking
<code>Temporal</code>  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>OpenCode
(gpt-5.6-sol)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10654">vitest-dev/vitest#10654</a>
<a href="https://github.com/vitest-dev/vitest/commit/f8b1532fe"><!-- raw
HTML omitted -->(f8b15)<!-- raw HTML omitted --></a></li>
<li>Remove webdriverio package  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/10675">vitest-dev/vitest#10675</a>
<a href="https://github.com/vitest-dev/vitest/commit/5fed68f72"><!-- raw
HTML omitted -->(5fed6)<!-- raw HTML omitted --></a></li>
<li>Clear mocks by default before each test  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/10613">vitest-dev/vitest#10613</a>
<a href="https://github.com/vitest-dev/vitest/commit/0f6463bf2"><!-- raw
HTML omitted -->(0f646)<!-- raw HTML omitted --></a></li>
<li>Don't emit localStorage warnings on Node 26, fail gracefully when
worker fails to start  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/10293">vitest-dev/vitest#10293</a>
<a href="https://github.com/vitest-dev/vitest/commit/334edef92"><!-- raw
HTML omitted -->(334ed)<!-- raw HTML omitted --></a></li>
<li>Separate config resolution from the server creation  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/10554">vitest-dev/vitest#10554</a>
<a href="https://github.com/vitest-dev/vitest/commit/1c0ec3444"><!-- raw
HTML omitted -->(1c0ec)<!-- raw HTML omitted --></a></li>
<li>Inline projects extend the root config by default  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/10750">vitest-dev/vitest#10750</a>
<a href="https://github.com/vitest-dev/vitest/commit/fec001ad3"><!-- raw
HTML omitted -->(fec00)<!-- raw HTML omitted --></a></li>
<li>Enable mocking Temporal without fake timers  -  by <a
href="https://github.com/fabon-f"><code>@​fabon-f</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>OpenCode
(gpt-5.6-sol)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10757">vitest-dev/vitest#10757</a>
<a href="https://github.com/vitest-dev/vitest/commit/ac2d46b42"><!-- raw
HTML omitted -->(ac2d4)<!-- raw HTML omitted --></a></li>
<li>Support nested projects  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/10846">vitest-dev/vitest#10846</a>
<a href="https://github.com/vitest-dev/vitest/commit/ec367cf2a"><!-- raw
HTML omitted -->(ec367)<!-- raw HTML omitted --></a></li>
<li>Use <code>&gt;</code> as separator in <code>-t</code>, calculate
<code>only</code> once  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/10686">vitest-dev/vitest#10686</a>
<a href="https://github.com/vitest-dev/vitest/commit/a0b20bc86"><!-- raw
HTML omitted -->(a0b20)<!-- raw HTML omitted --></a></li>
<li>Fail the test when an asynchronous assertion is not awaited  -  by
<a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10868">vitest-dev/vitest#10868</a>
<a href="https://github.com/vitest-dev/vitest/commit/86d4a9da9"><!-- raw
HTML omitted -->(86d4a)<!-- raw HTML omitted --></a></li>
<li>Share the Vite server between inline projects  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/10848">vitest-dev/vitest#10848</a>
<a href="https://github.com/vitest-dev/vitest/commit/d87c96ee4"><!-- raw
HTML omitted -->(d87c9)<!-- raw HTML omitted --></a></li>
<li>Parse files statically in vitest list by default  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11088">vitest-dev/vitest#11088</a>
<a href="https://github.com/vitest-dev/vitest/commit/51e949416"><!-- raw
HTML omitted -->(51e94)<!-- raw HTML omitted --></a></li>
<li><strong>benchmark</strong>:
<ul>
<li>Rewrite the public API  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/10113">vitest-dev/vitest#10113</a>
<a href="https://github.com/vitest-dev/vitest/commit/19f6e8947"><!-- raw
HTML omitted -->(19f6e)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>browser</strong>:
<ul>
<li>Iframe scale  -  by <a
href="https://github.com/macarie"><code>@​macarie</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/9745">vitest-dev/vitest#9745</a>
<a href="https://github.com/vitest-dev/vitest/commit/b639852cc"><!-- raw
HTML omitted -->(b6398)<!-- raw HTML omitted --></a></li>
<li>Enable <code>locators.exact</code> by default  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/10430">vitest-dev/vitest#10430</a>
<a href="https://github.com/vitest-dev/vitest/commit/e203202f9"><!-- raw
HTML omitted -->(e2032)<!-- raw HTML omitted --></a></li>
<li>Require <code>sessionId</code> for orchestrator html request  -  by
<a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong> and <strong>OpenAI Codex</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10522">vitest-dev/vitest#10522</a>
<a href="https://github.com/vitest-dev/vitest/commit/79b7d8fcc"><!-- raw
HTML omitted -->(79b7d)<!-- raw HTML omitted --></a></li>
<li>Save failure screenshots in <code>attachmentsDir</code>  -  by <a
href="https://github.com/macarie"><code>@​macarie</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10917">vitest-dev/vitest#10917</a>
<a href="https://github.com/vitest-dev/vitest/commit/3b5bbd8b4"><!-- raw
HTML omitted -->(3b5bb)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>coverage</strong>:
<ul>
<li><code>include/exclude</code> globs too eager  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/9818">vitest-dev/vitest#9818</a>
<a href="https://github.com/vitest-dev/vitest/commit/edacb0fd4"><!-- raw
HTML omitted -->(edacb)<!-- raw HTML omitted --></a></li>
<li>Allow <code>thresholds.perFile</code> to accept an object  -  by <a
href="https://github.com/vladlenskiy"><code>@​vladlenskiy</code></a> and
<a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/10190">vitest-dev/vitest#10190</a>
<a href="https://github.com/vitest-dev/vitest/commit/13b78d98b"><!-- raw
HTML omitted -->(13b78)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>expect</strong>:
<ul>
<li>Fix <code>toThrow(&quot;&quot;)</code> behavior by reverting <a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/6710">#6710</a>
 -  by <a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/9643">vitest-dev/vitest#9643</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/6710">vitest-dev/vitest#6710</a>
<a href="https://github.com/vitest-dev/vitest/commit/6c3e4bdbf"><!-- raw
HTML omitted -->(6c3e4)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>mocker</strong>:
<ul>
<li>Deserialize automock as automock  -  by <a
href="https://github.com/nami8824"><code>@​nami8824</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10192">vitest-dev/vitest#10192</a>
<a href="https://github.com/vitest-dev/vitest/commit/2f892712d"><!-- raw
HTML omitted -->(2f892)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>reporters</strong>:
<ul>
<li><code>blob</code> reporter and <code>--merge-reports</code> default
to <code>.vitest/blob/</code>  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10232">vitest-dev/vitest#10232</a>
<a href="https://github.com/vitest-dev/vitest/commit/d22b029ae"><!-- raw
HTML omitted -->(d22b0)<!-- raw HTML omitted --></a></li>
<li>Write json and junit reporter output files to <code>.vitest</code>
by default  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Hiroshi Ogawa</strong>, <strong>OpenCode (gpt-5.6-sol)</strong>
and <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10621">vitest-dev/vitest#10621</a>
<a href="https://github.com/vitest-dev/vitest/commit/58577290a"><!-- raw
HTML omitted -->(58577)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/f441c6fab25e579c5b7dd3dd50538416f415fbae"><code>f441c6f</code></a>
chore: release v5.0.0 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11130">#11130</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/d46a7472266d5bb43595ea51dcdd64ab0f560f12"><code>d46a747</code></a>
fix: treat test.describe as a suite during static collection (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11128">#11128</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/584cf308437069385b0fb905fa3ff7d7b7f65a90"><code>584cf30</code></a>
fix: add a warning if inline project has duplicate plugins due to
unexpected ...</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/f08ce4b7144542af128dcb884150c42074223653"><code>f08ce4b</code></a>
fix: apply queued mocks from doMock() in queue order (fixes <a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/10706">#10706</a>)
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11127">#11127</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/897f51fd2493046c52ec9539b7d02fe3763bd63e"><code>897f51f</code></a>
chore: release v5.0.0-rc.4 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11107">#11107</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/1339b0655dc4679aeb8f905bacee83b6f76f6b23"><code>1339b06</code></a>
chore(deps): update all non-major dependencies (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11104">#11104</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/51e9494166d8d0108a621fce80c41b6dba760bae"><code>51e9494</code></a>
feat!: parse files statically in vitest list by default (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11088">#11088</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/2122ffdfb42d86c9a2f1238100d6a031312cae32"><code>2122ffd</code></a>
fix: propagate --maxWorkers to projects (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11102">#11102</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/dc10f5f8fb69b026afcf56f8a7a9dd36bd964d73"><code>dc10f5f</code></a>
fix(browser): report the action error when a task times out (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11101">#11101</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/d4fe1986fe334d22940039e815ccdbcc907baa6a"><code>d4fe198</code></a>
feat: promote clearCache out of experimental (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11086">#11086</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.0.0/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vitest&package-manager=npm_and_yarn&previous-version=4.1.10&new-version=5.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/headroomlabs-ai/headroom/network/alerts).

</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jerrett Davis <mxjerrett@gmail.com>
2026-09-09 13:33:11 -05:00