{
  "name": "@hawon/nexus",
  "version": "0.7.4",
  "description": "Local-first trust layer for AI coding agents — structural prompt-injection and action guards, secret scanning, semantic memory, and code review. No model API required.",
  "type": "module",
  "engines": {
    "node": ">=20"
  },
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": "./dist/index.js",
    "./promptguard": "./dist/promptguard/index.js",
    "./memory-engine": "./dist/memory-engine/index.js",
    "./review": "./dist/review/index.js",
    "./secrets": "./dist/secrets/index.js",
    "./guard": "./dist/guard/index.js",
    "./ml": "./dist/ml/index.js",
    "./encoder": "./dist/encoder/index.js",
    "./codebase": "./dist/codebase/index.js",
    "./config": "./dist/config/index.js",
    "./collector": "./dist/collector/index.js",
    "./docparser": "./dist/docparser/index.js",
    "./mcp/server": "./dist/mcp/server.js",
    "./package.json": "./package.json"
  },
  "files": [
    "dist/",
    "README.md",
    "LICENSE"
  ],
  "bin": {
    "nexus": "dist/cli/index.js",
    "nexus-mcp": "dist/mcp/server.js"
  },
  "scripts": {
    "build": "tsc",
    "lint": "tsc --noEmit",
    "test": "node scripts/run-tests.mjs",
    "check": "npm run build && npm run lint && npm test",
    "audit:core": "npm audit --omit=dev --omit=optional --audit-level=high",
    "benchmark:guard": "node --import tsx scripts/guard-benchmark.ts",
    "benchmark:adaptive": "node --import tsx scripts/adaptive-benchmark.ts",
    "benchmark:heldout": "node --import tsx scripts/adaptive-generalization.ts",
    "benchmark:redteam": "node --import tsx scripts/redteam-replay.ts",
    "benchmark:logic": "node --import tsx scripts/logic-benchmark.ts",
    "benchmark:local": "npm run benchmark:guard && npm run benchmark:adaptive && npm run benchmark:heldout && npm run benchmark:redteam && npm run benchmark:logic",
    "benchmark:external": "node --import tsx scripts/external-benchmark.ts",
    "smoke:package": "npm run build && node scripts/package-smoke.mjs",
    "prepare": "npm run build"
  },
  "keywords": [
    "agent-firewall",
    "prompt-injection",
    "ai-agent",
    "agent-security",
    "llm-security",
    "ai-security",
    "secret-scanning",
    "mcp",
    "claude-code",
    "cursor",
    "code-review",
    "semantic-search",
    "local-first",
    "developer-tools",
    "on-device"
  ],
  "author": "hawonb711-tech",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/hawonb711-tech/nexus.git"
  },
  "devDependencies": {
    "@types/node": "^24.13.3",
    "tsx": "^4.23.0",
    "typescript": "^5.9.3"
  },
  "dependencies": {
    "@hono/node-server": "^2.0.12",
    "@modelcontextprotocol/sdk": "^1.30.0",
    "body-parser": "^2.3.0",
    "fast-uri": "^3.1.5",
    "hono": "^4.12.34",
    "ip-address": "^10.4.0",
    "zod": "^4.4.3"
  },
  "peerDependencies": {
    "@huggingface/transformers": "^4.2.0"
  },
  "peerDependenciesMeta": {
    "@huggingface/transformers": {
      "optional": true
    }
  },
  "publishConfig": {
    "access": "public"
  }
}
