Commit graph

13 commits

Author SHA1 Message Date
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
Sebastian
a0fc27e424
flatten to keybind compatible config (#26421) 2026-05-09 01:29:13 +02:00
Sebastian
19da27e1cb
internal which-key plugin, inactive by default (#26337) 2026-05-08 13:55:49 +02:00
Sebastian
98f5e6e713
introduce opentui keymap as sole key/cmd engine (#26053) 2026-05-07 20:35:31 +02:00
Dax
4bd5a158a5
fix: preserve prompt input across unmount/remount cycles (#22508) 2026-04-17 04:23:30 +00:00
Kit Langton
cf423d2769
fix: remove 10 unused type-only imports and declarations (#22696) 2026-04-16 02:17:59 +00:00
James Long
180ded6a27
rector(core,tui): handle workspace state in project context, add workspace status, improve ui (#21896) 2026-04-10 13:03:20 -04:00
James Long
5d48e7bd44
refactor(core): support multiple event streams in worker and remove workspaces from plugin api (#21348) 2026-04-07 13:22:34 -04:00
Sebastian
29f7dc073b
Adds TUI prompt traits, refs, and plugin slots (#20741) 2026-04-02 22:11:17 +02:00
Sebastian
14f9e21d5c
pluggable home footer (#20057) 2026-03-30 14:33:01 +02:00
Sebastian
38af99dcb4
prompt slot (#19563) 2026-03-29 00:27:27 +01:00
Sebastian
f3997d8082
Single target plugin entrypoints (#19467) 2026-03-27 23:44:46 +00:00
Sebastian
6274b0677c
tui plugins (#19347) 2026-03-27 15:00:26 +01:00