Problem
Only notifications/initialized returns undefined (202-empty): any other no-id request (e.g. ping without id) falls through to rpcOk and replies {"id": null, ...}, violating JSON-RPC notification semantics.
Where
src/index.ts (notification handling).
Acceptance
Add a failing test first asserting any no-id request gets 202 with empty body. Then fix.
Problem
Only
notifications/initializedreturnsundefined(202-empty): any other no-idrequest (e.g.pingwithout id) falls through torpcOkand replies{"id": null, ...}, violating JSON-RPC notification semantics.Where
src/index.ts(notification handling).Acceptance
Add a failing test first asserting any no-
idrequest gets 202 with empty body. Then fix.