{"_id":"@agent-hospital/sidecar","_rev":"10-729f7876431ce2b26005ed261f70e1fc","name":"@agent-hospital/sidecar","dist-tags":{"latest":"2.0.4"},"versions":{"1.0.0":{"name":"@agent-hospital/sidecar","version":"1.0.0","keywords":["agent","hospital","sidecar","openclaw","hermes","crash-detection","auto-repair","health-monitoring"],"license":"MIT","_id":"@agent-hospital/sidecar@1.0.0","maintainers":[{"name":"madmecodes","email":"madmecodes@gmail.com"}],"homepage":"https://github.com/Clawies/hospital-agent-sidecar#readme","bugs":{"url":"https://github.com/Clawies/hospital-agent-sidecar/issues"},"os":["linux","darwin"],"bin":{"hospital-sidecar":"bin/run.js"},"cpu":["x64","arm64"],"dist":{"shasum":"595759ed02c28956970ab2113927462c1b99c6c0","tarball":"https://registry.npmjs.org/@agent-hospital/sidecar/-/sidecar-1.0.0.tgz","fileCount":5,"integrity":"sha512-GuVfRadWI1Y7Cq26lGZiO9dfpjfdVBGeiyuvYa+Wac+sDnQwdBzFby1yZXSwSJilkjLxNCTJQsvfAxslX1cA3g==","signatures":[{"sig":"MEUCIQCIdF0bwcVMLCcjgoqwiI/8Pyh60JetJ9ZzVrPyusChzQIgKYS6ezHvNdVRQXHLPzCh5VNyJxgdpbzVvyA/GDrIMGw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8389},"engines":{"node":">=16"},"gitHead":"4aaa7fc8d242d410554524f932e5bf1012f6cb52","scripts":{"postinstall":"node scripts/install.js"},"_npmUser":{"name":"madmecodes","email":"madmecodes@gmail.com"},"repository":{"url":"git+https://github.com/Clawies/hospital-agent-sidecar.git","type":"git"},"_npmVersion":"10.9.0","description":"Crash detection, auto-repair, and health monitoring for AI agent gateways. Watches your OpenClaw or Hermes gateway, detects crashes, runs instant local repairs, and reports to Agent Hospital for AI-powered diagnosis.","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sidecar_1.0.0_1779246604030_0.26843017777462985","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@agent-hospital/sidecar","version":"1.0.1","keywords":["agent","hospital","sidecar","openclaw","hermes","crash-detection","auto-repair","health-monitoring"],"license":"MIT","_id":"@agent-hospital/sidecar@1.0.1","maintainers":[{"name":"madmecodes","email":"madmecodes@gmail.com"}],"homepage":"https://github.com/Clawies/hospital-agent-sidecar#readme","bugs":{"url":"https://github.com/Clawies/hospital-agent-sidecar/issues"},"os":["linux","darwin"],"bin":{"hospital-sidecar":"bin/run.js"},"cpu":["x64","arm64"],"dist":{"shasum":"911994446f32e848f5da0aa9d9cb4cf2dac2a998","tarball":"https://registry.npmjs.org/@agent-hospital/sidecar/-/sidecar-1.0.1.tgz","fileCount":4,"integrity":"sha512-PFDZNiwLL0OvrG59rvQQrANlgAXecrn+jVIeYI4zJL/SET0ZvqkOj0XR6ypsmr6A6vL8B6z/sfjczrkTqxEJ2A==","signatures":[{"sig":"MEUCIQC2gFZOM3GRECd9qRuovMog4ofiaouVS4GPdz8a5QeCGQIgJdw9g3auQDv3LMc4o4H8RHoTlFXewLiJMfm2QGTOdqE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7912},"engines":{"node":">=16"},"gitHead":"85c1cc1bd51a4cb19410004cebb1c241082bbbdc","scripts":{"postinstall":"node scripts/install.js"},"_npmUser":{"name":"madmecodes","email":"madmecodes@gmail.com"},"repository":{"url":"git+https://github.com/Clawies/hospital-agent-sidecar.git","type":"git"},"_npmVersion":"10.8.2","description":"Crash detection, auto-repair, and health monitoring for AI agent gateways. Watches your OpenClaw or Hermes gateway, detects crashes, runs instant local repairs, and reports to Agent Hospital for AI-powered diagnosis.","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sidecar_1.0.1_1779456012286_0.6223711365542599","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@agent-hospital/sidecar","version":"1.0.2","keywords":["agent","hospital","sidecar","openclaw","hermes","crash-detection","auto-repair","health-monitoring"],"license":"MIT","_id":"@agent-hospital/sidecar@1.0.2","maintainers":[{"name":"madmecodes","email":"madmecodes@gmail.com"}],"homepage":"https://github.com/Clawies/hospital-agent-sidecar#readme","bugs":{"url":"https://github.com/Clawies/hospital-agent-sidecar/issues"},"os":["linux","darwin"],"bin":{"hospital-sidecar":"bin/run.js"},"cpu":["x64","arm64"],"dist":{"shasum":"23d3e8ea283a80942429ed678c3696b4c4fd382a","tarball":"https://registry.npmjs.org/@agent-hospital/sidecar/-/sidecar-1.0.2.tgz","fileCount":5,"integrity":"sha512-n8FXRykU4iQk8MYeQvwuT7fR3Lb5vxw1dzosgHs0qnteUx72YYpsOIVWBxcgmvyjtPS6VM86U1mnpg9RY3gCfA==","signatures":[{"sig":"MEQCIEdJ/y3I7ZXfMZ1A7+pfaJFDjwyPdPbzm3GKUtYN/sFsAiAEYD6n4r8I6p4gJVuTuFq3KQvmI5gNOjtzvO97q4fPUQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8389},"engines":{"node":">=16"},"gitHead":"72032778f20a2ba6bc35d5df5dabb56867f33abe","scripts":{"postinstall":"node scripts/install.js"},"_npmUser":{"name":"madmecodes","email":"madmecodes@gmail.com"},"repository":{"url":"git+https://github.com/Clawies/hospital-agent-sidecar.git","type":"git"},"_npmVersion":"10.8.2","description":"Crash detection, auto-repair, and health monitoring for AI agent gateways. Watches your OpenClaw or Hermes gateway, detects crashes, runs instant local repairs, and reports to Agent Hospital for AI-powered diagnosis.","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sidecar_1.0.2_1779456624281_0.9276396408686094","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@agent-hospital/sidecar","version":"1.0.3","keywords":["agent","hospital","sidecar","openclaw","hermes","crash-detection","auto-repair","health-monitoring"],"license":"MIT","_id":"@agent-hospital/sidecar@1.0.3","maintainers":[{"name":"madmecodes","email":"madmecodes@gmail.com"}],"homepage":"https://github.com/Clawies/hospital-agent-sidecar#readme","bugs":{"url":"https://github.com/Clawies/hospital-agent-sidecar/issues"},"os":["linux","darwin"],"bin":{"hospital-sidecar":"bin/run.js"},"cpu":["x64","arm64"],"dist":{"shasum":"d6ac75fcdcb2f626385343e50a894cbb684e8f04","tarball":"https://registry.npmjs.org/@agent-hospital/sidecar/-/sidecar-1.0.3.tgz","fileCount":5,"integrity":"sha512-uWfFVbEiPryog69C8NHlSet8dzsPxCX20wQQpJN7SanVwCLk3k06LX9qNiodZJB/4SeVGzJ+AD6/wr9kM9c5Dg==","signatures":[{"sig":"MEUCIQDUY7Tit9daK3s6Cr94OlZ49JyukUJkcW19sbtCPAwnVQIgfkrGMKQ7SckXFvz9KHBx0D9aeFrxRUFiYx7KBLLCmEg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8389},"engines":{"node":">=16"},"gitHead":"0afa9d112c37d0a835dc9dd89934a7de0f271a63","scripts":{"postinstall":"node scripts/install.js"},"_npmUser":{"name":"madmecodes","email":"madmecodes@gmail.com"},"repository":{"url":"git+https://github.com/Clawies/hospital-agent-sidecar.git","type":"git"},"_npmVersion":"10.8.2","description":"Crash detection, auto-repair, and health monitoring for AI agent gateways. Watches your OpenClaw or Hermes gateway, detects crashes, runs instant local repairs, and reports to Agent Hospital for AI-powered diagnosis.","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sidecar_1.0.3_1779456979469_0.6638610221438135","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@agent-hospital/sidecar","version":"1.0.4","keywords":["agent","hospital","sidecar","openclaw","hermes","crash-detection","auto-repair","health-monitoring"],"license":"MIT","_id":"@agent-hospital/sidecar@1.0.4","maintainers":[{"name":"madmecodes","email":"madmecodes@gmail.com"}],"homepage":"https://github.com/Clawies/hospital-agent-sidecar#readme","bugs":{"url":"https://github.com/Clawies/hospital-agent-sidecar/issues"},"os":["linux","darwin"],"bin":{"hospital-sidecar":"bin/run.js"},"cpu":["x64","arm64"],"dist":{"shasum":"b8d03f99d3985b081eb2a7187700309c6166fdfd","tarball":"https://registry.npmjs.org/@agent-hospital/sidecar/-/sidecar-1.0.4.tgz","fileCount":5,"integrity":"sha512-o8ej17713mnjlpAOn29t2M1bGKftApgrWEke560AKciqWHqQ5gcZkVl4a0OeJ+I3Og6SngVh0D5eTDzTH9/QgA==","signatures":[{"sig":"MEQCIHkwlVYl8vHu11UltfMeVaL7aLR5fOOB7LofFryLGRyVAiBWqc53h9nZ2eMGHTi5YsrtqIXuuKQCZhCHw4u3BKLkfQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8389},"engines":{"node":">=16"},"gitHead":"b7f83a39b6c9fbf8f901a1003de11c7a0d7bc2fe","scripts":{"postinstall":"node scripts/install.js"},"_npmUser":{"name":"madmecodes","email":"madmecodes@gmail.com"},"repository":{"url":"git+https://github.com/Clawies/hospital-agent-sidecar.git","type":"git"},"_npmVersion":"10.9.0","description":"Crash detection, auto-repair, and health monitoring for AI agent gateways. Watches your OpenClaw or Hermes gateway, detects crashes, runs instant local repairs, and reports to Agent Hospital for AI-powered diagnosis.","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sidecar_1.0.4_1779781732853_0.4406573409471841","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@agent-hospital/sidecar","version":"2.0.0","keywords":["agent","hospital","sidecar","openclaw","hermes","crash-detection","auto-repair","health-monitoring"],"license":"MIT","_id":"@agent-hospital/sidecar@2.0.0","maintainers":[{"name":"madmecodes","email":"madmecodes@gmail.com"}],"homepage":"https://github.com/Clawies/hospital-agent-sidecar#readme","bugs":{"url":"https://github.com/Clawies/hospital-agent-sidecar/issues"},"os":["linux","darwin"],"bin":{"hospital-sidecar":"bin/run.js"},"cpu":["x64","arm64"],"dist":{"shasum":"a36d60e286f8e75cb21fe3022f3437e347bd47cb","tarball":"https://registry.npmjs.org/@agent-hospital/sidecar/-/sidecar-2.0.0.tgz","fileCount":13,"integrity":"sha512-Q6mBxUHmUwsRIlkDM2OKfRkSOZZW2lGlAG0q5MBLE0qB+iGmQXsLCH/1eAeQOw5Htly9uM32T43+0jBzMUIkFg==","signatures":[{"sig":"MEUCIQCTqcfAETfU2b4lj5sKJOhab8guIy7/Nmodyb4qdneAAwIgRJuPoUUsvSZZKZ9jNRl3qutnRDGyJy95MJPQNfr7G+0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":135660},"engines":{"node":">=18"},"gitHead":"5aecfdc39729cdc79fc6259d3e9c8c9fc332928c","scripts":{"postinstall":"node scripts/install.js"},"_npmUser":{"name":"madmecodes","email":"madmecodes@gmail.com"},"repository":{"url":"git+https://github.com/Clawies/hospital-agent-sidecar.git","type":"git"},"_npmVersion":"10.9.0","description":"Crash detection, auto-repair, and health monitoring for AI agent gateways. Watches your OpenClaw or Hermes gateway, detects crashes, runs instant local repairs, and reports to Agent Hospital for AI-powered diagnosis.","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sidecar_2.0.0_1779786891271_0.06606410367696869","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@agent-hospital/sidecar","version":"2.0.1","keywords":["agent","hospital","sidecar","openclaw","hermes","crash-detection","auto-repair","health-monitoring"],"license":"MIT","_id":"@agent-hospital/sidecar@2.0.1","maintainers":[{"name":"madmecodes","email":"madmecodes@gmail.com"}],"homepage":"https://github.com/Clawies/hospital-agent-sidecar#readme","bugs":{"url":"https://github.com/Clawies/hospital-agent-sidecar/issues"},"os":["linux","darwin"],"bin":{"hospital-sidecar":"bin/run.js"},"cpu":["x64","arm64"],"dist":{"shasum":"f351205bdb7857dc1f4d344efcb736fa8c97a223","tarball":"https://registry.npmjs.org/@agent-hospital/sidecar/-/sidecar-2.0.1.tgz","fileCount":13,"integrity":"sha512-q3wEOoDYEryJAnCVh5SqJ3LVI60gGjV4gcrpnCuRtZTgOskZSXp/J4IWcqY8KuXnc97kdiceYqVTbVzwINiWKQ==","signatures":[{"sig":"MEUCIFPEMddUpU5eoIvOnjc1SuKBC2P7Mj3OTlD4tw1tYqwTAiEA7kXXZnQyCSWyilMAMYR8hyKvhjAfLr5+VC7MuvZ8CSU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":137762},"engines":{"node":">=18"},"gitHead":"96f4f6dc2a98d584d9099e2ecf5d70683750f083","scripts":{"postinstall":"node scripts/install.js"},"_npmUser":{"name":"madmecodes","email":"madmecodes@gmail.com"},"repository":{"url":"git+https://github.com/Clawies/hospital-agent-sidecar.git","type":"git"},"_npmVersion":"10.9.0","description":"Crash detection, auto-repair, and health monitoring for AI agent gateways. Watches your OpenClaw or Hermes gateway, detects crashes, runs instant local repairs, and reports to Agent Hospital for AI-powered diagnosis.","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sidecar_2.0.1_1779817601057_0.770926691560375","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@agent-hospital/sidecar","version":"2.0.2","keywords":["agent","hospital","sidecar","openclaw","hermes","crash-detection","auto-repair","health-monitoring"],"license":"MIT","_id":"@agent-hospital/sidecar@2.0.2","maintainers":[{"name":"madmecodes","email":"madmecodes@gmail.com"}],"homepage":"https://github.com/Clawies/hospital-agent-sidecar#readme","bugs":{"url":"https://github.com/Clawies/hospital-agent-sidecar/issues"},"os":["linux","darwin"],"bin":{"hospital-sidecar":"bin/run.js"},"cpu":["x64","arm64"],"dist":{"shasum":"c98bdec98d5569ff5e03877f97fa05e39a47ac8f","tarball":"https://registry.npmjs.org/@agent-hospital/sidecar/-/sidecar-2.0.2.tgz","fileCount":13,"integrity":"sha512-OuNTlyyiXciK1elq7IJ5PqfCG+n7/q2MCPIuWUmhnKoCM8SuOoahBUQS7upvuL6Kolq22fwa0Pd+zuGRGC24aA==","signatures":[{"sig":"MEYCIQCGw7rSELqfBajzgLyJUVnI2Gb+l4lSC1rG4yzbnz3muAIhALu/8eKGBC+Gb1HNBnCxCsvxrMFBoW0UbbsPxM6UiQE/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":138162},"engines":{"node":">=18"},"gitHead":"541b7db35e435bff9487748f9870faae50b41975","scripts":{"postinstall":"node scripts/install.js"},"_npmUser":{"name":"madmecodes","email":"madmecodes@gmail.com"},"repository":{"url":"git+https://github.com/Clawies/hospital-agent-sidecar.git","type":"git"},"_npmVersion":"10.9.0","description":"Crash detection, auto-repair, and health monitoring for AI agent gateways. Watches your OpenClaw or Hermes gateway, detects crashes, runs instant local repairs, and reports to Agent Hospital for AI-powered diagnosis.","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sidecar_2.0.2_1779942369920_0.935375551675891","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@agent-hospital/sidecar","version":"2.0.3","keywords":["agent","hospital","sidecar","openclaw","hermes","crash-detection","auto-repair","health-monitoring"],"license":"MIT","_id":"@agent-hospital/sidecar@2.0.3","maintainers":[{"name":"madmecodes","email":"madmecodes@gmail.com"}],"homepage":"https://github.com/Clawies/hospital-agent-sidecar#readme","bugs":{"url":"https://github.com/Clawies/hospital-agent-sidecar/issues"},"os":["linux","darwin"],"bin":{"hospital-sidecar":"bin/run.js"},"cpu":["x64","arm64"],"dist":{"shasum":"79f434ab2f56bb0e68e38aeb139fef05bb0936fd","tarball":"https://registry.npmjs.org/@agent-hospital/sidecar/-/sidecar-2.0.3.tgz","fileCount":13,"integrity":"sha512-JhKRlQIcB3lj4K9ZODNd4SMvm2ePV+kw3JbfxTKSuBtH0hBjUSGZT5N4J1xlb10BihlExc4ts1hX3+34zKWT8w==","signatures":[{"sig":"MEYCIQDDT1G36xytCj0UzQjmn+p2BntrsuQt9MKrZzCVnls8CgIhAOdJbPGp988CP2RDM0WO6uJSROBcRAbygMawyzNmOce9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":139122},"engines":{"node":">=18"},"gitHead":"21bf959d22745a61c69827c0e0131312ec53325e","scripts":{"postinstall":"node scripts/install.js"},"_npmUser":{"name":"madmecodes","email":"madmecodes@gmail.com"},"repository":{"url":"git+https://github.com/Clawies/hospital-agent-sidecar.git","type":"git"},"_npmVersion":"10.9.0","description":"Crash detection, auto-repair, and health monitoring for AI agent gateways. Watches your OpenClaw or Hermes gateway, detects crashes, runs instant local repairs, and reports to Agent Hospital for AI-powered diagnosis.","directories":{},"_nodeVersion":"22.12.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sidecar_2.0.3_1779942934474_0.10720609026281691","host":"s3://npm-registry-packages-npm-production"}},"2.0.4":{"name":"@agent-hospital/sidecar","version":"2.0.4","description":"Crash detection, auto-repair, and health monitoring for AI agent gateways. Watches your OpenClaw or Hermes gateway, detects crashes, runs instant local repairs, and reports to Agent Hospital for AI-powered diagnosis.","bin":{"hospital-sidecar":"bin/run.js"},"scripts":{"postinstall":"node scripts/install.js"},"os":["linux","darwin"],"cpu":["x64","arm64"],"keywords":["agent","hospital","sidecar","openclaw","hermes","crash-detection","auto-repair","health-monitoring"],"repository":{"type":"git","url":"git+https://github.com/Clawies/hospital-agent-sidecar.git"},"license":"MIT","engines":{"node":">=18"},"_id":"@agent-hospital/sidecar@2.0.4","gitHead":"52a1ea56bc276315112c3373b842f0b666329f7e","bugs":{"url":"https://github.com/Clawies/hospital-agent-sidecar/issues"},"homepage":"https://github.com/Clawies/hospital-agent-sidecar#readme","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-bXfNGQ3ovfpY3cYMaKjD9G8raA9+domXF9Pmm6Gn5d6Jqwp37EeL20/0NcgqlTZCtWhKOOjGKFc0s5eiajBLvg==","shasum":"8c954c9171467f86abe95c49220c217e46fb6055","tarball":"https://registry.npmjs.org/@agent-hospital/sidecar/-/sidecar-2.0.4.tgz","fileCount":13,"unpackedSize":139589,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD6bXlVUQvDYm6p8PYc4E2St8A/GAP8gURWomz4PAh56wIgdq8rhjdbguCCzFaqGbn3Y1KA3o9SvLvIq8jhI8Eqgno="}]},"_npmUser":{"name":"madmecodes","email":"madmecodes@gmail.com"},"directories":{},"maintainers":[{"name":"madmecodes","email":"madmecodes@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sidecar_2.0.4_1779943625810_0.9659724797370943"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-20T03:10:03.854Z","modified":"2026-05-28T04:47:06.115Z","1.0.0":"2026-05-20T03:10:04.168Z","1.0.1":"2026-05-22T13:20:12.433Z","1.0.2":"2026-05-22T13:30:24.445Z","1.0.3":"2026-05-22T13:36:19.619Z","1.0.4":"2026-05-26T07:48:52.971Z","2.0.0":"2026-05-26T09:14:51.419Z","2.0.1":"2026-05-26T17:46:41.209Z","2.0.2":"2026-05-28T04:26:10.073Z","2.0.3":"2026-05-28T04:35:34.613Z","2.0.4":"2026-05-28T04:47:05.975Z"},"bugs":{"url":"https://github.com/Clawies/hospital-agent-sidecar/issues"},"license":"MIT","homepage":"https://github.com/Clawies/hospital-agent-sidecar#readme","keywords":["agent","hospital","sidecar","openclaw","hermes","crash-detection","auto-repair","health-monitoring"],"repository":{"type":"git","url":"git+https://github.com/Clawies/hospital-agent-sidecar.git"},"description":"Crash detection, auto-repair, and health monitoring for AI agent gateways. Watches your OpenClaw or Hermes gateway, detects crashes, runs instant local repairs, and reports to Agent Hospital for AI-powered diagnosis.","maintainers":[{"name":"madmecodes","email":"madmecodes@gmail.com"}],"readme":"# @agent-hospital/sidecar\n\nCrash detection, auto-repair, and health monitoring for AI agent gateways (OpenClaw, Hermes).\n\nRuns alongside your agent gateway as a systemd service. Detects crashes in 5 seconds, runs instant local repairs, monitors LLM provider health, and reports to [Agent Hospital](https://agent-hospital.ai) for AI-powered diagnosis.\n\n## Quick Start\n\n```bash\nnpx @agent-hospital/sidecar setup \\\n  --api-key YOUR_API_KEY \\\n  --hospital-url https://api.agent-hospital.ai\n```\n\nThat's it. The sidecar auto-detects your framework, LLM provider, and gateway configuration.\n\n## What It Does\n\n- Watches your gateway process (systemd polling every 5s)\n- On crash: collects logs, exit code, disk/memory stats, runs pattern-matched repairs instantly\n- Reports crash context to Agent Hospital for AI diagnosis (Claude-powered)\n- Monitors LLM provider health (OpenRouter, local proxies, any OpenAI-compatible endpoint)\n- Sends heartbeats every 60s so Agent Hospital can detect if your VM goes down\n\n## Commands\n\n```bash\nhospital-sidecar setup       # Install and start as a systemd service\nhospital-sidecar status      # Check if the sidecar is running\nhospital-sidecar uninstall   # Stop and remove everything\nhospital-sidecar version     # Print version\n```\n\n## Setup Options\n\n```\n--api-key KEY        (required) Your Agent Hospital API key\n--hospital-url URL   (required) Agent Hospital server URL\n--inbound-token TOK  Bearer token for inbound requests (auto-generated if omitted)\n--framework NAME     openclaw or hermes (auto-detected from ~/.openclaw or ~/.hermes)\n--state-dir DIR      Agent home directory (auto-detected)\n--systemd-unit NAME  Systemd unit to watch (auto-detected)\n--gateway-port PORT  Gateway port (default 18789)\n--port PORT          Sidecar listen port (default 18793)\n--name NAME          Agent name (default hostname)\n```\n\n## Auto-Detection\n\nThe sidecar reads your agent's config file to auto-detect:\n\n- **Framework**: Checks for `~/.openclaw/` or `~/.hermes/`\n- **LLM provider**: Reads `openclaw.json` to find the primary model provider (OpenRouter, local proxy, Anthropic, etc.)\n- **Health check URL**: Constructs the right `/v1/models` endpoint for your provider\n- **Auth**: Resolves API keys from config or environment variables\n\n## Requirements\n\n- Linux with systemd (user-level services)\n- OpenClaw or Hermes agent gateway running\n- Node.js >= 16 (for npm install only -- the sidecar itself is a static Go binary)\n\n## How It Works\n\n1. **Install**: Downloads a pre-built Go binary (~6MB) for your platform\n2. **Setup**: Creates a systemd user service with your config\n3. **Run**: Binary runs as a background service, survives SSH logout\n4. **Monitor**: Polls gateway status, LLM health, disk/memory every few seconds\n5. **Repair**: On crash, runs deterministic L0 repairs (restart, kill zombies, clear disk)\n6. **Report**: Pushes crash context to Agent Hospital for AI diagnosis\n7. **Learn**: Hospital learns from successful repairs for future incidents\n","readmeFilename":"README.md"}