{
  "name": "principles-disciple",
  "version": "2.0.2",
  "description": "Principles Disciple is an AI Agent Governance System. Stop correcting the same AI behavior across sessions. Turn repeated Agent corrections into Owner-approved, observable, reversible behavior principles.",
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    },
    "./rulehost-evidence": {
      "types": "./dist/rulehost-evidence.d.ts",
      "default": "./dist/rulehost-evidence.js"
    },
    "./governance-audit": {
      "types": "./dist/governance-audit.d.ts",
      "default": "./dist/governance-audit.js"
    }
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/csuzngjh/principles.git",
    "directory": "packages/openclaw-plugin"
  },
  "author": "csuzngjh",
  "license": "MIT",
  "files": [
    "dist",
    "templates",
    "assets",
    "openclaw.plugin.json"
  ],
  "publishConfig": {
    "access": "public"
  },
  "bugs": {
    "url": "https://github.com/csuzngjh/principles/issues"
  },
  "homepage": "https://github.com/csuzngjh/principles#readme",
  "openclaw": {
    "id": "principles-disciple",
    "name": "Principles Disciple",
    "setupEntry": "./dist/bundle.js",
    "extensions": [
      "./dist/bundle.js"
    ],
    "compat": {
      "pluginApi": ">=2026.4.4"
    },
    "build": {
      "openclawVersion": "2026.4.4"
    },
    "install": {
      "minHostVersion": ">=2026.4.4"
    }
  },
  "scripts": {
    "build": "tsc",
    "build:bundle": "node esbuild.config.js",
    "build:production": "node esbuild.config.js --production && node scripts/verify-build.mjs",
    "build:types": "tsc --emitDeclarationOnly",
    "prepack": "npm run build:production && npm run build:types",
    "test": "vitest run",
    "test:unit": "vitest run --config vitest.unit.config.ts tests/core tests/service tests/hooks tests/commands tests/utils tests/scripts",
    "test:integration": "vitest run tests/integration/",
    "test:host-runtime-parity": "vitest run --config vitest.parity.config.ts tests/bdd/openclaw-shared-host-runtime-parity.steps.test.ts tests/package/published-host-runtime-bundle.test.ts",
    "test:coverage": "vitest run --coverage",
    "test:all": "vitest run",
    "lint": "eslint \"src/**/*.ts\"",
    "bootstrap-rules": "node scripts/bootstrap-rules.mjs",
    "compile-principles": "node scripts/compile-principles.mjs",
    "sync-plugin": "node scripts/sync-plugin.mjs"
  },
  "devDependencies": {
    "@principles/host-runtime": "^0.7.7",
    "@types/better-sqlite3": "^9.6.0",
    "@types/js-yaml": "^4.0.9",
    "@types/micromatch": "^4.0.10",
    "@types/node": "^26.4.1",
    "@types/ws": "^8.5.13",
    "@typescript-eslint/eslint-plugin": "^8.68.0",
    "@typescript-eslint/parser": "^8.67.0",
    "@vitest/coverage-v8": "^5.0.0",
    "esbuild": "^0.28.2",
    "eslint": "^10.8.1",
    "jsdom": "^30.0.1",
    "typescript": "^7.0.2",
    "vite": "^8.3.0",
    "vitest": "^5.0.0",
    "ws": "^8.18.0"
  },
  "peerDependencies": {
    "openclaw": ">=2026.4.4"
  },
  "peerDependenciesMeta": {
    "openclaw": {
      "optional": true
    }
  },
  "dependencies": {
    "@principles/core": "^1.287.0",
    "@sinclair/typebox": "^0.34.48",
    "better-sqlite3": "^13.0.3",
    "commander": "^12.0.0",
    "js-yaml": "^5.4.1",
    "micromatch": "^4.0.8"
  }
}
