[codex] Extract API provider storage#452
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Greptile SummaryThis PR extracts persisted AI provider settings, key helpers, model selectors, display-cache reads, and Venice E2EE state from
Confidence Score: 5/5Safe to merge — this is a pure code-organisation refactoring with no logic changes and full backward-compatible re-exports. Every previously public function is re-exported through api.js unchanged, the service worker cache is updated, and the tests have been correctly redirected to the new module without introducing coverage gaps. No files require special attention. Important Files Changed
Reviews (2): Last reviewed commit: "Tighten Venice E2EE source assertion" | Re-trigger Greptile |
Summary
js/api-provider-storage.js.js/api.jswhile re-exporting the same public API.version.jsto1.8.278.Validation
node tests/test-openrouter.jsnode tests/test-custom-api.jsnode tests/test-venice-e2ee.jsnode tests/test-audit.js./run-tests.shnode -e "import('./tests/_node-shim.js').then(()=>import('./js/api.js')).then(()=>console.log('api import ok')).catch(e=>{console.error(e); process.exit(1)})"node tests/test-audit.jsgit diff --check