{"_id":"@alpharages/lore","_rev":"3-6e6cec765e715bcf56f626765e41e856","name":"@alpharages/lore","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@alpharages/lore","version":"1.0.0","keywords":["lore","mcp","bmad","ai","memory","cli"],"license":"MIT","_id":"@alpharages/lore@1.0.0","maintainers":[{"name":"alpharagesadmin","email":"info@alpharages.com"}],"homepage":"https://github.com/alpharages/lore","bugs":{"url":"https://github.com/alpharages/lore/issues"},"bin":{"lore":"index.js"},"dist":{"shasum":"7364a915f9a5cc58f8b4b7bc133ba523d142eba1","tarball":"https://registry.npmjs.org/@alpharages/lore/-/lore-1.0.0.tgz","fileCount":174,"integrity":"sha512-Yu8a4q2OtwVQolJmSSK5om9Dk2rnBHPBScI4hmaFYqyCVz/luLL6f8Agqa/gXh+xdq7z4q3GxzEvKx4xKLkrhw==","signatures":[{"sig":"MEQCIBqmUMlUetyaL5OO4hDsQ6RXYmnC1nMisqv9cbwKC+ivAiAF5u2mHdHhrHvjBSTZ0b03OuVEtWhshy8zMfwQ+vt+KQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":436716},"type":"module","types":"./index.d.ts","engines":{"node":">=20.0.0","pnpm":">=11.0.0"},"gitHead":"6c1a5b886fa92f52d5467b0414e7f90daa53a3fd","_npmUser":{"name":"alpharagesadmin","email":"info@alpharages.com"},"repository":{"url":"git+https://github.com/alpharages/lore.git","type":"git"},"_npmVersion":"11.6.4","description":"Lore CLI — institutional memory for BMAD-driven AI development","directories":{},"_nodeVersion":"22.18.0","dependencies":{"yaml":"^2.8.4","semver":"^7.8.0","commander":"^14.0.3","handlebars":"^4.7.9","@inquirer/checkbox":"^5.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/lore_1.0.0_1778719551239_0.32105517868707056","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@alpharages/lore","version":"1.0.1","keywords":["lore","mcp","bmad","ai","memory","cli"],"license":"MIT","_id":"@alpharages/lore@1.0.1","maintainers":[{"name":"alpharagesadmin","email":"info@alpharages.com"}],"homepage":"https://github.com/alpharages/lore","bugs":{"url":"https://github.com/alpharages/lore/issues"},"bin":{"lore":"index.js"},"dist":{"shasum":"8d018f82b30d2872f3a2155b718e243b7ac1278d","tarball":"https://registry.npmjs.org/@alpharages/lore/-/lore-1.0.1.tgz","fileCount":178,"integrity":"sha512-o4Kmtl6JXEl5nL0Qt6cnvznn2nh7LN9MnGpVefVd6xTuGPijX4XFw3ZD9NE58qnakbkEFPzZqqi+xbE1DurgCw==","signatures":[{"sig":"MEUCIQDDEiK1ZJfz9dwCY1mB5DVeqCki0J1sceZ9rSKpb565wgIgYCs+BYyMT559TpVRn0F290o66eYK7RBTcKfzvzTB++Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":451258},"type":"module","types":"./index.d.ts","engines":{"node":">=20.0.0","pnpm":">=11.0.0"},"gitHead":"a452bb36fa0b034b35df7d368a4c14f530a54644","_npmUser":{"name":"alpharagesadmin","email":"info@alpharages.com"},"repository":{"url":"git+https://github.com/alpharages/lore.git","type":"git"},"_npmVersion":"11.6.4","description":"Lore CLI — institutional memory for BMAD-driven AI development","directories":{},"_nodeVersion":"22.18.0","dependencies":{"yaml":"^2.8.4","semver":"^7.8.0","commander":"^14.0.3","handlebars":"^4.7.9","@inquirer/checkbox":"^5.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/lore_1.0.1_1778759435582_0.5643033717661092","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@alpharages/lore","version":"1.0.2","description":"Lore CLI — institutional memory for BMAD-driven AI development","type":"module","main":"dist/index.js","bin":{"lore":"dist/index.js"},"packageManager":"pnpm@11.0.8","scripts":{"build":"tsc","dev":"tsx watch src/index.ts","test":"vitest run","test:watch":"vitest","lint":"oxlint src/","lint:fix":"oxlint src/ --fix","format":"prettier --write .","format:check":"prettier --check .","publish:cli":"node scripts/publish-cli.mjs"},"engines":{"node":">=20.0.0","pnpm":">=11.0.0"},"publishConfig":{"access":"public"},"keywords":["lore","mcp","bmad","ai","memory","cli"],"license":"MIT","dependencies":{"@inquirer/checkbox":"^5.1.5","commander":"^14.0.3","handlebars":"^4.7.9","semver":"^7.8.0","yaml":"^2.8.4","zod":"^4.4.3"},"devDependencies":{"@types/node":"^22.19.17","@types/semver":"^7.7.1","oxlint":"^0.16.12","prettier":"^3.8.3","tsx":"^4.21.0","typescript":"^5.9.3","vitest":"^4.1.5"},"lint-staged":{"src/**/*.{ts,tsx}":["oxlint","prettier --check"],"*.{json,md,yaml,yml}":["prettier --check"]},"gitHead":"21bdadde84c1ab2a3f5277bceddb861986338c43","types":"./dist/index.d.ts","_id":"@alpharages/lore@1.0.2","_nodeVersion":"22.18.0","_npmVersion":"11.6.4","dist":{"integrity":"sha512-YZHuKBjAmjOzlP0d/ZLZSK2jOA/eIxOcKvuqd54ntnNdsB8ez1qf+vAfjgKupDUp+IfzTUJCeO8tpdbUcNY5XQ==","shasum":"2de20a41336d6bfcee5d8ba89d6ff9c09ef69cd4","tarball":"https://registry.npmjs.org/@alpharages/lore/-/lore-1.0.2.tgz","fileCount":203,"unpackedSize":472102,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDC5+EF3bjnB8oaEj4wW9VtgVTv2HvWK5q927QbNZvj+gIgOlG98/Qc40zVrw2TFPX1kS8pzHshYJrKxHITVzlfEMs="}]},"_npmUser":{"name":"alpharagesadmin","email":"info@alpharages.com"},"directories":{},"maintainers":[{"name":"alpharagesadmin","email":"info@alpharages.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/lore_1.0.2_1779134421864_0.7777206129292689"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-14T00:45:51.130Z","modified":"2026-05-18T20:00:22.173Z","1.0.0":"2026-05-14T00:45:51.442Z","1.0.1":"2026-05-14T11:50:35.728Z","1.0.2":"2026-05-18T20:00:22.043Z"},"license":"MIT","keywords":["lore","mcp","bmad","ai","memory","cli"],"description":"Lore CLI — institutional memory for BMAD-driven AI development","maintainers":[{"name":"alpharagesadmin","email":"info@alpharages.com"}],"readme":"# @alpharages/lore\n\n> CLI for [Lore](https://github.com/Alpharages/lore) — institutional memory for AI-driven development teams.\n\nLore captures lessons from code reviews and developer sessions, embeds them semantically, and surfaces the right ones to AI agents before each task — so the same mistake is never explained twice.\n\nThis CLI wires a self-hosted Lore server into your local AI tools (Cursor, Claude Code, Claude Desktop, Windsurf, Cline, Continue, and more).\n\n---\n\n## Requirements\n\n- Node.js ≥ 20\n- A running Lore server ([self-host in minutes](https://github.com/Alpharages/lore#quick-start))\n\n---\n\n## Install\n\n```bash\nnpm install -g @alpharages/lore\n# or\nnpx @alpharages/lore <command>\n```\n\n---\n\n## Commands\n\n### `lore init`\n\nInitialize a new project. Creates `lore.yaml`, `CLAUDE.md`, `ops/constitution.md`, and per-repo\n`REPO_IDENTITY.md`. Registers the project with the Lore server and prints an API key.\n\n```bash\nexport LORE_ADMIN_SECRET=<your-admin-secret>\nlore init\n```\n\n### `lore install`\n\nReads `lore.yaml` and configures the local machine:\n\n- Interactive checkbox picker to select which AI tools to configure\n- Writes MCP entries for: **Cursor**, **Claude Desktop**, **Claude Code**, **Google Antigravity**, **Windsurf**, **Cline**, **Continue**\n- Appends a Lore include to `~/.claude/CLAUDE.md`\n- Installs `post-commit` / `post-merge` git hooks in declared repos\n- Records progress in `~/.lore/install-state.json` for idempotency\n\n```bash\nlore install                           # interactive picker\nlore install --ide cursor,claude-code  # non-interactive, specific targets\nlore install --ide all                 # configure every supported target\nlore install --ide detected            # configure only installed targets\nlore install --force                   # clear state and redo everything\n```\n\n### `lore inbox`\n\nFetch cross-project lesson suggestions and accept or reject them one-by-one.\n\n```bash\nexport LORE_API_KEY=<your-project-api-key>\nlore inbox\n```\n\n### `lore update`\n\nCheck the running server version against the latest compatible Docker tag, show release notes, verify migration compatibility, and upgrade in place.\n\n```bash\nlore update\n```\n\n---\n\n## lore.yaml\n\nA `lore.yaml` at the project root describes your workspace. `lore init` generates this for you.\n\n```yaml\nproject: my-project\nserver: https://your-lore-server.example.com\nstackTags:\n  - typescript\n  - postgres\nrepos:\n  - name: api\n    path: ./apps/api\n  - name: web\n    path: ./apps/web\n```\n\n---\n\n## License\n\nMIT — see [LICENSE](https://github.com/Alpharages/lore/blob/main/LICENSE)\n","readmeFilename":"README.md"}