{"_id":"@2en/clawhub2gateway","_rev":"5-b9b88a29363e6f6103af5ea80e6d30f1","name":"@2en/clawhub2gateway","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"@2en/clawhub2gateway","version":"0.1.0","_id":"@2en/clawhub2gateway@0.1.0","maintainers":[{"name":"ambarli","email":"me@ambar.li"},{"name":"tianlu_2en","email":"tianlu@2en.ai"}],"dist":{"shasum":"ddf40b8fcb0f1699e3f5184f86419d11a45b23ad","tarball":"https://registry.npmjs.org/@2en/clawhub2gateway/-/clawhub2gateway-0.1.0.tgz","fileCount":4,"integrity":"sha512-2lQRLj1+N/h5ac6iRqfuJdksbQ20YbpHuATaGejTAdNM0H8BJrNjsezb8UHVwv6mNJomp8ojakRKV8qvGlbaog==","signatures":[{"sig":"MEYCIQDqocZKU1RoLgfRAuGkN4jPFUcbXEVeSwtkzp2xXq3TIwIhAK9X0k5mkpw78gN+oaCivjAWprr+OiTeS9+QIxrKJjWf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18337},"type":"module","module":"index.ts","gitHead":"d70f7bbe025de122c750b21eaee3e556d095961d","_npmUser":{"name":"ambarli","email":"me@ambar.li"},"_npmVersion":"10.9.4","description":"OpenClaw plugin that wraps the **ClawHub CLI** as **Gateway WebSocket RPC methods**.","directories":{},"_nodeVersion":"22.22.0","publishConfig":{"access":"restricted"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/clawhub2gateway_0.1.0_1770543748404_0.19222168572770038","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@2en/clawhub2gateway","version":"1.0.0","_id":"@2en/clawhub2gateway@1.0.0","maintainers":[{"name":"ambarli","email":"me@ambar.li"},{"name":"tianlu_2en","email":"tianlu@2en.ai"}],"homepage":"https://github.com/2enai/clawly#readme","bugs":{"url":"https://github.com/2enai/clawly/issues"},"dist":{"shasum":"65cf0941320f7c85911c5375e2745c6e3ee057e7","tarball":"https://registry.npmjs.org/@2en/clawhub2gateway/-/clawhub2gateway-1.0.0.tgz","fileCount":4,"integrity":"sha512-Wsk4DIJJFmoi0BDPJ3bPH6GJ9QgkPqwrZZkHIVw0EuDHcGnuaOumWwaDrsdR54gGV8NOgY7yoRq/2Kfz/n5Oug==","signatures":[{"sig":"MEQCIAp06uxGPIb5yF5ZG4mlvJcRIpYO+Y0VbV+BpcNSvfshAiB7a4ltY1v0qGwY7eyuu1WO6ZFcqEZmzxiajWDoDeTriA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18481},"type":"module","module":"index.ts","gitHead":"eecd081f02e283833a0e6314951c61ab88722c05","_npmUser":{"name":"ambarli","email":"me@ambar.li"},"openclaw":{"extensions":["./index.ts"]},"repository":{"url":"git+https://github.com/2enai/clawly.git","type":"git","directory":"plugins/clawhub2gateway"},"_npmVersion":"10.9.4","description":"OpenClaw plugin that wraps the **ClawHub CLI** as **Gateway WebSocket RPC methods**.","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/clawhub2gateway_1.0.0_1770548029430_0.8900136578424056","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-02-08T09:42:27.932Z","modified":"2026-02-23T09:39:32.145Z","0.1.0":"2026-02-08T09:42:28.559Z","1.0.0":"2026-02-08T10:53:49.589Z"},"bugs":{"url":"https://github.com/2enai/clawly/issues"},"homepage":"https://github.com/2enai/clawly#readme","repository":{"url":"git+https://github.com/2enai/clawly.git","type":"git","directory":"plugins/clawhub2gateway"},"description":"OpenClaw plugin that wraps the **ClawHub CLI** as **Gateway WebSocket RPC methods**.","maintainers":[{"email":"me@ambar.li","name":"ambarli"},{"email":"banyudu@gmail.com","name":"banyudu"},{"email":"david@hdw.im","name":"huangdawei"},{"email":"tianlu@2en.ai","name":"tianlu_2en"}],"readme":"# clawhub2gateway\n\nOpenClaw plugin that wraps the **ClawHub CLI** as **Gateway WebSocket RPC methods**.\n\n## What you get\n\nGateway methods (call via WS RPC):\n\n- `clawhub2gateway.search`\n- `clawhub2gateway.explore`\n- `clawhub2gateway.install`\n- `clawhub2gateway.update`\n- `clawhub2gateway.list`\n- `clawhub2gateway.inspect`\n- `clawhub2gateway.star`\n- `clawhub2gateway.unstar`\n\n## Install on a gateway host\n\n1) Install the ClawHub CLI (must be on PATH for the OpenClaw process):\n\n```bash\nnpm i -g clawhub\n```\n\n2) Put this plugin on the gateway host and make it discoverable. Common options:\n\n- **Workspace plugin**: copy this folder to `<workspace>/.openclaw/extensions/clawhub2gateway/`\n  with `index.ts` + `openclaw.plugin.json`\n- **Config path**: set `plugins.load.paths` to the plugin folder path\n\n3) Enable the plugin in your `openclaw.json`:\n\n```json5\n{\n  \"plugins\": {\n    \"enabled\": true,\n    \"entries\": {\n      \"clawhub2gateway\": { \"enabled\": true, \"config\": {} }\n    }\n  }\n}\n```\n\n## Plugin config\n\nConfigured under `plugins.entries.clawhub2gateway.config`:\n\n- `bin` (string, default: `\"clawhub\"`): command to execute\n- `defaultDir` (string, default: `\"skills\"`): default `--dir`\n- `defaultNoInput` (boolean, default: `true`): default `--no-input`\n- `defaultTimeoutMs` (number, default: `60000`)\n- `configPath` (string, optional): sets `CLAWHUB_CONFIG_PATH`. Defaults to\n  `<OPENCLAW_STATE_DIR>/clawhub/config.json` when state dir is known.\n\n## Call examples (RPC params)\n\nInstall:\n\n```json\n{ \"method\": \"clawhub2gateway.install\", \"params\": { \"slug\": \"my-skill-pack\" } }\n```\n\nExplore:\n\n```json\n{ \"method\": \"clawhub2gateway.explore\", \"params\": { \"limit\": 50, \"sort\": \"trending\", \"json\": true } }\n```\n","readmeFilename":"README.md"}