Skip to content

Sync changes to release PR#1897

Merged
localden merged 2 commits into
localden/2025-11-25from
main
Nov 25, 2025
Merged

Sync changes to release PR#1897
localden merged 2 commits into
localden/2025-11-25from
main

Conversation

@localden

Copy link
Copy Markdown
Contributor

No description provided.

ben221199 and others added 2 commits November 25, 2025 17:44
Co-authored-by: Den Delimarsky <53200638+localden@users.noreply.github.com>
Co-authored-by: David Soria Parra <167242713+dsp-ant@users.noreply.github.com>
* Split responses and errors into separate message categories

- Separate "Responses" section for successful responses with result field
- Separate "Errors" section for error responses with error field
- Add schema anchor links to each message type description
- Clarify that responses must have result, errors must have error field

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Consolidate response and error messages in JSON-RPC specification

Simplified the message type hierarchy by combining successful responses
and error responses into a single "Responses" section, as they are both
responses to requests per JSON-RPC 2.0 specification.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Address PR feedback: split JSONRPCResponse into union type and make error ID optional

- Rename JSONRPCResponse to JSONRPCResponseSuccess
- Rename JSONRPCError to JSONRPCResponseError
- Make JSONRPCResponseError.id optional (for malformed requests)
- Create JSONRPCResponse as union type: JSONRPCResponseSuccess | JSONRPCResponseError
- Split Responses section in basic/index.mdx into Success Responses and Error Responses subsections
- Regenerate schema.json and schema.mdx

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Rename JSONRPCResponseSuccess to JSONRPCResultResponse and JSONRPCResponseError to JSONRPCErrorResponse

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Regenerate schema

* Regenerate schema.mdx with correct typedoc version

---------

Co-authored-by: Claude <noreply@anthropic.com>
@localden localden requested a review from a team as a code owner November 25, 2025 15:48
@localden localden merged commit 1b55ac7 into localden/2025-11-25 Nov 25, 2025
10 checks passed
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.

4 participants