@kortix/sandbox 0.4.4 → 0.4.6
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.
|
@@ -28,7 +28,7 @@ app.get('/kortix/health', async (c) => {
|
|
|
28
28
|
version = data.version || '0.0.0'
|
|
29
29
|
}
|
|
30
30
|
} catch {}
|
|
31
|
-
return c.json({ status: 'ok', version, build: '0.4.
|
|
31
|
+
return c.json({ status: 'ok', version, build: '0.4.6-ota-verified' })
|
|
32
32
|
})
|
|
33
33
|
|
|
34
34
|
// Update check — /kortix/update and /kortix/update/status
|
|
@@ -65,7 +65,7 @@ async function performUpdate(targetVersion: string): Promise<{
|
|
|
65
65
|
}> {
|
|
66
66
|
console.log(`[Update] Installing @kortix/sandbox@${targetVersion}...`);
|
|
67
67
|
|
|
68
|
-
const result = await run(`npm install -g @kortix/sandbox@${targetVersion} 2>&1`);
|
|
68
|
+
const result = await run(`sudo npm install -g @kortix/sandbox@${targetVersion} 2>&1`);
|
|
69
69
|
|
|
70
70
|
if (!result.ok) {
|
|
71
71
|
console.error('[Update] npm install failed:', result.output);
|