Skip to content

feat: add auto transport for client#378

Merged
threepointone merged 3 commits intocloudflare:mainfrom
amorriscode:amorriscode/auto-transport
Jul 31, 2025
Merged

feat: add auto transport for client#378
threepointone merged 3 commits intocloudflare:mainfrom
amorriscode:amorriscode/auto-transport

Conversation

@amorriscode
Copy link
Copy Markdown
Contributor

Resolves #367

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Jul 23, 2025

🦋 Changeset detected

Latest commit: 9758d0c

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

This PR includes changesets to release 2 packages
Name Type
agents Patch
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

Comment on lines +740 to +893
const messageBody = await request.json();
const error = await doStub.onSSEMcpMessage(sessionId, messageBody);
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I was struggling to get the tests to pass when passing the entire request to onSSEMcpMessage. I noticed that the only thing it actually needs is the message body so being explicit seemed okay.

@whoiskatrin
Copy link
Copy Markdown
Contributor

@amorriscode can you please fix the conflict in this branch? thank you

@threepointone threepointone force-pushed the amorriscode/auto-transport branch from bfe7637 to 9758d0c Compare July 31, 2025 10:19
@threepointone
Copy link
Copy Markdown
Contributor

I fixed the conflict

@threepointone threepointone merged commit c69f616 into cloudflare:main Jul 31, 2025
1 check passed
@threepointone threepointone mentioned this pull request Jul 31, 2025
Copy link
Copy Markdown

@DrHeadhunter DrHeadhunter left a comment

Choose a reason for hiding this comment

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

Ich

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

5 participants