Commit Graph

554 Commits

Author SHA1 Message Date
Shoubhit Dash 5c9d2889ad fix(tool): close shell truncation stream (#27517) 2026-05-14 16:34:42 +05:30
opencode-agent[bot] 786bb115b2 chore: generate 2026-05-14 00:33:32 +00:00
Kit Langton a16d785c05 effect(patch,tool): migrate patch/index and tool/read to AppFileSystem (#27155) 2026-05-13 20:32:19 -04:00
Shoubhit Dash 8f41c274f8 fix(session): make message reads effectful (#27291) 2026-05-13 14:40:12 +05:30
Shoubhit Dash 71494b110b fix(session): use typed message reads in tools (#27280) 2026-05-13 14:12:51 +05:30
Brendan Allan 1cdbef76b4 fix: use htmlrewriter2 instead of HTMLRewriter for node compat (#26309) 2026-05-13 03:28:08 +00:00
Kit Langton d5e9fd2f75 effect: move tool flags into RuntimeFlags (#27198) 2026-05-12 21:45:53 -04:00
Aiden Cline c314ae25cb fix(plugin): preserve tool attachments (#27157) 2026-05-12 16:23:15 -05:00
Shoubhit Dash 9216acf052 chore: remove codesearch tool (#27019) 2026-05-12 13:44:02 +05:30
Aiden Cline b593e55875 fix: grep external directory permission evaluation (#26958) 2026-05-11 21:47:35 -05:00
Kit Langton d283b18d95 Remove effect-zod bridge (#26956) 2026-05-11 21:14:55 -04:00
Kit Langton 693e9d3450 Drop unused opencode Zod statics (#26935) 2026-05-11 17:14:18 -04:00
Shoubhit Dash fdd8cd9a2a feat(scout): materialize configured reference repos (#26692) 2026-05-10 17:57:11 +05:30
Kit Langton c9a95c70c1 Remove redundant ID Zod overrides (#26633) 2026-05-09 23:12:21 -04:00
Kit Langton a78b083116 fix(task): subagent inherits parent agent's deny rules (Plan Mode security bypass) (#26597)
Co-authored-by: Developer <temp@example.com>
2026-05-09 23:51:55 +00:00
Kit Langton 864fab86a9 fix(tool/read): match permission patterns against worktree-relative path
Read permission checks now use the same worktree-relative path basis as edit/write/apply_patch, so configured patterns apply consistently.
2026-05-09 18:46:29 -04:00
Dax 4ae8dd80c3 Move schema utilities into core (#26565) 2026-05-09 19:51:09 +00:00
opencode-agent[bot] c7c0d5b06e chore: generate 2026-05-08 20:22:22 +00:00
Shoubhit Dash eab8804ed1 feat(core): add scout agent for repo research (#24149)
Co-authored-by: Dax Raad <d@ironbay.co>
2026-05-08 20:20:08 +00:00
Shoubhit Dash 9691a2cbcb feat(websearch): add parallel provider rollout (#26227) 2026-05-08 14:19:36 +05:30
Kit Langton 37352128d6 fix(session): cancel subtask child sessions (#25798) 2026-05-04 22:36:06 -04:00
opencode-agent[bot] c33722958c chore: generate 2026-05-02 23:20:15 +00:00
Luke Parker b2ee2c9a97 feat: refactor bash tool with shell-aware prompts for bash, pwsh+powershell, and cmd (#20039) 2026-05-03 09:18:48 +10:00
Kit Langton a27017a3bf fix(telemetry): emit Tool.execute span for MCP and plugin tools (#25452) 2026-05-02 14:49:56 -04:00
Aiden Cline 6eebe3eb81 tweak: allow read tool to accept offset of 0 (#25431) 2026-05-02 11:12:07 -05:00
Kit Langton a2bee5a71a Convert LoadInput.init to Effect + extract InstanceBootstrap as a Service (#25376) 2026-05-02 00:02:52 -04:00
Zeke Sikelianos d7e98197ea fix(read): prevent unsupported image formats from being sending to provider (#21114)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-05-01 18:14:22 -05:00
Dax Raad d83d71a997 core: clarify that temp directory already exists for AI agents
The bash tool description now explicitly states that the temp directory has already been created and exists, preventing agents from unnecessarily trying to create it before use.
2026-04-30 23:48:48 -04:00
Dax 416952c089 Preapprove agent tmp directory access (#25226) 2026-04-30 23:47:15 -04:00
Kit Langton 3a7cd2dbee refactor(tool): yield InstanceState context (#25199) 2026-04-30 21:01:06 -04:00
Kit Langton 0e7820c4cb refactor(tool/read): yield InstanceState.context instead of reading ALS (#25183) 2026-04-30 20:33:04 -04:00
Tommy D. Rossi 5640a57ba2 fix(opencode): preserve external_dir and deny parent permissions in task child sessions (#23290) 2026-04-29 22:06:29 -05:00
Aiden Cline 60f88a613c chore: rm broken codesearch tool (#24992) 2026-04-29 13:15:44 -05:00
Kit Langton 584064d2c9 Prepare Effect HttpApi backend parity (#24853) 2026-04-29 09:34:50 -04:00
opencode-agent[bot] 201b846592 chore: generate 2026-04-28 23:11:59 +00:00
Luke Parker 9a6d440063 fix(bash): memory leak - release parsed syntax trees (#24861)
Co-authored-by: jiwenshang <jiwenshang@xiaohongshu.com>
2026-04-28 23:10:48 +00:00
Dax 07ac891a99 refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
opencode-agent[bot] f7f4d250f4 chore: generate 2026-04-27 05:40:37 +00:00
Luke Parker f760771213 fix: pass workspace symbol query to experimental LSP tool (#24576) 2026-04-27 05:39:36 +00:00
Luke Parker 7454f363db feat: configurable shell selection + desktop settings UI (#20602) 2026-04-27 00:54:55 +00:00
Kit Langton f104ed2f16 feat(httpapi): bridge experimental read endpoints (#24365) 2026-04-25 14:46:06 -04:00
Dax Raad 6742034b03 core: move cross-spawn-spawner to root and remove unused types
The cross-spawn-spawner module has been moved from src/effect/ to src/
to simplify the core package structure. The src/types.d.ts file which
contained unused type declarations has also been removed. All imports
throughout the codebase have been updated to reflect the new location.

This change reduces the package's internal complexity by flattening the
module hierarchy and removing dead code, making future maintenance easier.
2026-04-25 14:30:16 -04:00
Dax Raad 7b2fbf2c2f core: move cross-spawn-spawner from opencode to core package
Moved the cross-spawn-spawner module from packages/opencode to packages/core
to enable code sharing across the monorepo. This consolidates the process
spawning infrastructure into the core package so other packages can use
cross-platform child process spawning without duplicating the implementation.

Updated all import statements across the codebase to reference the new
location (@opencode-ai/core/effect/cross-spawn-spawner). Removed the
local copy from the opencode package along with its tests.
2026-04-25 14:23:17 -04:00
Dax Raad 9031b8f108 core: move Global module to @opencode-ai/core for centralized path management
Move the Global module from packages/opencode/src/global to packages/core/src/global
to provide a unified location for managing XDG directories and application paths.
This eliminates duplicate path definitions across packages and ensures consistent
access to data, config, cache, state, log, and bin directories throughout the codebase.
2026-04-25 13:52:32 -04:00
Dax Raad 6bc94f94b1 core: consolidate shared infrastructure into core package
Moves effect logging, observability, runtime utilities, flags, installation
version info, and process utilities from opencode to core package. This
enables better code sharing across packages and establishes core as the
single source of truth for foundational utilities.

All internal imports updated to use @opencode-ai/core paths for consistency.
2026-04-25 13:30:37 -04:00
Dax 1865f4fc5f refactor: rename shared package to core (#24309) 2026-04-25 10:59:17 -04:00
Simon Klee 0c1e34cbb2 tool/lsp: include request details in permission metadata (#24139) 2026-04-25 14:21:35 +02:00
Kyle Altendorf 8fce61658b fix(opencode): clarify git amend condition to require verifying commit landed (#19937)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com>
Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Shoubhit Dash <shoubhit2005@gmail.com>
2026-04-24 17:42:10 -04:00
rahul 815337d88c feat(truncate): allow configuring tool output truncation limits (#23770)
Co-authored-by: rgs_ramp <rgs@ramp.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-23 17:43:33 -04:00
opencode-agent[bot] 7a5d5d1161 chore: generate 2026-04-23 20:10:56 +00:00