@sigmashake/ssg 0.29.98 → 0.29.100
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/ssg.cjs +14 -1
- package/package.json +6 -6
- package/public/assets/app.js +4 -4
package/bin/ssg.cjs
CHANGED
|
@@ -15,10 +15,23 @@ let binaryPath;
|
|
|
15
15
|
// 1. Try platform-specific optional dependency (canonical npm install path).
|
|
16
16
|
// This is checked first so a freshly-installed platform binary always wins over
|
|
17
17
|
// any stale root-level binary that may have survived from a manual build.
|
|
18
|
+
//
|
|
19
|
+
// Resolve from the global root explicitly so a freshly-installed top-level
|
|
20
|
+
// @sigmashake/ssg-<platform>-<arch> wins over a stale nested copy under
|
|
21
|
+
// @sigmashake/ssg/node_modules/. Without { paths: [...] }, Node's default
|
|
22
|
+
// resolution walks UP from this script and picks the nested copy first —
|
|
23
|
+
// which is whatever the published coordinator's optionalDependencies pinned
|
|
24
|
+
// at publish time. If a promote-main race shipped main with stale platform
|
|
25
|
+
// pins (see 0.29.99 postmortem in promote-main.sh), ssg update can recover
|
|
26
|
+
// by installing the platform pkg directly at the global root; this path
|
|
27
|
+
// option ensures the launcher actually picks it up.
|
|
18
28
|
let hookBinPath;
|
|
19
29
|
let evalServerBinPath;
|
|
20
30
|
try {
|
|
21
|
-
const
|
|
31
|
+
const globalRoot = path.resolve(__dirname, "..", "..", "..");
|
|
32
|
+
const pkgRoot = path.dirname(
|
|
33
|
+
require.resolve(`${platformPkg}/package.json`, { paths: [globalRoot] }),
|
|
34
|
+
);
|
|
22
35
|
const candidate = path.join(pkgRoot, "bin", `ssg${ext}`);
|
|
23
36
|
if (fs.existsSync(candidate)) binaryPath = candidate;
|
|
24
37
|
const hookCandidate = path.join(pkgRoot, "bin", `ssg-hook-fast${ext}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sigmashake/ssg",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.100",
|
|
4
4
|
"description": "AI Agent Governance CLI — evaluate tool calls against rules, block dangerous operations, and surface blocked commands",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"type": "module",
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"README.md"
|
|
15
15
|
],
|
|
16
16
|
"optionalDependencies": {
|
|
17
|
-
"@sigmashake/ssg-linux-x64": "0.29.
|
|
18
|
-
"@sigmashake/ssg-linux-arm64": "0.29.
|
|
19
|
-
"@sigmashake/ssg-darwin-arm64": "0.29.
|
|
20
|
-
"@sigmashake/ssg-darwin-x64": "0.29.
|
|
21
|
-
"@sigmashake/ssg-win32-x64": "0.29.
|
|
17
|
+
"@sigmashake/ssg-linux-x64": "0.29.100",
|
|
18
|
+
"@sigmashake/ssg-linux-arm64": "0.29.100",
|
|
19
|
+
"@sigmashake/ssg-darwin-arm64": "0.29.98",
|
|
20
|
+
"@sigmashake/ssg-darwin-x64": "0.29.98",
|
|
21
|
+
"@sigmashake/ssg-win32-x64": "0.29.99"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"postinstall": "node ./bin/cleanup-globals.cjs",
|