{
  "name": "@sigmashake/ssg",
  "version": "1.0.9",
  "description": "AI Agent Governance CLI — evaluate tool calls against rules, block dangerous operations, and surface blocked commands",
  "license": "SEE LICENSE IN LICENSE",
  "type": "module",
  "bin": {
    "ssg": "bin/ssg.cjs"
  },
  "files": [
    "bin/",
    "public/",
    "LICENSE",
    "README.md",
    "sbom.cdx.json"
  ],
  "optionalDependencies": {
    "@sigmashake/ssg-linux-x64": "1.0.9",
    "@sigmashake/ssg-linux-arm64": "1.0.9",
    "@sigmashake/ssg-darwin-arm64": "1.0.9",
    "@sigmashake/ssg-darwin-x64": "1.0.9",
    "@sigmashake/ssg-win32-x64": "1.0.9"
  },
  "scripts": {
    "postinstall": "node ./bin/cleanup-globals.cjs",
    "gen:api-deprecation": "bun run tools/gen-api-deprecation-catalog.ts",
    "gen:starter-presets": "bun run tools/gen-starter-presets.ts",
    "gen:opencode-plugin": "bun run tools/gen-opencode-plugin.ts",
    "dev": "bun run scripts/dev.ts",
    "dev:server-only": "SSQA_ATTACH=${SSQA_ATTACH:-1} bun --watch src/serve-dev.ts",
    "dev:debug": "bun --inspect src/serve-dev.ts",
    "dev:debug-daemon": "bun --inspect src/cli.ts daemon",
    "build": "bun run build:client && bun build --compile src/cli.ts --outfile ssg",
    "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",
    "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",
    "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",
    "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",
    "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",
    "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/assert-windowshide-effective.ts && bun run scripts/stage-public-to-dist.ts",
    "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",
    "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",
    "build:protected:all": "bash ../sigmashake-dist/scripts/build-protected.sh",
    "pub:platforms": "bash ../sigmashake-dist/scripts/publish-platforms.sh",
    "prepublishOnly": "bash ../sigmashake-dist/scripts/prepublish-guard.sh",
    "build:client": "tsc --noEmit -p tsconfig.client.json && vite build",
    "build:plugin:terminal": "bun run scripts/build-terminal-plugin.ts",
    "dev:client": "vite dev",
    "typecheck:client": "tsc --noEmit -p tsconfig.client.json",
    "release-check": "bun run scripts/release-check.ts",
    "ui-smoke": "bun run scripts/ui-smoke.ts",
    "check-version-drift": "bun run scripts/check-version-drift.ts",
    "typecheck-ratchet": "bun run scripts/typecheck-ratchet.ts",
    "test": "bun run scripts/test-isolated.ts",
    "test:bun": "bun test",
    "test:matrix": "bun run scripts/refresh-test-sentinels.ts",
    "test:changed": "bun test --changed",
    "test:linux": "bun test test/linux",
    "test:mac": "bun test test/mac",
    "test:windows": "bun test test/windows",
    "coverage": "bun test test/*.test.ts test/commands/*.test.ts test/api/*.test.ts test/component/*.test.ts test/integration/*.test.ts test/configuration/*.test.ts test/conformance/*.test.ts test/regression/*.test.ts test/mac/*.test.ts --coverage --coverage-reporter=text --coverage-reporter=lcov --coverage-dir=coverage",
    "coverage:batch": "bun run scripts/coverage-batch.ts",
    "coverage:mac": "bun run scripts/coverage-mac.ts --min=80",
    "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",
    "test:integration": "bun test test/eval-integration.test.ts test/integration.test.ts test/notifications-integration.test.ts",
    "test:component": "bun test test/daemon.test.ts test/server.test.ts test/server-stability.test.ts",
    "test:e2e": "SSG_E2E=1 bun test test/dashboard-e2e.test.ts",
    "test:api": "bun test test/handlers.test.ts test/server.test.ts test/json-license-endpoint.test.ts",
    "test:stress": "bun test test/daemon-stress.test.ts test/serve-stress.test.ts test/stress",
    "test:load": "bun test test/load",
    "test:spike": "bun test test/spike",
    "test:soak": "bun test test/soak",
    "test:scalability": "bun test test/scalability",
    "test:config": "bun test test/config.test.ts test/hook-config.test.ts test/workspace-settings.test.ts",
    "test:onboarding": "bun run test:bun -- test/onboarding.e2e.test.ts",
    "lint:sec": "bun run sast:check",
    "audit": "bun audit --prod",
    "test:e2e:agents": "bun run scripts/e2e-agents.ts",
    "test:e2e:session-record": "bun run scripts/record-agent-session.ts",
    "lint": "bun run src/cli.ts lint",
    "sast:check": "npx gts check src/shared/auth.ts src/shared/validate.ts src/shared/sanitize.ts src/shared/html.ts src/shared/platform.ts src/shared/daemon-metrics.ts src/engine/config.ts src/engine/evaluate.ts src/engine/parser.ts src/engine/db.ts src/engine/adapter.ts src/engine/cost-ledger.ts src/server/store.ts src/server/router.ts src/server/handlers/core.ts src/commands/hook.ts",
    "gts-lint": "gts lint",
    "gts-fix": "gts fix",
    "compile": "tsc",
    "clean": "gts clean",
    "build:demo-recorder": "bun build --compile tools/demo-recorder/index.ts --outfile tools/demo-recorder/demo-recorder",
    "build:docs": "bun build --compile tools/docs/index.ts --outfile tools/docs/docs",
    "build:lsp": "bun build --compile tools/lsp/index.ts --outfile tools/lsp/ssg-lsp",
    "build:oracle": "bun build --compile tools/oracle/index.ts --outfile tools/oracle/oracle",
    "build:tools": "bun run build:demo-recorder && bun run build:docs && bun run build:lsp && bun run build:oracle",
    "ai-native:latency": "bun run tools/ai-native-latency.ts",
    "quota:probe": "bun run tools/quota-probe.ts",
    "demo:record": "bun run tools/demo-recorder/index.ts --all",
    "demo:single": "bun run tools/demo-recorder/index.ts --ruleset",
    "demo:list": "bun run tools/demo-recorder/index.ts --list",
    "demo:dry-run": "bun run tools/demo-recorder/index.ts --all --dry-run",
    "demo:guided": "bash tools/demo-recorder/guided-demo.sh",
    "demo:guided:record": "bun run tools/demo-recorder/index.ts --all --guided",
    "demo:generate": "bun run tools/demo-recorder/cast-generator.ts --all",
    "demo:generate:single": "bun run tools/demo-recorder/cast-generator.ts --ruleset",
    "demo:generate:cast-only": "bun run tools/demo-recorder/cast-generator.ts --all --cast-only",
    "demo:generate:list": "bun run tools/demo-recorder/cast-generator.ts --list",
    "demo:generate:dry-run": "bun run tools/demo-recorder/cast-generator.ts --all --dry-run",
    "bench": "bun test ./test/bench.perf.ts --timeout=120000",
    "bench:regression": "bun test ./test/bench-regression.perf.ts --timeout=300000",
    "bench:scaling": "bun test ./test/bench-scaling.perf.ts --timeout=180000",
    "bench:honest": "bun test ./test/native-coverage.perf.ts --timeout=180000",
    "test:regression": "bun test test/regression",
    "test:configuration": "bun test test/configuration",
    "typecheck": "bun run typecheck:client && bun run compile",
    "test:chaos": "bun test test/chaos/",
    "test:failover": "bun test test/failover/",
    "test:dr": "bun test test/dr/",
    "test:dast": "bun test test/dast/",
    "test:pen": "bun test test/pen/",
    "tokens:check": "bun scripts/check-design-tokens.mjs"
  },
  "keywords": [
    "ai",
    "governance",
    "agent",
    "safety",
    "rules",
    "cli"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sigmashakeinc/ssg.git"
  },
  "publishConfig": {
    "access": "public"
  },
  "engines": {
    "bun": ">=1.3.11"
  },
  "devDependencies": {
    "@sigmashake/ssqa": "file:../sigmashake-ssqa",
    "@tailwindcss/vite": "4.2.2",
    "@xterm/xterm": "5.5.0",
    "@xterm/addon-fit": "0.10.0",
    "@xterm/addon-webgl": "0.18.0",
    "@xterm/addon-web-links": "0.11.0",
    "@xterm/addon-search": "0.15.0",
    "@xterm/addon-unicode11": "0.8.0",
    "@types/node": "25.5.2",
    "@types/react": "19.2.14",
    "@types/react-dom": "19.2.3",
    "@vitejs/plugin-react": "6.0.1",
    "bun-types": "1.3.11",
    "eslint": "10.1.0",
    "eslint-config-prettier": "10.1.8",
    "eslint-plugin-node": "11.1.0",
    "eslint-plugin-prettier": "5.5.5",
    "gts": "7.0.0",
    "javascript-obfuscator": "4.1.1",
    "prettier": "3.8.1",
    "react": "19.2.4",
    "react-dom": "19.2.4",
    "tailwindcss": "4.2.2",
    "terser": "5.46.1",
    "typescript": "6.0.2",
    "typescript-eslint": "8.58.0",
    "urlpattern-polyfill": "10.1.0",
    "vite": "^8.0.16"
  },
  "overrides": {
    "tmp": "^0.2.4",
    "brace-expansion": "^5.0.6",
    "vite": "^8.0.16",
    "js-yaml": ">=4.2.0"
  }
}
