Skip to content

Expose PartyServer routing retry options#1503

Merged
threepointone merged 1 commit into
mainfrom
agents-routing-retry-partyserver
May 11, 2026
Merged

Expose PartyServer routing retry options#1503
threepointone merged 1 commit into
mainfrom
agents-routing-retry-partyserver

Conversation

@threepointone
Copy link
Copy Markdown
Contributor

@threepointone threepointone commented May 11, 2026

Summary

  • Bumps partyserver to ^0.5.6 so Agents inherits transient Durable Object routing retries at the PartyServer boundary.
  • Re-exports RoutingRetryOptions from the main agents entrypoint for users configuring retry behavior.
  • Adds AgentGetOptions so getAgentByName() supports routingRetry without accepting full route-only AgentOptions fields like prefix or hooks.

Test plan

  • npx tsc -p packages/agents/tsconfig.json --noEmit
  • npx oxlint packages/agents/src/index.ts
  • npx oxfmt --check packages/agents/src/index.ts packages/agents/package.json package.json .changeset/route-retry-partyserver.md

Made with Cursor


Open in Devin Review

Bump PartyServer so Agents inherits transient Durable Object routing retries at the routeAgentRequest boundary. Re-export RoutingRetryOptions and thread the routingRetry option through getAgentByName without widening that API to full route-only AgentOptions.

This keeps manual agent lookup configuration aligned with PartyServer while preserving the narrower getAgentByName option surface.

Co-authored-by: Cursor <cursoragent@cursor.com>
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 11, 2026

🦋 Changeset detected

Latest commit: 92052f3

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

This PR includes changesets to release 1 package
Name Type
agents 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

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 11, 2026

Open in StackBlitz

agents

npm i https://pkg.pr.new/agents@1503

@cloudflare/ai-chat

npm i https://pkg.pr.new/@cloudflare/ai-chat@1503

@cloudflare/codemode

npm i https://pkg.pr.new/@cloudflare/codemode@1503

hono-agents

npm i https://pkg.pr.new/hono-agents@1503

@cloudflare/shell

npm i https://pkg.pr.new/@cloudflare/shell@1503

@cloudflare/think

npm i https://pkg.pr.new/@cloudflare/think@1503

@cloudflare/voice

npm i https://pkg.pr.new/@cloudflare/voice@1503

@cloudflare/worker-bundler

npm i https://pkg.pr.new/@cloudflare/worker-bundler@1503

commit: 92052f3

@threepointone threepointone merged commit 7b8ab51 into main May 11, 2026
4 checks passed
@threepointone threepointone deleted the agents-routing-retry-partyserver branch May 11, 2026 22:12
@github-actions github-actions Bot mentioned this pull request May 11, 2026
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.

1 participant