(value: unknown)
| 1329 | type JsonRecord = Record<string, unknown> |
| 1330 | |
| 1331 | function isPlainObject(value: unknown): value is JsonRecord { |
| 1332 | return typeof value === "object" && value !== null && !Array.isArray(value) |
| 1333 | } |
| 1334 | |
| 1335 | // Mirrors Codex's Rust JSON schema compatibility lowering for OpenAI tool schemas. |
| 1336 | function sanitizeOpenAISchema(value: unknown): unknown { |
no outgoing calls
no test coverage detected