Skip to content

feat: support cross-plugin invocation via plugin:method syntax#544

Merged
alex-gilin merged 1 commit into
masterfrom
feat/cross-plugin-invoke
Mar 8, 2026
Merged

feat: support cross-plugin invocation via plugin:method syntax#544
alex-gilin merged 1 commit into
masterfrom
feat/cross-plugin-invoke

Conversation

@idoprz

@idoprz idoprz commented Mar 8, 2026

Copy link
Copy Markdown
Contributor

Add parseMethod() to RpcBrowserWebSocketsMulti that splits a "targetPlugin:methodName" string so invoke() can route requests to a different plugin's backend over the shared WebSocket.

Fix response filtering: match responses by request id instead of plugin name, so cross-plugin responses are no longer silently dropped.

Includes 8 new unit tests covering cross-plugin invoke, backward compatibility, response filtering, and edge cases.

Add parseMethod() to RpcBrowserWebSocketsMulti that splits a
"targetPlugin:methodName" string so invoke() can route requests to
a different plugin's backend over the shared WebSocket.

Fix response filtering: match responses by request id instead of
plugin name, so cross-plugin responses are no longer silently dropped.

Includes 8 new unit tests covering cross-plugin invoke, backward
compatibility, response filtering, and edge cases.
@idoprz idoprz requested a review from alex-gilin March 8, 2026 11:01

@alex-gilin alex-gilin 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.

LGTM

@alex-gilin alex-gilin merged commit 572b18c into master Mar 8, 2026
5 checks passed
@alex-gilin alex-gilin deleted the feat/cross-plugin-invoke branch March 8, 2026 11:03
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.

2 participants