* Per-provider whoami via Composio proxy. When the toolkit's response * shape differs from the generic identity columns, we read the * provider's native user-me response and project handle / displayName / * avatarUrl out. Keep this table small — only providers where the * generic Composio whoami
| 11233 | * actually need a proxy fallback. |
| 11234 | */ |
| 11235 | interface ProxyWhoamiConfig { |
| 11236 | url: string; |
| 11237 | method: "GET" | "POST"; |
| 11238 | body?: unknown; |
| 11239 | extract: (data: unknown) => Partial<ExtractedIdentity>; |
| 11240 | } |
| 11241 | |
| 11242 | function pickString(value: unknown): string | null { |
| 11243 | return trimOrNull(typeof value === "string" ? value : null); |
nothing calls this directly
no outgoing calls
no test coverage detected