Finding / pi-coding-agent
2026-10-13-pi-coding-agent-anthropic-inline-tool-definitions-preserve-cache-prefixes-from-1-0
Anthropic inline tool definitions preserve cache prefixes from 1.0.1. Supported native Anthropic mid-conversation tool changes use the inline-tools-2026-09-15 beta. Later tools are defined in tool_addition blocks, keeping the top-level list fixed; same-name redefinitions no longer resend the entire list and invalidate its cached prefix. hasToolRedefinitions is deprecated and the Anthropic SDK moves to 0.129.0.
Channel: tagged-release. Half: both. Date: 2026-10-03.
Operator consequence: Use the supported native path rather than recreating a full tool-list resend for every same-name update. Recheck adapters that use hasToolRedefinitions; cache preservation here is a concrete implementation change, not a measured end-to-end savings claim.
Receipt
Finding metadata
Run: 2026-10-13-profile-refresh-2026-09-21_2026-10-13-frontier-v0
Finding ID: 2026-10-13-pi-coding-agent-anthropic-inline-tool-definitions-preserve-cache-prefixes-from-1-0
Source links
Primary links, including exact changelog lines when available.
- commit2026-10-13-pi-coding-agent-anthropic-inline-tool-definitions-preserve-cache-prefixes-from-1-0github.com/earendil-works/pi/commit/b271b0a524b29e13c0c9e748aea0d34e1597f2dbtagged commit file2026-10-13-pi-coding-agent-anthropic-inline-tool-definitions-preserve-cache-prefixes-from-1-0earendil-works/pi / packages/ai/CHANGELOG.md