Commit graph

22 commits

Author SHA1 Message Date
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
Kit Langton
4814ab3a3d
fix(core): enforce V2 tool permissions (#31061) 2026-06-06 08:00:24 -04:00
Kit Langton
0bdd9aa494
fix(core): preserve model request semantics (#30990) 2026-06-05 14:23:31 -04:00
Kit Langton
beae7290f3
feat(core): compact v2 session context (#30986) 2026-06-05 13:17:23 -04:00
Kit Langton
d2204e0ff5
feat(core): honor default session models (#30982) 2026-06-05 12:10:48 -04:00
Kit Langton
3f64b5e621
feat(core): admit v2 skill guidance (#30843) 2026-06-05 11:19:55 -04:00
Kit Langton
02a5ae6585
fix(core): respect v2 default agents (#30969) 2026-06-05 10:47:31 -04:00
Dax
1ff19103a2
feat(core): add command registry (#30624) 2026-06-04 02:57:43 -04:00
Kit Langton
76ee87ead8
feat(core): add embedded v2 session runtime and tool foundation (#30632) 2026-06-03 23:02:17 -04:00
opencode-agent[bot]
a41f774cad chore: generate 2026-06-03 21:00:33 +00:00
Dax
889e0f9545
feat(core): add skill registry and file agent loading (#30617) 2026-06-03 16:58:34 -04:00
Dax
11dbd15812
refactor(core): nest model api id (#30603) 2026-06-03 14:11:38 -04:00
opencode-agent[bot]
af6383485b chore: generate 2026-06-03 17:51:22 +00:00
Dax
5900345f8c
test(core): cover v1 provider option lowering (#30599) 2026-06-03 17:49:28 +00:00
Dax
1520b0de20
refactor(core): remove ai sdk option fields (#30581) 2026-06-03 17:32:58 +00:00
opencode-agent[bot]
6003217eaa chore: generate 2026-06-03 02:43:28 +00:00
Dax
83452558f7
refactor(core): move v1 schemas into core (#30473) 2026-06-03 02:42:13 +00:00
Dax
604a5f781f
refactor(core): consolidate filesystem services (#30447) 2026-06-02 16:09:26 -04:00
Dax
9b815bcbd2
feat(core): add location-based permission service (#30287) 2026-06-02 01:32:50 +00:00
Dax
7f571d36ea
refactor(core): move database schema ownership (#29068)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-05-30 21:08:38 -04:00
opencode-agent[bot]
e4d3b81b0e chore: generate 2026-05-30 04:07:26 +00:00
Dax
9583e08be4
feat(core): add location-scoped config loading (#29625) 2026-05-30 04:06:08 +00:00