ta
TanStack
GitHub
ai
Workspace
GitHub
CI Pipeline Executions
Filtered
Runs
Demo
Insights
Compare tasks
Analytics
Sign in
Toggle sidebar
Overview
⌘K
ai
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
fix/structured-output-schema-aware-null-normalization
851bd248 fix(code-mode): drop esbuild for edge-safe TypeScript stripping (#487) (#799) * fix(code-mode): drop esbuild for edge-safe TypeScript stripping (#487) @tanstack/ai-code-mode hard-depended on esbuild to strip TypeScript before sandbox execution. esbuild ships a Node-native binary and pulls in Node-only built-ins (e.g. require("pnpapi")), which broke browser bundles and edge runtimes such as Cloudflare Workers/Pages. Replace esbuild with sucrase, a pure-JavaScript transform with no native binary, on the default TypeScript-stripping path. Add an optional `transpile` escape hatch on createCodeModeTool so callers who don't need edge safety can swap in a heavier Node-only transpiler (e.g. esbuild). sucrase is a type-stripper rather than a down-leveler, so unlike esbuild it does not compile a few exotic constructs (value `namespace` blocks, decorators, the `accessor` keyword, post-ES2022 syntax such as `using` and the `/v` regex flag). These are documented on stripTypeScript and in the changeset, with the transpile hook as the workaround. Add an edge-safety guard test asserting no source imports esbuild or a Node-only built-in, and keep the dependency out of every install-facing bucket. * test(code-mode): escape module names in edge-safety import scan Escape regex metacharacters before interpolating each FORBIDDEN entry into the import-scan pattern. The current entries contain no metacharacters, so behavior is unchanged, but this keeps the pattern correct if an entry ever contains one and silences a static-analysis ReDoS warning. * ci: apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
by Season Saw
S
Succeeded
fix/structured-output-schema-aware-null-normalization
851bd248 Merge 88368c4ddcfa3fa85dea5080c2b7b357030e424a into 81e3aee318d0e6f869ee00c3d86a7475980d89df
by Drew Hoover
D
Succeeded
fix/structured-output-schema-aware-null-normalization
b95a0473 ci: apply automated fixes
by autofix-ci...
a
Succeeded
fix/structured-output-schema-aware-null-normalization
b95a0473 Merge 49f7a48ab53f5de760767d117542d3c66bbcd86c into 570c08a8d1a35746c3d31a63188249cba2d2475a
by Drew Hoover
D
Succeeded
fix/structured-output-schema-aware-null-normalization
0564e35c test(openai-base): assert structuredOutputStream passes provider nulls through Addresses CodeRabbit review (PR #732): the non-streaming passthrough assertion had no streaming sibling. Adds a `structuredOutputStream()` case emitting a provider `null` and asserting the terminal `structured-output.complete` object preserves it — guarding against the stream path regressing to a blind null-strip while the non-stream path relies on engine-level un-widening. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
by Tom Beckenham
T
Succeeded
fix/structured-output-schema-aware-null-normalization
0564e35c Merge 5b263ad17dabe09b7870607da68b417114549e7f into 570c08a8d1a35746c3d31a63188249cba2d2475a
by Drew Hoover
D
Succeeded
fix/structured-output-schema-aware-null-normalization
60da9f92 Merge 3f446789063365c1d937e6cf24fc9d0e6a2cc086 into e8ce0e1641618b56c5e157d4aaf8ad8aad640eb5
by Drew Hoover
D
Succeeded
fix/structured-output-schema-aware-null-normalization
60da9f92 fix(ai-utils): handle tuple items and ambiguous anyOf branches in undoNullWidening Addresses CodeRabbit review on #732: - resolveSchema now descends only when exactly one non-null anyOf/oneOf branch matches the value's shape; ambiguous unions keep the original schema rather than risk stripping a null a sibling branch allows. - Array walking applies tuple-style `items: [a, b, …]` schemas per index instead of always using the first. Adds coverage for both and fixes the test's import order. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
by Drew Hoover
D
Previous
Next