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
Kit Langton
9d583dc856
refactor(tool): migrate tool framework + all 18 built-in tools to Effect Schema ( #23244 )
2026-04-23 16:09:34 -04:00
Kit Langton
13bb84f5e3
refactor(session): migrate session domain to Effect Schema ( #24005 )
2026-04-23 11:30:02 -04:00
Luke Parker
9d325b9849
feat: support pull diagnostics in the LSP client (C#, Kotlin, etc) ( #23771 )
2026-04-23 00:25:40 -04:00
opencode-agent[bot]
8a72283ae7
chore: generate
2026-04-23 00:25:37 -04:00
Luke Parker
d9d819b0e0
fix: preserve BOM in text tool round-trips ( #23797 )
2026-04-23 00:25:36 -04:00
Kit Langton
21362c2939
refactor(core): derive all schema.ts leaves' .zod via effect-zod walker ( #23754 )
2026-04-21 22:51:18 -04:00
Kit Langton
b8d850ca3f
migrate Snapshot schemas to Effect Schema ( #23747 )
2026-04-21 17:37:27 -04:00
Aiden Cline
0654240c9e
chore: kill unused tool ( #23701 )
2026-04-21 11:31:20 -04:00
Luke Parker
d19de99abd
fix(core): use file:// URLs for local dynamic import() on Windows+Node ( #23639 )
2026-04-21 07:54:53 +00:00
Aiden Cline
b3cb3a21ce
fix: parallel edits sometimes would override each other ( #23483 )
2026-04-20 00:14:21 -05:00
opencode-agent[bot]
3831af62b5
chore: generate
2026-04-18 16:00:01 +00:00
Kit Langton
32c3017b00
fix: detect attachment mime from file contents ( #23291 )
2026-04-18 11:59:08 -04:00
Aiden Cline
5264cffe42
fix: make skills logic more token efficient ( #23253 )
2026-04-17 23:51:16 -05:00
rasdani
e698ce3ac5
fix(opencode): pass EXA_API_KEY to websearch tool to avoid rate limits ( #16362 )
...
Co-authored-by: Dax Raad <d@ironbay.co >
Co-authored-by: Aiden Cline <aidenpcline@gmail.com >
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com >
2026-04-17 11:28:23 -05:00
Aiden Cline
0fce19f42c
chore: delete filetime module ( #22999 )
2026-04-16 23:31:21 -05:00