Skip to content

v1.108.67 - demote the language enum under compact_schemas

Choose a tag to compare

@jgravelle jgravelle released this 21 Jun 20:33

Demote the language enum under compact_schemas

The language filter's enum is the full language registry (~76 values, ~200 tokens of mechanical names an agent already knows). Under compact_schemas it's now demoted to a plain string filter, while the full (non-compact) surface keeps the enum.

  • Capability preserved. The parameter stays fully usable - the tool accepts any language string; an unknown one simply matches nothing.
  • Token win. Brings core_compact back under the 4,000-token success criterion (4,162 -> 3,956) after recent releases pushed it over, and also trims standard_compact.
  • Generalized by parameter name via _COMPACT_DEMOTE_ENUM_PARAMS, so every tool exposing a language enum benefits. Baseline refreshed to honest live counts; a new test pins the behavior (enum gone under compact, present in full).