{
  "name": "@coproduct_inc/verify",
  "version": "0.7.2",
  "description": "Offline, zero-trust verification of agent capability-boundary in-bounds attestation receipts: emit and verify an Ed25519-signed, hash-chained receipt that an agent run stayed within a declared boundary, keyed on a cryptographic principal (not a mutable display name) \u2014 the evidence layer above probabilistic guardrails. Also verifies Nucleus auction receipts by re-running the clearing locally. Zero runtime deps for the attestation core (node:crypto).",
  "license": "MIT",
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "bin": {
    "nucleus-verify": "dist/cli.js",
    "nucleus-cage": "dist/cage-cli.js",
    "nucleus-attest": "dist/producer-cli.js",
    "nucleus-license": "dist/license-cli.js",
    "nucleus-verify-claim": "dist/claim-cli.js"
  },
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./workflow": {
      "types": "./dist/workflow.d.ts",
      "import": "./dist/workflow.js"
    },
    "./ifc": {
      "types": "./dist/ifc.d.ts",
      "import": "./dist/ifc.js"
    },
    "./attestation": {
      "types": "./dist/attestation.d.ts",
      "import": "./dist/attestation.js"
    },
    "./toolproxy": {
      "types": "./dist/toolproxy.d.ts",
      "import": "./dist/toolproxy.js"
    },
    "./cage": {
      "types": "./dist/cage.d.ts",
      "import": "./dist/cage.js"
    },
    "./license": {
      "types": "./dist/license.d.ts",
      "import": "./dist/license.js"
    }
  },
  "files": [
    "dist",
    "wasm/nodejs/package.json",
    "wasm/nodejs/nucleus_wasm.js",
    "wasm/nodejs/nucleus_wasm.d.ts",
    "wasm/nodejs/nucleus_wasm_bg.wasm",
    "wasm/nodejs/nucleus_wasm_bg.wasm.d.ts",
    "examples/openclaw-replay.mjs",
    "examples/cage-quickstart.mjs",
    "examples/workflow-leak.mjs",
    "examples/converting-demo.sh",
    "examples/sample-toolproxy-trace.clean.json",
    "examples/sample-toolproxy-trace.bypass.json",
    "examples/sample-toolproxy-trace.openclaw.json",
    "README.md",
    "WHY-VERIFY.md",
    "CHANGELOG.md"
  ],
  "scripts": {
    "build:wasm": "wasm-pack build ../../crates/nucleus-wasm --target nodejs --out-dir ../../packages/nucleus-verify/wasm/nodejs && rm -f wasm/nodejs/.gitignore && printf '%s' '{\"type\":\"commonjs\"}' > wasm/nodejs/package.json",
    "build": "tsc -p tsconfig.json",
    "typecheck": "tsc -p tsconfig.json --noEmit",
    "test": "node --test",
    "demo": "node examples/openclaw-replay.mjs",
    "build:browser": "esbuild src/attestation.browser.ts --bundle --format=esm --alias:node:crypto=./src/shim/node-crypto.mjs --banner:js=\"globalThis.Buffer||={from:(i,e)=>e==='base64'?Uint8Array.from(atob(i),c=>c.charCodeAt(0)):new TextEncoder().encode(i)};\" --outfile=dist/attestation.browser.js"
  },
  "keywords": [
    "nucleus",
    "agent-security",
    "capability-boundary",
    "in-bounds-attestation",
    "verification",
    "ed25519",
    "spiffe",
    "openclaw",
    "auction",
    "vcg",
    "agentic-commerce"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/coproduct/nucleus-platform.git",
    "directory": "packages/nucleus-verify"
  },
  "devDependencies": {
    "@types/node": "^25.9.1",
    "typescript": "^5.7.2"
  },
  "dependencies": {
    "@noble/ed25519": "3.1.0",
    "@noble/hashes": "2.2.0"
  }
}
