Skip to content

Conversation

@TooTallNate
Copy link
Member

@TooTallNate TooTallNate commented Nov 19, 2025

Made the writable property required in DurableAgent#stream() method to avoid implicit default output stream behavior, which is too easy to overlook.

What changed?

  • Changed the writable property in DurableAgentStreamOptions interface from optional to required
  • Updated documentation to reflect that writable is now required

Why make this change?

Making the writable property required improves code clarity and prevents potential issues from implicit behavior. By requiring explicit stream specification, it becomes more obvious where agent output is being directed, making the API more predictable and easier to understand. This change also aligns with best practices for explicit parameter requirements rather than relying on implicit defaults.

@changeset-bot
Copy link

changeset-bot bot commented Nov 19, 2025

🦋 Changeset detected

Latest commit: aa318ce

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@workflow/ai Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Contributor

vercel bot commented Nov 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview Comment Nov 20, 2025 8:20am
example-nextjs-workflow-webpack Ready Ready Preview Comment Nov 20, 2025 8:20am
example-workflow Ready Ready Preview Comment Nov 20, 2025 8:20am
workbench-express-workflow Error Error Nov 20, 2025 8:20am
workbench-hono-workflow Ready Ready Preview Comment Nov 20, 2025 8:20am
workbench-nitro-workflow Ready Ready Preview Comment Nov 20, 2025 8:20am
workbench-nuxt-workflow Ready Ready Preview Comment Nov 20, 2025 8:20am
workbench-sveltekit-workflow Ready Ready Preview Comment Nov 20, 2025 8:20am
workbench-vite-workflow Ready Ready Preview Comment Nov 20, 2025 8:20am
workflow-docs Ready Ready Preview Comment Nov 20, 2025 8:20am

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

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.

3 participants