Skip to content

feat(plugin): add typed rpc and custom events - #46105

Open
thdxr wants to merge 7 commits into
v2from
plugin-rpc-events
Open

feat(plugin): add typed rpc and custom events#46105
thdxr wants to merge 7 commits into
v2from
plugin-rpc-events

Conversation

@thdxr

@thdxr thdxr commented Aug 29, 2026

Copy link
Copy Markdown
Member

Issue for this PR

N/A

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds execution-neutral plugin RPC contracts with typed inputs, outputs, declared errors, and custom events. Promise and Effect plugins can register location-scoped implementations, while clients call them through one generic HTTP endpoint or subscribe through the existing event stream.

The implementation includes Promise and Effect client facades, plugin adapters, Core registration and dispatch, standard RPC error transport, generated protocol/client surfaces, and plugin/client documentation.

How did you verify your code works?

  • Typechecks for Core, Server, Client, Plugin, Protocol, Schema, and HTTP codegen
  • Client suite: 163 tests
  • HTTP codegen suite: 89 tests
  • Focused Core, Plugin, Protocol, and Server RPC tests
  • Generated OpenAPI checks and website build

Screenshots / recordings

Not applicable; there are no UI changes.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@thdxr
thdxr force-pushed the plugin-rpc-events branch from a2eaa9e to 2c48f2c Compare August 29, 2026 07:51
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