{
  "name": "@fortemi/core",
  "version": "2026.8.0",
  "description": "Browser-only knowledge management core: PGlite (PostgreSQL WASM), MCP tools, hybrid search, and profile-scoped Knowledge Shard interchange.",
  "keywords": [
    "fortemi",
    "knowledge-management",
    "pglite",
    "postgresql",
    "wasm",
    "semantic-search",
    "mcp",
    "skos",
    "browser-database"
  ],
  "type": "module",
  "sideEffects": false,
  "license": "AGPL-3.0-only",
  "author": "Joseph Magly <joe@magly.net>",
  "homepage": "https://github.com/Fortemi/fortemi-react",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Fortemi/fortemi-react.git",
    "directory": "packages/core"
  },
  "bugs": {
    "url": "https://github.com/Fortemi/fortemi-react/issues"
  },
  "publishConfig": {
    "access": "public"
  },
  "main": "./dist/index.js",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "bin": {
    "fortemi-compatibility": "./tools/verify-fortemi-compatibility.mjs"
  },
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./aiwg-index": {
      "types": "./dist/aiwg-index.d.ts",
      "import": "./dist/aiwg-index.js"
    },
    "./aiwg-index-schema": {
      "types": "./dist/aiwg-index-schema.d.ts",
      "import": "./dist/aiwg-index-schema.js"
    },
    "./aiwg-index-shard": {
      "types": "./dist/aiwg-index-shard.d.ts",
      "import": "./dist/aiwg-index-shard.js"
    },
    "./worker/pglite-worker": "./dist/worker/pglite-worker.js",
    "./service-worker/sw": "./dist/service-worker/sw.js",
    "./package.json": "./package.json"
  },
  "files": [
    "dist",
    "tools",
    "README.md",
    "LICENSE"
  ],
  "dependencies": {
    "@bytecask/core": "^2026.7.5",
    "@noble/hashes": "^1.7.2",
    "ajv": "^8.17.1",
    "fflate": "^0.8.2",
    "uuid": "^13.0.0",
    "zod": "^3.24.0"
  },
  "optionalDependencies": {
    "@electric-sql/pglite": "^0.4.1"
  },
  "devDependencies": {
    "@types/node": "^22.0.0",
    "@vitest/coverage-v8": "^4.1.1",
    "fake-indexeddb": "^6.2.5",
    "tsup": "^8.3.5",
    "typescript": "^5.8.0",
    "vitest": "^4.1.0"
  },
  "scripts": {
    "build": "tsup && node scripts/canonicalize-declarations.mjs dist/index.d.ts dist/aiwg-index.d.ts dist/aiwg-index-schema.d.ts dist/aiwg-index-shard.d.ts",
    "typecheck": "tsc --noEmit",
    "test": "vitest run",
    "test:db-table-parity": "vitest run src/__tests__/db-table-parity",
    "test:portable-contract": "pnpm build && node scripts/generate-record-v1-self-fixture.mjs --verify && pnpm verify:knowledge-shard-contract && vitest run --maxWorkers=2 src/__tests__/aiwg-index.test.ts src/__tests__/aiwg-index-full-shard.test.ts src/__tests__/shard/aiwg-core-v1-projection.test.ts src/__tests__/shard/shard-conformance.spike.test.ts src/__tests__/shard/schema-validator.test.ts src/__tests__/shard/profile-registry.test.ts src/__tests__/shard/presence.test.ts src/__tests__/shard/full-v1-store.test.ts src/__tests__/shard/shard-import.test.ts src/__tests__/shard/core-v1-self-cell.test.ts src/__tests__/shard/fortemi-core-v1-consumer-cell.test.ts src/__tests__/shard/shard-signature.test.ts src/__tests__/shard/shard-tar.test.ts src/__tests__/records/record-store.test.ts src/__tests__/records/record-shard.test.ts src/__tests__/shard/bundled-example-shards.test.ts",
    "test:platform-contract": "node scripts/run-platform-contract.mjs",
    "verify:platform-contract-receipt": "node scripts/verify-platform-contract-receipt.mjs",
    "test:platform-contract-tools": "pnpm build && node --test scripts/canonicalize-declarations.test.mjs scripts/platform-contract-receipt.test.mjs scripts/live-server-contract.test.mjs",
    "verify:knowledge-shard-contract": "node scripts/verify-knowledge-shard-contract.mjs",
    "shard:refresh-v2-authority": "node scripts/refresh-knowledge-shard-v2-authority.mjs",
    "shard:refresh-golden": "node scripts/refresh-knowledge-shard-golden.mjs",
    "shard:generate-aiwg-full-v1": "pnpm build && node scripts/generate-aiwg-full-v1-fixture.mjs",
    "shard:generate-pglite-full-v1": "pnpm build && node scripts/generate-pglite-full-v1-receipt.mjs",
    "shard:generate-core-v1-self": "pnpm build && node scripts/generate-core-v1-self-fixture.mjs",
    "shard:generate-record-v1-self": "pnpm build && node scripts/generate-record-v1-self-fixture.mjs",
    "shard:generate-presence-receipt": "node scripts/generate-presence-receipt.mjs",
    "test:watch": "vitest",
    "verify:fortemi-compatibility": "node tools/verify-fortemi-compatibility.mjs"
  }
}