Summary
The workflow instance control methods (terminate(), pause(), resume(), restart()) throw "Not implemented yet" errors when running in local development with wrangler dev. These methods work correctly when deployed to Cloudflare.
Affected Methods
terminateWorkflow(workflowId)
pauseWorkflow(workflowId)
resumeWorkflow(workflowId)
restartWorkflow(workflowId)
Current Behavior
When calling any of these methods locally, the underlying Cloudflare Workflow API throws: Error: Not implemented yet
The agents SDK wraps this with a friendlier error message, but the functionality is not available until deployed.
Expected Behavior
These methods should work in local development for a complete local testing experience.
Workaround
Deploy to Cloudflare to use these features. The agents SDK provides clear error messages indicating this limitation.
Related
This is a limitation of the local Workflows runtime in wrangler dev / miniflare, not the agents SDK itself.