{"_id":"@arvoretech/pi-turn-notification","_rev":"5-e2c1e4158c6ef420cf0c886fe3a42b00","name":"@arvoretech/pi-turn-notification","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"@arvoretech/pi-turn-notification","version":"1.0.0","keywords":["pi","extension","notification","macos"],"author":{"name":"Arvore"},"license":"MIT","_id":"@arvoretech/pi-turn-notification@1.0.0","maintainers":[{"name":"joao.barros.arvore","email":"joao.barros@arvore.com.br"},{"name":"ricardoraposorfox","email":"ricardorbxx1@gmail.com"},{"name":"jott4","email":"jvgcunha2002@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":"1f2b4e2873a2be0be558d03aa97bad664f9f3b10","tarball":"https://registry.npmjs.org/@arvoretech/pi-turn-notification/-/pi-turn-notification-1.0.0.tgz","fileCount":6,"integrity":"sha512-LnuFIDi0j40nLj1VQC0var6le0ujwRV0UsUeH51s6dvgl99DRRKCG12+QNR9lMFxk3Ak6Jt3DsccLPB5RmIDpQ==","signatures":[{"sig":"MEUCICC2saSO2GLKlkfSBmfiXbLdaGL26BpAjf7oim1SKhIhAiEA9og5921hb8gMe71l2y1IABwhahBwBjPnSh8rWvTI6Xw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3873},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"a29284e68cb8588bbbb4334f22cc607c5f72a8ac","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/turn-notification"},"_npmVersion":"10.9.4","description":"PI extension that sends a macOS desktop notification at the end of each agent turn","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.0","@types/node":"^20.10.0","@earendil-works/pi-coding-agent":"latest"},"peerDependencies":{"@earendil-works/pi-coding-agent":">=0.74.0"},"_npmOperationalInternal":{"tmp":"tmp/pi-turn-notification_1.0.0_1781614526641_0.8654083542564381","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@arvoretech/pi-turn-notification","version":"1.1.0","keywords":["pi","extension","notification","macos","linux"],"author":{"name":"Arvore"},"license":"MIT","_id":"@arvoretech/pi-turn-notification@1.1.0","maintainers":[{"name":"joao.barros.arvore","email":"joao.barros@arvore.com.br"},{"name":"ricardoraposorfox","email":"ricardorbxx1@gmail.com"},{"name":"jott4","email":"jvgcunha2002@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":"e8815def874396d91e772169a525c66fb23f8680","tarball":"https://registry.npmjs.org/@arvoretech/pi-turn-notification/-/pi-turn-notification-1.1.0.tgz","fileCount":6,"integrity":"sha512-KeJ9faQ/xhSyQVa1PsQb7MO+ZnvZVWuwceVSDjmCRP19fzmmGDMAa7T/In+4XtLJQGvoQUNOlVUBsCdrwqN2LQ==","signatures":[{"sig":"MEYCIQCNCUGtwONk3g+tk4sFXXkm81l2ymG7N+MhdWD1mAOqRgIhAJaa5NESWkV9QyVrKjKaTqUi4JZZj+DFQ31axZhMt18Z","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@arvoretech%2fpi-turn-notification@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5813},"main":"dist/index.js","type":"module","_from":"file:/tmp/arvoretech-pi-turn-notification-1.1.0.tgz","types":"dist/index.d.ts","scripts":{"dev":"tsc --watch","lint":"tsc --noEmit","build":"tsc"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:906c1e44-94e9-4fd8-92fa-5de8fc3a40da"}},"_resolved":"/tmp/arvoretech-pi-turn-notification-1.1.0.tgz","_integrity":"sha512-KeJ9faQ/xhSyQVa1PsQb7MO+ZnvZVWuwceVSDjmCRP19fzmmGDMAa7T/In+4XtLJQGvoQUNOlVUBsCdrwqN2LQ==","repository":{"url":"git+https://github.com/arvoreeducacao/arvore-pi-extensions.git","type":"git","directory":"packages/turn-notification"},"_npmVersion":"11.17.0","description":"PI extension that sends a native desktop notification at the end of each agent turn (macOS and Linux)","directories":{},"_nodeVersion":"22.22.3","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.3.0","@types/node":"^20.10.0","@earendil-works/pi-coding-agent":"latest"},"peerDependencies":{"@earendil-works/pi-coding-agent":">=0.74.0"},"_npmOperationalInternal":{"tmp":"tmp/pi-turn-notification_1.1.0_1781616590521_0.9956353198168659","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@arvoretech/pi-turn-notification","version":"1.1.1","description":"PI extension that sends a native desktop notification at the end of each agent turn (macOS and Linux)","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","@types/node":"^20.10.0","typescript":"^5.3.0"},"pi":{"extensions":["./dist/index.js"]},"keywords":["pi-package","pi","extension","notification","macos","linux"],"repository":{"type":"git","url":"git+https://github.com/arvoreeducacao/arvore-pi-extensions.git","directory":"packages/turn-notification"},"author":{"name":"Arvore"},"license":"MIT","scripts":{"build":"tsc","dev":"tsc --watch","lint":"tsc --noEmit"},"_id":"@arvoretech/pi-turn-notification@1.1.1","bugs":{"url":"https://github.com/arvoreeducacao/arvore-pi-extensions/issues"},"homepage":"https://github.com/arvoreeducacao/arvore-pi-extensions#readme","_integrity":"sha512-qghkNFisV4xffDk5PNppOtXN9HrL2aeMGgjiLp+8ZDeETS+YNtkreEWQiVAQxO8CSuvtzNECO6hccwEjHXMiGw==","_resolved":"/tmp/arvoretech-pi-turn-notification-1.1.1.tgz","_from":"file:/tmp/arvoretech-pi-turn-notification-1.1.1.tgz","_nodeVersion":"22.22.3","_npmVersion":"11.17.0","dist":{"integrity":"sha512-qghkNFisV4xffDk5PNppOtXN9HrL2aeMGgjiLp+8ZDeETS+YNtkreEWQiVAQxO8CSuvtzNECO6hccwEjHXMiGw==","shasum":"c414ce047bca1923ffd1c6cba29d0834db2113a0","tarball":"https://registry.npmjs.org/@arvoretech/pi-turn-notification/-/pi-turn-notification-1.1.1.tgz","fileCount":6,"unpackedSize":5831,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@arvoretech%2fpi-turn-notification@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEhBC2MUI9PJC7VFlb0M9AFSwk2NOyqVsMBicBlvuK+AAiEA9Zoym1hzJja4yevDFDrNq74rM68TztDyV3CShV9njkQ="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:906c1e44-94e9-4fd8-92fa-5de8fc3a40da"}},"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-turn-notification_1.1.1_1782216746271_0.8372998380607235"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-16T12:55:26.516Z","modified":"2026-06-23T12:12:26.912Z","1.0.0":"2026-06-16T12:55:26.805Z","1.1.0":"2026-06-16T13:29:50.656Z","1.1.1":"2026-06-23T12:12:26.426Z"},"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","notification","macos","linux"],"repository":{"type":"git","url":"git+https://github.com/arvoreeducacao/arvore-pi-extensions.git","directory":"packages/turn-notification"},"description":"PI extension that sends a native desktop notification at the end of each agent turn (macOS and Linux)","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-turn-notification\n\nPi extension that sends a native desktop notification at the end of each agent turn.\n\nWorks on macOS and Linux:\n\n- **macOS**: uses `osascript` to trigger native notifications with the \"Glass\" sound.\n- **Linux**: uses `notify-send` (libnotify) for the notification, and plays a sound via `canberra-gtk-play` or `paplay` when available.\n\nOn Linux, make sure `libnotify` is installed (`notify-send` binary). The sound is best-effort and silently skipped if no player is available.\n\n## Install\n\n```bash\npnpm add @arvoretech/pi-turn-notification\n```\n\n## Usage\n\nAdd to your `.pi/config.json`:\n\n```json\n{\n  \"extensions\": [\"@arvoretech/pi-turn-notification\"]\n}\n```\n","readmeFilename":"README.md"}