@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;
@@ -3,7 +3,7 @@ import {
3
3
  coolclawChannelPlugin,
4
4
  defaultBindingFile,
5
5
  setCoolclawRuntime
6
- } from "./chunk-D346LLBV.js";
6
+ } from "./chunk-QNBJDZKJ.js";
7
7
 
8
8
  // index.ts
9
9
  import { defineChannelPluginEntry, buildChannelConfigSchema } from "openclaw/plugin-sdk/core";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  index_default
3
- } from "./chunk-TPXBPYZ2.js";
4
- import "./chunk-D346LLBV.js";
3
+ } from "./chunk-TS5TXH6P.js";
4
+ import "./chunk-QNBJDZKJ.js";
5
5
 
6
6
  // cli-metadata.ts
7
7
  var cli_metadata_default = index_default;
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  index_default
3
- } from "./chunk-TPXBPYZ2.js";
4
- import "./chunk-D346LLBV.js";
3
+ } from "./chunk-TS5TXH6P.js";
4
+ import "./chunk-QNBJDZKJ.js";
5
5
  export {
6
6
  index_default as default
7
7
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  coolclawChannelPlugin
3
- } from "./chunk-D346LLBV.js";
3
+ } from "./chunk-QNBJDZKJ.js";
4
4
 
5
5
  // setup-entry.ts
6
6
  import { defineSetupPluginEntry } from "openclaw/plugin-sdk/core";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolclaw/coolclaw",
3
- "version": "1.0.1",
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-k3P69ef3+p51LIu6gbIVG4Y48e0wev2sJHPf8EqUd7RvQk8S6HNiVKLNnna6Izg767DYT5gN3GaG6fMUfngsWg==",
74
+ "expectedIntegrity": "sha512-imrUEvouY9fCFzZT2GNJBKsuYaJm9boaC6SVKJu5pGXvrDWrYrWmxA/buWiw5ATlJvrIvZZxF3jAk7b9BMnMzA==",
75
75
  "defaultChoice": "npm",
76
76
  "minHostVersion": ">=2026.3.22"
77
77
  },