Commit Graph

34 Commits

Author SHA1 Message Date
Aiden Cline dfd4e716fd fix: read when file is svg 2025-12-09 14:24:30 -06:00
Aiden Cline d38bb05c69 pdf support in read tool (#5222)
Co-authored-by: ammi1378 <ammi1378@users.noreply.github.com>
2025-12-07 21:54:00 -06:00
Aiden Cline 68a63054d2 fix: model not being passed correctly to tool 2025-12-04 11:15:30 -06:00
Dax 85d8825cb1 core: refactor provider and model system (#5033)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: thdxr <thdxr@users.noreply.github.com>
2025-12-03 21:09:03 -05:00
Aiden Cline 500b5d85b4 fix: make external_directory permission wildcarding more sane 2025-11-19 12:55:02 -06:00
K Whiteside fa10bad600 fix: permission checks for external_directory and doom_loop (#4433)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
Co-authored-by: AerionDyseti <AerionDyseti@users.noreply.github.com>
2025-11-18 17:18:23 -06:00
Aiden Cline f2998324ac tweak: whitelist 2025-11-17 13:18:13 -06:00
Dax Raad 8a7548a817 improve read tool end-of-file detection to prevent infinite loops 2025-11-13 21:41:06 -05:00
Aiden Cline eb6999d434 no mr llm, you may not read that 2025-11-13 19:16:07 -06:00
Aiden Cline 6ac8c90e42 fix: allow user to configure doom loop & external dir perms (#4095) 2025-11-09 20:21:38 -06:00
GitHub Action 9855771157 chore: format code 2025-11-08 01:59:02 +00:00
Dax Raad ed8913324e big format 2025-11-06 13:03:12 -05:00
Aiden Cline 5d5df3ce6a ask instead of throwing tool error if file is outside cwd 2025-11-05 16:09:47 -06:00
Jérôme Benoit 0787f01d1d chore: cleanup versioned zod imports (#3460)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
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-26 14:50:41 -05:00
Aiden Cline 73cc3e1a95 feat: allow read tool to handle images (#3052) 2025-10-09 09:05:11 -05:00
Dax 0a4df97382 Upgrade to Zod v4 (#2605)
Co-authored-by: GitHub Action <action@github.com>
2025-09-15 03:12:07 -04: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 68b2a02e14 fix: better binary file detection (#2025) 2025-08-17 17:59:51 -05:00
adamdotdevin 565ff387fe fix: allow attachments outside cwd, and support svg 2025-08-13 10:36:50 -05:00
Dax 50c93a349f use treesitter to parse bash commands and catch commands that go outside of cwd (#1443) 2025-07-30 20:57:52 -04:00
Aiden Cline d4e91d3d5f fix: prevent read tool from opening binary files and corrupting session (#1425) 2025-07-30 11:00:23 -05:00
Dax Raad 53ecda4ef1 wip: undo properly remove messages from UI 2025-07-28 22:58:31 -04:00
Dax Raad 4b94f390ce allow temperature to be configured per mode
publish / publish (push) Has been cancelled
2025-07-25 13:29:44 -04:00
Dax Raad 7d7ed19879 add small model for title generation
publish / publish (push) Has been cancelled
2025-07-15 14:00:52 -04:00
Dax Raad 1ba82bc7cb do not wait for LSP to be fully ready
publish / publish (push) Has been cancelled
2025-07-09 21:59:38 -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 23bcc0defe fix lsp diagnostic accurancy
publish / publish (push) Has been cancelled
2025-06-30 22:48:32 -04:00
Dax Raad cdbaf1c2d2 lazy load formatters 2025-06-27 11:33:37 -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 53c3aa88c0 fix issue with tool schemas and google
publish / publish (push) Has been cancelled
2025-06-17 11:27:07 -04:00
Dax Raad e52fb7ff3f sync 2025-06-11 12:58:06 -04:00
Dax Raad 25b5de1fca properly support codex mini 2025-06-09 20:24:18 -04:00
Dax Raad c84fb15216 make lsp better 2025-06-06 17:20:08 -04:00
Dax Raad 1cb48d5c24 tool updates 2025-06-04 13:12:48 -04:00