@openclaw/qqbot 2026.5.20-beta.1 → 2026.5.20
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/dist/api.js +0 -8
- package/package.json +4 -4
package/dist/api.js
CHANGED
|
@@ -488,17 +488,9 @@ function createRemindTool(toolContext = {}, deps = defaultDeps) {
|
|
|
488
488
|
return {
|
|
489
489
|
name: "qqbot_remind",
|
|
490
490
|
label: "QQBot Reminder",
|
|
491
|
-
ownerOnly: true,
|
|
492
491
|
description: "Create, list, and remove QQ reminders. This tool schedules Gateway cron jobs directly; do not call the cron tool after it succeeds.\nCreate: action=add, content=message, time=schedule (to is optional, resolved automatically from the current conversation)\nList: action=list\nRemove: action=remove, jobId=job id from list\nTime examples: \"5m\", \"1h\", \"0 8 * * *\"",
|
|
493
492
|
parameters: RemindSchema,
|
|
494
493
|
async execute(_toolCallId, params) {
|
|
495
|
-
if (toolContext.senderIsOwner !== true) return {
|
|
496
|
-
content: [{
|
|
497
|
-
type: "text",
|
|
498
|
-
text: JSON.stringify({ error: "QQ reminders require an owner-authorized sender." })
|
|
499
|
-
}],
|
|
500
|
-
details: { error: "QQ reminders require an owner-authorized sender." }
|
|
501
|
-
};
|
|
502
494
|
const ctx = getRequestContext();
|
|
503
495
|
return await executeScheduledRemind(params, {
|
|
504
496
|
fallbackTo: ctx?.target ?? toolContext.deliveryContext?.to,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/qqbot",
|
|
3
|
-
"version": "2026.5.20
|
|
3
|
+
"version": "2026.5.20",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "OpenClaw QQ Bot channel plugin",
|
|
6
6
|
"repository": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"openclaw": "workspace:*"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"openclaw": ">=2026.5.20
|
|
24
|
+
"openclaw": ">=2026.5.20"
|
|
25
25
|
},
|
|
26
26
|
"peerDependenciesMeta": {
|
|
27
27
|
"openclaw": {
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"minHostVersion": ">=2026.4.10"
|
|
51
51
|
},
|
|
52
52
|
"compat": {
|
|
53
|
-
"pluginApi": ">=2026.5.20
|
|
53
|
+
"pluginApi": ">=2026.5.20"
|
|
54
54
|
},
|
|
55
55
|
"build": {
|
|
56
|
-
"openclawVersion": "2026.5.20
|
|
56
|
+
"openclawVersion": "2026.5.20"
|
|
57
57
|
},
|
|
58
58
|
"release": {
|
|
59
59
|
"publishToClawHub": true,
|