@lotaber_wang/openclaw-dc-plugin 0.1.11 → 0.1.12

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
@@ -16,7 +16,7 @@
16
16
  ## 安装
17
17
 
18
18
  ```bash
19
- openclaw plugins install @lotaber_wang/openclaw-dc-plugin@0.1.11
19
+ openclaw plugins install @lotaber_wang/openclaw-dc-plugin@0.1.12
20
20
  ```
21
21
 
22
22
  安装完成后,建议立刻执行一次检查:
@@ -27,19 +27,19 @@ openclaw plugins inspect openclaw-dc-plugin
27
27
 
28
28
  ## 给 OpenClaw 的安装执行指令
29
29
 
30
- 如果安装流程判断需要重启 Gateway,先通知用户,再执行重启。
30
+ 如果安装流程判断需要重启 Gateway,先通过飞书或其他通信插件通知用户,再执行重启。
31
31
 
32
32
  推荐通知文案:
33
33
 
34
- `TapTap DC 插件已安装完成。OpenClaw 接下来如需重启 Gateway,应先提示用户;重启完成后即可使用 taptap_dc_* 工具。`
34
+ `TapTap DC 插件已安装完成。OpenClaw 接下来如需重启 Gateway,应先通过飞书或其他通信插件通知用户;重启完成后即可使用 taptap_dc_* 工具。`
35
35
 
36
36
  执行顺序要求:
37
37
 
38
- 1. 先向用户发送上面的安装完成/即将重启提示
38
+ 1. 先通过飞书或其他通信插件向用户发送上面的安装完成/即将重启提示
39
39
  2. 再执行 `openclaw gateway restart` 或等效的宿主重启动作
40
40
  3. 重启完成后,再开始使用 `taptap_dc_*` 工具
41
41
 
42
- 不管是手动重启还是宿主自动触发的重启,都应先提示用户,不要静默重启。
42
+ 不管是手动重启还是宿主自动触发的重启,都应先通过飞书或其他通信插件通知用户,不要静默重启。
43
43
 
44
44
  如果安装成功后仍然看不到 `taptap_dc_*` 工具,再按下面命令手动重启 Gateway:
45
45
 
@@ -52,9 +52,9 @@ openclaw gateway restart
52
52
  ## 推荐安装流程
53
53
 
54
54
  ```bash
55
- openclaw plugins install @lotaber_wang/openclaw-dc-plugin@0.1.11
55
+ openclaw plugins install @lotaber_wang/openclaw-dc-plugin@0.1.12
56
56
  openclaw plugins inspect openclaw-dc-plugin
57
- echo 'TapTap DC 插件已安装完成。OpenClaw 接下来如需重启 Gateway,应先提示用户;重启完成后即可使用 taptap_dc_* 工具。'
57
+ echo 'TapTap DC 插件已安装完成。OpenClaw 接下来如需重启 Gateway,应先通过飞书或其他通信插件通知用户;重启完成后即可使用 taptap_dc_* 工具。'
58
58
  openclaw gateway restart
59
59
  ```
60
60
 
@@ -62,7 +62,7 @@ openclaw gateway restart
62
62
 
63
63
  - `install` 负责把插件包装进 OpenClaw
64
64
  - `inspect` 用来确认插件元信息、skills、tools 是否已被 Gateway 识别
65
- - 如果宿主判断需要重启 Gateway,必须先通知用户,再重启
65
+ - 如果宿主判断需要重启 Gateway,必须先通过飞书或其他通信插件通知用户,再重启
66
66
  - 如果 10-30 秒后还没生效,再手动执行 `gateway restart`
67
67
  - 如果宿主存在“stock 安装失败后再 fallback npm”的行为,优先使用明确版本号安装,必要时改用本地 `.tgz` 安装,避免双安装链路互相打架
68
68
 
@@ -130,9 +130,9 @@ openclaw gateway restart
130
130
 
131
131
  如果安装后看不到 `taptap_dc_*` 工具,优先按这个顺序排查:
132
132
 
133
- 1. 确认安装的是 `@lotaber_wang/openclaw-dc-plugin@0.1.11` 或更新版本
133
+ 1. 确认安装的是 `@lotaber_wang/openclaw-dc-plugin@0.1.12` 或更新版本
134
134
  2. 执行 `openclaw plugins inspect openclaw-dc-plugin`
135
- 3. 如果宿主要求重启 Gateway,先向用户发送安装完成提示
135
+ 3. 如果宿主要求重启 Gateway,先通过飞书或其他通信插件向用户发送安装完成提示
136
136
  4. 再执行 `openclaw gateway restart`
137
137
  5. 重新开启一个新会话,再观察工具列表
138
138
 
@@ -158,7 +158,7 @@ openclaw gateway restart
158
158
  - OpenClaw 进程是否有临时目录写权限
159
159
  - OpenClaw 是否已经完成 Gateway 重启
160
160
 
161
- 从 `0.1.11` 开始,插件安装链路与 bridge 会额外做这些兼容处理:
161
+ 从 `0.1.12` 开始,插件安装链路与 bridge 会额外做这些兼容处理:
162
162
 
163
163
  - 在 `package.json` 中补充 `openclaw.install.npmSpec`,让安装链路更稳定
