{"id":17,"date":"2026-03-21T22:47:13","date_gmt":"2026-03-21T14:47:13","guid":{"rendered":"https:\/\/pa.yingzhi8.cn\/index.php\/2026\/03\/21\/channels-broadcast-groups\/"},"modified":"2026-03-21T23:29:19","modified_gmt":"2026-03-21T15:29:19","slug":"channels-broadcast-groups","status":"publish","type":"post","link":"https:\/\/pa.yingzhi8.cn\/index.php\/2026\/03\/21\/channels-broadcast-groups\/","title":{"rendered":"\u5e7f\u64ad\u7fa4\u7ec4"},"content":{"rendered":"<h1>\u5e7f\u64ad\u7fa4\u7ec4<\/h1>\n<p><strong>\u72b6\u6001\uff1a<\/strong> \u5b9e\u9a8c\u6027\u529f\u80fd<br \/>\n<strong>\u7248\u672c\uff1a<\/strong> \u4e8e 2026.1.9 \u7248\u672c\u65b0\u589e<\/p>\n<h2>\u6982\u8ff0<\/h2>\n<p>\u5e7f\u64ad\u7fa4\u7ec4\u5141\u8bb8\u591a\u4e2a\u667a\u80fd\u4f53\u540c\u65f6\u5904\u7406\u5e76\u54cd\u5e94\u540c\u4e00\u6761\u6d88\u606f\u3002\u8fd9\u4f7f\u4f60\u80fd\u591f\u5728\u5355\u4e2a WhatsApp \u7fa4\u7ec4\u6216\u79c1\u4fe1\u4e2d\u521b\u5efa\u534f\u540c\u5de5\u4f5c\u7684\u4e13\u4e1a\u667a\u80fd\u4f53\u56e2\u961f\u2014\u2014\u5168\u90e8\u4f7f\u7528\u540c\u4e00\u4e2a\u624b\u673a\u53f7\u7801\u3002<\/p>\n<p>\u5f53\u524d\u8303\u56f4\uff1a<strong>\u4ec5\u9650 WhatsApp<\/strong>\uff08web \u6e20\u9053\uff09\u3002<\/p>\n<p>\u5e7f\u64ad\u7fa4\u7ec4\u5728\u6e20\u9053\u767d\u540d\u5355\u548c\u7fa4\u7ec4\u6fc0\u6d3b\u89c4\u5219\u4e4b\u540e\u8fdb\u884c\u8bc4\u4f30\u3002\u5728 WhatsApp \u7fa4\u7ec4\u4e2d\uff0c\u8fd9\u610f\u5473\u7740\u5e7f\u64ad\u4f1a\u5728 OpenClaw \u6b63\u5e38\u56de\u590d\u65f6\u53d1\u751f\uff08\u4f8b\u5982\uff1a\u88ab\u63d0\u53ca\u65f6\uff0c\u5177\u4f53\u53d6\u51b3\u4e8e\u4f60\u7684\u7fa4\u7ec4\u8bbe\u7f6e\uff09\u3002<\/p>\n<h2>\u4f7f\u7528\u573a\u666f<\/h2>\n<h3>1. \u4e13\u4e1a\u667a\u80fd\u4f53\u56e2\u961f<\/h3>\n<p>\u90e8\u7f72\u591a\u4e2a\u5177\u6709\u539f\u5b50\u5316\u3001\u4e13\u6ce8\u804c\u8d23\u7684\u667a\u80fd\u4f53\uff1a<\/p>\n<pre><code>Group: &quot;Development Team&quot;\nAgents:\n  - CodeReviewer (reviews code snippets)\n  - DocumentationBot (generates docs)\n  - SecurityAuditor (checks for vulnerabilities)\n  - TestGenerator (suggests test cases)\n<\/code><\/pre>\n<p>\u6bcf\u4e2a\u667a\u80fd\u4f53\u5904\u7406\u76f8\u540c\u7684\u6d88\u606f\u5e76\u63d0\u4f9b\u5176\u4e13\u4e1a\u89c6\u89d2\u3002<\/p>\n<h3>2. \u591a\u8bed\u8a00\u652f\u6301<\/h3>\n<pre><code>Group: &quot;International Support&quot;\nAgents:\n  - Agent_EN (responds in English)\n  - Agent_DE (responds in German)\n  - Agent_ES (responds in Spanish)\n<\/code><\/pre>\n<h3>3. \u8d28\u91cf\u4fdd\u8bc1\u5de5\u4f5c\u6d41<\/h3>\n<pre><code>Group: &quot;Customer Support&quot;\nAgents:\n  - SupportAgent (provides answer)\n  - QAAgent (reviews quality, only responds if issues found)\n<\/code><\/pre>\n<h3>4. \u4efb\u52a1\u81ea\u52a8\u5316<\/h3>\n<pre><code>Group: &quot;Project Management&quot;\nAgents:\n  - TaskTracker (updates task database)\n  - TimeLogger (logs time spent)\n  - ReportGenerator (creates summaries)\n<\/code><\/pre>\n<h2>\u914d\u7f6e<\/h2>\n<h3>\u57fa\u672c\u8bbe\u7f6e<\/h3>\n<p>\u6dfb\u52a0\u4e00\u4e2a\u9876\u5c42 <code>broadcast<\/code> \u90e8\u5206\uff08\u4e0e <code>bindings<\/code> \u540c\u7ea7\uff09\u3002\u952e\u4e3a WhatsApp peer id\uff1a<\/p>\n<ul>\n<li>\u7fa4\u804a\uff1a\u7fa4\u7ec4 JID\uff08\u4f8b\u5982 <code>120363403215116621@g.us<\/code>\uff09<\/li>\n<li>\u79c1\u4fe1\uff1aE.164 \u683c\u5f0f\u7684\u7535\u8bdd\u53f7\u7801\uff08\u4f8b\u5982 <code>+15551234567<\/code>\uff09<\/li>\n<\/ul>\n<p>&#8220;`json  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\n{<br \/>\n  &#8220;broadcast&#8221;: {<br \/>\n    &#8220;120363403215116621@g.us&#8221;: [&#8220;alfred&#8221;, &#8220;baerbel&#8221;, &#8220;assistant3&#8221;]<br \/>\n  }<br \/>\n}<\/p>\n<pre><code>\n**\u7ed3\u679c\uff1a** \u5f53 OpenClaw \u5728\u6b64\u804a\u5929\u4e2d\u56de\u590d\u65f6\uff0c\u5c06\u8fd0\u884c\u6240\u6709\u4e09\u4e2a\u667a\u80fd\u4f53\u3002\n\n### \u5904\u7406\u7b56\u7565\n\n\u63a7\u5236\u667a\u80fd\u4f53\u5982\u4f55\u5904\u7406\u6d88\u606f\uff1a\n\n#### \u5e76\u884c\uff08\u9ed8\u8ba4\uff09\n\n\u6240\u6709\u667a\u80fd\u4f53\u540c\u65f6\u5904\u7406\uff1a\n\n```json  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\n{\n  &quot;broadcast&quot;: {\n    &quot;strategy&quot;: &quot;parallel&quot;,\n    &quot;120363403215116621@g.us&quot;: [&quot;alfred&quot;, &quot;baerbel&quot;]\n  }\n}\n<\/code><\/pre>\n<h4>\u987a\u5e8f<\/h4>\n<p>\u667a\u80fd\u4f53\u6309\u987a\u5e8f\u5904\u7406\uff08\u540e\u4e00\u4e2a\u7b49\u5f85\u524d\u4e00\u4e2a\u5b8c\u6210\uff09\uff1a<\/p>\n<p>&#8220;`json  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\n{<br \/>\n  &#8220;broadcast&#8221;: {<br \/>\n    &#8220;strategy&#8221;: &#8220;sequential&#8221;,<br \/>\n    &#8220;120363403215116621@g.us&#8221;: [&#8220;alfred&#8221;, &#8220;baerbel&#8221;]<br \/>\n  }<br \/>\n}<\/p>\n<pre><code>\n### \u5b8c\u6574\u793a\u4f8b\n\n```json  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\n{\n  &quot;agents&quot;: {\n    &quot;list&quot;: [\n      {\n        &quot;id&quot;: &quot;code-reviewer&quot;,\n        &quot;name&quot;: &quot;Code Reviewer&quot;,\n        &quot;workspace&quot;: &quot;\/path\/to\/code-reviewer&quot;,\n        &quot;sandbox&quot;: { &quot;mode&quot;: &quot;all&quot; }\n      },\n      {\n        &quot;id&quot;: &quot;security-auditor&quot;,\n        &quot;name&quot;: &quot;Security Auditor&quot;,\n        &quot;workspace&quot;: &quot;\/path\/to\/security-auditor&quot;,\n        &quot;sandbox&quot;: { &quot;mode&quot;: &quot;all&quot; }\n      },\n      {\n        &quot;id&quot;: &quot;docs-generator&quot;,\n        &quot;name&quot;: &quot;Documentation Generator&quot;,\n        &quot;workspace&quot;: &quot;\/path\/to\/docs-generator&quot;,\n        &quot;sandbox&quot;: { &quot;mode&quot;: &quot;all&quot; }\n      }\n    ]\n  },\n  &quot;broadcast&quot;: {\n    &quot;strategy&quot;: &quot;parallel&quot;,\n    &quot;120363403215116621@g.us&quot;: [&quot;code-reviewer&quot;, &quot;security-auditor&quot;, &quot;docs-generator&quot;],\n    &quot;120363424282127706@g.us&quot;: [&quot;support-en&quot;, &quot;support-de&quot;],\n    &quot;+15555550123&quot;: [&quot;assistant&quot;, &quot;logger&quot;]\n  }\n}\n<\/code><\/pre>\n<h2>\u5de5\u4f5c\u539f\u7406<\/h2>\n<h3>\u6d88\u606f\u6d41\u7a0b<\/h3>\n<ol>\n<li><strong>\u63a5\u6536\u6d88\u606f<\/strong> \u5230\u8fbe WhatsApp \u7fa4\u7ec4<\/li>\n<li><strong>\u5e7f\u64ad\u68c0\u67e5<\/strong>\uff1a\u7cfb\u7edf\u68c0\u67e5 peer ID \u662f\u5426\u5728 <code>broadcast<\/code> \u4e2d<\/li>\n<li><strong>\u5982\u679c\u5728\u5e7f\u64ad\u5217\u8868\u4e2d<\/strong>\uff1a<br \/>\n   * \u6240\u6709\u5217\u51fa\u7684\u667a\u80fd\u4f53\u5904\u7406\u8be5\u6d88\u606f<br \/>\n   * \u6bcf\u4e2a\u667a\u80fd\u4f53\u6709\u81ea\u5df1\u7684\u4f1a\u8bdd\u952e\u548c\u9694\u79bb\u7684\u4e0a\u4e0b\u6587<br \/>\n   * \u667a\u80fd\u4f53\u5e76\u884c\u5904\u7406\uff08\u9ed8\u8ba4\uff09\u6216\u987a\u5e8f\u5904\u7406<\/li>\n<li><strong>\u5982\u679c\u4e0d\u5728\u5e7f\u64ad\u5217\u8868\u4e2d<\/strong>\uff1a<br \/>\n   * \u5e94\u7528\u6b63\u5e38\u8def\u7531\uff08\u7b2c\u4e00\u4e2a\u5339\u914d\u7684\u7ed1\u5b9a\uff09<\/li>\n<\/ol>\n<p>\u6ce8\u610f\uff1a\u5e7f\u64ad\u7fa4\u7ec4\u4e0d\u4f1a\u7ed5\u8fc7\u6e20\u9053\u767d\u540d\u5355\u6216\u7fa4\u7ec4\u6fc0\u6d3b\u89c4\u5219\uff08\u63d0\u53ca\/\u547d\u4ee4\u7b49\uff09\u3002\u5b83\u4eec\u53ea\u6539\u53d8\u6d88\u606f\u7b26\u5408\u5904\u7406\u6761\u4ef6\u65f6<em>\u8fd0\u884c\u54ea\u4e9b\u667a\u80fd\u4f53<\/em>\u3002<\/p>\n<h3>\u4f1a\u8bdd\u9694\u79bb<\/h3>\n<p>\u5e7f\u64ad\u7fa4\u7ec4\u4e2d\u7684\u6bcf\u4e2a\u667a\u80fd\u4f53\u5b8c\u5168\u72ec\u7acb\u7ef4\u62a4\uff1a<\/p>\n<ul>\n<li><strong>\u4f1a\u8bdd\u952e<\/strong>\uff08<code>agent:alfred:whatsapp:group:120363...<\/code> vs <code>agent:baerbel:whatsapp:group:120363...<\/code>\uff09<\/li>\n<li><strong>\u5bf9\u8bdd\u5386\u53f2<\/strong>\uff08\u667a\u80fd\u4f53\u770b\u4e0d\u5230\u5176\u4ed6\u667a\u80fd\u4f53\u7684\u6d88\u606f\uff09<\/li>\n<li><strong>\u5de5\u4f5c\u7a7a\u95f4<\/strong>\uff08\u5982\u679c\u914d\u7f6e\u4e86\u5219\u4f7f\u7528\u72ec\u7acb\u7684\u6c99\u7bb1\uff09<\/li>\n<li><strong>\u5de5\u5177\u8bbf\u95ee\u6743\u9650<\/strong>\uff08\u4e0d\u540c\u7684\u5141\u8bb8\/\u62d2\u7edd\u5217\u8868\uff09<\/li>\n<li><strong>\u8bb0\u5fc6\/\u4e0a\u4e0b\u6587<\/strong>\uff08\u72ec\u7acb\u7684 IDENTITY.md\u3001SOUL.md \u7b49\uff09<\/li>\n<li><strong>\u7fa4\u7ec4\u4e0a\u4e0b\u6587\u7f13\u51b2\u533a<\/strong>\uff08\u7528\u4e8e\u4e0a\u4e0b\u6587\u7684\u6700\u8fd1\u7fa4\u7ec4\u6d88\u606f\uff09\u6309 peer \u5171\u4eab\uff0c\u56e0\u6b64\u6240\u6709\u5e7f\u64ad\u667a\u80fd\u4f53\u5728\u88ab\u89e6\u53d1\u65f6\u770b\u5230\u76f8\u540c\u7684\u4e0a\u4e0b\u6587<\/li>\n<\/ul>\n<p>\u8fd9\u5141\u8bb8\u6bcf\u4e2a\u667a\u80fd\u4f53\u62e5\u6709\uff1a<\/p>\n<ul>\n<li>\u4e0d\u540c\u7684\u4e2a\u6027<\/li>\n<li>\u4e0d\u540c\u7684\u5de5\u5177\u8bbf\u95ee\u6743\u9650\uff08\u4f8b\u5982\u53ea\u8bfb vs \u8bfb\u5199\uff09<\/li>\n<li>\u4e0d\u540c\u7684\u6a21\u578b\uff08\u4f8b\u5982 opus vs sonnet\uff09<\/li>\n<li>\u4e0d\u540c\u7684\u5df2\u5b89\u88c5 Skills<\/li>\n<\/ul>\n<h3>\u793a\u4f8b\uff1a\u9694\u79bb\u7684\u4f1a\u8bdd<\/h3>\n<p>\u5728\u7fa4\u7ec4 <code>120363403215116621@g.us<\/code> \u4e2d\uff0c\u667a\u80fd\u4f53\u4e3a <code>[\"alfred\", \"baerbel\"]<\/code>\uff1a<\/p>\n<p><strong>Alfred \u7684\u4e0a\u4e0b\u6587\uff1a<\/strong><\/p>\n<pre><code>Session: agent:alfred:whatsapp:group:120363403215116621@g.us\nHistory: [user message, alfred's previous responses]\nWorkspace: \/Users\/pascal\/openclaw-alfred\/\nTools: read, write, exec\n<\/code><\/pre>\n<p><strong>B\u00e4rbel \u7684\u4e0a\u4e0b\u6587\uff1a<\/strong><\/p>\n<pre><code>Session: agent:baerbel:whatsapp:group:120363403215116621@g.us\nHistory: [user message, baerbel's previous responses]\nWorkspace: \/Users\/pascal\/openclaw-baerbel\/\nTools: read only\n<\/code><\/pre>\n<h2>\u6700\u4f73\u5b9e\u8df5<\/h2>\n<h3>1. \u4fdd\u6301\u667a\u80fd\u4f53\u4e13\u6ce8<\/h3>\n<p>\u5c06\u6bcf\u4e2a\u667a\u80fd\u4f53\u8bbe\u8ba1\u4e3a\u5177\u6709\u5355\u4e00\u3001\u660e\u786e\u7684\u804c\u8d23\uff1a<\/p>\n<p>&#8220;`json  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\n{<br \/>\n  &#8220;broadcast&#8221;: {<br \/>\n    &#8220;DEV_GROUP&#8221;: [&#8220;formatter&#8221;, &#8220;linter&#8221;, &#8220;tester&#8221;]<br \/>\n  }<br \/>\n}<\/p>\n<pre><code>\n\u2705 **\u597d\u7684\u505a\u6cd5\uff1a** \u6bcf\u4e2a\u667a\u80fd\u4f53\u53ea\u6709\u4e00\u4e2a\u4efb\u52a1\n\u274c **\u4e0d\u597d\u7684\u505a\u6cd5\uff1a** \u4e00\u4e2a\u901a\u7528\u7684&quot;dev-helper&quot;\u667a\u80fd\u4f53\n\n### 2. \u4f7f\u7528\u63cf\u8ff0\u6027\u540d\u79f0\n\n\u660e\u786e\u6bcf\u4e2a\u667a\u80fd\u4f53\u7684\u529f\u80fd\uff1a\n\n```json  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\n{\n  &quot;agents&quot;: {\n    &quot;security-scanner&quot;: { &quot;name&quot;: &quot;Security Scanner&quot; },\n    &quot;code-formatter&quot;: { &quot;name&quot;: &quot;Code Formatter&quot; },\n    &quot;test-generator&quot;: { &quot;name&quot;: &quot;Test Generator&quot; }\n  }\n}\n<\/code><\/pre>\n<h3>3. \u914d\u7f6e\u4e0d\u540c\u7684\u5de5\u5177\u8bbf\u95ee\u6743\u9650<\/h3>\n<p>\u53ea\u7ed9\u667a\u80fd\u4f53\u63d0\u4f9b\u5b83\u4eec\u9700\u8981\u7684\u5de5\u5177\uff1a<\/p>\n<p>&#8220;`json  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\n{<br \/>\n  &#8220;agents&#8221;: {<br \/>\n    &#8220;reviewer&#8221;: {<br \/>\n      &#8220;tools&#8221;: { &#8220;allow&#8221;: [&#8220;read&#8221;, &#8220;exec&#8221;] } \/\/ Read-only<br \/>\n    },<br \/>\n    &#8220;fixer&#8221;: {<br \/>\n      &#8220;tools&#8221;: { &#8220;allow&#8221;: [&#8220;read&#8221;, &#8220;write&#8221;, &#8220;edit&#8221;, &#8220;exec&#8221;] } \/\/ Read-write<br \/>\n    }<br \/>\n  }<br \/>\n}<\/p>\n<pre><code>\n### 4. \u76d1\u63a7\u6027\u80fd\n\n\u5f53\u6709\u591a\u4e2a\u667a\u80fd\u4f53\u65f6\uff0c\u8bf7\u8003\u8651\uff1a\n\n* \u4f7f\u7528 `&quot;strategy&quot;: &quot;parallel&quot;`\uff08\u9ed8\u8ba4\uff09\u4ee5\u63d0\u9ad8\u901f\u5ea6\n* \u5c06\u5e7f\u64ad\u7fa4\u7ec4\u9650\u5236\u5728 5-10 \u4e2a\u667a\u80fd\u4f53\n* \u4e3a\u8f83\u7b80\u5355\u7684\u667a\u80fd\u4f53\u4f7f\u7528\u8f83\u5feb\u7684\u6a21\u578b\n\n### 5. \u4f18\u96c5\u5730\u5904\u7406\u5931\u8d25\n\n\u667a\u80fd\u4f53\u72ec\u7acb\u5931\u8d25\u3002\u4e00\u4e2a\u667a\u80fd\u4f53\u7684\u9519\u8bef\u4e0d\u4f1a\u963b\u585e\u5176\u4ed6\u667a\u80fd\u4f53\uff1a\n\n<\/code><\/pre>\n<p>Message \u2192 [Agent A \u2713, Agent B \u2717 error, Agent C \u2713]<br \/>\nResult: Agent A and C respond, Agent B logs error<\/p>\n<pre><code>\n## \u517c\u5bb9\u6027\n\n### \u63d0\u4f9b\u5546\n\n\u5e7f\u64ad\u7fa4\u7ec4\u76ee\u524d\u652f\u6301\uff1a\n\n* \u2705 WhatsApp\uff08\u5df2\u5b9e\u73b0\uff09\n* \ud83d\udea7 Telegram\uff08\u8ba1\u5212\u4e2d\uff09\n* \ud83d\udea7 Discord\uff08\u8ba1\u5212\u4e2d\uff09\n* \ud83d\udea7 Slack\uff08\u8ba1\u5212\u4e2d\uff09\n\n### \u8def\u7531\n\n\u5e7f\u64ad\u7fa4\u7ec4\u4e0e\u73b0\u6709\u8def\u7531\u4e00\u8d77\u5de5\u4f5c\uff1a\n\n```json  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\n{\n  &quot;bindings&quot;: [\n    {\n      &quot;match&quot;: { &quot;channel&quot;: &quot;whatsapp&quot;, &quot;peer&quot;: { &quot;kind&quot;: &quot;group&quot;, &quot;id&quot;: &quot;GROUP_A&quot; } },\n      &quot;agentId&quot;: &quot;alfred&quot;\n    }\n  ],\n  &quot;broadcast&quot;: {\n    &quot;GROUP_B&quot;: [&quot;agent1&quot;, &quot;agent2&quot;]\n  }\n}\n<\/code><\/pre>\n<ul>\n<li><code>GROUP_A<\/code>\uff1a\u53ea\u6709 alfred \u54cd\u5e94\uff08\u6b63\u5e38\u8def\u7531\uff09<\/li>\n<li><code>GROUP_B<\/code>\uff1aagent1 \u548c agent2 \u90fd\u54cd\u5e94\uff08\u5e7f\u64ad\uff09<\/li>\n<\/ul>\n<p><strong>\u4f18\u5148\u7ea7\uff1a<\/strong> <code>broadcast<\/code> \u4f18\u5148\u4e8e <code>bindings<\/code>\u3002<\/p>\n<h2>\u6545\u969c\u6392\u9664<\/h2>\n<h3>\u667a\u80fd\u4f53\u4e0d\u54cd\u5e94<\/h3>\n<p><strong>\u68c0\u67e5\uff1a<\/strong><\/p>\n<ol>\n<li>\u667a\u80fd\u4f53 ID \u5b58\u5728\u4e8e <code>agents.list<\/code> \u4e2d<\/li>\n<li>Peer ID \u683c\u5f0f\u6b63\u786e\uff08\u4f8b\u5982 <code>120363403215116621@g.us<\/code>\uff09<\/li>\n<li>\u667a\u80fd\u4f53\u4e0d\u5728\u62d2\u7edd\u5217\u8868\u4e2d<\/li>\n<\/ol>\n<p><strong>\u8c03\u8bd5\uff1a<\/strong><\/p>\n<p>&#8220;`bash  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\ntail -f ~\/.openclaw\/logs\/\u7f51\u5173.log | grep broadcast<\/p>\n<pre><code>\n### \u53ea\u6709\u4e00\u4e2a\u667a\u80fd\u4f53\u54cd\u5e94\n\n**\u539f\u56e0\uff1a** Peer ID \u53ef\u80fd\u5728 `bindings` \u4e2d\u4f46\u4e0d\u5728 `broadcast` \u4e2d\u3002\n\n**\u4fee\u590d\uff1a** \u6dfb\u52a0\u5230\u5e7f\u64ad\u914d\u7f6e\u6216\u4ece\u7ed1\u5b9a\u4e2d\u79fb\u9664\u3002\n\n### \u6027\u80fd\u95ee\u9898\n\n**\u5982\u679c\u667a\u80fd\u4f53\u8f83\u591a\u65f6\u901f\u5ea6\u8f83\u6162\uff1a**\n\n* \u51cf\u5c11\u6bcf\u4e2a\u7fa4\u7ec4\u7684\u667a\u80fd\u4f53\u6570\u91cf\n* \u4f7f\u7528\u8f83\u8f7b\u7684\u6a21\u578b\uff08sonnet \u800c\u975e opus\uff09\n* \u68c0\u67e5\u6c99\u7bb1\u542f\u52a8\u65f6\u95f4\n\n## \u793a\u4f8b\n\n### \u793a\u4f8b 1\uff1a\u4ee3\u7801\u5ba1\u67e5\u56e2\u961f\n\n```json  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\n{\n  &quot;broadcast&quot;: {\n    &quot;strategy&quot;: &quot;parallel&quot;,\n    &quot;120363403215116621@g.us&quot;: [\n      &quot;code-formatter&quot;,\n      &quot;security-scanner&quot;,\n      &quot;test-coverage&quot;,\n      &quot;docs-checker&quot;\n    ]\n  },\n  &quot;agents&quot;: {\n    &quot;list&quot;: [\n      {\n        &quot;id&quot;: &quot;code-formatter&quot;,\n        &quot;workspace&quot;: &quot;~\/agents\/formatter&quot;,\n        &quot;tools&quot;: { &quot;allow&quot;: [&quot;read&quot;, &quot;write&quot;] }\n      },\n      {\n        &quot;id&quot;: &quot;security-scanner&quot;,\n        &quot;workspace&quot;: &quot;~\/agents\/security&quot;,\n        &quot;tools&quot;: { &quot;allow&quot;: [&quot;read&quot;, &quot;exec&quot;] }\n      },\n      {\n        &quot;id&quot;: &quot;test-coverage&quot;,\n        &quot;workspace&quot;: &quot;~\/agents\/testing&quot;,\n        &quot;tools&quot;: { &quot;allow&quot;: [&quot;read&quot;, &quot;exec&quot;] }\n      },\n      { &quot;id&quot;: &quot;docs-checker&quot;, &quot;workspace&quot;: &quot;~\/agents\/docs&quot;, &quot;tools&quot;: { &quot;allow&quot;: [&quot;read&quot;] } }\n    ]\n  }\n}\n<\/code><\/pre>\n<p><strong>\u7528\u6237\u53d1\u9001\uff1a<\/strong> \u4ee3\u7801\u7247\u6bb5<br \/>\n<strong>\u54cd\u5e94\uff1a<\/strong><\/p>\n<ul>\n<li>code-formatter\uff1a&#8221;\u4fee\u590d\u4e86\u7f29\u8fdb\u5e76\u6dfb\u52a0\u4e86\u7c7b\u578b\u63d0\u793a&#8221;<\/li>\n<li>security-scanner\uff1a&#8221;\u26a0\ufe0f \u7b2c 12 \u884c\u5b58\u5728 SQL \u6ce8\u5165\u6f0f\u6d1e&#8221;<\/li>\n<li>test-coverage\uff1a&#8221;\u8986\u76d6\u7387\u4e3a 45%\uff0c\u7f3a\u5c11\u9519\u8bef\u60c5\u51b5\u7684\u6d4b\u8bd5&#8221;<\/li>\n<li>docs-checker\uff1a&#8221;\u51fd\u6570 <code>process_data<\/code> \u7f3a\u5c11\u6587\u6863\u5b57\u7b26\u4e32&#8221;<\/li>\n<\/ul>\n<h3>\u793a\u4f8b 2\uff1a\u591a\u8bed\u8a00\u652f\u6301<\/h3>\n<p>&#8220;`json  theme={&#8220;theme&#8221;:{&#8220;light&#8221;:&#8221;min-light&#8221;,&#8221;dark&#8221;:&#8221;min-dark&#8221;}}<br \/>\n{<br \/>\n  &#8220;broadcast&#8221;: {<br \/>\n    &#8220;strategy&#8221;: &#8220;sequential&#8221;,<br \/>\n    &#8220;+15555550123&#8221;: [&#8220;detect-language&#8221;, &#8220;translator-en&#8221;, &#8220;translator-de&#8221;]<br \/>\n  },<br \/>\n  &#8220;agents&#8221;: {<br \/>\n    &#8220;list&#8221;: [<br \/>\n      { &#8220;id&#8221;: &#8220;detect-language&#8221;, &#8220;workspace&#8221;: &#8220;~\/agents\/lang-detect&#8221; },<br \/>\n      { &#8220;id&#8221;: &#8220;translator-en&#8221;, &#8220;workspace&#8221;: &#8220;~\/agents\/translate-en&#8221; },<br \/>\n      { &#8220;id&#8221;: &#8220;translator-de&#8221;, &#8220;workspace&#8221;: &#8220;~\/agents\/translate-de&#8221; }<br \/>\n    ]<br \/>\n  }<br \/>\n}<\/p>\n<pre><code>\n## API \u53c2\u8003\n\n### \u914d\u7f6e\u6a21\u5f0f\n\n```typescript  theme={&quot;theme&quot;:{&quot;light&quot;:&quot;min-light&quot;,&quot;dark&quot;:&quot;min-dark&quot;}}\ninterface OpenClawConfig {\n  broadcast?: {\n    strategy?: &quot;parallel&quot; | &quot;sequential&quot;;\n    [peerId: string]: string[];\n  };\n}\n<\/code><\/pre>\n<h3>\u5b57\u6bb5<\/h3>\n<ul>\n<li><code>strategy<\/code>\uff08\u53ef\u9009\uff09\uff1a\u5982\u4f55\u5904\u7406\u667a\u80fd\u4f53<\/li>\n<li><code>\"parallel\"<\/code>\uff08\u9ed8\u8ba4\uff09\uff1a\u6240\u6709\u667a\u80fd\u4f53\u540c\u65f6\u5904\u7406<\/li>\n<li><code>\"sequential\"<\/code>\uff1a\u667a\u80fd\u4f53\u6309\u6570\u7ec4\u987a\u5e8f\u5904\u7406<\/li>\n<li><code>[peerId]<\/code>\uff1aWhatsApp \u7fa4\u7ec4 JID\u3001E.164 \u53f7\u7801\u6216\u5176\u4ed6 peer ID<\/li>\n<li>\u503c\uff1a\u5e94\u5904\u7406\u6d88\u606f\u7684\u667a\u80fd\u4f53 ID \u6570\u7ec4<\/li>\n<\/ul>\n<h2>\u9650\u5236<\/h2>\n<ol>\n<li><strong>\u6700\u5927\u667a\u80fd\u4f53\u6570\uff1a<\/strong> \u65e0\u786c\u6027\u9650\u5236\uff0c\u4f46 10 \u4e2a\u4ee5\u4e0a\u667a\u80fd\u4f53\u53ef\u80fd\u4f1a\u8f83\u6162<\/li>\n<li><strong>\u5171\u4eab\u4e0a\u4e0b\u6587\uff1a<\/strong> \u667a\u80fd\u4f53\u770b\u4e0d\u5230\u5f7c\u6b64\u7684\u54cd\u5e94\uff08\u8bbe\u8ba1\u5982\u6b64\uff09<\/li>\n<li><strong>\u6d88\u606f\u987a\u5e8f\uff1a<\/strong> \u5e76\u884c\u54cd\u5e94\u53ef\u80fd\u4ee5\u4efb\u610f\u987a\u5e8f\u5230\u8fbe<\/li>\n<li><strong>\u901f\u7387\u9650\u5236\uff1a<\/strong> \u6240\u6709\u667a\u80fd\u4f53\u90fd\u8ba1\u5165 WhatsApp \u901f\u7387\u9650\u5236<\/li>\n<\/ol>\n<h2>\u672a\u6765\u589e\u5f3a<\/h2>\n<p>\u8ba1\u5212\u4e2d\u7684\u529f\u80fd\uff1a<\/p>\n<ul>\n<li>[ ] \u5171\u4eab\u4e0a\u4e0b\u6587\u6a21\u5f0f\uff08\u667a\u80fd\u4f53\u53ef\u4ee5\u770b\u5230\u5f7c\u6b64\u7684\u54cd\u5e94\uff09<\/li>\n<li>[ ] \u667a\u80fd\u4f53\u534f\u8c03\uff08\u667a\u80fd\u4f53\u53ef\u4ee5\u76f8\u4e92\u53d1\u4fe1\u53f7\uff09<\/li>\n<li>[ ] \u52a8\u6001\u667a\u80fd\u4f53\u9009\u62e9\uff08\u6839\u636e\u6d88\u606f\u5185\u5bb9\u9009\u62e9\u667a\u80fd\u4f53\uff09<\/li>\n<li>[ ] \u667a\u80fd\u4f53\u4f18\u5148\u7ea7\uff08\u67d0\u4e9b\u667a\u80fd\u4f53\u5148\u4e8e\u5176\u4ed6\u667a\u80fd\u4f53\u54cd\u5e94\uff09<\/li>\n<\/ul>\n<h2>\u53e6\u8bf7\u53c2\u9605<\/h2>\n<ul>\n<li><a href=\"https:\/\/pa.yingzhi8.cn\/?p=288\">\u591a\u667a\u80fd\u4f53\u914d\u7f6e<\/a><\/li>\n<li><a href=\"https:\/\/pa.yingzhi8.cn\/?p=18\">\u8def\u7531\u914d\u7f6e<\/a><\/li>\n<li><a href=\"https:\/\/pa.yingzhi8.cn\/?p=103\">\u4f1a\u8bdd\u7ba1\u7406<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u5e7f\u64ad\u7fa4\u7ec4 \u72b6\u6001\uff1a \u5b9e\u9a8c\u6027\u529f\u80fd \u7248\u672c\uff1a \u4e8e 2026.1.9 \u7248\u672c\u65b0\u589e \u6982\u8ff0 \u5e7f\u64ad\u7fa4\u7ec4\u5141\u8bb8\u591a\u4e2a\u667a\u80fd\u4f53\u540c\u65f6\u5904\u7406\u5e76\u54cd [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-17","post","type-post","status-publish","format-standard","hentry","category-docs"],"_links":{"self":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/17","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/comments?post=17"}],"version-history":[{"count":2,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/17\/revisions"}],"predecessor-version":[{"id":863,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/posts\/17\/revisions\/863"}],"wp:attachment":[{"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/media?parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/categories?post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pa.yingzhi8.cn\/index.php\/wp-json\/wp\/v2\/tags?post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}