{"_id":"@biroai/adapter-openclaw-gateway","_rev":"8-1a3e6dce38947beedf9815061aa8390b","name":"@biroai/adapter-openclaw-gateway","dist-tags":{"latest":"2026.513.0","canary":"2026.513.0-canary.1"},"versions":{"2026.512.0-canary.0":{"name":"@biroai/adapter-openclaw-gateway","version":"2026.512.0-canary.0","license":"MIT","_id":"@biroai/adapter-openclaw-gateway@2026.512.0-canary.0","maintainers":[{"name":"timreactor","email":"tim@reactorjet.com"}],"homepage":"https://github.com/Tim-ReJet/biro","bugs":{"url":"https://github.com/Tim-ReJet/biro/issues"},"dist":{"shasum":"e16c6d3bf76459f9afdb2a15f790f725bbec3afa","tarball":"https://registry.npmjs.org/@biroai/adapter-openclaw-gateway/-/adapter-openclaw-gateway-2026.512.0-canary.0.tgz","fileCount":51,"integrity":"sha512-k+2zoMVqvBVid5IPIvtT6IiEokbMG58jvgFwo/0GbwVQk3yuAfIO6fp4SdiJyPfIWFc1eKLopCfD1Uyj0CthUQ==","signatures":[{"sig":"MEQCIA5bzQ6soBk12YGc6vy1xRG6++fbsLoUyXcixep8mj6LAiBGZsgh+1XgS05N8mZsEsxD9vDtYmoZgVnJdzlS80RSDg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":155453},"main":"./dist/index.js","type":"module","_from":"file:biroai-adapter-openclaw-gateway-2026.512.0-canary.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./ui":{"types":"./dist/ui/index.d.ts","import":"./dist/ui/index.js"},"./cli":{"types":"./dist/cli/index.d.ts","import":"./dist/cli/index.js"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js"}},"scripts":{"build":"tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"timreactor","email":"tim@reactorjet.com"},"_resolved":"/private/var/folders/tn/cfqsycsd5k99cmcdx2dbjq_h0000gn/T/9b20e7987283202c8809b016bfeb8611/biroai-adapter-openclaw-gateway-2026.512.0-canary.0.tgz","_integrity":"sha512-k+2zoMVqvBVid5IPIvtT6IiEokbMG58jvgFwo/0GbwVQk3yuAfIO6fp4SdiJyPfIWFc1eKLopCfD1Uyj0CthUQ==","repository":{"url":"git+https://github.com/Tim-ReJet/biro.git","type":"git","directory":"packages/adapters/openclaw-gateway"},"_npmVersion":"11.12.1","description":"This document describes how `@biroai/adapter-openclaw-gateway` invokes OpenClaw over the Gateway protocol.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"ws":"^8.19.0","picocolors":"^1.1.1","@biroai/adapter-utils":"2026.512.0-canary.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/ws":"^8.18.1","typescript":"^5.7.3","@types/node":"^24.6.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-openclaw-gateway_2026.512.0-canary.0_1778564615827_0.0008439696152100495","host":"s3://npm-registry-packages-npm-production"}},"2026.512.0-canary.1":{"name":"@biroai/adapter-openclaw-gateway","version":"2026.512.0-canary.1","license":"MIT","_id":"@biroai/adapter-openclaw-gateway@2026.512.0-canary.1","maintainers":[{"name":"timreactor","email":"tim@reactorjet.com"}],"homepage":"https://github.com/Tim-ReJet/biro","bugs":{"url":"https://github.com/Tim-ReJet/biro/issues"},"dist":{"shasum":"47aae0cbe0308b668ab4bdf7348fc5eb0ee9113c","tarball":"https://registry.npmjs.org/@biroai/adapter-openclaw-gateway/-/adapter-openclaw-gateway-2026.512.0-canary.1.tgz","fileCount":51,"integrity":"sha512-tDz0DHRgHohxO0WseBfdNBdSRUZY9ZugQl59oocg7cyd89FXQwZSMxZy1NJ11lwKUfyp6RyQO0nCEEaYdA0dNw==","signatures":[{"sig":"MEUCIQD+QheM2uU6/mOABb4vPKieNX6Q1UTbHmB2WNvVoNJFpgIgDv+jxmhLhQZ69CqatRvcoOnnKGawgQ32cJH+xPRd/Fw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":155453},"main":"./dist/index.js","type":"module","_from":"file:biroai-adapter-openclaw-gateway-2026.512.0-canary.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./ui":{"types":"./dist/ui/index.d.ts","import":"./dist/ui/index.js"},"./cli":{"types":"./dist/cli/index.d.ts","import":"./dist/cli/index.js"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js"}},"scripts":{"build":"tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"timreactor","email":"tim@reactorjet.com"},"_resolved":"/private/var/folders/tn/cfqsycsd5k99cmcdx2dbjq_h0000gn/T/41a5bb2b94dc70ea92d8d02363bf8294/biroai-adapter-openclaw-gateway-2026.512.0-canary.1.tgz","_integrity":"sha512-tDz0DHRgHohxO0WseBfdNBdSRUZY9ZugQl59oocg7cyd89FXQwZSMxZy1NJ11lwKUfyp6RyQO0nCEEaYdA0dNw==","repository":{"url":"git+https://github.com/Tim-ReJet/biro.git","type":"git","directory":"packages/adapters/openclaw-gateway"},"_npmVersion":"11.12.1","description":"This document describes how `@biroai/adapter-openclaw-gateway` invokes OpenClaw over the Gateway protocol.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"ws":"^8.19.0","picocolors":"^1.1.1","@biroai/adapter-utils":"2026.512.0-canary.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/ws":"^8.18.1","typescript":"^5.7.3","@types/node":"^24.6.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-openclaw-gateway_2026.512.0-canary.1_1778593566853_0.5337366552348972","host":"s3://npm-registry-packages-npm-production"}},"2026.512.0-canary.2":{"name":"@biroai/adapter-openclaw-gateway","version":"2026.512.0-canary.2","license":"MIT","_id":"@biroai/adapter-openclaw-gateway@2026.512.0-canary.2","maintainers":[{"name":"timreactor","email":"tim@reactorjet.com"}],"homepage":"https://github.com/Tim-ReJet/biro","bugs":{"url":"https://github.com/Tim-ReJet/biro/issues"},"dist":{"shasum":"19b29be8b684980ec2b8302e7ff7f9cded1a4b2c","tarball":"https://registry.npmjs.org/@biroai/adapter-openclaw-gateway/-/adapter-openclaw-gateway-2026.512.0-canary.2.tgz","fileCount":51,"integrity":"sha512-B53QaxvD3o7xZvDDh8qmk6vPnxP9shAQ44l3cZ4aoHmpbGnSOH59XMgEdB+rGpwPYm/UD1rUpQTCE7xd9RxGkw==","signatures":[{"sig":"MEYCIQDbEcX/Os2prADrYfwQbJKJzlMiuMJ5g6E8Nyxr0oIl1QIhAMbe6iybiTFGiTfreE80SK0b4N0i7j0+KAIswq7zUknQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":155453},"main":"./dist/index.js","type":"module","_from":"file:biroai-adapter-openclaw-gateway-2026.512.0-canary.2.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./ui":{"types":"./dist/ui/index.d.ts","import":"./dist/ui/index.js"},"./cli":{"types":"./dist/cli/index.d.ts","import":"./dist/cli/index.js"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js"}},"scripts":{"build":"tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"timreactor","email":"tim@reactorjet.com"},"_resolved":"/private/var/folders/tn/cfqsycsd5k99cmcdx2dbjq_h0000gn/T/7df1009ec4b3b75b3d6d5d1613919f5b/biroai-adapter-openclaw-gateway-2026.512.0-canary.2.tgz","_integrity":"sha512-B53QaxvD3o7xZvDDh8qmk6vPnxP9shAQ44l3cZ4aoHmpbGnSOH59XMgEdB+rGpwPYm/UD1rUpQTCE7xd9RxGkw==","repository":{"url":"git+https://github.com/Tim-ReJet/biro.git","type":"git","directory":"packages/adapters/openclaw-gateway"},"_npmVersion":"11.12.1","description":"This document describes how `@biroai/adapter-openclaw-gateway` invokes OpenClaw over the Gateway protocol.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"ws":"^8.19.0","picocolors":"^1.1.1","@biroai/adapter-utils":"2026.512.0-canary.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/ws":"^8.18.1","typescript":"^5.7.3","@types/node":"^24.6.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-openclaw-gateway_2026.512.0-canary.2_1778606078804_0.6836329029693389","host":"s3://npm-registry-packages-npm-production"}},"2026.512.0-canary.3":{"name":"@biroai/adapter-openclaw-gateway","version":"2026.512.0-canary.3","license":"MIT","_id":"@biroai/adapter-openclaw-gateway@2026.512.0-canary.3","maintainers":[{"name":"timreactor","email":"tim@reactorjet.com"}],"homepage":"https://github.com/Tim-ReJet/biro","bugs":{"url":"https://github.com/Tim-ReJet/biro/issues"},"dist":{"shasum":"c1e598b67b2ac06aae3f96b494fcec433a80f197","tarball":"https://registry.npmjs.org/@biroai/adapter-openclaw-gateway/-/adapter-openclaw-gateway-2026.512.0-canary.3.tgz","fileCount":51,"integrity":"sha512-d0DRM9/srsSvIVMKZjeEQ19l/Khrn/b1v4uzjcuxPRsKDVAopuJ+HUNE4cjL7hxIXBP/AfXQMtIBEZL6NiO46w==","signatures":[{"sig":"MEYCIQCeDvEiP/yrieAsmbTrb09BWxwzbYOrnPZhUyIIqFjXnwIhAIoucrGCQ0T1mKLpjVr0dxDEr7Bv0MMo521WkesVbLTE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":155453},"main":"./dist/index.js","type":"module","_from":"file:biroai-adapter-openclaw-gateway-2026.512.0-canary.3.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./ui":{"types":"./dist/ui/index.d.ts","import":"./dist/ui/index.js"},"./cli":{"types":"./dist/cli/index.d.ts","import":"./dist/cli/index.js"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js"}},"scripts":{"build":"tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"timreactor","email":"tim@reactorjet.com"},"_resolved":"/private/var/folders/tn/cfqsycsd5k99cmcdx2dbjq_h0000gn/T/83e194a5dd89047969c7fe1fed675775/biroai-adapter-openclaw-gateway-2026.512.0-canary.3.tgz","_integrity":"sha512-d0DRM9/srsSvIVMKZjeEQ19l/Khrn/b1v4uzjcuxPRsKDVAopuJ+HUNE4cjL7hxIXBP/AfXQMtIBEZL6NiO46w==","repository":{"url":"git+https://github.com/Tim-ReJet/biro.git","type":"git","directory":"packages/adapters/openclaw-gateway"},"_npmVersion":"11.12.1","description":"This document describes how `@biroai/adapter-openclaw-gateway` invokes OpenClaw over the Gateway protocol.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"ws":"^8.19.0","picocolors":"^1.1.1","@biroai/adapter-utils":"2026.512.0-canary.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/ws":"^8.18.1","typescript":"^5.7.3","@types/node":"^24.6.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-openclaw-gateway_2026.512.0-canary.3_1778607874255_0.4663924414770244","host":"s3://npm-registry-packages-npm-production"}},"2026.512.0-canary.4":{"name":"@biroai/adapter-openclaw-gateway","version":"2026.512.0-canary.4","license":"MIT","_id":"@biroai/adapter-openclaw-gateway@2026.512.0-canary.4","maintainers":[{"name":"timreactor","email":"tim@reactorjet.com"}],"homepage":"https://github.com/Tim-ReJet/biro","bugs":{"url":"https://github.com/Tim-ReJet/biro/issues"},"dist":{"shasum":"3ae126a843dfe8d9c3d837985d053b55399d2901","tarball":"https://registry.npmjs.org/@biroai/adapter-openclaw-gateway/-/adapter-openclaw-gateway-2026.512.0-canary.4.tgz","fileCount":51,"integrity":"sha512-M6lv/BnxHQaO3R6hbTdDYciXWhdu3Mk9dQW8gw5TsHJ4pzAFqmK/EXwdjY8Ywy5jhHJOamGI5D9/nU56t3P7Rg==","signatures":[{"sig":"MEUCIC5MeX9xH81Eyzu6fPFu81m+IgFVpeFMvDOgXdTDNnlYAiEAuBUQ1MvzvR748aUWKuddjCnzqOj8yBHL+f9jH2RWDX0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":155453},"main":"./dist/index.js","type":"module","_from":"file:biroai-adapter-openclaw-gateway-2026.512.0-canary.4.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./ui":{"types":"./dist/ui/index.d.ts","import":"./dist/ui/index.js"},"./cli":{"types":"./dist/cli/index.d.ts","import":"./dist/cli/index.js"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js"}},"scripts":{"build":"tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"timreactor","email":"tim@reactorjet.com"},"_resolved":"/private/var/folders/tn/cfqsycsd5k99cmcdx2dbjq_h0000gn/T/0b62bfcc751a972ed6a7f00aeca4de6e/biroai-adapter-openclaw-gateway-2026.512.0-canary.4.tgz","_integrity":"sha512-M6lv/BnxHQaO3R6hbTdDYciXWhdu3Mk9dQW8gw5TsHJ4pzAFqmK/EXwdjY8Ywy5jhHJOamGI5D9/nU56t3P7Rg==","repository":{"url":"git+https://github.com/Tim-ReJet/biro.git","type":"git","directory":"packages/adapters/openclaw-gateway"},"_npmVersion":"11.12.1","description":"This document describes how `@biroai/adapter-openclaw-gateway` invokes OpenClaw over the Gateway protocol.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"ws":"^8.19.0","picocolors":"^1.1.1","@biroai/adapter-utils":"2026.512.0-canary.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/ws":"^8.18.1","typescript":"^5.7.3","@types/node":"^24.6.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-openclaw-gateway_2026.512.0-canary.4_1778609855706_0.153127242763764","host":"s3://npm-registry-packages-npm-production"}},"2026.513.0-canary.0":{"name":"@biroai/adapter-openclaw-gateway","version":"2026.513.0-canary.0","license":"MIT","_id":"@biroai/adapter-openclaw-gateway@2026.513.0-canary.0","maintainers":[{"name":"timreactor","email":"tim@reactorjet.com"}],"homepage":"https://github.com/Tim-ReJet/biro","bugs":{"url":"https://github.com/Tim-ReJet/biro/issues"},"dist":{"shasum":"8fd4d2f3774d763c89906e73651ad254bc5acb59","tarball":"https://registry.npmjs.org/@biroai/adapter-openclaw-gateway/-/adapter-openclaw-gateway-2026.513.0-canary.0.tgz","fileCount":51,"integrity":"sha512-J19GkeeJ5dxHiLGu9sHiNfTSF2XMb76nkVXb0n8ee/2jY/x1/nJAb6aZcewvJOmyF5cbx6whnh06FTmUp8oxJQ==","signatures":[{"sig":"MEUCIQD3QGXqEeXGyFA+xBQA2lWMjii8svSQXjkJu5+ITyOKggIgc5e0RRTBYTI1lPpYBljoOn40Dpl6kNxuwcibw4j1NE8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":155453},"main":"./dist/index.js","type":"module","_from":"file:biroai-adapter-openclaw-gateway-2026.513.0-canary.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./ui":{"types":"./dist/ui/index.d.ts","import":"./dist/ui/index.js"},"./cli":{"types":"./dist/cli/index.d.ts","import":"./dist/cli/index.js"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js"}},"scripts":{"build":"tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"timreactor","email":"tim@reactorjet.com"},"_resolved":"/private/var/folders/tn/cfqsycsd5k99cmcdx2dbjq_h0000gn/T/e396eec2432d848b736d9de8f68847bd/biroai-adapter-openclaw-gateway-2026.513.0-canary.0.tgz","_integrity":"sha512-J19GkeeJ5dxHiLGu9sHiNfTSF2XMb76nkVXb0n8ee/2jY/x1/nJAb6aZcewvJOmyF5cbx6whnh06FTmUp8oxJQ==","repository":{"url":"git+https://github.com/Tim-ReJet/biro.git","type":"git","directory":"packages/adapters/openclaw-gateway"},"_npmVersion":"11.12.1","description":"This document describes how `@biroai/adapter-openclaw-gateway` invokes OpenClaw over the Gateway protocol.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"ws":"^8.19.0","picocolors":"^1.1.1","@biroai/adapter-utils":"2026.513.0-canary.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/ws":"^8.18.1","typescript":"^5.7.3","@types/node":"^24.6.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-openclaw-gateway_2026.513.0-canary.0_1778636321698_0.1063036181340209","host":"s3://npm-registry-packages-npm-production"}},"2026.513.0-canary.1":{"name":"@biroai/adapter-openclaw-gateway","version":"2026.513.0-canary.1","license":"MIT","_id":"@biroai/adapter-openclaw-gateway@2026.513.0-canary.1","maintainers":[{"name":"timreactor","email":"tim@reactorjet.com"}],"homepage":"https://github.com/Tim-ReJet/biro","bugs":{"url":"https://github.com/Tim-ReJet/biro/issues"},"dist":{"shasum":"ecac607ecb7943d5d8d09a6255e47f1a2acbfbea","tarball":"https://registry.npmjs.org/@biroai/adapter-openclaw-gateway/-/adapter-openclaw-gateway-2026.513.0-canary.1.tgz","fileCount":51,"integrity":"sha512-thZyntme2vbYmP4xeXUPX4zHf78f/rUlKOWZSBJrba27Re1kfC/p0CRl5cafiArJbA/B4JupowdP6+Kw2xN1UQ==","signatures":[{"sig":"MEQCIHKk2Gb38NFBPOouzZapc9d4N5AtFCsAS0b1NrbD3wskAiB7+d2TC0tZm2L7hb5aBZFJuBVYFW7qucVyri81ZaB/cw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":155453},"main":"./dist/index.js","type":"module","_from":"file:biroai-adapter-openclaw-gateway-2026.513.0-canary.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./ui":{"types":"./dist/ui/index.d.ts","import":"./dist/ui/index.js"},"./cli":{"types":"./dist/cli/index.d.ts","import":"./dist/cli/index.js"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js"}},"scripts":{"build":"tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"timreactor","email":"tim@reactorjet.com"},"_resolved":"/private/var/folders/tn/cfqsycsd5k99cmcdx2dbjq_h0000gn/T/c56f194979c3ae3422ef6290a5678dd8/biroai-adapter-openclaw-gateway-2026.513.0-canary.1.tgz","_integrity":"sha512-thZyntme2vbYmP4xeXUPX4zHf78f/rUlKOWZSBJrba27Re1kfC/p0CRl5cafiArJbA/B4JupowdP6+Kw2xN1UQ==","repository":{"url":"git+https://github.com/Tim-ReJet/biro.git","type":"git","directory":"packages/adapters/openclaw-gateway"},"_npmVersion":"11.12.1","description":"This document describes how `@biroai/adapter-openclaw-gateway` invokes OpenClaw over the Gateway protocol.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"ws":"^8.19.0","picocolors":"^1.1.1","@biroai/adapter-utils":"2026.513.0-canary.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/ws":"^8.18.1","typescript":"^5.7.3","@types/node":"^24.6.0"},"_npmOperationalInternal":{"tmp":"tmp/adapter-openclaw-gateway_2026.513.0-canary.1_1778657833763_0.7712373916319739","host":"s3://npm-registry-packages-npm-production"}},"2026.513.0":{"name":"@biroai/adapter-openclaw-gateway","version":"2026.513.0","license":"MIT","homepage":"https://github.com/Tim-ReJet/biro","bugs":{"url":"https://github.com/Tim-ReJet/biro/issues"},"repository":{"type":"git","url":"git+https://github.com/Tim-ReJet/biro.git","directory":"packages/adapters/openclaw-gateway"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js"},"./ui":{"types":"./dist/ui/index.d.ts","import":"./dist/ui/index.js"},"./cli":{"types":"./dist/cli/index.d.ts","import":"./dist/cli/index.js"}},"publishConfig":{"access":"public"},"dependencies":{"@biroai/adapter-utils":"2026.513.0","picocolors":"^1.1.1","ws":"^8.19.0"},"devDependencies":{"@types/node":"^24.6.0","@types/ws":"^8.18.1","typescript":"^5.7.3"},"scripts":{"build":"tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"main":"./dist/index.js","types":"./dist/index.d.ts","_id":"@biroai/adapter-openclaw-gateway@2026.513.0","description":"This document describes how `@biroai/adapter-openclaw-gateway` invokes OpenClaw over the Gateway protocol.","_integrity":"sha512-Y2X3dv08X03iQyY+Ed0X0DVB+d/D0EuDb5Uaq6V+MK9ZiLLiHiRWjr+beSqC/yZJB87LDkwA1B7y51uIa64B+g==","_resolved":"/private/var/folders/tn/cfqsycsd5k99cmcdx2dbjq_h0000gn/T/f39290284f745c4cd0a2a923711e069f/biroai-adapter-openclaw-gateway-2026.513.0.tgz","_from":"file:biroai-adapter-openclaw-gateway-2026.513.0.tgz","_nodeVersion":"24.14.1","_npmVersion":"11.12.1","dist":{"integrity":"sha512-Y2X3dv08X03iQyY+Ed0X0DVB+d/D0EuDb5Uaq6V+MK9ZiLLiHiRWjr+beSqC/yZJB87LDkwA1B7y51uIa64B+g==","shasum":"5e029ffe2acdb223b6769345133c4d7d7c658d3b","tarball":"https://registry.npmjs.org/@biroai/adapter-openclaw-gateway/-/adapter-openclaw-gateway-2026.513.0.tgz","fileCount":51,"unpackedSize":155435,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICAreCVbVY1zx98iY/ON7are1D18a+TnzST0gEui0WXVAiEAuTnfiSXGIxADIIAIDbTfQKVRbB8BFomglLua8sQZvws="}]},"_npmUser":{"name":"timreactor","email":"tim@reactorjet.com"},"directories":{},"maintainers":[{"name":"timreactor","email":"tim@reactorjet.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/adapter-openclaw-gateway_2026.513.0_1778658553973_0.8686699265587294"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-12T05:43:35.749Z","modified":"2026-05-13T07:49:14.284Z","2026.512.0-canary.0":"2026-05-12T05:43:35.966Z","2026.512.0-canary.1":"2026-05-12T13:46:07.006Z","2026.512.0-canary.2":"2026-05-12T17:14:38.991Z","2026.512.0-canary.3":"2026-05-12T17:44:34.431Z","2026.512.0-canary.4":"2026-05-12T18:17:35.850Z","2026.513.0-canary.0":"2026-05-13T01:38:41.994Z","2026.513.0-canary.1":"2026-05-13T07:37:13.935Z","2026.513.0":"2026-05-13T07:49:14.149Z"},"bugs":{"url":"https://github.com/Tim-ReJet/biro/issues"},"license":"MIT","homepage":"https://github.com/Tim-ReJet/biro","repository":{"type":"git","url":"git+https://github.com/Tim-ReJet/biro.git","directory":"packages/adapters/openclaw-gateway"},"description":"This document describes how `@biroai/adapter-openclaw-gateway` invokes OpenClaw over the Gateway protocol.","maintainers":[{"name":"timreactor","email":"tim@reactorjet.com"}],"readme":"# OpenClaw Gateway Adapter\n\nThis document describes how `@biroai/adapter-openclaw-gateway` invokes OpenClaw over the Gateway protocol.\n\n## Transport\n\nThis adapter always uses WebSocket gateway transport.\n\n- URL must be `ws://` or `wss://`\n- Connect flow follows gateway protocol:\n1. receive `connect.challenge`\n2. send `req connect` (protocol/client/auth/device payload)\n3. send `req agent`\n4. wait for completion via `req agent.wait`\n5. stream `event agent` frames into Biro logs/transcript parsing\n\n## Auth Modes\n\nGateway credentials can be provided in any of these ways:\n\n- `authToken` / `token` in adapter config\n- `headers.x-openclaw-token`\n- `headers.x-openclaw-auth` (legacy)\n- `password` (shared password mode)\n\nWhen a token is present and `authorization` header is missing, the adapter derives `Authorization: Bearer <token>`.\n\n## Device Auth\n\nBy default the adapter sends a signed `device` payload in `connect` params.\n\n- set `disableDeviceAuth=true` to omit device signing\n- set `devicePrivateKeyPem` to pin a stable signing key\n- without `devicePrivateKeyPem`, the adapter generates an ephemeral Ed25519 keypair per run\n- when `autoPairOnFirstConnect` is enabled (default), the adapter handles one initial `pairing required` by calling `device.pair.list` + `device.pair.approve` over shared auth, then retries once.\n\n## Session Strategy\n\nThe adapter supports the same session routing model as HTTP OpenClaw mode:\n\n- `sessionKeyStrategy=issue|fixed|run`\n- `sessionKey` is used when strategy is `fixed`\n\nResolved session key is sent as `agent.sessionKey`.\n\n## Payload Mapping\n\nThe agent request is built as:\n\n- required fields:\n  - `message` (wake text plus optional `payloadTemplate.message`/`payloadTemplate.text` prefix)\n  - `idempotencyKey` (Biro `runId`)\n  - `sessionKey` (resolved strategy)\n- optional additions:\n  - all `payloadTemplate` fields merged in\n  - `agentId` from config if set and not already in template\n\n## Timeouts\n\n- `timeoutSec` controls adapter-level request budget\n- `waitTimeoutMs` controls `agent.wait.timeoutMs`\n\nIf `agent.wait` returns `timeout`, adapter returns `openclaw_gateway_wait_timeout`.\n\n## Log Format\n\nStructured gateway event logs use:\n\n- `[openclaw-gateway] ...` for lifecycle/system logs\n- `[openclaw-gateway:event] run=<id> stream=<stream> data=<json>` for `event agent` frames\n\nUI/CLI parsers consume these lines to render transcript updates.\n","readmeFilename":"README.md"}