cloudaxe-opencode/packages/opencode/test/tool
Kit Langton 82b13ca184 effect(util): make Process.run/text/lines return Effect
Migrate the run/text/lines helpers in util/process.ts to Effect-returning
functions that yield ChildProcessSpawner and use ChildProcess.make
internally. The legacy Promise-based behaviour stays available under
runPromise/textPromise/linesPromise for non-Effect callers; these are
thin wrappers over the original spawn() path so AbortSignal and timeout
semantics are preserved.

server.ts now runs Process.run/Process.text through a private
ManagedRuntime backed by CrossSpawnSpawner.defaultLayer and the shared
memoMap, since LSP.spawn callbacks execute inside Effect.promise blocks.

Other Process.run/text/lines call sites are renamed to the *Promise
variants and otherwise left untouched for follow-up migrations.
2026-05-12 16:31:38 -04:00
..
__snapshots__ Remove effect-zod bridge (#26956) 2026-05-11 21:14:55 -04:00
fixtures test: update model test fixture (#20182) 2026-03-31 16:20:01 +00:00
apply_patch.test.ts chore: generate 2026-05-12 16:46:35 +00:00
edit.test.ts test(tool): migrate edit concurrency test (#26983) 2026-05-12 11:52:31 -04:00
external-directory.test.ts chore: generate 2026-05-12 18:52:25 +00:00
glob.test.ts feat(scout): materialize configured reference repos (#26692) 2026-05-10 17:57:11 +05:30
grep.test.ts fix: grep external directory permission evaluation (#26958) 2026-05-11 21:47:35 -05:00
lsp.test.ts Source HTTP API ID path patterns (#26623) 2026-05-09 22:58:47 -04:00
parameters.test.ts Remove effect-zod bridge (#26956) 2026-05-11 21:14:55 -04:00
question.test.ts Source HTTP API ID path patterns (#26623) 2026-05-09 22:58:47 -04:00
read.test.ts feat(scout): materialize configured reference repos (#26692) 2026-05-10 17:57:11 +05:30
registry.test.ts refactor(core): resolve default agent info (#27125) 2026-05-13 01:08:30 +05:30
repo_clone.test.ts Source HTTP API ID path patterns (#26623) 2026-05-09 22:58:47 -04:00
repo_overview.test.ts Source HTTP API ID path patterns (#26623) 2026-05-09 22:58:47 -04:00
shell.test.ts chore: generate 2026-05-12 13:31:03 +00:00
skill.test.ts Source HTTP API ID path patterns (#26623) 2026-05-09 22:58:47 -04:00
task.test.ts fix(session): cancel subtask child sessions (#25798) 2026-05-04 22:36:06 -04:00
tool-define.test.ts test(tool): migrate tool define tests to Effect runner (#27097) 2026-05-12 16:42:19 +00:00
truncation.test.ts effect(util): make Process.run/text/lines return Effect 2026-05-12 16:31:38 -04:00
webfetch.test.ts Source HTTP API ID path patterns (#26623) 2026-05-09 22:58:47 -04:00
websearch.test.ts chore: generate 2026-05-08 08:50:42 +00:00
write.test.ts Source HTTP API ID path patterns (#26623) 2026-05-09 22:58:47 -04:00