@sigmashake/ssg 0.29.100 → 0.29.102

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
@@ -16,29 +16,39 @@ let binaryPath;
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
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.
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.
28
30
  let hookBinPath;
29
31
  let evalServerBinPath;
30
- try {
32
+ {
31
33
  const globalRoot = path.resolve(__dirname, "..", "..", "..");
32
- const pkgRoot = path.dirname(
33
- require.resolve(`${platformPkg}/package.json`, { paths: [globalRoot] }),
34
- );
35
- const candidate = path.join(pkgRoot, "bin", `ssg${ext}`);
36
- if (fs.existsSync(candidate)) binaryPath = candidate;
37
- const hookCandidate = path.join(pkgRoot, "bin", `ssg-hook-fast${ext}`);
38
- if (fs.existsSync(hookCandidate)) hookBinPath = hookCandidate;
39
- const sidecarCandidate = path.join(pkgRoot, "bin", `ssg-eval-server${ext}`);
40
- if (fs.existsSync(sidecarCandidate)) evalServerBinPath = sidecarCandidate;
41
- } catch {}
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
+ }
42
52
 
43
53
  // 2. Check if binary was bundled in the root (dev: local npm pack or manual build)
44
54
  if (!binaryPath) {
package/package.json CHANGED
@@ -1,159 +1,161 @@
1
- {
2
- "name": "@sigmashake/ssg",
3
- "version": "0.29.100",
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.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.102",
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
+ "sbom.cdx.json"
16
+ ],
17
+ "optionalDependencies": {
18
+ "@sigmashake/ssg-linux-x64": "0.29.100",
19
+ "@sigmashake/ssg-linux-arm64": "0.29.100",
20
+ "@sigmashake/ssg-darwin-arm64": "0.29.101",
21
+ "@sigmashake/ssg-darwin-x64": "0.29.101",
22
+ "@sigmashake/ssg-win32-x64": "0.29.102"
23
+ },
24
+ "scripts": {
25
+ "postinstall": "node ./bin/cleanup-globals.cjs",
26
+ "dev": "bun run scripts/dev.ts",
27
+ "dev:server-only": "SSQA_ATTACH=${SSQA_ATTACH:-1} bun --watch src/serve-dev.ts",
28
+ "dev:debug": "bun --inspect src/serve-dev.ts",
29
+ "dev:debug-daemon": "bun --inspect src/cli.ts daemon",
30
+ "build": "bun run build:client && bun build --compile src/cli.ts --outfile ssg",
31
+ "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",
32
+ "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",
33
+ "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",
34
+ "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",
35
+ "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",
36
+ "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",
37
+ "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",
38
+ "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",
39
+ "build:protected:all": "bash ../sigmashake-dist/scripts/build-protected.sh",
40
+ "pub:platforms": "bash ../sigmashake-dist/scripts/publish-platforms.sh",
41
+ "prepublishOnly": "bash ../sigmashake-dist/scripts/prepublish-guard.sh",
42
+ "build:client": "tsc --noEmit -p tsconfig.client.json && vite build",
43
+ "dev:client": "vite dev",
44
+ "typecheck:client": "tsc --noEmit -p tsconfig.client.json",
45
+ "release-check": "bun run scripts/release-check.ts",
46
+ "ui-smoke": "bun run scripts/ui-smoke.ts",
47
+ "check-version-drift": "bun run scripts/check-version-drift.ts",
48
+ "typecheck-ratchet": "bun run scripts/typecheck-ratchet.ts",
49
+ "test": "bun test",
50
+ "test:unit": "bun test test/engine.test.ts test/parser.test.ts test/parser-fuzz.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",
51
+ "test:integration": "bun test test/eval-integration.test.ts test/integration.test.ts test/notifications-integration.test.ts",
52
+ "test:component": "bun test test/daemon.test.ts test/server.test.ts test/server-stability.test.ts",
53
+ "test:e2e": "SSG_E2E=1 bun test test/dashboard-e2e.test.ts",
54
+ "test:api": "bun test test/handlers.test.ts test/server.test.ts test/json-license-endpoint.test.ts",
55
+ "test:stress": "bun test test/daemon-stress.test.ts test/serve-stress.test.ts test/stress",
56
+ "test:load": "bun test test/load",
57
+ "test:spike": "bun test test/spike",
58
+ "test:soak": "bun test test/soak",
59
+ "test:scalability": "bun test test/scalability",
60
+ "test:config": "bun test test/config.test.ts test/hook-config.test.ts test/workspace-settings.test.ts",
61
+ "lint:sec": "bun run sast:check",
62
+ "audit": "bun audit",
63
+ "test:e2e:agents": "bun run scripts/e2e-agents.ts",
64
+ "test:e2e:session-record": "bun run scripts/record-agent-session.ts",
65
+ "lint": "bun run src/cli.ts lint",
66
+ "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",
67
+ "gts-lint": "gts lint",
68
+ "gts-fix": "gts fix",
69
+ "compile": "tsc",
70
+ "clean": "gts clean",
71
+ "build:demo-recorder": "bun build --compile tools/demo-recorder/index.ts --outfile tools/demo-recorder/demo-recorder",
72
+ "build:docs": "bun build --compile tools/docs/index.ts --outfile tools/docs/docs",
73
+ "build:lsp": "bun build --compile tools/lsp/index.ts --outfile tools/lsp/ssg-lsp",
74
+ "build:oracle": "bun build --compile tools/oracle/index.ts --outfile tools/oracle/oracle",
75
+ "build:tools": "bun run build:demo-recorder && bun run build:docs && bun run build:lsp && bun run build:oracle",
76
+ "demo:record": "bun run tools/demo-recorder/index.ts --all",
77
+ "demo:single": "bun run tools/demo-recorder/index.ts --ruleset",
78
+ "demo:list": "bun run tools/demo-recorder/index.ts --list",
79
+ "demo:dry-run": "bun run tools/demo-recorder/index.ts --all --dry-run",
80
+ "demo:guided": "bash tools/demo-recorder/guided-demo.sh",
81
+ "demo:guided:record": "bun run tools/demo-recorder/index.ts --all --guided",
82
+ "demo:generate": "bun run tools/demo-recorder/cast-generator.ts --all",
83
+ "demo:generate:single": "bun run tools/demo-recorder/cast-generator.ts --ruleset",
84
+ "demo:generate:cast-only": "bun run tools/demo-recorder/cast-generator.ts --all --cast-only",
85
+ "demo:generate:list": "bun run tools/demo-recorder/cast-generator.ts --list",
86
+ "demo:generate:dry-run": "bun run tools/demo-recorder/cast-generator.ts --all --dry-run",
87
+ "bench": "bun test ./test/bench.perf.ts --timeout=120000",
88
+ "bench:regression": "bun test ./test/bench-regression.perf.ts --timeout=300000",
89
+ "bench:scaling": "bun test ./test/bench-scaling.perf.ts --timeout=180000",
90
+ "bench:honest": "bun test ./test/native-coverage.perf.ts --timeout=180000",
91
+ "build:rust": "cd native/rust && cargo build --release",
92
+ "test:rust": "cd native/rust && cargo test",
93
+ "build:rust-audit": "cd native/rust-audit && cargo build --release",
94
+ "test:rust-audit": "cd native/rust-audit && cargo test",
95
+ "build:native": "bun run build:rust && cd native && zig build -Doptimize=ReleaseFast",
96
+ "build:native:linux-x64": "bash ../sigmashake-dist/scripts/build-native-target.sh linux-x64",
97
+ "build:native:linux-arm64": "bash ../sigmashake-dist/scripts/build-native-target.sh linux-arm64",
98
+ "build:native:darwin-arm64": "bash ../sigmashake-dist/scripts/build-native-target.sh darwin-arm64",
99
+ "build:native:darwin-x64": "bash ../sigmashake-dist/scripts/build-native-target.sh darwin-x64",
100
+ "build:native:windows": "bash ../sigmashake-dist/scripts/build-native-target.sh win32-x64",
101
+ "build:native:all": "bash ../sigmashake-dist/scripts/build-native-all.sh",
102
+ "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/",
103
+ "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/",
104
+ "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/",
105
+ "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/",
106
+ "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/",
107
+ "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",
108
+ "check:rust-audit:linux-x64": "cd native/rust-audit && cargo check --target x86_64-unknown-linux-gnu",
109
+ "check:rust-audit:linux-arm64": "cd native/rust-audit && cargo check --target aarch64-unknown-linux-gnu",
110
+ "check:rust-audit:darwin-arm64": "cd native/rust-audit && cargo check --target aarch64-apple-darwin",
111
+ "check:rust-audit:darwin-x64": "cd native/rust-audit && cargo check --target x86_64-apple-darwin",
112
+ "check:rust-audit:windows": "cd native/rust-audit && cargo zigbuild --target x86_64-pc-windows-gnu",
113
+ "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",
114
+ "test:regression": "bun test test/regression",
115
+ "test:configuration": "bun test test/configuration",
116
+ "typecheck": "bun run typecheck:client && bun run compile"
117
+ },
118
+ "keywords": [
119
+ "ai",
120
+ "governance",
121
+ "agent",
122
+ "safety",
123
+ "rules",
124
+ "cli"
125
+ ],
126
+ "repository": {
127
+ "type": "git",
128
+ "url": "git+https://github.com/sigmashakeinc/ssg.git"
129
+ },
130
+ "publishConfig": {
131
+ "access": "public"
132
+ },
133
+ "engines": {
134
+ "bun": ">=1.3.11"
135
+ },
136
+ "devDependencies": {
137
+ "@sigmashake/ssqa": "file:../sigmashake-ssqa",
138
+ "@tailwindcss/vite": "4.2.2",
139
+ "@types/node": "25.5.2",
140
+ "@types/react": "19.2.14",
141
+ "@types/react-dom": "19.2.3",
142
+ "@vitejs/plugin-react": "6.0.1",
143
+ "bun-types": "1.3.11",
144
+ "eslint": "10.1.0",
145
+ "eslint-config-prettier": "10.1.8",
146
+ "eslint-plugin-node": "11.1.0",
147
+ "eslint-plugin-prettier": "5.5.5",
148
+ "gts": "7.0.0",
149
+ "javascript-obfuscator": "4.1.1",
150
+ "prettier": "3.8.1",
151
+ "react": "19.2.4",
152
+ "react-dom": "19.2.4",
153
+ "tailwind-merge": "3.5.0",
154
+ "tailwindcss": "4.2.2",
155
+ "terser": "5.46.1",
156
+ "typescript": "6.0.2",
157
+ "typescript-eslint": "8.58.0",
158
+ "urlpattern-polyfill": "10.1.0",
159
+ "vite": "^8.0.13"
160
+ }
161
+ }