Commit Graph

369 Commits

Author SHA1 Message Date
Quan Ran d66fc779dc fix(opencode): preserve original line endings in 'edit' tool (#9443)
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-03-07 07:42:54 +00:00
Dax 48b7e8a908 docs(bash): clarify output capture guidance (#15928) 2026-03-03 21:10:26 -05:00
Dax Raad aa3ce4063b core: temporarily disable plan enter tool to prevent unintended mode switches during task execution 2026-02-24 23:05:26 -05:00
Dax 78e670e201 refactor: migrate Bun.spawn to Process utility with timeout and cleanup (#14448) 2026-02-24 23:04:15 -05:00
Luke Parker 5faa5683c8 fix(opencode): import custom tools via file URL (#14971) 2026-02-25 10:24:47 +10:00
Luke Parker 605ea75ddb fix(win32): normalize paths at permission boundaries (#14738) 2026-02-23 12:05:21 +10:00
Erik Demaine d29240c192 fix: Windows path support and canonicalization (#13671)
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-02-23 10:10:27 +10:00
Erik Demaine 90d2e6b775 fix(desktop): change detection on Windows, especially Cygwin (#13659)
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-02-23 09:49:05 +10:00
Dax f03cb504c4 refactor: migrate from Bun.Glob to npm glob package (#14317) 2026-02-19 13:40:09 -05:00
Dax Raad 350a377fca Revert "refactor: migrate from Bun.Glob to npm glob package"
This reverts commit 25917459f0.
2026-02-19 12:48:43 -05:00
Dax Raad 25917459f0 refactor: migrate from Bun.Glob to npm glob package
Replace Bun.Glob usage with a new Glob utility wrapper around the npm 'glob' package.
This moves us off Bun-specific APIs toward standard Node.js compatible solutions.

Changes:
- Add new src/util/glob.ts utility module with scan(), scanSync(), and match()
- Default include option is 'file' (only returns files, not directories)
- Add symlink option (default: false) to control symlink following
- Migrate all 12 files using Bun.Glob to use the new Glob utility
- Add comprehensive tests for the glob utility

Breaking changes:
- Removed support for include: 'dir' option (use include: 'all' and filter manually)
- symlink now defaults to false (was true in most Bun.Glob usages)

Files migrated:
- src/util/log.ts
- src/util/filesystem.ts
- src/tool/truncation.ts
- src/session/instruction.ts
- src/storage/json-migration.ts
- src/storage/storage.ts
- src/project/project.ts
- src/cli/cmd/tui/context/theme.tsx
- src/config/config.ts
- src/tool/registry.ts
- src/skill/skill.ts
- src/file/ignore.ts
2026-02-19 12:34:18 -05:00
Dax 019134be58 Remove use of Bun.file (#14215) 2026-02-19 11:32:32 -05:00
Dax Raad 1567fa548c Revert: all refactor commits migrating from Bun.file() to Filesystem module 2026-02-18 19:41:14 -05:00
Dax 70d98c3e73 refactor: migrate src/tool/read.ts from Bun.file() to Filesystem module (#14118) 2026-02-18 19:29:11 -05:00
Dax de3c09c4f6 refactor: migrate src/tool/write.ts from Bun.file() to Filesystem module (#14119) 2026-02-18 19:27:11 -05:00
Dax a085913d37 refactor: migrate src/tool/edit.ts from Bun.file() to Filesystem module (#14120) 2026-02-18 19:26:45 -05:00
Dax 52c5e68217 refactor: migrate remaining tool files from Bun.file() to Filesystem/stat modules (#14121) 2026-02-18 19:24:21 -05:00
opencode-agent[bot] d38fc241db chore: generate 2026-02-18 20:15:14 +00:00
Helge Tesdal 27a5de8ce1 feat(plugin): pass sessionID and callID to shell.env hook input (#13662) 2026-02-18 14:14:18 -06:00
Aiden Cline 819ee7de5f tweak: ensure read tool uses fs/promises for all paths (#14027) 2026-02-17 16:05:22 -06:00
Aiden Cline f60db9f708 fix: make read tool more mem efficient (#14009) 2026-02-17 15:36:45 -06:00
Aiden Cline b650f36291 tweak: drop ids from attachments in tools, assign them in prompt.ts instead (#13890) 2026-02-16 14:59:57 -06:00
ImmuneFOMO 4bbf818885 feat(acp): add opt-in flag for question tool (#13562)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-02-16 14:20:41 -06:00
Aiden Cline 580474d9c9 fix: tweak websearch tool description date info to avoid cache busts (#13559) 2026-02-13 23:59:10 -06:00
Spoon 6bb8334384 feat(hook): add tool.definition hook for plugins to modify tool description and parameters (#4956) 2026-02-12 22:52:17 -06:00
Ryan Vogel 29646a5a82 feat(tool): return image attachments from webfetch (#13331) 2026-02-12 12:09:29 -05:00
Aiden Cline a50f91fa54 tweak: tool outputs to be more llm friendly (#13269) 2026-02-12 00:33:18 -06:00
Aiden Cline 0b621489f2 tweak: make read tool offset 1 indexed instead of 0 to avoid confusion that could be caused by line #s being 1 based (#13198) 2026-02-11 14:02:30 -06:00
Aiden Cline 69138c2d69 feat: adjust read tool so that it can handle dirs too (#13090) 2026-02-11 13:23:00 -06:00
Peter Dave Hello 451a4a9ca1 chore: fix typos and GitHub capitalization (#12852)
publish-github-action / publish (push) Has been cancelled
2026-02-10 06:53:38 -06:00
Adam f52cfa74b3 fix(app): don't rely on metadata.summary in task tool render (#12497) 2026-02-06 10:54:54 -06:00
Aiden Cline a1165cc483 tweak: adjust task tool description/input to alleviate tool call failures that sometimes occured w/ gpt models (#12214) 2026-02-05 00:04:03 -06:00
Dax 9235ad6196 fix: wait for dependencies before loading custom tools and plugins (#12227) 2026-02-05 03:25:43 +00:00
Max Leiter d2ded09bf6 fix: prevent memory leaks from AbortController closures (#12024) 2026-02-03 17:51:26 -06:00
Tyler Gannon 1f2805e8b8 feat(plugin): add shell.env hook for manipulating environment in tools and shell (#12012) 2026-02-03 15:18:41 -06:00
Aiden Cline 119522129d feat: improve skills, better prompting, fix permission asks after invoking skills, ensure agent knows where scripts/resources are (#11737) 2026-02-03 09:58:31 -06:00
Dax 122a765c48 cli: make run non-interactive (#11814) 2026-02-02 23:35:23 -05:00
Aiden Cline 3377b19dd7 chore: cleanup external_dir perm logic (#11845) 2026-02-02 16:43:55 -06:00
Aiden Cline 4389d43895 Revert pr that was mistakenly merged (#11844) 2026-02-02 15:28:02 -06:00
Dax Raad dd9cde6ce9 tui: fix task status to show current tool state from message store 2026-02-01 20:52:17 -05:00
Aiden Cline 916949305d fix: adjust resolve parts so that when messages with multiple @ references occur, the tool calls are properly ordered 2026-02-01 19:26:23 -05:00
Dax 473f1d020e feat: make skills invokable as slash commands in the TUI (#11390) 2026-01-31 00:41:55 -05:00
Aiden Cline 35a2e7bb94 fix: don't --follow by default for grep and other things using ripgrep (#11415) 2026-01-30 23:38:43 -06:00
Patrick Schiel e6e94b5d59 fix: handle redirected_statement treesitter node in bash permissions (#6737) 2026-01-30 16:11:45 -06:00
Spoon 4adb37da41 feat: support config skill registration (#9640)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-01-29 11:47:06 -06:00
Aiden Cline 86e5e884c1 tweak: add ctx.abort to grep tool 2026-01-28 20:06:36 -06:00
Goni Zahavy 1e3565a06e fix(opencode): add AbortSignal support to Ripgrep.files() and GlobTool (#10833) 2026-01-28 18:47:09 -06:00
Aiden Cline 06ce93a626 fix: ensure parallel tool calls dont double load AGENTS.md 2026-01-28 01:38:10 -05:00
GitHub Action 5ce096a0eb chore: generate 2026-01-28 06:05:21 +00:00
Goni Zahavy 7b825a3576 fix(opencode): ensure unsub(PartUpdated) is always called in TaskTool (#9992) 2026-01-28 01:04:43 -05:00