@jerryliang122/openclaw-qqbot 1.0.0 → 1.0.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.
Files changed (39) hide show
  1. package/README.md +2 -13
  2. package/README.zh.md +2 -13
  3. package/dist/index.cjs +9371 -9414
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.cts +2 -5
  6. package/index.ts +1 -1
  7. package/openclaw.plugin.json +1 -1
  8. package/package.json +1 -1
  9. package/src/adapter/pairing.ts +14 -1
  10. package/src/adapter/webhook.ts +16 -3
  11. package/src/commands/bot-approve.ts +2 -2
  12. package/src/commands/bot-group-always.ts +1 -1
  13. package/src/commands/bot-help.ts +1 -1
  14. package/src/commands/bot-streaming.ts +1 -1
  15. package/src/commands/bot-version.ts +1 -12
  16. package/src/commands/config-util.ts +8 -0
  17. package/src/commands/index.ts +49 -14
  18. package/src/dispatch/dispatch.ts +1 -1
  19. package/src/features/approval-capability.ts +19 -6
  20. package/src/features/credential-backup.ts +8 -3
  21. package/src/features/history-store.ts +8 -1
  22. package/src/features/quota-manager.ts +5 -2
  23. package/src/features/typing-refresh.ts +9 -1
  24. package/src/gateway/event-handlers.ts +36 -12
  25. package/src/gateway/lifecycle.ts +10 -6
  26. package/src/gateway/qqbot-gateway.ts +24 -1
  27. package/src/middleware/access-control.ts +3 -1
  28. package/src/middleware/secret-capture.ts +5 -3
  29. package/src/outbound/debounce.ts +19 -2
  30. package/src/outbound-adapter.ts +10 -1
  31. package/src/setup/finalize.ts +3 -2
  32. package/src/tools/platform.ts +8 -0
  33. package/src/tools/secret-input.ts +8 -0
  34. package/src/types-plugin.ts +1 -0
  35. package/src/types.ts +0 -5
  36. package/src/typing-lifecycle.ts +9 -4
  37. package/skills/qqbot-upgrade/SKILL.md +0 -56
  38. package/src/commands/bot-upgrade.ts +0 -56
  39. package/src/features/update-checker.ts +0 -166
package/README.md CHANGED
@@ -46,7 +46,6 @@ Scan to join the QQ group chat
46
46
  | 🌐 **Dual Transport** | WebSocket (default) or Webhook (HTTP callback) — switch via config |
47
47
  | 🖼️ **Rich Media** | Send & receive images, voice, video, and files |
48
48
  | 🎙️ **Voice (STT/TTS)** | Speech-to-text transcription & text-to-speech replies |
49
- | 🔄 **Update Check** | `/bot-upgrade` checks the npm registry for new versions and links the upgrade guide |
50
49
  | ⏰ **Scheduled Push** | Proactive message delivery via scheduled tasks |
51
50
  | 🔗 **URL Support** | Direct URL sending in private chat (no restrictions) |
52
51
  | ⌨️ **Typing Indicator** | "Bot is typing..." status shown in real-time |
@@ -194,16 +193,6 @@ Shows framework version, plugin version, and a direct link to the official repos
194
193
 
195
194
  <img width="360" src="docs/images/slash-help.jpg" alt="Help Demo" />
196
195
 
197
- #### `/bot-upgrade` — Version Check & Upgrade Guide
198
-
199
- > **You**: `/bot-upgrade`
200
- >
201
- > **QQBot**: 📌 Current: v1.0.0 / 🆕 New version available / 📖 Upgrade guide link
202
-
203
- Checks the installed version against the npm registry (`@jerryliang122/openclaw-qqbot`) and returns a link to the upgrade guide (repo CHANGELOG by default; override with `channels.qqbot.upgradeUrl`). Actual upgrading is done on the host via `openclaw plugins install` — see [Getting Started](#-getting-started).
204
-
205
- <img width="360" src="docs/images/hot-update.jpg" alt="Upgrade Demo" />
206
-
207
196
  #### `/bot-logs` — Log Export
208
197
 
209
198
  > **You**: `/bot-logs`
@@ -218,9 +207,9 @@ Exports the last ~2000 lines of gateway logs as a file for quick troubleshooting
218
207
 
219
208
  All commands support a `?` suffix to show usage:
220
209
 
221
- > **You**: `/bot-upgrade ?`
210
+ > **You**: `/bot-ping ?`
222
211
  >
223
- > **QQBot**: 📖 /bot-upgrade usage: …
212
+ > **QQBot**: 📖 /bot-ping usage: …
224
213
 
225
214
  #### `/bot-approve` — Approval Configuration
226
215
 
package/README.zh.md CHANGED
@@ -44,7 +44,6 @@
44
44
  | 🌐 **双传输模式** | WebSocket(默认)或 Webhook(HTTP 回调)— 配置切换 |
45
45
  | 🖼️ **富媒体消息** | 支持图片、语音、视频、文件的收发 |
46
46
  | 🎙️ **语音能力 (STT/TTS)** | 语音转文字自动转录 & 文字转语音回复 |
47
- | 🔄 **版本检查** | 私聊发送 `/bot-upgrade` 检查 npm 新版本并附升级指引 |
48
47
  | ⏰ **定时推送** | 支持定时任务触发后主动推送消息 |
49
48
  | 🔗 **URL 无限制** | 私聊可直接发送 URL |
50
49
  | ⌨️ **输入状态** | 实时显示"Bot 正在输入中…"状态 |
@@ -192,16 +191,6 @@ AI 可直接发送视频,支持本地文件和公网 URL。
192
191
 
193
192
  <img width="360" src="docs/images/slash-help.jpg" alt="Help 演示" />
194
193
 
195
- #### `/bot-upgrade` — 版本检查与升级指引
196
-
197
- > **你**:`/bot-upgrade`
198
- >
199
- > **QQBot**:📌当前版本 v1.0.0 / 🆕发现新版本 / 📖升级指引链接
200
-
201
- 对比 npm registry(`@jerryliang122/openclaw-qqbot`)上的最新版本,并返回升级指引链接(默认指向仓库 CHANGELOG,可用 `channels.qqbot.upgradeUrl` 覆盖)。实际升级在主机上通过 `openclaw plugins install` 完成,见[快速开始](#-快速开始)。
202
-
203
- <img width="360" src="docs/images/hot-update.jpg" alt="升级检查演示" />
204
-
205
194
  #### `/bot-logs` — 日志导出
206
195
 
207
196
  > **你**:`/bot-logs`
@@ -216,9 +205,9 @@ AI 可直接发送视频,支持本地文件和公网 URL。
216
205
 
217
206
  所有指令都支持 `?` 后缀查看用法说明:
218
207
 
219
- > **你**:`/bot-upgrade ?`
208
+ > **你**:`/bot-ping ?`
220
209
  >
221
- > **QQBot**:📖 /bot-upgrade 用法:…
210
+ > **QQBot**:📖 /bot-ping 用法:…
222
211
 
223
212
  #### `/bot-approve` — 审批配置管理
224
213