| summary | Catch invalid-field-name errors in search_studies with a piece-vs-module hint and pointer to get_field_definitions |
|---|---|
| breaking | false |
clinicaltrials_search_studies— 400 responses matching the upstream "contains invalid field name" pattern are now caught in the service layer and rethrown as a validation error with a module-vs-piece hint and a pointer toclinicaltrials_get_field_definitions. Parses the offending field from the upstream body when present so the error calls it out by name. Resolves a UX paper cut where callers (LLMs especially) would pass module names likeStudyDesignand get only the terse upstream message back. Closes #17.clinicaltrials_get_field_values— Invalid-field-name guidance now also referencesclinicaltrials_get_field_definitionsfor consistency withsearch_studies.clinicaltrials_search_studiesfieldsdescription — Tightened schema description with explicit piece-vs-module contrast (DesignPrimaryPurposevsStudyDesign) and a pointer toclinicaltrials_get_field_definitions.
- Upgraded
@cyanheads/mcp-ts-corefrom^0.3.5to^0.4.1. - Upgraded
@biomejs/biometo^2.4.12,@cloudflare/workers-typesto^4.20260420.1,diffto^9.0.0,typescriptto^6.0.3,viteto^8.0.9. - Unpinned
@types/validator(13.15.10→^13.15.10) andvite(8.0.9→^8.0.9) so futurebun updatecan track them. Noresolutions/overridesin the project. bun audit: 0 vulnerabilities (priorhonomoderate advisory resolved transitively).
- Synced
add-tool(1.3 → 1.4) anddesign-mcp-server(2.2 → 2.3) skills from framework.