Commit a0b4961
feat: Add comprehensive Cloudflare Workflows integration documentation
Significantly expands the Workflows integration documentation based on PR 799
in the cloudflare/agents repository. This update transforms the basic workflow
triggering guide into comprehensive documentation covering:
- New AgentWorkflow base class for typed Agent access
- Complete API reference for workflow methods and lifecycle callbacks
- Automatic workflow tracking in Agent SQLite database
- Bidirectional communication patterns (Agent ↔ Workflow)
- Human-in-the-loop approval flows with convenience methods
- Progress reporting with custom progress types
- State synchronization between Workflows and Agents
- Common patterns: background processing, retries, approvals
- Best practices and limitations
Synced from: cloudflare/agents#799
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>1 parent c440403 commit a0b4961
File tree
2 files changed
+787
-61
lines changed- src/content/docs/agents/api-reference
2 files changed
+787
-61
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments