free-coding-models 0.1.77 → 0.1.78
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/bin/free-coding-models.js +26 -22
- package/package.json +1 -1
|
@@ -2797,31 +2797,35 @@ async function main() {
|
|
|
2797
2797
|
// Silently fail - don't block the app if npm registry is unreachable
|
|
2798
2798
|
}
|
|
2799
2799
|
|
|
2800
|
-
// 📖
|
|
2800
|
+
// 📖 Auto-update system: force updates and handle changelog automatically
|
|
2801
2801
|
if (latestVersion) {
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
}
|
|
2816
|
-
|
|
2817
|
-
}
|
|
2818
|
-
execSync(`xdg-open "${changelogUrl}"`, { stdio: 'ignore' })
|
|
2819
|
-
}
|
|
2820
|
-
} catch {
|
|
2821
|
-
console.log(chalk.dim(` Could not open browser. Visit: ${changelogUrl}`))
|
|
2802
|
+
console.log()
|
|
2803
|
+
console.log(chalk.bold.red(' ⚠ AUTO-UPDATE AVAILABLE'))
|
|
2804
|
+
console.log(chalk.red(` Version ${latestVersion} will be installed automatically`))
|
|
2805
|
+
console.log(chalk.dim(' Opening changelog in browser...'))
|
|
2806
|
+
console.log()
|
|
2807
|
+
|
|
2808
|
+
// 📖 Open changelog automatically
|
|
2809
|
+
const { execSync } = require('child_process')
|
|
2810
|
+
const changelogUrl = 'https://github.com/vava-nessa/free-coding-models/releases'
|
|
2811
|
+
try {
|
|
2812
|
+
if (isMac) {
|
|
2813
|
+
execSync(`open "${changelogUrl}"`, { stdio: 'ignore' })
|
|
2814
|
+
} else if (isWindows) {
|
|
2815
|
+
execSync(`start "" "${changelogUrl}"`, { stdio: 'ignore' })
|
|
2816
|
+
} else {
|
|
2817
|
+
execSync(`xdg-open "${changelogUrl}"`, { stdio: 'ignore' })
|
|
2822
2818
|
}
|
|
2819
|
+
console.log(chalk.green(' ✅ Changelog opened in browser'))
|
|
2820
|
+
} catch {
|
|
2821
|
+
console.log(chalk.yellow(' ⚠ Could not open browser automatically'))
|
|
2822
|
+
console.log(chalk.dim(` Visit manually: ${changelogUrl}`))
|
|
2823
2823
|
}
|
|
2824
|
-
|
|
2824
|
+
|
|
2825
|
+
// 📖 Force update immediately
|
|
2826
|
+
console.log(chalk.cyan(' 🚀 Starting auto-update...'))
|
|
2827
|
+
runUpdate(latestVersion)
|
|
2828
|
+
return // runUpdate will restart the process
|
|
2825
2829
|
}
|
|
2826
2830
|
|
|
2827
2831
|
// 📖 Build results from MODELS — only include enabled providers
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "free-coding-models",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.78",
|
|
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",
|