Skip to main content
rpcSurface(instance): ReadonlyMap<string, RpcOptions>
The effective remote surface of a constructed agent instance: method name → the RpcOptions it was decorated with, for exactly the names a remote call frame could dispatch. Names the dispatcher would reject are excluded even if decorated: reserved hooks, _-prefixed names, and names whose resolved callable is not the decorated function (e.g. an undecorated subclass override). Returns a fresh snapshot on every call — mutating it has no effect on dispatch. Parameters Returns ReadonlyMap<string, RpcOptions>