@sigmashake/ssg 0.29.18 → 0.29.20

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.
Files changed (2) hide show
  1. package/bin/ssg.cjs +6 -1
  2. package/package.json +9 -7
package/bin/ssg.cjs CHANGED
@@ -49,7 +49,11 @@ if (binaryPath) {
49
49
  const env = { ...process.env, SSG_PUBLIC_DIR: path.resolve(__dirname, '..', 'public') };
50
50
  if (hookBinPath) env['SSG_HOOK_FAST_BIN'] = hookBinPath;
51
51
  if (evalServerBinPath) env['SSG_EVAL_SERVER_BIN'] = evalServerBinPath;
52
- const result = spawnSync(binaryPath, process.argv.slice(2), {stdio: 'inherit', env});
52
+ const result = spawnSync(binaryPath, process.argv.slice(2), {
53
+ stdio: 'inherit',
54
+ env,
55
+ windowsHide: true,
56
+ });
53
57
  process.exit(result.status ?? 1);
54
58
  }
55
59
 
@@ -83,5 +87,6 @@ if (!bunPath) {
83
87
  const result = spawnSync(bunPath, [src, ...process.argv.slice(2)], {
84
88
  stdio: 'inherit',
85
89
  env: process.env,
90
+ windowsHide: true,
86
91
  });
87
92
  process.exit(result.status ?? 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sigmashake/ssg",
3
- "version": "0.29.18",
3
+ "version": "0.29.20",
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.17",
18
- "@sigmashake/ssg-linux-arm64": "0.29.17",
19
- "@sigmashake/ssg-darwin-arm64": "0.29.17",
20
- "@sigmashake/ssg-darwin-x64": "0.29.17",
21
- "@sigmashake/ssg-win32-x64": "0.29.17"
17
+ "@sigmashake/ssg-linux-x64": "0.29.19",
18
+ "@sigmashake/ssg-linux-arm64": "0.29.19",
19
+ "@sigmashake/ssg-darwin-arm64": "0.29.19",
20
+ "@sigmashake/ssg-darwin-x64": "0.29.19",
21
+ "@sigmashake/ssg-win32-x64": "0.29.20"
22
22
  },
23
23
  "scripts": {
24
24
  "postinstall": "node ./bin/cleanup-globals.cjs",
@@ -29,9 +29,11 @@
29
29
  "build:linux": "bun build --compile --target=bun-linux-x64 src/cli.ts --outfile dist/ssg-linux-x64",
30
30
  "build:macos-arm64": "bun build --compile --target=bun-darwin-arm64 src/cli.ts --outfile dist/ssg-darwin-arm64",
31
31
  "build:macos-x64": "bun build --compile --target=bun-darwin-x64 src/cli.ts --outfile dist/ssg-darwin-x64",
32
+ "build:macos-universal": "bun run build:macos-arm64 && bun run build:macos-x64 && lipo -create dist/ssg-darwin-arm64 dist/ssg-darwin-x64 -output dist/ssg-darwin-universal && file dist/ssg-darwin-universal",
32
33
  "build:windows": "bun build --compile --target=bun-windows-x64 src/cli.ts --outfile dist/ssg-win32-x64.exe",
34
+ "build:windows-hookw": "bun build --compile --windows-hide-console --target=bun-windows-x64 src/cli.ts --outfile dist/ssg-hookw-win32-x64.exe && bun run scripts/patch-pe-subsystem.ts dist/ssg-hookw-win32-x64.exe",
33
35
  "build:linux-arm64": "bun build --compile --target=bun-linux-arm64 src/cli.ts --outfile dist/ssg-linux-arm64",
34
- "build:all": "bun run build:linux && bun run build:linux-arm64 && bun run build:macos-arm64 && bun run build:macos-x64 && bun run build:windows",
36
+ "build:all": "bun run build:linux && bun run build:linux-arm64 && bun run build:macos-arm64 && bun run build:macos-x64 && bun run build:windows && bun run build:windows-hookw",
35
37
  "build:protected:all": "bash ../sigmashake-dist/scripts/build-protected.sh",
36
38
  "pub:platforms": "bash ../sigmashake-dist/scripts/publish-platforms.sh",
37
39
  "prepublishOnly": "bash ../sigmashake-dist/scripts/prepublish-guard.sh",