Commit Graph

41 Commits

Author SHA1 Message Date
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
Dax Raad 2e15770085 claude oauth support 2025-06-05 11:51:06 -04:00