{
  "name": "@taurgis/bonsai",
  "version": "3.0.2",
  "description": "Bonsai is a standalone local research cache CLI for AI agents",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/taurgis/bonsai.git"
  },
  "homepage": "https://bonsai.rhino-inquisitor.com/",
  "type": "module",
  "main": "./dist/index.js",
  "bin": {
    "bonsai": "./bin/cli.mjs"
  },
  "files": [
    "dist",
    "bin",
    "agents",
    "oclif.manifest.json",
    "README.md"
  ],
  "lint-staged": {
    "src/**/*.ts": "prettier --write",
    "scripts/**/*.ts": "prettier --write",
    "tests/**/*.ts": "prettier --write"
  },
  "dependencies": {
    "@mozilla/readability": "^0.5.0",
    "@oclif/core": "^4.11.4",
    "@oclif/plugin-autocomplete": "^3.2.52",
    "linkedom": "^0.18.12",
    "turndown": "^7.2.0",
    "undici": "^8.7.0",
    "update-notifier": "^7.3.1"
  },
  "devDependencies": {
    "@changesets/cli": "^2.31.0",
    "@types/jsdom": "^21.1.7",
    "@types/mozilla-readability": "^0.2.1",
    "@types/node": "^22.10.0",
    "@types/turndown": "^5.0.5",
    "@vitest/coverage-istanbul": "^4.0.18",
    "fallow": "^2.102.0",
    "husky": "^9.1.7",
    "jsdom": "^26.0.0",
    "lint-staged": "^16.2.7",
    "oclif": "^4.23.21",
    "prettier": "^3.8.1",
    "typescript": "^5.9.3",
    "vitepress": "^1.6.4",
    "vitest": "^4.0.17",
    "vue": "^3.5.39"
  },
  "engines": {
    "node": ">=22.19.0"
  },
  "publishConfig": {
    "access": "public",
    "provenance": true
  },
  "oclif": {
    "bin": "bonsai",
    "dirname": "bonsai",
    "description": "Bonsai is a standalone local research cache CLI for AI agents.\nResearch and cache a web page by passing its URL directly:\n\n  $ bonsai https://nodejs.org/api/url.html\n\nThe URL form is shorthand for fetching and caching the page; run `bonsai help fetch` for its full reference. The commands listed below inspect, list, import, and prune the local research cache.",
    "plugins": [
      "@oclif/plugin-autocomplete"
    ],
    "commands": {
      "strategy": "explicit",
      "target": "./dist/commands.js",
      "identifier": "commands"
    },
    "topicSeparator": " ",
    "hooks": {
      "command_not_found": "./dist/hooks/command-not-found/suggest.js"
    },
    "topics": {
      "config": {
        "description": "Manage research cache storage configuration (global vs project)"
      }
    }
  },
  "scripts": {
    "build": "tsc -b && oclif manifest",
    "changeset": "changeset",
    "changeset:status": "changeset status --verbose",
    "format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\" \"scripts/**/*.ts\"",
    "format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\" \"scripts/**/*.ts\"",
    "lint": "pnpm lint:line-counts && pnpm lint:health",
    "lint:line-counts": "node scripts/check-line-counts.ts --all",
    "lint:health": "pnpm test:coverage && pnpm exec fallow health --format human",
    "postinstall": "node -e \"if (process.env.CI || process.env.FORWARD_NEXUS_SKIP_SYNC) { console.log('Skipping forward-nexus sync.'); process.exit(0); } require('node:child_process').execFileSync('npx', ['forward-nexus', 'sync', '--pull'], { stdio: 'inherit' });\"",
    "publish:snapshot": "changeset version --snapshot snapshot && changeset publish --tag snapshot",
    "release": "changeset publish",
    "regression:suite": "tsc -b && node testing/regression/run-suite.mjs",
    "regression:promote": "tsc -b && node testing/regression/run-suite.mjs --promote",
    "regression:check": "tsc -b && node testing/regression/run-suite.mjs --strict",
    "audit:cli": "node testing/manual-audit.mjs",
    "nexus:sync": "npx forward-nexus update && npx forward-nexus sync",
    "test": "vitest",
    "test:coverage": "vitest run --coverage",
    "type-check": "tsc --noEmit",
    "version-packages": "changeset version",
    "docs:dev": "vitepress dev docs",
    "docs:build": "vitepress build docs",
    "docs:preview": "vitepress preview docs"
  }
}