TanStackOSS
    ai
    fix(ai): produce new object references in tool-call message updaters updateToolCallApproval, updateToolCallState, updateToolCallWithOutput, and updateToolCallApprovalResponse mutated the found tool-call part in-place after spreading the parts array, so frameworks relying on reference identity for change detection (Svelte 5 proxies, Vue 3 reactivity) could not observe the updates. Each function now replaces the part at its index with a spread copy, matching the pattern already used by updateToolCallPart/updateTextPart/updateThinkingPart. Rebased onto current main: applied at the new packages/ai/ path and preserved main's updateToolCallWithOutput default-state logic (state ?? (errorText ? 'input-complete' : 'complete')) from #596. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
    nx run-many --targets=build --exclude=examples/**,testing/**
Succeeded
CI Pipeline Execution

nx run-many --targets=build --exclude=examples/**,testing/**

Click to copy
Linux
4 CPU cores
read access token used
e94b0b48395
6%

Cache hits

2 of 31 tasks used cache.

Get faster results

Learn how to enable distribution.

Atomizer enabled

31 groups of tasks optimized.

© 2026 - Nx Cloud

Terms of ServicePrivacy PolicyChangelogStatusDocsContact Nx CloudPricingCompany@NxDevTools