vibecodingmachine-core 2025.11.2-7.1302 → 2025.11.2-7.1345

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibecodingmachine-core",
3
- "version": "2025.11.27.1302",
3
+ "version": "2025.11.27.1345",
4
4
  "description": "Shared core logic for Vibe Coding Machine IDE integration",
5
5
  "main": "src/index.cjs",
6
6
  "module": "src/index.js",
@@ -33,6 +33,8 @@ function formatVersionTimestamp(versionString, date) {
33
33
  async function checkForElectronUpdates(currentVersion) {
34
34
  return new Promise((resolve, reject) => {
35
35
  const manifestUrl = `https://vibecodingmachine-website.s3.amazonaws.com/downloads/version.json?t=${Date.now()}`;
36
+ console.log(`🔍 [UPDATE CHECK] Current version: ${currentVersion}`);
37
+ console.log(`📡 [UPDATE CHECK] Fetching: ${manifestUrl}`);
36
38
 
37
39
  https.get(manifestUrl, (res) => {
38
40
  let data = '';
@@ -53,6 +55,8 @@ async function checkForElectronUpdates(currentVersion) {
53
55
  const manifest = JSON.parse(data);
54
56
  const latestVersion = manifest.version;
55
57
  const publishedDate = manifest.date;
58
+ console.log(`đŸ“Ļ [UPDATE CHECK] Latest version from S3: ${latestVersion}`);
59
+ console.log(`🔄 [UPDATE CHECK] Comparison: "${currentVersion}" !== "${latestVersion}" = ${currentVersion !== latestVersion}`);
56
60
 
57
61
  // Detect architecture and choose appropriate download URL
58
62
  const arch = process.arch; // 'arm64' or 'x64'
@@ -76,6 +80,8 @@ async function checkForElectronUpdates(currentVersion) {
76
80
  }
77
81
 
78
82
  if (latestVersion !== currentVersion) {
83
+ console.log(`✅ [UPDATE CHECK] Update available: ${currentVersion} → ${latestVersion}`);
84
+ console.log(`đŸ“Ĩ [UPDATE CHECK] Download URL: ${downloadUrl}`);
79
85
  resolve({
80
86
  hasUpdate: true,
81
87
  currentVersion,
@@ -87,6 +93,7 @@ async function checkForElectronUpdates(currentVersion) {
87
93
  downloadUrl
88
94
  });
89
95
  } else {
96
+ console.log(`â„šī¸ [UPDATE CHECK] No update available - already on latest version ${currentVersion}`);
90
97
  resolve({
91
98
  hasUpdate: false,
92
99
  currentVersion,
@@ -96,12 +103,13 @@ async function checkForElectronUpdates(currentVersion) {
96
103
  });
97
104
  }
98
105
  } catch (error) {
99
- console.error('Error parsing version manifest:', error);
106
+ console.error('❌ [UPDATE CHECK] Error parsing version manifest:', error);
107
+ console.error('[UPDATE CHECK] Raw data received:', data.substring(0, 200));
100
108
  resolve({ hasUpdate: false, currentVersion, error: error.message });
101
109
  }
102
110
  });
103
111
  }).on('error', (error) => {
104
- console.error('Error checking for Electron updates:', error);
112
+ console.error('❌ [UPDATE CHECK] Error fetching version manifest:', error);
105
113
  resolve({ hasUpdate: false, currentVersion, error: error.message });
106
114
  });
107
115
  });