snow-ai 0.4.13 → 0.4.14

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.
Files changed (2) hide show
  1. package/dist/cli.js +2 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -36,10 +36,11 @@ let execAsync;
36
36
  // Check for updates asynchronously
37
37
  async function checkForUpdates(currentVersion) {
38
38
  try {
39
- const { stdout } = await execAsync('npm view snow-ai version', {
39
+ const { stdout } = await execAsync('npm view snow-ai version --registry https://registry.npmjs.org', {
40
40
  encoding: 'utf8',
41
41
  });
42
42
  const latestVersion = stdout.trim();
43
+ // Simple string comparison - force registry fetch ensures no cache issues
43
44
  if (latestVersion && latestVersion !== currentVersion) {
44
45
  console.log('\nšŸ”” Update available!');
45
46
  console.log(` Current version: ${currentVersion}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snow-ai",
3
- "version": "0.4.13",
3
+ "version": "0.4.14",
4
4
  "description": "Intelligent Command Line Assistant powered by AI",
5
5
  "license": "MIT",
6
6
  "bin": {