fix: 修复测试消息重复显示和详细日志输出
- 删除重复的测试消息通信模块 - 添加 openclaw-log 事件将详细日志发送到界面 - 界面监听并显示 OpenClaw 详细日志 - 日志包含:连接状态、发送请求、接收消息、响应状态、错误诊断 现在连接 OpenClaw 时会看到详细日志: [OpenClaw] ========== 开始连接 ========== [OpenClaw] ✅ WebSocket 连接已建立 | 就绪状态:1 [OpenClaw] 📤 发送 connect 请求... [OpenClaw] 📥 收到消息 (长度:123 字节) [OpenClaw] 响应:✅ 成功 / ❌ 失败
This commit is contained in:
77
dist_final/win-unpacked/package.json
Normal file
77
dist_final/win-unpacked/package.json
Normal file
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"name": "wecome-openclaw-client",
|
||||
"version": "1.0.0",
|
||||
"description": "WeCom OpenClaw Client - 企业微信智能机器人图形配置客户端",
|
||||
"main": "electron/main.js",
|
||||
"author": "徐总",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"start": "concurrently \"npm run dev:electron\" \"npm run dev:react\"",
|
||||
"dev:electron": "wait-on http://localhost:3000 && NODE_ENV=development electron .",
|
||||
"dev:react": "cd renderer && npm run start",
|
||||
"build": "npm run build:react && npm run build:electron",
|
||||
"build:react": "cd renderer && npm run build",
|
||||
"build:electron": "electron-builder",
|
||||
"pack": "electron-builder --dir",
|
||||
"dist": "electron-builder",
|
||||
"dist:win": "electron-builder --win --x64",
|
||||
"dist:mac": "electron-builder --mac",
|
||||
"dist:linux": "electron-builder --linux"
|
||||
},
|
||||
"dependencies": {
|
||||
"@wecom/aibot-node-sdk": "^1.0.0",
|
||||
"electron-store": "^8.1.0",
|
||||
"uuid": "^9.0.1",
|
||||
"ws": "^8.16.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"concurrently": "^8.2.2",
|
||||
"electron": "^28.1.0",
|
||||
"electron-builder": "^24.9.1",
|
||||
"sharp": "^0.34.5",
|
||||
"wait-on": "^7.2.0"
|
||||
},
|
||||
"build": {
|
||||
"appId": "com.toncent.wecome-openclaw-client",
|
||||
"productName": "WeCom OpenClaw Client",
|
||||
"directories": {
|
||||
"output": "dist",
|
||||
"buildResources": "resources"
|
||||
},
|
||||
"files": [
|
||||
"electron/**/*",
|
||||
"renderer/build/**/*",
|
||||
"package.json"
|
||||
],
|
||||
"extraMetadata": {
|
||||
"main": "electron/main.js"
|
||||
},
|
||||
"win": {
|
||||
"target": [
|
||||
{
|
||||
"target": "zip",
|
||||
"arch": [
|
||||
"x64"
|
||||
]
|
||||
}
|
||||
],
|
||||
"icon": "resources/icon.png",
|
||||
"artifactName": "${productName}-${version}-win64.${ext}"
|
||||
},
|
||||
"mac": {
|
||||
"target": [
|
||||
"dmg"
|
||||
],
|
||||
"icon": "resources/icon.icns",
|
||||
"category": "public.app-category.developer-tools"
|
||||
},
|
||||
"linux": {
|
||||
"target": [
|
||||
"AppImage",
|
||||
"deb"
|
||||
],
|
||||
"icon": "resources/icon.png",
|
||||
"category": "Development"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user