@sigmashake/ssg 0.29.99 → 0.29.101

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 CHANGED
@@ -15,17 +15,40 @@ 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
+ // Resolution order:
20
+ // a) global root (e.g. /usr/local/lib/node_modules) — lets `npm i -g
21
+ // @sigmashake/ssg-<plat>-<arch>@latest` install at the top level and
22
+ // override a stale nested platform pkg. Recovery path for promote-main
23
+ // races (see 0.29.99 / 0.29.100 postmortems) where the coordinator's
24
+ // optionalDependencies pin an older platform version than what's on npm.
25
+ // b) default (walks UP from __dirname) — finds the nested copy at
26
+ // @sigmashake/ssg/node_modules/@sigmashake/ssg-<plat>-<arch>. Required
27
+ // because npm does NOT always hoist optionalDependencies of a globally
28
+ // installed pkg; if (a) misses we MUST find the nested copy or the
29
+ // launcher falls through to step 4 and errors on the missing src/cli.ts.
18
30
  let hookBinPath;
19
31
  let evalServerBinPath;
20
- try {
21
- const pkgRoot = path.dirname(require.resolve(`${platformPkg}/package.json`));
22
- const candidate = path.join(pkgRoot, "bin", `ssg${ext}`);
23
- if (fs.existsSync(candidate)) binaryPath = candidate;
24
- const hookCandidate = path.join(pkgRoot, "bin", `ssg-hook-fast${ext}`);
25
- if (fs.existsSync(hookCandidate)) hookBinPath = hookCandidate;
26
- const sidecarCandidate = path.join(pkgRoot, "bin", `ssg-eval-server${ext}`);
27
- if (fs.existsSync(sidecarCandidate)) evalServerBinPath = sidecarCandidate;
28
- } catch {}
32
+ {
33
+ const globalRoot = path.resolve(__dirname, "..", "..", "..");
34
+ let pkgRoot;
35
+ for (const opts of [{ paths: [globalRoot] }, undefined]) {
36
+ try {
37
+ pkgRoot = path.dirname(
38
+ require.resolve(`${platformPkg}/package.json`, opts),
39
+ );
40
+ break;
41
+ } catch {}
42
+ }
43
+ if (pkgRoot) {
44
+ const candidate = path.join(pkgRoot, "bin", `ssg${ext}`);
45
+ if (fs.existsSync(candidate)) binaryPath = candidate;
46
+ const hookCandidate = path.join(pkgRoot, "bin", `ssg-hook-fast${ext}`);
47
+ if (fs.existsSync(hookCandidate)) hookBinPath = hookCandidate;
48
+ const sidecarCandidate = path.join(pkgRoot, "bin", `ssg-eval-server${ext}`);
49
+ if (fs.existsSync(sidecarCandidate)) evalServerBinPath = sidecarCandidate;
50
+ }
51
+ }
29
52
 
30
53
  // 2. Check if binary was bundled in the root (dev: local npm pack or manual build)
