Commit Graph

218 Commits

Author SHA1 Message Date
Dax Raad 6ca32b1d0e core: prevent codesearch and websearch tools when webfetch permission is denied 2025-11-26 22:08:50 -05:00
Dax Raad 5ff94e4a8c temporarily restrict codesearch and websearch to opencode zen users. need to figure out how to opt out for enterprise users who do not want this 2025-11-26 20:13:20 -05:00
Dax Raad beab4d85f4 enable exa code/websearch 2025-11-25 22:06:26 -05:00
Aiden Cline b92584490f fix bash tool wsl 2025-11-23 12:29:15 -06:00
Aiden Cline db7561eef0 tweak: bash tool behavior w/ /bin/zsh 2025-11-21 16:30:00 -06:00
Ivan Starkov 5fb8afcb67 fix: make bash tool respect $SHELL (#3494)
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-11-21 14:33:04 -06:00
cc-bjojac 5920c3a90e Make the MAX_OUTPUT_LENGTH in bash.ts overridable by OPENCODE_EXPERIMENTAL_BASH_MAX_OUTPUT_LENGTH (#4497)
Co-authored-by: Björn Jacobs <bjoern.jacobs.ext@bundesanzeiger.de>
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-11-20 10:45:13 -06:00
Aiden Cline 500b5d85b4 fix: make external_directory permission wildcarding more sane 2025-11-19 12:55:02 -06:00
Aiden Cline 010146569f fix: make bash tool use external_directory perm 2025-11-19 12:31:34 -06:00
Dax Raad 7642ca7066 use bash description as task title 2025-11-19 13:23:29 -05:00
Aiden Cline 1be2d83976 tweak: bash description 2025-11-19 11:31:12 -06:00
Shantur Rathore c021a04a7e allow task tool to have resume capabilities (#4204)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2025-11-19 00:17:26 -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 5ac956b845 fix windows bash tool issue 2025-11-18 14:06:45 -06:00
Albert O'Shea 56f211ffd9 feat: nix support for the nix folks (#3924)
Co-authored-by: opencode <opencode@sst.dev>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2025-11-18 00:46:49 -06:00
Aiden Cline f2998324ac tweak: whitelist 2025-11-17 13:18:13 -06:00
Dax 9fdf25c750 Refactor agent loop (#4412) 2025-11-17 10:57:18 -05:00
Keath Milligan 27c035a2f7 fix: handle Git Bash path mapping on windows (#4380) 2025-11-17 01:06:44 -06:00
Spoon 61994e57b0 fix(batch): simple UX feedback (#4396) 2025-11-17 00:02:05 -06:00
Baptiste Cavallo 77b94e5375 fix(batch): restore per-tool UI feedback + UX improvements (#4387) 2025-11-16 16:31:41 -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 9aa734810c fix: omit ref for todo tool 2025-11-15 19:19:36 -06:00
Aiden Cline 071cc516b2 tweak: make zod error more prompty 2025-11-15 13:19:24 -06:00
Baptiste Cavallo 8ace6bc0a1 experimental batch tool (#2983)
Co-authored-by: GitHub Action <action@github.com>
2025-11-15 00:54:36 -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
Rafał Krzyważnia 6fa0834ae5 fix: resolve @file references in slash commands with subagents (#4221) 2025-11-11 19:38:50 -06:00
Dax Raad 5240baccd9 add web and codesearch tools 2025-11-10 16:39:54 -05: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 41b5ce67c3 fix: update references after moving message functions to MessageV2 namespace 2025-11-07 14:47:05 -05:00
Dax Raad aaa60022b7 only display last 100 messages in TUI 2025-11-06 13:21:15 -05: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
Filip ee8b763994 chore: remove unused patch tool from registry (to avoid accidental inclusions of it) (#3938) 2025-11-05 11:26:28 -06: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
John Eismeier db0ae87266 fix: typos (#3757)
Signed-off-by: John E <jeis4wpi@outlook.com>
2025-11-02 09:56:40 -06:00
Haris Gušić e529308281 fix: grep failing when pattern started with a dash 2025-10-31 17:20:22 -05:00
Dax fd63884d0b OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
Aiden Cline 89ab6fcdae fix: bash permission case 2025-10-31 00:52:46 -05:00
Brandon 1e4b8d2e44 feat: Adds session id to Agent context metadata (#3559)
Co-authored-by: Brandon Wisnicki <bwisnicki@palantir.com>
2025-10-30 12:15:21 -05:00
Haris Gušić ecc1f265ca tweak: move zod validation for tools to ensure it always runs (#3565) 2025-10-30 11:31:44 -05:00
Aiden Cline 28acb94b3f fix: ensure timeout param passed to bash tool is positive 2025-10-28 17:32:39 -05:00
Dax Raad 247d68cdfe core: fix additions and deletions counting in edit tool filediff 2025-10-28 14:08:10 -04:00
Adam 93535d3d64 wip: desktop work 2025-10-27 15:37:07 -05: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
Aiden Cline 02b8363659 add flag wildcard parsing support for bash tool (#3390) 2025-10-23 13:35:09 -05: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