@cryptiklemur/lattice 1.45.0 → 1.45.2
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/lattice +7 -1
- package/package.json +3 -2
- package/scripts/postinstall.js +19 -0
package/bin/lattice
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
set -e
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
SOURCE="${BASH_SOURCE[0]}"
|
|
5
|
+
while [ -L "$SOURCE" ]; do
|
|
6
|
+
DIR="$(cd "$(dirname "$SOURCE")" && pwd)"
|
|
7
|
+
SOURCE="$(readlink "$SOURCE")"
|
|
8
|
+
[[ "$SOURCE" != /* ]] && SOURCE="$DIR/$SOURCE"
|
|
9
|
+
done
|
|
10
|
+
SCRIPT_DIR="$(cd "$(dirname "$SOURCE")" && pwd)"
|
|
5
11
|
ENTRY="$SCRIPT_DIR/../server/src/index.ts"
|
|
6
12
|
|
|
7
13
|
if command -v bun >/dev/null 2>&1; then
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cryptiklemur/lattice",
|
|
3
|
-
"version": "1.45.
|
|
3
|
+
"version": "1.45.2",
|
|
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>",
|
|
@@ -31,7 +31,8 @@
|
|
|
31
31
|
"lint": "bun run --filter '*' lint",
|
|
32
32
|
"typecheck": "bunx tsc --noEmit -p tsconfig.json",
|
|
33
33
|
"build:binary": "bun scripts/build-binary.ts",
|
|
34
|
-
"build:binary:all": "bun scripts/build-binary.ts --all"
|
|
34
|
+
"build:binary:all": "bun scripts/build-binary.ts --all",
|
|
35
|
+
"postinstall": "node scripts/postinstall.js"
|
|
35
36
|
},
|
|
36
37
|
"workspaces": [
|
|
37
38
|
"shared",
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
var fs = require("fs");
|
|
2
|
+
var path = require("path");
|
|
3
|
+
|
|
4
|
+
var root = path.join(__dirname, "..");
|
|
5
|
+
var nmDir = path.join(root, "node_modules", "@lattice");
|
|
6
|
+
|
|
7
|
+
try { fs.mkdirSync(nmDir, { recursive: true }); } catch {}
|
|
8
|
+
|
|
9
|
+
["shared", "server", "client"].forEach(function (pkg) {
|
|
10
|
+
var target = path.join(nmDir, pkg);
|
|
11
|
+
var source = path.join(root, pkg);
|
|
12
|
+
try {
|
|
13
|
+
fs.lstatSync(target);
|
|
14
|
+
} catch {
|
|
15
|
+
try {
|
|
16
|
+
fs.symlinkSync(source, target, "dir");
|
|
17
|
+
} catch {}
|
|
18
|
+
}
|
|
19
|
+
});
|