Skip to content

Update package.json#731

Merged
stumblefiend merged 1 commit into
productionfrom
stumblefiend-patch-1
Feb 3, 2021
Merged

Update package.json#731
stumblefiend merged 1 commit into
productionfrom
stumblefiend-patch-1

Conversation

@stumblefiend

Copy link
Copy Markdown
Contributor

fix bad analytics build

fix bad analytics build
@stumblefiend
stumblefiend requested a review from a team February 3, 2021 16:33
@stumblefiend
stumblefiend merged commit 9fd306f into production Feb 3, 2021
@stumblefiend
stumblefiend deleted the stumblefiend-patch-1 branch February 3, 2021 16:39
agents-git-bot Bot pushed a commit that referenced this pull request Dec 12, 2025
Syncs documentation changes from cloudflare/agents PR #731:
- Add comprehensive useChat API reference documentation
- Update human-in-the-loop guide to use new useChat hook
- Replace two-hook pattern (useAgent + useAgentChat) with single useChat hook
- Update tool configuration to use declarative confirm property
- Simplify approval flow with approve() and deny() methods

This is a breaking change that improves developer experience with:
- Simpler single-hook API
- Declarative tool configuration with execute and confirm properties
- Cleaner approval flow without magic strings
- Better TypeScript types with PendingConfirmation

Related PR: cloudflare/agents#731

Generated with Claude Code https://claude.com/claude-code

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
agents-git-bot Bot pushed a commit that referenced this pull request Dec 12, 2025
Updates documentation to reflect the breaking changes in PR #731:
- Replace useAgent + useAgentChat two-hook pattern with unified useChat hook
- Update human-in-the-loop guide with new declarative tool configuration
- Document new approve(id)/deny(id) API replacing addToolResult()
- Add TOOL_CONFIRMATION protocol constants documentation
- Update tool configuration to use confirm property instead of manual lists
- Simplify examples to show new streamlined API

This is a breaking change that affects how users implement human-in-the-loop
workflows with the Agents SDK.

Related PR: cloudflare/agents#731
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.

2 participants