Commit Graph

2446 Commits

Author SHA1 Message Date
Aiden Cline 9427f56e1a rm interleaved thinking filter for certain kimi k2 thinking model providers that were bugged 2025-12-18 12:26:27 -06:00
Matt Silverlock 8b298a233e
github: add OIDC_BASE_URL for custom GitHub App installs (#5756) 2025-12-18 11:31:13 -06:00
Adam 268f37f8c9
fix(desktop): prompt history nav, optimistic prompt dup 2025-12-18 11:16:33 -06:00
GitHub Action 5cf8e54372 chore: format code 2025-12-18 16:39:21 +00:00
Ariane Emory 7437ccd6f4
feat(tui): fork slash command for keyboard-friendly session forking (resolves #5599) (#5610)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-18 10:38:19 -06:00
Jeon Suyeol 4bf882ba81
fix(command): validate model before executing slash command (#5740) 2025-12-18 10:35:40 -06:00
Frank d5dcc55a47 Revert "add client header"
This reverts commit 2fb89161c8.
2025-12-18 11:21:22 -05:00
Daniel Polito 1fc5836f64
Improve Github Action Hallucinations (#5751) 2025-12-18 09:40:04 -06:00
Frank 2fb89161c8 add client header 2025-12-18 10:33:25 -05:00
opencode 194ff4919c release: v1.0.167 2025-12-18 09:45:33 +00:00
shuv 83843a794f
fix: handle empty directory query parameter in server middleware (#5732) 2025-12-18 03:27:50 -06:00
Jake Nelson e789fcf5e5
feat(tui): add option to disable terminal title (#5713) 2025-12-17 22:30:01 -06:00
Rohan Mukherjee 7427b887f9
MCP improvements (#5699) 2025-12-17 20:49:45 -06:00
opencode e682cc9daf release: v1.0.166 2025-12-17 22:08:15 +00:00
Sercan Sagman a1b68daa9a
fix(tui): exclude reverted assistant reply when copying last message (#5705)
Signed-off-by: assagman <ahmetsercansagman@gmail.com>
2025-12-17 16:03:06 -06:00
opencode ca65da2d9e release: v1.0.165 2025-12-17 21:46:21 +00:00
Aiden Cline dbdea2f659 fix: better error messages 2025-12-17 15:32:44 -06:00
Aiden Cline a50ab4b5b5 fix: prevent 1 from showing when preparing write 2025-12-17 15:25:04 -06:00
Nalin Singh 4d7c3f56fa
feat: add viewportOptions to scrollbox for padding adjustments to avoid scrollbar overlap (#5703) 2025-12-17 15:09:41 -06:00
Spoon 16b41d2bea
UI: show plugins in /status (#4515)
Co-authored-by: GitHub Action <action@github.com>
2025-12-17 15:01:52 -06:00
Nalin Singh a8c499ae8f
fix: prevent session list selection from jumping to active session when confirming delete (#5666) 2025-12-17 14:35:46 -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
Ravi Kumar 69e562125d
fix(tui): resolve session_status TypeError (#5520) 2025-12-17 11:38:05 -06:00
Aiden Cline b5e97eb338 fix: keep session dialog open if deleting session 2025-12-17 11:29:55 -06:00
Aiden Cline 16e6941495 fix: remove needless tui event publish on session delete 2025-12-17 11:29:55 -06:00
Qio 1e4bfbcf6f
add OPENCODE_EXPERIMENTAL_OUTPUT_TOKEN_MAX to override 32k default (#5679)
Co-authored-by: qio <handsomehust@gmail.com>
2025-12-17 10:35:43 -06:00
Paolo Ricciuti 57c3cf1f8b
fix: send `mcpName` as state if authUrl doesn't have `state` (#5681) 2025-12-17 10:26:23 -06:00
Aiden Cline f9d0850c5e test: add regression test for setCacheKey option 2025-12-17 10:24:53 -06:00
Spoon 8864da7a77
batch: enable edit, todoread, clarify error message, minor tool description change (#5659) 2025-12-17 10:23:35 -06:00
Rhys Sullivan 1b39199083
fix: change subagent navigation order to newest-to-oldest (#5680) 2025-12-17 10:22:57 -06:00
Shantur Rathore b8204c0bb7
fix: config option setCacheKey not being respected (#5686) 2025-12-17 10:20:10 -06:00
Rohan Mukherjee 99548554d7
feat: added lucent-orng theme (#5678)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-12-17 09:10:35 -06:00
Sachnun 751899eeec
fix: remove unsupported parameter from bash tool description (#5676) 2025-12-17 08:59:42 -06:00
GitHub Action 34ef5f4ece chore: format code 2025-12-17 08:40:22 +00:00
Sebastian Herrlinger 73ad20b90c upgrade opentui to v0.1.61 2025-12-17 09:38:04 +01:00
Jeon Suyeol 340e80257a
Add availability to disable terminal title using OPENCODE_DISABLE_TERMINAL_TITLE env (#5661) 2025-12-16 23:57:03 -06:00
Spoon b8a8fb0de6
plugin(hook): add task tool execution hooks and command context tracking (#5642) 2025-12-16 19:28:09 -06:00
Matt Silverlock c137babea3
github: add configurable mentions input (#5655) 2025-12-16 19:14:50 -06:00
opencode ef0fa2007b release: v1.0.164 2025-12-16 21:47:41 +00:00
Aiden Cline 5f57cee8e4
fix: user invoked subtasks causing tool_use or missing thinking signa… (#5650) 2025-12-16 15:42:21 -06:00
matvey 1aee8b49e1
feat: add experimental oxfmt formatter (#5620) 2025-12-16 14:43:14 -06:00
Aiden Cline 7e3ad770ac fix: git branch filewatcher, add flag to completely disable watcher 2025-12-16 14:31:09 -06:00
Dax Raad bbd36e8441 core: update plugin dependency and config loading for .opencode directory support 2025-12-16 15:06:50 -05:00
Dax Raad 4e2d1acf7d core: fix Tauri desktop app SSE connection timeout
- Add heartbeat events to /global/event and /event SSE endpoints
- Send server.heartbeat event every 30s to prevent WKWebView 60s timeout
- Fixes desktop app disconnecting from global events after 1 minute
2025-12-16 14:45:03 -05:00
Dax Raad 83bcb9e95b tui: fix autocomplete file loading and update dependencies 2025-12-16 13:37:22 -05:00
Fran Zekan c2944024a8
fix: enable shell alias expansion in ! command (#5621) 2025-12-16 11:32:31 -06:00
Aiden Cline 3ac42e9632 fix: github install cmd if repo has . in it 2025-12-16 11:19:18 -06:00
Tommy D. Rossi 11b3927dc2
fix: use system prompt field from prompt input (#5633)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-16 10:52:22 -06:00
Brendan Allan 452c991f58
Keep release a draft until all builds are finished (#5632)
Co-authored-by: opencode <opencode@sst.dev>
Co-authored-by: GitHub Action <action@github.com>
2025-12-16 23:34:44 +08:00
Simon D'Morias be8116e2ea
fix: preserve argument boundaries in run command (#4979) 2025-12-16 06:21:51 -06:00
Aiden Cline ae3990a557 chore: centralize dep to catalog & fix typos 2025-12-15 23:07:55 -06:00
Dax Raad e2fbd098d2 tui: fix dialog select items taking up 2 lines when truncated
Prevents text wrapping in dialog select options by removing wrapMode,
ensuring truncated text stays on single line and maintains proper timestamp visibility
2025-12-15 22:57:52 -05:00
Luke Parker ef78fd8bae
fix: debounce LSP diagnostics to get complete results (#5600) 2025-12-15 21:26:59 -06:00
DS 72ebaeb8f7 fix: rejoin system prompt if experimental plugin hook triggers to preserve caching (#5550)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-15 20:00:26 -06:00
opencode 92fe927785 release: v1.0.162 2025-12-16 00:40:27 +00:00
Dax Raad 38c5f23f4a tui: update dialog context and server to use new single dialog system 2025-12-15 19:35:19 -05:00
opencode 0dce5173cc release: v1.0.161 2025-12-16 00:17:15 +00:00
Luke Parker 27e826eba6
fix(win32): Normalise LSP paths on windows (fixes lua) (#5597) 2025-12-15 18:01:03 -06:00
Aiden Cline 89a4f1c1ae tweak: add .catch for extractZip calls 2025-12-15 17:41:28 -06:00
Luke Parker 0d1c6e0ca9
fix(win32): Missing LSP can now unzip on windows (#5594) 2025-12-15 17:29:30 -06:00
opencode 002db3abf4 release: v1.0.160 2025-12-15 23:26:00 +00:00
Luke Parker efac8cebb3
fix(win32): correct ElixirLS extension typo (#5590) 2025-12-15 16:47:27 -06:00
Luke Parker 48b2bde6e5
fix(win32): use path.delimiter for PATH separator in LSP server lookups (#5589) 2025-12-15 16:39:42 -06:00
opencode 88314148e6 release: v1.0.159 2025-12-15 22:19:08 +00:00
Luke Parker f3e64cfb19
fix(windows): opencode github install (#5587) 2025-12-15 16:12:54 -06:00
Ariane Emory 8fcc80bc20
fix: restore ability to bind keys for model_cycle_favorite model_cycle_favorite_reverse (resolves #5198) (#5202) 2025-12-15 16:03:50 -06:00
Aiden Cline ca599ab8fc tweak: add model flag support for agent create command 2025-12-15 14:55:59 -06:00
Ariane Emory 6632987827
fix: record shell mode in history (resolves #5454) (#5551) 2025-12-15 14:42:17 -06:00
Aiden Cline 81134cf61e add ability to set topK 2025-12-15 14:34:56 -06:00
opencode 37e4c1e619 release: v1.0.158 2025-12-15 20:28:44 +00:00
justfortheloveof 7abc2a947e
tweak: prioritize fuzzysort results that start with user input (#5571) 2025-12-15 14:22:37 -06:00
Dax Raad d5a506d4ae core: fix server response handling to prevent connection timeouts 2025-12-15 15:07:20 -05:00
opencode 9c5f94bd66 release: v1.0.157 2025-12-15 19:46:23 +00:00
Dax Raad 7d1733c752 core: fix message caching for Anthropic models to improve response consistency 2025-12-15 14:33:14 -05:00
opencode cf05e6e02b release: v1.0.156 2025-12-15 19:28:02 +00:00
Adam c4f63824df
fix: terminal in desktop 2025-12-15 13:09:13 -06:00
Adam b7a9cbfc68
fix: share page 2025-12-15 10:56:07 -06:00
Nalin Singh 6830590183
feat: add F# language server support (#5549) 2025-12-15 10:52:16 -06:00
opencode b9b4349039 release: v1.0.155 2025-12-15 16:44:08 +00:00
opencode 56dde2cc83 release: v1.0.154 2025-12-15 16:01:15 +00:00
Dax Raad b0f77da56c core: reorganize agent configuration to separate primary agents (build, plan) from subagents 2025-12-15 09:58:23 -05:00
René 9eefcd1b41
Provider fix, anthropic Errorhandling if empty image file is read (#5521) 2025-12-14 23:56:47 -06:00
Nalin Singh 7c1124199e
fix: input lip visibility for transparent themes (#5544) 2025-12-14 23:10:33 -06:00
Spoon 5cf126d489
fix(edit): add per-file lock to prevent read-before-write race (#4388) 2025-12-14 23:01:50 -06:00
Aiden Cline 509f7d9617 ignore: fix debug var in last commit 2025-12-14 22:59:30 -06:00
opencode-agent[bot] ae1bf92c81
Add dismiss button to Getting Started box (#5543)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-12-14 22:58:26 -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
Ravi Kumar 54569b5552
fix(session): fix unshare command not clearing share state (#5523) 2025-12-14 22:05:06 -06:00
Adam 79a4c65313
fix: test 2025-12-14 21:42:17 -06:00
Adam 4a8e8f537c
wip(desktop): progress 2025-12-14 21:38:58 -06:00
Mark Jaquith ed33d82535
feat(cli): auto-submit prompt when using --prompt flag (#4510) 2025-12-14 21:06:04 -06:00
Dax Raad e22af25076 ci: fix test failures in CI by pre-populating models cache
Tests were failing in CI because the models.json cache file doesn't exist
and the data() macro fallback only works at build time, not runtime.
The preload now pre-fetches models.json and disables the background
refresh to prevent race conditions during test execution.
2025-12-14 21:23:45 -05:00
Dax fed4776451
LLM cleanup (#5462)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2025-12-14 21:11:30 -05:00
Ravi Kumar fdf560c343
fix(tui): --continue selects wrong session (#5513) 2025-12-14 19:50:54 -06:00
Martijn Baay 7368342bab
feat: add experimental.continue_loop_on_deny config option (#4729)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-12-14 17:13:32 -06:00
opencode a34e67b518 release: v1.0.153 2025-12-14 19:04:01 +00:00
Aiden Cline 0c7f0cfa2e tweak: fallback to provider default for temperature 2025-12-14 11:57:12 -06:00
GitHub Action 10ee6d345b chore: format code 2025-12-14 17:48:34 +00:00
Nalin Singh 48ec68730f
fix: ensure input borders are drawn in transparent themes (#5524) 2025-12-14 11:48:02 -06:00
GitHub Action 70e4efe429 chore: format code 2025-12-14 17:46:46 +00:00
Sellers Crisp 92948ed8a4
feat: add server_error, rate_limit, and no_kv_space retry logic to accommodate Foundry API issues (#5527)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2025-12-14 11:46:14 -06:00
Lawrence Sarpong e6a0a005d6
Add Gleam LSP and formatter (#5514) 2025-12-14 10:51:08 -06:00
Aiden Cline f8bca50f00 rm unnecessary code 2025-12-13 23:45:15 -06:00
Aiden Cline 3d2ef28fa8 add topK function to transform, add temp defaults for glm and minimax 2025-12-13 23:27:11 -06:00
Sachnun d8ac35f6e5
fix(tui): open parent session instead of subagent on continue flag (#5503) 2025-12-13 21:09:42 -06:00
Tommy D. Rossi aedb5550a8
fix: limit LSP diagnostics to prevent context window waste (#5480)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2025-12-13 19:56:26 -06:00
Aiden Cline d4cfbd8219 chore: reduce duplication of field in transform 2025-12-13 18:07:22 -06:00
Felipe Oduardo Sierra f254cf76d9
add ARM64 Docker image support (#5483) 2025-12-13 13:01:59 -06:00
Aiden Cline 7bf6f264e4 bump bun version & set flags this time 2025-12-13 13:00:03 -06:00
GitHub Action 199bd8a9a2 chore: format code 2025-12-13 17:30:48 +00:00
rari404 decf2452c4
feat: add dockerfile language server (#5252)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2025-12-13 11:30:15 -06:00
rari404 8917a4c609
feat: add texlab language server and latexindent formatter (#5251) 2025-12-12 23:50:09 -06:00
Matt Silverlock 613e082358
github: support GITHUB_TOKEN + skip OIDC (#5459) 2025-12-12 19:55:46 -06:00
Charles Cooper b6856bd593
fix: add --session flag to attach command (#5460)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2025-12-12 19:45:28 -06:00
David Hill 7cb5a77ba6 fix: mute the project path in the sidebar that proceeds the final directory 2025-12-12 23:45:39 +00:00
David Hill dbc84ff4c3 Merge branch 'dev' of https://github.com/sst/opencode into dev 2025-12-12 22:50:50 +00:00
David Hill c11ea3fd92 fix: mute the whole prompt area when leader key is active 2025-12-12 22:50:48 +00:00
Aiden Cline b93614cb81 docs: add env vars sections 2025-12-12 16:47:50 -06:00
opencode b84d513bd7 release: v1.0.152 2025-12-12 22:29:21 +00:00
Aiden Cline 15caecdb45
shell tweaks, better handling for windows (#5455)
Co-authored-by: GitHub Action <action@github.com>
2025-12-12 16:11:07 -06:00
Sebastian Herrlinger 43202f2820 only exit app when prompt is empty, otherwise fallthrough, fix #5457 2025-12-12 22:45:28 +01:00
Dan Brown 6e9833acce
Shell: No -l in fallback, for max compatibility (#5452) 2025-12-12 15:43:35 -06:00
opencode 379c4ecab3 release: v1.0.151 2025-12-12 21:34:32 +00:00
Dax Raad 651a10d6db only gen summary if diffs 2025-12-12 16:24:26 -05:00
Aiden Cline f9674793af tweak: 5.1 -> 5. in transform 2025-12-12 15:17:11 -06:00
Aiden Cline 909013320b tweak: 5.1 -> 5. reasoning effort match 2025-12-12 13:21:57 -06:00
Luke Parker 2e417c4d8c
fix: osascript for clipboard typo (#5430) 2025-12-12 11:37:43 -06:00
xu0o0 9017d10303
acp: fix internal error on `/compact` (#5424) 2025-12-12 10:43:18 -06:00
David Hill 99158e736b Merge branch 'dev' of https://github.com/sst/opencode into dev 2025-12-12 09:44:06 +00:00
David Hill b803a9732d fix: make the logo on the home screen non-selectable 2025-12-12 09:43:41 +00:00
Viktor Forsman 7ec48dfd15
fix: debug lsp diagnostics cmd for certain lsps (#5420) 2025-12-11 23:20:38 -06:00
Rhys Sullivan 11efda3f5c
[feat]: show indicator for in progress chats in the sessions list (#5417) 2025-12-11 21:57:03 -05:00
Sachnun a5cb4e41f5
fix(tui): restore input on timeline revert and show newest first (#5366) 2025-12-11 20:07:31 -06:00
Sachnun 237c0253c2
fix(server): make time field optional in session update validator (#5372) 2025-12-11 20:06:15 -06:00
xu0o0 a9f27371cf
acp: replay conversation history in session/load (#5385) 2025-12-11 20:02:06 -06:00
opencode-agent[bot] 9c126c5b64
Removed cache mention from webfetch prompt. (#5412)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-12-11 19:53:39 -06:00
Koichi Nakayamada 1fd005838c
fix(tui): ensure fatal error UI is readable in light mode (#5387) 2025-12-11 16:39:27 -06:00
Koichi Nakayamada 61ba844234
fix: add fg color to some TUI text elements for light mode visibility (#5378) 2025-12-11 16:29:34 -06:00
Adán ffec52a17c
fix: Windows LSP URIs using backslashes (Biome initialization failure) (#5317) 2025-12-11 16:28:39 -06:00
Aiden Cline 342595e0f7 tweak: setting chat_template_args in transform 2025-12-11 16:22:10 -06:00
Aiden Cline b41051b4ee tweak(tui): better error msg rendering 2025-12-11 16:22:10 -06:00
Dax Raad 0400024d02 core: fix missing Flag import in session prompt 2025-12-11 16:18:04 -05:00
Dax Raad d4dc142cc2 core: add client identification to user agent and request headers for better tracking 2025-12-11 16:18:04 -05:00
Aiden Cline 4e92f54415 tweak: bash tool, try to prevent the cd spam 2025-12-11 14:58:46 -06:00
Aiden Cline 4f5abe387d tweak: bash tool deny msg 2025-12-11 14:46:58 -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
opencode 5ffcde9dba release: v1.0.150 2025-12-11 20:09:20 +00:00
Aiden Cline 5b21334fdd fix 2025-12-11 13:55:08 -06:00
Shantur Rathore 755a79cd8e
fix: Writing to Bun.stderr causes CPU pinning to 100%. (#5396) 2025-12-11 13:47:59 -06:00
Sebastian Herrlinger 80e04be84f fix super modifier parsing 2025-12-11 19:20:23 +01:00