@rpc() are
callable by connected clients, and rpcSurface() reports what a class
exposes. Both are standalone functions imported from @telnyx/edge-runtime,
not Agent members.
These functions are the server half of the remote-call story. @rpc() marks what may
be called; AgentSocketServer
enforces the opt-in on the wire (an undecorated method answers method_private); and
on the far end, AgentClient’s stub is
how callers reach what you exposed — agent.stub.humanReply("…") dispatches to the
@rpc()-decorated humanReply on your class.