mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-11-22 13:29:19 +08:00
feat/https-compose-caddy
65
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
863b3c7cc7 |
fix(opencode): percent-encode the project name in x-headroom-project (#4780)
## Description The OpenCode plugin set `x-headroom-project` to the raw project name in `plugins/opencode/src/transport.ts` (two sites) and `plugins/opencode/src/plugin.ts`. A header value must be a ByteString, so a project name with any character above U+00FF (Thai, Chinese, Cyrillic, Arabic, `€`, emoji and so on) made `Headers.set` throw a `TypeError` inside the patched `fetch` and `https.request`, and every routed request failed. `headroom/cli/wrap.py` already percent-encodes this header for the same reason, and the proxy decodes it (`sanitize_project_name` calls `unquote`). This PR does the same in the plugin through one helper, `projectHeaderValue`, used at the three sites. Header values that contain only characters from the URL-unreserved set are sent as before. Closes #4779 ## 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 - `plugins/opencode/src/transport.ts`: new exported `projectHeaderValue(project)` (`encodeURIComponent`), used for `x-headroom-project` in the fetch and Node request paths. - `plugins/opencode/src/plugin.ts`: the model headers set by `routeModelsThroughProxy` use `projectHeaderValue(project)`. - `plugins/opencode/src/transport.test.ts`: two tests with a Thai, Chinese, Cyrillic and Polish project name, one through `fetch` and one through Node `https.request` against a loopback server. - `headroom/providers/opencode/_dist/index.js` and `hook-shim/handler.js`: regenerated with `npm run build:standalone` (the CI step compares both with a fresh build; the staged blobs equal the build output). ## 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 plugin equivalents were run (Node v24.22.2, vitest, `npm ci --ignore-scripts` from the committed lockfile, Ubuntu on WSL2). ### Test Output Fail before (`transport.ts` from `3c66c91e`, new tests kept): ```text vitest run src/transport.test.ts -t "non-Latin-1" × percent-encodes a non-Latin-1 project name instead of throwing on routed fetch calls × percent-encodes a non-Latin-1 project name on routed Node https.request calls TypeError: Cannot convert argument to a ByteString because the character at index 8 has a value of 3650 which is greater than 255. TypeError: Cannot convert argument to a ByteString because the character at index 0 has a value of 3650 which is greater than 255. Tests 2 failed | 47 skipped (49) ``` Pass after (this branch): ```text vitest run src/transport.test.ts -t "non-Latin-1" Tests 2 passed | 47 skipped (49) vitest run (whole plugins/opencode suite) Test Files 4 passed (4) Tests 81 passed (81) npm run typecheck -> exit 0 npm run build:standalone -> success; the committed bundle equals this build ``` ## Real Behavior Proof - Environment: Ubuntu on WSL2, Node v24.22.2, the committed wheel bundle `headroom/providers/opencode/_dist/index.js` (not vitest), and a loopback `node:http` server standing in for the proxy. - Exact command / steps: load the bundle (`origin/main` for "before", this branch for "after"), call `default.server({ project: { id: "p" }, directory: "/work" }, { proxyUrl: "http://127.0.0.1:<port>", project })`, then `fetch("https://api.anthropic.com/v1/messages", { method: "POST", body: "{}" })`, once with `project = "my-project"` and once with a Thai, Chinese and Cyrillic string. - Observed result: before, `my-project` was sent as `my-project` and the Thai/Chinese/Cyrillic name made `fetch` throw `TypeError: Cannot convert argument to a ByteString ... 3650 ... greater than 255` with 0 requests recorded. After, `my-project` is still sent as `my-project`, and the multilingual name reaches the recorder as `%E0%B9%82...%2F%E4%B8%AD%E6%96%87%2F%D0%9F...` which `decodeURIComponent` turns back into the original string. - Not tested: a real Headroom proxy (the recorder only shows what is sent; the decode step is from reading `headroom/proxy/project_name_policy.py`), OpenCode 1.x or 2.x hosts, and anything outside the proxy that reads the header. ## Runtime Rollout Safety - Rollout-managed feature(s): none; OpenCode plugin transport only. - Minimum rollout channel: n/a - Stable/default behavior changed: only for a project name with characters outside the URL-unreserved set. Those are now percent-encoded (a path such as `/home/u/app` is sent as `%2Fhome%2Fu%2Fapp`) and the proxy decodes them; plain names like `my-project` are unchanged. - 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 - The plugin test for `routeModelsThroughProxy` was not extended; the `plugin.ts` site is the same one-line call to the helper, covered by the bundle proof above. - The shell env variable `HEADROOM_PROJECT` is unchanged: it is an environment value, not a header. 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) <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/headroomlabs-ai/headroom/pull/4780" 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> Co-authored-by: JerrettDavis <mxjerrett@gmail.com> |
||
|
|
87c12931fb |
fix(opencode): stop routing a host's bare /messages or /responses to the proxy (#4781) (#4791)
## Description A `POST` whose path ends in a wire endpoint but that sits at a host's origin root (`/messages`, `/responses`, `/chat/completions`) is no longer routed to the proxy unless that origin is a configured provider base URL. Closes #4781. ## Type of Change - [x] Bug fix (non-breaking change that fixes an issue) ## Changes Made - `plugins/opencode/src/transport.ts` — `hasWireRootBefore` no longer treats "no segment before the endpoint" as a wire root, so a bare `/messages` at an unknown host goes direct. - `plugins/opencode/src/transport.test.ts` — the bare-endpoint assertions from #4758 move into a #4781 case that pins both directions: direct by default, routed once the base is registered; the #4758 case keeps the prefixes that still route. - `plugins/opencode/README.md` — states the actual routing rule, and the two shapes that still route without a configured base. - `headroom/providers/opencode/_dist/index.js`, `headroom/providers/opencode/hook-shim/handler.js` — rebuilt, since the `opencode-plugin` gate compares bytes against `dist-standalone`. - `plugins/opencode/scripts/live-proof-4781.mjs` — the live proof below, committed so it can be rerun. ## Why #4758 stopped a suffix match from routing non-LLM hosts, but kept bare endpoints routable "because compatible gateways use those paths". That left exactly one non-LLM shape still leaking: `POST https://rest.messagebird.com/messages` with `Authorization: AccessKey ...` went to the proxy, carrying a non-LLM credential (#4781). Becoming the bare path is not evidence of a provider — it is equally the shape of a messaging API. A provider mounted at an origin root is still routed, because its base URL *is* a configured wire root (`isConfiguredWireRoot` matches every path on that origin when the base path is empty), which is how OpenCode reports `provider.<id>.options.baseURL`. ```ts return ( last !== undefined && (isVersionSegment(last) || IMMEDIATE_WIRE_ROOTS.has(last) || segments.some((s) => NAMED_WIRE_ROOTS.has(s))) ); ``` Everything else is untouched: version prefixes (`/v1`, `/v1beta`, `/v4`), immediate `api`, named roots (`backend-api`, `codex`, `openai`, `anthropic`, `zen`), Gemini colon actions, configured bases, `excludeHosts`, and the method gate. ## Testing - [x] New tests added for new functionality - [x] Manual testing performed `plugins/opencode` is a TypeScript package, so its gates are npm scripts rather than `pytest` / `ruff` / `mypy`; `npm audit` and the rest run in the repo's own CI. ### Test Output ```text > vitest run Test Files 4 passed (4) Tests 80 passed (80) > node node_modules/@typescript/native/bin/tsc --noEmit (clean, no output) > node scripts/live-proof-4781.mjs === decisions (real sockets, real fetch, real built plugin) === PASS MessageBird-shaped POST /messages -> left alone PASS MessageBird batches POST /messages/batches -> left alone PASS LLM control POST /v1/messages -> REROUTED to proxy PASS LLM control POST /v1/chat/completions -> REROUTED to proxy === what reached the proxy === POST /v1/messages x-headroom-base-url=http://localtest.me:8899 original-path=null POST /v1/chat/completions x-headroom-base-url=http://localtest.me:8899 original-path=/v1/chat/completions === MessageBird-shaped requests that reached the proxy: 0 === === what reached the upstream directly === POST /messages auth=AccessKey FAKE-TEST-VALUE (no proxy headers: true) POST /messages/batches auth=AccessKey FAKE-TEST-VALUE (no proxy headers: true) ALL CASES PASS ``` Before the fix, same script, source reverted to `HEAD~1` and the bundle rebuilt: ```text === decisions (real sockets, real fetch, real built plugin) === FAIL MessageBird-shaped POST /messages -> REROUTED to proxy PASS MessageBird batches POST /messages/batches -> left alone PASS LLM control POST /v1/messages -> REROUTED to proxy PASS LLM control POST /v1/chat/completions -> REROUTED to proxy === what reached the proxy === POST /messages x-headroom-base-url=http://localtest.me:8899 original-path=null ``` Reverting only `src/transport.ts` also fails the unit test (`1 failed | 79 passed`), satisfying "a test that fails before your fix and passes after". ## Real Behavior Proof - Environment: Windows 11 (win32), Node v26.10.0, this branch of `plugins/opencode`, committed wheel bundle `headroom/providers/opencode/_dist/index.js` loaded via `plugin.server(...)` as `headroom wrap opencode` does; upstream and proxy are local HTTP fixtures on real TCP sockets and `globalThis.fetch` is Node's undici, not a stub. - Exact command / steps: `cd plugins/opencode && npm ci && npm run build:standalone && node scripts/live-proof-4781.mjs`, which POSTs a MessageBird-shaped SMS payload and two LLM control requests to `http://localtest.me:8899` (resolves to 127.0.0.1 but is not a loopback spelling, so traffic really leaves the process) and records which server received each one. - Observed result: after the patch `POST /messages` and `POST /messages/batches` reach the upstream directly with no `x-headroom-base-url` header and the proxy receives zero MessageBird-shaped requests, while `/v1/messages` and `/v1/chat/completions` still reach the proxy with the upstream origin header; with `src/transport.ts` reverted to `HEAD~1` the same run reroutes `POST /messages` to the proxy, reproducing the reported leak over a real socket (full output in `Testing` → `Test Output`). - Not tested: a real MessageBird account and the real `rest.messagebird.com` host, since the payload and `AccessKey` are fake and routing is decided before DNS; the proxy's handling of an SMS body, which never arrives after this change; and a live OpenCode host process, since the fixture drives the plugin's own `server()` entry rather than an OpenCode session. ## Runtime Rollout Safety - Rollout-managed feature(s): none, no feature flag is involved. - Minimum rollout channel: next released `headroom-opencode` / wheel. - Stable/default behavior changed: yes, deliberately — a `POST` to `/messages`, `/responses` or `/chat/completions` at a host's origin root now goes direct unless that origin is a configured provider base URL; users whose gateway is configured via `provider.<id>.options.baseURL` are unaffected. - Kill switch / disable path: `excludeHosts` / `HEADROOM_OPENCODE_EXCLUDE_HOSTS` forces a host direct, and configuring the base URL or listing it in `wireRoots` forces a bare-path provider through the proxy. - Unsafe override required: no. - Qualification impact: none. - Rollback path: revert the commits; the transport and the committed bundle revert together. ## 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 ## Additional Notes Residual, deliberately not solved and now stated in the README: `/api/v2/messages` and `/v2/responses` still route. No path shape separates those from a gateway rooted at `/api` or `/v2`; only the host or the request body could, and reading the body inside a sync `fetch` wrapper buys a new class of failure for a shape `excludeHosts` already covers. I did not add a known-host allowlist either: it can only recognise hosts someone already thought of, and it regresses compatible gateways silently — the failure mode #4747 was filed about. --------- Co-authored-by: JerrettDavis <mxjerrett@gmail.com> |
||
|
|
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> |
||
|
|
9f2cc01786 |
fix(opencode): keep child process options when the args slot is null or undefined (#4748)
## Description Part of #4744 The OpenCode transport wraps `spawn`, `fork`, `exec` and `execFile` to inject an `env`. It guessed the options index with `Array.isArray(args[1]) ? 2 : 1` and spliced the injected object in whenever that slot was not an object. For `spawn(cmd, undefined, { cwd })` and `fork(mod, null, opts)` the injected object landed in Node's args slot, Node read it as the options, and the caller's `cwd`, `stdio` and `shell` were lost. For `exec(cmd, undefined, cb)` and `execFile(file, args, null, cb)` the callback ended up past the last parameter Node reads and was never called. Both shapes are valid Node signatures. This PR finds the options slot after an omitted, undefined or null `args`, and replaces an undefined or null options slot instead of inserting beside it. Plain argument shapes 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 - `plugins/opencode/src/transport.ts`: new `optionsIndexAfterArgs` used by the `spawn`, `execFile` and `fork` wrappers (`exec` has no args slot and keeps index 1). `injectOptionsEnv` replaces an undefined or null slot that is inside the argument list instead of inserting next to it. - `plugins/opencode/src/transport.test.ts`: a `describe` block that starts real children (a small script that prints its `cwd` and the injected proxy variable): `spawn`/`fork` with `undefined` and `null` args and a `cwd`, `exec`/`execFile` with `undefined` and `null` options and a callback, `execFile(file, null, cb)`, and eight plain shapes that must keep working. The block restores the real `child_process` functions before each test, because an earlier test in the file ("skips the shim preload...") restores `spawn` before it calls `uninstallHeadroomTransport()`, which puts its mock back; that left `child_process.spawn` mocked for the rest of the file. I did not change that test. ## Testing - [ ] Unit tests pass (`pytest`) - [ ] Linting passes (`ruff check .`) - [ ] Type checking passes (`mypy headroom`) - [x] New tests added for new functionality - [ ] Manual testing performed This is a TypeScript change in `plugins/opencode`, so the Python checks above do not apply. The package's own checks were run instead: `vitest run` and `tsc --noEmit` (`node node_modules/@typescript/native/bin/tsc --noEmit`, no output). The package has no lint or format script and the root ruff config covers Python only, so none was run. ### Test Output Fail before (`transport.ts`, `plugin.ts`, `retrieve.ts` from `origin/main` `1da8930a`, new tests kept; `npx vitest run` in `plugins/opencode`, Ubuntu on WSL2, Node v24.22.2): ```text FAIL spawn(cmd, undefined, { cwd }) keeps cwd and still injects the env Error: spawn "<node>" "<probe.cjs>" ENOENT FAIL spawn(cmd, null, { cwd }) keeps cwd and still injects the env Error: spawn "<node>" "<probe.cjs>" ENOENT FAIL fork(module, undefined, { cwd }) keeps cwd and still injects the env Error: child printed "" FAIL fork(module, null, { cwd }) keeps cwd and still injects the env Error: child printed "" FAIL exec(cmd, undefined, callback) still calls the callback Error: callback was never called FAIL exec(cmd, null, callback) still calls the callback Error: callback was never called FAIL execFile(file, args, undefined, callback) still calls the callback Error: callback was never called FAIL execFile(file, args, null, callback) still calls the callback Error: callback was never called FAIL execFile(file, null, callback) and execFile(file, callback) ... Error: callback was never called Test Files 1 failed | 3 passed (4) Tests 9 failed | 74 passed (83) ``` Pass after (this branch): ```text Test Files 4 passed (4) Tests 83 passed (83) ``` ## Real Behavior Proof - Environment: Ubuntu on WSL2 (Windows 11 host), Node v24.22.2, vitest and TypeScript from `plugins/opencode/package-lock.json` (`npm ci --ignore-scripts`), real child processes, no network. - Exact command / steps: `npx vitest run` in `plugins/opencode`. Each new test installs the transport (shim preload off, as a checkout has no `dist/`), makes the call in its title with a probe script that prints `process.cwd()` and `HEADROOM_OPENCODE_TRANSPORT_PROXY_URL`, and checks the cwd and the env or that the callback fires. - Observed result: see Test Output; the nine tests fail on `origin/main` and the 83 tests of the package pass here. - Not tested: the real OpenCode host; Windows (the `shell: true` and quoting path of the test commands was only run on Linux); `fork` with an `execArgv`/IPC channel in use. ## Runtime Rollout Safety - Rollout-managed feature(s): none changed. - Minimum rollout channel: n/a (no new feature) - Stable/default behavior changed: yes, narrowly: calls with an explicit `undefined`/`null` args or options now keep their own options (and `exec`/`execFile` callbacks fire) while the env is still injected. Plain shapes behave as before. - Kill switch / disable path: none added. - 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 - Not in this PR (one topic): the wrapped `exec` and `execFile` lose `util.promisify.custom`, so `promisify(child_process.exec)(cmd)` resolves to a string instead of `{ stdout, stderr }`. It is described in the linked issue. 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/4748" 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> Co-authored-by: JD Davis <mxjerrett@gmail.com> |
||
|
|
12b5fb7f2a |
fix(opencode): default options-form https.request calls to https (#4749)
## Description Part of #4745 `wrapRequest` in the OpenCode transport does not know whether it wraps `http` or `https`. A request made with an options object and no `protocol` was read as `http:`, so `https.request({ hostname: "api.openai.com", path: "/v1/chat/completions", method: "POST" })` was routed with `x-headroom-base-url: http://api.openai.com`, and with `port: 443` as `http://api.openai.com:443`. The proxy accepts an `http` upstream, so the caller's `Authorization` header would be forwarded in cleartext. This PR passes the wrapped module's default protocol (`https:` for `https.request`/`https.get`, `http:` for `http`) into the URL builder. A `protocol` in the options still wins. ## 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 - `plugins/opencode/src/transport.ts`: `splitNodeArgs` and `urlFromRequestOptions` take a `defaultProtocol`; `wrapRequest` passes `https:` when it wraps `https.request` and `http:` otherwise. - `plugins/opencode/src/transport.test.ts`: next to the existing `https.request` routing test, one test sends four options-form POSTs (`https.request` with and without `port: 443`, `http.request` with and without `port: 8080`) to a local stand-in for the proxy and checks the `x-headroom-base-url` it receives. ## Testing - [ ] Unit tests pass (`pytest`) - [ ] Linting passes (`ruff check .`) - [ ] Type checking passes (`mypy headroom`) - [x] New tests added for new functionality - [ ] Manual testing performed This is a TypeScript change in `plugins/opencode`, so the Python checks above do not apply. `vitest run` was run. `tsc --noEmit` was not run on this branch (it is a few-line change; the same toolchain was run on the sibling branches). The package has no lint or format script and the root ruff config covers Python only, so none was run. ### Test Output Fail before (`transport.ts`, `plugin.ts`, `retrieve.ts` from `origin/main` `1da8930a`, new test kept; `npx vitest run` in `plugins/opencode`, Ubuntu on WSL2, Node v24.22.2): ```text AssertionError: expected [ 'http://api.openai.com', …(3) ] to deeply equal [ 'https://api.openai.com', …(3) ] [ - "https://api.openai.com", - "https://api.openai.com", + "http://api.openai.com", + "http://api.openai.com:443", "http://api.openai.com", "http://api.openai.com:8080", ] Test Files 1 failed | 3 passed (4) Tests 1 failed | 66 passed (67) ``` Pass after (this branch): ```text Test Files 4 passed (4) Tests 67 passed (67) ``` ## Real Behavior Proof - Environment: Ubuntu on WSL2 (Windows 11 host), Node v24.22.2, vitest from `plugins/opencode/package-lock.json` (`npm ci --ignore-scripts`), no network (a local HTTP server stands in for the proxy). - Exact command / steps: `npx vitest run` in `plugins/opencode`; the new test installs the transport with the stand-in's URL and makes the four options-form POSTs above. - Observed result: see Test Output; on `origin/main` the two `https.request` calls arrive as `http://api.openai.com` and `http://api.openai.com:443`, with this change as `https://api.openai.com` for both. The `http.request` results are the same before and after. - Not tested: the real OpenCode host; a real provider; Windows; what the Headroom proxy does with the header value. ## Runtime Rollout Safety - Rollout-managed feature(s): none changed. - Minimum rollout channel: n/a (no new feature) - Stable/default behavior changed: yes, narrowly: an options-form `https.request`/`https.get` call without `protocol` now gets an `https://` base URL header instead of `http://`. URL-form calls and `http` are unchanged. - Kill switch / disable path: none added. - 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 - A custom `agent` option (for example an `https.Agent` passed to `http.request`) is not used to infer the protocol; only the wrapped module decides the default. 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/4749" 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> Co-authored-by: JD Davis <mxjerrett@gmail.com> |
||
|
|
c48778c4ab |
fix(opencode): stop routing non-LLM hosts and paths to the proxy (#4747) (#4758)
Closes #4747. ## Description The OpenCode transport shim decides whether to reroute a request from the URL string alone. That decision had three blind spots: two too literal, one too narrow. **Hosts.** `isLoopback` compared the raw hostname against exactly `"127.0.0.1"` and `"::1"`, so every other spelling of loopback counted as remote and its request — with the caller's `Authorization` header — went to the proxy: | URL host | `URL.hostname` | old check | new check | | --- | --- | --- | --- | | `127.0.0.2` | `127.0.0.2` | remote | loopback | | `127.1.2.3` | `127.1.2.3` | remote | loopback | | `[::ffff:127.0.0.2]` | `[::ffff:7f00:2]` | remote | loopback | | `localhost.` | `localhost.` | remote | loopback | | `api.x.example.` | `api.x.example.` | not excluded | excluded | The trailing-dot row is the same bug on the `excludeHosts` path: `example.com.` is the fully qualified spelling of `example.com`, so an excluded host was routed anyway. **Paths.** Any path ending in `/messages` or `/responses` was treated as an LLM endpoint, so Discord's `/api/v10/channels/123/messages` and a forms API's `/forms/123/responses` were rerouted. That needs a wire root in front of the endpoint. **Configured bases.** The first version of that wire-root rule could only recognise root names it knew (`v1`, `api`, `openai`, …), so a compatible gateway configured at `https://gateway.invalid/tenant/acme` lost its routing entirely: OpenCode 1.x sent `/tenant/acme/chat/completions` through the patched `fetch` straight upstream, with no compression and no telemetry. The plugin's own `modelBaseRoutesThroughProxy` still accepted that base, so the transport disagreed with the plugin. Provider base URLs from OpenCode's configuration are now authoritative, matched by origin and path prefix rather than by root name, and the path heuristics stay as the fallback when no configuration is available. ## 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 - [ ] Refactoring (no functional changes) - [ ] Tests only ## Reproduction On `main`, with the plugin's transport installed: ```js installHeadroomTransport({ proxyUrl: "http://127.0.0.1:8787/v1", excludeHosts: ["api.x.example"] }); await fetch("http://127.0.0.2:11434/v1/chat/completions", { method: "POST" }); // routed to proxy await fetch("http://localhost./v1/chat/completions", { method: "POST" }); // routed to proxy await fetch("https://api.x.example./v1/chat/completions", { method: "POST" }); // routed to proxy await fetch("https://discord.com/api/v10/channels/123/messages", { method: "POST" }); // routed to proxy ``` A local provider on `127.0.0.2` or `[::ffff:127.0.0.2]`, a `.internal` host spelled with a trailing dot, and a non-LLM `POST` all ended up at the Headroom proxy instead of their own server. For the configured-base half, on the previous head `b695e697` with a provider base URL of `https://gateway.invalid/tenant/acme`: ```js await fetch("https://gateway.invalid/tenant/acme/chat/completions", { method: "POST" }); // main: proxy. |
||
|
|
19d439f7b0 |
fix(opencode): override effect to patched 4.0.0-beta.103 (#4762)
## Description
Fixes the failing `npm audit (plugins/opencode)` Security job on main
(effect GHSA-chp3-j5qr-2vfr, affects 4.0.0-beta.0–beta.102). Overrides
`effect` to the first patched beta.
Closes #4761
## Type of Change
- [x] Bug fix (non-breaking change that fixes an issue)
## Changes Made
- `plugins/opencode/package.json`: add `effect@4.0.0-beta.103`
devDependency and `"effect": "$effect"` override; refresh lockfile
- `src/dependency-compat.test.ts`: cast for widened requirement type in
beta.103 (typecheck only)
## Testing
- [x] Unit tests pass (vitest)
- [ ] Linting passes (`ruff check .`) — N/A, JS-only
- [ ] Type checking passes (`mypy headroom`) — N/A, tsc used instead
- [ ] New tests added for new functionality — N/A
- [x] Manual testing performed
### Test Output
```text
npm audit --package-lock-only --audit-level=low -> found 0 vulnerabilities
npm run typecheck -> clean
npm test -> Tests 71 passed (71)
npm run build -> success
```
## Real Behavior Proof
- Environment: Windows, Node/npm, plugins/opencode on upstream/main
|
||
|
|
318e8e0808 |
fix(opencode): do not break every request when the proxy URL is empty or invalid (#4750)
## Description Part of #4746 The OpenCode plugin resolved the proxy URL with `??`, so an empty `HEADROOM_PROXY_URL` (or `HEADROOM_BASE_URL`, or `proxyUrl` option) won over the default. The transport then called `new URL(state.proxyUrl)` in the patched `fetch` and in the http(s) wrapper before it decided whether a request should be routed, so `new URL("")` or `new URL("127.0.0.1:8787")` threw on every outbound request in the host (WebFetch, registries, MCP), although non-LLM traffic is meant to be left untouched. This PR treats an empty value as unset, and when the URL still does not parse, lets the request go to the original function and logs one fixed warning per value that never contains the value itself (it can carry credentials); a value with a non-http(s) scheme such as `user:pass@host:8787` counts as unusable too. ## 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 - `plugins/opencode/src/plugin.ts`, `plugins/opencode/src/retrieve.ts`: `??` becomes `||` in the proxy URL resolution chain and in `getDefaultProxyUrl`. - `plugins/opencode/src/transport.ts`: new `usableProxyUrl` (parse, or warn once per value and return nothing). The patched `fetch` and the http(s) wrapper call the original function when it returns nothing. `modelBaseRoutesThroughProxy` already catches the parse error and is unchanged. - `plugins/opencode/src/plugin.test.ts`: an empty `HEADROOM_PROXY_URL` falls through to `HEADROOM_BASE_URL`; an empty `proxyUrl` option with both variables empty gives the default `http://localhost:8787`. - `plugins/opencode/src/transport.test.ts`: for `""` and `"127.0.0.1:8787"`, `fetch` (an LLM path and a plain one) is passed through unchanged, `http.request`/`https.request` do not throw, and `console.warn` is called once. ## Testing - [ ] Unit tests pass (`pytest`) - [ ] Linting passes (`ruff check .`) - [ ] Type checking passes (`mypy headroom`) - [x] New tests added for new functionality - [ ] Manual testing performed This is a TypeScript change in `plugins/opencode`, so the Python checks above do not apply. The package's own checks were run instead: `vitest run` and `tsc --noEmit` (`node node_modules/@typescript/native/bin/tsc --noEmit`, no output). The package has no lint or format script and the root ruff config covers Python only, so none was run. ### Test Output Fail before (`transport.ts`, `plugin.ts`, `retrieve.ts` from `origin/main` `1da8930a`, new tests kept; `npx vitest run` in `plugins/opencode`, Ubuntu on WSL2, Node v24.22.2): ```text FAIL plugin.test.ts > treats an empty HEADROOM_PROXY_URL as unset and falls through to HEADROOM_BASE_URL AssertionError: expected '' to be 'http://127.0.0.1:9999' FAIL plugin.test.ts > treats an empty proxyUrl option as unset AssertionError: expected '' to be 'http://localhost:8787' FAIL transport.test.ts > leaves all traffic alone when the proxy URL is unusable ("") FAIL transport.test.ts > leaves all traffic alone when the proxy URL is unusable ("127.0.0.1:8787") TypeError: Invalid URL ❯ normalizeProxyUrl src/transport.ts:219:10 Test Files 2 failed | 2 passed (4) Tests 4 failed | 66 passed (70) ``` Pass after (this branch): ```text Test Files 4 passed (4) Tests 71 passed (71) ``` ## Real Behavior Proof - Environment: Ubuntu on WSL2 (Windows 11 host), Node v24.22.2, vitest and TypeScript from `plugins/opencode/package-lock.json` (`npm ci --ignore-scripts`), no network (`fetch` is a recorder). - Exact command / steps: `npx vitest run` in `plugins/opencode`; the transport tests install it with `proxyUrl: ""` and `"127.0.0.1:8787"`, then call `fetch` for `https://api.anthropic.com/v1/messages` (POST) and `https://registry.npmjs.org/left-pad`, and create an `http.request` and an `https.request`. - Observed result: see Test Output; on `origin/main` the install succeeds and the first request throws `TypeError: Invalid URL`; with this change both `fetch` calls reach the original function with their own URL and no routing headers, and one fixed warning is logged (the value is never logged; a follow-up commit added a test that a credential-like value does not appear in it: that test fails on the previous head, 3 failed and 68 passed of 71 with the new tests on the old source). - Not tested: the real OpenCode host; Windows; whether the child-process shim (which receives the same unusable value through its environment) is affected beyond what the same `usableProxyUrl` guard covers. ## Runtime Rollout Safety - Rollout-managed feature(s): none changed. - Minimum rollout channel: n/a (no new feature) - Stable/default behavior changed: yes, narrowly: an empty proxy URL setting now means "use the next source / the default" instead of an empty URL, and an unparsable proxy URL disables routing instead of throwing on every request. A valid URL behaves as before. - Kill switch / disable path: none added. - 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 - Whitespace-only values are not treated as unset by the resolution; they reach the transport, which now ignores them with the warning. - The warning goes to `console.warn`; the plugin has no other logger. 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) --------- Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com> |
||
|
|
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)) ([ |
||
|
|
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)) ([ |
||
|
|
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&<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&<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&<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> |
||
|
|
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)) ([ |
||
|
|
3d9a6f2cf7 |
fix(opencode): route Copilot Claude models through the proxy (#4594)
## Description
Closes #4248. The OpenCode 2.x plugin routes models through Headroom by
rewriting model `baseURL`s in `ctx.model.transform`, but it recognized
only the OpenAI wires (`openai-compatible`, `*/chat`, `*/responses`).
Copilot's Claude models use `@opencode/ai/providers/anthropic` (Messages
wire), so they were skipped and their requests never reached the proxy,
while Copilot GPT models kept working.
`modelWireSuffix` now also maps `anthropic`, `anthropic-compatible` and
model-level `*/messages` packages to `/messages`, reusing the existing
rewrite. The config-level `headroom wrap opencode` path cannot cover
Copilot because OpenCode creates that provider dynamically.
## 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
<details>
<summary>changes details</summary>
- `plugins/opencode/src/plugin.ts`: rename `openAiWireSuffix` to
`modelWireSuffix`, map the Anthropic Messages wires to `/messages`.
- `plugins/opencode/README.md`: document that Anthropic Messages models
are rewritten too.
- `plugins/opencode/src/plugin.test.ts`: three new cases plus a narrowed
negative case.
- `headroom/providers/opencode/_dist/index.js`: rebuilt so the wheel
bundle stays byte-identical (CI `cmp` gate).
</details>
## Testing
<details>
<summary>testing details</summary>
- [x] Unit tests pass (`npm test -- --maxWorkers=2`: 66 passed at
current head)
- [x] Type checking passes (`npm run typecheck`)
- [x] Linting: repo lint is Python-only; plugin gates are typecheck,
build, test, bundle `cmp`, all run
- [x] New tests added
- [x] Manual testing performed — actual OpenCode CLI plus real proxy and
controlled upstream; live Copilot not tested
### Test Output
<!-- Paste relevant command output or artifact links here -->
<details><summary>commands and output</summary>
```text
npm test -- --maxWorkers=2 -> 4 files, 66 passed at
|
||
|
|
336d462253 |
fix(opencode): only route POST requests to LLM endpoint paths (#4464)
## Description
The opencode transport routes any request whose path ends in `/messages`
or `/responses` to the Headroom proxy, so a `GET
https://chat.example.com/api/v2/messages` or `GET
.../forms/123/responses` is sent to the proxy (the latter also rewritten
to `/v1/responses`). Every endpoint `isLlmEndpointPath` matches
(`/chat/completions`, `/responses`, `/messages`, `:generateContent`,
`:streamGenerateContent`) is a POST, so this adds a method check: only
POST requests are routed. A missing method counts as GET, matching
`fetch` and `node:http` defaults.
This is a narrow partial fix, not one of the four options in the issue:
it keeps the bare-suffix rule so prefixed gateways still work, and needs
no config. It does **not** cover a non-LLM *POST* to a `/messages` or
`/responses` path; that remainder still needs one of the issue's options
(or `excludeHosts`). Happy to change direction if you prefer a different
approach.
Refs #4417
## Type of Change
- [x] Bug fix (non-breaking change that fixes an issue)
## Changes Made
- `plugins/opencode/src/transport.ts`: `shouldRoute` takes the request
method; fetch reads it from `init.method` or the `Request`, Node
`http(s).request` from `options.method`. Non-POST requests pass through
untouched.
- `plugins/opencode/src/transport.test.ts`: two tests (fetch and
`https.request`) for GET/DELETE/no-method requests to `/messages` and
`/responses` suffix paths, plus a lowercase `post` that must still
route.
## Testing
- [ ] Unit tests pass (`pytest`) — N/A, no Python changed, not run
- [ ] Linting passes (`ruff check .`) — N/A, not run
- [ ] Type checking passes (`mypy headroom`) — N/A, not run
- [x] New tests added for new functionality
- [x] Manual testing performed
### Test Output
```text
# plugins/opencode, before the fix (new tests only)
Tests 2 failed | 36 passed (38) # src/transport.test.ts
# after the fix
$ npx vitest run
Test Files 3 passed (3)
Tests 60 passed (60)
$ npm run typecheck # tsc --noEmit, no errors
$ npm run build # ok
```
## Real Behavior Proof
- Environment: Linux, Node v20.19.2, plugin built with `npm run build`
from origin/main
|
||
|
|
99e223c0e2 |
deps: Bump tsup from 8.5.1 to 9.0.0 in /plugins/opencode (#4385)
Build the OpenCode plugin with the patched esbuild line inside tsup's supported range. Headroom's existing esbuild 0.28 security override is outside tsup 8.5.1's ^0.27.0 declaration. Tsup 9 declares ^0.28.2, so retain the major upgrade and raise the override floor from ^0.28.1 to ^0.28.2. The original tsup 9 lock still selected 0.28.1; this follow-up corrects that mismatch and documents the source-build requirements. ## Dependency assessment - **Version reason:** use an upstream-supported build combination for the existing dependency-security mitigation, rather than forcing the selected esbuild release outside the old bundler's range. This does not claim a new advisory in 0.28.1 or that the old built plugin was demonstrated broken. Tsup remains the existing builder; [v9](https://github.com/egoist/tsup/releases/tag/v9.0.0) also changes debug/obug, watchers and related toolchain packages. - **Maintenance/security:** reviewed the published release/manifest and resolved graph. Fresh audit reports zero vulnerabilities; this does not imply every upstream project has a spotless history. Platform-selector metadata outside the esbuild refresh is preserved instead of accepting unrelated npm-version normalization. - **Node/build boundary:** tsup requires `^22.18.0 || ^24.11.0 || >=26.0.0`; the current graph's ini 7 also requires `^22.22.2 || ^24.15.0 || >=26.0.0`. The README documents both and the verified Node 24.22.2 choice. Published plugin/host runtime declarations are unchanged. An earlier Node 22.22.0 pass emitted the existing ini warning; acceptance uses the supported Node 24 install. - **Native/install/network:** existing esbuild/Rollup platform code and lifecycle scripts remain build inputs. Rollup's optional GNU Linux-x64 LZMA and Android-x64 bindings are present; the LZMA entry is a real optional dependency, not an orphan. Windows x64 installation/build was tested; these non-Windows paths were not. No new install-script flag is introduced. Existing plugin runtime dependencies are unchanged; tsup remains a development dependency. npm and host support-dependency installation use the registry. No plugin is published and no inference/provider message is requested. The branch is synchronized with main's merged security and SDK updates. ## Real behavior proof Windows x64 / Node 24.22.2 / npm 10.9.4, fresh isolated checkout. From `plugins/opencode`, under that Node: ```bash npm ci --ignore-scripts=false --no-audit --no-fund npm test npm run typecheck npm run build npm run build:standalone npm audit --json node ../../scripts/verify_opencode_bundle.mjs . ``` The install has no engine warning; **61 tests pass**, typecheck and both builds succeed, audit reports zero vulnerabilities. The committed portable proof imports actual `dist/index.js` and `dist-standalone/index.js`, invokes the built server entry and performs real chat/retrieve HTTP requests against an ephemeral loopback fixture. It asserts original upstream/path, project/session headers, response and retrieval content; output reports PASS. The plugin routes the synthetic OpenAI URL to the fixture. Hooks/sockets/processes are disposed. This is built-artifact wire behavior, not a claim that the fixture is the Python service. **Actual host loading:** installed official `opencode-ai@1.19.4`, matching the installed 1.x plugin SDK, into a task-only prefix/cache. Its native Windows `opencode.cmd debug config --print-logs` ran from an isolated task workspace with the built main entry `file:///G:/git/headroom-dep4385/plugins/opencode/dist/index.js` configured directly. No wrapper was used for this check. It exited 0 with successful bootstrap/configuration/disposal and no loader error. A separate instrumentation probe preserved the exported object shape and delegated its actual `server` function; it recorded `id=headroom`, retrieval-tool registration and the shell-environment hook. It did not adapt the object into a legacy function. The host's XDG config/data/state/cache point at task-only directories. Enabled providers are empty; auto-update, remote model fetching and default plugins are disabled. Credential environment names are removed in the child shell only; user home/config/auth files are not repurposed. The CLI installed support dependencies in the isolated config, so registry traffic occurred. No inference command or provider action was requested. Node syntax and whitespace checks pass. Independent technical review found no code or dependency-policy blocker in the corrected build range/source-runtime boundaries. Untested: actual OpenCode 2.x, registry-tarball plugin installation, the Python compression proxy in this smoke, streaming, live providers, hook-shim spawning, non-Windows native installation, or production publishing. Current-head hosted CI must pass before approval. --------- 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> |
||
|
|
2e49e5304b |
fix(deps): clear the glob and minimatch npm audit findings (#4599)
## Description Since 2026-10-30, `npm audit (e2e/wrap/tools)` and `npm audit (plugins/opencode)` fail on every PR. Main has not run since, so it will fail the same way on its next push. Two advisories were published that day: - glob [GHSA-3g3m-2fjr-6pw4](https://github.com/advisories/GHSA-3g3m-2fjr-6pw4) (moderate): an aborted async walk keeps reading directories after it rejects. Affects 9.0.0 to 14.0.1; fixed only in 14.0.2. - minimatch [GHSA-g3hv-75wg-m249](https://github.com/advisories/GHSA-g3hv-75wg-m249) (moderate): `**/../` patterns expand the pattern parts exponentially, then compare every pair, at `optimizationLevel >= 2`. Affects < 11.0.1; fixed only in 11.0.1. Neither fix is backported to an older major, and upstream has not moved: openclaw 2026.10.9 still pins minimatch 10.2.6, and `@opencode/util` 2.2.5 still pins glob 13.0.5 and minimatch 10.2.5. The undici and ip-address findings in the same logs come from npm 12.2.1's bundled copies. They were already listed in `e2e/wrap/tools/npm-audit-exceptions.json` and did not fail the job (CI printed `NOT EXCEPTED` only for glob and minimatch). npm 12.2.1 is still the latest release, so they stay excepted until the existing 2026-11-15 expiry. ## 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 - `e2e/wrap/tools/package.json`: override OpenClaw's `minimatch` to 11.0.3, next to its existing `undici` override. - `e2e/wrap/tools/npm-audit-exceptions.json`: add npm 12.2.1's bundled `glob` 13.0.6 and `minimatch` 10.2.5 at their exact paths, under the existing 2026-11-15 expiry. Bundled copies ignore overrides, the same reason the bundled undici and ip-address are listed. - `e2e/wrap/tools/dependency-regression.test.cjs`: new test. It counts minimatch's pairwise `partsMatch` comparisons for a 4096-part `**/../` pattern in the copy OpenClaw resolves. That's 8,386,560 on 10.2.6 and 0 on 11.0.3. It counts calls instead of timing, so it can't flake on a slow runner. It fails loudly if minimatch renames `partsMatch`. - `e2e/wrap/tools/README.md`: list the new check. - `plugins/opencode/package.json`: override `glob` to 14.0.3 and `minimatch` to 11.0.3. Every copy is a dev dependency (`@opencode/plugin`, npm's `@npmcli/*` tooling, `rimraf` under `gaxios`). glob 14 is required: minimatch 11 changes `Minimatch.set` entries from `RegExp`s to `Matcher` objects, which globs before 14 rely on. - Both `package-lock.json` files are regenerated with npm 11.16.0 (`npm install --package-lock-only`): - e2e: only `minimatch` 10.2.6 → 11.0.3, plus its new dependency `@isaacs/nonrecursive-glob-match`. - opencode: `glob` 13.0.5 → 14.0.3, `minimatch` 10.2.5 → 11.0.3 and `path-scurry` 2.0.2 → 3.0.0. rimraf's nested glob 10 and its old CLI helper packages drop out. ## Testing - [x] Unit tests pass (`pytest`) - [ ] Linting passes (`ruff check .`) - [ ] Type checking passes (`mypy headroom`) - [x] New tests added for new functionality - [x] Manual testing performed ### Test Output ```text # CI's audit step, run locally (the Python exception check copied from .github/workflows/security.yml) $ cd plugins/opencode && npm audit --package-lock-only --audit-level=low found 0 vulnerabilities $ cd e2e/wrap/tools && npm audit --package-lock-only --json > audit.json && python3 ci_audit_check.py audit.json Only excepted bundled advisories remain (8), until 2026-11-15. # e2e/wrap/tools: npm ci of main's lock (minimatch 10.2.6), then the new test file not ok 2 - minimatch bounds the **/.. expansion instead of comparing every pair (GHSA-g3hv-75wg-m249) error: '8386560 pairwise part comparisons' # pass 2 # fail 1 # npm ci of this branch's lock (minimatch 11.0.3) ok 1 - Ajv rejects a percent-encoded scheme instead of aliasing an HTTPS schema ok 2 - minimatch bounds the **/.. expansion instead of comparing every pair (GHSA-g3hv-75wg-m249) ok 3 - unsupported charset with invalid gzip leaves the Express process healthy # pass 3 # fail 0 # plugins/opencode after npm ci of this branch's lock $ npm test Test Files 4 passed (4) Tests 61 passed (61) $ npm run typecheck # exit 0 $ npm run build # ESM + DTS build success $ npm run build:standalone # ESM build success, dist-standalone/index.js 759.23 KB ``` ## Real Behavior Proof - Environment: macOS 27 (arm64), Node 24.22.2; npm 11.16.0 for the lockfiles; a fresh `npm ci --ignore-scripts` of each lock in a scratch directory. - Exact command / steps: (1) the audit commands above. (2) `openclaw --version`, `openclaw config file` and `openclaw health` from the new e2e install, in a temporary HOME. (3) Dynamically import each OpenClaw dist module that imports minimatch (`policy-*`, `systemd-service-files-*`, `workspace-bootstrap-policy-*`). (4) grep both OpenCode builds for glob/minimatch code. - Observed result: both audits pass. `openclaw --version` prints `OpenClaw 2026.10.6 (fe06181)`, `config file` prints the config path, and `health` reports the expected missing-credentials message. All three modules load on minimatch 11.0.3. Neither `dist/index.js` nor `dist-standalone/` (the copy shipped in the wheel) contains glob or minimatch code, so the OpenCode change does not change shipped code. - Not tested: the Docker wrap E2E locally; this PR's `docker-native-e2e` and Wrap E2E jobs run it, since their path filters include `e2e/**`. ## Runtime Rollout Safety - Rollout-managed feature(s): none - Minimum rollout channel: n/a, dependency pins for the E2E harness and the OpenCode plugin's dev tooling - Stable/default behavior changed: no shipped code changes. The E2E image's OpenClaw now loads minimatch 11.0.3. One OpenClaw path relies on minimatch 10 internals: `expandSystemdEnvironmentFilePattern` (systemd `EnvironmentFile=` patterns with wildcards) checks `part instanceof RegExp`. On 11 those parts are `Matcher` objects, so wildcard entries would match no files. It runs only for an installed systemd unit; the harness runs `openclaw gateway --bind loopback` in the foreground, so it never reaches that path. - Kill switch / disable path: none needed - Unsafe override required: no - Qualification impact: none expected for the wheel or SDK; the E2E harness picks up the new lock on its next image build - 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 - [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 **Dependency justification** (CONTRIBUTING, "Dependencies & supply chain"): | Package | Why this version | Maintainer, activity | Install surface | |---|---|---|---| | `glob` 13.0.5 → 14.0.3 (opencode, dev only) | Security patch: GHSA-3g3m-2fjr-6pw4 is fixed only in 14.0.2. 14.0.3 is the latest and needs the minimatch 11 below. | isaacs (sole npm maintainer) since 2011, [isaacs/node-glob](https://github.com/isaacs/node-glob). 14 releases in the last 12 months; 14.0.3 published 2026-10-28. Earlier advisory: GHSA-5j98-mcp5-4vw2 (high, 2025-11, CLI `--shell`, fixed in 12). | Deps: minipass, minimatch, path-scurry. No native code. No install-time script (`prepare` runs only for git or local installs). No network use. | | `minimatch` → 11.0.3 (opencode dev; e2e via openclaw) | Security patch: GHSA-g3hv-75wg-m249 is fixed only in 11.0.1. 11.0.3 is the latest. | isaacs since 2011, [isaacs/minimatch](https://github.com/isaacs/minimatch). 35 releases in the last 12 months, many of them ReDoS hardening. Earlier advisories: three highs in 2026-02 and older ReDoS fixes (2022, 2018), all fixed. 11.0 replaces per-portion `RegExp`s with a non-recursive matcher, the structural fix for that class. | Deps: brace-expansion and the new package below. No native code, install-time script or network use. | | `path-scurry` 2.0.2 → 3.0.0 (opencode, dev only) | Required by glob 14. | isaacs, [isaacs/path-scurry](https://github.com/isaacs/path-scurry). 3 releases in the last 12 months; no advisories. | Deps: minipass, lru-cache. No native code, install-time script or network use. | | `@isaacs/nonrecursive-glob-match` 1.0.3 (new, both lockfiles) | Required by minimatch 11; it is the new matcher that replaces the `RegExp` path. | isaacs, source at [isaacs/nonrecursive-glob-match](https://github.com/isaacs/nonrecursive-glob-match) (repo created 2026-03-06; the npm manifest omits its `repository` field). **New:** first npm release 2026-10-26, 5 versions so far, no advisories yet. | No dependencies. No native code, install-time script or network use. 380 KB unpacked. | None of the four tarballs has npm provenance attestations; each carries registry signatures, and the lockfiles pin their integrity hashes. The new matcher package is the one with no track record. It is accepted here only because it is now a hard dependency of the only fixed minimatch release, from the same maintainer as minimatch and glob. - "Unit tests pass" covers the e2e `npm test` and OpenCode's vitest suite; no Python changed, so ruff and mypy are left unchecked. - Deadline: `npm-audit-exceptions.json` still expires on **2026-11-15**. I kept the existing date rather than extend it. After that day, `npm audit (e2e/wrap/tools)` fails on every PR by design until someone acts. Before then: - If npm has shipped a release bundling glob ≥ 14.0.2, minimatch ≥ 11.0.1, undici ≥ 6.29.1 and ip-address ≥ 10.7.4, bump the `npm` override and delete the exceptions. - If not, move `expires` with a one-line reason. - Revisit the openclaw and OpenCode overrides once openclaw and `@opencode/util` move to the fixed majors themselves. https://claude.ai/code/session_01S4VPhWACY6qi2jBcN3M2sr Co-authored-by: Kenneth Wong <17061293+KennethWKZ@users.noreply.github.com> |
||
|
|
4ee616453f |
fix(router): keep small shell results verbatim (#3590) (#4426)
## Description Fixes #3590. Small shell tool results (default: shorter than 2000 characters) now bypass lossy compression. Byte-lossless folds such as search grouping may still apply. File reads and searches were already protected; shell output is deliberately compressible, but a short `ls -la`, `git status`, or JSON dump is not worth the accuracy loss described in #3590. The real proxy-level before/after evidence is in Real Behavior Proof. A live Claude Code session is still untested. ## 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 - Added `HEADROOM_SHELL_RESULT_MIN_CHARS` (default `2000`) and `_is_small_shell_result()`, applied to OpenAI `role:"tool"`, legacy `role:"function"`, top-level text-block tool messages, and Anthropic `tool_result` string/list-form paths after the lossless search fold and before lossy compression. - Normalized `ContentRouterConfig.bash_tool_names` once and extended it with the shell aliases already in `headroom.learn._shared` (`shell`, `local_shell`, `run_shell_command`, `execute_command`, `exec_command`, `terminal`, `run_command`, `run_terminal_command`). - Measure a top-level text-block shell result using the combined text length, so a large result cannot bypass compression merely by splitting into small blocks. - Added boundary coverage for both tool/function block shapes, positive threshold overrides and custom case-insensitive shell names; documented the combined-length contract in `docs/content/docs/proxy.mdx`. - Updated the existing proxy-level Bash regression to assert both sides of the 2000-character floor, fixing the hosted shard-4 failure. Added kill-switch, malformed/empty-value and diagnostic coverage. - Carried dependency security remediation requested in review: certifi and the OpenTelemetry family, three patched Rust crates, and patched npm locks for docs, SDK, OpenCode and E2E tooling. These use existing packages, explicit security floors and targeted dependency overrides; libc platform constraints remain intact. ## Testing - [x] Hosted CI passes on the current head, including all four Python test shards - [x] Changed Python tests passed Ruff in the preceding regression revision; no Python runtime source changed in this dependency follow-up - [ ] Full local Python type check passes (Windows/test-double baseline limitations) - [x] Regression and dependency-interface coverage added - [x] Real proxy proof and isolated CLI smoke evidence recorded ### Test Output Latest follow-up: Windows, Python 3.11 / Node 22.20.0 for the OpenCode suite, and portable official Node 24.22.1 for E2E CLI qualification. The portable Node archive's SHA-256 matched nodejs.org's published checksum. ```text Python shell-floor/web-tool/router/alias/tracing + OpenClaw wrapper/bridge selection: 119 passed, 2 warnings in 10.37s uv lock --check Resolved 262 packages uv tree --locked --python-version 3.10 --package filelock filelock v4.1.0 uv tree --locked --python-version 3.12 --package filelock filelock v4.2.4 FileLock 4.2.4 process smoke: contention times out, release permits next process cd plugins/opencode npm test Test Files 4 passed (4) Tests 60 passed (60) npm run typecheck > node node_modules/@typescript/native/bin/tsc --noEmit npm run build DTS Build success npm audit --package-lock-only --audit-level=low --registry=https://registry.npmjs.org found 0 vulnerabilities After merging current upstream main (including #4453): cd e2e/wrap/tools node node_modules/openclaw/openclaw.mjs --version OpenClaw 2026.10.6 npm audit --package-lock-only --audit-level=low --registry=https://registry.npmjs.org 2 vulnerabilities (1 moderate, 1 high) # limited to npm's bundled copies: # GHSA-rxp7-6hxx-x8q5 — node_modules/npm/node_modules/ip-address 10.7.2 # GHSA-4qv8-2p9j-2685 and GHSA-xjj6-f33q-929c — node_modules/npm/node_modules/undici 6.29.0 # exact scoped exceptions expire 2026-11-15; no OpenClaw path is excepted production-lock pip-audit: No known vulnerabilities found ``` - The Python native extension remains the existing 0.41.0 Windows wheel's `_core.pyd`; all Python source under test comes from this PR checkout. No native rebuild or Torch/model inference qualification is claimed. - The 3 new OpenCode compatibility tests exercise the actual upstream `tool.schema` interface and Effect `Primitive.fileParse` TOML success/error channels, mocking only filesystem I/O. They accompany the explicit Zod/TOML overrides. - E2E CLI checks used isolated `OPENCLAW_STATE_DIR` / `OPENCLAW_CONFIG_PATH`, with no model request or modification of the user's normal OpenClaw configuration. E2E dependencies were installed with lifecycle scripts disabled. The full Docker/model E2E suite was not run locally. - Earlier unchanged docs/SDK lock remediation passed: SDK **351 passed, 33 skipped** plus typecheck/build; docs typecheck/build with 185 static pages; both npm audits were zero. The previous head also passed the hosted Rust security audit. - Full local Python suite was not rerun. The earlier remote-timeout float-boundary failure remains outside this change. ## Real Behavior Proof - Environment: Windows 10 x64, Python 3.11.0, Headroom source `main` at `e995eb9` (0.41.1-dev), native `_core` from the 0.41.0 wheel because no Rust toolchain is available locally. `HEADROOM_DISABLE_KOMPRESS=1` keeps the strategy deterministic; the guard sits before strategy selection, so the same path applies when Kompress is enabled. - Exact command / steps: local harness (not committed) `python proof-3590/run_proof.py` starts the source-tree proxy in `--mode token` with `HEADROOM_MIN_TOKENS=0` and a local OpenAI-compatible upstream, and sends a chat request containing a Bash `ps aux` tool result (1719 chars) followed by later turns. The upstream records the transformed request body. - Observed result: `HEADROOM_SHELL_RESULT_MIN_CHARS=0` produced `compressed=1`, `router:tabular:0.85`, 802 -> 697 tokens (saved 105), and upstream received a 1455-char schema representation. Default `2000` produced `shell_small_result: 1`, `compressed=0`, 802 -> 802 tokens, and upstream received the original 1719-char output byte-for-byte. - Review follow-up proof: `python proof-3590/run_block_review.py` ran the real proxy against the same local upstream without replacing its compressor. A 1719-character shell result split into two text blocks stayed unchanged; a 3438-character result split into two 1719-character blocks remained compressible. The previous PR revision incorrectly protected both large-result fragments. This harness is local, not part of the PR. - Not tested: a live `headroom wrap claude` session; the ML Kompress path; Linux/macOS; the full suite (one pre-existing baseline failure). ## Runtime Rollout Safety - Rollout-managed feature(s): none; ContentRouter default path. - Minimum rollout channel: default proxy. - Stable/default behavior changed: yes. Shell results between `min_chars_for_block_compression` (500) and `HEADROOM_SHELL_RESULT_MIN_CHARS` (2000) now stay verbatim instead of taking lossy compression. At ~1500 chars (~375 tokens), this keeps roughly 325 extra tokens per result for the life of the context. - Kill switch / disable path: `HEADROOM_SHELL_RESULT_MIN_CHARS=0`. - Unsafe override required: no. - Qualification impact: compression ratio may decrease for small shell outputs; no API or correctness changes. - Rollback path: revert this commit or set `HEADROOM_SHELL_RESULT_MIN_CHARS=0`. ## 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 - [ ] 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 — no UI changes. ## Additional Notes This follows the [dependency-remediation review](https://github.com/headroomlabs-ai/headroom/pull/4426#pullrequestreview-5636487191). It does not disable audits, ignore advisories, reduce audit severity, or use `npm audit fix --force`. - **Python:** certifi/OpenTelemetry/Rust fixes from the prior revision remain. This follow-up raises setuptools to **84.1.0** for the Windows wheel namespace traversal advisory and uses FileLock **4.2.4** on Python ≥3.11. The universal lock remains resolvable with the published Python ≥3.10 contract. **Python 3.10 now selects FileLock 4.1.0, but it remains below the 4.2.1 security floor** because fixed releases require ≥3.11; this is not presented as all-interpreter remediation. - **OpenCode:** pin security overrides **Zod 4.6.7** and **TOML 5.0.1** without downgrading the plugin or replacing its pinned Effect version. TOML crosses a major version (4.3.0 → 5.0.1); its Node ≥20 floor and consumed `parse(content)` API are unchanged. The added tests validate the exercised schema and Effect parsing contracts, not every possible TOML consumer. This override needs normal maintainer dependency review. - **E2E:** the original remediation moved OpenClaw to 2026.10.5; the upstream sync now brings **OpenClaw 2026.10.6** with **Undici 8.12.3** and a Node floor of **≥24.22.1 <25 or ≥26.12.1**. The only remaining raw npm findings are npm's published bundled copies, handled by the exact, expiring E2E-only exception policy described below. - Dependency packages and runtime floors were checked against the upstream registry metadata. Locks use public registries and retain existing libc platform constraints. ### Security qualification after upstream sync Merge commit `e09d37c9274c812f26e994d01a623542a4a7ec31` brings this branch to upstream `main` through `a616232`, including [#4453](https://github.com/headroomlabs-ai/headroom/pull/4453). That upstream change establishes the repository's current security policy for the dependency cases that previously blocked this PR: - **Production Python lock:** Python ≥3.11 resolves Pillow 13.0.0 and FileLock 4.2.4. The current lock passes `uv lock --check`; an equivalent export of the production `all` set passes `pip-audit 2.10.1 --no-deps --disable-pip` with **no known vulnerabilities**. - **Published-package resolution:** FastEmbed still caps Pillow below 13 when ordinary pip resolves package metadata. Upstream now disables image decoding on Pillow below 13 and separately audits the pip-resolved set, accepting only Pillow findings covered by that tested decoder guard. This is a bounded runtime mitigation, not a claim that the older Pillow release has no advisories. - **E2E npm lock:** OpenClaw 2026.10.6 uses fixed Undici 8.12.3. Raw npm audit now reports only npm 12.2.1's bundled Undici 6.29.0 and ip-address 10.7.2 copies. Because npm does not allow overrides to replace its published bundled contents and no newer release is available, upstream accepts only the three exact advisory/path/version pairs in `e2e/wrap/tools/npm-audit-exceptions.json`, only for the non-shipping E2E harness, and only until **2026-11-15**. The workflow fails on any extra finding, version/path mismatch, stale exception or expiry. - **Python 3.10:** the lock now selects FileLock 4.1.0, but it remains below the 4.2.1 security floor because fixed releases require Python ≥3.11. This supported-interpreter limitation is documented by the upstream policy and is not represented as universal remediation. The earlier OpenCode standalone-wheel mismatch remains fixed by `dee73be75cf81bb67a73573861f1b3ed4067a2bf`: typecheck, build, all 60 plugin tests and the standalone build passed locally, both generated artifacts matched their Python-shipped paths byte-for-byte, and the shipped bundle imported with the expected `headroom` id and both `server`/`setup` entry points. ### Current merge status - Current head `ab93d7917a6660c704069bb87b6c02f9c744cebc` is mergeable; all router/documentation inline review threads are resolved. - JerrettDavis approved this head on 2026-10-24, superseding the earlier security-related change requests. - All 12 pull-request workflows on this head completed successfully, including [CI](https://github.com/headroomlabs-ai/headroom/actions/runs/40122163824) (all four Python test shards), [Security](https://github.com/headroomlabs-ai/headroom/actions/runs/40122163777), wheel builds/import smoke tests, OpenCode, docs, and Docker E2E checks. The workflows are no longer awaiting approval. - The PR remains open, awaiting maintainer merge. - A live Claude Code/model session, the ML Kompress path, a native rebuild and the full Docker/model E2E suite remain unverified locally; the hosted results above are separate from the recorded local qualification. Implemented and verified with AI assistance. --------- Co-authored-by: JerrettDavis <mxjerrett@gmail.com> |
||
|
|
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>&[#39](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/39);failed&[#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>&[#39](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/39);failed&[#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>&[#39](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/39);failed&[#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>&[#39](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/39);failed&[#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> |
||
|
|
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)) ([ |
||
|
|
d17bac8d64 |
fix(opencode): restore process env keys on transport dispose (#4430)
## Description
`installHeadroomTransport` sets `NODE_OPTIONS` (hook-shim `--import`),
`HEADROOM_OPENCODE_TRANSPORT_PROXY_URL` and
`HEADROOM_OPENCODE_EXCLUDE_HOSTS` in `process.env`, but its dispose only
restored `fetch`/`http`/`https`/`http2`/`child_process`. After dispose,
the parent and every child it spawned kept the shim preload and proxy
URL. The transport now snapshots those three keys on the first install
and restores them when the last install is disposed.
Fixes #4428
## 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
- `plugins/opencode/src/transport.ts`: `TransportState.originalEnv`
snapshot taken at first install (before `installProcessEnv`);
`restoreProcessEnv` runs in `uninstallHeadroomTransport` when `refs`
reaches 0. A nested dispose (refs still above 0) leaves the env alone.
- `plugins/opencode/src/transport.test.ts`: new test for the restore,
including the nested-dispose case and a pre-existing
`NODE_OPTIONS`/exclude-hosts value. Two existing tests (`prefers the
excludeHosts option over ...`, `clears a pre-existing ... when
excludeHosts is explicitly empty`) restored the env before disposing in
`finally`; they now dispose first, otherwise the new restore put the
earlier value back after their own cleanup and three later session-token
tests failed.
- `headroom/providers/opencode/_dist/index.js`,
`headroom/providers/opencode/hook-shim/handler.js`: rebuilt with `npm
run build:standalone` (the CI `cmp` check requires the committed bundles
to match the source).
## Testing
- [x] Unit tests pass (`pytest`)
- [ ] Linting passes (`ruff check .`)
- [ ] Type checking passes (`mypy headroom`)
- [x] New tests added for new functionality
- [x] Manual testing performed
(The unit tests are `vitest` in `plugins/opencode`; `npm run typecheck`
also passes. No Python file changed, so ruff and mypy were not run.)
### Test Output
```text
# plugins/opencode, new test with the transport.ts change reverted
FAIL src/transport.test.ts > Headroom OpenCode transport > restores the process env keys it set once the last install is disposed
AssertionError: expected '--trace-warnings --import=file:///var…' to be '--trace-warnings'
Tests 1 failed | 57 passed (58)
# with the fix
Test Files 3 passed (3)
Tests 58 passed (58)
$ npm run typecheck # tsc --noEmit, no output
```
## Real Behavior Proof
- Environment: Ubuntu on WSL2, Node v24.22.1, upstream/main
|
||
|
|
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
|
||
|
|
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> |
||
|
|
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)) ([ |
||
|
|
1fb4cbaea0 |
fix(proxy): astgrep disk verify truncation (#3192)
## Description `_detect_truncation()` currently relies on client-specific truncation banners in `tool_result` text. This works for clients that emit a recognizable line-count banner, but not for clients such as Cursor (byte-based, direction-reversed truncation) and OpenCode (placeholder + external file pointer). Because `headroom proxy` runs alongside the client it wraps, it can optionally verify the returned content against the actual file on disk. If the `tool_result` is a strict prefix of the file, we can identify truncation without depending on client-specific output formatting. This adds disk verification as an opt-in fallback: the existing banner-based detection always runs first, and disk verification is only attempted when no banner is found. All disk-verification failures or ambiguous cases return `UNKNOWN` rather than guessing. Following review, the verifier is also constrained to a trusted, confined workspace root rather than trusting caller-supplied input directly — see the last four bullets under Changes Made. **Current scope:** the session-token workspace binding this fallback requires is wired for `headroom wrap claude` and plugin-loaded `headroom wrap opencode` only. Cursor remains unsupported/not tested — it has no header-injection surface today to transmit an authoritative session token, so disk verification stays `UNKNOWN` for it; extending Cursor support needs a separate, safe transport design. Related to #2430 Closes #2421 ## Type of Change - [x] 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 - Added optional disk-based Read truncation verification behind `HEADROOM_VERIFY_TRUNCATION_ON_DISK`. - Disk verification compares the visible `tool_result` against the file on disk and distinguishes `COMPLETE`, `TRUNCATED`, and `UNKNOWN`. - Disk verification only runs when the existing `_detect_truncation()` banner check finds no truncation marker, avoiding unnecessary file I/O when the client already provides a signal. - Added a `current_cwd` contextvar populated from `x-headroom-cwd` so relative Read paths can be resolved against the client's working directory. - Registered `HEADROOM_VERIFY_TRUNCATION_ON_DISK` as a hot-reloadable runtime setting. - Gated verification on a new `is_current_request_trusted` contextvar, set from `is_loopback_host(request.client.host)` — a server-observed fact, not the caller-supplied header — so `x-headroom-cwd` is never sufficient authority on its own. - Confined all path resolution strictly under the canonicalized `cwd` (`.resolve()` + `relative_to()`), rejecting `..` traversal, absolute-path escapes, and post-resolution symlink escapes. - Required the resolved target to be a regular file and under a byte cap (new `HEADROOM_VERIFY_TRUNCATION_MAX_BYTES` knob, default 5MB), both checked via `fstat` on the open fd before any read. - Opened with `O_NONBLOCK` so a non-regular/special file can't park the read indefinitely; disk I/O already runs off the event loop via the existing compression thread pool. - Added unit and integration tests covering successful verification, missing/unreadable paths, relative paths, content races, feature gating, banner precedence, and the adversarial cases below. ## Testing - [x] Unit tests pass (`pytest`) - [x] Linting passes (`ruff check .`) - [x] Type checking passes (`mypy headroom`) - [x] New tests added for new functionality - [x] Manual testing performed ### Test Output ```text $ pytest tests/test_tool_result_interceptors.py -v 51 passed in 2.21s (includes TestVerifyReadAgainstDisk::* [14 cases, incl. absolute-path escape, `..` traversal, symlink escape, sibling-prefix boundary, non-regular file, oversized file, and untrusted-request-touches-no-disk], plus the end-to-end disk-verification and banner-precedence cases) $ pytest tests/test_proxy_loopback_gating.py -k trusted 16 passed (includes test_record_headroom_stack_binds_trusted_true_for_loopback_client and ..._false_for_non_loopback_client — proves a spoofed x-headroom-cwd from a non-loopback peer does not bind trust) $ ruff check headroom/proxy/interceptors/astgrep.py headroom/proxy/project_context.py \ headroom/proxy/server.py headroom/proxy/runtime_env.py \ tests/test_tool_result_interceptors.py tests/test_proxy_loopback_gating.py All checks passed! $ mypy headroom/proxy/interceptors/astgrep.py headroom/proxy/project_context.py \ headroom/proxy/server.py headroom/proxy/runtime_env.py Success: no issues found in 4 source files ``` ## Real Behavior Proof - Environment: Mac OS local dev machine, no live proxy/network involved. Exercised the real interceptor pipeline (`apply_to_messages`) directly against an actual file on disk, using the same fixture and cwd-binding path a live proxy request would use. - Exact command / steps: wrote a 9-function Python fixture to a temp file, built a client-truncated `tool_result` (first 8 functions, cut mid-file, **no truncation banner text anywhere**), bound `x-headroom-cwd` to the temp directory via `set_current_cwd()`, then called `apply_to_messages()` once with `HEADROOM_VERIFY_TRUNCATION_ON_DISK` unset and once with it set to `1`. - Observed result: With disk verification disabled, the existing ast-grep interceptor produced its normal header without indicating that the input was truncated. With HEADROOM_VERIFY_TRUNCATION_ON_DISK=1, disk verification detected that the 50-line tool_result was a strict prefix of the 59-line file and produced: ```text === HEADROOM_VERIFY_TRUNCATION_ON_DISK unset (default) === [headroom: outlined by ast-grep — 8 definition(s); bodies elided. Re-read the file with a line range to see a specific body.] === HEADROOM_VERIFY_TRUNCATION_ON_DISK=1, x-headroom-cwd bound to the real directory === [headroom: outlined by ast-grep — 8 definition(s) in the visible portion; input was truncated upstream (showing through line 50 of 59 total). Bodies elided. Re-read remaining lines to see more.] ``` **Trust-gate behavior:** same fixture and disk layout, `HEADROOM_VERIFY_TRUNCATION_ON_DISK=1`, but the request context's trust flag left at its default (`False`, simulating a non-loopback caller) instead of being marked trusted. ```text === trusted context (loopback) === [headroom: outlined by ast-grep — 8 definition(s) in the visible portion; input was truncated upstream ...] === untrusted context (non-loopback) — same file, same cwd header, same tool_result === [headroom: outlined by ast-grep — 8 definition(s); bodies elided. Re-read the file with a line range to see a specific body.] (no disk read attempted — verified via a call-recording wrapper around os.open asserting zero invocations) ``` Also verified at the HTTP-middleware level with `TestClient(..., client=("100.90.0.5", 12345))`: a request carrying a spoofed `x-headroom-cwd` header from a non-loopback client IP does not bind trust, regardless of header content. - Not tested: a live `headroom proxy` session with a real coding-agent client; the WebSocket/Codex responses-WS path. ## Runtime Rollout Safety - Rollout-managed feature(s): None. The feature is gated by `HEADROOM_VERIFY_TRUNCATION_ON_DISK` - Minimum rollout channel: N/A. `--intercept-tool-results` must already be enabled for the ast-grep interceptor to run. - Stable/default behavior changed: no - Kill switch / disable path: Unset `HEADROOM_VERIFY_TRUNCATION_ON_DISK`; the setting is hot-reloadable and does not require a restart. - Unsafe override required: no - Qualification impact: none - Rollback path: revert the commit, or unset the env var on a running proxy (takes effect immediately, no restart). ## 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) ## Additional Notes this branch is based on `fix/astgrep-truncation-marker` #2430 not main <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/headroomlabs-ai/headroom/pull/3192" 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 <noreply@anthropic.com> Co-authored-by: JerrettDavis <mxjerrett@gmail.com> |
||
|
|
1d4b357ca7 |
feat(opencode): support the OpenCode 2.x plugin API (#3999)
## Description Takeover of #3719 by @laurence-diack-pk, who has been unavailable since Sep 23 and whose branch was left conflicted with `main`. The original commit is preserved and @laurence-diack-pk remains its author; this branch adds follow-up commits addressing @JerrettDavis's review and the findings from live OpenCode 2.x testing. It makes the OpenCode plugin and `headroom wrap opencode` work on both OpenCode 1.x and 2.x. On 2.x the 1.x function plugin was silently dropped (the loader requires a `{ id, setup }` default export loaded from a directory), and Effect's `FetchHttpClient` keeps its own `fetch` reference from before plugins load — so `wrap opencode` loaded no plugin and routed nothing. Closes #3669. Supersedes #3719. ## Type of Change - [x] Bug fix (non-breaking change that fixes an issue) - [x] New feature (non-breaking change that adds functionality) ## Changes Made Carried from #3719: - One plugin for both versions: default export `{ id: "headroom", server, setup }`; 1.x calls `server`, 2.x calls `setup`. - 2.x `setup`: registers `headroom_retrieve` via `ctx.tool.transform` (`codemode: false`), sets `HEADROOM_*` shell env through the `create.before` hook, and returns a cleanup that releases the refcounted transport so hot reloads do not stack interceptors. - 2.x model routing: `ctx.model.transform` points remote OpenAI-wire models at the proxy with `x-headroom-base-url` / `x-headroom-original-path` headers, since 2.x keeps its own `fetch` reference and the transport patch alone misses model traffic. - Wheel ships the bundle as `_dist/index.js`; `headroom_opencode_plugin_path()` returns the directory; `wrap opencode` adds `--standalone` on 2.x so the private server sees `OPENCODE_CONFIG_CONTENT`. Follow-up commits (review from #3719 + live testing): - Rebased on current `main` (0.40.0). Fixed the routing-contract conflict: replaced `routesThroughProxy` (TS2554 against `shouldRoute`'s 3-arg signature) with `modelBaseRoutesThroughProxy`, a deliberate model-base eligibility check that keeps the shared protocol / loopback / proxy-origin / excluded-host contract but drops the endpoint-suffix requirement, since 2.x hands us model base URLs (e.g. `/v1`), not inference endpoints. - `setup` now resolves the effective `excludeHosts` once (option over `HEADROOM_OPENCODE_EXCLUDE_HOSTS`) and applies it to both the transport install and the model rewrite, with new tests for both paths. - Fixed `test_build_launch_env_with_project` to decode `OPENCODE_CONFIG_CONTENT` instead of substring-matching the raw path, which JSON backslash escaping makes impossible on Windows. - `opencode_major_version` now reads the `v2` channel marker in dev builds (`opencode v0.0.0-v2-<stamp>`), which previously parsed as major 0, so `wrap` skips `--standalone` and the private server never loads Headroom's config. - Rebuilt `_dist/index.js` and `hook-shim/handler.js`; drift check clean. ## Testing - [x] Unit tests pass (`pytest`) - [x] Linting passes (`ruff check .` — run on the changed paths) - [x] Type checking passes (`mypy headroom` — run on the changed paths) - [x] New tests added for new functionality - [x] Manual testing performed ### Test Output ```text # plugins/opencode $ npm ci && npm run typecheck && npm run build:standalone && npm test tsc: clean (no TS2554) vitest: Test Files 3 passed (3) | Tests 45 passed (45) $ cmp dist-standalone/index.js ../../headroom/providers/opencode/_dist/index.js # identical $ cmp dist-standalone/hook-shim/handler.js ../../headroom/providers/opencode/hook-shim/handler.js # identical # focused Python suites (same set as #3719, plus the 2.x dev-build version case) $ pytest tests/test_providers_opencode_plugin_path.py tests/test_providers_opencode_config.py \ tests/test_providers_opencode_install.py tests/test_cli/test_wrap_opencode.py \ tests/test_mcp_registry_opencode.py tests/test_learn/test_opencode_scanner.py -q 193 passed in 1.10s $ ruff check / ruff format --check on changed paths: clean $ mypy headroom/providers/opencode headroom/cli/wrap.py: Success: no issues found ``` ## Real Behavior Proof - Environment: macOS arm64, Node v26.10.0, Python 3.13, headroom from this branch (0.41.0-dev). Tested against two real OpenCode 2.x clients, each in throwaway XDG dirs with its own proxy port: - `opencode 2.0.19` (official 2.x binary); - OpenCode 2.x head built from `anomalyco/opencode@v2` (`0.0.0-v2-202610061051`, Bun 1.4.2, `bun run script/build.ts --single` in `packages/cli`). - Exact command / steps: throwaway XDG dirs and a dedicated proxy port; fake key first (routing proof), then the real key (end-to-end proof): ```bash # fake key first (routing proof), then the real key (end-to-end proof) OPENCODE_API_KEY=<key> headroom wrap opencode --port 8799 --no-serena -- \ run -m opencode-go/deepseek-v4.1-flash "reply with the single word ok" # exclusion check HEADROOM_OPENCODE_EXCLUDE_HOSTS=opencode.ai OPENCODE_API_KEY=<key> headroom wrap opencode ... ``` (`opencode-go` declares `OPENCODE_API_KEY` as its env credential in the catalog, so no interactive login is needed.) - Observed result: routed 401 with the fake key and 200 with the real key through the proxy, `--standalone` added automatically, exclusion honored — details: - **Fake key** — proxy log: `proxy_inbound_request POST /v1/chat/completions` with `user-agent: opencode/latest/2.0.19/cli` (and `opencode/v2/0.0.0-v2-202610061051/cli` for the head), headers `x-headroom-base-url: https://opencode.ai` and `x-headroom-original-path: /zen/go/v1/chat/completions`; forwarded upstream, `401` from the fake key — routed through Headroom. - **Real key** — the model answered `ok`; proxy `status=200` with upstream `https://opencode.ai/inference/go/openai/v1/chat/completions`. - `wrap` added `--standalone` automatically on 2.0.19, and again on the v2 head after the dev-build version fix (explicit `--standalone` also works, per the kill-switch path). - **Exclusion** — with `HEADROOM_OPENCODE_EXCLUDE_HOSTS=opencode.ai` the model still answered while the proxy saw **zero** new chat requests: the 2.x model transform honors the exclusion list. - Not tested: Windows; OpenAI "responses"-wire against a live 2.x server; Anthropic-wire custom providers on 2.x; loading the plugin by npm name (`headroom-opencode`), which needs a published release; OpenCode 1.x older than 1.2.20. ## Runtime Rollout Safety - Rollout-managed feature(s): none - Minimum rollout channel: n/a - Stable/default behavior changed: on OpenCode 2.x, `wrap opencode` launches with `--standalone` (a private server per session); on 1.x behaviour is unchanged apart from the plugin path now being a directory. - Kill switch / disable path: pass `--server <url>` or `--standalone` explicitly; `HEADROOM_OPENCODE_PLUGIN_PATH` still overrides the plugin location. - Unsafe override required: no - Qualification impact: none - Rollback path: revert this PR; the wheel bundle and plugin path revert with it. ## 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) ## Additional Notes @laurence-diack-pk — thank you for the original implementation; the commit is preserved verbatim at the base of this branch. @JerrettDavis — this addresses the routing-contract conflict you described in #3719 (the missing `excludeHosts` argument and the model-base vs endpoint mismatch), the Windows assertion, and a dev-build version-detection gap found while validating on macOS. Live 2.x validation is done on both 2.0.19 and today's `v2` head; details above. --------- Co-authored-by: laurence <laurence.diack@peekrobotics.co.nz> Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Co-authored-by: JerrettDavis <mxjerrett@gmail.com> |
||
|
|
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> |
||
|
|
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)) ([ |
||
|
|
478dd9e0a3 |
deps: Bump source-map-js from 1.2.1 to 1.2.2 in /plugins/opencode (#3987)
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 /> [](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> <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/headroomlabs-ai/headroom/pull/3987" 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 --> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
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> |
||
|
|
2157400b00 |
fix(opencode): hide spawned Windows console windows (#3743)
## Description On Windows, the OpenCode transport wrapper injects proxy environment variables into child-process launches but does not suppress their console windows. This makes every MCP server launch visibly open a Windows console. The fix adds the platform-specific `windowsHide` option while preserving existing proxy environment injection and non-Windows behavior. Closes #3686 ## 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 - Set `windowsHide: true` in the shared child-process option injection path when `process.platform === "win32"`. - Add a regression test that exercises the Windows platform branch and captures the resulting `spawn` options. - Rebuild the committed standalone OpenCode bundles. ## Testing - [ ] Unit tests pass (`pytest`) - [ ] Linting passes (`ruff check .`) - [ ] Type checking passes (`mypy headroom`) - [x] New tests added for new functionality - [ ] Manual testing performed ### Test Output ```text Base regression: the Windows spawn-option assertion failed because options.windowsHide was undefined. After the fix: npm test -- --run src/transport.test.ts (18/18 passed) npm test (passed) npm run typecheck (passed) npm run build:standalone (passed); generated bundle comparisons passed python -m pytest -q tests/test_providers_opencode_plugin_path.py (4/4 passed) ``` ## Real Behavior Proof - Environment: local Linux checkout with the OpenCode transport test harness. - Exact command / steps: ran the transport regression suite after mocking `process.platform` to `win32`; the test installed the transport, invoked `childProcess.spawn("node", ["agent.js"])`, and inspected the captured options. - Observed result: the captured Windows spawn options contain `windowsHide: true`; the base assertion failed without the fix and passed after it. - Not tested: a Windows GUI session, a live MCP server launch on Windows, and upstream CI. ## Runtime Rollout Safety - Rollout-managed feature(s): none. - Minimum rollout channel: n/a. - Stable/default behavior changed: Windows child-process launches through the transport no longer create visible console windows; non-Windows launches retain their existing behavior. - Kill switch / disable path: none. - Unsafe override required: no. - Qualification impact: no dependency or configuration changes. - 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) ## Screenshots (if applicable) Not applicable; Windows GUI execution was not available in this environment. ## Additional Notes The option is applied in the shared injection path used by `spawn`, `exec`, `execFile`, and `fork`, and only on Windows. Remote CI and maintainer review remain pending. Co-authored-by: JerrettDavis <mxjerrett@gmail.com> |
||
|
|
d75eecd814 |
fix(opencode): route only LLM traffic through Headroom (#3884)
## Description The OpenCode transport hook routed every non-loopback HTTP(S) request through Headroom. That broke built-in WebFetch and Node-based tools because ordinary web pages, npm registries, GitHub, and MCP traffic were rewritten to the proxy and rejected by its upstream safety gate. The hook also injected a child-process loader into every Node child, changing npm/npx/MCP process behavior. Closes #3633 ## Type of Change - [x] Bug fix (non-breaking change that fixes an issue) - [ ] New feature - [ ] Breaking change - [ ] Documentation update - [ ] Performance improvement - [ ] Code refactoring ## Changes Made - Route only recognized LLM API paths (`/chat/completions`, `/responses`, `/messages`, including provider-prefixed variants) through Headroom. - Pass unrelated external fetches through unchanged, preserving URL and headers. - Leave HTTP/2 connections untouched because `http2.connect()` has no request path at connection time and cannot safely identify LLM traffic. - Stop mutating process `NODE_OPTIONS` and stop injecting the hook-shim into arbitrary child processes; preserve explicit child environment variables and Headroom routing environment propagation. - Regenerated the committed standalone entry and hook-shim bundles. - Added regression coverage for non-LLM/LLM fetches, HTTP/2 authorities, process environment preservation, and `spawn`/`exec`/`execFile`/`fork` children. ## Testing - [x] Unit tests pass - [x] Linting passes - [x] Type checking passes - [x] New tests added - [ ] Manual testing performed ### Test Output ```text $ npm --prefix plugins/opencode test Test Files 2 passed (2) Tests 26 passed (26) $ npm --prefix plugins/opencode run typecheck passed $ npm --prefix plugins/opencode run build ESM build success; DTS build success $ npm --prefix plugins/opencode run build:standalone build success entry bundle comparison: identical hook-shim bundle comparison: identical ``` ## Real Behavior Proof - Environment: macOS arm64, Node 25.9.0, npm 11.12.1, OpenCode plugin package with its locked dependencies; no provider credentials or network calls are required by the tests. - Exact command / steps: From the repository root run `npm --prefix plugins/opencode test`, `npm --prefix plugins/opencode run typecheck`, `npm --prefix plugins/opencode run build`, and `npm --prefix plugins/opencode run build:standalone`. The regression tests install the transport hooks, issue non-LLM and LLM fetches, spy on HTTP/2 connect, and exercise `spawn`, `exec`, `execFile`, and `fork` with custom and inherited `NODE_OPTIONS`. - Observed result: non-LLM URLs remain unchanged and have no `x-headroom-*` headers; recognized LLM paths route through the proxy; external HTTP/2 authorities reach the original connect; child environments retain existing `NODE_OPTIONS` without hook-shim imports; all 26 tests pass; typecheck and both builds pass. - Not tested: a live WebFetch request or a real external MCP server. The transport tests cover the routing and environment behavior without network or credential dependencies. ## Runtime Rollout Safety - Rollout-managed feature(s): None; this is an OpenCode plugin transport behavior correction. - Minimum rollout channel: Stable plugin release after the committed bundle is published. - Stable/default behavior changed: Non-LLM HTTP and arbitrary child-process traffic is no longer routed through Headroom; LLM API paths remain routed. - Kill switch / disable path: Remove the plugin or unset the proxy transport configuration; no new feature flag is required. - Unsafe override required: No. - Qualification impact: OpenCode transport tests, typecheck, normal build, and standalone wheel-bundle comparison. - 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 - [x] I have added tests proving the fix - [x] New and existing tests pass locally - [x] I did not edit `CHANGELOG.md` ## Screenshots (if applicable) Not applicable. |
||
|
|
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))
([
|
||
|
|
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)) ([ |
||
|
|
0024b57405 |
feat(opencode): exclude hosts from transport plugin routing (#3668)
## Description The OpenCode transport plugin rewrites every non-loopback HTTP(S) request to the Headroom proxy, both in the OpenCode process and in every spawned Node child via the hook-shim. When a provider validates the client on the wire and rejects the proxy hop (OpenCode Zen free tier, some enterprise gateways), the only way to keep that provider working is to unload the plugin, which drops Headroom for every other provider too. This adds an exclude list to `shouldRoute()`. Hosts come from the `excludeHosts` plugin option, or from `HEADROOM_OPENCODE_EXCLUDE_HOSTS` (comma-separated) when the option is absent, with the same option-over-env precedence `proxyUrl` already uses. An entry matches the host and all of its subdomains (`example.com`, `.example.com` and `*.example.com` are equivalent). Excluded requests go straight upstream with their original URL, init and headers: no `x-headroom-base-url`, no compression, no telemetry. The effective list is exported to `process.env` and to spawned child env so the hook-shim copy of the transport makes the same decision. Default is empty, so nothing changes for existing installs. Root cause: `shouldRoute()` (unchanged since #1105) only checked scheme, loopback and the proxy origin; it had no configuration input at all, and the child-process shim configures itself purely from env, so any opt-out has to be env-readable and exported by `withShimEnv`/`installProcessEnv` or children silently diverge from the parent (#3633 points this out). Considered and not done here: path-level globs (both reported cases are host-level; can be layered on later as a separate variable), proxy-side passthrough (still a proxy hop, which is what the Zen gate rejects), and a default exclusion for `registry.npmjs.org` (a separate decision; this keeps zero behavior change by default). The Zen `/responses` bug itself is #3656 / #3659. Closes #3657 Refs #3633 Note: #3657 is a feature request and did not yet have a maintainer 👍 when I opened this, so I am keeping it small and happy to change the surface: drop the plugin option and ship env-only, rename the variable to #3633's `HEADROOM_OPENCODE_ROUTE_EXCLUDE`, or hold until the surface is agreed. ## 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 - `plugins/opencode/src/transport.ts`: `normalizeExcludeHosts` / `isExcludedHost`; `shouldRoute` takes the list and returns `false` on a match (fetch, `http`/`https.request`/`get`, and `http2.connect`, which is now allowed for excluded hosts instead of blocked); `installHeadroomTransport` resolves `options.excludeHosts ?? process.env.HEADROOM_OPENCODE_EXCLUDE_HOSTS`; `installProcessEnv` and `withShimEnv` export the **effective** list through `withExcludeHostsEnv` — set when non-empty, deleted when empty — so an explicit `excludeHosts: []` clears a pre-existing variable for the process and for every spawned child (review finding, second commit). - `plugins/opencode/src/plugin.ts`: `excludeHosts?: string[]` on `HeadroomOpenCodePluginOptions`, passed through. - `plugins/opencode/src/transport.test.ts`: six tests — env var with subdomain/case/`.`/`*.` forms and non-matching hosts still routed; option precedence over env; Node `https.request` and `http2.connect` on excluded hosts; child env propagation (and no variable set when nothing is excluded); explicit empty override clears a pre-existing variable in-process, in `process.env`, and in default/custom/stale-carrying child env; the variable tracks each re-install's resolved list. - `headroom/providers/opencode/_dist/entry.opencode.js`, `headroom/providers/opencode/hook-shim/handler.js`: rebuilt with `npm run build:standalone`. - `plugins/opencode/README.md`, `docs/content/docs/opencode.mdx`: document the option, the variable and the matching rule. ## Testing - [ ] Unit tests pass (`pytest`) — not run in full locally; `tests/test_providers_opencode_plugin_path.py` and `tests/test_providers_opencode_config.py` give the same result as `main` on my Windows checkout (44 passed, 1 pre-existing Windows-only path-escaping failure in `test_build_launch_env_with_project`). No Python source changed. - [ ] Linting passes (`ruff check .`) — no Python changed. - [ ] Type checking passes (`mypy headroom`) — no Python changed. - [x] New tests added for new functionality - [x] Manual testing performed Plugin CI sequence from `.github/workflows/opencode-plugin.yml`, run after rebasing onto `main` (`67eb910e`): typecheck, build, test, standalone build, bundle parity, plus commitlint and `npm audit`. ### Test Output ```text $ cd plugins/opencode && npm ci && npm run typecheck && npm run build && npm test found 0 vulnerabilities typecheck exit=0 Test Files 2 passed (2) Tests 23 passed (23) $ npm run build:standalone && cmp dist-standalone/entry.opencode.js ../../headroom/providers/opencode/_dist/entry.opencode.js && cmp dist-standalone/hook-shim/handler.js ../../headroom/providers/opencode/hook-shim/handler.js entry.opencode.js: IDENTICAL handler.js: IDENTICAL # the four new tests against unpatched transport.ts (fix stashed, tests kept): ❯ src/transport.test.ts (19 tests | 4 failed) × keeps HEADROOM_OPENCODE_EXCLUDE_HOSTS hosts and their subdomains off the proxy (#3657) × prefers the excludeHosts option over HEADROOM_OPENCODE_EXCLUDE_HOSTS × leaves excluded hosts alone for Node https.request and http2.connect × propagates excluded hosts into child process env so the hook-shim matches AssertionError: expected URL { href: 'http://127.0.0.1:8787/v1/responses', ... } to be 'https://opencode.ai/zen/v1/responses' $ npx commitlint --config .commitlintrc.json --edit <msg> # exit 0 $ npm audit --package-lock-only --audit-level=low # found 0 vulnerabilities ``` ## Real Behavior Proof - Environment: Windows 11, Node v24.13.0, plugin built from this branch (`npm run build` for the in-process check, the committed wheel `hook-shim/handler.js` from this branch for the child-process check), fake proxy on `127.0.0.1` recording `x-headroom-base-url`. `HEADROOM_OPENCODE_EXCLUDE_HOSTS=opencode.ai`. - Exact command / steps: (1) import `dist/index.js`, install the transport with `excludeHosts: ["opencode.ai"]`, `fetch("https://opencode.ai/zen/v1/responses")` then `fetch("https://api.anthropic.com/v1/messages")`, record what the original `fetch` received; (2) spawn `node --import=<hook-shim/handler.js>` with `HEADROOM_OPENCODE_TRANSPORT_PROXY_URL=<fake proxy>` and the variable above, `fetch("https://opencode.ai/zen/v1/responses")` from the child, watch the fake proxy; (3) same two scripts on unpatched `main` as the control. - Observed result: (1) `{"url":"https://opencode.ai/zen/v1/responses","base":null}` then `{"url":"http://127.0.0.1:8787/v1/messages","base":"https://api.anthropic.com"}` — excluded host untouched, Anthropic still routed; (2) `child: fetch resolved status 401 from https://opencode.ai/zen/v1/responses` / `fake proxy saw: []` — the child went direct to the real host (401 is opencode.ai answering an unauthenticated request) and the proxy never saw it; (3) on `main` both scripts route `opencode.ai` to the proxy with `base: https://opencode.ai`, and on this branch the same happens when the variable is spelled wrong (`HEADROOM_OPENCODE_ROUTE_EXCLUDE`), i.e. an unknown variable changes nothing. - Empty-override check (review finding): parent env `HEADROOM_OPENCODE_EXCLUDE_HOSTS=api.anthropic.com`, transport installed with `excludeHosts: []`, a child spawned through the wrapped `child_process.spawn` preloaded with the committed hook-shim, both fetch `api.anthropic.com`: on the reviewed head the child inherited `"api.anthropic.com"` and went direct; on this head `child env var: undefined` and the fake proxy saw `x-headroom-base-url: ["https://api.anthropic.com","https://api.anthropic.com"]` — parent and child agree. - Not tested: a live OpenCode session against the real Zen free-tier model (I don't have OpenCode Zen credentials); macOS/Linux; Bun-spawned children (they inherit `process.env`, which `installProcessEnv` now sets, same path as `NODE_OPTIONS`); the full Python suite (CI). ## Runtime Rollout Safety - Rollout-managed feature(s): none. - Minimum rollout channel: n/a. - Stable/default behavior changed: no. With no `excludeHosts` option and no `HEADROOM_OPENCODE_EXCLUDE_HOSTS`, `shouldRoute()` is unchanged and the variable is never written. Only configured hosts bypass the proxy; for them `http2.connect` is now allowed instead of throwing. - Kill switch / disable path: unset the variable / remove the option; excluded traffic goes back through the proxy on next launch. - Unsafe override required: no. - Qualification impact: none. - Rollback path: revert this commit (source and the two committed bundles change together). ## 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) ## Additional Notes Start reading at `shouldRoute()` and `normalizeExcludeHosts()` in `plugins/opencode/src/transport.ts`, then `installHeadroomTransport` for the option/env resolution and the two env exports. The bundle diffs are the same hunks compiled. The one decision I'd most like challenged is shipping both a plugin option and an env var: the env var is required regardless (it is the only surface that reaches `headroom wrap opencode`, which registers the plugin as a bare path, and the hook-shim in child processes), and the option mirrors the reporter's proposed API; dropping the option is a six-line change if you'd rather keep one surface. Known limits: entries are bare hosts (no scheme, port or path), IDN entries must be given in punycode, and like `HEADROOM_OPENCODE_TRANSPORT_PROXY_URL` the exported variable is not removed from `process.env` on dispose. --------- Co-authored-by: JD Davis <mxjerrett@gmail.com> |
||
|
|
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 "null" (<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 "null" (<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> |
||
|
|
94206e2652 |
chore: release 0.38.0
Release Headroom 0.38.0. |
||
|
|
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> |
||
|
|
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 |
||
|
|
4263da12b5 |
fix(deps): remediate vulnerable CLI and plugin dependency trees (#3521)
Updates the wrap E2E CLI and OpenCode plugin dependency trees to remove
vulnerable versions matching 194 of the 198 open Dependabot alerts
reviewed on 2026-09-10.
- Upgrade the pinned OpenClaw CLI from 2026.4.7 to 2026.9.3 and use Node
24 in its Docker harness to satisfy the new engine requirement. Its
current dependency tree removes the vulnerable legacy extraction,
image/PDF, and coding-agent dependencies and updates Hono/tar.
- Upgrade Vitest to 4.1.11 and resolve TOML to 4.3.0 in the OpenCode
plugin lockfile.
- Handle OpenClaw's explicit legacy-flag migration with its
source/capability confirmation flags, preserving terminal install-policy
failures. Run the isolated Docker gateway in the foreground on loopback
with a per-run authentication token.
- Include `/e2e/wrap/tools` in Dependabot's npm update directories.
- Document the four unresolved optional Python dependency alerts in
`SECURITY.md`, with upstream evidence and exposure mitigations. ChromaDB
has no patched release; Accelerate 1.15.0 still has the unsafe
checkpoint loader despite being outside the advisory's stated version
range. No alerts are dismissed and no supported integrations are
removed.
Validation: both npm lockfile audits report zero vulnerabilities; all
194 npm advisory ranges were checked against every installed package
path in the new locks, including an independent review. OpenCode
typecheck, build, all 17 tests, and standalone build pass; both
standalone artifacts exactly match the committed wheel bundles. The
Docker image builds and the full local Docker wrap E2E passes with the
compatibility changes mounted into the built image. All 41 Python
OpenClaw wrapper/provider tests and changed-file Ruff checks pass. CI is
green on
|
||
|
|
32d7ca4577 |
chore: release 0.37.0 (#3228)
🤖 I have created a release *beep* *boop* --- ## [0.37.0](https://github.com/headroomlabs-ai/headroom/compare/v0.36.5...v0.37.0) (2026-08-27) ### Features * **compress:** session-aware /v1/compress (sidecar mode) + /v1/usage relay ([#3270](https://github.com/headroomlabs-ai/headroom/issues/3270)) ([ |
||
|
|
34a5517562 |
chore: release 0.36.5 (#3214)
🤖 I have created a release *beep* *boop* --- ## [0.36.5](https://github.com/headroomlabs-ai/headroom/compare/v0.36.4...v0.36.5) (2026-08-22) ### Bug Fixes * **codex:** detect ChatGPT auth from id_token claims so wrap/init emit requires_openai_auth ([#3212](https://github.com/headroomlabs-ai/headroom/issues/3212)) ([ |
||
|
|
91186b40d8 |
chore: release 0.36.4 (#3189)
🤖 I have created a release *beep* *boop* --- ## [0.36.4](https://github.com/headroomlabs-ai/headroom/compare/v0.36.3...v0.36.4) (2026-08-22) ### Bug Fixes * **dashboard:** pin MIME types for the vendored static assets ([#3193](https://github.com/headroomlabs-ai/headroom/issues/3193)) ([ |
||
|
|
87e71dd100 |
chore: release 0.36.3 (#3188)
🤖 I have created a release *beep* *boop*
---
##
[0.36.3](https://github.com/headroomlabs-ai/headroom/compare/v0.36.2...v0.36.3)
(2026-08-21)
### Bug Fixes
* **proxy/responses:** lift Codex >= 0.149.0 additional_tools into
top-level tools
([#3186](https://github.com/headroomlabs-ai/headroom/issues/3186))
([
|
||
|
|
5e0ce242e9 |
chore: release 0.36.2 (#3157)
🤖 I have created a release *beep* *boop* --- ## [0.36.2](https://github.com/headroomlabs-ai/headroom/compare/v0.36.1...v0.36.2) (2026-08-21) ### Bug Fixes * **copilot:** bind the minted token to the integration ID we forward ([#3164](https://github.com/headroomlabs-ai/headroom/issues/3164)) ([ |
||
|
|
a382137844 |
deps: bump typescript from 5.9.3 to 7.0.2 in /plugins/opencode (#2280)
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 7.0.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/microsoft/TypeScript/releases">typescript's releases</a>.</em></p> <blockquote> <h2>TypeScript 6.0.3</h2> <p>For release notes, check out the <a href="https://devblogs.microsoft.com/typescript/announcing-typescript-6-0/">release announcement blog post</a>.</p> <ul> <li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&q=milestone%3A%22TypeScript+6.0.0%22">fixed issues query for TypeScript 6.0.0 (Beta)</a>.</li> <li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&q=milestone%3A%22TypeScript+6.0.1%22">fixed issues query for TypeScript 6.0.1 (RC)</a>.</li> <li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&q=milestone%3A%22TypeScript+6.0.2%22">fixed issues query for TypeScript 6.0.2 (Stable)</a>.</li> <li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&q=milestone%3A%22TypeScript+6.0.3%22">fixed issues query for TypeScript 6.0.3 (Stable)</a>.</li> </ul> <p>Downloads are available on:</p> <ul> <li><a href="https://www.npmjs.com/package/typescript">npm</a></li> </ul> <h2>TypeScript 6.0</h2> <p>For release notes, check out the <a href="https://devblogs.microsoft.com/typescript/announcing-typescript-6-0/">release announcement blog post</a>.</p> <ul> <li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&q=milestone%3A%22TypeScript+6.0.0%22">fixed issues query for TypeScript 6.0.0 (Beta)</a>.</li> <li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&q=milestone%3A%22TypeScript+6.0.1%22">fixed issues query for TypeScript 6.0.1 (RC)</a>.</li> <li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&q=milestone%3A%22TypeScript+6.0.2%22">fixed issues query for TypeScript 6.0.2 (Stable)</a>.</li> </ul> <p>Downloads are available on:</p> <ul> <li><a href="https://www.npmjs.com/package/typescript">npm</a></li> </ul> <h2>TypeScript 6.0.1 RC</h2> <p>For release notes, check out the <a href="https://devblogs.microsoft.com/typescript/announcing-typescript-6-0-rc/">release announcement blog post</a>.</p> <ul> <li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&q=milestone%3A%22TypeScript+6.0.0%22">fixed issues query for TypeScript 6.0.0 (Beta)</a>.</li> <li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&q=milestone%3A%22TypeScript+6.0.1%22">fixed issues query for TypeScript 6.0.1 (RC)</a>.</li> </ul> <p>Downloads are available on:</p> <ul> <li><a href="https://www.npmjs.com/package/typescript">npm</a></li> </ul> <h2>TypeScript 6.0 Beta</h2> <p>For release notes, check out the <a href="https://devblogs.microsoft.com/typescript/announcing-typescript-6-0-beta/">release announcement</a>.</p> <ul> <li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&q=milestone%3A%22TypeScript+6.0.0%22+is%3Aclosed+">fixed issues query for Typescript 6.0.0 (Beta)</a>.</li> </ul> <p>Downloads are available on:</p> <ul> <li><a href="https://www.npmjs.com/package/typescript">npm</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/microsoft/TypeScript/commits">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~microsoft1es">microsoft1es</a>, a new releaser for typescript since your current version.</p> </details> <br /> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. --------- 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> |
||
|
|
37faf2f247 |
chore: release 0.36.1 (#3152)
## Description Release 0.36.1, generated by Release Please, containing the security fixes from #2207 (WEB-01–07). This updates the changelog and keeps Python, TypeScript SDK, plugin package, marketplace, server, and release metadata versions aligned at 0.36.1. ## Type of Change - [x] Release / version metadata ## Changes Made - Updated the release manifest and generated changelog for 0.36.1. - Synchronized `pyproject.toml`, TypeScript SDK, OpenClaw, OpenCode, agent-hook plugin, marketplace, server, and release metadata versions. - Included the 0.36.1 changelog entry for the security assessment fixes merged in #2207. ## Testing - [x] CI and release validation pass ### Test Output All current required checks are complete and passing, including version sync, package builds, wheel smoke imports, security scans, Python test shards, native wrapper checks, and devcontainer validation. ## Real Behavior Proof - Environment: GitHub Actions release and CI workflows for commit `52c0a0c61dce0af81af3ff73a34efe8b451501cb`. - Observed result: all generated version-bearing files report 0.36.1; build and smoke-import jobs produced and validated the release artifacts. - Not exercised: publishing jobs are intentionally skipped for a pull request and run only after the release receives final human approval and is merged. ## Runtime Rollout Safety - Rollout-managed features: none; this PR packages already-merged behavior. - Stable/default behavior changed: no additional runtime behavior beyond the included, already-reviewed security fixes. - Kill switch / disable path: not applicable to generated release metadata. - Qualification impact: release artifact construction and smoke-import validation are green. - Rollback path: do not merge the release PR, or revert the release commit before publishing. ## Review Readiness - [x] I have performed a self-review - [x] This PR is ready for human review ## Release Notes ### Bug Fixes - **security:** address u9up assessment findings (WEB-01–07) (#2207) This PR was generated with Release Please and then its description was expanded to document review and qualification evidence. It still requires final human review; no publishing or merge has been performed. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> |
||
|
|
b88b9078d8 |
chore: release 0.36.0 (#3067)
🤖 I have created a release *beep* *boop* --- ## [0.36.0](https://github.com/headroomlabs-ai/headroom/compare/v0.35.0...v0.36.0) (2026-08-20) ### Features * add deterministic runtime rollout controls ([#1490](https://github.com/headroomlabs-ai/headroom/issues/1490)) ([ |
||
|
|
eeb038bc0c |
fix(opencode): send x-headroom-project header on all proxied requests (#2868)
## Description The OpenCode transport plugin set `HEADROOM_PROJECT` as a shell env var for child processes but never forwarded it as `x-headroom-project` on the actual proxied HTTP requests. The proxy's `classify_project` only attributes traffic via `x-headroom-project` header or `/p/<name>` URL prefix — without the header, every OpenCode request was unattributed and the Per-Project Savings dashboard showed `0 project(s)` permanently. Fixes #2847. ## Root cause `installHeadroomTransport` was called with only `{ proxyUrl, debug }`. The `project` value was computed and used only in the `shell.env` hook (for subprocess env injection), never threaded through to `mergeFetchHeaders` or `headersForNodeRequest`. ## Changes Made 1. Add `project?: string` to `InstallOptions` and `TransportState`. 2. Resolve the project value once at plugin init (`pluginOptions.project → input.project.id → input.directory`) and pass it to `installHeadroomTransport`. 3. Both header-building seams now set `x-headroom-project` when a project is present: - `mergeFetchHeaders` (wrapped `fetch` path) - `headersForNodeRequest` (wrapped `http.request` / `https.request` path) 4. Reuse the resolved `project` in the `shell.env` hook (removes the duplicate resolution that was there before). ## Changes - `plugins/opencode/src/transport.ts` — `InstallOptions.project`, `TransportState.project`; `mergeFetchHeaders`, `headersForNodeRequest`, `routedNodeOptions`, `withRoutedFetchInput`, `installHeadroomTransport` updated - `plugins/opencode/src/plugin.ts` — resolve `project` once, pass it to transport; reuse in `shell.env` - `plugins/opencode/src/transport.test.ts` — 3 new tests: project header on fetch, project header on https.request, no header when project unset - `headroom/providers/opencode/_dist/entry.opencode.js` — rebuilt with `npm run build:standalone` to match source ## Testing - [x] Unit tests pass - [x] TypeScript typecheck passes - [x] New regression tests added ### Test Output ``` cd plugins/opencode && npm test # 17 passed (14 existing + 3 new) ``` TypeScript build also passes: `npm run typecheck` (no errors). ## Type of Change - [x] Bug fix (non-breaking change that fixes an issue) - [ ] New feature - [ ] Breaking change - [ ] Documentation update - [ ] Performance improvement - [ ] Code refactoring ## Real Behavior Proof - Environment: OpenCode transport plugin test environment on the current PR head. - Exact command / steps: ran the plugin test suite and TypeScript typecheck after rebuilding the standalone bundle. - Observed result: all 17 tests passed, including project-header coverage for fetch and Node HTTPS paths plus the unset-project control; typechecking passed. - Not tested: a live OpenCode session against a deployed Headroom proxy. ## Review Readiness - [x] I have performed a self-review - [x] This PR is ready for human review --------- Signed-off-by: Radhakrishnan P <gingeekrishna@gmail.com> Signed-off-by: Radhakrishnan Pachyappan <gingeekrishna@gmail.com> |
||
|
|
93f2d7a2da |
chore: release main (#2792)
🤖 I have created a release *beep* *boop* --- <details><summary>0.35.0</summary> ## [0.35.0](https://github.com/headroomlabs-ai/headroom/compare/v0.34.0...v0.35.0) (2026-08-12) ### Features * **beacon:** allowlist the routing summary key ([#2818](https://github.com/headroomlabs-ai/headroom/issues/2818)) ([ |
||
|
|
78591545ce |
fix: publish headroom-opencode in release workflow (#2372)
## Description `headroom-opencode` is documented as an npm package, but the release workflow never published it, so installs failed with a registry 404 even though the plugin source already lived under `plugins/opencode`. This wires the existing package into the npm release path, keeps its version synced with root releases, and adds release guards for the new package. Closes #76. ## 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 - added `headroom-opencode` to the npm release workflow, including release-version stamping and `headroom-ai` dependency rewrite before publish - added `plugins/opencode/package.json` to release-please and local version-sync guards - synced the source opencode package version to the current release line and documented the new npm package in the release docs - added focused release workflow and version-sync tests for the opencode package - aligned the two failing dashboard Playwright tests with the current Session/Lifetime split and `/stats-lifetime` fixture contract ## Testing - [x] Unit tests pass (`uv run pytest scripts/tests/test_version_sync.py -q`, `uv run pytest tests/test_release_workflows.py -q -k 'publish_npm_rewrites_opencode_dependency_after_version_and_before_publish or opencode_source_dependency_matches_lockfile_registry_range or release_please_manifest_config_consistency'`) - [x] Unit tests pass (`uv run pytest tests/test_dashboard_cache_lifetime_playwright.py tests/test_dashboard_cache_ttl_playwright.py -q`) - [x] Linting passes (`uv run ruff check scripts/verify-versions.py scripts/version-sync.py scripts/tests/test_version_sync.py tests/test_release_workflows.py`) - [ ] Type checking passes (`uv run mypy headroom`) - [x] New tests added for new functionality when applicable - [x] Manual testing performed ### Test Output ```text $ uv run pytest scripts/tests/test_version_sync.py -q 8 passed, 1 warning in 0.51s $ uv run pytest tests/test_release_workflows.py -q -k 'publish_npm_rewrites_opencode_dependency_after_version_and_before_publish or opencode_source_dependency_matches_lockfile_registry_range or release_please_manifest_config_consistency' 2 passed, 38 deselected, 1 warning in 0.07s $ uv run pytest tests/test_dashboard_cache_lifetime_playwright.py tests/test_dashboard_cache_ttl_playwright.py -q 4 passed, 1 warning in 4.04s $ uv run ruff check scripts/verify-versions.py scripts/version-sync.py scripts/tests/test_version_sync.py tests/test_release_workflows.py All checks passed! $ npm ci && npm run build (plugins/opencode) Build success; dist/index.js, dist/entry.opencode.js, and DTS outputs emitted ``` ## Real Behavior Proof - Environment: Windows, Python 3.11.15, Node v24.15.0, npm 11.16.0 - Exact command / steps: inspected `.github/workflows/release.yml`, updated the npm publish path for `plugins/opencode`, aligned the two failing dashboard Playwright tests with the current Session/Lifetime split, then ran the focused pytest commands above plus `npm ci && npm run build` in `plugins/opencode` - Observed result: the release workflow now versions and publishes `headroom-opencode`, release-please and version-sync track `plugins/opencode/package.json`, the dashboard tests now fetch durable cache and setup-url data from the Lifetime view, and the opencode package still builds locally from source - Not tested: GitHub Package Registry publish ## 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 have updated the CHANGELOG.md if applicable ## Additional Notes `CHANGELOG.md` is unchanged because release-please owns changelog generation here. --------- Co-authored-by: JD Davis <mxjerrett@gmail.com> |