
decoluaandCursor
fbf973f2e7
refactor(app): DRY pass — split large files, extract shared utils
S1: delete page.new.js (1724L abandoned) + remove dead getAntigravityProjectId
S2: split large files by natural seams
- usage.js → usage/{github,google,claude,codex,kiro,minimax,misc,shared}.js
- media-providers page → components/{Embedding,Tts,Generic,Stt}ExampleCard.js
- EndpointPageClient → endpointConstants.js + endpointPing.js + components/
- tokenRefresh.js → tokenRefresh/{dedup,providers}.js
- ProviderLimits/index.js: 16 pure fn + 9 constants → utils.js
- oauth/providers.js: 7 pure helpers → providerHelpers.js
S3: shared utils
- getModelKind(m, fallback) → shared/constants/models.js (replaces 20× m.kind||m.type)
- getStatusVariant → shared/utils/connectionStatus.js (dedup ConnectionRow/ConnectionsCard)
- sseChunk → open-sse/utils/sse.js (dedup grok-web/perplexity-web)
- fetchWithTimeout → usage/shared.js (replace 4× AbortController pattern in google.js)
fix: enableObservability2 field name in requestDetailsRepo
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-14 19:31:09 +07:00
..
2026-06-08 12:10:02 +07:00
2026-06-08 15:35:37 +07:00
2026-04-28 17:28:57 +07:00
2026-05-21 14:30:59 +07:00
2026-05-16 10:54:41 +07:00
2026-03-06 16:44:16 +07:00
2026-03-06 10:57:42 +07:00
2026-06-08 15:35:37 +07:00
2026-05-13 15:34:10 +07:00
2026-06-03 01:53:34 +08:00
2026-06-08 10:08:46 +07:00
2026-01-09 17:48:42 +07:00
2026-04-25 16:22:30 +07:00
2026-06-14 18:49:38 +07:00
2026-05-26 11:21:49 +07:00
2026-06-13 11:40:35 +07:00
2026-04-08 15:39:09 +07:00
2026-01-05 09:58:59 +07:00
2026-06-06 11:04:36 +07:00
2026-06-08 10:14:59 +07:00
2026-06-06 11:04:36 +07:00
2026-06-14 19:31:09 +07:00
2026-04-30 18:00:38 +07:00
2026-05-09 22:48:07 +07:00