free-coding-models 0.3.29 → 0.3.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/app.js +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "free-coding-models",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.30",
|
|
4
4
|
"description": "Find the fastest coding LLM models in seconds — ping free models from multiple providers, pick the best one for OpenCode, Cursor, or any AI coding assistant.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nvidia",
|
package/src/app.js
CHANGED
|
@@ -296,7 +296,6 @@ export async function runApp(cliArgs, config) {
|
|
|
296
296
|
// 📖 Replaces static openrouter entries in MODELS with fresh data.
|
|
297
297
|
// 📖 Fallback: if fetch fails, the static list from sources.js stays intact + warning shown.
|
|
298
298
|
const lastReleaseDate = await fetchLastReleaseDate()
|
|
299
|
-
state.lastReleaseDate = lastReleaseDate
|
|
300
299
|
const dynamicModels = await fetchOpenRouterFreeModels()
|
|
301
300
|
if (dynamicModels) {
|
|
302
301
|
// 📖 Remove all existing openrouter entries from MODELS
|
|
@@ -484,6 +483,9 @@ export async function runApp(cliArgs, config) {
|
|
|
484
483
|
customTextFilter: null, // 📖 Active free-text filter string (null = off). Matches model name, ctx, provider key/name.
|
|
485
484
|
}
|
|
486
485
|
|
|
486
|
+
// 📖 Apply the pre-fetched last release date now that state is initialized
|
|
487
|
+
state.lastReleaseDate = lastReleaseDate
|
|
488
|
+
|
|
487
489
|
// 📖 Re-clamp viewport on terminal resize
|
|
488
490
|
process.stdout.on('resize', () => {
|
|
489
491
|
const prevCols = state.terminalCols
|