164
164
  - 在 `package.json` 的 `openclaw.install` 中补充 `postInstallMessage` / `instructions` / `restartCommand`
package/index.js CHANGED
@@ -3,12 +3,12 @@ import process from 'node:process';
3
3
  import { TapTapMcpBridge } from './lib/mcp-bridge.js';
4
4
 
5
5
  const RESTART_NOTICE =
6
- 'TapTap DC 插件已安装完成。OpenClaw 接下来如需重启 Gateway,应先提示用户;重启完成后即可使用 taptap_dc_* 工具。';
6
+ 'TapTap DC 插件已安装完成。OpenClaw 接下来如需重启 Gateway,应先通过飞书或其他通信插件通知用户;重启完成后即可使用 taptap_dc_* 工具。';
7
7
 
8
8
  const INSTALLATION_GUIDANCE = [
9
- '如果安装流程判断需要重启 Gateway,先通知用户,再执行重启。',
9
+ '如果安装流程判断需要重启 Gateway,先通过飞书或其他通信插件通知用户,再执行重启。',
10
10
  `推荐提示文案:${RESTART_NOTICE}`,
11
- '执行顺序:先提示用户 -> 再执行 gateway restart -> 重启完成后再开始使用 taptap_dc_* 工具。',
11
+ '执行顺序:先通过飞书或其他通信插件把安装完成与即将重启的消息发给用户 -> 再执行 gateway restart -> 重启完成后再开始使用 taptap_dc_* 工具。',
12
12
  ];
13
13
 
14
14
  function toolResult(text, details = {}) {
@@ -822,7 +822,7 @@ const plugin = {
822
822
  id: 'openclaw-dc-plugin',
823
823
  name: 'TapTap DC',
824
824
  description:
825
- '面向 OpenClaw 的 TapTap DC 插件,内置原始数据工具与运营简报 skill;如需重启 Gateway,应先提示用户。',
825
+ '面向 OpenClaw 的 TapTap DC 插件,内置原始数据工具与运营简报 skill;如需重启 Gateway,应先通过飞书或其他通信插件通知用户。',
826
826
  installation: {
827
827
  restartRequired: true,
828
828
  restartCommand: 'openclaw gateway restart',
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "id": "openclaw-dc-plugin",
3
3
  "name": "TapTap DC",
4
- "description": "面向 OpenClaw 的 TapTap DC 插件,内置原始数据工具与运营简报 skill;如需重启 Gateway,应先提示用户。",
5
- "version": "0.1.11",
4
+ "description": "面向 OpenClaw 的 TapTap DC 插件,内置原始数据工具与运营简报 skill;如需重启 Gateway,应先通过飞书或其他通信插件通知用户。",
5
+ "version": "0.1.12",
6
6
  "enabledByDefault": true,
7
7
  "skills": ["./skills"],
8
8
  "configSchema": {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@lotaber_wang/openclaw-dc-plugin",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "type": "module",
5
- "description": "TapTap DC 的 OpenClaw 插件,内置原始数据工具与运营简报 skill;如需重启 Gateway,应先提示用户。",
5
+ "description": "TapTap DC 的 OpenClaw 插件,内置原始数据工具与运营简报 skill;如需重启 Gateway,应先通过飞书或其他通信插件通知用户。",
6
6
  "main": "index.js",
7
7
  "openclaw": {
8
8
  "extensions": [
@@ -10,13 +10,13 @@
10
10
  ],
11
11
  "install": {
12
12
  "npmSpec": "@lotaber_wang/openclaw-dc-plugin",
13
- "postInstallMessage": "TapTap DC 插件已安装完成。OpenClaw 接下来如需重启 Gateway,应先提示用户;重启完成后即可使用 taptap_dc_* 工具。",
13
+ "postInstallMessage": "TapTap DC 插件已安装完成。OpenClaw 接下来如需重启 Gateway,应先通过飞书或其他通信插件通知用户;重启完成后即可使用 taptap_dc_* 工具。",
14
14
  "restartRequired": true,
15
15
  "restartCommand": "openclaw gateway restart",
16
16
  "instructions": [
17
- "如果安装流程判断需要重启 Gateway,先通知用户,再执行重启。",
18
- "推荐提示文案:TapTap DC 插件已安装完成。OpenClaw 接下来如需重启 Gateway,应先提示用户;重启完成后即可使用 taptap_dc_* 工具。",
19
- "执行顺序:先提示用户 -> 再执行 gateway restart -> 重启完成后再开始使用 taptap_dc_* 工具。"
17
+ "如果安装流程判断需要重启 Gateway,先通过飞书或其他通信插件通知用户,再执行重启。",
18
+ "推荐提示文案:TapTap DC 插件已安装完成。OpenClaw 接下来如需重启 Gateway,应先通过飞书或其他通信插件通知用户;重启完成后即可使用 taptap_dc_* 工具。",
19
+ "执行顺序:先通过飞书或其他通信插件把安装完成与即将重启的消息发给用户 -> 再执行 gateway restart -> 重启完成后再开始使用 taptap_dc_* 工具。"
20
20
  ]
21
21
  }
22
22
  },