{"_id":"@agent-pulse/openclaw-skill","name":"@agent-pulse/openclaw-skill","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@agent-pulse/openclaw-skill","version":"1.0.0","description":"OpenClaw skill integration for AgentPulse SDK gating","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"},"./gate-schema.json":"./gate-schema.json"},"scripts":{"build":"tsc","dev":"tsc --watch","lint":"eslint . --ext .ts","typecheck":"tsc --noEmit"},"dependencies":{"@agent-pulse/sdk":"workspace:*","ajv":"^8.12.0","viem":"^2.0.0"},"devDependencies":{"@types/node":"^20.0.0","typescript":"^5.3.0"},"peerDependencies":{"@agent-pulse/sdk":"^1.0.0"},"keywords":["agent-pulse","openclaw","skill","gating","liveness","agents"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/consensus-hq/agent-pulse.git","directory":"agent-pulse/skills/openclaw"},"_id":"@agent-pulse/openclaw-skill@1.0.0","gitHead":"52acde64fcbd95c2c4cbbd0605b5143973905091","bugs":{"url":"https://github.com/consensus-hq/agent-pulse/issues"},"homepage":"https://github.com/consensus-hq/agent-pulse#readme","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-5ZPwfnTF9NWoistf/5BAS9axQe4MkZ+jtE0E68Fbo0UsonJIEMMVWcd7c4pFur/twwTkzKSnHe/OffH47nPNoA==","shasum":"332f9941217b9d63f6440fd6ebd2f18091b042cb","tarball":"https://registry.npmjs.org/@agent-pulse/openclaw-skill/-/openclaw-skill-1.0.0.tgz","fileCount":16,"unpackedSize":61237,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCKYo8vz30Yx8j9FNMRSEwzoq7lpHeQfFKvaqA3UA40lQIhAMkl9GtH289/pThJ0LkPlEypIIENAhiWt5xutpq496Mb"}]},"_npmUser":{"name":"consensuscli","email":"openclaw@consensus.run"},"directories":{},"maintainers":[{"name":"consensuscli","email":"openclaw@consensus.run"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/openclaw-skill_1.0.0_1770547965146_0.6213798418889249"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-08T10:52:45.088Z","1.0.0":"2026-02-08T10:52:45.298Z","modified":"2026-02-08T10:52:45.460Z"},"maintainers":[{"name":"consensuscli","email":"openclaw@consensus.run"}],"description":"OpenClaw skill integration for AgentPulse SDK gating","homepage":"https://github.com/consensus-hq/agent-pulse#readme","keywords":["agent-pulse","openclaw","skill","gating","liveness","agents"],"repository":{"type":"git","url":"git+https://github.com/consensus-hq/agent-pulse.git","directory":"agent-pulse/skills/openclaw"},"bugs":{"url":"https://github.com/consensus-hq/agent-pulse/issues"},"license":"MIT","readme":"# @agent-pulse/openclaw-skill\n\nOpenClaw skill integration for [AgentPulse SDK](https://www.npmjs.com/package/@agent-pulse/sdk) gating. Provides liveness-based gate checks for incoming and outgoing agent requests.\n\n## Install\n\n```bash\nnpm install @agent-pulse/openclaw-skill @agent-pulse/sdk\n```\n\n## Usage\n\n```typescript\nimport { startup, withGate, getGateStatus } from \"@agent-pulse/openclaw-skill\";\n\n// Initialize gate from skill YAML config\nconst result = await startup({\n  enabled: true,\n  mode: \"strict\",       // \"strict\" | \"warn\" | \"log\"\n  threshold: \"24h\",     // liveness threshold\n  chainId: 84532,       // Base Sepolia (default)\n});\n\nif (result.success && result.gate) {\n  // Gate an incoming request\n  const allowed = await result.gate.gateIncoming(\"0x...\");\n\n  // Or use the middleware wrapper\n  const protectedAction = withGate(async (ctx, input) => {\n    // your action logic\n  });\n}\n```\n\n## Gate Modes\n\n| Mode     | On Reject           | On Error            |\n|----------|---------------------|---------------------|\n| `strict` | Throws error (403)  | Throws error (500)  |\n| `warn`   | Logs warning        | Logs, allows        |\n| `log`    | Telemetry only      | Silent, allows      |\n\n## Links\n\n- [AgentPulse SDK](https://www.npmjs.com/package/@agent-pulse/sdk)\n- [Repository](https://github.com/consensus-hq/agent-pulse)\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-d24b8bca4a1200f608fb8b182d586d1e"}