v2.7.1: JSON-stringified array tolerance
JSON-stringified array tolerance
Internal input-normalization robustness for LLM callers that serialize array arguments as JSON strings.
Changed:
toArray(query-helpers) parses a[-leading string that JSON.parses to an all-string array into that array; anything else falls through to the prior scalar-wrap. Overloads keep required call sites typedstring[]. (#75)get_field_valuesfieldsandget_study_resultsnctIdsnormalize throughtoArray. (#75)
Fixed:
get_field_valuesfieldsno longer wraps a JSON-stringified array into a single bogus element that fails downstream with an opaque upstream error. (#75)
Dependency bumps:
@biomejs/biome^2.4.16 → ^2.5.0@cloudflare/workers-types4.20260611.1 → 4.20260613.1
513 tests pass; bun run devcheck clean.