Prototype extracted from Cloudflare Agents PR #1860 before the v7 adapter was removed from the shipping package.
Status: design artifact only. It has structural unit tests, but it has not been integration-tested against a real installed AI SDK v7 package. The Cloudflare Agents repository is currently on AI SDK v6, so this should not be shipped until the repository upgrades and can run real v7 integration tests.
- AI SDK v7 operation/model/tool lifecycle callbacks become
invoke_agent,chat, andexecute_toolspans. executeLanguageModelCallandexecuteToolpreserve active context for nested provider/tool work.