Commit Graph

857 Commits

Author SHA1 Message Date
Dax Raad 41ce56494b core: make patch tool more reliable and consistent with other editing tools
The patch tool now works seamlessly alongside other file editing tools with improved
error handling and a more intuitive permission system. Users will experience:

- More reliable patch application with better error messages
- Consistent permission prompts that match other editing tools
- Smoother integration when applying complex multi-file changes
- Better feedback on what changes are being made before applying patches

This refactoring leverages the robust patch parsing engine while making the tool
feel native to the opencode workflow, reducing friction when making bulk changes
to your codebase.
2025-10-01 06:45:43 -04:00
Dax Raad bd69c5aca8 codex should not have reasoning effort 2025-10-01 05:06:37 -04:00
Dax Raad 6a7eeb39c3 core: prevent file deletion when reverting changes to existing files 2025-10-01 05:06:37 -04:00
Dax Raad 6e19200fca overhaul file search and support @ mentioning directories 2025-10-01 03:37:01 -04:00
Dax Raad 5a507023a6 update anthropic system prompts 2025-09-30 04:41:36 -04:00
Aiden Cline bc9ff7e99f
fix: worktree cmd (#2870) 2025-09-29 22:21:54 -05:00
Aiden Cline edeaab321a
fix: bash regex (#2858) 2025-09-29 08:51:46 -05:00
Dax Raad c148f10bbd core: improve webfetch tool content negotiation and format handling 2025-09-28 17:57:50 -04:00
Aiden Cline 89167ae387
respect model id in opencode.json (#2833) 2025-09-27 17:09:21 -05:00
Arjun Singh 8a28d34fe9
Include step-start and step-finish for cost tracking (#2810) 2025-09-27 03:45:36 -04:00
Dax Raad 4b94d98f89 ci: improve test coverage 2025-09-27 03:04:42 -04:00
Dax Raad d0043a4a78 sync 2025-09-27 02:53:20 -04:00
Timo Clasen 3d332a06b5
fix(tool): follow symlinks when looking for tools (#2809) 2025-09-26 16:01:08 -05:00
Yihui Khuu 7ecdc1b5d8
fix: config loading not considering symlinks (#2800) 2025-09-26 09:46:49 -05:00
Dax Raad 80305813f5 disable aggressive config validation 2025-09-26 07:51:53 -04:00
Dax Raad 093fbca711 core: add themes to allowed config directories 2025-09-26 06:40:41 -04:00
Dax Raad f2b547cc45 fix erroring on custom tool folder 2025-09-26 05:33:38 -04:00
Dax Raad 70310a37b3 validate config directory 2025-09-26 03:23:25 -04:00
Dax Raad eb7f4e20df core: add config update endpoint and functionality 2025-09-26 02:37:19 -04:00
Dax Raad f5c7a94abe turn reasoning summaries back on by default for zen 2025-09-26 01:37:44 -04:00
Dax Raad 7ec3900208 core: enable reasoning.encrypted_content and reasoningSummary for opencode provider\ntui: adjust editorY position calculation 2025-09-26 01:27:53 -04:00
Aiden Cline 5d95846df1
fix: openai reasoning issue (#2780) 2025-09-26 01:23:30 -04:00
Aiden Cline d47feb9969
tweak: include usage by default for openai compatible providers (#2788) 2025-09-25 21:06:58 -05:00
Adam 945de4eddc
wip: watch select .git files in watcher 2025-09-25 14:41:31 -05:00
Dax Raad d86d3e7ea1 update copilot auth 2025-09-23 23:36:27 -04:00
Siddhant Choudhary 449994f120
feat: output-format flag to stream json output (#2471)
Co-authored-by: Siddhant Choudhary <sid@treaps.com>
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-09-23 16:19:32 -05:00
Dax Raad 71b43fd02e fix codex errors 2025-09-23 16:56:40 -04:00
Dax Raad f40b91ab7a fix: remove file existence check from LSP debug and format storage code 2025-09-23 16:49:57 -04:00
Adam 80b0a93d64
wip: desktop file updates 2025-09-23 11:41:15 -05:00
Aiden Cline c23510346b
ignore: lsp debug file check (#2743) 2025-09-22 22:16:03 -05:00
Aiden Cline 02b4d1e2fc
fix: lsp extension undefined handle (#2739) 2025-09-22 21:14:55 -05:00
Aiden Cline cc2bd7141f
fix: enforce extensions requirement for custom lsp servers (#2734) 2025-09-22 11:45:47 -05:00
iwauo 6b799b304c
feat: add Java LSP server support (#2547)
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-09-21 23:55:15 -05:00
Aiden Cline 92c126d875
fix: lsp spawn logic (#2723) 2025-09-21 11:25:47 -05:00
Dax Raad 079095d7a9 core: filter models without keys in opencode provider 2025-09-21 04:43:32 -04:00
Aiden Cline 84d95a0d2a
ignore: lsp log (#2715) 2025-09-20 23:02:06 -05:00
Dax Raad 7be9dc8e49 ignore: fix 2025-09-19 06:13:45 -04:00
Dax Raad ae6154e1c3 ignore: rework bootstrap so server lazy starts it 2025-09-19 05:11:29 -04:00
Dax Raad baaff81a06 fix task tool ui disappearing once done 2025-09-19 01:09:52 -04:00
Aiden Cline ffa5689885
docs: subtask config option (#2682) 2025-09-18 17:52:23 -05:00
Dax 3b6c0ec0b3
support custom tools (#2668) 2025-09-18 03:58:21 -04:00
Julián Díaz 71076d5c68
fix: add synthetic user prompt after session compaction (#2659)
Co-authored-by: Julián Díaz <git@jdiaz.io>
2025-09-17 23:27:37 -04:00
Aiden Cline ff6a93f355
fix: only keep aborted messages if they have sufficient parts (#2651) 2025-09-17 14:24:53 -05:00
Aiden Cline 3c3d6b65c2
Revert "fix: type 'reasoning' was provided without its required follo… (#2648) 2025-09-17 11:17:26 -05:00
Aiden Cline 8c2aec43b8
fix: type 'reasoning' was provided without its required following item (#2633) 2025-09-17 09:45:13 -05:00
Aiden Cline 2564801bde
tweak: adjust title gen when using models like gpt-5-nano on non open… (#2646) 2025-09-17 08:39:34 -05:00
Dax Raad 40c206c2f9 add `opencode attach` command to connect to a remote opencode server 2025-09-17 03:30:25 -04:00
Dax Raad 259c722208 only prune messages from more than 2 turns ago 2025-09-17 03:30:09 -04:00
Dax Raad abd99aeb7d ignore: fix event type gen 2025-09-17 01:17:56 -04:00
Dax Raad d4c01f858b disable thinking for opencode zen and gpt-5 temporarily 2025-09-16 13:49:37 -04:00