@lumachat/lumachat 0.15.0 → 0.15.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  - 完整配对流程(请求配对码+安全码、轮询状态、保存 token 到 `channels.clawdchat`)。
7
7
  - 与 LumaChat 后端保持 WebSocket 长连接。
8
8
  - 入站消息接入(LumaChat -> OpenClaw),按 `request_id` 回传回复。
9
- - CLI 配对入口(`openclaw channels login --channel clawdchat`)。
9
+ - CLI 配对入口(`openclaw channels login --channel lumachat`)。
10
10
 
11
11
  ## 安装
12
12
  先确认 Node.js 版本满足 `>=22.12.0`(`openclaw` npm 包要求):
@@ -22,7 +22,7 @@ corepack prepare pnpm@latest --activate
22
22
 
23
23
  安装插件:
24
24
  ```
25
- openclaw plugins install @lumachat/lumachat
25
+ openclaw plugins install @lumachat/lumachat@0.15.0
26
26
  ```
27
27
 
28
28
  ## 更新
@@ -37,7 +37,6 @@ openclaw plugins install @lumachat/lumachat
37
37
 
38
38
  ### 0.15.0
39
39
  - 插件对外品牌升级为 LumaChat(npm 包名改为 `@lumachat/lumachat`)。
40
- - 保持频道 ID 为 `clawdchat` 以兼容既有后端路由与用户配置。
41
40
  - 支持返回并展示 6 位安全码(pairing confirm code),与 App 双码配对流程保持一致。
42
41
  - 补齐 clawdchat 消息目标解析(`chat:<uuid>` / `clawdchat:<uuid>`),避免 `Unknown target` 导致回复丢失。
43
42
 
@@ -47,7 +46,7 @@ openclaw plugins install @lumachat/lumachat@0.15.0
47
46
  ```
48
47
 
49
48
  ## 配对流程(当前)
50
- 1. 在 Clawdbot 机器上执行:`openclaw channels login --channel clawdchat`。
49
+ 1. 在 Clawdbot 机器上执行:`openclaw channels login --channel lumachat`。
51
50
  2. 终端会显示 6 位配对码和 6 位安全码。
52
51
  3. 在 LumaChat App 中:设置 -> Clawdbot 配对,先登录账号,再输入配对码和安全码。
53
52
  4. 插件会保存通道 token 并自动连接后端。
@@ -57,6 +56,5 @@ openclaw plugins install @lumachat/lumachat@0.15.0
57
56
  - `CLAWDCHAT_CHANNEL_KEY` / `CLAWDCHAT_SHARED_KEY`:当后端要求 `X-Clawdchat-Channel-Key` 时使用。
58
57
 
59
58
  ## 备注
60
- - 频道 ID 目前仍为 `clawdchat`(兼容历史配置)。
61
59
  - 配对 API 位于 `/channel/clawdchat/*`。
62
60
  - 插件使用返回的 token 连接 `/ws/channel/clawdchat`。
@@ -2,8 +2,10 @@
2
2
  "id": "clawdchat",
3
3
  "name": "LumaChat Channel",
4
4
  "description": "LumaChat mobile channel for OpenClaw",
5
- "version": "0.15.0",
6
- "channels": ["clawdchat"],
5
+ "version": "0.15.2",
6
+ "channels": [
7
+ "clawdchat"
8
+ ],
7
9
  "configSchema": {
8
10
  "type": "object",
9
11
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,25 +1,35 @@
1
1
  {
2
2
  "name": "@lumachat/lumachat",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "description": "LumaChat channel plugin for OpenClaw",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
10
- "files": ["src", "openclaw.plugin.json", "README.md", "package.json"],
10
+ "files": [
11
+ "src",
12
+ "openclaw.plugin.json",
13
+ "README.md",
14
+ "package.json"
15
+ ],
11
16
  "dependencies": {
12
17
  "ws": "^8.18.0"
13
18
  },
14
19
  "openclaw": {
15
- "extensions": ["./src/index.ts"],
20
+ "extensions": [
21
+ "./src/index.ts"
22
+ ],
16
23
  "channel": {
17
24
  "id": "clawdchat",
18
25
  "label": "LumaChat",
19
26
  "selectionLabel": "LumaChat (配对码)",
20
27
  "docsPath": "/channels/clawdchat",
21
28
  "blurb": "通过配对码把 Clawdbot 接入 LumaChat。",
22
- "aliases": ["clawdchat", "lumachat"]
29
+ "aliases": [
30
+ "clawdchat",
31
+ "lumachat"
32
+ ]
23
33
  },
24
34
  "install": {
25
35
  "npmSpec": "@lumachat/lumachat",