Skip to content

Fix env type in hono-agents middleware#937

Merged
threepointone merged 2 commits into
mainfrom
fix-hono-types
Feb 18, 2026
Merged

Fix env type in hono-agents middleware#937
threepointone merged 2 commits into
mainfrom
fix-hono-types

Conversation

@deathbyknowledge

Copy link
Copy Markdown
Contributor

Use correct generic type parameter in agentsMiddleware from hono-agents. Fixes #112

@changeset-bot

changeset-bot Bot commented Feb 18, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: bf0ba35

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

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

@pkg-pr-new

pkg-pr-new Bot commented Feb 18, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/cloudflare/agents@937

commit: bf0ba35

Fixes the environment type in the hono-agents middleware to ensure proper functionality.
@deathbyknowledge
deathbyknowledge marked this pull request as ready for review February 18, 2026 15:57

@threepointone threepointone left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nice

@threepointone
threepointone merged commit 8b472a2 into main Feb 18, 2026
4 checks passed
@threepointone
threepointone deleted the fix-hono-types branch February 18, 2026 19:10
@github-actions github-actions Bot mentioned this pull request Feb 18, 2026
mattzcarey pushed a commit that referenced this pull request Feb 19, 2026
* use correct generic env type

* Fix env type in hono-agents middleware

Fixes the environment type in the hono-agents middleware to ensure proper functionality.
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.

hono-agents agentsMiddleware TS error

2 participants