fix: handle all endpoint types in API response extraction
Add fallback chain for connection string extraction: direct → pooled →
accelerate → deprecated connectionString field. Ensures the command
works regardless of which endpoint type the Management API returns.
fix(adapter-pg): properly serialize string values for JSON fields
Fixes prisma/prisma#29330
When writing plain string values to JSON fields in PostgreSQL, the adapter was passing the string directly to node-postgres without JSON.stringify. PostgreSQL expects valid JSON, so plain strings would fail with invalid input syntax for type json.
The fix ensures string values for JSON fields are properly serialized using JSON.stringify before being passed to the postgres driver.
fix(client): avoid extension stack overflows in getExtensionContext
Add an e2e regression fixture for issue #27059 based on the public reproduction. The fix relaxes the Exact-based argument comparison for model operations exposed through extension contexts, which prevents TypeScript from recursing through large generated arg trees while preserving invalid argument checks in the repro fixture.