Tommy D. Rossi
7ebbcbec17
log bash output when using opencode run ( #2595 )
2025-09-14 09:03:40 -05:00
Dax
7d8d63faff
Session management and prompt handling improvements ( #2577 )
...
Co-authored-by: GitHub Action <action@github.com >
2025-09-13 05:46:14 -04:00
Aiden Cline
ddb9d6626c
fix: exit code being non zero when using run cmd ( #2523 )
2025-09-09 12:00:55 -05:00
Dax
aea78046d0
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
cb5bf46f18
add --command to opencode run ( #2348 )
2025-09-01 14:19:18 -05:00
Aiden Cline
4b2c8c1528
tweak: ensure run command doesn't send request if no prompt present ( #2332 )
2025-08-30 10:39:28 -05:00
Timo Clasen
e18b2dc58e
fix: model flag in non interactive mode ( #2249 )
2025-08-25 15:06:54 -05:00
Aiden Cline
3c1e9c3498
fix: don't let --continue access subagent session ( #2091 )
2025-08-19 22:40:07 -05:00
Timo Clasen
bbb9eb80b4
fix: run command ( #1971 )
2025-08-15 15:58:20 -05:00
Dax Raad
fce733492d
fix run command to be less messy
2025-08-11 01:45:05 -04:00
Dax
77c101d742
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
7ba89b3d85
fix: run command should use specified model from cli args if provided ( #1648 )
2025-08-06 05:39:44 -05:00
Dax
d8dd1f2929
wip: optional IDs in api ( #1128 )
publish / publish (push) Has been cancelled
2025-07-18 13:42:50 -04:00
Aiden Cline
5cd944b7a8
tweak: (opencode run): adjust tool call rendering, reduce number of "Unknowns" ( #1012 )
2025-07-15 11:22:57 -05:00
Dax Raad
61665b6565
fix type error
2025-07-13 17:25:13 -04:00
Dax
4c802ae916
Part data model ( #950 )
2025-07-13 17:22:11 -04:00
opencode-agent[bot]
c69f6fe76f
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
0479cab022
run: properly close session.list
2025-07-10 16:13:01 -04:00
Dax Raad
42d9f342e6
opencode run respects mode
2025-07-10 11:28:28 -04:00
adamdottv
cd785e4adc
feat: mode flag in cli run command
2025-07-10 10:13:15 -05:00
Aiden Cline
d2575eea6c
fix: display errors when using opencode run ... ( #751 )
2025-07-08 10:38:11 -05:00
Dax Raad
2a750c2333
run: truncate prompt
2025-07-07 16:41:42 -04:00
Dax Raad
739716aef9
append piped stdin to prompt
publish / publish (push) Has been cancelled
2025-07-07 16:33:21 -04:00
Dax Raad
446932ceec
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
9cad702612
v2 message format and upgrade to ai sdk v5 ( #743 )
...
publish / publish (push) Has been cancelled
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
cdbaf1c2d2
lazy load formatters
2025-06-27 11:33:37 -04:00
Dax Raad
2142c34fdd
add auto formatting and experimental hooks feature
publish / publish (push) Has been cancelled
2025-06-26 22:17:08 -04:00
Dax Raad
7b3a84ec23
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
8ed884557e
Fix undefined is not an object (evaluating 'G.title') ( #395 )
publish / publish (push) Has been cancelled
2025-06-25 19:40:09 -04:00
Jay V
c550376116
fix help copy
2025-06-23 13:00:24 -04:00
Jay V
b1f79ca730
Copy changes
2025-06-19 16:28:03 -04:00
adamdottv
bcec113325
fix: typescript error
2025-06-19 13:57:25 -05:00
Dax Raad
e103581f95
use production share url
publish / publish (push) Has been cancelled
2025-06-19 14:21:00 -04:00
Dax Raad
d7ae3c6033
ci: share
2025-06-19 13:26:15 -04:00
Dax Raad
fc079b67b2
allow selecting model and continuing previous session for opencode run
2025-06-19 13:00:57 -04:00
Dax Raad
b7319a304f
remove opencode_ prefixes from tool names. unfortunately this will break
...
publish / publish (push) Has been cancelled
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
430bbb205c
rework config
2025-06-18 23:01:19 -04:00
Dax Raad
7ce22fa132
Fix TypeScript compilation errors and consolidate version handling
...
publish / publish (push) Has been cancelled
🤖 Generated with [opencode](https://opencode.ai )
Co-Authored-By: opencode <noreply@opencode.ai >
2025-06-17 10:27:49 -04:00
Dax Raad
60fe0aa090
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
1fe40495d2
Improve LSP server initialization with timeout handling and skip failed servers
...
publish / publish (push) Has been cancelled
🤖 Generated with [opencode](https://opencode.ai )
Co-Authored-By: opencode <noreply@opencode.ai >
2025-06-15 13:52:57 -04:00
Dax Raad
9871d97af1
fix aborting issue
publish / publish (push) Has been cancelled
2025-06-14 21:23:57 -04:00
Dax Raad
833d5f312a
Update CLI run command and session handling
...
publish / publish (push) Has been cancelled
🤖 Generated with [OpenCode](https://opencode.ai )
Co-Authored-By: OpenCode <noreply@opencode.ai >
2025-06-12 18:07:31 -04:00
Dax Raad
8f43c59091
sync
2025-06-11 18:19:21 -04:00
Dax Raad
d3197c6d15
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
a269194d1e
onboarding progress
2025-06-10 15:43:14 -04:00
Dax Raad
b356744e69
file permissions for anthropic credentials
2025-06-09 17:07:52 -04:00
Dax Raad
902ee2e1db
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
96218334eb
logs
2025-06-06 23:58:09 -04:00
Dax Raad
482fe2b8c9
lsp progress
2025-06-05 23:42:04 -04:00
Dax Raad
b2edf44898
sync
2025-06-05 12:06:21 -04:00