feat: import openclaw channel web package

This commit is contained in:
imeepos
2026-03-19 18:21:04 +08:00
parent 8206cc077c
commit ec01c933d3
15 changed files with 1520 additions and 0 deletions

43
package.json Normal file
View File

@@ -0,0 +1,43 @@
{
"name": "@bowong/clawshow-gateway",
"version": "2026.3.16-12",
"description": "OpenClaw Web channel plugin — browser-based chat via WebSocket relay",
"type": "module",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"exports": {
".": {
"import": "./dist/src/index.js",
"types": "./dist/src/index.d.ts"
}
},
"files": [
"dist",
"openclaw.plugin.json",
"package.json",
"README.md"
],
"openclaw": {
"extensions": [
"./dist/index.js"
]
},
"scripts": {
"build": "node -e \"require('fs').rmSync('dist',{ recursive: true, force: true })\" && bun x tsc -p tsconfig.build.json",
"typecheck": "bun x tsc --noEmit",
"clean": "node -e \"require('fs').rmSync('dist',{ recursive: true, force: true })\""
},
"peerDependencies": {
"openclaw": "^2026.3.2"
},
"dependencies": {
"ws": "^8.19.0"
},
"devDependencies": {
"@types/ws": "^8.18.1"
}
}