Aiden Cline
fde03d3c93
fix: exit code being non zero when using run cmd ( #2523 )
2025-09-09 12:00:55 -05:00
Dax
f993541e0b
Refactor to support multiple instances inside single opencode process ( #2360 )
...
This release has a bunch of minor breaking changes if you are using opencode plugins or sdk
1. storage events have been removed (we might bring this back but had some issues)
2. concept of `app` is gone - there is a new concept called `project` and endpoints to list projects and get the current project
3. plugin receives `directory` which is cwd and `worktree` which is where the root of the project is if it's a git repo
4. the session.chat function has been renamed to session.prompt in sdk. it no longer requires model to be passed in (model is now an object)
5. every endpoint takes an optional `directory` parameter to operate as though opencode is running in that directory
2025-09-01 17:15:49 -04:00
Aiden Cline
e2df3eb44d
add --command to opencode run ( #2348 )
2025-09-01 14:19:18 -05:00
Aiden Cline
3625766ad4
tweak: ensure run command doesn't send request if no prompt present ( #2332 )
2025-08-30 10:39:28 -05:00
Timo Clasen
012a292948
fix: model flag in non interactive mode ( #2249 )
2025-08-25 15:06:54 -05:00
Aiden Cline
a2db58f125
fix: don't let --continue access subagent session ( #2091 )
2025-08-19 22:40:07 -05:00
Timo Clasen
af5f7d0887
fix: run command ( #1971 )
2025-08-15 15:58:20 -05:00
Dax Raad
6145dfcca0
fix run command to be less messy
2025-08-11 01:45:05 -04:00
Dax
c34aec060f
Merge agent and mode into one ( #1689 )
...
The concept of mode has been deprecated, there is now only the agent field in the config.
An agent can be cycled through as your primary agent with <tab> or you can spawn a subagent by @ mentioning it. if you include a description of when to use it, the primary agent will try to automatically use it
Full docs here: https://opencode.ai/docs/agents/
2025-08-07 16:32:12 -04:00
Yihui Khuu
90d2b26426
fix: run command should use specified model from cli args if provided ( #1648 )
2025-08-06 05:39:44 -05:00
Dax
d56dec4ba7
wip: optional IDs in api ( #1128 )
2025-07-18 13:42:50 -04:00
Aiden Cline
bbeb579d3a
tweak: (opencode run): adjust tool call rendering, reduce number of "Unknowns" ( #1012 )
2025-07-15 11:22:57 -05:00
Dax Raad
73d54c7068
fix type error
2025-07-13 17:25:13 -04:00
Dax
90d6c4ab41
Part data model ( #950 )
2025-07-13 17:22:11 -04:00
opencode-agent[bot]
736396fc70
Added sharing config with auto/disabled options ( #951 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: thdxr <thdxr@users.noreply.github.com >
2025-07-13 16:43:58 -04:00
Dax Raad
b00bb3c083
run: properly close session.list
2025-07-10 16:13:01 -04:00
Dax Raad
9db3ce1d0b
opencode run respects mode
2025-07-10 11:28:28 -04:00
adamdottv
5dc1920a4c
feat: mode flag in cli run command
2025-07-10 10:13:15 -05:00
Aiden Cline
8322f18e03
fix: display errors when using opencode run ... ( #751 )
2025-07-08 10:38:11 -05:00
Dax Raad
27f7e02f12
run: truncate prompt
2025-07-07 16:41:42 -04:00
Dax Raad
da909d9684
append piped stdin to prompt
2025-07-07 16:33:21 -04:00
Dax Raad
c51de945a5
Add stdin support to run command
...
Allow piping content to opencode run when no message arguments are provided, enabling standard Unix pipe patterns for better CLI integration.
🤖 Generated with [opencode](https://opencode.ai )
Co-Authored-By: opencode <noreply@opencode.ai >
2025-07-07 16:29:13 -04:00
Dax
f884766445
v2 message format and upgrade to ai sdk v5 ( #743 )
...
Co-authored-by: GitHub Action <action@github.com >
Co-authored-by: Liang-Shih Lin <liangshihlin@proton.me >
Co-authored-by: Dominik Engelhardt <dominikengelhardt@ymail.com >
Co-authored-by: Jay V <air@live.ca >
Co-authored-by: adamdottv <2363879+adamdottv@users.noreply.github.com >
2025-07-07 15:53:43 -04:00
Dax Raad
2ec0611f42
lazy load formatters
2025-06-27 11:33:37 -04:00
Dax Raad
f8b78f08b4
add auto formatting and experimental hooks feature
2025-06-26 22:17:08 -04:00
Dax Raad
4bc651f958
fix: improve JSON formatting and add piped output support for run command
...
🤖 Generated with [opencode](https://opencode.ai )
Co-Authored-By: opencode <noreply@opencode.ai >
2025-06-26 17:32:00 -04:00
Mike Wallio
db24bf87c0
Fix undefined is not an object (evaluating 'G.title') ( #395 )
2025-06-25 19:40:09 -04:00
Jay V
fa991920bc
fix help copy
2025-06-23 13:00:24 -04:00
Jay V
f5e7f079ea
Copy changes
2025-06-19 16:28:03 -04:00
adamdottv
193718034b
fix: typescript error
2025-06-19 13:57:25 -05:00
Dax Raad
ec1c9f8cd1
use production share url
2025-06-19 14:21:00 -04:00
Dax Raad
a85b0a370e
ci: share
2025-06-19 13:26:15 -04:00
Dax Raad
7d1a1663c8
allow selecting model and continuing previous session for opencode run
2025-06-19 13:00:57 -04:00
Dax Raad
26bab00dab
remove opencode_ prefixes from tool names. unfortunately this will break
...
all old sessions and share links. we'll be more backwards compatible in
the future once we're more stable.
2025-06-19 09:59:44 -04:00
Dax Raad
e5e9b3e3c0
rework config
2025-06-18 23:01:19 -04:00
Dax Raad
68e1b3c46c
Fix TypeScript compilation errors and consolidate version handling
...
🤖 Generated with [opencode](https://opencode.ai )
Co-Authored-By: opencode <noreply@opencode.ai >
2025-06-17 10:27:49 -04:00
Dax Raad
b5a4439704
Add autoshare configuration and improve run command UI
...
Enables automatic session sharing via global config or flag, enhances UI with logo display and provider/model info positioning.
🤖 Generated with [opencode](https://opencode.ai )
Co-Authored-By: opencode <noreply@opencode.ai >
2025-06-17 01:45:32 -04:00
Dax Raad
e30fba0d3c
Improve LSP server initialization with timeout handling and skip failed servers
...
🤖 Generated with [opencode](https://opencode.ai )
Co-Authored-By: opencode <noreply@opencode.ai >
2025-06-15 13:52:57 -04:00
Dax Raad
0e035b3115
fix aborting issue
2025-06-14 21:23:57 -04:00
Dax Raad
29a6603a89
Update CLI run command and session handling
...
🤖 Generated with [OpenCode](https://opencode.ai )
Co-Authored-By: OpenCode <noreply@opencode.ai >
2025-06-12 18:07:31 -04:00
Dax Raad
468cec545a
sync
2025-06-11 18:19:21 -04:00
Dax Raad
83eb61fd5f
Refactor authentication system to consolidate auth flow and remove provider-based commands
...
🤖 Generated with [OpenCode](https://opencode.ai )
Co-Authored-By: OpenCode <noreply@opencode.ai >
2025-06-11 00:21:46 -04:00
Dax Raad
5ab2ff9589
onboarding progress
2025-06-10 15:43:14 -04:00
Dax Raad
4478195ea8
file permissions for anthropic credentials
2025-06-09 17:07:52 -04:00
Dax Raad
d8510ab452
Refactor logging system to centralize initialization and remove printLogs parameter
...
🤖 Generated with [OpenCode](https://opencode.ai )
Co-Authored-By: OpenCode <noreply@opencode.ai >
2025-06-09 14:52:30 -04:00
Dax Raad
f22c93ba1b
logs
2025-06-06 23:58:09 -04:00
Dax Raad
265f427d2a
lsp progress
2025-06-05 23:42:04 -04:00
Dax Raad
8dfdd3927e
sync
2025-06-05 12:06:21 -04:00
Dax Raad
35b03e4cb3
claude oauth support
2025-06-05 11:51:06 -04:00