Commit Graph

295 Commits

Author SHA1 Message Date
Spoon e9484d7368 plugin(hook): add task tool execution hooks and command context tracking (#5642) 2025-12-16 19:28:09 -06:00
Luke Parker 2e85975124 fix(win32): Normalise LSP paths on windows (fixes lua) (#5597) 2025-12-15 18:01:03 -06:00
Spoon b77b643b18 fix(edit): add per-file lock to prevent read-before-write race (#4388) 2025-12-14 23:01:50 -06:00
Dax c9c6b26a2e LLM cleanup (#5462)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2025-12-14 21:11:30 -05:00
Tommy D. Rossi 3fb4ba13d3 fix: limit LSP diagnostics to prevent context window waste (#5480)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2025-12-13 19:56:26 -06:00
Aiden Cline 359196475c shell tweaks, better handling for windows (#5455)
Co-authored-by: GitHub Action <action@github.com>
2025-12-12 16:11:07 -06:00
opencode-agent[bot] 78b3e52297 Removed cache mention from webfetch prompt. (#5412)
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-12-11 19:53:39 -06:00
Aiden Cline e91b00c541 tweak: bash tool, try to prevent the cd spam 2025-12-11 14:58:46 -06:00
Aiden Cline 218bd3188e tweak: bash tool deny msg 2025-12-11 14:46:58 -06:00
Jinhyeok Lee 6d9dd19037 docs(bash): clarify description parameter is required (#5353) 2025-12-10 19:37:38 -06:00
Dax Raad 674aa65d71 docs: improve bash and grep tool documentation with clearer usage guidelines 2025-12-10 08:48:41 -05:00
Aiden Cline eab9e8f45d tweak: add OPENCODE_EXPERIMENTAL_BASH_DEFAULT_TIMEOUT_MS 2025-12-09 17:28:34 -06:00
Aiden Cline 8f3ce99177 add OPENCODE_EXPERIMENTAL_BASH_DEFAULT_TIMEOUT 2025-12-09 15:44:56 -06:00
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
GitHub Action e073efbb02 chore: format code 2025-12-07 19:08:48 +00:00
secretninjaman 28ffb333fb fix: use basename for shell detection to support non-standard paths (#5205)
Co-authored-by: Ayato French <a@ayatofrench.com>
2025-12-07 13:08:26 -06:00
Aiden Cline 476e3ca9f0 tweak: make bash give agent more awareness of cwd, bump default timeout, drop max timeout (#5140) 2025-12-06 23:55:07 -06:00
Aiden Cline 7cdc97bc58 fix: reduce overhead of task tool metadata 2025-12-06 16:04:33 -06:00
Ben Vargas 9b787abea9 feat: restore experimental flag for websearch/codesearch tools (#5132)
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-12-06 14:29:34 -06:00
Shantur Rathore 2f082043cf tweak: bash tool improve output metadata for agent consumption, fix small timeout issue (#5131) 2025-12-05 13:56:56 -06:00
Aiden Cline 999f3dfac2 tweak: bash tool description re commit stuff 2025-12-04 15:27:23 -06:00
Shantur Rathore 6688105bbb tweak: bash tool messages regarding timeouts and truncation more clear for agent (#5066) 2025-12-04 11:33: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
Spoon e4f11b6f5b feat: experimental.primary_tools, allow user to set the tools that should only be available to primary agents (#4913)
Co-authored-by: GitHub Action <action@github.com>
2025-12-03 11:19:43 -06:00
Dax Raad 2c5a3984f1 limit grep line length to 2000 2025-12-01 16:35:07 -05:00
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