{"_id":"@blackbelt-technology/pi-dashboard-kb-extension","_rev":"5-d6d8ac82b169f26d7df5e7fec91c81e4","name":"@blackbelt-technology/pi-dashboard-kb-extension","dist-tags":{"latest":"0.8.0"},"versions":{"0.5.4":{"name":"@blackbelt-technology/pi-dashboard-kb-extension","version":"0.5.4","keywords":["pi-package","pi-extension","knowledge-base","dox"],"license":"MIT","_id":"@blackbelt-technology/pi-dashboard-kb-extension@0.5.4","maintainers":[{"name":"mbotond","email":"botond.molnar@blackbelt.hu"},{"name":"mrbence","email":"dbence10@gmail.com"},{"name":"robertcsakany","email":"robert.csakany@blackbelt.hu"},{"name":"norbert.herczeg","email":"norbert.herczeg@blackbelt.hu"}],"homepage":"https://github.com/BlackBeltTechnology/pi-agent-dashboard#readme","bugs":{"url":"https://github.com/BlackBeltTechnology/pi-agent-dashboard/issues"},"pi":{"extensions":["src/extension.ts"]},"dist":{"shasum":"ab17e17a54faf0b483fc236e2ea2a7bfd14db134","tarball":"https://registry.npmjs.org/@blackbelt-technology/pi-dashboard-kb-extension/-/pi-dashboard-kb-extension-0.5.4.tgz","fileCount":5,"integrity":"sha512-u32ROx8MizOS+4Gg2SNnD7h4Rxcu6bOdDVSOt0Aay6rLTJs0cpy0AHNA7sokjkXrpBxZbK08kbCcnePAaXDHkw==","signatures":[{"sig":"MEUCIQDKblU7PmUiqzjXty3H4QPMEsuTkNZxeIslwfVI7KodOwIgEm0vJfroNU5v0tNL48GqHRR9fPjBH4o7/wrYOor7YEs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17344},"type":"module","exports":{".":"./src/index.ts"},"gitHead":"676817fc2b61036bc861c1ca1406d37af016c072","scripts":{"test":"NODE_OPTIONS=--experimental-sqlite vitest run"},"_npmUser":{"name":"robertcsakany","email":"robert.csakany@blackbelt.hu"},"repository":{"url":"git+https://github.com/BlackBeltTechnology/pi-agent-dashboard.git","type":"git","directory":"packages/kb-extension"},"_npmVersion":"10.9.3","description":"Isolated pi extension: registers kb_search/kb_neighbors/kb_get tools and a tool_result hook that reindexes markdown on edit and (opt-in) nudges DOX AGENTS.md row upkeep.","directories":{},"_nodeVersion":"24.15.0","dependencies":{"@blackbelt-technology/pi-dashboard-kb":"^0.5.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@earendil-works/pi-coding-agent":"*"},"peerDependencies":{"@mariozechner/pi-coding-agent":"*","@earendil-works/pi-coding-agent":"*"},"peerDependenciesMeta":{"@mariozechner/pi-coding-agent":{"optional":true},"@earendil-works/pi-coding-agent":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/pi-dashboard-kb-extension_0.5.4_1782336704933_0.8026210851987146","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@blackbelt-technology/pi-dashboard-kb-extension","version":"0.6.0","keywords":["pi-package","pi-extension","knowledge-base","dox"],"license":"MIT","_id":"@blackbelt-technology/pi-dashboard-kb-extension@0.6.0","maintainers":[{"name":"mbotond","email":"botond.molnar@blackbelt.hu"},{"name":"mrbence","email":"dbence10@gmail.com"},{"name":"robertcsakany","email":"robert.csakany@blackbelt.hu"},{"name":"norbert.herczeg","email":"norbert.herczeg@blackbelt.hu"}],"homepage":"https://github.com/BlackBeltTechnology/pi-agent-dashboard#readme","bugs":{"url":"https://github.com/BlackBeltTechnology/pi-agent-dashboard/issues"},"pi":{"extensions":["src/extension.ts"]},"dist":{"shasum":"d658ba29e83958e6853e4fa9c66c19af344f1fe9","tarball":"https://registry.npmjs.org/@blackbelt-technology/pi-dashboard-kb-extension/-/pi-dashboard-kb-extension-0.6.0.tgz","fileCount":6,"integrity":"sha512-CfW5B+oDy/U4wezylo7DX+kvwR2AEa8sY0NZTB1XhL9v2WtLVF/d3tTmANg+UQp1n8GPvvRn2VHFLgHm88FgNg==","signatures":[{"sig":"MEQCICKbdodhAcujfXwYisXBqIbOGnyM3JdkcRT5kfdtKquMAiANa2G/uOk37AvmEsPZd2HoPESe3P6TAFGp55rWstQ56g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@blackbelt-technology%2fpi-dashboard-kb-extension@0.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":26500},"type":"module","exports":{".":"./src/index.ts"},"gitHead":"70c087ba97d3b7a9997767f7c9c758ac49d998f2","scripts":{"test":"NODE_OPTIONS=--experimental-sqlite vitest run"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c0c2271a-6795-49e6-8c3a-181d3cb49b2d"}},"repository":{"url":"git+https://github.com/BlackBeltTechnology/pi-agent-dashboard.git","type":"git","directory":"packages/kb-extension"},"_npmVersion":"11.12.1","description":"Isolated pi extension: registers kb_search/kb_neighbors/kb_get tools and a tool_result hook that reindexes markdown on edit and (opt-in) nudges DOX AGENTS.md row upkeep.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@blackbelt-technology/pi-dashboard-kb":"^0.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@earendil-works/pi-coding-agent":"*"},"peerDependencies":{"@mariozechner/pi-coding-agent":"*","@earendil-works/pi-coding-agent":"*"},"peerDependenciesMeta":{"@mariozechner/pi-coding-agent":{"optional":true},"@earendil-works/pi-coding-agent":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/pi-dashboard-kb-extension_0.6.0_1784565587847_0.5977605362990919","host":"s3://npm-registry-packages-npm-production"}},"0.6.1":{"name":"@blackbelt-technology/pi-dashboard-kb-extension","version":"0.6.1","keywords":["pi-package","pi-extension","knowledge-base","dox"],"license":"MIT","_id":"@blackbelt-technology/pi-dashboard-kb-extension@0.6.1","maintainers":[{"name":"mbotond","email":"botond.molnar@blackbelt.hu"},{"name":"mrbence","email":"dbence10@gmail.com"},{"name":"robertcsakany","email":"robert.csakany@blackbelt.hu"},{"name":"norbert.herczeg","email":"norbert.herczeg@blackbelt.hu"}],"homepage":"https://github.com/BlackBeltTechnology/pi-agent-dashboard#readme","bugs":{"url":"https://github.com/BlackBeltTechnology/pi-agent-dashboard/issues"},"pi":{"extensions":["src/extension.ts"]},"dist":{"shasum":"b0bb0e733d86430e2f8a29bb7501548906a2b450","tarball":"https://registry.npmjs.org/@blackbelt-technology/pi-dashboard-kb-extension/-/pi-dashboard-kb-extension-0.6.1.tgz","fileCount":6,"integrity":"sha512-4eCRUPeVO22bfA8vYpKfxUey1T7N65V29c+SyO2K6SdpUdKGTG56bIPLbiOMLWlaD5AHL6htV1bFRNJ8K/etSA==","signatures":[{"sig":"MEUCIEYEpah7pDkltdkb6ypmqFoYf0kXLE8I27IsIjMLuXTAAiEA3qQr1wbJZyeR1QtdwKj90FHGOOcpN1eZNC7Zjebx69o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@blackbelt-technology%2fpi-dashboard-kb-extension@0.6.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":26500},"type":"module","exports":{".":"./src/index.ts"},"gitHead":"88a0cf3cc7d7c7c4e44eb61df3cceff19ed919ad","scripts":{"test":"NODE_OPTIONS=--experimental-sqlite vitest run"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c0c2271a-6795-49e6-8c3a-181d3cb49b2d"}},"repository":{"url":"git+https://github.com/BlackBeltTechnology/pi-agent-dashboard.git","type":"git","directory":"packages/kb-extension"},"_npmVersion":"11.12.1","description":"Isolated pi extension: registers kb_search/kb_neighbors/kb_get tools and a tool_result hook that reindexes markdown on edit and (opt-in) nudges DOX AGENTS.md row upkeep.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@blackbelt-technology/pi-dashboard-kb":"^0.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@earendil-works/pi-coding-agent":"*"},"peerDependencies":{"@mariozechner/pi-coding-agent":"*","@earendil-works/pi-coding-agent":"*"},"peerDependenciesMeta":{"@mariozechner/pi-coding-agent":{"optional":true},"@earendil-works/pi-coding-agent":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/pi-dashboard-kb-extension_0.6.1_1784571731056_0.29443763901510445","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@blackbelt-technology/pi-dashboard-kb-extension","version":"0.7.0","keywords":["pi-package","pi-extension","knowledge-base","dox"],"license":"MIT","_id":"@blackbelt-technology/pi-dashboard-kb-extension@0.7.0","maintainers":[{"name":"mbotond","email":"botond.molnar@blackbelt.hu"},{"name":"mrbence","email":"dbence10@gmail.com"},{"name":"robertcsakany","email":"robert.csakany@blackbelt.hu"},{"name":"norbert.herczeg","email":"norbert.herczeg@blackbelt.hu"}],"homepage":"https://github.com/BlackBeltTechnology/pi-agent-dashboard#readme","bugs":{"url":"https://github.com/BlackBeltTechnology/pi-agent-dashboard/issues"},"pi":{"extensions":["src/extension.ts"]},"dist":{"shasum":"d48b8a11b2743a9fa41e6f249f6ebaff2746ea36","tarball":"https://registry.npmjs.org/@blackbelt-technology/pi-dashboard-kb-extension/-/pi-dashboard-kb-extension-0.7.0.tgz","fileCount":6,"integrity":"sha512-fs92wwY7C0a7nmEGrA1P2PHqtvLl62bdpOjN1vJHbWl/yHzTNtgKwcnG8/h37nTYscHqopHm/UKoK0hUCJlNHg==","signatures":[{"sig":"MEQCIGRkm6SETYfkRAUK6CPio0fRi4iLdgqS1ADgrb8kSzF7AiA7634OanXjxSSmCrSk87Ao9f/2QOvjvE6sUR4qjCzWbQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@blackbelt-technology%2fpi-dashboard-kb-extension@0.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":26500},"type":"module","exports":{".":"./src/index.ts"},"gitHead":"9203d6a89f1b81c516e9351072ee5cb4c6579e0a","scripts":{"test":"NODE_OPTIONS=--experimental-sqlite vitest run"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c0c2271a-6795-49e6-8c3a-181d3cb49b2d"}},"repository":{"url":"git+https://github.com/BlackBeltTechnology/pi-agent-dashboard.git","type":"git","directory":"packages/kb-extension"},"_npmVersion":"12.0.1","description":"Isolated pi extension: registers kb_search/kb_neighbors/kb_get tools and a tool_result hook that reindexes markdown on edit and (opt-in) nudges DOX AGENTS.md row upkeep.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@blackbelt-technology/pi-dashboard-kb":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@earendil-works/pi-coding-agent":"*"},"peerDependencies":{"@mariozechner/pi-coding-agent":"*","@earendil-works/pi-coding-agent":"*"},"peerDependenciesMeta":{"@mariozechner/pi-coding-agent":{"optional":true},"@earendil-works/pi-coding-agent":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/pi-dashboard-kb-extension_0.7.0_1784899103254_0.2866854250823383","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@blackbelt-technology/pi-dashboard-kb-extension","version":"0.8.0","description":"Isolated pi extension: registers kb_search/kb_neighbors/kb_get tools and a tool_result hook that reindexes markdown on edit and (opt-in) nudges DOX AGENTS.md row upkeep.","type":"module","license":"MIT","repository":{"type":"git","url":"git+https://github.com/BlackBeltTechnology/pi-agent-dashboard.git","directory":"packages/kb-extension"},"publishConfig":{"access":"public"},"keywords":["pi-package","pi-extension","knowledge-base","dox"],"pi":{"extensions":["src/extension.ts"]},"exports":{".":"./src/index.ts"},"scripts":{"test":"NODE_OPTIONS=--experimental-sqlite vitest run"},"dependencies":{"@blackbelt-technology/pi-dashboard-kb":"^0.8.0"},"peerDependencies":{"@earendil-works/pi-coding-agent":">=0.80.10","@mariozechner/pi-coding-agent":">=0.73.1","typebox":">=1.3.6"},"peerDependenciesMeta":{"@earendil-works/pi-coding-agent":{"optional":true},"@mariozechner/pi-coding-agent":{"optional":true},"typebox":{"optional":true}},"devDependencies":{"@earendil-works/pi-coding-agent":">=0.80.10","typebox":"^1.3.6"},"gitHead":"9373dfa416660a285475febc0383608fe14270b1","_id":"@blackbelt-technology/pi-dashboard-kb-extension@0.8.0","bugs":{"url":"https://github.com/BlackBeltTechnology/pi-agent-dashboard/issues"},"homepage":"https://github.com/BlackBeltTechnology/pi-agent-dashboard#readme","_nodeVersion":"24.19.0","_npmVersion":"12.0.2","dist":{"integrity":"sha512-9ofxEoZ57f5FoIQduDwKADiM2MSwausDIBVImsfa/rP3OFBBxjgMn1A1BEtkmzxrmaS9hbiPjzCmImHgJ1FD8w==","shasum":"5b0ac367c74acfaa425fd8a9853b602dacff269e","tarball":"https://registry.npmjs.org/@blackbelt-technology/pi-dashboard-kb-extension/-/pi-dashboard-kb-extension-0.8.0.tgz","fileCount":5,"unpackedSize":25331,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@blackbelt-technology%2fpi-dashboard-kb-extension@0.8.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCEm59tGN3xkv3POMaAe7DrHxCDSuuxCuQiGoerPvjJ1gIgWRAC9cRDWulJg68tuBdlxUh+5gq3sZ0VdgXUWUfY1VY="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c0c2271a-6795-49e6-8c3a-181d3cb49b2d"}},"directories":{},"maintainers":[{"name":"mbotond","email":"botond.molnar@blackbelt.hu"},{"name":"mrbence","email":"dbence10@gmail.com"},{"name":"robertcsakany","email":"robert.csakany@blackbelt.hu"},{"name":"norbert.herczeg","email":"norbert.herczeg@blackbelt.hu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-dashboard-kb-extension_0.8.0_1787746004141_0.014845952097446435"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-24T21:31:44.698Z","modified":"2026-08-26T12:06:44.758Z","0.5.4":"2026-06-24T21:31:45.075Z","0.6.0":"2026-07-20T16:39:48.019Z","0.6.1":"2026-07-20T18:22:11.190Z","0.7.0":"2026-07-24T13:18:23.417Z","0.8.0":"2026-08-26T12:06:44.267Z"},"bugs":{"url":"https://github.com/BlackBeltTechnology/pi-agent-dashboard/issues"},"license":"MIT","homepage":"https://github.com/BlackBeltTechnology/pi-agent-dashboard#readme","keywords":["pi-package","pi-extension","knowledge-base","dox"],"repository":{"type":"git","url":"git+https://github.com/BlackBeltTechnology/pi-agent-dashboard.git","directory":"packages/kb-extension"},"description":"Isolated pi extension: registers kb_search/kb_neighbors/kb_get tools and a tool_result hook that reindexes markdown on edit and (opt-in) nudges DOX AGENTS.md row upkeep.","maintainers":[{"name":"mbotond","email":"botond.molnar@blackbelt.hu"},{"name":"mrbence","email":"dbence10@gmail.com"},{"name":"robertcsakany","email":"robert.csakany@blackbelt.hu"},{"name":"norbert.herczeg","email":"norbert.herczeg@blackbelt.hu"}],"readme":"# @blackbelt-technology/pi-dashboard-kb-extension\n\nIsolated pi extension for the markdown knowledge base. **Not** part of the dashboard bridge (`src/extension/bridge.ts`) — a standalone extension package.\n\n## What it does\n\n- **Registers native tools** (`pi.registerTool`): `kb_search`, `kb_neighbors`, `kb_get` — pull retrieval over the local SQLite/FTS5 KB. The agent calls them; nothing is auto-injected.\n- **`tool_result` hook — Job 1 (always on):** a `write`/`edit` to a `.md` file triggers a debounced, hash-gated incremental reindex. Editing an `AGENTS.md`/`CLAUDE.md` also acknowledges its DOX rows.\n- **`tool_result` hook — Job 2 (opt-in, `doxEnforcement` default OFF):** a `write`/`edit` to a non-md source file emits one bounded, deduped nudge to update the nearest `AGENTS.md` row (or points at `kb dox init` on a treeless path).\n- **`tool_call` hook — push mode (opt-in, `directoryLevelAgents.enabled && mode:\"push\"`):** surfaces the nearest `AGENTS.md` for a touched path. Default off (context-cost caveats).\n\n## Install\n\nAdd to `.pi/settings.json` `packages` or `extensions`, or drop into `~/.pi/agent/extensions/`. Requires `@blackbelt-technology/pi-dashboard-kb` and a configured `.pi/dashboard/knowledge_base.json` (run `kb init`).\n\n## Env\n\n- `KB_DOX_ENFORCEMENT=1` — force-enable DOX row enforcement.\n","readmeFilename":"README.md"}