@cryptiklemur/lattice 1.46.0 → 1.46.1
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": "@cryptiklemur/lattice",
|
|
3
|
-
"version": "1.46.
|
|
3
|
+
"version": "1.46.1",
|
|
4
4
|
"description": "Multi-machine agentic dashboard for Claude Code. Monitor sessions, manage MCP servers and skills, orchestrate across mesh-networked nodes.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Aaron Scherer <me@aaronscherer.me>",
|
|
@@ -67,6 +67,7 @@ async function downloadBinaryUpdate(): Promise<{ success: boolean; message: stri
|
|
|
67
67
|
return { success: false, message: "Update downloaded but needs sudo to install. Run: sudo cp " + tmpPath + " " + execPath };
|
|
68
68
|
}
|
|
69
69
|
} else {
|
|
70
|
+
try { unlinkSync(execPath); } catch {}
|
|
70
71
|
copyFileSync(tmpPath, execPath);
|
|
71
72
|
chmodSync(execPath, 0o755);
|
|
72
73
|
unlinkSync(tmpPath);
|
package/server/src/index.ts
CHANGED
|
@@ -420,6 +420,7 @@ async function runUpdate(): Promise<void> {
|
|
|
420
420
|
execSync("sudo chmod +x " + JSON.stringify(process.execPath), { stdio: "inherit" });
|
|
421
421
|
} else {
|
|
422
422
|
var { copyFileSync: cpSync, unlinkSync: rmSync } = await import("node:fs");
|
|
423
|
+
try { rmSync(process.execPath); } catch {}
|
|
423
424
|
cpSync(tmpPath, process.execPath);
|
|
424
425
|
chmodSync(process.execPath, 0o755);
|
|
425
426
|
rmSync(tmpPath);
|