Commit Graph

10 Commits

Author SHA1 Message Date
4eac61144f Merge branch 'feature/rpc-plugin' into dev
* feature/rpc-plugin:
  feat: add session management and authentication tests for RPC plugin
  feat: add error reason to RPCError in callRequest method
  feat: enhance onCallRequest method with request handling and hook execution
  feat: add session and request handling to CallIncomingBeforeCtx and CallIncomingCtx interfaces
  feat: enhance callRequest method with options validation and hook execution
  feat: comment out abstract onInit and onDestroy methods in AbstractRPCPlugin class
  feat: update CallOutgoingBeforeCtx and CallOutgoingCtx interfaces to use unknown type for options and result
  feat: add unit tests for RPCPlugin hook execution and error handling
  feat: remove unused HookChainInterruptedError class from RPCPlugin
  feat: add RPCPlugin interface and abstract class with hook context definitions
  feat: add plugin management methods to RPCHandler
  feat: add createDeferrablePromise utility function
2025-11-28 14:12:53 +08:00
12afcb7a82 feat: add session management and authentication tests for RPC plugin 2025-11-28 14:12:37 +08:00
3a4a54d37c test: enhance error handling in RPC disconnected test 2025-11-27 22:45:48 +08:00
809a3759d9 feat: add unit tests for RPCPlugin hook execution and error handling 2025-11-27 21:36:41 +08:00
tone
e17a9591e1 feat: add tests for RPC protected methods and enhance RPCSession method protection 2025-11-15 18:08:27 +08:00
tone
ab289186f1 feat: add public method utilities and corresponding tests 2025-11-15 18:07:21 +08:00
tone
2666388df7 test: add RPC disconnection handling test case 2025-10-15 17:21:04 +08:00
tone
6fbba3f4c6 feat: add getRandomAvailablePort function and update tests 2025-10-15 16:00:59 +08:00
tone
4721157142 fix: correct spelling of 'connnect' to 'connect' in RPCHandler event listener 2025-10-15 12:37:06 +08:00
tone
ebb6407221 chore: add full source code 2025-10-14 23:53:27 +08:00