vibecodingmachine-cli 2025.11.2-7.725 ā 2025.11.2-7.855
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/vibecodingmachine.js +7 -2
- package/package.json +1 -1
package/bin/vibecodingmachine.js
CHANGED
|
@@ -225,8 +225,10 @@ process.on('unhandledRejection', (error) => {
|
|
|
225
225
|
// Check for updates and display notification
|
|
226
226
|
async function checkForUpdates() {
|
|
227
227
|
try {
|
|
228
|
-
const { checkForCLIUpdates } = require('
|
|
228
|
+
const { checkForCLIUpdates } = require('vibecodingmachine-core');
|
|
229
|
+
console.log(chalk.gray(`\nš Checking for updates... (current: v${packageJson.version})`));
|
|
229
230
|
const updateInfo = await checkForCLIUpdates(packageJson.version);
|
|
231
|
+
console.log(chalk.gray(` Update check result: ${JSON.stringify(updateInfo)}\n`));
|
|
230
232
|
|
|
231
233
|
if (updateInfo.hasUpdate) {
|
|
232
234
|
// Store update info globally for when auto mode starts
|
|
@@ -264,9 +266,12 @@ async function checkForUpdates() {
|
|
|
264
266
|
} else {
|
|
265
267
|
console.log(chalk.gray(' You can update later with: ') + chalk.bold.white('npm install -g vibecodingmachine-cli@latest\n'));
|
|
266
268
|
}
|
|
269
|
+
} else {
|
|
270
|
+
console.log(chalk.gray(' No updates available - you have the latest version!\n'));
|
|
267
271
|
}
|
|
268
272
|
} catch (error) {
|
|
269
|
-
//
|
|
273
|
+
// Show error but don't block CLI usage
|
|
274
|
+
console.log(chalk.yellow(`\nā ļø Update check failed: ${error.message}\n`));
|
|
270
275
|
}
|
|
271
276
|
}
|
|
272
277
|
|