{"_id":"@adhd/apigen-plugin-health","_rev":"16-c7569438e73728d845fd51a8072481a1","name":"@adhd/apigen-plugin-health","dist-tags":{"latest":"0.2.5"},"versions":{"0.1.0":{"name":"@adhd/apigen-plugin-health","version":"0.1.0","_id":"@adhd/apigen-plugin-health@0.1.0","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"cf77bad4517d346df4460274a64a1041f85de144","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-health/-/apigen-plugin-health-0.1.0.tgz","fileCount":5,"integrity":"sha512-dWE4uiAL+xs5fK2gUyQo/fj3YEfu+nizMCaRyKUuGUoJnR3OihBdrEMaBcWwuhpTZgQ6D8hLSPbgyYMcldgn7w==","signatures":[{"sig":"MEQCIGAoyn3xXxmCB0c0KXcf/E3ZGjLtzEEdXNJ5DOv8aFUtAiAkoUoKYjl+SOS3R7hixVFyOVCKw9G+U0EDAm7fQonMaw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4299},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","gitHead":"70af56163bc48ddfa898e1202c9bd768e7372a33","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","directories":{},"_nodeVersion":"24.11.1","dependencies":{"@adhd/apigen-core":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-health_0.1.0_1782256668109_0.5402605558496456","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@adhd/apigen-plugin-health","version":"0.1.1","_id":"@adhd/apigen-plugin-health@0.1.1","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"7f21edada75bc0be31aa31e7f8925761799a46d0","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-health/-/apigen-plugin-health-0.1.1.tgz","fileCount":6,"integrity":"sha512-l/9Bl6DCzrwNNE65u9o4//PA2yeTu1x95jrlj+n6qE5+QeSOOZLeiYZPjHn+f2GNLevXnK/Z41iJAZ9rhuXiyg==","signatures":[{"sig":"MEUCIQC5EhGmjVqNmGQHGAo0wXKOWAJk53GOtIHn5g4Vres4OgIgI8lypxnIhdNL8VsBe5o5LLFOzODZjdXx7tlmZrjeFRE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4703},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","gitHead":"70af56163bc48ddfa898e1202c9bd768e7372a33","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"apigen **mount plugin** — adds a health endpoint to a generated server. Activate with `--use`.","directories":{},"_nodeVersion":"24.11.1","dependencies":{"@adhd/apigen-core":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-health_0.1.1_1782258195846_0.8870223917294526","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@adhd/apigen-plugin-health","version":"0.1.2","_id":"@adhd/apigen-plugin-health@0.1.2","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"8f181fa1858b4c57e24b3ffbb21b67eecfeeb8b5","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-health/-/apigen-plugin-health-0.1.2.tgz","fileCount":6,"integrity":"sha512-BfSRtzDKtmjBGUMkeBKjCajr3kjfjdifnFK+RtXkLXqP/dqrHo47UPNzG55cLzNIov8XsCx7puOKTZJF9MsupQ==","signatures":[{"sig":"MEQCIADQh0yM/65dRgCjYW9POY4oM05HPe+M8dctA3sAPrmlAiBLhdc2b+bMeHNviJwX57sTxj3pU/85d52oaCIlWCGYlA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4802},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","gitHead":"36e7fe6e3b1dd5a9356fb1dab93d9eb1746df8b0","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"apigen **mount plugin** — adds a health endpoint to a generated server. Activate with `--use`.","directories":{},"_nodeVersion":"24.11.1","dependencies":{"@adhd/apigen-core-client":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-health_0.1.2_1784686896072_0.3236924635017817","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@adhd/apigen-plugin-health","version":"0.1.3","_id":"@adhd/apigen-plugin-health@0.1.3","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"9ae89211abca8fae41df6c34a8df77e022020e49","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-health/-/apigen-plugin-health-0.1.3.tgz","fileCount":7,"integrity":"sha512-NAL2P2AN3/E0C+9ns+bqo+LtdfxGCf90Q+faSXsqCj4zk9eB8eqFMpHps1w2DCZ4xURQAroA994Ek4CeMwK+7Q==","signatures":[{"sig":"MEQCID+XdjWe7x9r+zMYyU49h1iolJ6+90EV4w6wlT18F4jSAiBYury038+L2SjsF8WEra8zO/WtaKHuLwn4lndFyHyp9A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8476},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","gitHead":"afca4fc9097845a32a9e371ce6cd1252cbc0be6b","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"**Mount plugin** — adds a `GET /_meta/health` endpoint to any apigen server. Reports runtime readiness for load balancers, orchestrators, and the apigen gateway (§13).","directories":{},"_nodeVersion":"24.11.1","dependencies":{"@adhd/apigen-core-client":"^0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-health_0.1.3_1784773911980_0.03137251403571395","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@adhd/apigen-plugin-health","version":"0.1.4","_id":"@adhd/apigen-plugin-health@0.1.4","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"946cd67c220201a22c5a2659597e48f0f7e3b1e3","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-health/-/apigen-plugin-health-0.1.4.tgz","fileCount":7,"integrity":"sha512-wKrFYdm3iZRq43qCMG/sUFCzRMLTjEAnc9XwN4R+CRbo3Lnaa8o15zu7mKyJ7Co/mX8lSW+DFDUUvQZBg8qXGg==","signatures":[{"sig":"MEUCIQCNVqRSDLh6pEaMmvP1/rwD4c+8qPN9kJb3/n5rbx3KKAIgNIei7+wopaofu5rzz0O0ACZuMZNGGY2a0JCb36x/cRo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9269},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","gitHead":"eb0fd170825539850ae91a64393f8a8f376d8c7b","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"**Mount plugin** — adds a `GET /_meta/health` endpoint to any apigen server. Reports runtime readiness for load balancers, orchestrators, and the apigen gateway (§13).","directories":{},"_nodeVersion":"24.11.1","dependencies":{"@adhd/apigen-core-client":"^0.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-health_0.1.4_1784831123444_0.9362566371130285","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@adhd/apigen-plugin-health","version":"0.1.5","_id":"@adhd/apigen-plugin-health@0.1.5","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"b0dabbaf6f8d75586154f0f82e80b78b5bf53827","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-health/-/apigen-plugin-health-0.1.5.tgz","fileCount":7,"integrity":"sha512-BcGcwZIC0TzxtzxKpma5cCirUbememFvYJIIUJpgEmhcD4y6XiNIjM1AKcKep0LJqpz3jO3TUO6dXhjgL6+pcQ==","signatures":[{"sig":"MEQCIBj1maYOc3qGggy9dDOCckP1EfOjYsiEk6/XxV8lc6GwAiBClRc9k4wYy18yC78QZKF9jHasgiwliuL7X3LAhSncSg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9408},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","gitHead":"60d30f61a52a3cb55285346e534382df02258264","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"**Mount plugin** — adds a `GET /_meta/health` endpoint to any apigen server. Reports runtime readiness for load balancers, orchestrators, and the apigen gateway (§13).","directories":{},"_nodeVersion":"24.11.1","dependencies":{"@adhd/apigen-core-client":"^0.1.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-health_0.1.5_1784934761737_0.9882294792948907","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@adhd/apigen-plugin-health","version":"0.1.6","_id":"@adhd/apigen-plugin-health@0.1.6","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"9c0facba9bd8df2a6d486b16a345b8b1b5f22b33","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-health/-/apigen-plugin-health-0.1.6.tgz","fileCount":7,"integrity":"sha512-/Nrlj33rPjmuJ4NC/+xX5xC7fT/K+qTIJMAUOWQoHdjvgVLoiiy1m/pPcEIkSLHH/KTYVdrQdzLSvCxlU4VrMg==","signatures":[{"sig":"MEUCIFk/Sr2D33qrvkuGQ5ayruqthpCZhmeNkTQp/FYD5e87AiEAnHdYhl+7R4fm3swE/Th1WpbbiuVQpSzhwkfRaextpfM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9547},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","gitHead":"4a55390e41abde59d4b6c1f420851503ff727386","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"**Mount plugin** — adds a `GET /_meta/health` endpoint to any apigen server. Reports runtime readiness for load balancers, orchestrators, and the apigen gateway (§13).","directories":{},"_nodeVersion":"24.11.1","dependencies":{"@adhd/apigen-core-client":"^0.1.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-health_0.1.6_1784937242513_0.6810376730311118","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@adhd/apigen-plugin-health","version":"0.1.7","_id":"@adhd/apigen-plugin-health@0.1.7","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"63dc5cddbfb923047bf9df37faffcd9441010284","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-health/-/apigen-plugin-health-0.1.7.tgz","fileCount":7,"integrity":"sha512-dQTP2jvmk2ziV2maJfkckR7xgAiPAO+tAhJXGYQW1Lfw/nar2DiahEzjyXY0bf+1qNSIT+S2NEOtYP0z6BoQaA==","signatures":[{"sig":"MEYCIQCPxQmK0Bjxk8fbTz7FOBZe2HM6wuV+aI+6B4ABTiSmcAIhAI6Skt/YEimqr25P7arxssPvwU/LhBsBbuRO5NdNxsUG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9733},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","gitHead":"936d50dc3a4c827b29a00dcd8686ba968775cd06","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"**Mount plugin** — adds a `GET /_meta/health` endpoint to any apigen server. Reports runtime readiness for load balancers, orchestrators, and the apigen gateway (§13).","directories":{},"_nodeVersion":"24.11.1","dependencies":{"@adhd/apigen-core-client":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-health_0.1.7_1784948653488_0.3075243112292969","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@adhd/apigen-plugin-health","version":"0.2.0","_id":"@adhd/apigen-plugin-health@0.2.0","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"b1a9048065bb69054ddc1921f76f1782493cfd0f","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-health/-/apigen-plugin-health-0.2.0.tgz","fileCount":7,"integrity":"sha512-7vUuAe1t7vj138VZ9H4zayLlmqTX+OuL10coIWIpgBgyfumXhqRK/YjupgKWiuXm+j9ln6MI32kXNQigtjJ5hw==","signatures":[{"sig":"MEUCIE9bC+ZhsJ3CeBbvzDNQGB1a2fnS42j4zcfdu3rgCEnUAiEAjKYp+VCskEJZpGt83qfIcyqP2bEJUlcabz3/tHZaLIw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9733},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","gitHead":"1dbc0638f8eb1b7c961bc9359def6f4425da5c15","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"**Mount plugin** — adds a `GET /_meta/health` endpoint to any apigen server. Reports runtime readiness for load balancers, orchestrators, and the apigen gateway (§13).","directories":{},"_nodeVersion":"24.11.1","dependencies":{"@adhd/apigen-core-client":"^0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-health_0.2.0_1785136515021_0.5513515507245088","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@adhd/apigen-plugin-health","version":"0.2.1","_id":"@adhd/apigen-plugin-health@0.2.1","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"32f10b6a30c228bf30f126f9eceea56be2bc5b70","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-health/-/apigen-plugin-health-0.2.1.tgz","fileCount":7,"integrity":"sha512-picSXXaTQ80whfanpwM8k0Gfp8KpSnRoXlu//UvpLg9HKlnExAAu60wGY+m6MobEYGB+mTFLNvNNEU11DyPc3Q==","signatures":[{"sig":"MEQCIGwmBnVTTxZ0Bk7dbNPyJioGA5gTriuj9QkU2RmAUyStAiAUzs8GcSrxGAsFRt8UGumAmJiY4kiOyqzQ4i9Wd16dxQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12036},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","gitHead":"ecb6695cd4d5b19b334cd27975ad61f1a100fb25","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"**Mount plugin** — adds a `GET /_meta/health` endpoint to any apigen server. Reports runtime readiness for load balancers, orchestrators, and the apigen gateway (§13).","directories":{},"_nodeVersion":"24.11.1","dependencies":{"@adhd/apigen-core-client":"^0.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-health_0.2.1_1785204933692_0.9386794898396884","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@adhd/apigen-plugin-health","version":"0.2.2","_id":"@adhd/apigen-plugin-health@0.2.2","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"9aee44ea13260d101f5aa6b200485c6b5afb0495","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-health/-/apigen-plugin-health-0.2.2.tgz","fileCount":7,"integrity":"sha512-Gl3tL+r2rkT1p6zprF3BGzcS2FnaH6wB8m9t/o9lxKMoB+6TjAo8vqQPdNazW2aRv7fuJHuaItS5OZYjuulIPg==","signatures":[{"sig":"MEUCIAwBWWPdqR5Vj5s+HRc+XjTnid+urJpIc0qyhEwESphbAiEAvnSnfuCXpr2slT+FcliWmYtMHFV0XXN6+z0TRFIPGn0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12319},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","gitHead":"7edc5d58575a24fb9695bb3474d3e169f20eac58","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"**Mount plugin** — adds a `GET /_meta/health` endpoint to any apigen server. Reports runtime readiness for load balancers, orchestrators, and the apigen gateway (§13).","directories":{},"_nodeVersion":"24.11.1","dependencies":{"@adhd/apigen-core-client":"^0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-health_0.2.2_1786144594706_0.9737784091660149","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@adhd/apigen-plugin-health","version":"0.2.3","keywords":["health","apigen","plugin","typescript"],"license":"MIT","_id":"@adhd/apigen-plugin-health@0.2.3","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"homepage":"https://github.com/PseudoSky/adhd/tree/main/packages/apigen/apigen-plugin-health#readme","bugs":{"url":"https://github.com/PseudoSky/adhd/issues"},"dist":{"shasum":"d35531c1ac8291cbd8bc3699fd63418491eaa92e","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-health/-/apigen-plugin-health-0.2.3.tgz","fileCount":7,"integrity":"sha512-TrcBKB+87DK5eKK6MmkA2J6T88EuhhRpIXpXGlvI1qTdhJr2/m8AL+0dT10T19v5XWuYSWWn45CreHt316Fnpg==","signatures":[{"sig":"MEUCIQDsSSGQJiRYXwUuAbawPR9NDXItTCR+gdZYlutZbYh7VgIgCDn7fkZOOVhG8i7eZBqWx8h/PjI7upCHRSXKyLvdSO8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIAS+pkLzReWIlFy/ydeqcGdGYqkoL1k/hD5gTQkX6f1KAiEAokUr7wpIf2IU3S/pJdvaxxVws0DjoI1VaNgLeOEU+iQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13163},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"repository":{"url":"git+https://github.com/PseudoSky/adhd.git","type":"git","directory":"packages/apigen/apigen-plugin-health"},"_npmVersion":"11.6.2","description":"Health-check plugin for apigen servers","directories":{},"_nodeVersion":"24.11.1","dependencies":{"@adhd/apigen-core-client":"^0.3.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-health_0.2.3_1790266873316_0.716109814855987","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@adhd/apigen-plugin-health","version":"0.2.4","keywords":["health","apigen","plugin","typescript"],"license":"MIT","_id":"@adhd/apigen-plugin-health@0.2.4","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"homepage":"https://github.com/PseudoSky/adhd/tree/main/packages/apigen/apigen-plugin-health#readme","bugs":{"url":"https://github.com/PseudoSky/adhd/issues"},"dist":{"shasum":"dc12fd4cc0aef7f92f4898547e54484ba72bcc84","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-health/-/apigen-plugin-health-0.2.4.tgz","fileCount":7,"integrity":"sha512-E3GtnhH5qOPEsbhxuIlKQrbJVZTnkZO1cyx1c2biLu0tpd7+rNNh9M6oPxMlOsSKFx1Pwg98LeJVupeZ8xEyPQ==","signatures":[{"sig":"MEUCIHFMofTLAszJffjp1XCkcEPGuZ2hsr/CQ4u7CbuHO4qKAiEAyjJ++tZt0TluHu6TAcu3qPR+EdzUV3z2lLSloCDFpBs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIDHMA8Ik6pEShCgrglVHcFfhB99pa9SwSvx8WKN2tYDpAiBoIEd/q6iVo8RQzYJL3kroDJKMf3oGdaAfmAJXeV6iig==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29522},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","gitHead":"d473447c27714c6a7ab057efee178d1af8707e05","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"repository":{"url":"git+https://github.com/PseudoSky/adhd.git","type":"git","directory":"packages/apigen/apigen-plugin-health"},"_npmVersion":"11.6.2","description":"Health-check plugin for apigen servers","directories":{},"_nodeVersion":"24.11.1","dependencies":{"@adhd/apigen-core-client":"^0.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-health_0.2.4_1790448998448_0.72896681267163","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"_id":"@adhd/apigen-plugin-health@0.2.5","bugs":{"url":"https://github.com/PseudoSky/adhd/issues"},"dist":{"shasum":"00b4ff2ab2264f1157131b8c30417f355a8cb758","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-health/-/apigen-plugin-health-0.2.5.tgz","fileCount":7,"integrity":"sha512-tf5NJbr4zBl5LPYDEYA0hlL+Dtpo57Zddqcc1SP6uIsdYi9/3lDwEmkRhkr2vPXb2tZ8jVHZUTRTuJ0odSViyg==","signatures":[{"sig":"MEYCIQDZgPxpcQqRmdtOl4Qr6I6psl0cI01/gJ78twUgmDv4gwIhAJkPFp2xpHLEKw+TM/VNx0lq0tzK6UR+CamYbKD6LYCj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCb2Tr/IaOLg7PUY8F3rv0tzsekPrXRM0NeccoeC3nJPgIhALTwM/8kvKz4OuKetWpqwq9rp6B3Irg0XQkJb+wUcQhY"}],"unpackedSize":29522},"main":"./index.js","name":"@adhd/apigen-plugin-health","types":"./index.d.ts","module":"./index.mjs","gitHead":"a1a6ba024c5526b930f97c5420e920639d14e110","license":"MIT","version":"0.2.5","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"homepage":"https://github.com/PseudoSky/adhd/tree/main/packages/apigen/apigen-plugin-health#readme","keywords":["health","apigen","plugin","typescript"],"repository":{"url":"git+https://github.com/PseudoSky/adhd.git","type":"git","directory":"packages/apigen/apigen-plugin-health"},"_npmVersion":"11.6.2","description":"Health-check plugin for apigen servers","directories":{},"maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"_nodeVersion":"24.11.1","dependencies":{"@adhd/apigen-core-client":"^0.3.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/apigen-plugin-health_0.2.5_1790455525325_0.21636070966745002"}}},"time":{"created":"2026-06-23T22:40:34.975Z","modified":"2026-09-26T20:45:25.624Z","0.0.1":"2026-06-23T22:40:35.232Z","0.1.0":"2026-06-23T23:17:48.247Z","0.1.1":"2026-06-23T23:43:15.999Z","0.1.2":"2026-07-22T02:21:36.262Z","0.1.3":"2026-07-23T02:31:52.121Z","0.1.4":"2026-07-23T18:25:23.570Z","0.1.5":"2026-07-24T23:12:41.858Z","0.1.6":"2026-07-24T23:54:02.644Z","0.1.7":"2026-07-25T03:04:13.618Z","0.2.0":"2026-07-27T07:15:15.163Z","0.2.1":"2026-07-28T02:15:33.864Z","0.2.2":"2026-08-07T23:16:34.880Z","0.2.3":"2026-09-24T16:21:13.392Z","0.2.4":"2026-09-26T18:56:38.538Z","0.2.5":"2026-09-26T20:45:25.416Z"},"bugs":{"url":"https://github.com/PseudoSky/adhd/issues"},"license":"MIT","homepage":"https://github.com/PseudoSky/adhd/tree/main/packages/apigen/apigen-plugin-health#readme","keywords":["health","apigen","plugin","typescript"],"repository":{"url":"git+https://github.com/PseudoSky/adhd.git","type":"git","directory":"packages/apigen/apigen-plugin-health"},"description":"Health-check plugin for apigen servers","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"readme":"# @adhd/apigen-plugin-health\n\n**Mount plugin** — adds a `GET /_meta/health` endpoint to any apigen server. Reports runtime readiness for load balancers, orchestrators, and the apigen gateway (§13).\n\nPart of [apigen](../README.md). Driven via [`@adhd/apigen-cli`](../../../entrypoint/apigen-cli/README.md).\n\n---\n\n## What it adds\n\nWhen loaded via `--use`, the health plugin contributes a synthetic `_meta/health` operation that returns:\n\n```json\nGET /_meta/health\n→ {\"status\":\"ok\",\"host\":\"ts\"}\n```\n\nThe gateway (§13.1) routes a host's operations only after this endpoint reports `ready`. For an in-process runtime (non-gateway), it always reports `ok` — if the handler can respond, the runtime is alive.\n\n---\n\n## CLI usage\n\n```bash\n# Fastify with health check\nnpx @adhd/apigen-cli run --source api.ts --type api-fastify --opt port=3000 --use health\n\n# MCP with health check (SSE transport)\nnpx @adhd/apigen-cli run --source api.ts --type mcp --opt transport=sse --opt port=3000 --use health\n\n# With custom metadata in the response\nnpx @adhd/apigen-cli run --source api.ts --type api-fastify --use health \\\n  --opt 'useOptions={\"health\":{\"meta\":{\"version\":\"1.0\",\"region\":\"us-east\"}}}'\n```\n\nAfter startup:\n\n```bash\ncurl http://localhost:3000/_meta/health\n# → {\"status\":\"ok\",\"host\":\"ts\",\"meta\":{\"version\":\"1.0\",\"region\":\"us-east\"}}\n```\n\n---\n\n## Programmatic usage\n\n```ts\nimport { extract, composeSchemas } from '@adhd/apigen-core-client';\nimport { apiFastifyPlugin } from '@adhd/apigen-plugin-api-fastify';\nimport { healthPlugin } from '@adhd/apigen-plugin-health';\n\nconst ops = await extract({ sourceFile: './api.ts', namespace: 'api' });\nconst schemas = composeSchemas(\n  {\n    metadata: { namespace: 'api', phase: '' },\n    schemas: Object.fromEntries(\n      ops.filter(o => o.kind === 'action').map(op => [\n        op.path[op.path.length - 1].raw,\n        { input: op.input, output: op.output, hasCtx: op.hasCtx, 'x-apigen-safe': op.safe },\n      ])\n    ),\n  },\n  []\n);\nconst mod = await import('./api.ts');\n\nconst abort = new AbortController();\nprocess.on('SIGINT', () => abort.abort());\n\nawait apiFastifyPlugin.run({\n  packages: [{ id: 'api', schemas, importPath: './api.ts', fns: mod, createClient: async () => ({}) }],\n  outputDir: '',\n  options: {\n    port: 3000,\n    host: '0.0.0.0',\n    usePlugins: [\n      healthPlugin,   // ← mounts GET /_meta/health\n    ],\n    // With custom metadata:\n    // useOptions: { health: { meta: { version: '1.0', region: 'us-east' } } },\n  },\n  signal: abort.signal,\n  operations: ops,\n});\n```\n\n---\n\n## Options\n\n```ts\nimport { type HealthOptions } from '@adhd/apigen-plugin-health';\n```\n\n| Option | Type | Default | Description |\n|--------|------|---------|-------------|\n| `meta` | `Record<string, string \\| number \\| boolean \\| null>` | `undefined` | Extra metadata included in every health response payload |\n\n---\n\n## Response shape\n\n```ts\ninterface HealthResponse {\n  status: 'ok';\n  host: string;                          // language runtime tag (e.g. 'ts')\n  meta?: Record<string, string | number | boolean | null>;\n}\n```\n\n---\n\n## Exports\n\n| Export | Kind |\n|--------|------|\n| `healthPlugin` | v2 `Plugin<HealthOptions>` — mount capability only |\n| `HealthOptions` | TypeScript interface |\n| `HealthResponse` | TypeScript interface |\n\n```ts\nimport { healthPlugin, type HealthOptions, type HealthResponse } from '@adhd/apigen-plugin-health';\n```\n","readmeFilename":"README.md"}