Commit Graph

58 Commits

Author SHA1 Message Date
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
Luke Parker fca9943523 fix: Diff view now ignores line endings changes/windows autocrlf (#4356) 2025-11-15 21:18:39 -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
Dax Raad 247d68cdfe core: fix additions and deletions counting in edit tool filediff 2025-10-28 14:08:10 -04: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 bda7fd9ad6 ignore: reword 2025-10-24 13:46:47 -05:00
Aiden Cline 8aac578b8d adjust edit tool multiple matches error wording (#3418) 2025-10-24 12:14:49 -05:00
Dax Raad de634a3f13 fix: export trimDiff function from edit tool 2025-10-14 02:55:02 -04:00
Dax Raad fc1cf01a26 ci: improve test coverage 2025-09-27 03:04:42 -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 740207016c tweak: make bash permissions key off of command pattern (#2592) 2025-09-14 09:01:57 -05:00
Dax Raad b2e2d36010 reduce LSP verbosity 2025-09-11 12:54:12 -04:00
Dax Raad 7b91d612f6 remove block anchor edit 2025-09-11 12:53:10 -04:00
Dax Raad e3bf324ea9 ci: format 2025-09-09 23:44:04 -04:00
spoons-and-mirrors 52dea9cb75 tweak(edit): separate edit tool error message with clearer guidance to avoid llm doom editing loop (#2051) 2025-09-05 12:36:13 -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 978e8f4c48 fix: permission prompting issues (#1884) 2025-08-13 06:34:06 -05:00
Dax 2a13b1b81e Add agent-level permissions with whitelist/blacklist support (#1862) 2025-08-12 11:39:39 -04:00
cvzakharchenko 00ffe89f8e Issue 1676: Don't eat up the last newline in a multi-line replacement (#1777) 2025-08-11 06:55:45 -05:00
Aiden Cline d88272d466 feat: eslint lsp (#1744) 2025-08-09 11:04:58 -05:00
Dax Raad 918b7019c7 formatter config 2025-07-31 19:36:07 -04:00
Dax Raad f1e0e40868 wip: permissions 2025-07-31 16:38:37 -04:00
Dax Raad ca454c91ca wip: refactor permissions 2025-07-31 12:26:47 -04:00
adamdotdevin 9f429d8dd9 wip: tui permissions 2025-07-31 09:59:17 -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
Dax Raad 4b94f390ce allow temperature to be configured per mode
publish / publish (push) Has been cancelled
2025-07-25 13:29:44 -04:00
Filip 771c714b10 fix: edit tool (#1287) 2025-07-24 16:18:04 -04:00
Dax Raad 6b9e111e94 only include severity 1 diagnostics from lsp in edit tool output
publish / publish (push) Has been cancelled
2025-07-16 15:25:37 -04:00
Mike Wallio 1f474435ae Standardize parameter description references in Edit and MultiEdit tools (#984) 2025-07-14 20:03:59 -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 a0764b2c3a add elixir lsp support
publish / publish (push) Has been cancelled
2025-07-03 19:29:51 -04:00
Dax Raad cdbaf1c2d2 lazy load formatters 2025-06-27 11:33:37 -04:00
Dax Raad a94c88bc5b ignore: run prettier
publish / publish (push) Has been cancelled
2025-06-26 22:30:44 -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 19c4e09dd2 more edit tool fixes
publish / publish (push) Has been cancelled
2025-06-25 19:22:54 -04:00
Dax Raad 04f770b57e integrate gemini-cli strategies for edit tool
publish / publish (push) Has been cancelled
2025-06-25 17:56:14 -04:00
Dax Raad 1227651bbc make edit tool more robust
publish / publish (push) Has been cancelled
2025-06-25 17:10:48 -04:00
Márk Magyar a90cb9f298 ignore: fix typos and formatting (#294) 2025-06-22 14:26:46 -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 f5400000a0 implemented diff trimming 2025-06-18 11:20:40 -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 60f3b52996 sync 2025-06-11 12:44:21 -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 3aad1a9c7d sync 2025-06-04 18:32:10 -04:00
Dax Raad 44ce3e9727 more tools 2025-06-04 13:33:25 -04:00