opencode/packages
Developer 47d6fc7382 fix: preserve full OpenCode provider cost shape in auth.loader
The normalizeProviderModelCosts function was only setting { input: 0, output: 0 }
which doesn't match the full OpenCode provider cost shape that includes cache fields.

This fix:
- Preserves existing cost fields (input, output, cache.read, cache.write) if valid
- Adds missing cache: { read: 0, write: 0 } structure when not present
- Validates provider and model objects before modification to avoid poisoning
  invalid provider metadata
- Updates ProviderModel type to include optional cache field

Fixes provider cost normalization to maintain cache field compatibility.
2026-05-09 15:28:13 -04:00
..
app sync release versions for v1.14.43 2026-05-09 18:06:16 +00:00
console sync release versions for v1.14.43 2026-05-09 18:06:16 +00:00
containers chore: bump Bun to 1.3.13 (#23791) 2026-04-23 00:25:36 -04:00
core sync release versions for v1.14.43 2026-05-09 18:06:16 +00:00
desktop sync release versions for v1.14.43 2026-05-09 18:06:16 +00:00
docs
enterprise sync release versions for v1.14.43 2026-05-09 18:06:16 +00:00
extensions/zed sync release versions for v1.14.43 2026-05-09 18:06:16 +00:00
function sync release versions for v1.14.43 2026-05-09 18:06:16 +00:00
http-recorder sync release versions for v1.14.43 2026-05-09 18:06:16 +00:00
identity
llm sync release versions for v1.14.43 2026-05-09 18:06:16 +00:00
opencode fix: preserve full OpenCode provider cost shape in auth.loader 2026-05-09 15:28:13 -04:00
plugin fix: preserve full OpenCode provider cost shape in auth.loader 2026-05-09 15:28:13 -04:00
script refactor: replace bun semver with npm semver package 2026-03-09 15:29:55 -04:00
sdk sync release versions for v1.14.43 2026-05-09 18:06:16 +00:00
slack sync release versions for v1.14.43 2026-05-09 18:06:16 +00:00
storybook feat(prompt): add shell mode UI with cancel button, custom icon, and example placeholder (#24105) 2026-04-24 14:04:55 +08:00
ui sync release versions for v1.14.43 2026-05-09 18:06:16 +00:00
web sync release versions for v1.14.43 2026-05-09 18:06:16 +00:00