cloudaxe-opencode/packages/opencode/test/lib
Kit Langton 537cc32bf0 test: migrate processor tests to HTTP mock LLM server
Replace the custom TestLLM Effect service with the real LLM layer +
TestLLMServer HTTP mock. Tests now exercise the full HTTP→SSE→AI SDK
pipeline instead of injecting Effect streams directly.

- Extend TestLLMServer with usage support on text responses and
  httpError step type for non-200 responses
- Drop reasoning test (can't produce reasoning events via
  @ai-sdk/openai-compatible SSE)
- 9 tests pass, covering: text capture, token overflow, error retry,
  structured errors, context overflow, abort/interrupt cleanup
2026-03-31 19:21:27 -04:00
..
effect.ts refactor: propagate Instance context through Effect fibers via InstanceRef 2026-03-31 16:42:16 -04:00
filesystem.ts refactor(truncation): effectify TruncateService, delete Scheduler (#17957) 2026-03-17 21:59:54 -04:00
llm-server.ts test: migrate processor tests to HTTP mock LLM server 2026-03-31 19:21:27 -04:00