Fix Chrome passkey BYOK with the published AI packages - #1241
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
tanstack-com | 828b803 | Commit Preview URL Branch Preview URL |
Sep 10 2026, 04:51 AM |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe update bumps TanStack AI packages, patches OpenAI Responses tool continuations, and updates builder stream handling for TanStack finish metadata, encrypted reasoning chunks, and step completion events. Tests cover continuation output and metadata-based finish reasons. ChangesAI stream updates
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant OpenAIResponses as OpenAI Responses API
participant ResponsesAdapter as OpenAIBaseResponsesTextAdapter
participant BuilderStream as streamBuilderAiResponse
participant BuilderExecution as builder.project.execution
OpenAIResponses-->>ResponsesAdapter: response and tool-call events
ResponsesAdapter->>BuilderStream: provider stream with response metadata
BuilderStream->>ResponsesAdapter: tool results for continuation
ResponsesAdapter->>OpenAIResponses: previous_response_id and tool-result input
BuilderStream->>BuilderExecution: CUSTOM execution chunk
Merge Risk: ⚪ Minimal · up to This update aligns Builder with newer AI stream metadata and OpenAI tool-continuation behavior while preserving native tool validation; no actionable merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Fixed the CI validation failures in 43c9ad9. The native client-tool fixture also emitted the legacy tool-input-available event, which could execute and submit the same validation twice. It now matches the native interrupt protocol. All 490 tests pass (one existing skip), type checking and lint pass, and the client-stream tests passed 20 consecutive runs. The existing regression also exercises the real OpenAI adapter through the Builder stream boundary. Ready for Website Maintainer review once CI finishes. |
Updates Builder to ai-client 0.31.1 and the matching AI packages from TanStack/ai#1333. This includes the Chrome/1Password PRF byte-array fix from TanStack/ai#1351.
Preserves the existing OpenAI tool-continuation patch on openai-base 0.10.11. Reads tool-loop finish reasons from the new SDK metadata and keeps encrypted reasoning out of the browser stream. The regression test now covers the actual adapter through the Builder stream boundary.
Validation: pnpm test passed with 490 tests passing and one existing skip, including type checking and lint. pnpm build passed.
The packages used here are verified on npm. The broader AI release partially failed because ai-reactor and ai-sandbox-blaxel received npm publishing 404s; Builder does not depend on those packages.
Summary by CodeRabbit
New Features
Bug Fixes