instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
vendurehq__vendure__3937 | vendurehq/vendure | 3,937 | defect | b27a9855837b685ad2d5da5276176d0afcaf4e68 | c17c4615af4bcb3a398e6e91875cc1978f82e580 | fix(dashboard): only first custom page block renders on same anchor | # Description
Fixes #3848
Addresses these 3 Issues:
- Fixes adding multiple custom pageBlocks with the same "anchor" element under the position option would only show the first element
- Order of the blocks did not reflect how they were defined in the dashboardExtensions
- Custom pageBlocks were not shown in... | diff --git a/packages/dashboard/src/lib/framework/layout-engine/page-layout.spec.tsx b/packages/dashboard/src/lib/framework/layout-engine/page-layout.spec.tsx
new file mode 100644
index 0000000000..8ddcfc6f66
--- /dev/null
+++ b/packages/dashboard/src/lib/framework/layout-engine/page-layout.spec.tsx
@@ -0,0 +1,138 @@
+... | 3 | 1 | 1 | [{"id": "G0", "claim": "The childBlock insertion logic fails to insert the original childBlock when all extension blocks have order \"before\" (or all \"replace\"), because index never equals beforeExtensionBlocksLength.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id... | null |
vendurehq__vendure__4134 | vendurehq/vendure | 4,134 | defect | 896dc620fce4933e03543b271911a3d9ef0e7002 | 7cdd372ccc252f3dbdfa472b2d2901022c2238f1 | fix(dashboard): Resolve tsconfig path aliases in ESM mode | ## Summary
Fixes #3970
The `tsconfig-paths` library only hooks into CommonJS `require()`, not ESM `import()`. This means ESM projects with tsconfig path aliases fail to resolve at runtime.
Added a TypeScript custom transformer that rewrites import paths from aliases to resolved relative paths during compilation when... | diff --git a/packages/dashboard/vite/tests/esm-path-alias.spec.ts b/packages/dashboard/vite/tests/esm-path-alias.spec.ts
new file mode 100644
index 0000000000..471e92a685
--- /dev/null
+++ b/packages/dashboard/vite/tests/esm-path-alias.spec.ts
@@ -0,0 +1,40 @@
+import { rm } from 'node:fs/promises';
+import { join } fr... | 3 | 1 | 1 | [{"id": "G0", "claim": "In resolvePathAlias, target.replace('*', match[1]) replaces only the first occurrence of '*', so a path alias target containing two wildcards would be resolved incorrectly.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In the n... | null |
vendurehq__vendure__4339 | vendurehq/vendure | 4,339 | defect | d1372e5d092dd3a487ca43ed6c821c0db22f97d4 | 6b49059cfb7adf0afa73e7ae57924bd101ac818d | fix(dashboard): Return null for nullable non-string field defaults | # Description
Fixes #4155
Fixes optional non-string fields (DateTime, Enum, Int, Float) being treated as required in Dashboard `DetailPage` forms. The form either failed validation or the GraphQL mutation rejected empty strings for these types.
**Root cause**: `getDefaultValueFromField()` returned `''` for all... | diff --git a/packages/dashboard/src/lib/framework/form-engine/form-schema-tools.ts b/packages/dashboard/src/lib/framework/form-engine/form-schema-tools.ts
index 24aaca738e..021f828ac3 100644
--- a/packages/dashboard/src/lib/framework/form-engine/form-schema-tools.ts
+++ b/packages/dashboard/src/lib/framework/form-engin... | 5 | 3 | 2 | [{"id": "G0", "claim": "Assigning and deleting obj[field.name] in convertEmptyStringsToNull and stripNullNullableFields could pollute Object.prototype if a '__proto__' field name were injected, and a defensive guard is requested.", "category": "security", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}... | null |
vendurehq__vendure__4376 | vendurehq/vendure | 4,376 | defect | 3c8356cb32832c3dfaa8299a1e338bbaae0838e3 | cb9871c9d12ee2c7d3b59d14eef121b084e68c15 | feat(core): Add configurable OrderTaxSummaryCalculationStrategy | # Description
Introduces a strategy pattern for how order-level tax totals and tax summaries are calculated, allowing different rounding approaches.
The default strategy (DefaultOrderTaxSummaryCalculationStrategy) rounds tax per line then sums, preserving existing Vendure behavior.
The new OrderLevelTaxSummary... | diff --git a/packages/core/src/config/config.module.ts b/packages/core/src/config/config.module.ts
index 18518e39b5..91d0a61d9d 100644
--- a/packages/core/src/config/config.module.ts
+++ b/packages/core/src/config/config.module.ts
@@ -86,7 +86,8 @@ export class ConfigModule implements OnApplicationBootstrap, OnApplicat... | 8 | 8 | 1 | [{"id": "G0", "claim": "Null-safety for order.lines/order.surcharges is inconsistent across the tax calculation methods (some iterate them bare, others guard with ?? []), so the strategies should apply consistent defensive guards.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "intr... | null |
vendurehq__vendure__4495 | vendurehq/vendure | 4,495 | defect | 758e92dd63993a9c8d62b7e22ac7b3a458a749d5 | ad0245d96411ee8f1808f5f44a4a9cf4bf0710dd | fix(dashboard): Use null instead of undefined when clearing relation custom fields | ## Summary
- When clearing a single relation custom field via the `RelationSelector`, `onChange(undefined)` was called. Since `undefined` is stripped from JSON serialization, the server never received the clear instruction — the relation remained set.
- Changed `onChange(undefined)` to `onChange(null)` in `relation-se... | diff --git a/packages/dashboard/src/lib/components/data-input/relation-selector.tsx b/packages/dashboard/src/lib/components/data-input/relation-selector.tsx
index f949496e50..ee7f2c4597 100644
--- a/packages/dashboard/src/lib/components/data-input/relation-selector.tsx
+++ b/packages/dashboard/src/lib/components/data-i... | 3 | 2 | 1 | [{"id": "G0", "claim": "The `as string` / `as string[]` type assertions in SingleRelationInput and MultiRelationInput mask the null that RelationSelector now passes on clear, silently handing null to parent handlers typed as string or string[] (M003: fix the signatures or the parent handlers; M005: drop the pointless c... | null |
vendurehq__vendure__4509 | vendurehq/vendure | 4,509 | defect | fdfa186e86e23206ad193c02d63065231b3092db | 7f61550aaf9a45b88aaaf7562d6a13654c8fd852 | fix(dashboard): Persist collection tree expanded state in URL search params | Persists the expanded/collapsed state of collection tree rows in URL search params (\`?expanded=1,2,5\`). Also fixes several root-cause bugs related to expansion, drag-and-drop positioning, and collection movement.
Fixes #4388
## Changes
### 1. URL persistence (original approach)
Stores expanded row IDs in \`?expand... | diff --git a/docs/docs/reference/dashboard/form-components/translatable-form-field-wrapper.mdx b/docs/docs/reference/dashboard/form-components/translatable-form-field-wrapper.mdx
index 3e9d8bed72..7617d3d787 100644
--- a/docs/docs/reference/dashboard/form-components/translatable-form-field-wrapper.mdx
+++ b/docs/docs/r... | 8 | 4 | 4 | [{"id": "G0", "claim": "State updates inside the paged child-collection queryFn are skipped entirely on TanStack Query cache hits, so 'Load more' no-ops; move the side effects out of queryFn into a useEffect as already done for the first-page queries.", "category": "correctness", "verdict": "supported", "priority": "P1... | null |
vendurehq__vendure__4627 | vendurehq/vendure | 4,627 | defect | e63387aa9e8ac44bbc72896ef9143265e3403948 | 388e16a3f35d902fd64bddc054244b496d146b0e | feat(dashboard): Add requiresPermissions support to dashboard widgets | ## Summary
The legacy Angular dashboard supported `requiresPermissions` on `DashboardWidgetConfig`,
allowing widgets to be restricted based on the active user's permissions. This property
was not carried over to the new React `DashboardWidgetDefinition` type.
This PR restores that capability by:
- ... | diff --git a/packages/dashboard/src/app/routes/_authenticated/index.tsx b/packages/dashboard/src/app/routes/_authenticated/index.tsx
index d224d03e29..417212a73a 100644
--- a/packages/dashboard/src/app/routes/_authenticated/index.tsx
+++ b/packages/dashboard/src/app/routes/_authenticated/index.tsx
@@ -2,7 +2,8 @@ impor... | 3 | 2 | 0 | [{"id": "G0", "claim": "Memoize hasPermissions with useCallback (dependencies [channels, activeChannel?.id]) because it currently returns a new reference on every render, causing effects and memos that depend on it (index.tsx useEffect, nav-main.tsx useMemo) to re-run unnecessarily.", "category": "performance", "verdic... | null |
vendurehq__vendure__4676 | vendurehq/vendure | 4,676 | defect | 3fc46f100c41d24ca39dad37fd8296b7d5509f8b | 20ae07f63fa0f2905de3d5b34e04caddf06725d4 | fix(dashboard): Support action bar positioning relative to extensions | # Description
Fixes action bar extension positioning when one extension item targets another extension item via `position.itemId`.
Previously, `mergeAndSortActionBarItems()` only used inline `ActionBarItem.itemId` values as positioning targets. This worked when an extension item was positioned relative to a built... | diff --git a/packages/dashboard/src/lib/framework/layout-engine/page-layout.spec.tsx b/packages/dashboard/src/lib/framework/layout-engine/page-layout.spec.tsx
index 565f460a30..bfc98138d5 100644
--- a/packages/dashboard/src/lib/framework/layout-engine/page-layout.spec.tsx
+++ b/packages/dashboard/src/lib/framework/layo... | 3 | 2 | 1 | [{"id": "G0", "claim": "Positioned extension items whose position.itemId never resolves (orphan target or a cycle among positioned extensions) are never traversed by the root-walk render and therefore silently disappear instead of falling back to a sensible default as issue #4667 requires; the reviewer suggests appendi... | null |
venmo__business-rules__3 | venmo/business-rules | 3 | defect | b8b9e6fac9e430b375d231e8ba70b82d7b385d5d | 244eccac46c9c489fa1747856779b44493fc16ee | Ge bug fix | Check if there are params specified before calling items()
| diff --git a/business_rules/actions.py b/business_rules/actions.py
index 5e3e00ca..9a68d664 100644
--- a/business_rules/actions.py
+++ b/business_rules/actions.py
@@ -20,17 +20,18 @@ def rule_action(label=None, params=None):
""" Decorator to make a function into a rule action
"""
def wrapper(func):
- ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The inline parameter-validation block (lines 23-34 of business_rules/actions.py) should be split out into a helper function that takes params and raises an exception if necessary.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla... | null |
veqryn__slog-context__36 | veqryn/slog-context | 36 | defect | a463bb0e3abac9d085f6c6468153e37e68187bac | d99cfc3bf85b53bc8eee5a6210168efa46b637f2 | feat: Propagate attributes to parent context | Following discussion from https://github.com/veqryn/slog-context/issues/34
- Adds feature to propagate attributes to parent context
- Refactor the `sloghttp` sub package to use this feature
cc @veqryn | diff --git a/http/middleware.go b/http/middleware.go
index 99daa02..f019803 100644
--- a/http/middleware.go
+++ b/http/middleware.go
@@ -4,11 +4,9 @@ import (
"context"
"log/slog"
"net/http"
- "sync"
"time"
slogctx "github.com/veqryn/slog-context"
- "github.com/veqryn/slog-context/internal/attr"
)
// At... | 3 | 3 | 0 | [{"id": "G0", "claim": "Move the propagation code out of the already-crowded root package into its own package (e.g. slog-context/propagation), shortening method names such as InitPropagation to Init.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G3", "claim": "The fa... | null |
veraPDF__veraPDF-parser__566 | veraPDF/veraPDF-parser | 566 | defect | 4ded6ebaef4b3e1032ccebff6b38b4f37ffa99a8 | d498f551a69899e4c59b44769731277f241a0d0b | Feature/fewer temp files | This reduces the number of temp files, by special-casing creation of a seekable stream from an existing seekable stream (as opposed to a generic InputStream) to re-use the buffer or file of the existing.
While working on this, I found a few minor issues with the existing code (e.g. inconsistent behaviour between ASMem... | diff --git a/src/main/java/org/verapdf/as/io/ASMemoryInStream.java b/src/main/java/org/verapdf/as/io/ASMemoryInStream.java
index 2374db0c..41ffafad 100644
--- a/src/main/java/org/verapdf/as/io/ASMemoryInStream.java
+++ b/src/main/java/org/verapdf/as/io/ASMemoryInStream.java
@@ -36,6 +36,7 @@
public class ASMemoryInStr... | 3 | 3 | 2 | [{"id": "G0", "claim": "Add checks for offset and length limits in the new ASMemoryInStream substream constructor (similar to the checks in getStream) so that IndexOutOfRangeException does not occur in other methods.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "... | null |
veracrypt__VeraCrypt__1227 | veracrypt/VeraCrypt | 1,227 | defect | af5d91387e2e4fbd082e14aac5775c1e475f4904 | a9e7812f7cba9f901c68dcc732885ac041c0b37b | wolfCrypt as crypto backend for VeraCrypt | Requires https://github.com/wolfSSL/wolfssl/pull/6806
See [src/Crypto/wolfCrypt.md](https://github.com/veracrypt/VeraCrypt/blob/a9e7812f7cba9f901c68dcc732885ac041c0b37b/src/Crypto/wolfCrypt.md)
Most modifications are compiling out hashing algorithms and encryption ciphers not supported by wolfCrypt | diff --git a/src/Common/BootEncryption.cpp b/src/Common/BootEncryption.cpp
index ddee14b19c..61d84dccb2 100644
--- a/src/Common/BootEncryption.cpp
+++ b/src/Common/BootEncryption.cpp
@@ -1687,23 +1687,26 @@ namespace VeraCrypt
if (_stricmp (request.BootEncryptionAlgorithmName, "AES") == 0)
ea = AES;
- e... | 4 | 4 | 3 | [{"id": "G0", "claim": "In the wolfCrypt branch of ComputeBootloaderFingerprint both hash values are written to the same fingerprint offset, and the same hash algorithm is computed twice; the first hash value should be written at offset 0 and the second at offset SHA512_DIGESTSIZE, preferably by hashing once or by usin... | null |
vercel-labs__ai-cli__48 | vercel-labs/ai-cli | 48 | defect | 8b12050609dfcba6bf56bd9c84662834fe563579 | 4a7c1759b1803d72c9169a7ae4ba8079ba08d147 | Replace hardcoded model lists with dynamic gateway fetch | ## Summary
- Fetches models from the raw AI Gateway API (`/v1/models`) instead of maintaining static fallback arrays, so the model list never goes stale
- Uses the `image-generation` tag from the gateway to dynamically detect language models that generate images (e.g. Gemini), routing them through `generateText` inste... | diff --git a/apps/web/components/landing/bento.tsx b/apps/web/components/landing/bento.tsx
index b5b6143..1eea7b9 100644
--- a/apps/web/components/landing/bento.tsx
+++ b/apps/web/components/landing/bento.tsx
@@ -17,8 +17,8 @@ const items: readonly item[] = [
},
{
id: "003",
- title: "Shell completions",
... | 1 | 1 | 1 | [{"id": "G0", "claim": "When piping an image via stdin to a language-based image model (e.g. Gemini), the image data is silently discarded and only the text prompt is sent to generateText.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
vercel-labs__just-bash__117 | vercel-labs/just-bash | 117 | defect | 04e550c36c5d190c575c910151ca101693c7c81e | 0f530754a2cbbee45f3c0ce792818ff5ccdfda94 | Support -F (--classify) option in ls | Adds `-F` / `--classify` flag to `ls`. Appends type indicators: `/` for directories, `*` for executables, `@` for symlinks. Uses `lstat()` for symlink detection. Works with all existing flags.
Closes #112 | diff --git a/src/commands/ls/ls.test.ts b/src/commands/ls/ls.test.ts
index f21b86463..209ab379a 100644
--- a/src/commands/ls/ls.test.ts
+++ b/src/commands/ls/ls.test.ts
@@ -209,6 +209,94 @@ describe("ls", () => {
});
});
+ describe("-F flag (classify)", () => {
+ it("should append / to directories", async... | 1 | 1 | 1 | [{"id": "G0", "claim": "The unconditional stat() to lstat() change makes ls stop following symlinks, so symlinks to directories appear as regular files instead of directories.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
vercel-labs__just-bash__153 | vercel-labs/just-bash | 153 | defect | c0439952f3b7f77965380e120c6414a8dcbc5107 | 073b0ed0c0dd91c45439982b3f7a2ad3ade25b27 | Implement @vercel/sandbox style secret injection | Fixes #116 | diff --git a/README.md b/README.md
index b3785d830..053d5061f 100644
--- a/README.md
+++ b/README.md
@@ -403,6 +403,19 @@ const env = new Bash({
},
});
+// Inject credentials via header transforms (secrets never enter the sandbox)
+const env = new Bash({
+ network: {
+ allowedUrlPrefixes: [
+ "https://pu... | 5 | 4 | 3 | [{"id": "G0", "claim": "buildMergedHeaders merges header keys case-sensitively, so a sandbox/user can bypass an intended firewall header override by using different casing (e.g. `authorization` vs `Authorization`) and duplicate headers can be sent; header names should be normalized (e.g. lowercased) or merged via the H... | null |
vercel-labs__just-bash__178 | vercel-labs/just-bash | 178 | defect | d6a5ff0a5a1bcb8091f2c51b1551edac7468d9b5 | 2e916db1bf836fd590dffe3902251ffb87f06aa4 | fix: preserve binary response bodies in curl and HTTP bridge | I wrote this:
I ran into this issue when I noticed some corrupted JPEGs downloaded by an agent using curl, tracked it down to this, it fixes a little larger than I expected, but it does seem like it works fine for me.
---
Agent wrote this:
`FetchResult.body` was typed as `string` and decoded via `TextDecoder`/`res... | diff --git a/src/commands/curl/curl.ts b/src/commands/curl/curl.ts
index 1c3fb5f7f..62f138e03 100644
--- a/src/commands/curl/curl.ts
+++ b/src/commands/curl/curl.ts
@@ -5,6 +5,7 @@
* Network access must be explicitly configured via BashEnvOptions.network.
*/
+import { fromBuffer } from "../../fs/encoding.js";
im... | 1 | 1 | 1 | [{"id": "G0", "claim": "Python HTTP responses have empty `content` (bytes) because `bodyBase64` is stripped by sync-backend's `httpRequest()` before reaching the Python worker, so the return value and type of `httpRequest()` should pass `bodyBase64` through.", "category": "correctness", "verdict": "supported", "priorit... | null |
vercel-labs__just-bash__52 | vercel-labs/just-bash | 52 | defect | 71526aaf0a306118b8b79d7a06e7ef146fffeb7e | 6b4a831d075c0188a81625b545ad62c17096b38e | Fix heredoc leading whitespace stripping | I found this when trying to store and read a ASCII triangle using `just-bash`
```
[vercel] 🔧 Tool call: bash
[vercel] 📝 Command: cat > triangle.txt << 'EOF'
*
* *
* *
* *
* *
* *
... | diff --git a/src/Bash.ts b/src/Bash.ts
index 75627380a..33881ec2f 100644
--- a/src/Bash.ts
+++ b/src/Bash.ts
@@ -351,12 +351,11 @@ export class Bash {
};
// Normalize indented multi-line scripts (unless rawScript is true)
+ // This allows writing indented bash scripts in template literals
+ // BUT we ... | 2 | 2 | 2 | [{"id": "G0", "claim": "normalizeScript incorrectly applies trimStart() when checking the delimiter for regular << heredocs, so a content line with leading spaces like \" EOF\" is treated as the end of the heredoc instead of content.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "intr... | null |
vercel-labs__just-bash__69 | vercel-labs/just-bash | 69 | defect | dd2bc03d64454c77c13936a4b1a2ee98b195864e | a2440cfe4929df1ba188992a3b4063973ad68b10 | large(ish) files were not working | i have been looking to use just-bash with modestly sized files e.g. around 0.5 MB and running into various challenges
the core issues stem from the use of the spread operator which runs into limits
i have replaced the ones I have found so far with equivalent buffer operations | diff --git a/src/fs/encoding.ts b/src/fs/encoding.ts
index b99804578..dd0dfe25e 100644
--- a/src/fs/encoding.ts
+++ b/src/fs/encoding.ts
@@ -36,7 +36,16 @@ export function toBuffer(
return bytes;
}
if (encoding === "binary" || encoding === "latin1") {
- return Uint8Array.from(content, (c) => c.charCodeAt(... | 1 | 1 | 0 | [{"id": "G0", "claim": "The spread-operator concern the agent review raised should be addressed: String.fromCharCode(...buffer) in fromBuffer overflows the call stack on large (>100KB) buffers.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}] | null |
vercel-labs__just-bash__88 | vercel-labs/just-bash | 88 | defect | e6076febd64082bb07145e779d72864171b3beff | d25441fa37ff93d603b4c9ef1e3f14710873aae0 | Add glob limits and other hardening | 1. Glob Operation Counter (maxGlobOperations: 100,000)
- Added to src/shell/glob.ts - GlobExpander class tracks operations
- Checks limit in expandSegments(), walkDirectory(), walkDirectoryMultiGlobstar()
2. maxStringLength Limit (maxStringLength: 10,485,760 - 10MB)
- Added to src/interpreter/expansi... | diff --git a/src/fs/in-memory-fs/in-memory-fs.ts b/src/fs/in-memory-fs/in-memory-fs.ts
index f41e0b9d9..01195b998 100644
--- a/src/fs/in-memory-fs/in-memory-fs.ts
+++ b/src/fs/in-memory-fs/in-memory-fs.ts
@@ -49,6 +49,16 @@ function isFileInit(value: FileContent | FileInit): value is FileInit {
);
}
+/**
+ * Vali... | 1 | 1 | 1 | [{"id": "G0", "claim": "GlobExpander instances are created without passing maxGlobOperations from ctx.limits, making the user-configurable glob operation limit ineffective.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
vercel-labs__just-bash__95 | vercel-labs/just-bash | 95 | defect | 8deb6f5ede4c5d51374025b2243f6b075d5cbd82 | 2921c2b3ccdae9aa929d0b372a258f7747437bed | Integrate codex defense-in-depth findings | - Changes the behavior of ReadWriteFS to be robust for symlink creation (previously a documented limitation)
- Replaces spread operator with a utility for null prototype copies | diff --git a/AGENTS.md b/AGENTS.md
index c965451f6..c01958d64 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -67,6 +67,23 @@ User-controlled data (stdin, arguments, file content, HTTP headers, environment
- `isSafeKey()` - checks if key is safe (not `__proto__`, `constructor`, `prototype`)
- `safeSet()` - sets prope... | 1 | 1 | 0 | [{"id": "G0", "claim": "setPath returns a regular (non-null-prototype) object instead of a null-prototype object when a dangerous key is encountered and the value is null/undefined (the `return value ?? {}` branch).", "category": "security", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}] | null |
vercel-labs__open-agents__276 | vercel-labs/open-agents | 276 | defect | 5bd5ab311711c0bfa4b8515755ccd4891abafca7 | 51a34f38d90bb5a59b947e0e3a30ffe13633525d | fix: chunk resumable stream replay to avoid Upstash 10 MB limit | ## Summary
- Wraps the resumable-stream Redis publisher with a chunked adapter that splits oversized replay payloads into sequential 256 KB frames
- Fixes `ReplyError: ERR max request size exceeded` (observed at 91 MB vs 10 MB limit) and subsequent OOM crashes during stream resume
- Adds unit tests covering frame spli... | diff --git a/apps/web/lib/chunked-publisher-adapter.test.ts b/apps/web/lib/chunked-publisher-adapter.test.ts
new file mode 100644
index 000000000..08211500f
--- /dev/null
+++ b/apps/web/lib/chunked-publisher-adapter.test.ts
@@ -0,0 +1,144 @@
+import { describe, expect, test } from "bun:test";
+import {
+ createChunked... | 1 | 1 | 1 | [{"id": "G0", "claim": "The chunked publisher adapter allows DONE_MESSAGE to be delivered before the chunked replay data frames complete, causing premature stream closure and data loss for late-joining subscribers.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
vercel-labs__open-agents__313 | vercel-labs/open-agents | 313 | defect | fc715ba3acc71fd6389b5a616ccff99b17fe0f70 | 00d3bb427e41a0d24b3339218e5e951ca2714b79 | feat: derive context limit from model data instead of hardcoding | ## Summary
Update the chat content component and models library to dynamically derive context limits from model data rather than using hardcoded values. This makes the system more maintainable and allows for flexible model configuration.
## Changes
**UI (`apps/web/app/chats/[chatId]/session-chat-content.tsx`)**
- U... | diff --git a/apps/web/app/api/models/route.test.ts b/apps/web/app/api/models/route.test.ts
index c05df5207..f788e62bf 100644
--- a/apps/web/app/api/models/route.test.ts
+++ b/apps/web/app/api/models/route.test.ts
@@ -111,4 +111,37 @@ describe("/api/models context window enrichment", () => {
expect(contextById.has(... | 1 | 1 | 1 | [{"id": "G0", "claim": "Test file route.test.ts fails because `server-only` is not mocked, causing an import-time error when the route module loads `@/lib/models-with-context`, which imports `server-only`.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
vercel-labs__open-agents__339 | vercel-labs/open-agents | 339 | defect | 81d80075f700c93a0d37c5c4078dd743f901c136 | b1ca469c9cfed5f674c141d4adc2e034857ac052 | feat: auto-generate session titles on first message | ## Summary
Implement automatic session title generation when the user sends their first message. This enhances the user experience by automatically naming sessions based on their initial query content.
## Changes
**API (`apps/web/app/api/chat/route.ts`)**
- Add logic to detect first message in a session
- Trigger t... | diff --git a/apps/web/app/api/generate-title/route.ts b/apps/web/app/api/generate-title/route.ts
new file mode 100644
index 000000000..008bdac2d
--- /dev/null
+++ b/apps/web/app/api/generate-title/route.ts
@@ -0,0 +1,66 @@
+import { gateway, generateText } from "ai";
+import { getServerSession } from "@/lib/session/get... | 1 | 1 | 1 | [{"id": "G0", "claim": "Session title is overwritten every time a new chat is created within the same session, because the client-side title generation lacks the \"first chat in session\" guard that existed in the old server-side code.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "int... | null |
vercel-labs__open-agents__463 | vercel-labs/open-agents | 463 | defect | 44e45791dcddb55c7cab8e22844a525ef0683f33 | 85a8676b690a529c722443d26c61c5a7965e8aec | feat: add direct vercel sandbox connection with fallback | ## Summary
Adds direct Vercel sandbox connection support with fallback mechanism and comprehensive utilities for the Sandbox SDK REST API wrapper.
## Changes
**Sandbox (`packages/sandbox/vercel/direct.ts`)**
- Add direct Vercel sandbox connection implementation
- Include fallback mechanism for connection handling
-... | diff --git a/packages/agent/tools/tools.test.ts b/packages/agent/tools/tools.test.ts
index 675675561..5906a5070 100644
--- a/packages/agent/tools/tools.test.ts
+++ b/packages/agent/tools/tools.test.ts
@@ -19,6 +19,7 @@ mock.module("@open-harness/sandbox", () => ({
return sandbox;
},
+ tryConnectVercelSandbox... | 1 | 1 | 1 | [{"id": "G0", "claim": "The direct connector's write path does not create parent directories before writing, unlike the original VercelSandbox.writeFile, so writes fail when the parent directories do not exist.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
vercel-labs__open-agents__583 | vercel-labs/open-agents | 583 | defect | 86b79655babb47c4b2e1e7f9c29e4bcf8d913d4e | eac7ae523c60b9e7cb008cc53e909515cc0cfd05 | fix: refresh lifecycle before sandbox hibernation | ## Summary
Fixes a bug where sandboxes were entering hibernation prematurely by implementing a lifecycle refresh mechanism before hibernation state transitions occur. This ensures the sandbox state is properly evaluated and up-to-date before allowing hibernation.
## Changes
**Sandbox Lifecycle (`apps/web/lib/sandbox... | diff --git a/apps/web/app/workflows/chat.test.ts b/apps/web/app/workflows/chat.test.ts
index e2c6c2985..598bb5cca 100644
--- a/apps/web/app/workflows/chat.test.ts
+++ b/apps/web/app/workflows/chat.test.ts
@@ -16,6 +16,8 @@ const spies = {
Promise.resolve({ committed: false, pushed: false }),
),
runAutoCreate... | 1 | 1 | 1 | [{"id": "G0", "claim": "Top-level imports of updateSession and buildLifecycleActivityUpdate in the \"use workflow\" file chat.ts cause a build failure because these modules transitively depend on Node.js-only packages (postgres and @vercel/sandbox).", "category": "correctness", "verdict": "supported", "priority": "P0",... | null |
vercel-labs__open-agents__664 | vercel-labs/open-agents | 664 | defect | 68965a5b97d33630b9c5d9b211a3361cfc326f1c | 68e50909d36782ce2084fd1b144d7d52c3c2b4a7 | chore: shared formatTokens util | ## Summary
Extracts the token count formatting logic into a shared utility function to reduce code duplication across components and improve maintainability.
## Changes
**Components (`apps/web/app/`)**
- Remove duplicate token formatting logic from session-chat-content.tsx
- Remove duplicate token formatting logic ... | diff --git a/apps/web/app/sessions/[sessionId]/chats/[chatId]/session-chat-content.tsx b/apps/web/app/sessions/[sessionId]/chats/[chatId]/session-chat-content.tsx
index f53b36cb2..92a6b5c9b 100644
--- a/apps/web/app/sessions/[sessionId]/chats/[chatId]/session-chat-content.tsx
+++ b/apps/web/app/sessions/[sessionId]/cha... | 1 | 1 | 1 | [{"id": "G0", "claim": "formatTokens produces \"1000.0k\" and \"1000.0m\" at tier boundaries due to .toFixed(1) rounding, instead of bumping to the next unit.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
vercel-labs__portless__144 | vercel-labs/portless | 144 | defect | 003090863a801e82be8cabc3d9b4a20f14807e70 | 124e9445885043f5a2bc97f9b56c9eec1ab24377 | Fix DNS label limit regression for --name flag with long labels | This PR fixes a regression where the `--name` flag could still produce hostnames exceeding the 63-character DNS label limit, causing `ERR_NAME_NOT_RESOLVED` errors in browsers.
## Problem
While worktree branch name truncation was working correctly, the `--name` flag bypass path in `handleRunMode` wasn't applying the s... | diff --git a/packages/portless/src/auto.test.ts b/packages/portless/src/auto.test.ts
index 25a780d0..6efbf039 100644
--- a/packages/portless/src/auto.test.ts
+++ b/packages/portless/src/auto.test.ts
@@ -300,6 +300,24 @@ describe("detectWorktreePrefix", () => {
const result = detectWorktreePrefix(tmpDir);
expe... | 1 | 1 | 0 | [{"id": "G0", "claim": "The handleNamedMode code path (`portless <name> <command...>` and `portless --name <name> <command...>`) does not apply `truncateLabel` to the user-provided name, causing `parseHostname` to throw an error for labels exceeding 63 characters instead of gracefully truncating them as `handleRunMode`... | null |
vercel-labs__portless__36 | vercel-labs/portless | 36 | defect | bee6d956f8537ebeb9b1b603caea64a046bfdd56 | db7c483ff2810180184ca24a4a3b36fcf7618ac3 | Fix TLS cert generation to avoid weak SHA-1 signatures | ## Summary
- Force SHA-256 for CA, default server, and per-host certificate signing so cert generation is consistent across LibreSSL/OpenSSL environments.
- Regenerate cached certs when they are expired or signed with weak SHA-1 algorithms to prevent TLS startup failures (`ca md too weak`).
- Add tests that verify... | diff --git a/packages/portless/src/certs.test.ts b/packages/portless/src/certs.test.ts
index fe1e6145..5558709b 100644
--- a/packages/portless/src/certs.test.ts
+++ b/packages/portless/src/certs.test.ts
@@ -4,6 +4,7 @@ import * as os from "node:os";
import * as path from "node:path";
import * as crypto from "node:cry... | 1 | 1 | 1 | [{"id": "G0", "claim": "On Node.js < 24.9.0, isCertSignatureStrong always returns false because X509Certificate.signatureAlgorithm is undefined, causing CA and server certs to be regenerated on every call to ensureCerts() and every TLS handshake for deep subdomains.", "category": "correctness", "verdict": "supported", ... | null |
vercel-labs__portless__6 | vercel-labs/portless | 6 | defect | fac2905561b4f99491f12a67022810147d3ce625 | a3fd190610687fb0603b7dabf1710e8644a508be | add Windows support | ## Summary
- Add `win32` to the `os` field in `package.json` so the package can be installed on Windows
- Use `netstat -ano` to find PIDs on Windows (`lsof` on Unix)
- Skip sud... | diff --git a/package.json b/package.json
index d9c2b5fa..c046a319 100644
--- a/package.json
+++ b/package.json
@@ -23,7 +23,8 @@
},
"os": [
"darwin",
- "linux"
+ "linux",
+ "win32"
],
"scripts": {
"build": "tsup",
diff --git a/src/cli-utils.test.ts b/src/cli-utils.test.ts
index 93a80fda..... | 6 | 4 | 3 | [{"id": "G0", "claim": "The needsSudo check on cli.ts line 622 lacks an !isWindows guard, so on Windows it would incorrectly suggest sudo when the proxy port is below 1024.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request leaves certs... | null |
vercel-labs__skills__145 | vercel-labs/skills | 145 | defect | 8f1b9c87070b886c8c1c1bebd2dc83c4963cbf45 | 5d52dfb778c44fed2bbdf93741ffdc983570873e | feat: Remember last selected agents in add command | ## Description
This PR implements a feature requested by users to remember the last selected agents when installing skills via the CLI. It saves the selected agents to the skill-lock.json file and pre-selects them in subsequent runs of the add command. This applies to both the interactive selection mode and the fallba... | diff --git a/src/add-prompt.test.ts b/src/add-prompt.test.ts
new file mode 100644
index 000000000..a172bc5b2
--- /dev/null
+++ b/src/add-prompt.test.ts
@@ -0,0 +1,130 @@
+import { describe, it, expect, vi, beforeEach } from 'vitest';
+import * as p from '@clack/prompts';
+import { promptForAgents } from './add.js';
+im... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test should use the real agent names (opencode, codex, claude code) instead of the placeholder choices 'agent1' and 'agent2'.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
vercel-labs__skills__191 | vercel-labs/skills | 191 | defect | cca706a50522ffade404618e23a2009f07c64828 | 03f2c57a9897af9e9f627c5c8ff07e76c96ebba8 | feat: support `--skill='*'` and `--agent='*'` | Currently `--all` implies both skills and agents, making the feature unorthogonal and might end with unexpected results.
It's more likely that users want to install all skills from a source, but less likely that they use all the possible agents.
So I think it might be better to have seperate them | diff --git a/README.md b/README.md
index e1bb61e7c..8a3e3c4e6 100644
--- a/README.md
+++ b/README.md
@@ -46,6 +46,8 @@ npx skills add ./my-local-skills
| `-l, --list` | List available skills without installing ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Could the PR leverage the existing `--agent='*'` and `--skill='*'` arguments to achieve matching all agents/skills, instead of adding new `--all-skills`/`--all-agents` flags?", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
vercel-labs__skills__203 | vercel-labs/skills | 203 | defect | 626c23d9b48fc7bf64dadd3db97f9ce8b8fb23d3 | e03a88c2e72705a96faa6b1fd635b4c14f417ce5 | fix: skip find-skills prompt in CI mode and with -y flag | ## Summary
Fixes #195
When running `npx skills add` in CI/CD environments with `-y` flag environment variable, the interactive `find-skills` prompt would still appear and block automated installations.
## Problem
```bash
npx --yes skills add owner/repo -g -a codex -y
# Would hang at:
# ◆ Install the find... | diff --git a/src/add.test.ts b/src/add.test.ts
index cb825c576..f218f70a1 100644
--- a/src/add.test.ts
+++ b/src/add.test.ts
@@ -328,3 +328,77 @@ describe('shouldInstallInternalSkills', () => {
expect(shouldInstallInternalSkills()).toBe(false);
});
});
+
+describe('find-skills prompt in CI mode', () => {
+ le... | 1 | 1 | 0 | [{"id": "G0", "claim": "When -y is already passed the CI check is unnecessary, and behaviour should not depend on the CI environment — ideally non-interactive commands should be required on CI rather than branching on env detection.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"... | null |
vercel-labs__skills__259 | vercel-labs/skills | 259 | defect | 668546a0de9ca272169ca23a4bbb682b89a8ec69 | 9cb0c93a922d37b421a3d38dfdc269e78ba26014 | feat: discover skills from Claude plugin manifests | ## Summary
- Adds support for discovering skills declared in `.claude-plugin/marketplace.json` and `.claude-plugin/plugin.json` files
- Enables compatibility with the Claude Code plugin marketplace ecosystem
- Integrates seamlessly with existing priority-based discovery flow
Closes #121
## Details
When a ... | diff --git a/README.md b/README.md
index af22e6dea..84969f5f3 100644
--- a/README.md
+++ b/README.md
@@ -355,6 +355,24 @@ The CLI searches for skills in these locations within a repository:
- `.adal/skills/`
<!-- skill-discovery:end -->
+### Plugin Manifest Discovery
+
+If `.claude-plugin/marketplace.json` or `.cla... | 1 | 1 | 1 | [{"id": "G0", "claim": "Manifest-provided paths (skills, metadata.pluginRoot, source) are joined without checking that they stay within basePath, so absolute paths or `..` segments could make discoverSkills read SKILL.md files from arbitrary locations on the user's filesystem; such paths should be rejected or normalize... | null |
vercel-labs__visual-json__29 | vercel-labs/visual-json | 29 | defect | c3d634368438f3c47235e4f12917059909fd71a6 | 6125307952e1186dc9df5f3c53ba484329307856 | feat: add YAML support | ## Summary
Adds YAML support to visual-json, extending it from a JSON-only editor to a multi-format data editor. Since the tree model is already format-agnostic, this is implemented as a thin adapter layer at the parse/serialize boundary.
**Core (`@visual-json/core`):**
- `fromYaml()` / `toYaml()` — convert between Y... | diff --git a/apps/vscode/package.json b/apps/vscode/package.json
index 6e015ab..6ce6674 100644
--- a/apps/vscode/package.json
+++ b/apps/vscode/package.json
@@ -29,6 +29,12 @@
},
{
"filenamePattern": "*.jsonc"
+ },
+ {
+ "filenamePattern": "*.yaml"
+ ... | 3 | 3 | 2 | [{"id": "G0", "claim": "Opening an empty YAML file (or one with only whitespace/comments) causes a perpetual \"Loading...\" spinner in the VS Code webview; parseYaml's null result should be coalesced to {}.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai... | null |
vercel__ai__10770 | vercel/ai | 10,770 | defect | 48b2c9906be0929fdae0bb2039e87114c69608fa | 8e3b38f5cf2262bfa86dc2d191f5d072b3f68704 | feat(ai): add warning when using v2 models with AISDK v6 | ## Background
#10689
Add warning when a model with spec version v2 is used with ai-sdk v6
## Summary
Used the warning logger system.
## Checklist
- [x] Tests have been added / updated (for bug fixes / features)
- [ ] Documentation has been added / updated (for bug fixes / features)
- [x] A _patch_ ... | diff --git a/.changeset/shiny-dots-serve.md b/.changeset/shiny-dots-serve.md
new file mode 100644
index 000000000000..08e6ca4c9bd4
--- /dev/null
+++ b/.changeset/shiny-dots-serve.md
@@ -0,0 +1,5 @@
+---
+'ai': patch
+---
+
+chore(ai): add warning when using v2 models with AISDK v6
diff --git a/packages/ai/src/model/as-... | 2 | 2 | 0 | [{"id": "G0", "claim": "The v2 warning text is unclear and reads as if the user must upgrade the package to the latest version, when it really means the package owner needs to upgrade it to use the latest specification version, so it should be reworded to be descriptive (e.g. \"Using v2 specification compatibility mode... | null |
vercel__ai__10787 | vercel/ai | 10,787 | defect | 0ed1ee6f34a252a9d1970d99ea8585529cbceeed | 38265c55ae91da76c4abba689a09f8531030676f | feat(mcp): add _meta field in MCP tool definitions | <!--
Welcome to contributing to AI SDK! We're excited to see your changes.
We suggest you read the following contributing guide we've created before submitting:
https://github.com/vercel/ai/blob/main/CONTRIBUTING.md
-->
## Background
In order to create ChatGPT apps client, we need to leverage the _meta ke... | diff --git a/.changeset/eight-kids-learn.md b/.changeset/eight-kids-learn.md
new file mode 100644
index 000000000000..dd1d5ac2ee0c
--- /dev/null
+++ b/.changeset/eight-kids-learn.md
@@ -0,0 +1,5 @@
+---
+'@ai-sdk/mcp': patch
+---
+
+feat(mcp): expose `_meta` field from MCP tool definitions
diff --git a/packages/mcp/src... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a small client/server example in the examples/mcp/src folder to simulate the new feature, as standard practice for new features.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
vercel__ai__11015 | vercel/ai | 11,015 | defect | 05d5b9a94eb6f071eb81538b80a2625d712d08d9 | d9615253ffd15724bee44e741409eefb73ed61e5 | fix(vertex/anthropic): passing beta header only for structured outputs | ## Background
Currently, the vertex anthropic provider only checked the model ID and would pass the beta header for all models that allow structured outputs.
But vertex doesn't yet support passing these beta headers. So we would get an [error like this](https://github.com/vercel/ai/issues/10981) even for a simple... | diff --git a/.changeset/itchy-beers-hope.md b/.changeset/itchy-beers-hope.md
new file mode 100644
index 000000000000..a0e9066a22af
--- /dev/null
+++ b/.changeset/itchy-beers-hope.md
@@ -0,0 +1,5 @@
+---
+'@ai-sdk/google-vertex': patch
+---
+
+fix(vertex/anthropic): passing beta header only for structured outputs
diff -... | 5 | 4 | 1 | [{"id": "G0", "claim": "The test changes suggest the PR may have introduced a regression by no longer sending the structured-outputs beta header with (advanced) tool requests.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new example file shoul... | null |
vercel__ai__11127 | vercel/ai | 11,127 | defect | 8d73f91b276a8d0e5b073b064f6bd9bacd0ead46 | a7a29f8e0a365f1fb78cdf70b14357b5d1fb143a | fix(openai): change `isReasoningModel` detection from blocklist to allowlist and add override option | ## Background
The blocklist approach treated all unknown models as reasoning models by default, breaking fine-tuned models (`ft:gpt-4o-*`), third-party OpenAI-compatible APIs, and custom models that don't support the `developer` system message role.
## Summary
This PR implements two changes:
### 1. Breaking... | diff --git a/.changeset/twelve-boats-design.md b/.changeset/twelve-boats-design.md
new file mode 100644
index 000000000000..652253045e1c
--- /dev/null
+++ b/.changeset/twelve-boats-design.md
@@ -0,0 +1,5 @@
+---
+'@ai-sdk/openai': major
+---
+
+Change `isReasoningModel` detection from blocklist to allowlist and add ove... | 4 | 4 | 2 | [{"id": "G0", "claim": "An override is needed to set models as reasoning (similar to system message mode), since the getArgs code checks for reasoning models; without it the allowlist change will impact being able to use stealth reasoning models.", "category": "design", "verdict": "supported", "priority": "P1", "scope"... | null |
vercel__ai__11463 | vercel/ai | 11,463 | defect | 2ead89e13fe01109bb9d2657f322056faa429689 | 83912fe530089019b0938a520cc3b5e61f2b93da | fix(ai): throw error for missing start chunks in processUIMessageStream | This PR addresses a runtime error: `TypeError: Cannot read properties of undefined (reading 'text')` in `processUIMessageStream`.
### Issue
The issue occurs when `text-delta`, `reasoning-delta`, or `tool-input-delta` chunks are received before their corresponding start chunks (e.g., `text-start`). This can happen i... | diff --git a/packages/ai/src/ui/process-ui-message-stream.test.ts b/packages/ai/src/ui/process-ui-message-stream.test.ts
index dfacec9a8841..36d3096a2c46 100644
--- a/packages/ai/src/ui/process-ui-message-stream.test.ts
+++ b/packages/ai/src/ui/process-ui-message-stream.test.ts
@@ -224,6 +224,105 @@ describe('processUI... | 9 | 5 | 3 | [{"id": "G0", "claim": "Add a test verifying that the reasoning-end null check throws when a reasoning-end chunk arrives without a preceding reasoning-start chunk.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The malformed-stream tests use an incorrec... | null |
vercel__ai__11507 | vercel/ai | 11,507 | defect | c820d69169e0943647f7a7fc518095cbb4975d8a | c82bf8a3b9a02e28e04dedbcf77e509a72af7709 | fix(provider-utils): handle anyOf/allOf/oneOf and definitions in addAdditionalPropertiesToJsonSchema | ## Background
#11078 updated `z4. toJSONSchema()` in `packages/provider-utils/src/schema.ts` to use `io: 'input'` instead of `io: 'output'`
With `io: 'input'`, [zod does not automatically set `additionalProperties: false`](https://zod.dev/json-schema?id=object-schemas), so `addAdditionalPropertiesToJsonSchema` wa... | diff --git a/.changeset/odd-candles-hang.md b/.changeset/odd-candles-hang.md
new file mode 100644
index 000000000000..8e914e2c9c62
--- /dev/null
+++ b/.changeset/odd-candles-hang.md
@@ -0,0 +1,5 @@
+---
+'@ai-sdk/provider-utils': patch
+---
+
+fix(provider-utils): handle anyOf/allOf/oneOf and definitions in addAddition... | 2 | 1 | 1 | [{"id": "G0", "claim": "The implementation handles `definitions` but not the JSON Schema Draft 2019-09+ `$defs` property, so it should also add support for `$defs` similarly for future compatibility.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Ther... | null |
vercel__ai__11543 | vercel/ai | 11,543 | defect | 8715ca79528f462382c52c9be74bb204a9470938 | fff2a7e7eeea68bf2aa3ead269932c5d0785e76b | feat(mcp): add support for structuredContent / outputSchema for typed tool outputs | ## Background
the SDK's MCP client didn't support the structuredContent part for typed output from MCP tools
see [ref here](https://modelcontextprotocol.io/specification/2025-06-18/server/tools#structured-content)
## Summary
- updated the spec to support `outputSchema`
- added extractStructuredContent() m... | diff --git a/.changeset/late-tigers-agree.md b/.changeset/late-tigers-agree.md
new file mode 100644
index 000000000000..0505443c0dce
--- /dev/null
+++ b/.changeset/late-tigers-agree.md
@@ -0,0 +1,5 @@
+---
+'@ai-sdk/mcp': patch
+---
+
+feat(mcp): add support for structuredContent / outputSchema for typed tool outputs
d... | 3 | 1 | 1 | [{"id": "G0", "claim": "extractStructuredContent does not check the isError flag before processing a tool result, so an error response that also carries structuredContent or text content could be extracted, validated and returned as if the tool call had succeeded.", "category": "correctness", "verdict": "uncertain", "p... | null |
vercel__ai__11582 | vercel/ai | 11,582 | defect | ee6368519d940cd6b352617808cfd42cc1f17fd4 | 5326ef78d04ddc1e75ed34041c1c1c413ce77e66 | fix(langchain): re-enable support for streamEvents in toUIMessageStream | <!--
Welcome to contributing to AI SDK! We're excited to see your changes.
We suggest you read the following contributing guide we've created before submitting:
https://github.com/vercel/ai/blob/main/CONTRIBUTING.md
-->
## Background
Updating the LangChain integration package in https://github.com/vercel/... | diff --git a/.changeset/ten-bees-worry.md b/.changeset/ten-bees-worry.md
new file mode 100644
index 000000000000..633bb3bd8626
--- /dev/null
+++ b/.changeset/ten-bees-worry.md
@@ -0,0 +1,6 @@
+---
+'@example/next-langchain': patch
+'@ai-sdk/langchain': patch
+---
+
+fix(langchain): re-enable support for streamEvents in... | 1 | 1 | 1 | [{"id": "G0", "claim": "Please do not include the examples package ('@example/next-langchain') in the changeset.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
vercel__ai__11583 | vercel/ai | 11,583 | defect | 468abe9b3d5bdff4e3e1c9fa08a2e52eb0f1fb43 | 0b5886694aed82f3e9839dd5e07bb5e946f18358 | fix(amazon-bedrock): match bedrock input token calculation to anthropic | <!--
Welcome to contributing to AI SDK! We're excited to see your changes.
We suggest you read the following contributing guide we've created before submitting:
https://github.com/vercel/ai/blob/main/CONTRIBUTING.md
-->
## Background
Address https://github.com/vercel/ai/issues/11532
## Summary
Updat... | diff --git a/.changeset/cuddly-fans-fly.md b/.changeset/cuddly-fans-fly.md
new file mode 100644
index 000000000000..af5325bab7d9
--- /dev/null
+++ b/.changeset/cuddly-fans-fly.md
@@ -0,0 +1,5 @@
+---
+'@ai-sdk/amazon-bedrock': patch
+---
+
+Correct input token calculation logic
diff --git a/packages/amazon-bedrock/src/... | 1 | 1 | 1 | [{"id": "G0", "claim": "The test expectations in packages/amazon-bedrock/src/bedrock-chat-language-model.test.ts (noCache: 2, total: 4 at both snapshot sites) do not match the new token calculation logic in convertBedrockUsage and must be updated to noCache: 4 and total: 9.", "category": "testing", "verdict": "supporte... | null |
vercel__ai__11595 | vercel/ai | 11,595 | defect | 49c64b41ed2139185d01665ae9395ff50574ae3d | cd227c433097bf3c8ccaaa2ecaf6a6dde33567ce | fix(ai): throw timeout error when streamText times out | ## Background
When streamText times out before generating any output, it throws a generic NoOutputGeneratedError with the message "No output generated. Check the stream for errors.". It should throw NoOutputGeneratedError with a proper timeout message and cause.
## Summary
When abort occurs, the abort reason i... | diff --git a/.changeset/gorgeous-timers-look.md b/.changeset/gorgeous-timers-look.md
new file mode 100644
index 000000000000..192821bb862b
--- /dev/null
+++ b/.changeset/gorgeous-timers-look.md
@@ -0,0 +1,5 @@
+---
+'ai': patch
+---
+
+streamText should throw timeout error with proper cause when it times out
diff --git... | 3 | 3 | 1 | [{"id": "G0", "claim": "streamText should throw the same raw TimeoutError DOMException that generateText throws when it times out, instead of wrapping it in a NoOutputGeneratedError with a custom message.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"... | null |
vercel__ai__11675 | vercel/ai | 11,675 | defect | 3c44a901d24fbbd2ffa725d74085116a0254316e | 712d18f9e0775711ab1dad5f8540d5ee883b3d5b | fix(provider/xai): send reasoning-end before text-start in streaming | ## Background
xai provider was sending `reasoning-end` and `text-end` events in `flush()` at stream end, rather than when content blocks actually finished. this caused issues for UI rendering that needed to know when reasoning completed before text started, and caused duplicate event errors when using middleware to ... | diff --git a/.changeset/little-singers-do.md b/.changeset/little-singers-do.md
new file mode 100644
index 000000000000..1d73e83d85f3
--- /dev/null
+++ b/.changeset/little-singers-do.md
@@ -0,0 +1,5 @@
+---
+'@ai-sdk/xai': patch
+---
+
+fix(provider/xai): send reasoning-end before text-start in streaming
diff --git a/pa... | 1 | 1 | 1 | [{"id": "G0", "claim": "If a text content chunk duplicates the last assistant message, the reasoning-end event is never sent even when reasoning was active, because the reasoning-end emission sits inside the text-start block creation that the duplicate-skip path bypasses, breaking event ordering.", "category": "correct... | null |
vercel__ai__11710 | vercel/ai | 11,710 | defect | 412ff222b200a4ac2efe5e631fc704f6a0829eac | 2bffe60b431a292120faf38e44bd71ad0493f311 | fix (provider/xai): set response format to allow object generation |
## Background
xAI structure ouput calls were failing with generate object
## Summary
The xAI responses language model (XaiResponsesLanguageModel) was missing support for responseFormat, which is required for structured output generation with generateObject.
## Manual Verification
` pnpm tsx src/gener... | diff --git a/.changeset/afraid-suits-cover.md b/.changeset/afraid-suits-cover.md
new file mode 100644
index 000000000000..48be0df3c3e3
--- /dev/null
+++ b/.changeset/afraid-suits-cover.md
@@ -0,0 +1,5 @@
+---
+'@ai-sdk/xai': major
+---
+
+pass response format to xai responses api
diff --git a/examples/ai-core/src/gener... | 4 | 4 | 2 | [{"id": "G0", "claim": "The changeset should be a patch release instead of major.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The responseFormat functionality added to the xAI Responses language model is missing unit test coverage.", "category": ... | null |
vercel__ai__11748 | vercel/ai | 11,748 | defect | 312a96ea9f50af3d29b518e644d24784560c661c | 8c06d71191c4d7c60d40cfb68efa7e27bf430a71 | fix(provider-utils): add additionalProperty field for standard schema function | ## Background
when using structured outputs with arktype schema validation, we weren't applying the `additionalProperties` field to the JSON obejct - which then led to invalid outputs.
we applied it for zod schema but not standard schema.
#11705
## Summary
wrap the function `standardSchema()` with `addA... | diff --git a/.changeset/tiny-months-wink.md b/.changeset/tiny-months-wink.md
new file mode 100644
index 000000000000..59bffc62ce27
--- /dev/null
+++ b/.changeset/tiny-months-wink.md
@@ -0,0 +1,5 @@
+---
+'@ai-sdk/provider-utils': patch
+---
+
+fix(provider-utils): add additionalProperty field for standard schema functi... | 1 | 1 | 0 | [{"id": "G0", "claim": "The changeset title should say `additionalProperties` instead of the misspelled `additionalProperty`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
vercel__ai__11778 | vercel/ai | 11,778 | defect | c0fff0368638adbf2c6f9197e13c432c37760751 | 70be7e2e8f6757a6465703f14dce316d63c9c2f7 | fix(ai): handle provider-executed tools and tool-approval-response in validation | ## Background
This PR addresses issue #11776 where a "Message Validation Error" occurred after a tool call was approved. The fix has been expanded to handle two scenarios:
1. **Provider-executed tools** (like Anthropic's `code_execution`) that return results in later steps
2. **Tool approval flows** where `tool-appro... | diff --git a/.changeset/fix-empty-tool-message-on-approval.md b/.changeset/fix-empty-tool-message-on-approval.md
new file mode 100644
index 000000000000..cc5c9ed69600
--- /dev/null
+++ b/.changeset/fix-empty-tool-message-on-approval.md
@@ -0,0 +1,10 @@
+---
+'ai': patch
+---
+
+fix(ai): handle provider-executed tools a... | 5 | 5 | 4 | [{"id": "G0", "claim": "The PR patches symptoms rather than root causes: filtering out approved-but-unexecuted tool calls hides an invalid request instead of surfacing the usage error, and a reproducible example is requested.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id... | null |
vercel__ai__11799 | vercel/ai | 11,799 | defect | 6f6b642fb4b6133d1479c5121f92681806e52255 | 56a0a9939781a1d8847bb5c0567e18d14ae106ef | feat(openai-compat): add transformRequestBody function for openai | ## Background
#11427
Proxy providers may require different request body formats than the official OpenAI API. We allowed this for the anthropic provider but not for openai
## Summary
Added transformRequestBody to the OpenAI provider for Chat and Responses API
## Manual Verification
n/a for UI example... | diff --git a/.changeset/curvy-maps-smash.md b/.changeset/curvy-maps-smash.md
new file mode 100644
index 000000000000..530cb18bc02d
--- /dev/null
+++ b/.changeset/curvy-maps-smash.md
@@ -0,0 +1,6 @@
+---
+'@ai-sdk/anthropic': patch
+'@ai-sdk/openai': patch
+---
+
+feat(openai): add transformRequestBody function for open... | 3 | 3 | 1 | [{"id": "G0", "claim": "The transformRequestBody feature should live in the OpenAI-compatible provider (for proxy servers) instead of the official OpenAI provider, which should stay specific to OpenAI.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The c... | null |
vercel__ai__11838 | vercel/ai | 11,838 | defect | 7da0ebd0a410b5c813d2fe12f10f5741861d6db0 | 7e2c730a11961c39ae742f9e19f1227b80db3e06 | fix(openai-compatible): Accept non-OpenAI provider options | <!--
Welcome to contributing to AI SDK! We're excited to see your changes.
We suggest you read the following contributing guide we've created before submitting:
https://github.com/vercel/ai/blob/main/CONTRIBUTING.md
-->
## Background
```
providerOptions: {
recraft: {
style: 'vector_illustration',
... | diff --git a/.changeset/polite-dryers-hug.md b/.changeset/polite-dryers-hug.md
new file mode 100644
index 000000000000..485d70fe65bc
--- /dev/null
+++ b/.changeset/polite-dryers-hug.md
@@ -0,0 +1,5 @@
+---
+'@ai-sdk/openai-compatible': patch
+---
+
+fix(openai-compatible): Accept non-OpenAI provider options
diff --git ... | 2 | 1 | 0 | [{"id": "G0", "claim": "OpenAICompatibleImageModel names its getter 'providerOptionsKey' while the other compatible models (chat, completion, embedding) use 'providerOptionsName', causing an inconsistency that should be aligned.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introd... | null |
vercel__ai__11851 | vercel/ai | 11,851 | defect | c0fff0368638adbf2c6f9197e13c432c37760751 | 6ca2efbc2fa5b464ccd4feee172222c9688f719d | fix(anthropic/provider): Do not use structured output header with json response tool | ## Background
We were sending structured output beta header with json response tool which was performing strict json schema validation causing errors.
## Summary
Do not send beta header for json response tool
## Manual Verification
Ran eg of anthropic tool calls
## Checklist
- [x] Tests have been a... | diff --git a/.changeset/orange-dolphins-compete.md b/.changeset/orange-dolphins-compete.md
new file mode 100644
index 0000000000000..025520d4c1d01
--- /dev/null
+++ b/.changeset/orange-dolphins-compete.md
@@ -0,0 +1,5 @@
+---
+'@ai-sdk/anthropic': patch
+---
+
+Not sending structured output beta header for json respons... | 2 | 1 | 1 | [{"id": "G0", "claim": "Combining the beta-header check with the strict property check (&& tool.strict != null) incorrectly causes the structured-outputs-2025-11-13 beta to not be added when strict is undefined, so the original `if (supportsStructuredOutput === true)` should be restored.", "category": "correctness", "v... | null |
vercel__ai__13371 | vercel/ai | 13,371 | defect | 980f7775891521b272ad994485108fb986b1d0f4 | a5a94db62edfac8b05b9599d3ba857e0dffd763f | feat(provider/xai): expose costInUsdTicks in responses provider metadata | ## background
xAI returns per-request cost as `cost_in_usd_ticks` in usage but the SDK wasn't exposing it
## summary
- add `cost_in_usd_ticks` to responses usage schema
- expose as `providerMetadata.xai.costInUsdTicks` in both doGenerate and doStream
- add tests for both generate and stream
- add generate-text and s... | diff --git a/.changeset/cost-metadata.md b/.changeset/cost-metadata.md
new file mode 100644
index 000000000000..61a614c35198
--- /dev/null
+++ b/.changeset/cost-metadata.md
@@ -0,0 +1,5 @@
+---
+'@ai-sdk/xai': patch
+---
+
+expose costInUsdTicks in responses provider metadata
diff --git a/examples/ai-functions/src/gene... | 2 | 1 | 0 | [{"id": "G0", "claim": "The xAI generate-image example divides cost_in_usd_ticks by 1_000_000 instead of 1e10, so displayed costs are 10,000x higher than actual.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "cost_in_usd_ticks in the xaiResponsesU... | null |
vercel__ai__13747 | vercel/ai | 13,747 | defect | 72889f821337508e742da0761b372793d6af1a8c | fe7a118fa38924038a9396f1588ed6597d80566f | fix(ai): skip tool validation for terminal states when schema is missing | ## background
when an MCP server disconnects between conversation turns, tool schemas are no longer registered. `validateUIMessages` throws `TypeValidationError` ("No tool schema found for tool part X") on historical tool parts that already completed, permanently bricking the conversation. this is common with ephemera... | diff --git a/.changeset/five-trainers-cheat.md b/.changeset/five-trainers-cheat.md
new file mode 100644
index 000000000000..f09bd695e2f8
--- /dev/null
+++ b/.changeset/five-trainers-cheat.md
@@ -0,0 +1,5 @@
+---
+"ai": patch
+---
+
+skip validation for tool parts in terminal states when tool schema is no longer registe... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a test covering the case where tool validation is skipped for a tool part in a terminal state whose tool schema is missing.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
vercel__ai__14593 | vercel/ai | 14,593 | defect | 72cb801a5b5b878075ebae9aab1502947d2aa087 | bfbfe81123c93ce135a6122a8bbd4aa67e0c0c21 | feat(ai): validate tool context against contextSchema at runtime | ## Background
The tool context is currently only used for development time type safety, but no type checking happens at runtime. This can lead to uncaught misconfigurations that cause downstream errors, which are hard to debug.
## Summary
Add tool context validation before tool approval function execution and ... | diff --git a/.changeset/dirty-mangos-listen.md b/.changeset/dirty-mangos-listen.md
new file mode 100644
index 000000000000..cbcf99ca8ae8
--- /dev/null
+++ b/.changeset/dirty-mangos-listen.md
@@ -0,0 +1,7 @@
+---
+'ai': patch
+---
+
+feat(ai): validate tool context against contextSchema at runtime
+
+Tool execution and ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Typo in the JSDoc comment: `/**s` should be `/**` on line 30 of execute-tool-call.ts.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
vercel__ai__14763 | vercel/ai | 14,763 | defect | 4181cfe469dbb56eab8949c0514fb3a8df847c6c | 1c81009c395625b02bbe54b3ef90dcc003ca4438 | fix(mcp): prevent prototype pollution by using secureJsonParse | ## Background
alternate to https://github.com/vercel/ai/pull/14313
Prototype pollution vulnerabilities exist in MCP transports and mergeObjects. MCP transports use raw JSON.parse() on data from untrusted MCP servers, and mergeObjects deep-merges without filtering dangerous keys like __proto__, constructor, or pro... | diff --git a/.changeset/wet-poets-attack.md b/.changeset/wet-poets-attack.md
new file mode 100644
index 000000000000..bec02534e652
--- /dev/null
+++ b/.changeset/wet-poets-attack.md
@@ -0,0 +1,7 @@
+---
+"@ai-sdk/provider-utils": patch
+"@ai-sdk/mcp": patch
+"ai": patch
+---
+
+fix(mcp): prevent prototype pollution by ... | 1 | 1 | 0 | [{"id": "G0", "claim": "If secureJsonParse is to become part of the semi-public API surface of provider-utils, it should be renamed (e.g. to secureParseJSON) to align with the project's naming schemes.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
vercel__ai__14765 | vercel/ai | 14,765 | defect | 9ea40e065b04e786b5e0b311034ff069196119f6 | 149e6e64cd84f68a90c83fdc46b947fafb62934f | fix(amazon-bedrock): drop foreign-provider reasoning blocks instead of sending them unsigned | ## Background
When a conversation contains reasoning blocks signed by a different provider
(e.g. Anthropic-signed reasoning replayed through Bedrock during cross-provider
fallback), the converter pushes the reasoning text without a signature, and
Bedrock's converse API rejects the request with:
messages.N... | diff --git a/packages/amazon-bedrock/src/convert-to-amazon-bedrock-chat-messages.test.ts b/packages/amazon-bedrock/src/convert-to-amazon-bedrock-chat-messages.test.ts
index d258a6f2e3884..3e8752c29fe21 100644
--- a/packages/amazon-bedrock/src/convert-to-amazon-bedrock-chat-messages.test.ts
+++ b/packages/amazon-bedrock... | 1 | 1 | 1 | [{"id": "G0", "claim": "Reasoning blocks with `providerOptions` containing the `amazonBedrock` key (including Bedrock's own round-tripped output) are silently dropped because the provider key filter only allows `'bedrock'`, not `'amazonBedrock'`.", "category": "correctness", "verdict": "supported", "priority": "P1", "s... | null |
vercel__ai__14790 | vercel/ai | 14,790 | defect | 4cd312ffa26e00258a824078a71a33c888f6f8ed | 1a7eedf31fa2cd3fce8411c6e7557b87bb0f41e9 | feat(anthropic): sanitize the unsupported JSON schema validation properties | ## Background
https://github.com/vercel/ai/issues/13355 & https://github.com/vercel/ai/issues/14342
Anthropic rejects certain schema validation properties (documented [here](https://platform.claude.com/docs/en/build-with-claude/structured-outputs#json-schema-limitations))
When those properties are passed throu... | diff --git a/.changeset/empty-deers-tell.md b/.changeset/empty-deers-tell.md
new file mode 100644
index 000000000000..951684055c70
--- /dev/null
+++ b/.changeset/empty-deers-tell.md
@@ -0,0 +1,5 @@
+---
+"@ai-sdk/anthropic": patch
+---
+
+feat(anthropic): sanitize the unsupported JSON schema validation properties
diff ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The 'Additional constraints: ' English prefix injected into sanitized schema descriptions is a form of prompt altering / prompt engineering the project tries to avoid, and the description should be built from just the joined descriptions.", "category": "design", "verdict": "supported", "priority... | null |
vercel__ai__14805 | vercel/ai | 14,805 | defect | 1cf94281de569e7bd3154f841d654e53a9dc7c93 | 82dec1c567d845ae3613644e3ebc033766a2360f | feat(provider/xai): support non-image files in Responses API via input_file + file_url | ## Background
xAI's Responses API accepts non-image documents (PDF, plain text, CSV, etc.) as `{ type: 'input_file', file_url }` per the official [Chat with Files](https://docs.x.ai/docs/guides/chat-with-files) docs. The AI SDK xAI Responses provider previously threw `UnsupportedFunctionalityError` for any file part w... | diff --git a/.changeset/xai-responses-pdf-file-url.md b/.changeset/xai-responses-pdf-file-url.md
new file mode 100644
index 000000000000..701bd22bb328
--- /dev/null
+++ b/.changeset/xai-responses-pdf-file-url.md
@@ -0,0 +1,11 @@
+---
+'@ai-sdk/xai': patch
+---
+
+feat(provider/xai): support non-image file parts (PDF, t... | 1 | 1 | 0 | [{"id": "G0", "claim": "Rewrite the added comment to avoid the terms blacklisting/whitelisting, using allow/deny listing or wording that avoids the term altogether.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
vercel__ai__14882 | vercel/ai | 14,882 | defect | d33e7ccbfb99199dcc750bda8f9bcb7f029527d8 | e4313c28819c481dcfa1517074da4e508a42b0a8 | Backport: fix(amazon-bedrock): drop foreign-provider reasoning blocks instead of sending them unsigned | This is an automated backport of #14765 to the release-v6.0 branch. FYI @thestonechat | diff --git a/packages/amazon-bedrock/src/convert-to-bedrock-chat-messages.test.ts b/packages/amazon-bedrock/src/convert-to-bedrock-chat-messages.test.ts
index bfc8798dc88e..5fdbadf92bd3 100644
--- a/packages/amazon-bedrock/src/convert-to-bedrock-chat-messages.test.ts
+++ b/packages/amazon-bedrock/src/convert-to-bedrock... | 1 | 1 | 1 | [{"id": "G0", "claim": "Two new tests call non-existent convertToAmazonBedrockChatMessages and one uses the wrong providerOptions key, causing both tests to fail at runtime.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
vercel__ai__8985 | vercel/ai | 8,985 | defect | 00dc198191c2c5a6b6a48cd02ea43f0ad6132ba2 | dcf0d10dcb015865e44cd294c44fc54ffe26e4ff | fix(react): make useChat callbacks not stale | ## Background
`useChat` captures the initial `onToolCall` callback via closures, offering no mechanism to refresh the callback during a chat’s lifetime. When the React component changes context/state (e.g., changing the value of a `useState` hook), `onToolCall` continues using stale values, leading to incorrect clie... | diff --git a/.changeset/fix-react-usechat-ontoolcall.md b/.changeset/fix-react-usechat-ontoolcall.md
new file mode 100644
index 000000000000..56d0ad6df9ea
--- /dev/null
+++ b/.changeset/fix-react-usechat-ontoolcall.md
@@ -0,0 +1,12 @@
+---
+'@ai-sdk/react': patch
+---
+
+Fix: ensure `useChat` uses the latest `onToolCal... | 2 | 1 | 1 | [{"id": "G0", "claim": "Keep intermediary event listeners in useChat that forward to the current user-provided listeners, instead of changing the chat interface in the ai package, so the change is limited to the @ai-sdk/react package.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduce... | null |
vercel__edge-runtime__77 | vercel/edge-runtime | 77 | defect | aeab1681dd2d166996bdc35406a157e37a0c4cf9 | 039bf249ed4ac15ed5cd1b9115ef5f58fa03d8de | fix(jest-enviroment): add EdgeRuntime global | This fixes #75
| diff --git a/packages/jest-environment/src/index.ts b/packages/jest-environment/src/index.ts
index 8eddfa51..8a49e134 100644
--- a/packages/jest-environment/src/index.ts
+++ b/packages/jest-environment/src/index.ts
@@ -20,6 +20,9 @@ export = class EdgeEnvironment implements JestEnvironment<number> {
extend: (con... | 3 | 2 | 0 | [{"id": "G0", "claim": "The EdgeRuntime global should be declared in EdgeVM instead of repeating the declaration in multiple places.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The Object.defineProperty(context, 'EdgeRuntime', ...) block in... | null |
vercel__ncc__100 | vercel/ncc | 100 | defect | 349543ecb481bc0a78b816dedb0306e1faa80e5d | 7f1964352e7ac26734fd6ec6fc87d1b34a5896b2 | Support Node shebang scripts | Fixes #69. | diff --git a/package.json b/package.json
index d6751c76a..f4c6e30c2 100644
--- a/package.json
+++ b/package.json
@@ -58,9 +58,9 @@
"mkdirp": "^0.5.1",
"mongoose": "^5.3.12",
"mysql": "^2.16.0",
- "node-pre-gyp": "^0.12.0",
"node-gyp": "^3.8.0",
"node-native-loader": "^1.1.1",
+ "node-pre-... | 3 | 3 | 2 | [{"id": "G0", "claim": "The test fixture uses the shebang `#!/bin/user/env`, which is not a valid node shebang; it should be `#!/bin/user/env node`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The compiled output entrypoint does not re-emit the e... | null |
vercel__ncc__111 | vercel/ncc | 111 | defect | e8f074241bf83906e31d6491e456eb9ad294d454 | 3831ce68d21ec95e8d4a88c0aff4b5bbd0ab25a4 | Firebase admin fix | Fixes #109, as well as improving the CLI error messages. | diff --git a/package.json b/package.json
index fd76bf38e..0ae5dced9 100644
--- a/package.json
+++ b/package.json
@@ -40,6 +40,7 @@
"express": "^4.16.4",
"fetch-h2": "^1.0.2",
"firebase": "^5.5.8",
+ "firebase-admin": "^6.3.0",
"fontkit": "^1.7.7",
"glob": "^7.1.3",
"got": "^9.3.2",
diff... | 1 | 1 | 0 | [{"id": "G0", "claim": "Promises the CLI creates should be handled where they are created rather than relying on a global process.on(\"unhandledRejection\") handler that rethrows, even if the safeguard itself is fine to keep.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
vercel__ncc__1236 | vercel/ncc | 1,236 | defect | 2d6cb2fd543dadf4c39adab479413726415d4808 | e2b7a2657fe48c0b62b35cbb6fbb7a7ac1461e3c | fix(cjs-build): enable evaluating import.meta in cjs build | ## Purpose
A while ago, a [PR](https://github.com/vercel/ncc/pull/897) was merged to disable `import.meta` evaluation altogether to support new versions of Webpack. This sometimes causes issues in CJS projects.
In the comments, there were some [discussions](https://github.com/vercel/ncc/pull/897#discussion_r83691... | diff --git a/src/index.js b/src/index.js
index 8ffa3022..f2574276 100644
--- a/src/index.js
+++ b/src/index.js
@@ -379,7 +379,7 @@ function ncc (
}
],
parser: {
- javascript: { importMeta: false },
+ javascript: { importMeta: !esm },
},
},
plugins
| 1 | 1 | 1 | [{"id": "G0", "claim": "Add a test to confirm that enabling evaluation of import.meta in the CJS build is working as expected.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
vercel__ncc__311 | vercel/ncc | 311 | defect | 17eb4d8e42798e4d9e9773e1f91ab9010a9cab05 | 102458916305dc0f9c6aac5b25b7af47814121c9 | Update browserify wrapper handling | This includes the update to the asset relocator loader to improve the Browserify wrapper handling (https://github.com/zeit/webpack-asset-relocator-loader/commit/2d0e7c7e2cc4a2df2baf8803867f186cb4e5dce1).
Specifically we extend the browserify wrapper detection to be able to detect the uglification of the wrapper, as ... | diff --git a/package.json b/package.json
index 77c992c9..2a074107 100644
--- a/package.json
+++ b/package.json
@@ -22,7 +22,7 @@
"@google-cloud/firestore": "^0.19.0",
"@sentry/node": "^4.3.0",
"@tensorflow/tfjs-node": "^0.3.0",
- "@zeit/webpack-asset-relocator-loader": "0.2.2",
+ "@zeit/webpack-ass... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add an integration test for `tiny-json-http` to prove the asset-relocator bump fixes the bug and so it does not regress.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
vercel__ncc__355 | vercel/ncc | 355 | defect | 30931b9701c0a8bc531f38e6495dc5a84647af3b | 71f2b7e46d6f215e36be90e74ca5b6e214839627 | Fix sourcemap chaining | This fixes the loaders to support sourcemap chaining properly, and includes a simple integration test to show the TypeScript sourcemaps are that the right offset.
Fixes #353
There will likely be more work to be done here in due course, which we can improve over time (in terms of ensuring the fidelity of the sourc... | diff --git a/src/index.js b/src/index.js
index 0b748e20..0e5ed77d 100644
--- a/src/index.js
+++ b/src/index.js
@@ -94,7 +94,7 @@ module.exports = (
nodeEnv: false,
minimize: false
},
- devtool: sourceMap ? "cheap-source-map" : false,
+ devtool: sourceMap ? "source-map" : false,
mode: "prod... | 3 | 1 | 1 | [{"id": "G0", "claim": "The new CLI test case runs test/fixtures/fail.ts, but that fixture file does not exist in the repository.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Switching devtool from cheap-source-map to source-map may cost performance; ... | null |
vercel__ncc__470 | vercel/ncc | 470 | defect | 208157905c8b3f80b9ccfb8e334815fd22224d8a | c904ed9cc36ff76fd5992bb418b76662f54fefa3 | Fix issue with TypeScript paths with `allowJs` | Closes #469
I noticed something when I added the test, when you run the existing `output.js` of `tsconfig-paths` you also get "Cannot find module", not sure if the output there is intended to be different from `output-coverage.js`, but thought i'd point it out.
The `tsconfig-paths-allowjs/output-coverage.js` show... | diff --git a/src/index.js b/src/index.js
index 9c250b74..8a4eb9e0 100644
--- a/src/index.js
+++ b/src/index.js
@@ -71,7 +71,7 @@ module.exports = (
// we need to catch here because the plugin will
// error if there's no tsconfig in the working directory
try {
- resolvePlugins.push(new TsconfigPathsPlugin({ ... | 2 | 2 | 2 | [{"id": "G0", "claim": "The TsconfigPathsPlugin `extensions` option should be `SUPPORTED_EXTENSIONS` so it stays in sync with the webpack config, instead of the hard-coded `[\".ts\", \".tsx\", \".js\"]`, as the tsconfig-paths docs require.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": ... | null |
vercel__ncc__605 | vercel/ncc | 605 | defect | ba009428938942fb367a9d23a2b60551e2bc6d50 | 38a67ff85ace9ce8c5902943837f57f20422b741 | fix: respect quiet flag on ts build | Fix #603 | diff --git a/src/index.js b/src/index.js
index 11e320391..6bd4051a8 100644
--- a/src/index.js
+++ b/src/index.js
@@ -50,7 +50,7 @@ module.exports = (
} = {}
) => {
const ext = extname(filename);
-
+ global.nccQuiet = quiet;
if (!quiet) {
console.log(`ncc: Version ${nccVersion}`);
console.log(`ncc: ... | 3 | 3 | 2 | [{"id": "G0", "claim": "The `log` arrow function added to src/typescript.js is never used and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The quiet flag should be propagated to src/typescript.js without a global variable.",... | null |
vercel__ncc__654 | vercel/ncc | 654 | defect | b6b661de8d5c2924b97cbf40334c1545fad486df | f280c2fba47dfd178511122c8e3115a601905883 | Support Regexp externals | Resolves #647
### Changes
Support regex pattern for externals, to exclude more external libs easily.
Regexp is supported natively, this can avoid adding extra libraries to support wildcard patterns like `pattern*`.
### Usage
```js
{
externals: {
'externaltest': 'externalmapped',
'/\\w+-re... | diff --git a/src/index.js b/src/index.js
index 5ea3f6bb6..9980e9c07 100644
--- a/src/index.js
+++ b/src/index.js
@@ -130,7 +130,26 @@ function ncc (
}
});
- const externalMap = new Map();
+ const externalMap = (() => {
+ const regexps = [];
+ const aliasMap = new Map();
+
+ function set(key, value)... | 1 | 1 | 1 | [{"id": "G0", "claim": "The externals mapping should be reversed so the key is always the match (e.g. a '/\\w+-regex/' pattern) and the value always the replacement, instead of using the value as the regex to match.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
vercel__ncc__669 | vercel/ncc | 669 | defect | f3fd47b3572f5fbfbd553657716f1cf482a191d4 | 190c7ad101fca3e49db8ab06605a0e18b782689c | Upgrade to terser@5.6.1 | This updates to terser@5.6.1 with latest syntax support.
Fixes #661. | diff --git a/package.json b/package.json
index ea247afa..b8ec525d 100644
--- a/package.json
+++ b/package.json
@@ -96,7 +96,7 @@
"source-map-support": "^0.5.9",
"stripe": "^6.15.0",
"swig": "^1.4.2",
- "terser": "^3.11.0",
+ "terser": "^5.6.1",
"the-answer": "^1.0.0",
"tiny-json-http": "^... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a test covering minification of the optional-chaining call `console.log?.(\"hello\")` under the upgraded terser.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
vercel__ncc__766 | vercel/ncc | 766 | defect | b3bc0824c56cb4eb0cc7aaca33a70682313dbb4c | 81ba8278d128b5b44fa2218e8fd6e966bc77a827 | Fix `compilerOptions` from `tsconfig.json` | This will make sure we pass `tsconfig.json` to the loader.
In particular the `module: commonjs` option is important to ensure mixed module usage like `tsc` supports.
Fixes #765 | diff --git a/src/index.js b/src/index.js
index 47763590..5fa354be 100644
--- a/src/index.js
+++ b/src/index.js
@@ -335,14 +335,10 @@ function ncc (
compiler: eval('__dirname + "/typescript.js"'),
compilerOptions: {
allowSyntheticDefaultImports: true,
- modul... | 1 | 1 | 0 | [{"id": "G0", "claim": "The TypeScript compiler options should spread all of `fullTsconfig.compilerOptions` from the user's tsconfig.json instead of overriding them with ncc's own values.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}] | null |
vercel__next.js__89321 | vercel/next.js | 89,321 | defect | 91bf04930da717ff167f9bb12e704436613c6316 | 89b835f4aa5c86bdf5443b888a68f82916e25e7c | Make Server Function logging opt-in via `logging.serverFunctions` | Server Function logging (#88277) is now opt-in, consistent with how fetch logging works. This reduces noise in development logs by default.
Additionally, for `'use cache'` Server Functions called from the client, the logging needs more work to be useful. Keeping it opt-in avoids exposing incomplete functionality by ... | diff --git a/docs/01-app/03-api-reference/05-config/01-next-config-js/logging.mdx b/docs/01-app/03-api-reference/05-config/01-next-config-js/logging.mdx
index f00e08bfb0ae..2291023be824 100644
--- a/docs/01-app/03-api-reference/05-config/01-next-config-js/logging.mdx
+++ b/docs/01-app/03-api-reference/05-config/01-next... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test should switch the logging config via an environment variable instead of patching next.config.js at runtime.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
vercel__next.js__89325 | vercel/next.js | 89,325 | defect | bb41cbd6ee5516b95030c2d7921fa7aa98527850 | eaf351691ca5dd784f6c68c8e264d293841e77f8 | Handle Pages data route skew with deployment id header, take 2 | Reapply https://github.com/vercel/next.js/pull/88959
Revert https://github.com/vercel/next.js/pull/89323
Closes PACK-6537
Closes PACK-6756
- Deployment skew (forcing a MPA nav instead of a SPA nav if a deployment happened inbetween) is handled by comparing a header on the client side.
- The other case that used ... | diff --git a/packages/next/errors.json b/packages/next/errors.json
index 5f308d282287..09caff1c41d4 100644
--- a/packages/next/errors.json
+++ b/packages/next/errors.json
@@ -986,5 +986,6 @@
"985": "No response is returned from route handler '%s'. Expected a Response object but received '%s' (method: %s, url: %s). E... | 2 | 1 | 1 | [{"id": "G0", "claim": "In packages/next/src/server/normalizers/request/next-data.test.ts the parameterized \"should return true if it matches\" case still uses build-id style data paths when deploymentId is set, so it does not properly validate the normalizer's behavior for the deployment-id scenario.", "category": "t... | null |
vercel__next.js__89370 | vercel/next.js | 89,370 | defect | 479877d6d7a6fef89938a3217780f8663126a49a | eb9af29dab2186041065673072d27074b0fd9b68 | Optimize how we track data for persistence | ## Summary
Reworks how the turbo-tasks backend tracks modified tasks for persistence snapshots, reducing overhead and simplifying the snapshot lifecycle.
**Key changes:**
- **Replace `modified` DashMap with per-shard atomic counters + inline flags.** Instead of maintaining a separate `FxDashMap<TaskId, ModifiedState... | diff --git a/turbopack/crates/turbo-persistence/src/value_buf.rs b/turbopack/crates/turbo-persistence/src/value_buf.rs
index cd446fe07974..50f27742c897 100644
--- a/turbopack/crates/turbo-persistence/src/value_buf.rs
+++ b/turbopack/crates/turbo-persistence/src/value_buf.rs
@@ -13,7 +13,7 @@ impl ValueBuffer<'_> {
... | 9 | 5 | 3 | [{"id": "G0", "claim": "The comments in end_snapshot() describe the opposite ordering from what the code actually implements, creating confusion about the correct concurrency behavior.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The inline thre... | null |
vercel__next.js__89698 | vercel/next.js | 89,698 | defect | ad030d782e2aba6272685d309c53650fbb06a6a6 | 7d31e999356dda1d00db1a91ed5c417f8de1b6e8 | Improve webpack loader error messages and handling | ## What?
This PR improves error reporting for webpack loaders by:
1. **Preserving loader paths in error messages**: Modified the webpack message formatter to rewrite "Module build failed" headers to preserve the loader path information while removing the verbose prefix. This makes errors more readable in both CLI out... | diff --git a/packages/next/src/shared/lib/format-webpack-messages.ts b/packages/next/src/shared/lib/format-webpack-messages.ts
index 8c57d1a424a8..a1f5fffc8679 100644
--- a/packages/next/src/shared/lib/format-webpack-messages.ts
+++ b/packages/next/src/shared/lib/format-webpack-messages.ts
@@ -86,9 +86,20 @@ function f... | 2 | 1 | 1 | [{"id": "G0", "claim": "Appending the \"(from loader path)\" line to loader errors that already have a stack trace merely makes the output noisier; the change only improves the situation when there was no stack trace before, so the line should be added only when the loader path is not already in the stack trace.", "cat... | null |
vercel__next.js__90671 | vercel/next.js | 90,671 | defect | 55bb48da2566c42b55be10305cf81017e1ae44a9 | 9c7d7fb6fa95958abb1905a799e7b26adaa40896 | Turbopack: Allow turbopack-node backend to be swapped at runtime using an experimental config option | <!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:
## For Contributors
### Improving Documentation
- Run `pnpm prettier-f... | diff --git a/crates/next-api/Cargo.toml b/crates/next-api/Cargo.toml
index 6068bd198d2a..17a9f76332ad 100644
--- a/crates/next-api/Cargo.toml
+++ b/crates/next-api/Cargo.toml
@@ -40,7 +40,7 @@ turbopack-browser = { workspace = true }
turbopack-core = { workspace = true }
turbopack-css = { workspace = true }
turbopac... | 3 | 1 | 0 | [{"id": "G0", "claim": "The experimental config option should be renamed (e.g. turbopackEscmascriptBackend or turbopackPluginRuntimeStrategy) since turbopackNodeBackend misdescribes it, and it should account for running under bun.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"},... | null |
vercel__next.js__91173 | vercel/next.js | 91,173 | defect | 9cee46cd4431e1cbb9fa8adc2523710630a929d9 | bef0e462e18d42f84b7371853be0009ba61a9c69 | Add RDC action test to deploy manifest and update PR test trigger | x-ref: https://github.com/vercel/next.js/pull/91163 | diff --git a/scripts/get-changed-tests.mjs b/scripts/get-changed-tests.mjs
index 7ee2ab10978f..5b52538776b4 100644
--- a/scripts/get-changed-tests.mjs
+++ b/scripts/get-changed-tests.mjs
@@ -1,9 +1,128 @@
// @ts-check
import fs from 'fs/promises'
import execa from 'execa'
+import { createRequire } from 'module'
imp... | 1 | 1 | 1 | [{"id": "G0", "claim": "The manifest paths the change-detection script watches should be derived from NEXT_EXTERNAL_TESTS_FILTERS (which may list several manifests, e.g. cache-components merges test/deploy-tests-manifest.json with test/cache-components-tests-manifest.json) instead of hard-coding only test/deploy-tests-... | null |
vercel__next.js__91336 | vercel/next.js | 91,336 | defect | 254478317305c17871db277808eecd81ea6dd634 | a89f014706b1f6b7bc1271ff8e90f384afc826ea | Add `next internal post-build` CLI command for Turbopack database compaction | ### What?
Adds a \`next internal post-build\` CLI command that performs Turbopack persistent cache database compaction as a separate step after \`next build\`.
### Why?
Database compaction during shutdown can be slow and blocks the build process. By deferring compaction to a separate post-build step, we can:
- Keep ... | diff --git a/crates/next-napi-bindings/src/next_api/project.rs b/crates/next-napi-bindings/src/next_api/project.rs
index 1f4ec6fcb818..e5e40ed03e45 100644
--- a/crates/next-napi-bindings/src/next_api/project.rs
+++ b/crates/next-napi-bindings/src/next_api/project.rs
@@ -284,6 +284,8 @@ pub struct NapiTurboEngineOptions... | 4 | 4 | 2 | [{"id": "G0", "claim": "compact_database should use the same scheduler as the normal runtime (the parallel scheduler) and set up a Tokio runtime to drive it, instead of the SerialScheduler.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The explicit per-... | null |
vercel__next.js__91832 | vercel/next.js | 91,832 | defect | ee6a0d77150a3263b660f9a6d19d6831ad5a9433 | 16b22cf70abc8c7b52dd828472cc6c3515e06a4d | Turbopack: switch from base40 to base38 hash encoding (remove ~ and . from charset) | ### What?
Fixes a regression from https://github.com/vercel/next.js/pull/91137
Switch Turbopack's hash encoding charset from base40 (`0-9 a-z _ - ~ .`) to base38 (`0-9 a-z _ -`), removing the `~` and `.` characters. Pure rename/charset change — no structural changes.
### Why?
The `~` and `.` characters in b... | diff --git a/test/e2e/app-dir-export/test/utils.ts b/test/e2e/app-dir-export/test/utils.ts
index 35ceb5803ecb..7be3230f8530 100644
--- a/test/e2e/app-dir-export/test/utils.ts
+++ b/test/e2e/app-dir-export/test/utils.ts
@@ -30,13 +30,9 @@ export const expectedWhenTrailingSlashTrue = [
// Turbopack and plain next.js h... | 4 | 2 | 1 | [{"id": "G0", "claim": "Inline snapshot assertions in test/integration/css/test/basic-global-support.test.ts contain stale base40-encoded hashes that no longer match the actual output after the hash encoding was changed to base38.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}... | null |
vercel__next.js__92135 | vercel/next.js | 92,135 | defect | 49670f885990ee87c4c2c58e1b6a798faaf9cc2d | 58bd403212638ba1f3b119be281ee7e827219ab9 | Restart the `next dev` server if `.next` is deleted | This PR is AI generated.
If this directory is deleted while the dev server is running, we can't reasonably recover, so we should restart the process.
Addresses https://vercel.slack.com/archives/C03KAR5DCKC/p1774757692640999 | diff --git a/packages/next/src/server/lib/start-server.ts b/packages/next/src/server/lib/start-server.ts
index eb60970010e8..c77512dff295 100644
--- a/packages/next/src/server/lib/start-server.ts
+++ b/packages/next/src/server/lib/start-server.ts
@@ -525,24 +525,30 @@ export async function startServer(
})
if (i... | 3 | 3 | 2 | [{"id": "G0", "claim": "The loop that collects distDir ancestors to watch can misbehave when distDir points outside the project directory (possibly never terminating, since path.dirname('/') == '/'), and the agreed resolution is to watch only that exact directory when it is outside dir, otherwise walk the ancestors up ... | null |
vercel__next.js__92273 | vercel/next.js | 92,273 | defect | daca04d09bf9aaee9e1c63324166985b643e9844 | cd03fb8b37d8ece309db7d4096dd3c30cb48b6d5 | fix(server-hmr): metadata routes overwrite page runtime HMR handler | ### What?
Fix server HMR becoming unresponsive after a metadata route is loaded in the same Node.js process as an app page.
### Why?
Turbopack loads separate runtime chunks for app pages and metadata routes (`robots.ts`, `sitemap.ts`, `manifest.ts`, `icon.tsx`, etc.) in the same Node.js process. Each runtime chunk e... | diff --git a/packages/next/src/server/dev/hot-reloader-turbopack.ts b/packages/next/src/server/dev/hot-reloader-turbopack.ts
index 8a7d1febc89e..9dc9abc6afc5 100644
--- a/packages/next/src/server/dev/hot-reloader-turbopack.ts
+++ b/packages/next/src/server/dev/hot-reloader-turbopack.ts
@@ -1855,6 +1855,11 @@ export asy... | 3 | 2 | 0 | [{"id": "G0", "claim": "The server runtime should possibly prevent multiple copies from loading (as the browser runtime does), since multiple copies of the server runtime may not be needed.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `if (!fns || ... | null |
vercel__next.js__92640 | vercel/next.js | 92,640 | defect | db0fdc30f655d11593584dd87c9998c4f38e4dba | c03e3e350c9624c46512edd7cd399905ac693fa8 | Turbopack: Add import.meta.glob support (Vite compat) | ## What?
Adds support for [Vite's `import.meta.glob`](https://vite.dev/guide/features.html#glob-import) in Turbopack. This is a compile-time transform that resolves glob patterns into a map of module paths to lazy/eager imports.
## Why?
This is a commonly used Vite feature for dynamically importing groups of files (... | diff --git a/test/e2e/import-meta-glob/app/layout.tsx b/test/e2e/import-meta-glob/app/layout.tsx
new file mode 100644
index 000000000000..c7295294439d
--- /dev/null
+++ b/test/e2e/import-meta-glob/app/layout.tsx
@@ -0,0 +1,7 @@
+export default function Layout({ children }: { children: React.ReactNode }) {
+ return (
+... | 11 | 11 | 6 | [{"id": "G0", "claim": "ImportMetaGlobAsset::source() can return None here instead of always wrapping the original source.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "ImportMetaGlobAsset should not have the original source as a field.", "category... | null |
vercel__next.js__92729 | vercel/next.js | 92,729 | defect | fa60f505323bb632b8d0f1593d7262fa738082c0 | 34bcd67c535e385d6841c8a69102e062eb23800e | Turbopack: import.meta.glob docs + edge case support | ## What?
Adds documentation and TypeScript types for `import.meta.glob` in Turbopack, and implements additional edge cases for Vite compatibility.
### Documentation
- New `## import.meta.glob` section in the [Turbopack reference page](/docs/app/api-reference/turbopack) covering: lazy/eager loading, named imports, que... | diff --git a/docs/01-app/02-guides/migrating/from-vite.mdx b/docs/01-app/02-guides/migrating/from-vite.mdx
index 9a34bc79cde9..f84262e5955b 100644
--- a/docs/01-app/02-guides/migrating/from-vite.mdx
+++ b/docs/01-app/02-guides/migrating/from-vite.mdx
@@ -533,6 +533,18 @@ aren’t supported by Next.js. You need to update ... | 7 | 7 | 5 | [{"id": "G0", "claim": "Query object keys and values should be URL-encoded when serialized into the import query string.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The manual dotfile skipping added in flatten_read_glob is redundant because the g... | null |
vercel__next.js__92835 | vercel/next.js | 92,835 | defect | de62a9660b1f47061fd5f2efb01ab14611842aab | b2651456d4945b49acf0ca2090f5a614a10ee0bd | Turbopack: move assignment_scopes computation into ImportMap | I'm moving all of the export-related logic into `EvalContext` (and thus `ImportMap`) so that `VarGraph` is only needed for computing the references, and not the exports.
The change in the snapshots is
```diff
-*anonymous function 170* (const after eval) = (...) => [file]
+*anonymous function 170* = (...) => [file]
``... | diff --git a/turbopack/crates/turbopack-ecmascript/src/analyzer/graph.rs b/turbopack/crates/turbopack-ecmascript/src/analyzer/graph.rs
index 8b3880ac2674..64e6c18d9171 100644
--- a/turbopack/crates/turbopack-ecmascript/src/analyzer/graph.rs
+++ b/turbopack/crates/turbopack-ecmascript/src/analyzer/graph.rs
@@ -33,9 +33,... | 3 | 3 | 1 | [{"id": "G0", "claim": "After this change stripped VarMeta down to just a value, the struct may no longer be needed and could be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The fully-qualified std::collections::hash_map::Entry used i... | null |
vercel__next.js__93055 | vercel/next.js | 93,055 | defect | a03b8eeef766c337f3c02b9f879d6ed76ad39fec | 9f3a92bc9c7e9a7cf1784efda4b265ce6a06eb75 | Restore dev-mode cache-fill timeout for `'use cache'` | When `'use cache'` fills during `next dev`, there was no timeout, so a stalled fill could hang the request indefinitely. This change restores a dev-mode cache-fill timeout that fires 50 seconds after the fill starts, matching the 50s timeout we already have during prerender. The timer sets `workStore.invalidDynamicUsag... | diff --git a/packages/next/src/server/use-cache/use-cache-wrapper.ts b/packages/next/src/server/use-cache/use-cache-wrapper.ts
index 45a4300f836f..515580815560 100644
--- a/packages/next/src/server/use-cache/use-cache-wrapper.ts
+++ b/packages/next/src/server/use-cache/use-cache-wrapper.ts
@@ -38,6 +38,7 @@ import {
}... | 3 | 3 | 0 | [{"id": "G0", "claim": "The dev cache-fill timeout condition should check `__NEXT_DEV_SERVER` instead of `NODE_ENV === 'development'`, since it conceptually applies only on the dev server (the reviewer asks whether it would also run in `--debug-prerender`).", "category": "correctness", "verdict": "supported", "priority... | null |
vercel__next.js__93192 | vercel/next.js | 93,192 | defect | 08da80a7779dde2d334a838d6c2fb7bfee1c2241 | 99ff86ed28ee235043ba604eec89109f9947aa30 | Fix `export * as X from './self'` in scope-hoisted modules | ### What?
Scope-hoisted execution of a module that re-exports its own namespace
(`export * as X from './self'`) returned the wrong namespace for named
imports of the module.
Given:
```js
// data.js
import * as Self from './data'
export function foo() { return 'foo' }
export function bar() { return 'bar' }
export fun... | diff --git a/turbopack/crates/turbopack-ecmascript/src/references/esm/base.rs b/turbopack/crates/turbopack-ecmascript/src/references/esm/base.rs
index bc924bf120ae..6b90c3b09b9b 100644
--- a/turbopack/crates/turbopack-ecmascript/src/references/esm/base.rs
+++ b/turbopack/crates/turbopack-ecmascript/src/references/esm/b... | 3 | 3 | 0 | [{"id": "G0", "claim": "Use the existing `ReferencedAsset::get_ident_from_placeable` to compute the namespace ident in `ImportSource::get_namespace_ident` instead of hand-rolling the mangle.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Compute the hois... | null |
vercel__next.js__93211 | vercel/next.js | 93,211 | defect | 44722b808cf3e5eff089b3cfdb7b6039d7a0d837 | c157abcad30d85a0602dce2d02de88a97d7d3989 | Honor the route-level `expire` value with blocking revalidation | A prerendered route's `expire` — set via `cacheLife({ expire })` inside `'use cache'` or via the `expireTime` config fallback — lands in the prerender manifest as `initialExpireSeconds` / `fallbackExpire` (#76207), but the runtime never read it: `IncrementalCache.get` only considered `revalidate`. So past expire, Next.... | diff --git a/packages/next/src/build/templates/app-page.ts b/packages/next/src/build/templates/app-page.ts
index a333aa84acc1..428537c83198 100644
--- a/packages/next/src/build/templates/app-page.ts
+++ b/packages/next/src/build/templates/app-page.ts
@@ -943,6 +943,16 @@ export async function handler(
fetchMet... | 1 | 1 | 1 | [{"id": "G0", "claim": "The runtime `expireTime` fallback in the page handler should be shaped like the build-time fallback in `build/index.ts` (linked L3068-L3071) instead of populating `expire` on every `cacheControl` that lacks one.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "int... | null |
vercel__next.js__93271 | vercel/next.js | 93,271 | defect | 7df1a40bb7338a36482240f3742a7537458af1c9 | 8189bd2b9bf65ebfef19f550e7290013c02381c0 | Turbopack: add `experimental.turbopackWorkerAssetPrefix` to keep Workers same-origin when `assetPrefix` is a CDN | ### What?
Adds `experimental.turbopackWorkerAssetPrefix` — a Turbopack counterpart to webpack's [`output.workerPublicPath`](https://webpack.js.org/configuration/output/#outputworkerpublicpath). Opt-in, off by default, fully backward compatible.
```js
// next.config.js
module.exports = {
assetPrefix: 'https://cdn.ex... | diff --git a/crates/next-api/src/project.rs b/crates/next-api/src/project.rs
index 63da40381358..e441e768f7e8 100644
--- a/crates/next-api/src/project.rs
+++ b/crates/next-api/src/project.rs
@@ -1589,6 +1589,7 @@ impl Project {
.next_config()
.turbo_nested_async_chunking(self.next_mode... | 2 | 2 | 1 | [{"id": "G0", "claim": "The worker's module chunks should keep being resolved against CHUNK_BASE_PATH; only the worker entry script URL should use the new worker path override.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The four-line typeof/leng... | null |
vercel__next.js__93488 | vercel/next.js | 93,488 | defect | eaad55c518a42d3cecf75bed636645f595d0eaf5 | 9672a01fa8c978c28acd08d2cf087f365cc16114 | feat(turbopack): add chunkLoadingGlobal config option | ### What?
Adds a new `chunkLoadingGlobal` option to the `turbopack` config in `next.config.js` that overrides the global variable name used for Turbopack chunk loading (defaults to `TURBOPACK`).
```js
// next.config.js
module.exports = {
turbopack: {
chunkLoadingGlobal: 'myApp',
},
}
```
### Why... | diff --git a/crates/next-api/src/project.rs b/crates/next-api/src/project.rs
index 92ad18d04549..0084e7912b30 100644
--- a/crates/next-api/src/project.rs
+++ b/crates/next-api/src/project.rs
@@ -1594,6 +1594,7 @@ impl Project {
css_url_suffix,
hash_salt: self.next_config().output_hash_salt().t... | 2 | 2 | 1 | [{"id": "G0", "claim": "The test's dot-notation assertions do not match the bracket-notation form Turbopack emits (globalThis[\"TURBOPACK_myApp\"]), so the positive assertion fails and the negative assertion is ineffective.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id"... | null |
vercel__next.js__93504 | vercel/next.js | 93,504 | defect | 5150cafadbc89077ebbb4b9cc4a7e7150cf00a1e | 4c0efb7d623cc3294629d85c05c32dedebdd7dfd | Turbopack: fix import_usage for functions behind member expressions | Manifested as `ReferenceError: foo is not defined` where `foo` is an import
A regression from https://github.com/vercel/next.js/pull/92891 | diff --git a/turbopack/crates/turbopack-ecmascript/src/analyzer/imports.rs b/turbopack/crates/turbopack-ecmascript/src/analyzer/imports.rs
index 0ec518ffa86a..6065c2f12f01 100644
--- a/turbopack/crates/turbopack-ecmascript/src/analyzer/imports.rs
+++ b/turbopack/crates/turbopack-ecmascript/src/analyzer/imports.rs
@@ -7... | 2 | 1 | 0 | [{"id": "G0", "claim": "The set/take flag methods for the static member expr obj state should be replaced with a closure pattern like enter_static_member_expr_obj to manage the state transitions more safely.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "S... | null |
vercel__next.js__93612 | vercel/next.js | 93,612 | defect | c06d94ba22d0156e8bff28c81f7874b73d80ed03 | cf763dd68a6fda1f6f0753c9b45d61fee4461548 | Fix "type: module" in project dir when using standalone or adapters | ### What?
Add `.next/package.json` (the distDir commonjs boundary marker) to the `required-server-files.json` manifest.
### Why?
`next build` writes `.next/package.json` with `{"type": "commonjs"}` so that everything in `.next/**` is loaded as CJS even when the user's project `package.json` has `"type": "modul... | diff --git a/crates/next-api/src/next_server_nft.rs b/crates/next-api/src/next_server_nft.rs
index 409b5e01885b..7a22ec686a68 100644
--- a/crates/next-api/src/next_server_nft.rs
+++ b/crates/next-api/src/next_server_nft.rs
@@ -118,9 +118,6 @@ impl Asset for ServerNftJsonAsset {
.try_join()
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The multi-line comment above the \"package.json\" entry in the build files array is outdated and no longer matches the current behavior, so it should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
vercel__next.js__93633 | vercel/next.js | 93,633 | defect | d55787fe2e5c796c8e656b8b8ef9142f8b629d58 | 244e0e7399018928e49a60a704cb0257cbaf20b7 | bfcacheId: Opt out of state preservation | When `cacheComponents` is enabled, the App Router preserves state across navigations by rendering inactive routes inside React `<Activity>` boundaries.
As a default behavior, this is a huge convenience because it lets you navigate between routes without resetting or losing ephemeral UI state (scroll position, expand... | diff --git a/docs/01-app/03-api-reference/04-functions/use-router.mdx b/docs/01-app/03-api-reference/04-functions/use-router.mdx
index c85c567fedc4..92a7060c6690 100644
--- a/docs/01-app/03-api-reference/04-functions/use-router.mdx
+++ b/docs/01-app/03-api-reference/04-functions/use-router.mdx
@@ -47,6 +47,7 @@ export ... | 3 | 1 | 1 | [{"id": "G0", "claim": "After navigating /x/1 to /x/2 to /x/3 and then back twice, the first history entry's leaf form input shows the third entry's text instead of its own preserved state.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "After navigati... | null |
vercel__satori__260 | vercel/satori | 260 | defect | e328e2778eb2ed357942ea92b35c58af8e50ab7f | c6f3203abf5dacd74de0e5182686770df6a1f61a | feat: support the lang="ja" attribute | ### Description
Support the `lang="ja"` attribute.
1. For those words with the same Unicode Code Point but different glyphs (in different languages), different glyphs need to be displayed according to the lang attribute. Such as `刃直海角骨入`.
2. Chinese characters (e.g. `樱`) can also be displayed correctly (through sa... | diff --git a/src/font.ts b/src/font.ts
index 5d3f93e18..ac43e4160 100644
--- a/src/font.ts
+++ b/src/font.ts
@@ -14,6 +14,8 @@ export interface FontOptions {
style?: Style
}
+const PREFIX = 'satori'
+
function compareFont(
weight,
style,
@@ -157,7 +159,8 @@ export default class FontLoader {
fontFami... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `const PREFIX = 'satori'` constant seems unused and the name-based lang inference it supports unreliable, since font names do not consistently carry a language segment.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
vercel__satori__329 | vercel/satori | 329 | defect | fa515f2120cc9b385aafb50e64a25e63b8cd5d6c | 346e8d0978c5ba7e81b2ba18a90de0e924a93a61 | Perefer svg witdth and height prop and only set viewBox when available | Fixes: #319
* Prefer sizing svg image with `width` and `height` properties if they're presented
* Calculate proper witdth and height based on `viewBox`
* Only set `viewBox` when it's available | diff --git a/src/utils.ts b/src/utils.ts
index 1159e3d3..df8a8165 100644
--- a/src/utils.ts
+++ b/src/utils.ts
@@ -344,6 +344,9 @@ function translateSVGNodeToSVGString(
}
export function parseViewBox(viewBox: string) {
+ if (!viewBox) {
+ throw new Error('`viewBox` is required to be provided for SVG')
+ }
r... | 1 | 1 | 1 | [{"id": "G0", "claim": "Instead of throwing an error when `viewBox` is missing, satori should keep the svg's original `width` and `height` props (which `SVGNodeToImage` currently strips) and use them for size/scaling, setting `viewBox` only when it is available.", "category": "design", "verdict": "supported", "priority... | null |
vercel__satori__359 | vercel/satori | 359 | defect | 38a2d5527fdc49888df0aa6e47c2862e9eb19f05 | a01c1d545dabcf1d03525b6f0d29a77657be8340 | fix: Add support for non-breaking space | fixes #293. | diff --git a/src/utils.ts b/src/utils.ts
index 46800048..7e5fdf82 100644
--- a/src/utils.ts
+++ b/src/utils.ts
@@ -176,10 +176,36 @@ export function segment(
granularity: 'grapheme',
})
}
+
+ if (granularity === 'grapheme') {
+ return [...graphemeSegmenter.segment(content)].map((seg) => seg.segment... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a test case covering the new non-breaking-space segment-joining behaviour.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
vercel__satori__645 | vercel/satori | 645 | defect | 618d565edb83270d9b829edc430788032e6f2bc6 | 87820b1e53383d50839501a59ba87848510c877b | feat: add ability to add text stroke | 
This PR is adding ability to stroke to texts.
fixes: #578
Added 2 properties (`WebkitTextStrokeWidth`, `WebkitTextStrokeColor`) and 1 shorthands (`WebkitTextStroke`). When stroke is enabled... | diff --git a/README.md b/README.md
index 1340126a..fafa7f77 100644
--- a/README.md
+++ b/README.md
@@ -270,6 +270,18 @@ Satori uses the same Flexbox [layout engine](https://yogalayout.com) as React Na
<tr><td><code>maskSize</code></td><td>Support two-value size i.e. `10px 20%`</td><td><a href="https://og-playground.ve... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new text stroke feature needs tests (added under /tests) before the PR can be merged.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
vercel__satori__95 | vercel/satori | 95 | defect | f09f6a2f7c755636a749856ed918df96e5b580d7 | d56cdbdcb6a1551fa807ec9800d04f2d5d4fcb88 | Throw error if div has children but not `display:flex` | - FIxes #81
| diff --git a/src/layout.ts b/src/layout.ts
index 562d792a..f9ea08f2 100644
--- a/src/layout.ts
+++ b/src/layout.ts
@@ -172,6 +172,10 @@ export default function* layout(
computedStyle
)
} else {
+ const display = style?.display ?? 'block'
+ if (type === 'div' && children && style?.display !== 'flex'... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new throw condition does not account for text children, so a div whose children are text nodes would throw the missing-flex error when it should not.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Besides text children, t... | null |
vercel__serve__716 | vercel/serve | 716 | defect | 3fbca73163f2b118cc23bb89758e7bd81e2b4382 | 46de8143d61ac1135b8bdce1c30d868685e822d7 | feat: add request logging | ## Related Issues
Closes #660.
## Description
- adds request logging; logs request time, ip, method, and url, as well as the response status code and response time.
- request logging is enabled by default, and can be disabled using `--no-request-logging`, or `-L`. | diff --git a/source/main.ts b/source/main.ts
index 1891a456..60bc01a1 100755
--- a/source/main.ts
+++ b/source/main.ts
@@ -126,11 +126,11 @@ for (const endpoint of args['--listen']) {
let message = chalk.green('Serving!');
if (local) {
const prefix = network ? '- ' : '';
- const space = network ? ' ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new request-logging behavior added by this PR should be covered by a test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
vercel__streamdown__212 | vercel/streamdown | 212 | defect | 8a3fc5acffeeeea4139f52da48f700a0b36f8bce | 4a7352efe5124c8c51f6de7da42856d6ff5aa2fc | Fullscreen mermaid | ## Description
Adds a fullscreen view button for Mermaid diagrams, allowing users to expand complex diagrams to fill the viewport for better visibility and interaction. The feature includes keyboard shortcuts (ESC to exit), click-outside-to-close functionality, body scroll locking, and granular control options for e... | diff --git a/.changeset/angry-peas-cough.md b/.changeset/angry-peas-cough.md
new file mode 100644
index 00000000..eaf1a570
--- /dev/null
+++ b/.changeset/angry-peas-cough.md
@@ -0,0 +1,5 @@
+---
+"streamdown": minor
+---
+
+Add fullscreen view button for Mermaid diagrams
diff --git a/apps/website/app/components/mermaid... | 1 | 1 | 1 | [{"id": "G0", "claim": "When multiple MermaidFullscreenButton instances are active, closing one unconditionally clears the body scroll lock (document.body.style.overflow = \"\"), leaving page scroll enabled even though other fullscreen modals remain open; scroll should stay locked until all fullscreen instances are clo... | null |
vercel__streamdown__253 | vercel/streamdown | 253 | defect | 5e2d30f7a8d244934bb3fce6de2da287b47e6a5a | 8bb777a465dedb34910fdf3a0b1315b6d61e6895 | Add: panZoom control option to support chart zoom functionality | ## Description
<!-- Provide a brief description of the changes in this PR -->
Add PanZoom controls configurability for Mermaid diagrams.
- Support `controls.mermaid.panZoom` (boolean) to toggle zoom controls globally
- Support `mermaid.config.panZoom` (boolean or `{ showControls?: boolean }`) per-instance
- ... | diff --git a/.changeset/mermaid-panzoom-controls.md b/.changeset/mermaid-panzoom-controls.md
new file mode 100644
index 00000000..e118e959
--- /dev/null
+++ b/.changeset/mermaid-panzoom-controls.md
@@ -0,0 +1,11 @@
+---
+"streamdown": minor
+---
+
+Add PanZoom controls configurability for Mermaid diagrams.
+
+- Support... | 3 | 2 | 1 | [{"id": "G0", "claim": "The exported ControlsConfig type is missing the panZoom property, which causes TypeScript type errors when users try to pass panZoom settings to the Streamdown component.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The cha... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.