ai
7.0.176 · 17 Nov 2026Apache-2.048.6M / weekRepositoryHomepagenpmAtom feed
6.0.333 is the newest release of 6.x.
In short
1 fixed
Release note
Patch Changes
ai: Prune orphaned tool-approval responses in
pruneMessagesWhen pruning a specific tool by name (
toolCalls: [{ type, tools: [...] }]),pruneMessagesleft the tool'stool-approval-responsein place while removing itstool-approval-requestandtool-call. The tool name of an approval response was resolved per-message, but approval responses live in a separatetoolmessage from their approval request, so the name could never be resolved and the response was always kept. Tool name resolution is now done across all messages, so approval requests and responses are pruned together.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.