Commit Graph

93 Commits

Author SHA1 Message Date
Dax Raad dfec00e953 add opencode import command to restore sessions from JSON exports 2025-11-05 18:05:01 -05:00
Stephen Collings bbd2f1cebd fix: Provide OPENCODE & AGENT env vars (#3843)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-11-04 04:01:22 +00:00
Dax Raad dc8cda7911 web command 2025-11-03 16:10:23 -05:00
Haris Gušić d27f90349f fix: Remove conflicting "-h" aliases in TUI spawn and thread commands (#3651) 2025-10-31 16:59:59 -05:00
Aiden Cline a2f6b7409a Revert "fix: ensure flags & docs match (#3638)"
This reverts commit 7c06047c55.
2025-10-31 16:43:29 -05:00
opencode-agent[bot] 7c06047c55 fix: ensure flags & docs match (#3638)
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-31 16:33:46 -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
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
Haris Gušić 5f0e46c51c 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
Haris Gušić ef2f094cdc fix: opencode run shouldn't print to stderr (#3341) 2025-10-21 19:53:09 -05:00
Dax Raad 0acecdf64f core: improve error handling with console output for debugging 2025-10-21 10:55:10 -04:00
Joe Schmitt 577ffecb29 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
Dax Raad d338407078 ci: test 2025-10-14 14:56:21 -04:00
Sandip Wane cf363fe67a chore: rm empty try-catch block (#2769)
Co-authored-by: Sandip Wane <sandip.wane@cloudhedge.io>
2025-10-01 23:21:57 -05:00
Dax Raad bb61ae82cb add opencode attach command to connect to a remote opencode server 2025-09-17 03:30:25 -04:00
Dax 0a4df97382 Upgrade to Zod v4 (#2605)
Co-authored-by: GitHub Action <action@github.com>
2025-09-15 03:12:07 -04:00
Aiden Cline 50c38c31a3 fix: silent error if bad flag was passed (#2486) 2025-09-07 23:14:38 -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
Dax 2a13b1b81e Add agent-level permissions with whitelist/blacklist support (#1862) 2025-08-12 11:39:39 -04:00
Stibbs f9d201daa5 chore: add OPENCODE env var (#1780) 2025-08-11 01:56:42 -04:00
Dax 9c7361c901 Remove unused OpenTelemetry tracing and fix overlapping highlights (#1738)
Co-authored-by: opencode <noreply@opencode.ai>
2025-08-08 20:20:01 -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
Aiden Cline 29bc4c07ae fix double help printing (#1580) 2025-08-04 05:03:27 -05:00
Frank 35a914ad99 wip: github actions
publish / publish (push) Has been cancelled
2025-07-25 17:34:47 -04:00
Dax Raad 0de957a2f0 real life totally configurabl ai subasians
publish / publish (push) Has been cancelled
2025-07-24 21:21:02 -04:00
Dax Raad 9b65da318d remove log level from config 2025-07-19 13:37:02 -04:00
Dax Raad f8e2ad06d9 message rendering performance improvements 2025-07-18 13:40:07 -04:00
Frank af439a2ea0 wip: github actions 2025-07-16 14:59:53 +08:00
Dax Raad 87943c97c8 wip: mcp 2025-07-13 16:22:16 -04:00
Dax Raad f4bd561dfd wip: stats 2025-07-11 17:37:41 -04:00
adamdottv 79e8a64349 feat: configurable log levels 2025-07-09 10:00:03 -05: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 576656ce75 add back in file hierarchy in system prompt but limit to 200 items
publish / publish (push) Has been cancelled
2025-06-30 14:46:46 -04:00
Dax Raad 6abe3d1861 smooth out initial onboarding flow 2025-06-27 16:09:59 -04:00
Wendell Misiedjan f5a998b425 fix: bunproc stdout / stderr parsing, error handling for bun ResolveMessage (#468) 2025-06-27 14:09:35 -04:00
Dax Raad cdbaf1c2d2 lazy load formatters 2025-06-27 11:33:37 -04:00
Dax Raad bf39e0ac01 redirect uncaught errors to log file
publish / publish (push) Has been cancelled
2025-06-25 08:41:10 -04:00
Dax Raad 53e90f2764 better error message when bad directory is specified to start in 2025-06-24 22:28:25 -04:00
Dax Raad d333addc69 Enhance auth command with environment variable display and add models command
publish / publish (push) Has been cancelled
🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-24 22:24:55 -04:00
Dax Raad 2461ee70d8 do not print error on ctrl+c during prompts 2025-06-24 22:09:43 -04:00
Dax Raad 605b2f891f ci: fix type issue 2025-06-24 21:12:32 -04:00
Dax Raad c841e0a1cc added opencode serve command
publish / publish (push) Has been cancelled
2025-06-24 20:52:09 -04:00
Dax Raad 3dea857589 ci: windows 2025-06-24 18:27:57 -04:00
Dax ad32e5975a windows fixes (#374)
Co-authored-by: Matthew Glazar <strager.nds@gmail.com>
2025-06-24 18:05:04 -04:00
Dax Raad 0b96daf6b7 ci: upgrade bun 2025-06-24 14:42:25 -04:00
Jay V c550376116 fix help copy 2025-06-23 13:00:24 -04:00
adamdottv 98dc5bd3d3 chore: unused import 2025-06-23 10:21:57 -05:00
Dax Raad 64e72f1eec more graceful mcp failures
publish / publish (push) Has been cancelled
2025-06-22 21:10:05 -04:00
Dax Raad cb7930165c config validation
publish / publish (push) Has been cancelled
2025-06-20 00:57:28 -04:00