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
Kit Langton
8c79c58c4d
refactor: rename workspace adapters ( #25272 )
2026-05-01 07:36:52 -04:00
opencode-agent[bot]
8b3323708d
chore: generate
2026-04-20 17:43:32 +00:00
James Murdza
3406f18746
fix(plugin): add env parameter to WorkspaceAdaptor.create type ( #23235 )
2026-04-20 13:41:38 -04:00
Dax
4bd5a158a5
fix: preserve prompt input across unmount/remount cycles ( #22508 )
2026-04-17 04:23:30 +00:00
Jason Quense
7b3bb9a761
fix: preserve plugin tool metadata in execute result ( #22827 )
...
Co-authored-by: jquense <jquense@ramp.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-16 21:38:21 -05:00
Kit Langton
cf423d2769
fix: remove 10 unused type-only imports and declarations ( #22696 )
2026-04-16 02:17:59 +00:00
Kit Langton
d6b14e2467
fix: prefix 32 unused parameters with underscore ( #22694 )
2026-04-15 21:56:23 -04:00
Aiden Cline
34e2429c49
feat: add experimental.compaction.autocontinue hook to disable auto continuing after compaction ( #22361 )
2026-04-13 20:14:53 -05:00
James Long
bf50d1c028
feat(core): expose workspace adaptors to plugins ( #21927 )
2026-04-13 13:33:13 -04:00
Kit Langton
d84cc33742
refactor(plugin): return Effect from ToolContext.ask ( #21986 )
2026-04-10 23:50:50 -04: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
Aiden Cline
40e4cd27a1
tweak: adjust chat.params hook to allow altering of the maxOutputTokens ( #21220 )
generate / generate (push) Waiting to run
nix-eval / nix-eval (push) Waiting to run
nix-hashes / compute-hash (blacksmith-4vcpu-ubuntu-2404-arm, aarch64-linux) (push) Waiting to run
nix-hashes / compute-hash (blacksmith-4vcpu-ubuntu-2404, x86_64-linux) (push) Waiting to run
nix-hashes / compute-hash (macos-15-intel, x86_64-darwin) (push) Waiting to run
nix-hashes / compute-hash (macos-latest, aarch64-darwin) (push) Waiting to run
nix-hashes / update-hashes (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404 platform_flag:--linux target:aarch64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404 platform_flag:--linux target:x86_64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-windows-2025 platform_flag:--win target:x86_64-pc-windows-msvc]) (push) Blocked by required conditions
publish / build-electron (map[host:macos-latest platform_flag:--mac --arm64 target:aarch64-apple-darwin]) (push) Blocked by required conditions
publish / build-electron (map[host:macos-latest platform_flag:--mac --x64 target:x86_64-apple-darwin]) (push) Blocked by required conditions
publish / build-electron (map[host:windows-2025 platform_flag:--win --arm64 target:aarch64-pc-windows-msvc]) (push) Blocked by required conditions
publish / version (push) Waiting to run
publish / build-cli (push) Blocked by required conditions
publish / sign-cli-windows (push) Blocked by required conditions
publish / build-tauri (map[host:blacksmith-4vcpu-ubuntu-2404 target:x86_64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-tauri (map[host:blacksmith-4vcpu-windows-2025 target:x86_64-pc-windows-msvc]) (push) Blocked by required conditions
publish / build-tauri (map[host:blacksmith-8vcpu-ubuntu-2404-arm target:aarch64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-tauri (map[host:macos-latest target:aarch64-apple-darwin]) (push) Blocked by required conditions
publish / build-tauri (map[host:macos-latest target:x86_64-apple-darwin]) (push) Blocked by required conditions
publish / build-tauri (map[host:windows-2025 target:aarch64-pc-windows-msvc]) (push) Blocked by required conditions
publish / publish (push) Blocked by required conditions
storybook / storybook build (push) Waiting to run
test / unit (linux) (push) Waiting to run
test / unit (windows) (push) Waiting to run
test / e2e (linux) (push) Waiting to run
test / e2e (windows) (push) Waiting to run
typecheck / typecheck (push) Waiting to run
docs-locale-sync / sync-locales (push) Has been cancelled
2026-04-06 18:13:30 +00:00
Sebastian
29f7dc073b
Adds TUI prompt traits, refs, and plugin slots ( #20741 )
2026-04-02 22:11:17 +02:00
Aiden Cline
1fcfb69bf7
feat: add new provider plugin hook for resolving models and sync models from github models endpoint (falls back to models.dev) ( #20533 )
2026-04-01 23:04:14 +00: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
Aiden Cline
d500a8432a
fix: ensure enterprise url is set properly during auth flow ( #19212 )
2026-03-25 23:59:53 -05:00
Aiden Cline
171e69c2fc
feat: integrate support for multi step auth flows for providers that require additional questions ( #18035 )
2026-03-18 11:36:19 -05:00
Dax
bb232247d0
Fix ESM imports for @opencode-ai/plugin ( #16916 )
2026-03-10 13:11:36 -04:00
Helge Tesdal
1aa18c6cd6
feat(plugin): pass sessionID and callID to shell.env hook input ( #13662 )
2026-02-18 14:14:18 -06:00
Spoon
1608565c80
feat(hook): add tool.definition hook for plugins to modify tool description and parameters ( #4956 )
2026-02-12 22:52:17 -06:00
Dax Raad
56ad2db020
core: expose tool arguments in shell hook for plugin visibility
2026-02-12 09:54:47 -05:00
Tyler Gannon
a30696f9bf
feat(plugin): add shell.env hook for manipulating environment in tools and shell ( #12012 )
2026-02-03 15:18:41 -06:00
adamelmore
1f9313847f
feat(core): add worktree to plugin tool context
2026-01-27 06:29:19 -06:00
adamelmore
a8c18dba82
fix(core): expose Instance.directory to custom tools
2026-01-26 20:07:47 -06:00
Aiden Cline
94dd0a8dbe
ignore: rm spoof and bump plugin version
2026-01-25 17:27:24 -05:00
Aiden Cline
c89f6e7ac6
add chat.headers hook, adjust codex and copilot plugins to use it
2026-01-21 15:10:08 -06:00
Spoon
bfd2f91d5b
feat(hook): command execute before hook ( #9267 )
2026-01-18 13:11:22 -06:00
Daniel M Brasil
73d5cacc06
fix: add missing metadata() and ask() defintions to ToolContext type ( #8269 )
2026-01-13 17:31:18 -06:00
Spoon
4752c83155
feat: pass sessionID to chat.system.transform ( #7718 )
2026-01-10 18:21:51 -06:00
Frédéric DE MATOS
1662e149b3
fix: add ChatGPT-Account-Id header for organization subscriptions ( #7603 )
2026-01-10 07:50:24 -06:00
Aiden Cline
5aa4fd0042
core: add variant to chat.message input
2026-01-04 00:28:52 -06:00
Eduardo Santos de Brito
4657fa823f
feat(plugin): expose server URL to plugins ( #6373 )
2025-12-29 21:05:08 -06:00
Joel Hooks
eab177f5e7
feat(plugin): allow compaction hook to replace prompt entirely ( #5907 )
2025-12-22 22:19:14 -06:00
Joel Hooks
24430287c5
feat(plugin): add experimental.session.compacting hook for pre-compaction context injection ( #5698 )
...
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-12-17 13:57:09 -06:00
Aiden Cline
81134cf61e
add ability to set topK
2025-12-15 14:34:56 -06:00
DS
b021b26e77
feat: restore experimental.chat.messages.transform and add experimental.chat.system.transform hooks ( #5542 )
2025-12-14 22:51:11 -06:00
Jorgen Henriksen
2a9269c347
add experimental.chat.messages.transform hook ( #5207 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-11 14:38:45 -06:00
franlol
81ee8541ab
feat: add experimental.text.complete plugin hook ( #4962 )
2025-12-07 19:44:04 -06:00
Ben Vargas
6c25e64658
fix: correct Provider type in chat.params plugin hook ( #5003 )
2025-12-02 22:50:21 -06:00
Dax
23ea8ba1ce
Tui onboarding ( #4569 )
...
Co-authored-by: GitHub Action <action@github.com>
2025-11-21 00:21:06 -05:00
Mathias Beugnon
d9ffe07391
fix: messageID type in chat.message ( #4128 )
...
Co-authored-by: GitHub Action <action@github.com>
2025-11-09 09:39:50 -06:00
Mathias Beugnon
d85eb1b880
feat: add input context to chat.params and chat.message ( #4085 )
2025-11-08 23:29:27 -06:00