(explicit?: string)
| 79 | // resolveAddress picks the explicit per-call address, falling back to |
| 80 | // the pinned default. Throws a directive error when neither resolves. |
| 81 | private resolveAddress(explicit?: string): string { |
| 82 | const addr = explicit || this.agentEmail; |
| 83 | if (!addr) { |
| 84 | throw new Error( |
| 85 | "email is required — pass it explicitly, or connect with an agent-scoped credential (which resolves the agent for you). Run list_agents to see your agents.", |
| 86 | ); |
| 87 | } |
| 88 | return addr; |
| 89 | } |
| 90 | |
| 91 | // ── Account / identity ────────────────────────────────────────── |
| 92 |
no outgoing calls
no test coverage detected