31
54
  if (!binaryPath) {
package/package.json CHANGED
@@ -1,159 +1,159 @@
1
- {
2
- "name": "@sigmashake/ssg",
3
- "version": "0.29.99",
4
- "description": "AI Agent Governance CLI — evaluate tool calls against rules, block dangerous operations, and surface blocked commands",
5
- "license": "SEE LICENSE IN LICENSE",
6
- "type": "module",
7
- "bin": {
8
- "ssg": "bin/ssg.cjs"
9
- },
10
- "files": [
11
- "bin/",
12
- "public/",
13
- "LICENSE",
14
- "README.md"
15
- ],
16
- "optionalDependencies": {
17
- "@sigmashake/ssg-linux-x64": "0.29.98",
18
- "@sigmashake/ssg-linux-arm64": "0.29.98",
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
- },
23
- "scripts": {
24
- "postinstall": "node ./bin/cleanup-globals.cjs",
25
- "dev": "bun run scripts/dev.ts",
26
- "dev:server-only": "SSQA_ATTACH=${SSQA_ATTACH:-1} bun --watch src/serve-dev.ts",
27
- "dev:debug": "bun --inspect src/serve-dev.ts",
28
- "dev:debug-daemon": "bun --inspect src/cli.ts daemon",
29
- "build": "bun run build:client && bun build --compile src/cli.ts --outfile ssg",
30
- "build:linux": "bun build --compile --target=bun-linux-x64 src/cli.ts --outfile dist/ssg-linux-x64 && bun run scripts/stage-public-to-dist.ts",
31
- "build:macos-arm64": "bun build --compile --target=bun-darwin-arm64 src/cli.ts --outfile dist/ssg-darwin-arm64 && bun run scripts/stage-public-to-dist.ts",
32
- "build:macos-x64": "bun build --compile --target=bun-darwin-x64 src/cli.ts --outfile dist/ssg-darwin-x64 && bun run scripts/stage-public-to-dist.ts",
33
- "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",
34
- "build:windows": "bun build --compile --target=bun-windows-x64 src/cli.ts --outfile dist/ssg-win32-x64.exe && bun run scripts/stage-public-to-dist.ts",
35
- "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 && bun run scripts/stage-public-to-dist.ts",
36
- "build:linux-arm64": "bun build --compile --target=bun-linux-arm64 src/cli.ts --outfile dist/ssg-linux-arm64 && bun run scripts/stage-public-to-dist.ts",
37
- "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",
38
- "build:protected:all": "bash ../sigmashake-dist/scripts/build-protected.sh",
39
- "pub:platforms": "bash ../sigmashake-dist/scripts/publish-platforms.sh",
40
- "prepublishOnly": "bash ../sigmashake-dist/scripts/prepublish-guard.sh",
41
- "build:client": "vite build",
42
- "dev:client": "vite dev",
43
- "typecheck:client": "tsc --noEmit -p tsconfig.client.json",
44
- "test": "bun test",
45
- "test:unit": "bun test test/engine.test.ts test/parser.test.ts test/evaluate_operators.test.ts test/rule.test.ts test/html.test.ts test/sanitize.test.ts test/mutex.test.ts test/rwlock.test.ts test/safe-fetch.test.ts",
46
- "test:integration": "bun test test/eval-integration.test.ts test/integration.test.ts test/notifications-integration.test.ts",
47
- "test:component": "bun test test/daemon.test.ts test/server.test.ts test/server-stability.test.ts",
48
- "test:e2e": "SSG_E2E=1 bun test test/dashboard-e2e.test.ts",
49
- "test:api": "bun test test/handlers.test.ts test/server.test.ts test/json-license-endpoint.test.ts",
50
- "test:stress": "bun test test/daemon-stress.test.ts test/serve-stress.test.ts test/stress",
51
- "test:load": "bun test test/load",
52
- "test:spike": "bun test test/spike",
53
- "test:soak": "bun test test/soak",
54
- "test:scalability": "bun test test/scalability",
55
- "test:config": "bun test test/config.test.ts test/hook-config.test.ts test/workspace-settings.test.ts",
56
- "lint:sec": "bun run sast:check",
57
- "audit": "bun audit",
58
- "test:e2e:agents": "bun run scripts/e2e-agents.ts",
59
- "test:e2e:session-record": "bun run scripts/record-agent-session.ts",
60
- "lint": "bun run src/cli.ts lint",
61
- "sast:check": "npx gts check src/shared/daemon-metrics.ts src/engine/config.ts src/server/store.ts src/server/handlers/core.ts src/engine/config.ts",
62
- "gts-lint": "gts lint",
63
- "gts-fix": "gts fix",
64
- "compile": "tsc",
65
- "clean": "gts clean",
66
- "build:demo-recorder": "bun build --compile tools/demo-recorder/index.ts --outfile tools/demo-recorder/demo-recorder",
67
- "build:docs": "bun build --compile tools/docs/index.ts --outfile tools/docs/docs",
68
- "build:lsp": "bun build --compile tools/lsp/index.ts --outfile tools/lsp/ssg-lsp",
69
- "build:oracle": "bun build --compile tools/oracle/index.ts --outfile tools/oracle/oracle",
70
- "build:tools": "bun run build:demo-recorder && bun run build:docs && bun run build:lsp && bun run build:oracle",
71
- "demo:record": "bun run tools/demo-recorder/index.ts --all",
72
- "demo:single": "bun run tools/demo-recorder/index.ts --ruleset",
73
- "demo:list": "bun run tools/demo-recorder/index.ts --list",
74
- "demo:dry-run": "bun run tools/demo-recorder/index.ts --all --dry-run",
75
- "demo:guided": "bash tools/demo-recorder/guided-demo.sh",
76
- "demo:guided:record": "bun run tools/demo-recorder/index.ts --all --guided",
77
- "demo:generate": "bun run tools/demo-recorder/cast-generator.ts --all",
78
- "demo:generate:single": "bun run tools/demo-recorder/cast-generator.ts --ruleset",
79
- "demo:generate:cast-only": "bun run tools/demo-recorder/cast-generator.ts --all --cast-only",
80
- "demo:generate:list": "bun run tools/demo-recorder/cast-generator.ts --list",
81
- "demo:generate:dry-run": "bun run tools/demo-recorder/cast-generator.ts --all --dry-run",
82
- "bench": "bun test ./test/bench.perf.ts --timeout=120000",
83
- "bench:regression": "bun test ./test/bench-regression.perf.ts --timeout=300000",
84
- "bench:scaling": "bun test ./test/bench-scaling.perf.ts --timeout=180000",
85
- "bench:honest": "bun test ./test/native-coverage.perf.ts --timeout=180000",
86
- "build:rust": "cd native/rust && cargo build --release",
87
- "test:rust": "cd native/rust && cargo test",
88
- "build:rust-audit": "cd native/rust-audit && cargo build --release",
89
- "test:rust-audit": "cd native/rust-audit && cargo test",
90
- "build:native": "bun run build:rust && cd native && zig build -Doptimize=ReleaseFast",
91
- "build:native:linux-x64": "bash ../sigmashake-dist/scripts/build-native-target.sh linux-x64",
92
- "build:native:linux-arm64": "bash ../sigmashake-dist/scripts/build-native-target.sh linux-arm64",
93
- "build:native:darwin-arm64": "bash ../sigmashake-dist/scripts/build-native-target.sh darwin-arm64",
94
- "build:native:darwin-x64": "bash ../sigmashake-dist/scripts/build-native-target.sh darwin-x64",
95
- "build:native:windows": "bash ../sigmashake-dist/scripts/build-native-target.sh win32-x64",
96
- "build:native:all": "bash ../sigmashake-dist/scripts/build-native-all.sh",
97
- "build:native:audit:linux-x64": "cd native && mkdir -p zig-out/lib/linux-x64 && cd rust-audit && cargo zigbuild --release --bin ssg-audit-server --target x86_64-unknown-linux-gnu && cd .. && cp rust-audit/target/x86_64-unknown-linux-gnu/release/ssg-audit-server zig-out/lib/linux-x64/",
98
- "build:native:audit:linux-arm64": "cd native && mkdir -p zig-out/lib/linux-arm64 && cd rust-audit && cargo zigbuild --release --bin ssg-audit-server --target aarch64-unknown-linux-gnu && cd .. && cp rust-audit/target/aarch64-unknown-linux-gnu/release/ssg-audit-server zig-out/lib/linux-arm64/",
99
- "build:native:audit:darwin-arm64": "cd native && mkdir -p zig-out/lib/darwin-arm64 && cd rust-audit && cargo zigbuild --release --bin ssg-audit-server --target aarch64-apple-darwin && cd .. && cp rust-audit/target/aarch64-apple-darwin/release/ssg-audit-server zig-out/lib/darwin-arm64/",
100
- "build:native:audit:darwin-x64": "cd native && mkdir -p zig-out/lib/darwin-x64 && cd rust-audit && cargo zigbuild --release --bin ssg-audit-server --target x86_64-apple-darwin && cd .. && cp rust-audit/target/x86_64-apple-darwin/release/ssg-audit-server zig-out/lib/darwin-x64/",
101
- "build:native:audit:windows": "cd native && mkdir -p zig-out/lib/win32-x64 && cd rust-audit && cargo zigbuild --release --bin ssg-audit-server --target x86_64-pc-windows-gnu && cd .. && cp rust-audit/target/x86_64-pc-windows-gnu/release/ssg-audit-server.exe zig-out/lib/win32-x64/",
102
- "build:native:audit:all": "bun run build:native:audit:linux-x64 && bun run build:native:audit:linux-arm64 && bun run build:native:audit:darwin-arm64 && bun run build:native:audit:darwin-x64 && bun run build:native:audit:windows",
103
- "check:rust-audit:linux-x64": "cd native/rust-audit && cargo check --target x86_64-unknown-linux-gnu",
104
- "check:rust-audit:linux-arm64": "cd native/rust-audit && cargo check --target aarch64-unknown-linux-gnu",
105
- "check:rust-audit:darwin-arm64": "cd native/rust-audit && cargo check --target aarch64-apple-darwin",
106
- "check:rust-audit:darwin-x64": "cd native/rust-audit && cargo check --target x86_64-apple-darwin",
107
- "check:rust-audit:windows": "cd native/rust-audit && cargo zigbuild --target x86_64-pc-windows-gnu",
108
- "check:rust-audit:all": "bun run check:rust-audit:linux-x64 && bun run check:rust-audit:linux-arm64 && bun run check:rust-audit:darwin-arm64 && bun run check:rust-audit:darwin-x64 && bun run check:rust-audit:windows",
109
- "test:regression": "bun test test/regression",
110
- "test:configuration": "bun test test/configuration",
111
- "typecheck": "bun run typecheck:client && bun run compile"
112
- },
113
- "keywords": [
114
- "ai",
115
- "governance",
116
- "agent",
117
- "safety",
118
- "rules",
119
- "cli"
120
- ],
121
- "repository": {
122
- "type": "git",
123
- "url": "git+https://github.com/sigmashakeinc/ssg.git"
124
- },
125
- "publishConfig": {
126
- "access": "public"
127
- },
128
- "engines": {
129
- "bun": ">=1.3.11"
130
- },
131
- "devDependencies": {
132
- "@sigmashake/ssqa": "file:../sigmashake-ssqa",
133
- "@tailwindcss/vite": "4.2.2",
134
- "@types/node": "25.5.2",
135
- "@types/react": "19.2.14",
136
- "@types/react-dom": "19.2.3",
137
- "@vitejs/plugin-react": "6.0.1",
138
- "bun-types": "1.3.11",
139
- "class-variance-authority": "0.7.1",
140
- "clsx": "2.1.1",
141
- "eslint": "10.1.0",
142
- "eslint-config-prettier": "10.1.8",
143
- "eslint-plugin-node": "11.1.0",
144
- "eslint-plugin-prettier": "5.5.5",
145
- "gts": "7.0.0",
146
- "javascript-obfuscator": "4.1.1",
147
- "lucide-react": "0.577.0",
148
- "prettier": "3.8.1",
149
- "react": "19.2.4",
150
- "react-dom": "19.2.4",
151
- "tailwind-merge": "3.5.0",
152
- "tailwindcss": "4.2.2",
153
- "terser": "5.46.1",
154
- "typescript": "6.0.2",
155
- "typescript-eslint": "8.58.0",
156
- "urlpattern-polyfill": "10.1.0",
157
- "vite": "^8.0.13"
158
- }
159
- }
1
+ {
2
+ "name": "@sigmashake/ssg",
3
+ "version": "0.29.101",
4
+ "description": "AI Agent Governance CLI — evaluate tool calls against rules, block dangerous operations, and surface blocked commands",
5
+ "license": "SEE LICENSE IN LICENSE",
6
+ "type": "module",
7
+ "bin": {
8
+ "ssg": "bin/ssg.cjs"
9
+ },
10
+ "files": [
11
+ "bin/",
12
+ "public/",
13
+ "LICENSE",
14
+ "README.md"
15
+ ],
16
+ "optionalDependencies": {
17
+ "@sigmashake/ssg-linux-x64": "0.29.100",
18
+ "@sigmashake/ssg-linux-arm64": "0.29.100",
19
+ "@sigmashake/ssg-darwin-arm64": "0.29.101",
20
+ "@sigmashake/ssg-darwin-x64": "0.29.101",
21
+ "@sigmashake/ssg-win32-x64": "0.29.99"
22
+ },
23
+ "scripts": {
24
+ "postinstall": "node ./bin/cleanup-globals.cjs",
25
+ "dev": "bun run scripts/dev.ts",
26
+ "dev:server-only": "SSQA_ATTACH=${SSQA_ATTACH:-1} bun --watch src/serve-dev.ts",
27
+ "dev:debug": "bun --inspect src/serve-dev.ts",
28
+ "dev:debug-daemon": "bun --inspect src/cli.ts daemon",
29
+ "build": "bun run build:client && bun build --compile src/cli.ts --outfile ssg",
30
+ "build:linux": "bun build --compile --target=bun-linux-x64 src/cli.ts --outfile dist/ssg-linux-x64 && bun run scripts/stage-public-to-dist.ts",
31
+ "build:macos-arm64": "bun build --compile --target=bun-darwin-arm64 src/cli.ts --outfile dist/ssg-darwin-arm64 && bun run scripts/stage-public-to-dist.ts",
32
+ "build:macos-x64": "bun build --compile --target=bun-darwin-x64 src/cli.ts --outfile dist/ssg-darwin-x64 && bun run scripts/stage-public-to-dist.ts",
33
+ "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",
34
+ "build:windows": "bun build --compile --target=bun-windows-x64 src/cli.ts --outfile dist/ssg-win32-x64.exe && bun run scripts/stage-public-to-dist.ts",
35
+ "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 && bun run scripts/stage-public-to-dist.ts",
36
+ "build:linux-arm64": "bun build --compile --target=bun-linux-arm64 src/cli.ts --outfile dist/ssg-linux-arm64 && bun run scripts/stage-public-to-dist.ts",
37
+ "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",
38
+ "build:protected:all": "bash ../sigmashake-dist/scripts/build-protected.sh",
39
+ "pub:platforms": "bash ../sigmashake-dist/scripts/publish-platforms.sh",
40
+ "prepublishOnly": "bash ../sigmashake-dist/scripts/prepublish-guard.sh",
41
+ "build:client": "vite build",
42
+ "dev:client": "vite dev",
43
+ "typecheck:client": "tsc --noEmit -p tsconfig.client.json",
44
+ "test": "bun test",
45
+ "test:unit": "bun test test/engine.test.ts test/parser.test.ts test/evaluate_operators.test.ts test/rule.test.ts test/html.test.ts test/sanitize.test.ts test/mutex.test.ts test/rwlock.test.ts test/safe-fetch.test.ts",
46
+ "test:integration": "bun test test/eval-integration.test.ts test/integration.test.ts test/notifications-integration.test.ts",
47
+ "test:component": "bun test test/daemon.test.ts test/server.test.ts test/server-stability.test.ts",
48
+ "test:e2e": "SSG_E2E=1 bun test test/dashboard-e2e.test.ts",
49
+ "test:api": "bun test test/handlers.test.ts test/server.test.ts test/json-license-endpoint.test.ts",
50
+ "test:stress": "bun test test/daemon-stress.test.ts test/serve-stress.test.ts test/stress",
51
+ "test:load": "bun test test/load",
52
+ "test:spike": "bun test test/spike",
53
+ "test:soak": "bun test test/soak",
54
+ "test:scalability": "bun test test/scalability",
55
+ "test:config": "bun test test/config.test.ts test/hook-config.test.ts test/workspace-settings.test.ts",
56
+ "lint:sec": "bun run sast:check",
57
+ "audit": "bun audit",
58
+ "test:e2e:agents": "bun run scripts/e2e-agents.ts",
59
+ "test:e2e:session-record": "bun run scripts/record-agent-session.ts",
60
+ "lint": "bun run src/cli.ts lint",
61
+ "sast:check": "npx gts check src/shared/daemon-metrics.ts src/engine/config.ts src/server/store.ts src/server/handlers/core.ts src/engine/config.ts",
62
+ "gts-lint": "gts lint",
63
+ "gts-fix": "gts fix",
64
+ "compile": "tsc",
65
+ "clean": "gts clean",
66
+ "build:demo-recorder": "bun build --compile tools/demo-recorder/index.ts --outfile tools/demo-recorder/demo-recorder",
67
+ "build:docs": "bun build --compile tools/docs/index.ts --outfile tools/docs/docs",
68
+ "build:lsp": "bun build --compile tools/lsp/index.ts --outfile tools/lsp/ssg-lsp",
69
+ "build:oracle": "bun build --compile tools/oracle/index.ts --outfile tools/oracle/oracle",
70
+ "build:tools": "bun run build:demo-recorder && bun run build:docs && bun run build:lsp && bun run build:oracle",
71
+ "demo:record": "bun run tools/demo-recorder/index.ts --all",
72
+ "demo:single": "bun run tools/demo-recorder/index.ts --ruleset",
73
+ "demo:list": "bun run tools/demo-recorder/index.ts --list",
74
+ "demo:dry-run": "bun run tools/demo-recorder/index.ts --all --dry-run",
75
+ "demo:guided": "bash tools/demo-recorder/guided-demo.sh",
76
+ "demo:guided:record": "bun run tools/demo-recorder/index.ts --all --guided",
77
+ "demo:generate": "bun run tools/demo-recorder/cast-generator.ts --all",
78
+ "demo:generate:single": "bun run tools/demo-recorder/cast-generator.ts --ruleset",
79
+ "demo:generate:cast-only": "bun run tools/demo-recorder/cast-generator.ts --all --cast-only",
80
+ "demo:generate:list": "bun run tools/demo-recorder/cast-generator.ts --list",
81
+ "demo:generate:dry-run": "bun run tools/demo-recorder/cast-generator.ts --all --dry-run",
82
+ "bench": "bun test ./test/bench.perf.ts --timeout=120000",
83
+ "bench:regression": "bun test ./test/bench-regression.perf.ts --timeout=300000",
84
+ "bench:scaling": "bun test ./test/bench-scaling.perf.ts --timeout=180000",
85
+ "bench:honest": "bun test ./test/native-coverage.perf.ts --timeout=180000",
86
+ "build:rust": "cd native/rust && cargo build --release",
87
+ "test:rust": "cd native/rust && cargo test",
88
+ "build:rust-audit": "cd native/rust-audit && cargo build --release",
89
+ "test:rust-audit": "cd native/rust-audit && cargo test",
90
+ "build:native": "bun run build:rust && cd native && zig build -Doptimize=ReleaseFast",
91
+ "build:native:linux-x64": "bash ../sigmashake-dist/scripts/build-native-target.sh linux-x64",
92
+ "build:native:linux-arm64": "bash ../sigmashake-dist/scripts/build-native-target.sh linux-arm64",
93
+ "build:native:darwin-arm64": "bash ../sigmashake-dist/scripts/build-native-target.sh darwin-arm64",
94
+ "build:native:darwin-x64": "bash ../sigmashake-dist/scripts/build-native-target.sh darwin-x64",
95
+ "build:native:windows": "bash ../sigmashake-dist/scripts/build-native-target.sh win32-x64",
96
+ "build:native:all": "bash ../sigmashake-dist/scripts/build-native-all.sh",
97
+ "build:native:audit:linux-x64": "cd native && mkdir -p zig-out/lib/linux-x64 && cd rust-audit && cargo zigbuild --release --bin ssg-audit-server --target x86_64-unknown-linux-gnu && cd .. && cp rust-audit/target/x86_64-unknown-linux-gnu/release/ssg-audit-server zig-out/lib/linux-x64/",
98
+ "build:native:audit:linux-arm64": "cd native && mkdir -p zig-out/lib/linux-arm64 && cd rust-audit && cargo zigbuild --release --bin ssg-audit-server --target aarch64-unknown-linux-gnu && cd .. && cp rust-audit/target/aarch64-unknown-linux-gnu/release/ssg-audit-server zig-out/lib/linux-arm64/",
99
+ "build:native:audit:darwin-arm64": "cd native && mkdir -p zig-out/lib/darwin-arm64 && cd rust-audit && cargo zigbuild --release --bin ssg-audit-server --target aarch64-apple-darwin && cd .. && cp rust-audit/target/aarch64-apple-darwin/release/ssg-audit-server zig-out/lib/darwin-arm64/",
100
+ "build:native:audit:darwin-x64": "cd native && mkdir -p zig-out/lib/darwin-x64 && cd rust-audit && cargo zigbuild --release --bin ssg-audit-server --target x86_64-apple-darwin && cd .. && cp rust-audit/target/x86_64-apple-darwin/release/ssg-audit-server zig-out/lib/darwin-x64/",
101
+ "build:native:audit:windows": "cd native && mkdir -p zig-out/lib/win32-x64 && cd rust-audit && cargo zigbuild --release --bin ssg-audit-server --target x86_64-pc-windows-gnu && cd .. && cp rust-audit/target/x86_64-pc-windows-gnu/release/ssg-audit-server.exe zig-out/lib/win32-x64/",
102
+ "build:native:audit:all": "bun run build:native:audit:linux-x64 && bun run build:native:audit:linux-arm64 && bun run build:native:audit:darwin-arm64 && bun run build:native:audit:darwin-x64 && bun run build:native:audit:windows",
103
+ "check:rust-audit:linux-x64": "cd native/rust-audit && cargo check --target x86_64-unknown-linux-gnu",
104
+ "check:rust-audit:linux-arm64": "cd native/rust-audit && cargo check --target aarch64-unknown-linux-gnu",
105
+ "check:rust-audit:darwin-arm64": "cd native/rust-audit && cargo check --target aarch64-apple-darwin",
106
+ "check:rust-audit:darwin-x64": "cd native/rust-audit && cargo check --target x86_64-apple-darwin",
107
+ "check:rust-audit:windows": "cd native/rust-audit && cargo zigbuild --target x86_64-pc-windows-gnu",
108
+ "check:rust-audit:all": "bun run check:rust-audit:linux-x64 && bun run check:rust-audit:linux-arm64 && bun run check:rust-audit:darwin-arm64 && bun run check:rust-audit:darwin-x64 && bun run check:rust-audit:windows",
109
+ "test:regression": "bun test test/regression",
110
+ "test:configuration": "bun test test/configuration",
111
+ "typecheck": "bun run typecheck:client && bun run compile"
112
+ },
113
+ "keywords": [
114
+ "ai",
115
+ "governance",
116
+ "agent",
117
+ "safety",
118
+ "rules",
119
+ "cli"
120
+ ],
121
+ "repository": {
122
+ "type": "git",
123
+ "url": "git+https://github.com/sigmashakeinc/ssg.git"
124
+ },
125
+ "publishConfig": {
126
+ "access": "public"
127
+ },
128
+ "engines": {
129
+ "bun": ">=1.3.11"
130
+ },
131
+ "devDependencies": {
132
+ "@sigmashake/ssqa": "file:../sigmashake-ssqa",
133
+ "@tailwindcss/vite": "4.2.2",
134
+ "@types/node": "25.5.2",
135
+ "@types/react": "19.2.14",
136
+ "@types/react-dom": "19.2.3",
137
+ "@vitejs/plugin-react": "6.0.1",
138
+ "bun-types": "1.3.11",
139
+ "class-variance-authority": "0.7.1",
140
+ "clsx": "2.1.1",
141
+ "eslint": "10.1.0",
142
+ "eslint-config-prettier": "10.1.8",
143
+ "eslint-plugin-node": "11.1.0",
144
+ "eslint-plugin-prettier": "5.5.5",
145
+ "gts": "7.0.0",
146
+ "javascript-obfuscator": "4.1.1",
147
+ "lucide-react": "0.577.0",
148
+ "prettier": "3.8.1",
149
+ "react": "19.2.4",
150
+ "react-dom": "19.2.4",
151
+ "tailwind-merge": "3.5.0",
152
+ "tailwindcss": "4.2.2",
153
+ "terser": "5.46.1",
154
+ "typescript": "6.0.2",
155
+ "typescript-eslint": "8.58.0",
156
+ "urlpattern-polyfill": "10.1.0",
157
+ "vite": "^8.0.13"
158
+ }
159
+ }