Skip to content

[Workers/Durable Objects] add deleteAll()#825

Merged
haneefmubarak merged 1 commit into
productionfrom
haneef/DO-deleteAll
Feb 22, 2021
Merged

[Workers/Durable Objects] add deleteAll()#825
haneefmubarak merged 1 commit into
productionfrom
haneef/DO-deleteAll

Conversation

@haneefmubarak

Copy link
Copy Markdown
Contributor

No description provided.

@haneefmubarak
haneefmubarak requested a review from a team February 22, 2021 18:02
@haneefmubarak
haneefmubarak merged commit cde2ef8 into production Feb 22, 2021
@haneefmubarak
haneefmubarak deleted the haneef/DO-deleteAll branch February 22, 2021 18:17
agents-git-bot Bot pushed a commit that referenced this pull request Feb 1, 2026
This update comprehensively documents the new Workflow Integration features added in cloudflare/agents#825:

- New AgentWorkflow base class for tight Agent-Workflow integration
- Workflow tracking in Agent SQLite database with cf_agents_workflows table
- Lifecycle callbacks: onWorkflowProgress, onWorkflowComplete, onWorkflowError, onWorkflowEvent
- New workflow control methods: terminateWorkflow, pauseWorkflow, resumeWorkflow, restartWorkflow
- Cursor-based pagination for getWorkflows() with WorkflowPage return type
- Bidirectional communication patterns (Workflow ↔ Agent)
- State synchronization via step.updateAgentState and step.mergeAgentState
- Human-in-the-loop approval flow with waitForApproval helper
- Comprehensive patterns and examples for common use cases

Breaking change: getWorkflows() now returns WorkflowPage instead of array (pre-release).

Note: Workflow control methods not yet supported in local dev - work when deployed.

Related: cloudflare/agents#825, cloudflare/agents#823
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