{
  "name": "onadit",
  "version": "1.0.18",
  "mcpName": "com.onadit/onadit",
  "description": "Local-first personal memory + reasoning infrastructure with an MCP interface.",
  "homepage": "https://onadit.com",
  "license": "UNLICENSED",
  "private": false,
  "type": "module",
  "engines": {
    "node": ">=20.19.0 || >=22.13.0 || >=24"
  },
  "bin": {
    "onadit": "dist/src/cli/index.js",
    "rift": "dist/src/cli/index.js"
  },
  "files": [
    "dist/src",
    "operator/swiftbar/rift.10s.sh",
    "operator/swiftbar/render-menu.py",
    "README.md"
  ],
  "scripts": {
    "pretest": "tsx tests/fixtures/generate.ts",
    "test": "vitest run",
    "test:watch": "vitest",
    "build:clean": "rm -rf dist",
    "build": "npm run build:clean && tsc",
    "check": "tsc --noEmit",
    "ci:typecheck": "npm run check && npm run check:extension",
    "ci:test:focused": "tsx tests/fixtures/generate.ts && vitest tests/retrieval/current-truth.test.ts tests/retrieval/report-demotion.test.ts tests/retrieval/locator-boost.test.ts tests/retrieval/reranker-feedback.test.ts tests/retrieval/feedback-ranking.test.ts tests/retrieval/canonical-files.test.ts tests/retrieval/context-pack.test.ts tests/retrieval/context-pack-memory-v1.test.ts tests/server/routes/search.test.ts tests/server/routes/context.test.ts tests/scripts/eval-feedback-ranking.test.ts tests/scripts/read-only-eval-scripts.test.ts tests/scripts/eval-memory.test.ts --run",
    "ci:pr": "npm run ci:typecheck && npm run check:rename && npm run ci:test:focused",
    "check:rename": "bash scripts/check-rename.sh",
    "check:publish-source": "node scripts/check-publish-source.mjs",
    "check:tarball": "bash scripts/verify-tarball.sh",
    "plist:generate": "bash scripts/generate-plist.sh",
    "postinstall": "node -e \"const e=process.env;if(e.RIFT_SKIP_POSTINSTALL_MENUBAR==='1'||(e.RIFT_POSTINSTALL_MENUBAR!=='1'&&e.npm_config_global!=='true'&&e.npm_config_location!=='global'))process.exit(0);import('./dist/src/cli/postinstall-menubar.js').catch(() => {})\"",
    "prepublishOnly": "npm run check:publish-source && npm run check && npm run check:rename && npm run build && npm run check:tarball",
    "build:extension": "node browser-extension/build.mjs",
    "check:extension": "tsc -p browser-extension"
  },
  "dependencies": {
    "@fastify/multipart": "^9.4.0",
    "@lancedb/lancedb": "^0.27.0",
    "@modelcontextprotocol/sdk": "^1.29.0",
    "adm-zip": "^0.5.17",
    "chokidar": "^5.0.0",
    "commander": "^14.0.3",
    "fastify": "^5.0.0",
    "mammoth": "^1.12.0",
    "pdfjs-dist": "^5.6.205",
    "picocolors": "^1.1.1",
    "smol-toml": "^1.9.0",
    "zod": "^3.24.0"
  },
  "devDependencies": {
    "@types/adm-zip": "^0.5.8",
    "@types/chrome": "0.3.7",
    "@types/node": "^22.0.0",
    "esbuild": "0.27.7",
    "pdf-lib": "^1.17.1",
    "playwright": "1.63.0",
    "tsx": "^4.0.0",
    "typescript": "^5.7.0",
    "vitest": "^3.0.0"
  }
}
