mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-03 05:12:10 +03:00
The 1proxy marketplace integration was decommissioned in v3.8.4; the code survived only through the localDb barrel, deleted in #12055. Everything below had zero consumers (grep-proven across src/, open-sse/, bin/, electron/, scripts/ and tests/): - src/lib/oneproxySync.ts and src/lib/oneproxyRotator.ts deleted. - src/lib/db/oneproxy.ts: upsertOneproxyProxy, getOneproxyProxyById, getOneproxyProxyForRotation and markOneproxyProxyFailed removed (their only consumers were the two deleted modules); listOneproxyProxies and the record interface stay — open-sse/utils/proxyFallback.ts still uses them. - src/shared/validation/oneproxySchemas.ts and the unmounted settings/components/OneproxyTab.tsx deleted (no importer anywhere; the live UI is the FreePool* tabs over /api/settings/free-proxies). - ONEPROXY_ENABLED feature flag removed (readerless since oneproxySync died — the toggle no longer controlled anything); flag-count contract test aligned 54 → 53. - Docs: PROXY_GUIDE (component rows, env rows, the three omniroute/ oneproxyRotator snippet sections), CODEBASE_DOCUMENTATION, REPOSITORY_MAP, ENVIRONMENT (ONEPROXY_* rows), FEATURE_FLAGS, .env.example — canonical + pl/zh-CN/zh-TW mirrors. - The 308 compat redirects under /api/settings/oneproxy/ stay (deliberate API compat), as do the live free-proxy provider and proxy_registry rows. check:dead-code drops 424 → 417 (baseline kept at the velocity-phase 500 — banking shrinks is paused until v4.0, headroom grows to 16.6%). check:docs-all, check:env-doc-sync, typecheck:core and the 8 free-proxy/ proxy-fallback test files are green. Closes #12091