Aiden Cline
0c51feb9c2
fix: max tokens when using models like opus with providers other than anthropic ( #4307 )
2025-11-13 16:39:09 -06:00
Melih Mucuk
b63b6d04c6
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
c8bda598f5
fix: correct cache cost for OpenRouter and other OpenAI-compatible providers ( #4256 )
2025-11-12 12:41:44 -06:00
Rafał Krzyważnia
491a2adf8d
fix: resolve @file references in slash commands with subagents ( #4221 )
2025-11-11 19:38:50 -06:00
Aiden Cline
4e549b1c05
fix: allow user to configure doom loop & external dir perms ( #4095 )
2025-11-09 20:21:38 -06:00
Aiden Cline
10bde356b1
chore: rm comment
2025-11-09 11:50:02 -06:00
Aiden Cline
f7cc46cd9f
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
d85eb1b880
feat: add input context to chat.params and chat.message ( #4085 )
2025-11-08 23:29:27 -06:00
Dax Raad
062023fa06
chore(prompt): refine polaris instructions for practical behavior
2025-11-07 21:18:49 -05:00
Dax Raad
954a796b8a
core: route polaris-alpha models to polaris system prompt
2025-11-07 21:07:59 -05:00
GitHub Action
34ff87d504
chore: format code
2025-11-08 01:59:02 +00:00
Dax Raad
dabb1aa719
fix(prompt): prevent title generation refusal responses
2025-11-07 20:50:15 -05:00
GitHub Action
5f7e1e099b
chore: format code
2025-11-07 19:47:53 +00:00
Dax Raad
d462e380f4
fix: update references after moving message functions to MessageV2 namespace
2025-11-07 14:47:05 -05:00
Dax Raad
9554abb56e
message storage performance improvements
2025-11-07 01:11:47 -05:00
GitHub Action
2bcc00dbf0
chore: format code
2025-11-06 18:21:59 +00:00
Dax Raad
e45e94634f
only display last 100 messages in TUI
2025-11-06 13:21:15 -05:00
Dax Raad
1ea3a8eb9b
big format
2025-11-06 13:03:12 -05:00
Dax Raad
05ae99a09b
fix sidebar modified files
2025-11-05 16:49:17 -05:00
Dax Raad
b7262b8527
performance improvements
2025-11-05 15:33:23 -05:00
Dax Raad
1f44c7f750
include file count in summary
2025-11-05 14:23:10 -05:00
Aiden Cline
01b9148c04
fix: image reading error, also add error toast for event bus
2025-11-04 17:30:58 -06:00
Dax Raad
7a7060ef15
fix session performance issue from large diffs
2025-11-04 13:35:44 -05:00
Dax Raad
40f577e5e7
fix modified files being empty
2025-11-01 11:48:47 -04:00
Aiden Cline
041353f4ff
make /init a default slash command on server side ( #3677 )
2025-11-01 01:14:09 -05:00
Dax
96bdeb3c7b
OpenTUI is here ( #2685 )
2025-10-31 15:07:36 -04:00
Haris Gušić
c1ada302f9
fix: Opencode hangs after exit ( #3481 )
...
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-10-30 23:57:58 -05:00
Filip
51e4c9fc4c
add optional headers field to model config ( #3546 )
2025-10-30 23:35:26 -05:00
Haris Gušić
dc87659791
tweak: move zod validation for tools to ensure it always runs ( #3565 )
2025-10-30 11:31:44 -05:00
Andrew Pashynnyk
149f5eaa2e
fix: preserve metadata from MCP tool results in tool.execute.after hook ( #3573 )
2025-10-30 11:10:42 -05:00
Aiden Cline
7a2b8eae76
tweak: catch err
2025-10-30 00:29:30 -05:00
ElecTwix
d983b9485d
fix: add doom loop detection ( #3445 )
...
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-10-30 00:13:18 -05:00
rienkim
a9cae7b335
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
5553efea5e
only generate user message summary if no diffs
2025-10-29 14:28:43 -04:00
Aiden Cline
4407d5d96f
fix: ensure tool inputs are zod validated
2025-10-29 10:46:57 -05:00
Dax Raad
12782fff14
remove log
2025-10-29 11:27:51 -04:00
Dax Raad
ca463a2346
session diff only include modified files
2025-10-29 11:26:21 -04:00
Aiden Cline
7265cdf817
ignore: rm
2025-10-29 10:19:02 -05:00
Aiden Cline
37380e1f94
add --title flag to opencode run ( #3507 )
2025-10-28 13:32:36 -05:00
Dax Raad
1309ca7a81
ignore
2025-10-28 14:13:47 -04:00
Danilo Favato
b66e7b6fce
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
643c22d21f
add catch for mcp tool execution
2025-10-28 10:23:04 -05:00
Aiden Cline
74acd08ead
add catch for mcp tool execution
2025-10-28 10:23:03 -05:00
Dax Raad
22821744ef
feat: add OPENCODE_FAKE_VCS flag for VCS testing and update todo tracking instructions
2025-10-28 02:54:29 -04:00
Aiden Cline
982954cc1b
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
3c56dbcf58
chore: rm comment
2025-10-27 16:15:13 -05:00
Aiden Cline
0af4505756
fix: litellm error tool= param must be specified
2025-10-27 14:03:42 -05:00
Aiden Cline
e6301ca5d5
tweak: rename event
2025-10-27 10:42:47 -05:00
Bernat Pericàs
b562863fcc
feat: add session.started event that triggers when a new session is created ( #3413 )
2025-10-27 07:18:23 -05:00
Aiden Cline
1a6fd018f6
Revert "fix: Explicitly exit CLI to prevent hanging subprocesses ( #3083 )"
...
This reverts commit a9624c0fff .
2025-10-27 01:30:13 -05:00
Haris Gušić
a9624c0fff
fix: Explicitly exit CLI to prevent hanging subprocesses ( #3083 )
...
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-10-27 00:03:10 -05:00
Jérôme Benoit
0eb899a950
chore: cleanup versioned zod imports ( #3460 )
...
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
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-10-26 14:50:41 -05:00
Aiden Cline
0a778a2789
make title gen more reliable
2025-10-25 22:14:29 -05:00
Dax Raad
795b845782
update anthropic prompt
2025-10-25 17:26:27 -04:00
Mohammad Alhashemi
2e434a459a
feat: add noReply parameter ( #3433 )
...
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-10-25 14:56:54 -05:00
Aiden Cline
98d51dde6a
acp: slash commands, agents, permissions, @ references, code cleanup ( #3403 )
...
Co-authored-by: yetone <yetoneful@gmail.com>
2025-10-25 01:32:46 -05:00
Dax Raad
21880e199d
mroe summary tweaks
2025-10-24 12:37:23 -04:00
Dax Raad
736a85d427
track finish reason
2025-10-24 12:23:24 -04:00
Dax Raad
fb40dc6b20
generate user message title and body
2025-10-24 11:50:42 -04:00
Dax Raad
7003efd2da
fix summary
2025-10-24 09:24:58 -04:00
Dax Raad
8b9b8ca15b
update codex prompt
2025-10-23 23:36:32 -04:00
Dax Raad
cee7106054
session summaries in data
2025-10-23 16:28:20 -04:00
Dax Raad
f4dfae0bb0
ignore: diff stuff
2025-10-23 16:04:58 -04:00
Aiden Cline
913c3ae799
tweak: split out title before newline
2025-10-23 12:44:43 -05:00
Andrew Pashynnyk
3c7b229d8b
fix: allow tool.execute.after hook to modify MCP tool output ( #3381 )
2025-10-23 10:38:55 -05:00
Aiden Cline
7c7ebb0a9d
feat: retry parts ( #3369 )
2025-10-22 18:31:36 -05:00
Dax Raad
9def7cff2d
summary tweaks
2025-10-22 19:03:08 -04:00
Dax Raad
f435049d36
sync
2025-10-22 18:49:57 -04:00
Dax Raad
1f80de2fa6
core: add experimental turn summarization to compact conversation history
2025-10-22 18:33:46 -04:00
Dax Raad
28d8af48a0
add parent id to assistant messages
2025-10-22 15:01:13 -04:00
Aiden Cline
ca0f3902b7
fix: provider option transforms ( #3331 )
2025-10-21 11:08:21 -05:00
Dax Raad
e9996342a7
core: provide line-level statistics in file diffs to help users understand the scale of changes
2025-10-21 11:54:41 -04:00
zWing
96efede846
fix: openai options when using @ai-sdk/azure ( #3315 )
2025-10-20 23:30:13 -05:00
Dax Raad
a0a09f421c
core: add session diff API to show file changes between snapshots
2025-10-20 17:59:26 -04:00
Joe Schmitt
f3f21194ae
feat: Add ACP (Agent Client Protocol) support ( #2947 )
...
Co-authored-by: opencode-bot <devnull@opencode.local>
Co-authored-by: Dax Raad <d@ironbay.co>
Co-authored-by: GitHub Action <action@github.com>
2025-10-20 16:55:22 -05:00
Aiden Cline
1c7bd6365e
replace all $ARGUMENTS ( #3276 )
2025-10-18 23:37:17 -05:00
Aiden Cline
1f869bccc1
make compact interruptable ( #3251 )
2025-10-18 11:49:29 -05:00
Aiden Cline
d69366b00c
Revert "try to avoid persisting empty thinking/text blocks"
...
This reverts commit d8a15e7bc9 .
2025-10-16 22:04:55 -05:00
Dax Raad
d8a15e7bc9
try to avoid persisting empty thinking/text blocks
2025-10-16 10:54:10 -04:00
Aiden Cline
1c59530115
Revert "fix: Text content blocks must contain non-whitespace text" ( #3200 )
2025-10-15 20:02:17 -05:00
Dax Raad
790fe72f39
sync
2025-10-15 19:48:57 -04:00
Fabian Kukuck
ca534a36e5
feat: make compact feature use streaming API ( #3079 )
...
Co-authored-by: fku <fabian.kukuck@ipt.ch>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-10-15 13:44:16 -05:00
Aiden Cline
b2ff4be4c6
fix: Text content blocks must contain non-whitespace text ( #3194 )
2025-10-15 13:00:26 -05:00
Aiden Cline
b3fcc9a81d
tweak: consolidate session lock logic ( #3185 )
2025-10-15 01:12:51 -05:00
Aiden Cline
682d30bd12
fix: custom model ( #3156 )
2025-10-13 19:58:19 -05:00
Haris Gušić
dbe9fd00b7
fix: make shell more robust ( #3051 )
2025-10-13 17:37:35 -05:00
Aiden Cline
53d9717d90
fix: pass options to compact ( #3136 )
2025-10-13 10:42:39 -05:00
Aiden Cline
225adc46ba
feat: allow read tool to handle images ( #3052 )
2025-10-09 09:05:11 -05:00
Aiden Cline
cd528ae78f
fix: mcp error ( #3006 )
2025-10-07 00:45:46 -05:00
Dax Raad
10998d62b9
core: improve session API reliability with proper input validation
2025-10-06 19:37:44 -04:00
Dax Raad
cdd6e98af9
Add missing files and fix type aliases for opentui features
2025-10-06 18:53:35 -04:00
Dax Raad
9a0735de76
Add session forking functionality and simplify remove logic
2025-10-06 18:50:56 -04:00
Mani Sundararajan
889c276558
fix: file references & grep tool for windows ( #2980 )
2025-10-05 14:32:07 -05:00
Aiden Cline
71a7e8ef36
fix: max output tokens when using large thinking budget ( #2976 )
2025-10-04 23:38:41 -05: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
Dax Raad
d0043a4a78
sync
2025-09-27 02:53:20 -04:00
Aiden Cline
5d95846df1
fix: openai reasoning issue ( #2780 )
2025-09-26 01:23:30 -04:00
Aiden Cline
ffa5689885
docs: subtask config option ( #2682 )
2025-09-18 17:52:23 -05: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