decolua
d3f61aac2f
refactor(open-sse): translator DRY + schema enums, bug fixes, dead code cleanup
- Bug B1-B7: media UI m.kind||m.type, serviceKinds, gemini mediaPriority, schema kind, models/info lookup by kind
- Dead code D1-D6: safeParseJSON, drop PROVIDER_ENDPOINTS, orphan fetcher, GITHUB_CONFIG derive, getProviderConfig internal, legacy kiro file
- Translator concerns: toOpenAIUsage, toOpenAIFinish (gemini/kiro/ollama + fix kiro tool finish), thinking effort maps
- Reorg helpers/ → concerns/ (logic) + formats/ (per-format) + schema/ (pure enums: roles/blocks/finishReasons/defaults)
- Wire ~280 hardcoded role/block/finish/default literals to schema enums across 20+ files
- collapseTextParts + extractTextContent dedup
- Normalize translator fn names to openaiToXRequest / xToOpenAIResponse
- Golden tests lock behavior; 0 regression (byte-for-byte providers/alias, 26=26 known fails)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-14 18:49:38 +07:00
..
2026-04-17 12:15:10 +07:00
2026-06-06 10:48:14 +07:00
2026-06-14 13:15:48 +07:00
2026-06-14 13:15:48 +07:00
2026-06-14 13:15:48 +07:00
2026-05-16 10:54:41 +07:00
2026-05-16 10:54:41 +07:00
2026-06-06 12:54:01 +07:00
2026-03-30 16:27:28 +07:00
2026-04-17 12:15:10 +07:00
2026-06-06 11:04:36 +07:00
2026-05-01 16:36:36 +07:00
2026-06-14 18:49:38 +07:00
2026-05-07 16:17:03 +07:00
2026-05-21 09:52:30 +07:00
2026-05-21 11:33:18 +07:00
2026-05-09 17:48:20 +07:00
2026-05-09 17:48:20 +07:00
2026-05-09 22:48:07 +07:00
2026-05-09 17:48:20 +07:00
2026-05-09 17:48:20 +07:00
2026-02-18 13:24:02 +07:00
2026-06-13 10:54:51 +07:00
2026-06-13 22:05:01 +07:00
2026-05-26 11:23:47 +07:00
2026-05-29 15:40:42 +07:00
2026-06-02 21:14:36 +08:00
2026-06-13 10:54:51 +07:00
2026-06-06 10:31:39 +07:00
2026-06-13 11:43:18 +07:00
2026-05-13 15:34:10 +07:00
2026-06-06 10:01:05 +07:00
2026-05-13 15:34:10 +07:00
2026-06-14 13:15:48 +07:00
2026-06-03 01:53:34 +08:00
2026-06-14 18:49:38 +07:00
2026-02-20 15:07:43 +07:00
2026-06-06 16:07:43 +07:00
2026-05-26 11:33:38 +07:00
2026-06-06 12:54:01 +07:00
2026-06-14 18:49:38 +07:00
2026-06-14 18:49:38 +07:00
2026-04-22 11:58:53 +07:00
2026-06-14 13:15:48 +07:00
2026-06-06 10:01:05 +07:00
2026-06-06 10:01:05 +07:00
2026-06-02 21:14:36 +08:00
2026-03-16 09:21:05 +07:00
2026-06-06 10:44:37 +07:00
2026-06-06 12:25:12 +07:00
2026-06-06 16:07:43 +07:00
2026-04-22 15:36:51 +07:00
2026-04-22 15:36:51 +07:00
2026-04-22 15:36:51 +07:00
2026-05-17 15:13:37 +07:00
2026-06-13 21:32:52 +07:00
2026-06-14 18:49:38 +07:00
2026-06-14 18:49:38 +07:00
2026-06-13 21:46:13 +07:00
2026-04-22 11:58:53 +07:00
2026-05-21 11:33:18 +07:00
2026-05-21 11:33:18 +07:00