cloudaxe-opencode/packages/opencode/test/tool
LukeParkerDev 25551172c9 fix(shell): avoid abort hangs and utf8 corruption
Attach shell process listeners before handling already-aborted tool signals so canceled runs always settle, and decode shell output as UTF-8 to preserve multibyte characters across chunk boundaries. Also lazy-load shell-specific parsers and hoist command sets so parsing work stays focused on the active shell.
2026-04-03 16:04:41 +10:00
..
__snapshots__ chore: fix test to have deterministic testing (#1401) 2025-07-29 17:54:22 -05:00
fixtures test: update model test fixture (#20182) 2026-03-31 16:20:01 +00:00
apply_patch.test.ts feat(id): brand WorkspaceID through Drizzle and Zod schemas (#16964) 2026-03-11 23:30:17 +00:00
edit.test.ts effectify Bus service: migrate to Effect PubSub + InstanceState (#18579) 2026-03-25 20:19:24 -04:00
external-directory.test.ts feat(windows): add first-class pwsh/powershell support (#16069) 2026-03-30 13:10:01 +10:00
grep.test.ts feat(id): brand WorkspaceID through Drizzle and Zod schemas (#16964) 2026-03-11 23:30:17 +00:00
question.test.ts feat(id): brand WorkspaceID through Drizzle and Zod schemas (#16964) 2026-03-11 23:30:17 +00:00
read.test.ts feat(windows): add first-class pwsh/powershell support (#16069) 2026-03-30 13:10:01 +10:00
registry.test.ts Move service state into InstanceState, flatten service facades (#18483) 2026-03-21 04:51:35 +00:00
shell.test.ts fix(shell): avoid abort hangs and utf8 corruption 2026-04-03 16:04:41 +10:00
skill.test.ts Move service state into InstanceState, flatten service facades (#18483) 2026-03-21 04:51:35 +00:00
task.test.ts Move service state into InstanceState, flatten service facades (#18483) 2026-03-21 04:51:35 +00:00
tool-define.test.ts chore: generate 2026-04-03 02:10:50 +00:00
truncation.test.ts test: migrate prompt tests to HTTP mock LLM server (#20304) 2026-03-31 19:14:32 -04:00
webfetch.test.ts feat(id): brand WorkspaceID through Drizzle and Zod schemas (#16964) 2026-03-11 23:30:17 +00:00
write.test.ts Move service state into InstanceState, flatten service facades (#18483) 2026-03-21 04:51:35 +00:00