Skip to content

Comments

Version Packages#964

Open
github-actions[bot] wants to merge 1 commit intomainfrom
changeset-release/main
Open

Version Packages#964
github-actions[bot] wants to merge 1 commit intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 21, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

agents@0.5.2

Patch Changes

  • #963 b848008 Thanks @threepointone! - Make callbackHost optional in addMcpServer for non-OAuth servers

    Previously, addMcpServer() always required a callbackHost (either explicitly or derived from the request context) and eagerly created an OAuth auth provider, even when connecting to MCP servers that do not use OAuth. This made simple non-OAuth connections unnecessarily difficult, especially from WebSocket callable methods where the request context origin is unreliable.

    Now, callbackHost and the OAuth auth provider are only required when the MCP server actually needs OAuth (returns a 401/AUTHENTICATING state). For non-OAuth servers, addMcpServer("name", url) works with no additional options. If an OAuth server is encountered without a callbackHost, a clear error is thrown: "This MCP server requires OAuth authentication. Provide callbackHost in addMcpServer options to enable the OAuth flow."

    The restore-from-storage flow also handles missing callback URLs gracefully, skipping auth provider creation for non-OAuth servers.

@cloudflare/ai-chat@0.1.4

Patch Changes

  • #956 ab401a0 Thanks @whoiskatrin! - Fix denied tool approvals (CF_AGENT_TOOL_APPROVAL with approved: false) to transition tool parts to output-denied instead of approval-responded.

    This ensures convertToModelMessages emits a tool_result for denied approvals, which is required by providers like Anthropic.

    Also adds regression tests for denied approval behavior, including rejection from approval-requested state.

@github-actions github-actions bot force-pushed the changeset-release/main branch 4 times, most recently from b1d60f2 to 3a95d03 Compare February 21, 2026 15:44
@github-actions github-actions bot force-pushed the changeset-release/main branch from 3a95d03 to d84fc72 Compare February 21, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants