Shoubhit Dash
f202226bbc
refactor(flags): move bash timeout to runtime flags ( #27607 )
2026-05-15 02:49:14 +05:30
opencode-agent[bot]
756488d534
chore: generate
2026-05-14 16:42:18 +00:00
Shoubhit Dash
22de34c4de
feat: add experimental background subagents ( #27084 )
2026-05-14 22:10:15 +05:30
Shoubhit Dash
e26abd8da9
fix(tool): close shell truncation stream ( #27517 )
2026-05-14 16:34:42 +05:30
opencode-agent[bot]
10c90eb445
chore: generate
2026-05-14 00:33:32 +00:00
Kit Langton
aa8a41d1b8
effect(patch,tool): migrate patch/index and tool/read to AppFileSystem ( #27155 )
2026-05-13 20:32:19 -04:00
Shoubhit Dash
ccf93f3523
fix(session): make message reads effectful ( #27291 )
2026-05-13 14:40:12 +05:30
Shoubhit Dash
b0dc8e4638
fix(session): use typed message reads in tools ( #27280 )
2026-05-13 14:12:51 +05:30
Brendan Allan
ad6a8a1850
fix: use htmlrewriter2 instead of HTMLRewriter for node compat ( #26309 )
2026-05-13 03:28:08 +00:00
Kit Langton
da689d77c4
effect: move tool flags into RuntimeFlags ( #27198 )
2026-05-12 21:45:53 -04:00
Aiden Cline
cb511f78ff
fix(plugin): preserve tool attachments ( #27157 )
2026-05-12 16:23:15 -05:00
Shoubhit Dash
2481dde36d
chore: remove codesearch tool ( #27019 )
2026-05-12 13:44:02 +05:30
Aiden Cline
1a28924ed8
fix: grep external directory permission evaluation ( #26958 )
2026-05-11 21:47:35 -05:00
Kit Langton
e5aa5161f2
Remove effect-zod bridge ( #26956 )
2026-05-11 21:14:55 -04:00
Kit Langton
fd65d29dcc
Drop unused opencode Zod statics ( #26935 )
2026-05-11 17:14:18 -04:00
Shoubhit Dash
5cf9abe743
feat(scout): materialize configured reference repos ( #26692 )
2026-05-10 17:57:11 +05:30
Kit Langton
fb4bab8a66
Remove redundant ID Zod overrides ( #26633 )
2026-05-09 23:12:21 -04:00
Kit Langton
b8ca71d309
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
ba9e4b67ed
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
dcdbdb218f
Move schema utilities into core ( #26565 )
2026-05-09 19:51:09 +00:00
opencode-agent[bot]
dc7d665e94
chore: generate
2026-05-08 20:22:22 +00:00
Shoubhit Dash
40d5ea1cf1
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
a43d3e0e1e
feat(websearch): add parallel provider rollout ( #26227 )
2026-05-08 14:19:36 +05:30
Kit Langton
75d141b574
fix(session): cancel subtask child sessions ( #25798 )
2026-05-04 22:36:06 -04:00
opencode-agent[bot]
9d03d4419e
chore: generate
2026-05-02 23:20:15 +00:00
Luke Parker
3f459819ba
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
6cd02c05c2
fix(telemetry): emit Tool.execute span for MCP and plugin tools ( #25452 )
2026-05-02 14:49:56 -04:00
Aiden Cline
b460db15d7
tweak: allow read tool to accept offset of 0 ( #25431 )
2026-05-02 11:12:07 -05:00
Kit Langton
f33aec1139
Convert LoadInput.init to Effect + extract InstanceBootstrap as a Service ( #25376 )
2026-05-02 00:02:52 -04:00
Zeke Sikelianos
51e310c9ce
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
3615d8e226
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
2283979199
Preapprove agent tmp directory access ( #25226 )
2026-04-30 23:47:15 -04:00
Kit Langton
668d77bb4e
refactor(tool): yield InstanceState context ( #25199 )
2026-04-30 21:01:06 -04:00
Kit Langton
a499fe2b17
refactor(tool/read): yield InstanceState.context instead of reading ALS ( #25183 )
2026-04-30 20:33:04 -04:00
Tommy D. Rossi
d7701dbfb6
fix(opencode): preserve external_dir and deny parent permissions in task child sessions ( #23290 )
2026-04-29 22:06:29 -05:00
Aiden Cline
6aa8e894b1
chore: rm broken codesearch tool ( #24992 )
2026-04-29 13:15:44 -05:00
Kit Langton
6015084fa2
Prepare Effect HttpApi backend parity ( #24853 )
2026-04-29 09:34:50 -04:00
opencode-agent[bot]
91bd295209
chore: generate
2026-04-28 23:11:59 +00:00
Luke Parker
d4bf70be06
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
f25f1485d5
refactor: remove module barrels ( #24554 )
2026-04-27 14:33:33 -04:00
opencode-agent[bot]
2789b770aa
chore: generate
2026-04-27 05:40:37 +00:00
Luke Parker
8718b98ee1
fix: pass workspace symbol query to experimental LSP tool ( #24576 )
2026-04-27 05:39:36 +00:00
Luke Parker
141f33d24b
feat: configurable shell selection + desktop settings UI ( #20602 )
2026-04-27 00:54:55 +00:00
Kit Langton
95d4bb2130
feat(httpapi): bridge experimental read endpoints ( #24365 )
2026-04-25 14:46:06 -04:00
Dax Raad
1e98167b0e
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
3eee2f6afa
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
705f792e87
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
1a734adb4d
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
62ef2a2207
refactor: rename shared package to core ( #24309 )
2026-04-25 10:59:17 -04:00
Simon Klee
9ff999cc2b
tool/lsp: include request details in permission metadata ( #24139 )
2026-04-25 14:21:35 +02:00
Kyle Altendorf
bb3509b5ff
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
f8c6ddd4cb
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]
3f8c659056
chore: generate
2026-04-23 20:10:56 +00:00
Kit Langton
3910a6e527
refactor(tool): migrate tool framework + all 18 built-in tools to Effect Schema ( #23244 )
2026-04-23 16:09:34 -04:00
Kit Langton
0517ab4695
refactor(session): migrate session domain to Effect Schema ( #24005 )
2026-04-23 11:30:02 -04:00
Luke Parker
e383df4b17
feat: support pull diagnostics in the LSP client (C#, Kotlin, etc) ( #23771 )
2026-04-23 00:25:40 -04:00
opencode-agent[bot]
894e638914
chore: generate
2026-04-23 00:25:37 -04:00
Luke Parker
8113a4360e
fix: preserve BOM in text tool round-trips ( #23797 )
2026-04-23 00:25:36 -04:00
Kit Langton
ad7ae7353f
refactor(core): derive all schema.ts leaves' .zod via effect-zod walker ( #23754 )
2026-04-21 22:51:18 -04:00
Kit Langton
0bcf734a67
migrate Snapshot schemas to Effect Schema ( #23747 )
2026-04-21 17:37:27 -04:00
Aiden Cline
2486621ca1
chore: kill unused tool ( #23701 )
2026-04-21 11:31:20 -04:00
Luke Parker
92c005866b
fix(core): use file:// URLs for local dynamic import() on Windows+Node ( #23639 )
2026-04-21 07:54:53 +00:00
Aiden Cline
8bc4f91fd9
fix: parallel edits sometimes would override each other ( #23483 )
2026-04-20 00:14:21 -05:00
opencode-agent[bot]
c5c38cad9c
chore: generate
2026-04-18 16:00:01 +00:00
Kit Langton
9918f389e7
fix: detect attachment mime from file contents ( #23291 )
2026-04-18 11:59:08 -04:00
Aiden Cline
9c16bd1e30
fix: make skills logic more token efficient ( #23253 )
2026-04-17 23:51:16 -05:00
rasdani
fde3d9133b
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
76a141090e
chore: delete filetime module ( #22999 )
2026-04-16 23:31:21 -05:00
Jason Quense
7b3bb9a761
fix: preserve plugin tool metadata in execute result ( #22827 )
...
Co-authored-by: jquense <jquense@ramp.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-16 21:38:21 -05:00
Kit Langton
5d47ea0918
refactor: unwrap ConfigMCP namespace + self-reexport ( #22948 )
2026-04-16 19:52:04 -04:00
opencode-agent[bot]
c8af8f96ce
chore: generate
2026-04-16 03:57:53 +00:00
Kit Langton
5011465c81
feat: unwrap tool namespaces to flat exports + barrel ( #22762 )
2026-04-16 03:56:54 +00:00
Kit Langton
8aa0f9fe95
feat: enable type-aware no-base-to-string rule, fix 56 violations ( #22750 )
2026-04-16 03:50:47 +00:00
Kit Langton
d4cfbd020d
feat: unwrap effect namespaces to flat exports + barrel ( #22745 )
2026-04-15 23:29:12 -04:00
Kit Langton
343a564183
feat: unwrap 11 util namespaces to flat exports + barrel ( #22739 )
2026-04-15 23:15:58 -04:00
Kit Langton
702f741267
feat: enable oxlint suspicious category, fix 24 violations ( #22727 )
2026-04-16 02:53:10 +00:00
Kit Langton
379e40d772
feat: unwrap InstanceState + EffectBridge namespaces to flat exports + barrel ( #22721 )
2026-04-16 02:45:45 +00:00
Kit Langton
cce05c1665
fix: clean up 49 unused variables, catch params, and stale imports ( #22695 )
2026-04-16 02:01:53 +00:00
Kit Langton
1d81335ab5
feat: unwrap Provider namespace + improved automation script ( #22690 )
2026-04-15 21:44:46 -04:00
Kit Langton
f7d4665e40
fix: resolve oxlint warnings — suppress false positives, remove unused imports ( #22687 )
2026-04-15 21:33:54 -04:00
Kit Langton
bbdbc107ae
feat: unwrap Config namespace to flat exports + barrel ( #22689 )
2026-04-15 21:26:24 -04:00
Aiden Cline
307251bf3c
fix: bash memory usage ( #22660 )
2026-04-15 20:09:06 -05:00
Kit Langton
3d6f90cb53
feat: add oxlint with correctness defaults ( #22682 )
2026-04-15 20:45:19 -04:00
Kit Langton
4dd0d1f67e
refactor(opencode): use AppFileSystem path helpers ( #22637 )
2026-04-15 19:36:30 -04:00
Ariane Emory
d2ea6700aa
fix(core): Remove dead code and documentation related to the obsolete list tool. ( #22672 )
2026-04-15 17:44:53 -05:00
Kit Langton
250e30bc7d
add experimental permission HttpApi slice ( #22385 )
2026-04-15 21:28:01 +00:00
Kit Langton
685d79e953
feat(opencode): trace tool execution spans ( #22531 )
2026-04-15 10:49:47 -04:00
Dax
be9432a893
shared package ( #22626 )
2026-04-15 14:26:20 +00:00
Dax Raad
627159acac
delete all e2e tests ( #22501 )
...
Cherry-picked from ea463e604c
2026-04-14 23:10:25 -04:00
Kit Langton
f2525a63c9
add experimental question HttpApi slice ( #22357 )
2026-04-14 19:43:49 +00:00
Dax Raad
6ce5c01b1a
ignore: v2 experiments
2026-04-14 14:25:38 -04:00
Kit Langton
4f967d5bc0
improve bash timeout retry hint ( #22390 )
2026-04-14 12:55:03 -04:00
Shoubhit Dash
d6840868d4
refactor(ripgrep): use embedded wasm backend ( #21703 )
2026-04-14 11:56:23 +05:30
Kit Langton
6a99079012
kit/env instance state ( #22383 )
2026-04-13 22:28:16 -04:00
Kit Langton
a06f40297b
fix grep exact file path searches ( #22356 )
2026-04-13 19:26:50 -04:00
Kit Langton
14ccff4037
refactor(agent): remove async facade exports ( #22341 )
2026-04-13 14:54:01 -04:00
Kit Langton
9ae8dc2d01
refactor: remove ToolRegistry runtime facade ( #22307 )
2026-04-13 11:09:32 -04:00
Kit Langton
6fdb8ab90d
refactor(file): add ripgrep search service ( #22295 )
2026-04-13 10:04:32 -04:00
Kit Langton
319b7655b7
refactor(tool): destroy Truncate facade, effectify Tool.define ( #22093 )
2026-04-11 21:20:12 -04:00
Kit Langton
5ee7edaf9e
refactor(tool): make Tool.Info init effectful ( #21989 )
2026-04-11 12:33:17 -04:00