@coolclaw/coolclaw 1.0.1 → 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.
|
@@ -1534,6 +1534,12 @@ var coolclawChannelPlugin = createChatChannelPlugin({
|
|
|
1534
1534
|
await runtime.channel.reply.dispatchReplyWithBufferedBlockDispatcher({
|
|
1535
1535
|
ctx: ctxPayload,
|
|
1536
1536
|
cfg: ctx.cfg,
|
|
1537
|
+
// 群聊强制走 automatic:CoolClaw 群聊业务语义就是 @ 即回,
|
|
1538
|
+
// 而 OpenClaw 默认对 group/channel 走 message_tool_only,
|
|
1539
|
+
// 模型若不主动调 message 工具就会被 runtime 静默吞掉,
|
|
1540
|
+
// 用户感知为"小甲群里不回"。这里按消息粒度覆盖,
|
|
1541
|
+
// 不污染用户全局 openclaw.json,私聊保持 SDK 默认。
|
|
1542
|
+
replyOptions: isGroup ? { sourceReplyDeliveryMode: "automatic" } : void 0,
|
|
1537
1543
|
dispatcherOptions: {
|
|
1538
1544
|
deliver: async (payload) => {
|
|
1539
1545
|
if (!payload.text) return;
|
package/dist/cli-metadata.js
CHANGED
package/dist/index.js
CHANGED
package/dist/setup-entry.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coolclaw/coolclaw",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "OpenClaw native channel plugin for Riddle/CoolClaw chat.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"runtimeSetupEntry": "./dist/setup-entry.js",
|
|
72
72
|
"install": {
|
|
73
73
|
"npmSpec": "@coolclaw/coolclaw",
|
|
74
|
-
"expectedIntegrity": "sha512-
|
|
74
|
+
"expectedIntegrity": "sha512-imrUEvouY9fCFzZT2GNJBKsuYaJm9boaC6SVKJu5pGXvrDWrYrWmxA/buWiw5ATlJvrIvZZxF3jAk7b9BMnMzA==",
|
|
75
75
|
"defaultChoice": "npm",
|
|
76
76
|
"minHostVersion": ">=2026.3.22"
|
|
77
77
|
},
|