Commit Graph

106 Commits

Author SHA1 Message Date
lemon 73e8c7e74f fix: prevent [object Object] error display in console output (#8116)
Co-authored-by: Claude <noreply@anthropic.com>
2026-01-12 20:40:03 -06:00
Dax Raad 0ddb992bd6 core: add password authentication and improve server security
- Add OPENCODE_PASSWORD flag for basic auth protection
- Show security warnings when password is not set
- Remove deprecated spawn command
- Improve error handling with HTTPException responses
2026-01-12 15:23:19 -05:00
Ariane Emory b8bbb51a5c fix: report config errors instead of silent termination (#7522) 2026-01-09 14:21:01 -06:00
Sercan Sagman f82ae79652 fix(cli): add help text to debug command and subcommands (#7328)
Signed-off-by: assagman <ahmetsercansagman@gmail.com>
2026-01-08 09:42:12 -06:00
Aiden Cline 18daa712e3 ignore: keep the process exit logic 2026-01-01 13:05:08 -06:00
Aiden Cline 19a1c0e8f4 core: make installdeps non blocking 2026-01-01 13:00:39 -06:00
scarf 90fab5f907 feat: add bash shell completions (#6239) 2025-12-27 19:14:56 -06:00
Patrick Erichsen 65fa98ab3f fix(cli): prevent help text wrapping (#5185) 2025-12-07 19:12:54 -06:00
rari404 26fa90c4f4 feat: add uninstall command (#5208) 2025-12-07 13:23:30 -06:00
Aiden Cline 0816f83cbb add basic session list command 2025-12-02 19:24:05 -06:00
U Cirello 25284c39e4 fix(run): allow messages to start with dash (-) (#4904) 2025-12-02 12:52:05 -06:00
Adam 8faaea9c01 wip(share): more styling 2025-11-24 15:10:40 -06:00
Frank d9b509e3b5 wip: poc pr command 2025-11-11 18:50:28 -05:00
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