{"_id":"@arvoretech/pi-bee-context","_rev":"5-8c81fbcbe9960f9ba2e0d7ce101f110a","name":"@arvoretech/pi-bee-context","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@arvoretech/pi-bee-context","version":"1.0.0","keywords":["pi","extension","bee","context","personalization","facts"],"author":{"name":"Arvore"},"license":"MIT","_id":"@arvoretech/pi-bee-context@1.0.0","maintainers":[{"name":"joao.barros.arvore","email":"joao.barros@arvore.com.br"},{"name":"ricardoraposorfox","email":"ricardorbxx1@gmail.com"},{"name":"vitor.piovezan","email":"vitor.piovezan@arvore.com.br"}],"homepage":"https://github.com/arvoreeducacao/arvore-pi-extensions#readme","bugs":{"url":"https://github.com/arvoreeducacao/arvore-pi-extensions/issues"},"pi":{"extensions":["./dist/index.js"]},"dist":{"shasum":"1537d25cf840cd0d727160c4e2b8f3e90a046f8b","tarball":"https://registry.npmjs.org/@arvoretech/pi-bee-context/-/pi-bee-context-1.0.0.tgz","fileCount":6,"integrity":"sha512-J0/WHIFFrfTYPznc9fzEhdDjD3gp4KHrlTXuLwvftvlgLQnMUKoa1n8jtL3KubnwkkwiIZ/bw7MOpODTEPA4Xw==","signatures":[{"sig":"MEUCIBO1YRPXBSYWil2VkM/tnwo6mcBtYcl1lZ/QT4W8QiBQAiEAiH4nGBLazb/yR5HO1xvU4kR8WuFW54HCY9USnE/60+I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10629},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"035ad4a4941c930410eca0c0cffec77ffa47c0f4","scripts":{"dev":"tsc --watch","lint":"tsc --noEmit","build":"tsc"},"_npmUser":{"name":"joao.barros.arvore","email":"joao.barros@arvore.com.br"},"repository":{"url":"git+https://github.com/arvoreeducacao/arvore-pi-extensions.git","type":"git","directory":"packages/bee-context"},"_npmVersion":"10.9.4","description":"PI extension that injects confirmed personal facts from the Bee wearable assistant into the system prompt for personalized responses","directories":{},"_nodeVersion":"22.21.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.0","@types/node":"^20.10.0","@earendil-works/pi-ai":"latest","@earendil-works/pi-coding-agent":"latest"},"peerDependencies":{"@earendil-works/pi-coding-agent":">=0.74.0"},"_npmOperationalInternal":{"tmp":"tmp/pi-bee-context_1.0.0_1781103869545_0.09873760773218199","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@arvoretech/pi-bee-context","version":"1.0.1","description":"PI extension that injects confirmed personal facts from the Bee wearable assistant into the system prompt for personalized responses","main":"dist/index.js","types":"dist/index.d.ts","type":"module","peerDependencies":{"@earendil-works/pi-coding-agent":">=0.74.0"},"devDependencies":{"@earendil-works/pi-coding-agent":"latest","@earendil-works/pi-ai":"latest","@types/node":"^20.10.0","typescript":"^5.3.0"},"pi":{"extensions":["./dist/index.js"]},"keywords":["pi-package","pi","extension","bee","context","personalization","facts"],"repository":{"type":"git","url":"git+https://github.com/arvoreeducacao/arvore-pi-extensions.git","directory":"packages/bee-context"},"author":{"name":"Arvore"},"license":"MIT","scripts":{"build":"tsc","dev":"tsc --watch","lint":"tsc --noEmit"},"_id":"@arvoretech/pi-bee-context@1.0.1","bugs":{"url":"https://github.com/arvoreeducacao/arvore-pi-extensions/issues"},"homepage":"https://github.com/arvoreeducacao/arvore-pi-extensions#readme","_integrity":"sha512-Ybw444rk7Z/IPoe6a4deKKmQtD6CNDXDlTUuFy0oeSe1QPF0dT6kB1ghAokSQtMrdr3NXQ2QvoHyMQU1M9Z9lg==","_resolved":"/tmp/arvoretech-pi-bee-context-1.0.1.tgz","_from":"file:/tmp/arvoretech-pi-bee-context-1.0.1.tgz","_nodeVersion":"22.22.3","_npmVersion":"11.17.0","dist":{"integrity":"sha512-Ybw444rk7Z/IPoe6a4deKKmQtD6CNDXDlTUuFy0oeSe1QPF0dT6kB1ghAokSQtMrdr3NXQ2QvoHyMQU1M9Z9lg==","shasum":"a1795601fe4ca86aabe2abebab9bb69ffb15611f","tarball":"https://registry.npmjs.org/@arvoretech/pi-bee-context/-/pi-bee-context-1.0.1.tgz","fileCount":6,"unpackedSize":10597,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@arvoretech%2fpi-bee-context@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDU+QOYYJuHxlV6mvYStfqShQYvU4mfxfATK2/x0sjoagIhAK1jYJOgPXwfWD87mUOojeFsG3eOX1+eZituj0AqGVJn"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:903c7c2f-6037-4769-bacc-06750a2daf67"}},"directories":{},"maintainers":[{"name":"joao.barros.arvore","email":"joao.barros@arvore.com.br"},{"name":"rafsouza","email":"rafasouza@protonmail.com"},{"name":"pedro.adas","email":"pedro.adas@gmail.com"},{"name":"guilhermebs","email":"guilhermebscontact@gmail.com"},{"name":"ricardoraposorfox","email":"ricardorbxx1@gmail.com"},{"name":"jott4","email":"jvgcunha2002@gmail.com"},{"name":"vitor.piovezan","email":"vitor.piovezan@arvore.com.br"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-bee-context_1.0.1_1782217127384_0.4928050422554866"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-10T15:04:29.354Z","modified":"2026-06-23T12:18:47.877Z","1.0.0":"2026-06-10T15:04:29.677Z","1.0.1":"2026-06-23T12:18:47.505Z"},"bugs":{"url":"https://github.com/arvoreeducacao/arvore-pi-extensions/issues"},"author":{"name":"Arvore"},"license":"MIT","homepage":"https://github.com/arvoreeducacao/arvore-pi-extensions#readme","keywords":["pi-package","pi","extension","bee","context","personalization","facts"],"repository":{"type":"git","url":"git+https://github.com/arvoreeducacao/arvore-pi-extensions.git","directory":"packages/bee-context"},"description":"PI extension that injects confirmed personal facts from the Bee wearable assistant into the system prompt for personalized responses","maintainers":[{"name":"joao.barros.arvore","email":"joao.barros@arvore.com.br"},{"name":"rafsouza","email":"rafasouza@protonmail.com"},{"name":"pedro.adas","email":"pedro.adas@gmail.com"},{"name":"guilhermebs","email":"guilhermebscontact@gmail.com"},{"name":"ricardoraposorfox","email":"ricardorbxx1@gmail.com"},{"name":"jott4","email":"jvgcunha2002@gmail.com"},{"name":"vitor.piovezan","email":"vitor.piovezan@arvore.com.br"}],"readme":"# @arvoretech/pi-bee-context\n\nPI extension that injects your confirmed personal facts from the [Bee](https://bee.computer) wearable assistant into the system prompt, so the LLM can give more personalized responses.\n\n## How it works\n\n- On `session_start`, runs `bee facts list --json` and caches the confirmed facts in memory.\n- On `before_agent_start`, appends the facts (grouped by tag) to the turn's system prompt. Facts never pollute the conversation history.\n- Fails gracefully: if the `bee` CLI is missing, unauthenticated, or times out, the extension injects nothing and the agent runs normally.\n\n## Requirements\n\nThe [`bee` CLI](https://bee.computer) must be installed and authenticated:\n\n```bash\nbee status\n```\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `/bee-refresh` | Re-fetch facts from Bee and update the injected context (the cache is built at session start). |\n| `/bee-show` | Show the facts currently injected. |\n\n## Privacy\n\nBee facts can include sensitive personal information (health, beliefs, relationships). The injected block instructs the model to treat them as sensitive, but the content is sent to whichever model provider you use. Only enable this extension where you are comfortable with that.\n\n## Usage\n\n### Global (all projects)\n\n```bash\nln -s $(pwd)/packages/bee-context/dist ~/.pi/agent/extensions/bee-context\n```\n\n### Project-local\n\n```json\n{\n  \"extensions\": [\"./path/to/arvore-pi-extensions/packages/bee-context\"]\n}\n```\n","readmeFilename":"README.md"}