{
  "name": "pi-mega-compact",
  "version": "0.4.27",
  "description": "Layered, local, vector-backed context compressor for pi — supersede/collapse/cluster compaction with deduped inline recall.",
  "type": "module",
  "license": "BSD-2-Clause",
  "author": "TheArchitectit",
  "homepage": "https://github.com/TheArchitectit/pi-mega-compact",
  "repository": {
    "type": "git",
    "url": "https://github.com/TheArchitectit/pi-mega-compact.git"
  },
  "keywords": [
    "pi-extension",
    "pi-coding-agent",
    "openclaw-plugin",
    "context-compaction",
    "auto-compact",
    "vector-store",
    "trident"
  ],
  "engines": {
    "node": ">=22.13"
  },
  "files": [
    "dist",
    "extensions",
    "src",
    "README.md",
    "LICENSE"
  ],
  "pi": {
    "extensions": [
      "./extensions/mega-compact.ts"
    ]
  },
  "openclaw": {
    "plugin": "./extensions/openclaw-mega-compact.ts",
    "manifest": "./openclaw.plugin.json",
    "compactionProvider": "mega-compact"
  },
  "scripts": {
    "build": "tsc -p tsconfig.json",
    "lint": "tsc --noEmit && node scripts/guardrails-scan.mjs",
    "test": "npm run build && node --test --test-timeout=180000 \"dist/src/**/*.test.js\" \"dist/extensions/**/*.test.js\"",
    "guardrails": "python3 scripts/regression_check.py --all || node scripts/guardrails-scan.mjs",
    "precommit": "bash .claude/hooks/pre-commit.sh",
    "prepublishOnly": "npm run build",
    "postinstall": "npm rebuild @mongodb-js/zstd || true"
  },
  "peerDependencies": {
    "@earendil-works/pi-coding-agent": "*",
    "openclaw": ">=0.1.0"
  },
  "devDependencies": {
    "@types/node": "^22.20.1",
    "typescript": "^5.4.0"
  },
  "dependencies": {
    "@electric-sql/pglite": "^0.5.4",
    "@electric-sql/pglite-pgvector": "^0.0.5",
    "@mongodb-js/zstd": "^7.0.0"
  }
}
