Breaking: bioactivity totalFound → totalCount, potency-ranked preview
chembl_get_bioactivities standardizes its count field and leads the default preview with potent measurements; chembl_dataframe_query returns integer aggregates as numbers.
Changed:
- chembl_get_bioactivities output renames totalFound to totalCount (same value — the full upstream match count); canvasDisabled promoted from the enrichment trailer into the output schema (#1)
- Default preview ranked by potency — pchembl_value__isnull=false excludes null-pchembl rows that ChEMBL sorts first under -pchembl_value; totalCount stays the honest full count via a separate countActivities call (#3)
Fixed:
- chembl_dataframe_query returns BIGINT aggregates (COUNT, SUM, activity_id) as numbers when within the safe-integer range, not JSON strings; VARCHAR columns and out-of-range integers preserved (#2)
- canvas-disabled preview text no longer claims capped rows are the full set (#4)
BREAKING CHANGE: result.totalFound is removed — read result.totalCount.
109 tests pass; bun run devcheck clean.