Kit Langton
a49b5adfbd
refactor(tool): migrate tool framework + all 18 built-in tools to Effect Schema ( #23293 )
2026-04-18 11:58:38 -04:00
Kit Langton
d6abb56f58
test(tool): pin every tool's parameters schema before migration
...
Pre-migration safety net for the upcoming tool-by-tool zod\u2192Schema
conversion. Every tool's parameters schema now has:
1. A JSON Schema snapshot (`z.toJSONSchema` with `io: "input"`) \u2014 this
captures exactly what the LLM sees at tool registration time, so any
drift caused by a future migration fails the snapshot.
2. Parse-accept/parse-reject assertions per tool pinning the
user-visible behavioural contract (required fields, refinement
bounds, enum membership, default values).
To make the snapshots possible without standing up each tool's full
Effect runtime, every tool file now exports its parameters schema as
`Parameters` at module scope:
- 9 tools already had a module-level const \u2014 just added `export`, and
standardised the name to `Parameters` (uppercase) where it was
previously `parameters`.
- 9 tools had their schema inline inside `Tool.define` \u2014 hoisted to
module scope under the same `Parameters` name and wired back through.
Zero behaviour change: Tool.define still sees the same schema, runtime
validation path is identical, SDK (types.gen.ts + openapi.json) is
byte-identical, and the full 2054-test suite passes.
18 JSON Schema snapshots and 43 explicit parse/reject assertions for the
18 built-in tools (apply_patch, bash, codesearch, edit, glob, grep,
invalid, lsp, multiedit, plan, question, read, skill, task, todo,
webfetch, websearch, write).
2026-04-18 00:01:50 -04:00
Dax Raad
2f73e73e9d
trace npm fully
2026-04-17 14:08:45 -04:00
Aiden Cline
76a141090e
chore: delete filetime module ( #22999 )
2026-04-16 23:31:21 -05:00
Dax
675a46e23e
CLI perf: reduce deps ( #22652 )
2026-04-16 02:03:03 -04:00
Kit Langton
5011465c81
feat: unwrap tool namespaces to flat exports + barrel ( #22762 )
2026-04-16 03:56:54 +00:00
Kit Langton
343a564183
feat: unwrap 11 util namespaces to flat exports + barrel ( #22739 )
2026-04-15 23:15:58 -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
Dax
be9432a893
shared package ( #22626 )
2026-04-15 14:26:20 +00:00
Dax Raad
6ce5c01b1a
ignore: v2 experiments
2026-04-14 14:25:38 -04:00
Kit Langton
68384613be
refactor(session): remove async facade exports ( #22471 )
2026-04-14 13:45:13 -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
a06f40297b
fix grep exact file path searches ( #22356 )
2026-04-13 19:26:50 -04:00
Kit Langton
c22e34853d
refactor(auth): remove async auth facade exports ( #22306 )
2026-04-13 12:31:43 -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
321bf1f8e1
refactor: finish small effect service adoption cleanups ( #22094 )
2026-04-13 09:17:13 -04:00
opencode-agent[bot]
c1ddc0ea2d
chore: generate
2026-04-12 01:21:17 +00: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
Kit Langton
3dd09147c2
refactor(tool): Tool.Context.metadata returns Effect ( #21972 )
2026-04-10 23:12:04 -04:00
Kit Langton
af8aff3788
refactor: make TaskPromptOps effectful ( #21971 )
2026-04-10 22:57:47 -04:00
opencode-agent[bot]
577139c626
chore: generate
2026-04-11 02:36:59 +00:00
Kit Langton
c5fb6281f0
refactor(tool): Tool.Def.execute returns Effect, rename defineEffect → define ( #21961 )
2026-04-10 22:36:02 -04:00
Kit Langton
5d6fe01465
convert skill tool to Tool.defineEffect ( #21936 )
2026-04-10 19:49:53 -04:00
Kit Langton
0556774097
refactor(tool): convert apply_patch to Tool.defineEffect ( #21938 )
2026-04-10 19:42:14 -04:00
Kit Langton
d9d5a0615e
refactor: break SessionPrompt/TaskTool cycle via ctx injection ( #21948 )
2026-04-10 19:36:13 -04:00
Kit Langton
d72ddd71fa
refactor(tool): convert grep tool to Tool.defineEffect ( #21937 )
2026-04-10 19:20:00 -04:00
opencode-agent[bot]
fb26308bc7
chore: generate
2026-04-10 21:12:22 +00:00
Kit Langton
b41fa8e318
refactor: convert edit tool to Tool.defineEffect ( #21904 )
2026-04-10 17:10:28 -04:00
Kit Langton
b139bc2ef3
refactor(tool): convert write tool to Tool.defineEffect ( #21901 )
2026-04-10 16:57:12 -04:00
opencode-agent[bot]
59d08683ea
chore: generate
2026-04-10 17:27:31 +00:00
Kit Langton
f7514d9eca
refactor(tool): convert bash to defineEffect with ChildProcessSpawner ( #21895 )
2026-04-10 13:26:31 -04:00
Kit Langton
e83404367c
refactor(tool): convert webfetch tool internals to Effect ( #21809 )
2026-04-10 10:50:13 -04:00
Kit Langton
17bd16667c
refactor(effect): move tool descriptions into registry ( #21795 )
2026-04-09 22:20:27 -04:00
Kit Langton
38f8714c09
refactor(effect): build task tool from agent services ( #21017 )
2026-04-08 19:02:19 -04:00
Aiden Cline
cd87d4f9d3
test: update webfetch test ( #21398 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2026-04-08 12:25:02 -05:00
Kit Langton
ae614d919f
fix(tui): simplify console org display ( #21339 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2026-04-07 21:03:24 -04:00
Dax
b7fab49b64
refactor(snapshot): store unified patches in file diffs ( #21244 )
...
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com >
2026-04-07 19:48:23 -04:00
Dax
463318486f
core: refactor tool system to remove agent context from initialization ( #21052 )
2026-04-07 19:48:12 -04:00
Aiden Cline
bc1840b196
fix(opencode): clear webfetch timeouts on failed fetches ( #21378 )
2026-04-07 20:46:02 +00:00
Kit Langton
c796b9a19e
refactor(effect): move read tool onto defineEffect ( #21016 )
2026-04-04 19:06:00 -04:00
Kit Langton
f2d4ced8ea
refactor(effect): build todowrite tool from Todo service ( #20789 )
...
Co-authored-by: Juan Pablo Carranza Hurtado <52012198+jpcarranza94@users.noreply.github.com >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-03 12:05:40 -04:00
Kit Langton
7994dce0f2
refactor(effect): resolve built tools through the registry ( #20787 )
2026-04-03 10:31:00 -04:00
opencode-agent[bot]
8daeacc989
chore: generate
2026-04-03 02:10:50 +00:00
Juan Pablo Carranza Hurtado
81d3ac3bf0
fix: prevent Tool.define() wrapper accumulation on object-defined tools ( #16952 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-02 22:09:53 -04:00
Kit Langton
e4ff1ea778
refactor(bash): use Effect ChildProcess for bash tool execution ( #20496 )
2026-04-01 19:48:47 -04:00