Implement session cache upgrade phase 1 foundation

This commit is contained in:
hugo committed 2026-03-20 08:35:37 +01:00
1 parent 41199cb9bc
commit e98e5fd88b
14 files changed
+552 -34

No files matched your search

+3 -3
View File
@@ -2558,9 +2558,9 @@ Each step should be independently buildable and testable.
### Phase 1: Foundation (no behavior change yet)
1. **`CancellationToken.swift`** — Standalone utility, no dependencies. Write + unit test.
2. **`ImageDecoder.swift`** — Extract from APIServer. Mechanical move.
3. **`StreamingSSEEncoder.swift`** — Standalone, testable in isolation. Verify JSON output matches current `JSONEncoder` output.
1. [x] **`CancellationToken.swift`** — Standalone utility, no dependencies. Write + unit test.
2. [x] **`ImageDecoder.swift`** — Extract from APIServer. Mechanical move.
3. [x] **`StreamingSSEEncoder.swift`** — Standalone, testable in isolation. Verify JSON output matches current `JSONEncoder` output.
### Phase 2: Core Engine