Files
anomalyco_opencode/packages/opencode/src
Kit Langton 95908b4631 refactor(session): convert SessionProcessor to Effect internals
Replace the while(true) + for-await + try/catch pattern with:
- Stream.fromAsyncIterable + Stream.runForEachWhile for event consumption
- Recursive Effect for retry logic (preserves SessionRetry.delay backoff)
- Effect.ensuring for cleanup guarantees
- Effect.catch for error classification

process() still returns Promise externally (via Effect.runPromise) so
callers don't change. Event handling and cleanup logic unchanged.
2026-03-27 23:24:16 -04:00
..
2026-03-27 15:00:26 +01:00
2026-03-27 15:00:26 +01:00
2026-03-27 15:00:26 +01:00
2026-03-27 21:38:08 +00:00
2026-03-27 01:47:36 +00:00
2026-03-27 15:24:30 -05:00
2026-03-27 01:47:36 +00:00
2026-03-25 14:48:44 +00:00
2026-03-27 15:00:26 +01:00
2026-03-27 15:00:26 +01:00
2026-03-27 15:00:26 +01:00
2026-03-27 15:00:26 +01:00
2026-02-14 04:19:02 +00:00