Commit Graph

378 Commits

Author SHA1 Message Date
Aiden Cline 840f332700 fix: max tokens when using models like opus with providers other than anthropic (#4307) 2025-11-13 16:39:09 -06:00
Melih Mucuk f4aab67880 Fix usage & billing for custom model aliases and cached/reasoning tokens (#4222)
Co-authored-by: Melih Mucuk <melih@monkeysteam.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-11-12 13:59:35 -06:00
Ivan f15b0aa10a fix: correct cache cost for OpenRouter and other OpenAI-compatible providers (#4256) 2025-11-12 12:41:44 -06:00
Rafał Krzyważnia 6fa0834ae5 fix: resolve @file references in slash commands with subagents (#4221) 2025-11-11 19:38:50 -06:00
Aiden Cline 6ac8c90e42 fix: allow user to configure doom loop & external dir perms (#4095) 2025-11-09 20:21:38 -06:00
Aiden Cline 56b25344f2 chore: rm comment 2025-11-09 11:50:02 -06:00
Aiden Cline 2468dad450 set cap for max time to wait between retries (#4135)
Co-authored-by: GitHub Action <action@github.com>
2025-11-09 11:46:58 -06:00
Mathias Beugnon 217253acaf feat: add input context to chat.params and chat.message (#4085) 2025-11-08 23:29:27 -06:00
Dax Raad d841231520 chore(prompt): refine polaris instructions for practical behavior 2025-11-07 21:18:49 -05:00
Dax Raad 5cb49ebfcb core: route polaris-alpha models to polaris system prompt 2025-11-07 21:07:59 -05:00
GitHub Action 9855771157 chore: format code 2025-11-08 01:59:02 +00:00
Dax Raad 9f121b398c fix(prompt): prevent title generation refusal responses 2025-11-07 20:50:15 -05:00
GitHub Action c8c99ada84 chore: format code 2025-11-07 19:47:53 +00:00
Dax Raad 41b5ce67c3 fix: update references after moving message functions to MessageV2 namespace 2025-11-07 14:47:05 -05:00
Dax Raad e1e6b9b86f message storage performance improvements 2025-11-07 01:11:47 -05:00
GitHub Action 455cb0d80c chore: format code 2025-11-06 18:21:59 +00:00
Dax Raad aaa60022b7 only display last 100 messages in TUI 2025-11-06 13:21:15 -05:00
Dax Raad ed8913324e big format 2025-11-06 13:03:12 -05:00
Dax Raad 7ae96137f1 fix sidebar modified files 2025-11-05 16:49:17 -05:00
Dax Raad d99f1f4570 performance improvements 2025-11-05 15:33:23 -05:00
Dax Raad 341e6b8c5a include file count in summary 2025-11-05 14:23:10 -05:00
Aiden Cline e104282f96 fix: image reading error, also add error toast for event bus 2025-11-04 17:30:58 -06:00
Dax Raad 643352d20e fix session performance issue from large diffs 2025-11-04 13:35:44 -05:00
Dax Raad 48ab88cd1f fix modified files being empty 2025-11-01 11:48:47 -04:00
Aiden Cline 81d7976e27 make /init a default slash command on server side (#3677) 2025-11-01 01:14:09 -05:00
Dax fd63884d0b OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
Haris Gušić ba2660ec3e fix: Opencode hangs after exit (#3481)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-10-30 23:57:58 -05:00
Filip 0c840433c8 add optional headers field to model config (#3546) 2025-10-30 23:35:26 -05:00
Haris Gušić ecc1f265ca tweak: move zod validation for tools to ensure it always runs (#3565) 2025-10-30 11:31:44 -05:00
Andrew Pashynnyk 0821602dc8 fix: preserve metadata from MCP tool results in tool.execute.after hook (#3573) 2025-10-30 11:10:42 -05:00
Aiden Cline 02fe9ea852 tweak: catch err 2025-10-30 00:29:30 -05:00
ElecTwix 8a8f6898c1 fix: add doom loop detection (#3445)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-10-30 00:13:18 -05:00
rienkim 1d0418a88c feat: add positional argument support to slash commands (#3456)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-10-29 14:54:24 -05:00
Dax Raad 573d4aa39f only generate user message summary if no diffs 2025-10-29 14:28:43 -04:00
Aiden Cline 7d7b445025 fix: ensure tool inputs are zod validated 2025-10-29 10:46:57 -05:00
Dax Raad b8cb5c20fb remove log 2025-10-29 11:27:51 -04:00
Dax Raad 7851f58079 session diff only include modified files 2025-10-29 11:26:21 -04:00
Aiden Cline 7770cde426 ignore: rm 2025-10-29 10:19:02 -05:00
Aiden Cline 945fb316bc add --title flag to opencode run (#3507) 2025-10-28 13:32:36 -05:00
Dax Raad 63a1c0c1f6 ignore 2025-10-28 14:13:47 -04:00
Danilo Favato e585b4da07 tweak: add experimental chatMaxRetries to config (#2116)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-10-28 12:09:41 -05:00
Aiden Cline 8d4391341f add catch for mcp tool execution 2025-10-28 10:23:04 -05:00
Aiden Cline 36cd83bbf6 add catch for mcp tool execution 2025-10-28 10:23:03 -05:00
Dax Raad 6c481803d1 feat: add OPENCODE_FAKE_VCS flag for VCS testing and update todo tracking instructions 2025-10-28 02:54:29 -04:00
Aiden Cline e172fa9e20 feat (acp): mcp server support, file diffs, some default slash commands (/init, /compact), show todos properly (#3490)
The mcp server support does not mean acp didn't allow u to use mcp servers previously, it means that now you can connect new servers via ACP instead of relying on the opencode defined ones
2025-10-28 00:08:30 -05:00
Aiden Cline 3cc07c17f8 chore: rm comment 2025-10-27 16:15:13 -05:00
Aiden Cline 2f3ee94954 fix: litellm error tool= param must be specified 2025-10-27 14:03:42 -05:00
Aiden Cline 7232137360 tweak: rename event 2025-10-27 10:42:47 -05:00
Bernat Pericàs 940eabd8d2 feat: add session.started event that triggers when a new session is created (#3413) 2025-10-27 07:18:23 -05:00
Aiden Cline 977339adab Revert "fix: Explicitly exit CLI to prevent hanging subprocesses (#3083)"
This reverts commit 5f0e46c51c.
2025-10-27 01:30:13 -05:00