opencode/packages
Aiden Cline f7dcfc2680 feat: drive reasoning variants from models.dev reasoning_options
Parse the curated reasoning_options field from models.dev api.json and use
its effort values to generate reasoning variants instead of the hardcoded
per-package tables, in both the v1 provider catalog and the v2 catalog plugin.

- core: ModelsDev.ReasoningOption discriminated union (toggle | effort |
  budget_tokens); effort values stay open strings and unknown option types
  are tolerated since api.json is cast, not decoded
- core: ReasoningVariants shared per-package effort encoder used by v1
  ProviderTransform.variants and the v2 ModelsDevPlugin
- core: v2 catalog generates effort variants from reasoning_options;
  curated experimental modes win id collisions; anthropic profile gains
  the effort semantic
- llm: anthropic protocol supports adaptive thinking, lowers effort to
  output_config.effort, and sends the effort-2025-11-24 beta header
- opencode: resolved Provider.Model carries capabilities.reasoningOptions
  (unknown types and null effort values dropped at the mapping boundary);
  config models accept reasoning_options; models without usable effort
  data fall back to the hardcoded tables unchanged

Catalog-wide audit vs live api.json: 2975 models byte-identical, 38 diffs,
all data correcting stale hardcoded effort lists.
2026-06-09 17:21:11 -05:00
..
app refactor(core): simplify location filesystem (#31545) 2026-06-09 14:28:45 -04:00
cli refactor(tui): extract standalone package (#31193) 2026-06-07 05:24:27 +00:00
console fix(stats): use data branding assets 2026-06-09 11:34:38 -05:00
containers chore: Upgrade Bun to the final non-rust version (#27648) 2026-05-18 09:24:26 +10:00
core feat: drive reasoning variants from models.dev reasoning_options 2026-06-09 17:21:11 -05:00
desktop refactor(core): replace legacy logger with Effect logging (#31310) 2026-06-08 15:41:56 -04:00
docs
effect-drizzle-sqlite refactor(tui): centralize application exit (#31524) 2026-06-09 11:46:02 -04:00
effect-sqlite-node sync release versions for v1.16.2 2026-06-05 15:58:48 +00:00
enterprise sync release versions for v1.16.2 2026-06-05 15:58:48 +00:00
function sync release versions for v1.16.2 2026-06-05 15:58:48 +00:00
http-recorder refactor(tui): centralize application exit (#31524) 2026-06-09 11:46:02 -04:00
identity
llm feat: drive reasoning variants from models.dev reasoning_options 2026-06-09 17:21:11 -05:00
opencode feat: drive reasoning variants from models.dev reasoning_options 2026-06-09 17:21:11 -05:00
plugin chore: upgrade OpenTUI to v0.3.4 (#31326) 2026-06-08 17:00:19 +02:00
script
sdk feat: drive reasoning variants from models.dev reasoning_options 2026-06-09 17:21:11 -05:00
server refactor(core): simplify location filesystem (#31545) 2026-06-09 14:28:45 -04:00
slack sync release versions for v1.16.2 2026-06-05 15:58:48 +00:00
stats fix(data): timestamp formatting 2026-06-09 12:19:05 -05:00
storybook chore(http-recorder): disable release automation (#31160) 2026-06-06 20:10:28 -04:00
tui chore: generate 2026-06-09 18:30:51 +00:00
ui refactor(tui): centralize application exit (#31524) 2026-06-09 11:46:02 -04:00
web zen: add claude fable 5 2026-06-09 15:32:14 -04:00