agentAuditEntering<T> function
Runs body as calls arriving on entry: every entry a tool call made
inside it records carries that entry.
The presentation stamps it, not the caller. The surface a call arrives
on is a property of the presentation, so AgentInProcessMcpServer wraps its
own dispatch in this, and a context cannot be built that would make an MCP
call record as a native one. Outside any presentation calls record as
AgentAuditEntryPoint.agent.
Implementation
T agentAuditEntering<T>(AgentAuditEntryPoint entry, T Function() body) =>
runZoned(body, zoneValues: {_entryPointKey: entry});