{"_id":"@4fu/pi-subagent","_rev":"12-23c81553339bda7105ca61b70df160dc","name":"@4fu/pi-subagent","dist-tags":{"latest":"0.1.11"},"versions":{"0.1.0":{"name":"@4fu/pi-subagent","version":"0.1.0","keywords":["pi-package","pi-extension","subagent"],"author":{"name":"4fuu"},"license":"MIT","_id":"@4fu/pi-subagent@0.1.0","maintainers":[{"name":"4fu","email":"npm@4fwu.com"}],"homepage":"https://github.com/4fuu/pi-subagent#readme","bugs":{"url":"https://github.com/4fuu/pi-subagent/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"abd31b1c3a01f927a4994c14edcb97918183de79","tarball":"https://registry.npmjs.org/@4fu/pi-subagent/-/pi-subagent-0.1.0.tgz","fileCount":15,"integrity":"sha512-yAcd6hS44kzONLFXAjqQc1Di4srQ5sfbBGFKEXVbVClZJqcegVxPNkJP74vXViTDSO0kmPqMQuFlBtGdgpewgg==","signatures":[{"sig":"MEQCIF6fBi2sU2VtvhmhQhqsbMwVaCs6HDShzjyLPbeckurQAiB6Q9HCt4wviT+mElZiiI9dC5ZuPL6TnO2O9dhjtoyC1w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":65758},"type":"module","engines":{"node":">=22.19.0"},"gitHead":"15a869f77c266495da1f38fd13e93120c4edf80e","scripts":{"test":"npm run typecheck && npm run test:runner && node --import tsx --test tests/*.test.ts","typecheck":"tsc --noEmit","test:runner":"node --experimental-strip-types src/runner.ts --smoke"},"_npmUser":{"name":"4fu","email":"npm@4fwu.com"},"repository":{"url":"git+https://github.com/4fuu/pi-subagent.git","type":"git"},"_npmVersion":"10.9.9","description":"Durable, low-noise background subagents for Pi","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.0","typebox":"^1.3.11","typescript":"^5.9.0","@types/node":"^24.0.0","@earendil-works/pi-ai":"^0.84.1","@earendil-works/pi-tui":"^0.84.1","@earendil-works/pi-coding-agent":"^0.84.1"},"peerDependencies":{"typebox":">=1.3.11 <2","@earendil-works/pi-ai":">=0.84.1 <1","@earendil-works/pi-tui":">=0.84.1 <1","@earendil-works/pi-coding-agent":">=0.84.1 <1"},"_npmOperationalInternal":{"tmp":"tmp/pi-subagent_0.1.0_1786275777193_0.47016901074378237","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@4fu/pi-subagent","version":"0.1.1","keywords":["pi-package","pi-extension","subagent"],"author":{"name":"4fuu"},"license":"MIT","_id":"@4fu/pi-subagent@0.1.1","maintainers":[{"name":"4fu","email":"npm@4fwu.com"}],"homepage":"https://github.com/4fuu/pi-subagent#readme","bugs":{"url":"https://github.com/4fuu/pi-subagent/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"cb76c00c93b31b7e150ca965e680580d072d7e3c","tarball":"https://registry.npmjs.org/@4fu/pi-subagent/-/pi-subagent-0.1.1.tgz","fileCount":15,"integrity":"sha512-vzXUHbagLT8EfG6jbuY7uKfFArdzNhrfSSX9cvkeWns2vA3CgnOrp6VJAsqJ86AXvWutjTdkjTvRVKq77eczNQ==","signatures":[{"sig":"MEUCIFRAEj9FIBYA0GPFgsc18zINiu0CSo62XS4VM/qgNtwVAiEA/seeLDT/u2ARGMvfDTVCH2rz6wJSvTCOiqbCtculm0w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":66866},"type":"module","engines":{"node":">=22.19.0"},"gitHead":"2563d7fcfa97181f38dccd6af546159936778966","scripts":{"test":"npm run typecheck && npm run test:runner && node --import tsx --test tests/*.test.ts","typecheck":"tsc --noEmit","test:runner":"node --experimental-strip-types src/runner.ts --smoke"},"_npmUser":{"name":"4fu","email":"npm@4fwu.com"},"repository":{"url":"git+https://github.com/4fuu/pi-subagent.git","type":"git"},"_npmVersion":"10.9.9","description":"Durable, low-noise background subagents for Pi","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.0","typebox":"^1.3.11","typescript":"^5.9.0","@types/node":"^24.0.0","@earendil-works/pi-ai":"^0.84.1","@earendil-works/pi-tui":"^0.84.1","@earendil-works/pi-coding-agent":"^0.84.1"},"peerDependencies":{"typebox":">=1.3.11 <2","@earendil-works/pi-ai":">=0.84.1 <1","@earendil-works/pi-tui":">=0.84.1 <1","@earendil-works/pi-coding-agent":">=0.84.1 <1"},"_npmOperationalInternal":{"tmp":"tmp/pi-subagent_0.1.1_1786278498501_0.2869431670479594","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@4fu/pi-subagent","version":"0.1.2","keywords":["pi-package","pi-extension","subagent"],"author":{"name":"4fuu"},"license":"MIT","_id":"@4fu/pi-subagent@0.1.2","maintainers":[{"name":"4fu","email":"npm@4fwu.com"}],"homepage":"https://github.com/4fuu/pi-subagent#readme","bugs":{"url":"https://github.com/4fuu/pi-subagent/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"6ddc3827907c9f4f10bb42623703c0eafadee6dc","tarball":"https://registry.npmjs.org/@4fu/pi-subagent/-/pi-subagent-0.1.2.tgz","fileCount":15,"integrity":"sha512-Ou99Uqwnu5fuwSBqOOjkGmZzqXCBunR1kX8KTB/gP0uo10YtfrtT7K4ZBV9U5/jzwUQPB7uS7K/hQ0kjm7QYzg==","signatures":[{"sig":"MEUCIH3bg/CLSL6akrhw/GrWNIsheg5KaY8rzaoQ5K0HZ3S3AiEAsuNezMH7kiG/Dn51xeEsORmA1BcKyAy+mFxAbYc4A64=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":66513},"type":"module","engines":{"node":">=22.19.0"},"gitHead":"bac2fe18c4acfa4f56b95da1179ef57437b62afb","scripts":{"test":"npm run typecheck && npm run test:runner && node --import tsx --test tests/*.test.ts","typecheck":"tsc --noEmit","test:runner":"node --experimental-strip-types src/runner.ts --smoke"},"_npmUser":{"name":"4fu","email":"npm@4fwu.com"},"repository":{"url":"git+https://github.com/4fuu/pi-subagent.git","type":"git"},"_npmVersion":"10.9.9","description":"Durable, low-noise background subagents for Pi","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.0","typebox":"^1.3.11","typescript":"^5.9.0","@types/node":"^24.0.0","@earendil-works/pi-ai":"^0.84.1","@earendil-works/pi-tui":"^0.84.1","@earendil-works/pi-coding-agent":"^0.84.1"},"peerDependencies":{"typebox":">=1.3.11 <2","@earendil-works/pi-ai":">=0.84.1 <1","@earendil-works/pi-tui":">=0.84.1 <1","@earendil-works/pi-coding-agent":">=0.84.1 <1"},"_npmOperationalInternal":{"tmp":"tmp/pi-subagent_0.1.2_1786278900766_0.9788734081973545","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@4fu/pi-subagent","version":"0.1.3","keywords":["pi-package","pi-extension","subagent"],"author":{"name":"4fuu"},"license":"MIT","_id":"@4fu/pi-subagent@0.1.3","maintainers":[{"name":"4fu","email":"npm@4fwu.com"}],"homepage":"https://github.com/4fuu/pi-subagent#readme","bugs":{"url":"https://github.com/4fuu/pi-subagent/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"d73941fc17eae01d67f62f1e7d232ea232d9c878","tarball":"https://registry.npmjs.org/@4fu/pi-subagent/-/pi-subagent-0.1.3.tgz","fileCount":15,"integrity":"sha512-D0+SxgM27sfiTP9X66/tw65dQpYoLDvL7yjSuU1PGX9S/Q/6d5nlmSrBmGSNV1lC3TPaW87TFnhqHzcmZriwEA==","signatures":[{"sig":"MEUCIQC4fm55F1O3quQefN7zmm7RoguPMzZY8XbAT1HhmvH8GwIgDzLHkaY3ccjMZFjlNMfrtH5qqTBN2Ql0qoCZFAMug0Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":66128},"type":"module","engines":{"node":">=22.19.0"},"gitHead":"7b93920f596c72e2c37bf1e80cffe24bae3ea802","scripts":{"test":"npm run typecheck && npm run test:runner && node --import tsx --test tests/*.test.ts","typecheck":"tsc --noEmit","test:runner":"node --experimental-strip-types src/runner.ts --smoke"},"_npmUser":{"name":"4fu","email":"npm@4fwu.com"},"repository":{"url":"git+https://github.com/4fuu/pi-subagent.git","type":"git"},"_npmVersion":"10.9.9","description":"Durable, low-noise background subagents for Pi","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.0","typebox":"^1.3.11","typescript":"^5.9.0","@types/node":"^24.0.0","@earendil-works/pi-ai":"^0.84.1","@earendil-works/pi-tui":"^0.84.1","@earendil-works/pi-coding-agent":"^0.84.1"},"peerDependencies":{"typebox":">=1.3.11 <2","@earendil-works/pi-ai":">=0.84.1 <1","@earendil-works/pi-tui":">=0.84.1 <1","@earendil-works/pi-coding-agent":">=0.84.1 <1"},"_npmOperationalInternal":{"tmp":"tmp/pi-subagent_0.1.3_1786281400801_0.39835143525214756","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@4fu/pi-subagent","version":"0.1.4","keywords":["pi-package","pi-extension","subagent"],"author":{"name":"4fuu"},"license":"MIT","_id":"@4fu/pi-subagent@0.1.4","maintainers":[{"name":"4fu","email":"npm@4fwu.com"}],"homepage":"https://github.com/4fuu/pi-subagent#readme","bugs":{"url":"https://github.com/4fuu/pi-subagent/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"049a26a004f5d9a52598ae47e4a90c0a60a4626d","tarball":"https://registry.npmjs.org/@4fu/pi-subagent/-/pi-subagent-0.1.4.tgz","fileCount":12,"integrity":"sha512-1p4qmdIvDa1dZRmRA46aKgp6e6pYHZifcGEM/Rmp043Ke/3ir7eOzXk43eIumi4aMoW8lME/DjzIuFp/VZxKCQ==","signatures":[{"sig":"MEYCIQCiILb2Pa3zXvLV4BJbtn3LLB9DcVDnhVxamrHoroqR1wIhANecUaSVNaLzJyyo5zt/V+yhn57w1Lu6lbuhRHnmnBb2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":64312},"type":"module","engines":{"node":">=22.19.0"},"gitHead":"847cdd0ed8095a04e9aa8fcea246d4a2c03b4009","scripts":{"test":"npm run typecheck && npm run test:runner && node --import tsx --test tests/*.test.ts","typecheck":"tsc --noEmit","test:runner":"node --experimental-strip-types src/runner.ts --smoke"},"_npmUser":{"name":"4fu","email":"npm@4fwu.com"},"repository":{"url":"git+https://github.com/4fuu/pi-subagent.git","type":"git"},"_npmVersion":"10.9.9","description":"Durable, low-noise background subagents for Pi","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@4fu/pi-task-coordinator":"0.1.2"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.0","typebox":"^1.3.11","typescript":"^5.9.0","@types/node":"^24.0.0","@earendil-works/pi-ai":"^0.84.1","@earendil-works/pi-tui":"^0.84.1","@earendil-works/pi-coding-agent":"^0.84.1"},"peerDependencies":{"typebox":">=1.3.11 <2","@earendil-works/pi-ai":">=0.84.1 <1","@earendil-works/pi-tui":">=0.84.1 <1","@earendil-works/pi-coding-agent":">=0.84.1 <1"},"_npmOperationalInternal":{"tmp":"tmp/pi-subagent_0.1.4_1786292737220_0.43989414381929914","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@4fu/pi-subagent","version":"0.1.5","keywords":["pi-package","pi-extension","subagent"],"author":{"name":"4fuu"},"license":"MIT","_id":"@4fu/pi-subagent@0.1.5","maintainers":[{"name":"4fu","email":"npm@4fwu.com"}],"homepage":"https://github.com/4fuu/pi-subagent#readme","bugs":{"url":"https://github.com/4fuu/pi-subagent/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"a107e68257aefce96d8ded60a5c989470b27e16c","tarball":"https://registry.npmjs.org/@4fu/pi-subagent/-/pi-subagent-0.1.5.tgz","fileCount":12,"integrity":"sha512-DZyME14Bshj49zpd3Vn3Itx/k5DMghSYWd6t16u7ysO60skCTlKPgNWYB36r6NJTxmtG/hU+utq7wNFftxAd8Q==","signatures":[{"sig":"MEQCICyGQLbRPhvLG2pl8EDnw3ZHMrQ+glhziCONV3QijMOeAiB1SESUihWff+CC/2PZLTV6Ye4InuWopom5DU28rQW2jg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":64312},"type":"module","engines":{"node":">=22.19.0"},"gitHead":"c956fd39392b990c9898de41f637be717f6d674e","scripts":{"test":"npm run typecheck && npm run test:runner && node --import tsx --test tests/*.test.ts","typecheck":"tsc --noEmit","test:runner":"node --experimental-strip-types src/runner.ts --smoke"},"_npmUser":{"name":"4fu","email":"npm@4fwu.com"},"repository":{"url":"git+https://github.com/4fuu/pi-subagent.git","type":"git"},"_npmVersion":"10.9.9","description":"Durable, low-noise background subagents for Pi","directories":{},"_nodeVersion":"22.19.0","dependencies":{"@4fu/pi-task-coordinator":"0.1.3"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.0","typebox":"^1.3.11","typescript":"^5.9.0","@types/node":"^24.0.0","@earendil-works/pi-ai":"^0.84.1","@earendil-works/pi-tui":"^0.84.1","@earendil-works/pi-coding-agent":"^0.84.1"},"peerDependencies":{"typebox":">=1.3.11 <2","@earendil-works/pi-ai":">=0.84.1 <1","@earendil-works/pi-tui":">=0.84.1 <1","@earendil-works/pi-coding-agent":">=0.84.1 <1"},"_npmOperationalInternal":{"tmp":"tmp/pi-subagent_0.1.5_1786318279531_0.860958787299009","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@4fu/pi-subagent","version":"0.1.6","keywords":["pi-package","pi-extension","subagent"],"author":{"name":"4fuu"},"license":"MIT","_id":"@4fu/pi-subagent@0.1.6","maintainers":[{"name":"4fu","email":"npm@4fwu.com"}],"homepage":"https://github.com/4fuu/pi-subagent#readme","bugs":{"url":"https://github.com/4fuu/pi-subagent/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"3ed930e9bcd1816f2c4782267fdde169bc1c96cb","tarball":"https://registry.npmjs.org/@4fu/pi-subagent/-/pi-subagent-0.1.6.tgz","fileCount":12,"integrity":"sha512-HFkOfAqi2de7+tOQdosjKWsKQ4/8pcywOXYBvLjZ9c/2/1Wj4MKzAu1d3laxJE7QScLUeCm3loSA1/PXplCuIw==","signatures":[{"sig":"MEYCIQDwWAOtNOf8RRaRyA1QwIpM8W25jYqDS7Kcn2nUgdvJogIhAPol04NtwJly4SVjSF/yhECnpGGmu33XILS40EDCOHDX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":64885},"type":"module","engines":{"node":">=22.19.0"},"gitHead":"be6afb537d924ee920d4f9a45f4deb42e1aab965","scripts":{"test":"npm run typecheck && npm run test:runner && node --import tsx --test tests/*.test.ts","typecheck":"tsc --noEmit","test:runner":"node --experimental-strip-types src/runner.ts --smoke"},"_npmUser":{"name":"4fu","email":"npm@4fwu.com"},"repository":{"url":"git+https://github.com/4fuu/pi-subagent.git","type":"git"},"_npmVersion":"10.9.9","description":"Durable, low-noise background subagents for Pi","directories":{},"_nodeVersion":"22.19.0","dependencies":{"@4fu/pi-task-coordinator":"0.1.3"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.0","typebox":"^1.3.11","typescript":"^5.9.0","@types/node":"^24.0.0","@earendil-works/pi-ai":"^0.84.1","@earendil-works/pi-tui":"^0.84.1","@earendil-works/pi-coding-agent":"^0.84.1"},"peerDependencies":{"typebox":">=1.3.11 <2","@earendil-works/pi-ai":">=0.84.1 <1","@earendil-works/pi-tui":">=0.84.1 <1","@earendil-works/pi-coding-agent":">=0.84.1 <1"},"_npmOperationalInternal":{"tmp":"tmp/pi-subagent_0.1.6_1786331998560_0.8507489682238636","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@4fu/pi-subagent","version":"0.1.7","keywords":["pi-package","pi-extension","subagent"],"author":{"name":"4fuu"},"license":"MIT","_id":"@4fu/pi-subagent@0.1.7","maintainers":[{"name":"4fu","email":"npm@4fwu.com"}],"homepage":"https://github.com/4fuu/pi-subagent#readme","bugs":{"url":"https://github.com/4fuu/pi-subagent/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"b601cd10619f87b4928efdb7893ea65ad7f4bba6","tarball":"https://registry.npmjs.org/@4fu/pi-subagent/-/pi-subagent-0.1.7.tgz","fileCount":13,"integrity":"sha512-laPbPCaRHLt8gEMk+75i+8qfcDSk/Ph1G9yMQBZGAFe+8e7klsOytIwseficVGNGHZvh3zzCbseESUH0lUmseA==","signatures":[{"sig":"MEQCIENitctwike2Opy+pRsNMmyjFQF9qyur0FEmm8HBNJASAiAlvWR3aGOYIn+GEZ+YLBq26HqAzfmLuIASZCjDDYEoQw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":67170},"type":"module","engines":{"node":">=22.19.0"},"gitHead":"8659dd091a089fe3ae3ef3c4b63ccdc612414e6b","scripts":{"test":"npm run typecheck && node --import tsx --test tests/*.test.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"4fu","email":"npm@4fwu.com"},"repository":{"url":"git+https://github.com/4fuu/pi-subagent.git","type":"git"},"_npmVersion":"10.9.9","description":"Durable, low-noise background subagents for Pi","directories":{},"_nodeVersion":"20.9.0","dependencies":{"jiti":"2.7.0","@4fu/pi-tasks":"0.1.0","@4fu/pi-task-coordinator":"0.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.0","typebox":"^1.3.11","typescript":"^5.9.0","@types/node":"^24.0.0","@earendil-works/pi-ai":"^0.84.1","@earendil-works/pi-tui":"^0.84.1","@earendil-works/pi-coding-agent":"^0.84.1"},"peerDependencies":{"typebox":">=1.3.11 <2","@earendil-works/pi-ai":">=0.84.1 <1","@earendil-works/pi-tui":">=0.84.1 <1","@earendil-works/pi-coding-agent":">=0.84.1 <1"},"_npmOperationalInternal":{"tmp":"tmp/pi-subagent_0.1.7_1786360115232_0.12300661203870655","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@4fu/pi-subagent","version":"0.1.8","keywords":["pi-package","pi-extension","subagent"],"author":{"name":"4fuu"},"license":"MIT","_id":"@4fu/pi-subagent@0.1.8","maintainers":[{"name":"4fu","email":"npm@4fwu.com"}],"homepage":"https://github.com/4fuu/pi-subagent#readme","bugs":{"url":"https://github.com/4fuu/pi-subagent/issues"},"pi":{"skills":["./skills"],"extensions":["./src/index.ts"]},"dist":{"shasum":"24ccd3ec06b11dd41dfd271f8e99462869ac091b","tarball":"https://registry.npmjs.org/@4fu/pi-subagent/-/pi-subagent-0.1.8.tgz","fileCount":14,"integrity":"sha512-zLRWj46CZMZqQY6a5s9Y051OvxCcSCqZ8JsbuZHNl5InEuLHTTW+0OJH4xf5Kd1f76wRXUfh3GC9wp48Va0ScQ==","signatures":[{"sig":"MEUCIQDXna3d+S2SK1pXoNJwdWM1DPOYK3LosZry2VMDd/8uRgIgEk5wMPaVSeeqO5IUF8oWgVec8s/ZXX0RgXn2y1em6vc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72756},"type":"module","engines":{"node":">=22.19.0"},"gitHead":"c43559cb4bdf77a4f5c2e17af82750d3da282b7c","scripts":{"test":"npm run typecheck && node --import tsx --test tests/*.test.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"4fu","email":"npm@4fwu.com"},"repository":{"url":"git+https://github.com/4fuu/pi-subagent.git","type":"git"},"_npmVersion":"10.9.9","description":"Durable, low-noise background subagents for Pi","directories":{},"_nodeVersion":"20.9.0","dependencies":{"jiti":"2.7.0","@4fu/pi-tasks":"0.1.1","@4fu/pi-task-coordinator":"0.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.0","typebox":"^1.3.11","typescript":"^5.9.0","@types/node":"^24.0.0","@earendil-works/pi-ai":"^0.84.1","@earendil-works/pi-tui":"^0.84.1","@earendil-works/pi-coding-agent":"^0.84.1"},"peerDependencies":{"typebox":">=1.3.11 <2","@earendil-works/pi-ai":">=0.84.1 <1","@earendil-works/pi-tui":">=0.84.1 <1","@earendil-works/pi-coding-agent":">=0.84.1 <1"},"_npmOperationalInternal":{"tmp":"tmp/pi-subagent_0.1.8_1786362894394_0.370517405042867","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@4fu/pi-subagent","version":"0.1.9","keywords":["pi-package","pi-extension","subagent"],"author":{"name":"4fuu"},"license":"MIT","_id":"@4fu/pi-subagent@0.1.9","maintainers":[{"name":"4fu","email":"npm@4fwu.com"}],"homepage":"https://github.com/4fuu/pi-subagent#readme","bugs":{"url":"https://github.com/4fuu/pi-subagent/issues"},"pi":{"skills":["./skills"],"extensions":["./src/index.ts"]},"dist":{"shasum":"9d0b0f5babdb3f0fbd3bc1329a6eeb8bafbd1458","tarball":"https://registry.npmjs.org/@4fu/pi-subagent/-/pi-subagent-0.1.9.tgz","fileCount":14,"integrity":"sha512-1mFiyHlbWuTrFsvat5pVgeA06NHLsJPT5Bl04jgqalABOnG0ftxTwIXRjA254WSrX69+kEAfLTzBf+C/WPl/rw==","signatures":[{"sig":"MEUCICrGignFkhy4XAwnMW5cj4MfUm5Z9YNanTgBf+iNl9i8AiEA1v6rxtZiH5cWdzTABnEEvkAHvRutDuXpli17L2pUtXw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75532},"type":"module","engines":{"node":">=22.19.0"},"gitHead":"c29f50683d0e8415ddede021eca19d9942cb9b04","scripts":{"test":"npm run typecheck && node --import tsx --test tests/*.test.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"4fu","email":"npm@4fwu.com"},"repository":{"url":"git+https://github.com/4fuu/pi-subagent.git","type":"git"},"_npmVersion":"10.9.3","description":"Durable, low-noise background subagents for Pi","directories":{},"_nodeVersion":"22.19.0","dependencies":{"jiti":"2.7.0","@4fu/pi-tasks":"0.1.1","@4fu/pi-task-coordinator":"0.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.0","typebox":"^1.3.11","typescript":"^5.9.0","@types/node":"^24.0.0","@earendil-works/pi-ai":"^0.84.1","@earendil-works/pi-tui":"^0.84.1","@earendil-works/pi-coding-agent":"^0.84.1"},"peerDependencies":{"typebox":">=1.3.11 <2","@earendil-works/pi-ai":">=0.84.1 <1","@earendil-works/pi-tui":">=0.84.1 <1","@earendil-works/pi-coding-agent":">=0.84.1 <1"},"_npmOperationalInternal":{"tmp":"tmp/pi-subagent_0.1.9_1786443701448_0.36236402253998135","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"name":"@4fu/pi-subagent","version":"0.1.10","keywords":["pi-package","pi-extension","subagent"],"author":{"name":"4fuu"},"license":"MIT","_id":"@4fu/pi-subagent@0.1.10","maintainers":[{"name":"4fu","email":"npm@4fwu.com"}],"homepage":"https://github.com/4fuu/pi-subagent#readme","bugs":{"url":"https://github.com/4fuu/pi-subagent/issues"},"pi":{"skills":["./skills"],"extensions":["./src/index.ts"]},"dist":{"shasum":"3c627b614fc1540af98f07fcde2e162f5f3eed8d","tarball":"https://registry.npmjs.org/@4fu/pi-subagent/-/pi-subagent-0.1.10.tgz","fileCount":14,"integrity":"sha512-ZHTll5zC/rviXE87Wug9fz8WqJ+w2lX7HFzaKDbqhYMYQfLwp4F4fHaB8u3b8b9tdafHaSHRrM5F6mMxrL2W6Q==","signatures":[{"sig":"MEQCIC5Ci9ZOhPy4tbzoSqGoNTbA4JLvF2U+4zJkNmhQkxT1AiBPLEyeOwAyGw1M2eGMLYSuPWWQKZbvmbGBbPVE/TeOMg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDbQ3G1DeZAvw5BD26Yx570WjQ5SCFUBCMX+XFZCMoujgIgBdlMT0Jk4mOdMDlVCM4R6fmCyqOWbCZ+kGuOhvON3l8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75533},"type":"module","engines":{"node":">=22.19.0"},"gitHead":"4034e5e8f776664eb5ccaeb4fa7109479c7879e0","scripts":{"test":"npm run typecheck && node --import tsx --test tests/*.test.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"4fu","email":"npm@4fwu.com"},"repository":{"url":"git+https://github.com/4fuu/pi-subagent.git","type":"git"},"_npmVersion":"10.9.9","description":"Durable, low-noise background subagents for Pi","directories":{},"_nodeVersion":"26.5.1","dependencies":{"jiti":"2.7.0","@4fu/pi-tasks":"0.1.2","@4fu/pi-task-coordinator":"0.2.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.0","typebox":"^1.3.11","typescript":"^5.9.0","@types/node":"^24.0.0","@earendil-works/pi-ai":"^0.84.1","@earendil-works/pi-tui":"^0.84.1","@earendil-works/pi-coding-agent":"^0.84.1"},"peerDependencies":{"typebox":">=1.3.11 <2","@earendil-works/pi-ai":">=0.84.1 <1","@earendil-works/pi-tui":">=0.84.1 <1","@earendil-works/pi-coding-agent":">=0.84.1 <1"},"_npmOperationalInternal":{"tmp":"tmp/pi-subagent_0.1.10_1787896378813_0.9133057139452259","host":"s3://npm-registry-packages-npm-production"}},"0.1.11":{"pi":{"skills":["./skills"],"extensions":["./src/index.ts"]},"_id":"@4fu/pi-subagent@0.1.11","bugs":{"url":"https://github.com/4fuu/pi-subagent/issues"},"dist":{"shasum":"abb08b7cd59f9994bce4c757bd4847bd3ecccd9c","tarball":"https://registry.npmjs.org/@4fu/pi-subagent/-/pi-subagent-0.1.11.tgz","fileCount":14,"integrity":"sha512-IAA3vgnYSUVUu/nKwDbfcKLlfcYZuO+po2A7xfzrGKUyGEib7pAzWZhz/8Zlo3TNaWXy4oT59ySJ/yUgYuCJNg==","signatures":[{"sig":"MEUCIBgIAVEm4PVkUMnA7aJhjrwp5XNezTwFM7IZRXYAcityAiEA9RQBl1oIOnWNXDccvZ4ywcjtTg2YBcjTiVrOP/9VoLw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD3yUwM+PBctpeNN9uXNXLSoiPjh5sKaA1dmyo5st5kiAIhAMMC3VYAzqC9P0TteT6tE+0KDLWVJemK/AdUJq14RUHT"}],"unpackedSize":75533},"name":"@4fu/pi-subagent","type":"module","author":{"name":"4fuu"},"engines":{"node":">=22.19.0"},"gitHead":"04d5bf7506bef120461bdde8a0aa250038284575","license":"MIT","scripts":{"test":"npm run typecheck && node --import tsx --test tests/*.test.ts","typecheck":"tsc --noEmit"},"version":"0.1.11","_npmUser":{"name":"4fu","email":"npm@4fwu.com"},"homepage":"https://github.com/4fuu/pi-subagent#readme","keywords":["pi-package","pi-extension","subagent"],"repository":{"url":"git+https://github.com/4fuu/pi-subagent.git","type":"git"},"_npmVersion":"10.9.9","description":"Durable, low-noise background subagents for Pi","directories":{},"maintainers":[{"name":"4fu","email":"npm@4fwu.com"}],"_nodeVersion":"26.5.1","dependencies":{"jiti":"2.7.0","@4fu/pi-tasks":"0.1.2","@4fu/pi-task-coordinator":"0.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.0","typebox":"^1.3.11","typescript":"^5.9.0","@types/node":"^24.0.0","@earendil-works/pi-ai":"^0.84.1","@earendil-works/pi-tui":"^0.84.1","@earendil-works/pi-coding-agent":"^0.84.1"},"peerDependencies":{"typebox":">=1.3.11 <2","@earendil-works/pi-ai":">=0.84.1 <1","@earendil-works/pi-tui":">=0.84.1 <1","@earendil-works/pi-coding-agent":">=0.84.1 <1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-subagent_0.1.11_1788021317281_0.4867345147976736"}}},"time":{"created":"2026-08-09T11:42:56.828Z","modified":"2026-08-29T16:35:17.550Z","0.1.0":"2026-08-09T11:42:57.332Z","0.1.1":"2026-08-09T12:28:18.664Z","0.1.2":"2026-08-09T12:35:00.935Z","0.1.3":"2026-08-09T13:16:40.954Z","0.1.4":"2026-08-09T16:25:37.352Z","0.1.5":"2026-08-09T23:31:19.675Z","0.1.6":"2026-08-10T03:19:58.697Z","0.1.7":"2026-08-10T11:08:35.381Z","0.1.8":"2026-08-10T11:54:54.539Z","0.1.9":"2026-08-11T10:21:41.615Z","0.1.10":"2026-08-28T05:52:58.904Z","0.1.11":"2026-08-29T16:35:17.371Z"},"bugs":{"url":"https://github.com/4fuu/pi-subagent/issues"},"author":{"name":"4fuu"},"license":"MIT","homepage":"https://github.com/4fuu/pi-subagent#readme","keywords":["pi-package","pi-extension","subagent"],"repository":{"url":"git+https://github.com/4fuu/pi-subagent.git","type":"git"},"description":"Durable, low-noise background subagents for Pi","maintainers":[{"name":"4fu","email":"npm@4fwu.com"}],"readme":"# pi-subagent\n\n[![Latest release](https://img.shields.io/github/v/release/4fuu/pi-subagent)](https://github.com/4fuu/pi-subagent/releases/latest)\n\nDelegate bounded work to durable [pi](https://github.com/earendil-works/pi) sessions with fresh context, using roles you can read, version, and override as Markdown files.\n\n## Why pi-subagent\n\nUseful delegation needs a clear role boundary and a clean child context. `pi-subagent` makes both explicit, while letting the parent continue independent work and receive the result later.\n\n- **Roles are files, not hidden code** — package defaults, user roles, and project roles share one strict Markdown format and precedence model.\n- **Fresh context by design** — a child receives its role and delegated task, not a copy of the parent transcript or every installed extension and prompt.\n- **The parent keeps moving** — children run durably in the background, queue when concurrency is full, and survive `/reload`.\n- **Steer without starting over** — follow-up messages are durably queued and separately acknowledged when the child accepts them.\n- **Bounded delegation** — each role controls tools, model, thinking level, and turn limit; recursive subagent access is always removed.\n- **Results without progress chatter** — readiness and terminal notifications, bounded snapshots, and an aggregated background-task TUI keep child activity out of the main conversation until it matters.\n\nChild sessions are created through pi's official SDK and use the same configured providers and authentication as the parent.\n\n## Features\n\n### Background delegation\n\nEvery delegation creates a persistent background task and returns immediately unless the current turn explicitly needs to wait. Waiting can end at completion or at an optional case-sensitive readiness phrase; a timeout or cancelled wait never stops the child.\n\nThe returned task ID lets the parent inspect a repeatable snapshot, wait again, send a bounded follow-up, or explicitly terminate the child process tree. Task IDs belong to the parent session that launched them, and reading a snapshot never consumes transcript output.\n\n### Steering and durable execution\n\nA steering `message` can be combined with `wait`; it cannot be combined with `stop`. The immediate response includes `messageQueuedAt` only after the message has been durably written. A later snapshot adds `messageAcceptedAt` after the runner consumes it.\n\nUp to four children run concurrently. Additional tasks queue durably and are promoted in creation order. Metadata, controls, notifications, and a rolling 2 MiB visible JSONL transcript live under `$PI_CODING_AGENT_DIR/subagents/tasks/` with private permissions. Records survive `/reload`; dead detached runners are reported as `orphaned`; terminal records are cleaned after seven days or above 200 retained tasks.\n\n### Fresh context, shared workspace\n\nA child runs in a separate process with a fresh in-memory session and system prompt, but shares the parent's working directory, filesystem, and inherited environment. Its file changes are immediately visible in the same workspace; it is not a sandbox, container, or separate worktree. The child inherits the parent's model and thinking level unless its role overrides them, but does **not** inherit the parent transcript or load parent extensions, skills, prompt templates, themes, or context files.\n\nThe child receives three deliberate inputs:\n\n1. A small fixed runtime contract describing child execution and completion.\n2. The selected role's Markdown body as the role system layer.\n3. The delegated task as a separate user message.\n\nThe `subagent` tool is always removed from child tool lists to prevent recursive delegation. Unavailable requested tools fail the task clearly instead of silently widening or changing its capabilities.\n\n### Readiness, notifications, and TUI\n\n`notifyOn` accepts a 1–256 UTF-8 byte literal. It scans child assistant text and textual tool results, including matches split across output chunks. It does not scan the role, delegated task, tool arguments, system prompt, progress-only updates, or hidden reasoning. Readiness fires once and does not complete the child.\n\nReadiness and terminal notifications are durable and deduplicated. Successfully retrieving a ready snapshot cancels its pending readiness notification; retrieving a terminal snapshot cancels all pending notifications for that task.\n\nNotifications are aggregated through the shared coordinator. Active and retained terminal tasks are published to the shared Tasks widget; run `/tasks` for the complete bounded catalog. Each plugin keeps its own independent runtime and durable task store. Upgrade all installed `@4fu` task plugins together when adopting the Tasks widget, since mixed legacy and current generations cannot share task presentation. Tool rows stay compact by default; expansion adds model, thinking, role source, task, recent tools and activity, result, and errors.\n\n## Role configuration\n\nRoles are Markdown files. The prompt catalog is snapshotted for the current working directory at session start (including reload, resume, and fork) and after successful compaction, so it stays stable between those boundaries. Every launch still rediscovers role files: valid edits take effect immediately even if the prompt catalog is older, while invalid Markdown fails that launch with its source path and parser diagnostic. There is no role-count limit.\n\nPrecedence from lowest to highest is:\n\n1. Package defaults in `roles/`\n2. User roles in `$PI_CODING_AGENT_DIR/subagents/` (normally `~/.pi/agent/subagents/`)\n3. Project roles in `<cwd>/.pi/subagents/`\n\nA valid higher-priority role replaces a role with the same name. An invalid higher-priority `<name>.md` shadows lower-priority definitions until fixed, produces a visible diagnostic, and returns the same detailed error if that role is launched.\n\n### Markdown role format\n\nThe filename must be `<name>.md`, and `name` must match the filename stem:\n\n```markdown\n---\nname: security-reviewer\ndescription: Review a bounded change for concrete security regressions.\ntools: [read, grep, find, ls, bash]\nmodel: anthropic/claude-sonnet-4-5\nthinking: high\nmaxTurns: 20\n---\nReview only the delegated change. Do not edit files. Return findings ordered by\nseverity with exact locations, evidence, and the smallest safe fix.\n```\n\nRequired fields are:\n\n- `name`: `[a-z0-9][a-z0-9-]{0,63}`, equal to the filename stem\n- `description`: one non-empty line, at most 160 characters\n- `tools`: a YAML string array or comma-separated string\n\nOptional fields are `model` (`provider/model`), `thinking` (`off`, `minimal`, `low`, `medium`, `high`, `xhigh`, or `max`), and `maxTurns` (`1..500`, default `256`). Unknown fields are rejected. The Markdown body is the role system layer and must be non-empty and at most 32 KiB. `subagent` is always removed from the child tool list to prevent recursive delegation; an unavailable tool makes that task fail clearly instead of silently widening capability.\n\nThe package includes one default role, `oracle`. It is an ordinary role file and can be replaced through the same precedence rules; add any other roles as user or project Markdown files.\n\n### Role authoring skill\n\nThe package also includes the `creating-subagent-roles` skill. Use it when adding or refining a role: ask pi to create a pi-subagent role, or run `/skill:creating-subagent-roles` when skill commands are enabled. It inventories the current tools and models, chooses the appropriate role scope, and writes a valid role file.\n\n## Requirements\n\n- Pi 0.84.1 or newer.\n- Node.js 22.19 or newer.\n- macOS, Linux, or Windows wherever pi and the selected model provider are available.\n\n## Installation\n\nInstall from npm:\n\n```bash\npi install npm:@4fu/pi-subagent\n```\n\nTry it without installing:\n\n```bash\npi -e npm:@4fu/pi-subagent\n```\n\nOr install the latest GitHub source:\n\n```bash\npi install git:github.com/4fuu/pi-subagent\n```\n\n### From source\n\nInstall dependencies, then register the repository as a local package so pi loads both the extension and bundled skill:\n\n```bash\nnpm install\npi install /absolute/path/to/pi-subagent\n```\n\nRun `/reload` in pi after changing the extension or skill.\n\n## Development\n\n```bash\nnpm install\nnpm test\nnpm pack --dry-run\n```\n\nThe test suite covers role discovery and precedence, strict frontmatter, fresh prompt context, task persistence, concurrency, session ownership, steering, notifications, turn limits, and process-tree termination.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}