{
  "name": "pg-agent-memory",
  "version": "1.1.4",
  "description": "Stateful AI agent memory layer for PostgreSQL with pgvector - TypeScript-first with intelligent context management",
  "keywords": [
    "ai",
    "agent",
    "memory",
    "postgresql",
    "pgvector",
    "vector",
    "embeddings",
    "conversation",
    "context",
    "langchain",
    "typescript",
    "stateful",
    "chat",
    "llm",
    "rag"
  ],
  "author": "Alex Potapenko <alex.potapenko.dev@gmail.com>",
  "license": "MIT",
  "homepage": "https://github.com/alexpota/pg-agent-memory#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/alexpota/pg-agent-memory.git"
  },
  "bugs": {
    "url": "https://github.com/alexpota/pg-agent-memory/issues"
  },
  "type": "module",
  "main": "./dist/index.js",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    }
  },
  "files": [
    "dist",
    "README.md",
    "CHANGELOG.md",
    "LICENSE",
    "SECURITY.md"
  ],
  "engines": {
    "node": ">=22.0.0"
  },
  "scripts": {
    "build": "tsup",
    "dev": "tsup --watch",
    "test": "vitest --run tests/unit",
    "test:all": "vitest",
    "test:watch": "vitest tests/unit",
    "test:coverage": "vitest --run --coverage",
    "test:integration": "vitest --run tests/integration",
    "test:docker": "bash scripts/test-docker.sh",
    "test:docker:alt": "bash scripts/test-docker-alt.sh",
    "dev:up": "bash scripts/docker-dev.sh up",
    "dev:down": "bash scripts/docker-dev.sh down",
    "dev:clean": "bash scripts/docker-dev.sh clean",
    "dev:logs": "bash scripts/docker-dev.sh logs",
    "lint": "eslint src tests",
    "lint:fix": "eslint src tests --fix",
    "type-check": "tsc --noEmit",
    "format": "prettier --write src/**/*.ts tests/**/*.ts",
    "format:check": "prettier --check src/**/*.ts tests/**/*.ts",
    "clean": "rm -rf dist",
    "docs": "typedoc src/index.ts",
    "example": "npm run build && node examples/quick-start.js",
    "example:basic": "npm run build && node examples/basic-usage.js",
    "benchmark": "npm run build && node scripts/benchmark.js",
    "start": "npm run example",
    "prepare": "husky",
    "prepublishOnly": "npm run clean && npm run build && npm test && npm run lint",
    "commit": "cz",
    "release": "semantic-release"
  },
  "config": {
    "commitizen": {
      "path": "cz-conventional-changelog"
    }
  },
  "lint-staged": {
    "src/**/*.ts": [
      "eslint --fix",
      "prettier --write"
    ],
    "tests/**/*.ts": [
      "eslint --fix",
      "prettier --write"
    ]
  },
  "peerDependencies": {
    "pg": ">=8.0.0"
  },
  "overrides": {
    "tar-fs": ">=3.1.1",
    "tmp": ">=0.2.4",
    "glob": "^10.5.0"
  },
  "dependencies": {
    "@xenova/transformers": "^2.17.2",
    "p-queue": "^8.0.0",
    "tiktoken": "^1.0.21",
    "ulid": "^3.0.1",
    "zod": "^4.0.10"
  },
  "devDependencies": {
    "@commitlint/cli": "^19.8.1",
    "audit-ci": "^7.1.0",
    "@commitlint/config-conventional": "^19.8.1",
    "@semantic-release/changelog": "^6.0.3",
    "@types/node": "^24.1.0",
    "@types/pg": "^8.15.4",
    "@typescript-eslint/eslint-plugin": "^8.45.0",
    "@typescript-eslint/parser": "^8.45.0",
    "@vitest/coverage-v8": "^3.2.4",
    "commitizen": "^4.3.1",
    "cz-conventional-changelog": "^3.3.0",
    "eslint": "^8.57.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-deprecation": "^3.0.0",
    "eslint-plugin-prettier": "^5.5.1",
    "eslint-plugin-sonarjs": "^3.0.4",
    "husky": "^9.1.7",
    "lint-staged": "^16.1.2",
    "pg": "^8.16.3",
    "pgvector": "^0.2.1",
    "prettier": "^3.0.0",
    "semantic-release": "^24.2.7",
    "tsup": "^8.0.0",
    "tsx": "^4.20.3",
    "typedoc": "^0.28.13",
    "typescript": "^5.9.2",
    "vitest": "^3.2.4"
  }
}
