{
  "name": "@causal-order/monitor",
  "version": "0.6.2",
  "description": "Health-aware buffering, replay, and operator monitoring layer for the causal-order stack.",
  "author": "Gazali Ahmad",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/GazaliAhmad/causal-order-monitor.git"
  },
  "homepage": "https://github.com/GazaliAhmad/causal-order-monitor#readme",
  "bugs": {
    "url": "https://github.com/GazaliAhmad/causal-order-monitor/issues"
  },
  "type": "module",
  "sideEffects": false,
  "main": "./.build/src/index.js",
  "module": "./.build/src/index.js",
  "types": "./.build/src/index.d.ts",
  "exports": {
    ".": {
      "types": "./.build/src/index.d.ts",
      "import": "./.build/src/index.js"
    },
    "./config": {
      "types": "./.build/src/config.d.ts",
      "import": "./.build/src/config.js"
    },
    "./health": {
      "types": "./.build/src/health.d.ts",
      "import": "./.build/src/health.js"
    },
    "./inspect": {
      "types": "./.build/src/inspect.d.ts",
      "import": "./.build/src/inspect.js"
    },
    "./replay": {
      "types": "./.build/src/replay.d.ts",
      "import": "./.build/src/replay.js"
    },
    "./routing": {
      "types": "./.build/src/routing.d.ts",
      "import": "./.build/src/routing.js"
    },
    "./runtime": {
      "types": "./.build/src/runtime.d.ts",
      "import": "./.build/src/runtime.js"
    },
    "./storage": {
      "types": "./.build/src/storage.d.ts",
      "import": "./.build/src/storage.js"
    },
    "./scheduler": {
      "types": "./.build/src/scheduler.d.ts",
      "import": "./.build/src/scheduler.js"
    },
    "./testing": {
      "types": "./.build/src/testing.d.ts",
      "import": "./.build/src/testing.js"
    },
    "./throttle": {
      "types": "./.build/src/throttle.d.ts",
      "import": "./.build/src/throttle.js"
    },
    "./transport": {
      "types": "./.build/src/transport.d.ts",
      "import": "./.build/src/transport.js"
    },
    "./types": {
      "types": "./.build/src/types.d.ts",
      "import": "./.build/src/types.js"
    },
    "./package.json": "./package.json"
  },
  "files": [
    ".build/",
    "README.md",
    "CHANGELOG.md",
    "docs/",
    "LICENSE"
  ],
  "engines": {
    "node": ">=22.13.0"
  },
  "publishConfig": {
    "access": "public"
  },
  "keywords": [
    "causal-order",
    "event-ordering",
    "esm",
    "monitor",
    "health-monitoring",
    "sqlite",
    "sqlite3",
    "buffering",
    "backpressure",
    "replay",
    "outage-recovery",
    "failover",
    "recovery",
    "resilience",
    "observability",
    "event-replay",
    "event-streams",
    "distributed-systems",
    "stream-processing",
    "message-processing"
  ],
  "scripts": {
    "build": "tsc -p tsconfig.build.json",
    "check": "tsc -p tsconfig.json --noEmit",
    "ci": "npm run check && npm run test:export-contract && npm run test:compatibility-audit && npm run test:operator-snapshot-contract && npm run test:operator-edge-state-contract && npm run test:storage-pressure-contract && npm run test:boundary-contract && npm run test:snapshot-query-plan-contract && npm run test:schema-compatibility && npm run test:capacity-accounting-contract && npm run test:logical-capacity-admission && npm run test:filesystem-reserve-capacity-snapshot && npm run test:lifecycle-dispatcher-contract && npm run test:lifecycle-instrumentation-contract && npm run test:performance-baseline-contract && npm run test:auxiliary-growth-contract && npm run test:phase6-soak-summary-contract && npm run test:monitor-phase6-smoke && npm run test:crash-boundary-contract && npm run test:storage-failure-contract && npm run test:restart-state-contract && npm run test:upgrade-restart-contract && npm run test:terminal-retention-contract && npm run test:wal-lifecycle-contract && npm run test:backup-restore-contract && npm run test:http-thresholds-8nodes && npm run test:retention-admission-contract && npm run test:inspect-snapshot && npm run test:no-healthy-replay && npm run test:replay-ownership-guard && npm run test:replay-safety && npm run test:concurrency-contract && npm run test:transport-0.2-stop-contract && npm run test:payload-boundary-contract && npm run test:shutdown-lifecycle-contract && npm run test:live-reservoir-ownership && npm run test:startup-health-policy && npm run test:scheduler && npm run test:replay-pump-concurrency && npm run test:packed-artifact-consumer && npm run test:packed-full-stack-lifecycle && npm run test:peer-version-matrix && npm run pack:check",
    "benchmark:monitor": "npm run build && node scripts/run-monitor-benchmarks.mjs --profile baseline",
    "harness:monitor": "npm run build && node scripts/run-monitor-harness.mjs",
    "harness:order-outage": "npm run harness:monitor -- --monitor-scenario monitor-order-outage --duration 20m --time-scale 60 --profile monitor-order-outage --run-name monitor-order-outage-local",
    "prepack": "npm run publish:prepare && npm run build",
    "prepublishOnly": "npm run ci",
    "pack:check": "npm pack --dry-run --cache ./.local/npm-cache",
    "publish:dry-run": "npm publish --dry-run --access public --cache ./.local/npm-cache",
    "publish:prepare": "node scripts/prepare-publish.mjs",
    "publish:prepare:check": "node scripts/prepare-publish.mjs --check",
    "release:check": "npm run ci && npm run publish:dry-run",
    "test:config-env-resolution": "npm run build && node scripts/config-env-resolution.mjs",
    "test:capacity-accounting-contract": "npm run build && node scripts/capacity-accounting-contract.mjs",
    "test:compatibility-audit": "npm run build && node scripts/compatibility-audit.mjs",
    "test:concurrency-contract": "npm run build && node scripts/concurrency-contract.mjs",
    "test:transport-0.2-stop-contract": "npm run build && node scripts/transport-0.2-stop-contract.mjs",
    "test:crash-boundary-contract": "npm run build && node scripts/crash-boundary-contract.mjs",
    "test:export-contract": "npm run build && node scripts/export-contract.mjs",
    "test:filesystem-reserve-capacity-snapshot": "npm run build && node scripts/filesystem-reserve-capacity-snapshot-contract.mjs",
    "test:http-thresholds-8nodes": "npm run build && node scripts/http-thresholds-8nodes.mjs",
    "test:inspect-snapshot": "npm run build && node scripts/inspect-snapshot.mjs",
    "test:logical-capacity-admission": "npm run build && node scripts/logical-capacity-admission-contract.mjs",
    "test:lifecycle-dispatcher-contract": "npm run build && node scripts/lifecycle-dispatcher-contract.mjs",
    "test:lifecycle-instrumentation-contract": "npm run build && node scripts/lifecycle-instrumentation-contract.mjs",
    "test:monitor-operational-smoke": "npm run build && node scripts/run-monitor-operational-suite.mjs --suite smoke",
    "test:monotonic-now": "npm run build && node scripts/monotonic-now.mjs",
    "test:no-healthy-replay": "npm run build && node scripts/no-healthy-replay.mjs",
    "test:payload-boundary-contract": "npm run build && node scripts/payload-boundary-contract.mjs",
    "test:performance-baseline-contract": "npm run build && node scripts/run-monitor-benchmarks.mjs --profile ci",
    "test:phase6-soak-summary-contract": "node scripts/phase6-soak-summary-contract.mjs",
    "test:monitor-operational-full": "npm run build && node scripts/run-monitor-operational-suite.mjs --suite full",
    "test:monitor-combined-wallclock": "npm run build && node scripts/monitor-combined-wallclock.mjs",
    "test:monitor-phase6-smoke": "npm run build && node scripts/monitor-phase6-soak.mjs --profile smoke",
    "test:monitor-phase6-medium": "npm run build && node scripts/monitor-phase6-soak.mjs --profile medium",
    "test:monitor-phase6-long": "npm run build && node scripts/monitor-phase6-soak.mjs --profile long",
    "test:monitor-phase6-sustained": "npm run build && node scripts/monitor-phase6-soak.mjs --profile sustained",
    "test:prune-batching": "npm run build && node scripts/prune-batching.mjs",
    "test:replay-ownership-guard": "npm run build && node scripts/replay-ownership-guard.mjs",
    "test:restart-state-contract": "npm run build && node scripts/restart-state-contract.mjs",
    "test:upgrade-restart-contract": "npm run build && node scripts/upgrade-restart-contract.mjs",
    "test:retention-admission-contract": "npm run build && node scripts/retention-admission-contract.mjs",
    "test:runtime-bootstrap": "npm run build && node scripts/runtime-bootstrap.mjs",
    "test:schema-compatibility": "npm run build && node scripts/schema-compatibility.mjs",
    "test:shutdown-lifecycle-contract": "npm run build && node scripts/shutdown-lifecycle-contract.mjs",
    "test:storage-failure-contract": "npm run build && node scripts/storage-failure-contract.mjs",
    "test:storage-pressure-contract": "npm run build && node scripts/storage-pressure-contract.mjs",
    "test:terminal-retention-contract": "npm run build && node scripts/terminal-retention-contract.mjs",
    "test:wal-lifecycle-contract": "npm run build && node scripts/wal-lifecycle-contract.mjs",
    "test:backup-restore-contract": "npm run build && node scripts/backup-restore-contract.mjs",
    "test:auxiliary-growth-contract": "npm run build && node scripts/auxiliary-growth-contract.mjs",
    "test:operator-snapshot-contract": "npm run build && node scripts/operator-snapshot-contract.mjs",
    "test:operator-edge-state-contract": "npm run build && node scripts/operator-edge-state-contract.mjs",
    "test:packed-artifact-consumer": "node scripts/packed-artifact-consumer.mjs",
    "test:peer-version-matrix": "node scripts/peer-version-matrix.mjs",
    "test:replay-pump-concurrency": "npm run build && node scripts/replay-pump-concurrency.mjs",
    "test:live-reservoir-ownership": "node scripts/live-reservoir-ownership-contract.mjs",
    "test:startup-health-policy": "npm run build && node scripts/startup-health-policy-contract.mjs",
    "test:scheduler": "npm run build && node scripts/scheduler-contract.mjs",
    "test:packed-full-stack-lifecycle": "node scripts/packed-full-stack-lifecycle.mjs",
    "test:boundary-contract": "npm run build && node scripts/boundary-contract.mjs",
    "test:snapshot-query-plan-contract": "npm run build && node scripts/snapshot-query-plan-contract.mjs",
    "test:replay-safety": "npm run build && node scripts/replay-safety.mjs"
  },
  "peerDependencies": {
    "@causal-order/dedupe": "^1.1.1",
    "@causal-order/transport": "^0.2.0",
    "causal-order": "^1.0.0"
  },
  "devDependencies": {
    "@causal-order/transport": "0.2.0",
    "@types/node": "^25.9.2",
    "typescript": "^6.0.3"
  }
}
