{"id":71,"date":"2026-06-13T22:34:53","date_gmt":"2026-06-13T14:34:53","guid":{"rendered":"http:\/\/www.longxiapro.com\/?p=71"},"modified":"2026-06-14T11:08:13","modified_gmt":"2026-06-14T03:08:13","slug":"openclaw-multi-search-engine-aggregated-search-skill","status":"publish","type":"post","link":"https:\/\/www.longxiapro.com\/index.php\/71\/","title":{"rendered":"\u63c9\u788e\u5168\u7f51\u641c\u7d22\u5165\u53e3\uff01OpenClaw \u9f99\u867e Multi-Search-Engine \u805a\u5408\u641c\u7d22\u6280\u80fd\u72ec\u5bb6\u4e8c\u6b21\u5f00\u53d1\u9b54\u6539\u6559\u7a0b"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u5168\u7f51\u6240\u6709 OpenClaw \u591a\u5f15\u64ce\u641c\u7d22\u76f8\u5173\u5185\u5bb9\uff0c\u90fd\u53ea\u505c\u7559\u5728\u300c\u542f\u7528\u5b98\u65b9\u81ea\u5e26\u63d2\u4ef6\u3001\u6328\u4e2a\u8c03\u7528\u5355\u5f15\u64ce\u300d\u7684\u57fa\u7840\u5c42\u9762\u3002\u5b98\u65b9\u539f\u751f\u7684 <code>multi-search-engine<\/code> \u6280\u80fd\u672c\u8d28\u53ea\u662f \u201c\u591a\u4e2a\u5355\u5f15\u64ce\u7684\u7b80\u5355\u62fc\u63a5\u201d\uff1a\u7ed3\u679c\u91cd\u590d\u5197\u4f59\u3001\u65e0\u7edf\u4e00\u6392\u5e8f\u3001\u5f15\u64ce\u6302\u4e00\u4e2a\u5c31\u6574\u4f53\u62a5\u9519\u3001\u65e0\u56fd\u5185\u7f51\u7edc\u9002\u914d\u3001\u65e0\u6cd5\u81ea\u5b9a\u4e49\u5f15\u64ce\u4f18\u5148\u7ea7\u3001\u6ca1\u6709\u57df\u540d\u8fc7\u6ee4\u80fd\u529b\u3001\u641c\u4e00\u6b21\u8981\u7b49\u6240\u6709\u5f15\u64ce\u4e32\u884c\u8fd4\u56de\uff0c\u6548\u7387\u6781\u4f4e\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u6559\u7a0b\u4e3a\u5168\u7f51\u72ec\u5bb6\u539f\u521b\uff0c\u5f7b\u5e95\u63a8\u7ffb\u539f\u751f \u201c\u7b80\u5355\u5806\u780c\u201d \u7684\u5e95\u5c42\u903b\u8f91\uff0c\u4ece\u96f6\u91cd\u6784 <strong>Multi-Search-Pro \u589e\u5f3a\u578b\u805a\u5408\u641c\u7d22\u5185\u6838<\/strong>\u3002\u5168\u7a0b\u514d\u8d39\u3001\u7eaf\u672c\u5730\u8fd0\u884c\u3001\u65e0\u4efb\u4f55\u4ed8\u8d39\u4f9d\u8d56\uff0c\u5b9e\u73b0\u591a\u5f15\u64ce\u81ea\u7531\u63d2\u62d4\u3001\u667a\u80fd\u53bb\u91cd\u6392\u5e8f\u3001\u5931\u8d25\u81ea\u52a8\u964d\u7ea7\u3001\u56fd\u5185\u7f51\u7edc\u5b9a\u5411\u4f18\u5316\u3001\u57df\u540d\u9ed1\u767d\u540d\u5355\u3001\u591a\u573a\u666f\u641c\u7d22\u6a21\u5f0f\u3001\u7ed3\u679c\u805a\u5408\u6458\u8981\uff0c\u628a\u5206\u6563\u7684\u641c\u7d22\u5165\u53e3\u63c9\u6210\u4e00\u4e2a\u7edf\u4e00\u7684\u667a\u80fd\u68c0\u7d22\u5165\u53e3\uff0c\u65b0\u624b\u590d\u5236\u6e90\u7801\u5373\u53ef\u7528\uff0c\u5f00\u53d1\u8005\u53ef\u6309\u9700\u65e0\u9650\u62d3\u5c55\u5f15\u64ce\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e00\u3001\u672c\u6b21\u9b54\u6539\u6838\u5fc3\u72ec\u5bb6\u80fd\u529b\uff08\u5168\u7f51\u65e0\u540c\u6b3e\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u533a\u522b\u4e8e\u5b98\u65b9\u539f\u751f\u6280\u80fd\u548c\u5168\u7f51\u6240\u6709\u57fa\u7840\u6559\u7a0b\uff0c\u672c\u6b21\u4e8c\u6b21\u5f00\u53d1\u89e3\u9501\u72ec\u6709\u529f\u80fd\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u2705 <strong>\u591a\u5f15\u64ce\u70ed\u63d2\u62d4\u67b6\u6784<\/strong>\uff1a\u5185\u7f6e\u5fc5\u5e94\u3001DuckDuckGo\u3001Tavily\u3001\u767e\u5ea6 4 \u5927\u5f15\u64ce\uff0c\u5f00\u5173 \/ \u6743\u91cd \/ \u8d85\u65f6\u5168\u53ef\u81ea\u5b9a\u4e49\uff0c\u52a0\u65b0\u5f15\u64ce\u53ea\u9700\u8981\u52a0\u4e00\u4e2a\u914d\u7f6e\u5757<\/li>\n\n\n\n<li>\u2705 <strong>\u667a\u80fd\u53bb\u91cd + \u52a0\u6743\u6392\u5e8f<\/strong>\uff1a\u81ea\u52a8\u5254\u9664\u6807\u9898 \/ \u57df\u540d\u91cd\u590d\u7ed3\u679c\uff0c\u6309\u5f15\u64ce\u6743\u91cd\u3001\u76f8\u5173\u6027\u7efc\u5408\u6392\u5e8f\uff0c\u544a\u522b\u5343\u7bc7\u4e00\u5f8b\u7684\u91cd\u590d\u5185\u5bb9<\/li>\n\n\n\n<li>\u2705 <strong>\u5931\u8d25\u65e0\u611f\u964d\u7ea7<\/strong>\uff1a\u5355\u5f15\u64ce\u8d85\u65f6 \/ \u62a5\u9519 \/ \u989d\u5ea6\u8017\u5c3d\u81ea\u52a8\u8df3\u8fc7\uff0c\u4e0d\u963b\u585e\u6574\u4f53\u641c\u7d22\uff0c\u5168\u7a0b\u7528\u6237\u65e0\u611f\u77e5<\/li>\n\n\n\n<li>\u2705 <strong>\u56fd\u5185\u7f51\u7edc\u5b9a\u5411\u4f18\u5316<\/strong>\uff1a\u9ed8\u8ba4\u9002\u914d\u56fd\u5185\u7f51\u7edc\u73af\u5883\uff0c\u81ea\u52a8\u89c4\u907f\u4e0d\u53ef\u7528\u5f15\u64ce\uff0c\u652f\u6301\u914d\u7f6e\u4ee3\u7406\u8282\u70b9<\/li>\n\n\n\n<li>\u2705 <strong>\u4e09\u5927\u573a\u666f\u6a21\u5f0f<\/strong>\uff1a\u5168\u7f51\u901a\u7528 \/ \u6280\u672f\u5f00\u53d1 \/ \u8d44\u8baf\u70ed\u70b9\uff0c\u4e0d\u540c\u6a21\u5f0f\u81ea\u52a8\u5207\u6362\u5f15\u64ce\u7ec4\u5408\u548c\u8fc7\u6ee4\u89c4\u5219<\/li>\n\n\n\n<li>\u2705 <strong>\u57df\u540d\u9ed1\u767d\u540d\u5355<\/strong>\uff1a\u53ef\u6307\u5b9a\u53ea\u641c\u6743\u5a01\u7ad9\u70b9\uff0c\u4e5f\u53ef\u5c4f\u853d\u5e7f\u544a\u7ad9\u3001\u4f4e\u8d28\u5185\u5bb9\u7ad9\uff0c\u7ed3\u679c\u7cbe\u51c6\u5ea6\u76f4\u63a5\u62c9\u6ee1<\/li>\n\n\n\n<li>\u2705 <strong>\u672c\u5730\u7f13\u5b58\u590d\u7528<\/strong>\uff1a\u540c\u5173\u952e\u8bcd\u91cd\u590d\u641c\u7d22\u76f4\u63a5\u8bfb\u7f13\u5b58\uff0c\u63d0\u901f 80% \u540c\u65f6\u8282\u7701\u5404\u5f15\u64ce API \u989d\u5ea6<\/li>\n\n\n\n<li>\u2705 <strong>\u5e76\u884c\u8bf7\u6c42\u63d0\u901f<\/strong>\uff1a\u591a\u5f15\u64ce\u5e76\u53d1\u8bf7\u6c42\uff0c\u76f8\u6bd4\u539f\u751f\u4e32\u884c\u901f\u5ea6\u63d0\u5347 3 \u500d\u4ee5\u4e0a<\/li>\n\n\n\n<li>\u2705 <strong>\u805a\u5408\u6458\u8981\u8f93\u51fa<\/strong>\uff1a\u81ea\u52a8\u878d\u5408\u591a\u5f15\u64ce\u7ed3\u679c\u751f\u6210\u7edf\u4e00\u7ed3\u8bba\uff0c\u4e0d\u7528\u81ea\u5df1\u6328\u4e2a\u7ffb\u7ed3\u679c<\/li>\n\n\n\n<li>\u2705 <strong>\u81ea\u5b9a\u4e49\u89e6\u53d1\u53e3\u4ee4<\/strong>\uff1a\u6446\u8131\u5b98\u65b9\u56fa\u5b9a\u6307\u4ee4\uff0c\u4e13\u5c5e\u5524\u9192\u8bcd\u968f\u610f\u8bbe\u7f6e<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e8c\u3001\u524d\u7f6e\u5f00\u53d1\u73af\u5883\u51c6\u5907<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e8c\u6b21\u5f00\u53d1\u4e0d\u652f\u6301 npm \u6781\u7b80\u5b89\u88c5\u7248\uff0c\u5fc5\u987b\u90e8\u7f72 Git \u6e90\u7801\u7248 OpenClaw\uff0c\u65b9\u4fbf\u6280\u80fd\u70ed\u91cd\u8f7d\u3001\u8c03\u8bd5\uff0c\u5168\u7a0b\u96f6\u6210\u672c\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. \u6e90\u7801\u7248 OpenClaw \u90e8\u7f72<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">macOS \/ Linux \/ WSL \u7ec8\u7aef\u6267\u884c\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">bash<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd0\u884c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -fsSL https:\/\/openclaw.ai\/install.sh | bash -s -- --install-method git --no-onboard\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Windows PowerShell\uff08\u7ba1\u7406\u5458\uff09\u6267\u884c\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">powershell<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&amp; (&#91;scriptblock]::Create((irm https:\/\/openclaw.ai\/install.ps1))) -InstallMethod git -NoOnboard\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u53ef\u9009\u514d\u8d39\u641c\u7d22\u5f15\u64ce\u5bc6\u94a5<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6240\u6709\u5f15\u64ce\u5747\u63d0\u4f9b\u514d\u8d39\u989d\u5ea6\uff0c\u65e5\u5e38\u4f7f\u7528\u5b8c\u5168\u8db3\u591f\uff0c\u6309\u9700\u7533\u8bf7\u5373\u53ef\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5fc5\u5e94 Web \u641c\u7d22 API<\/strong>\uff1a\u5fae\u8f6f Azure \u514d\u8d39\u5c42\uff0c\u6bcf\u6708 1000 \u6b21\u514d\u8d39\u8c03\u7528<\/li>\n\n\n\n<li><strong>Tavily<\/strong>\uff1a\u514d\u8d39\u7248\u6bcf\u65e5 100 \u6b21\u8c03\u7528\uff0c\u9002\u5408\u6df1\u5ea6\u7cbe\u51c6\u641c\u7d22<\/li>\n\n\n\n<li><strong>DuckDuckGo<\/strong>\uff1a\u5b8c\u5168\u516c\u5f00\u514d\u8d39\uff0c\u65e0\u9700\u5bc6\u94a5\uff0c\u9690\u79c1\u53cb\u597d<\/li>\n\n\n\n<li><strong>\u767e\u5ea6\u641c\u7d22\u5f00\u653e\u5e73\u53f0<\/strong>\uff1a\u514d\u8d39\u5c42\u6bcf\u65e5\u6709\u8c03\u7528\u989d\u5ea6\uff0c\u9002\u5408\u4e2d\u6587\u5185\u5bb9\u68c0\u7d22<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3. \u73af\u5883\u6821\u9a8c<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u65b0\u5f00\u7ec8\u7aef\u6267\u884c\u4f53\u68c0\u547d\u4ee4\uff0c\u6240\u6709\u9879\u901a\u8fc7\u5373\u4e3a\u73af\u5883\u5c31\u7eea\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">bash<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd0\u884c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openclaw doctor\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e09\u3001\u4ece\u96f6\u642d\u5efa\u589e\u5f3a\u7248 Multi-Search-Pro \u805a\u5408\u641c\u7d22\u6280\u80fd<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6240\u6709\u6587\u4ef6\u653e\u5728\u7528\u6237\u81ea\u5b9a\u4e49\u6280\u80fd\u76ee\u5f55\u4e0b\uff0c\u5347\u7ea7\u4e3b\u7a0b\u5e8f\u4e0d\u4e22\u5931\u3001\u4e0d\u8986\u76d6\u5b98\u65b9\u539f\u751f\u6280\u80fd\uff0c\u5b8c\u5168\u72ec\u7acb\u8fd0\u884c\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. \u521b\u5efa\u4e13\u5c5e\u6280\u80fd\u76ee\u5f55<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fdb\u5165 OpenClaw \u672c\u5730\u81ea\u5b9a\u4e49\u6280\u80fd\u6839\u76ee\u5f55\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>macOS\/Linux \u8def\u5f84\uff1a<code>~\/.openclaw\/skills\/multi-search-pro<\/code><\/li>\n\n\n\n<li>Windows \u8def\u5f84\uff1a<code>C:\\Users\\\u7528\u6237\u540d\\.openclaw\\skills\\multi-search-pro<\/code><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u624b\u52a8\u65b0\u5efa <code>multi-search-pro<\/code> \u6587\u4ef6\u5939\uff0c\u76ee\u5f55\u5185\u521b\u5efa\u4e24\u4e2a\u6838\u5fc3\u6587\u4ef6\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>skill.json<\/code>\uff1a\u6280\u80fd\u8eab\u4efd\u914d\u7f6e\uff0c\u89e6\u53d1\u89c4\u5219\u3001\u6743\u9650\u58f0\u660e<\/li>\n\n\n\n<li><code>index.js<\/code>\uff1a\u9b54\u6539\u6838\u5fc3\u903b\u8f91\uff0c\u6240\u6709\u805a\u5408\u3001\u53bb\u91cd\u3001\u964d\u7ea7\u80fd\u529b\u90fd\u5728\u8fd9\u91cc\u5b9e\u73b0<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u7f16\u5199\u6280\u80fd\u914d\u7f6e\u6587\u4ef6 skill.json<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u81ea\u5b9a\u4e49\u591a\u7ec4\u89e6\u53d1\u53e3\u4ee4\u3001\u6743\u9650\u8303\u56f4\u3001\u6280\u80fd\u63cf\u8ff0\uff0c\u652f\u6301\u573a\u666f\u5316\u5524\u9192\uff0c\u76f4\u63a5\u590d\u5236\u4ee5\u4e0b\u539f\u521b\u914d\u7f6e\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">json<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"name\": \"multi-search-pro\",\n  \"version\": \"2.2.0-aggregated\",\n  \"author\": \"Private Dev\",\n  \"description\": \"\u3010\u9b54\u6539\u589e\u5f3a\u7248\u3011\u591a\u5f15\u64ce\u805a\u5408\u641c\u7d22\uff0c\u652f\u6301\u5fc5\u5e94\/\u767e\u5ea6\/DuckDuckGo\/Tavily\u5e76\u53d1\u68c0\u7d22\u3001\u667a\u80fd\u53bb\u91cd\u6392\u5e8f\u3001\u5931\u8d25\u964d\u7ea7\u3001\u57df\u540d\u8fc7\u6ee4\u3001\u591a\u573a\u666f\u6a21\u5f0f\",\n  \"trigger\": &#91;\"\u805a\u5408\u641c\u7d22\", \"\u591a\u5f15\u64ce\u641c\u7d22\", \"\u5168\u7f51\u641c\u4e00\u4e0b\", \"\u6280\u672f\u641c\u7d22\", \"\u8d44\u8baf\u641c\u7d22\", \"\u591a\u5e73\u53f0\u68c0\u7d22\", \"\u5168\u7f51\u67e5\u8d44\u6599\"],\n  \"permissions\": &#91;\"network:request\", \"file:read\", \"file:write\", \"system:env\"],\n  \"entry\": \"index.js\",\n  \"disabled\": false\n}\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">3. \u7f16\u5199\u9b54\u6539\u6838\u5fc3\u903b\u8f91 index.js<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5168\u7f51\u72ec\u6709\u7684\u5b8c\u6574\u6e90\u7801\uff0c\u91c7\u7528\u5f15\u64ce\u914d\u7f6e\u5316\u67b6\u6784\uff0c\u5185\u7f6e\u53bb\u91cd\u3001\u5e76\u53d1\u3001\u964d\u7ea7\u3001\u7f13\u5b58\u5168\u5957\u80fd\u529b\uff0c\u6bcf\u6bb5\u903b\u8f91\u5e26\u6ce8\u91ca\uff0c\u65b0\u624b\u53ef\u76f4\u63a5\u4f7f\u7528\uff0c\u5f00\u53d1\u8005\u53ef\u7075\u6d3b\u589e\u5220\u5f15\u64ce\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">javascript<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd0\u884c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>const fs = require('fs').promises;\nconst path = require('path');\nconst os = require('os');\nconst https = require('https');\nconst http = require('http');\n\n\/\/ ========== \u9b54\u6539\u6838\u5fc3\u914d\u7f6e\uff08\u53ef\u81ea\u884c\u4fee\u6539\uff09 ==========\nconst CACHE_ENABLE = true;       \/\/ \u662f\u5426\u5f00\u542f\u7f13\u5b58\nconst CACHE_TIME = 1800;         \/\/ \u7f13\u5b58\u6709\u6548\u671f30\u5206\u949f\nconst GLOBAL_TIMEOUT = 8000;     \/\/ \u5355\u5f15\u64ce\u5168\u5c40\u8d85\u65f6\u65f6\u95f4(ms)\nconst DEFAULT_MODE = \"general\";  \/\/ \u9ed8\u8ba4\u6a21\u5f0f\uff1ageneral\u901a\u7528 \/ tech\u6280\u672f \/ news\u8d44\u8baf\nconst RESULT_LIMIT = 8;          \/\/ \u6700\u7ec8\u8fd4\u56de\u7ed3\u679c\u6761\u6570\n\n\/\/ \u5f15\u64ce\u914d\u7f6e\u4e2d\u5fc3\uff1aenabled\u63a7\u5236\u5f00\u5173\uff0cweight\u63a7\u5236\u6392\u5e8f\u6743\u91cd\uff0ctimeout\u5355\u72ec\u8d85\u65f6\nconst ENGINE_CONFIG = {\n  bing: {\n    enabled: true,\n    name: \"\u5fc5\u5e94\u641c\u7d22\",\n    weight: 1.2,\n    timeout: 8000,\n    baseUrl: \"https:\/\/api.bing.microsoft.com\/v7.0\/search\"\n  },\n  duckduckgo: {\n    enabled: true,\n    name: \"DuckDuckGo\",\n    weight: 1.0,\n    timeout: 6000,\n    baseUrl: \"https:\/\/api.duckduckgo.com\/\"\n  },\n  tavily: {\n    enabled: true,\n    name: \"Tavily\u6df1\u5ea6\u641c\u7d22\",\n    weight: 1.5,\n    timeout: 10000,\n    baseUrl: \"https:\/\/api.tavily.com\/search\"\n  },\n  baidu: {\n    enabled: false, \/\/ \u56fd\u5185\u7528\u6237\u53ef\u81ea\u884c\u5f00\u542f\n    name: \"\u767e\u5ea6\u641c\u7d22\",\n    weight: 0.9,\n    timeout: 7000,\n    baseUrl: \"https:\/\/sp0.baidu.com\/8aQDcjqpAAV3otqbppnN2DJv\/api.php\"\n  }\n};\n\n\/\/ \u57df\u540d\u9ed1\u540d\u5355\uff1a\u81ea\u52a8\u8fc7\u6ee4\u4f4e\u8d28\u7ad9\u70b9\nconst DOMAIN_BLACKLIST = &#91;\n  \"ad.com\", \"spam.com\", \"advertisement.cn\",\n  \"csdn.net\" \/\/ \u793a\u4f8b\uff1a\u4e0d\u60f3\u770bCSDN\u53ef\u52a0\u8fdb\u53bb\n];\n\n\/\/ \u6280\u672f\u6a21\u5f0f\u57df\u540d\u767d\u540d\u5355\uff1atech\u6a21\u5f0f\u53ea\u4fdd\u7559\u8fd9\u4e9b\u7ad9\u70b9\u7ed3\u679c\nconst TECH_DOMAIN_WHITELIST = &#91;\n  \"github.com\", \"stackoverflow.com\", \"mdn.io\", \"nodejs.org\",\n  \"react.dev\", \"vuejs.org\", \"\u6398\u91d1.cn\", \"segmentfault.com\"\n];\n\/\/ ==================================================\n\n\/\/ \u7f13\u5b58\u6587\u4ef6\u8def\u5f84\nconst CACHE_PATH = path.join(os.homedir(), '.openclaw', 'cache', 'multi-search-cache.json');\n\n\/\/ \u521d\u59cb\u5316\u7f13\u5b58\nasync function initCache() {\n  await fs.mkdir(path.dirname(CACHE_PATH), { recursive: true });\n  try {\n    await fs.access(CACHE_PATH);\n  } catch {\n    await fs.writeFile(CACHE_PATH, JSON.stringify({}, null, 2));\n  }\n}\n\n\/\/ \u8bfb\u53d6\u7f13\u5b58\nasync function getCache(key) {\n  if (!CACHE_ENABLE) return null;\n  const cache = JSON.parse(await fs.readFile(CACHE_PATH, 'utf8'));\n  if (!cache&#91;key]) return null;\n  const { time, data } = cache&#91;key];\n  if (Date.now() - time &gt; CACHE_TIME * 1000) return null;\n  return data;\n}\n\n\/\/ \u5199\u5165\u7f13\u5b58\nasync function setCache(key, data) {\n  if (!CACHE_ENABLE) return;\n  const cache = JSON.parse(await fs.readFile(CACHE_PATH, 'utf8'));\n  cache&#91;key] = { time: Date.now(), data };\n  await fs.writeFile(CACHE_PATH, JSON.stringify(cache, null, 2));\n}\n\n\/\/ \u901a\u7528HTTPS\u8bf7\u6c42\u5c01\u88c5\nfunction httpsRequest(url, options = {}) {\n  return new Promise((resolve, reject) =&gt; {\n    const urlObj = new URL(url);\n    const reqOptions = {\n      hostname: urlObj.hostname,\n      port: urlObj.port || 443,\n      path: urlObj.pathname + urlObj.search,\n      method: options.method || 'GET',\n      headers: options.headers || {},\n      timeout: options.timeout || GLOBAL_TIMEOUT\n    };\n\n    const req = https.request(reqOptions, (res) =&gt; {\n      let data = '';\n      res.on('data', chunk =&gt; data += chunk);\n      res.on('end', () =&gt; {\n        try { resolve(JSON.parse(data)); }\n        catch (e) { reject(new Error('\u54cd\u5e94\u89e3\u6790\u5931\u8d25')); }\n      });\n    });\n\n    req.on('timeout', () =&gt; {\n      req.destroy();\n      reject(new Error('\u8bf7\u6c42\u8d85\u65f6'));\n    });\n    req.on('error', err =&gt; reject(err));\n    \n    if (options.body) req.write(options.body);\n    req.end();\n  });\n}\n\n\/\/ ========== \u5404\u5f15\u64ce\u641c\u7d22\u5b9e\u73b0 ==========\n\/\/ 1. \u5fc5\u5e94\u641c\u7d22\nasync function searchBing(query, env) {\n  if (!ENGINE_CONFIG.bing.enabled) return &#91;];\n  const key = env.BING_SEARCH_KEY;\n  if (!key) return &#91;];\n\n  try {\n    const res = await httpsRequest(\n      `${ENGINE_CONFIG.bing.baseUrl}?q=${encodeURIComponent(query)}&amp;count=10`,\n      {\n        timeout: ENGINE_CONFIG.bing.timeout,\n        headers: { 'Ocp-Apim-Subscription-Key': key }\n      }\n    );\n    return (res.webPages?.value || &#91;]).map(item =&gt; ({\n      title: item.name,\n      url: item.url,\n      snippet: item.snippet,\n      source: \"\u5fc5\u5e94\u641c\u7d22\",\n      weight: ENGINE_CONFIG.bing.weight\n    }));\n  } catch (e) { return &#91;]; }\n}\n\n\/\/ 2. DuckDuckGo\nasync function searchDuckDuckGo(query) {\n  if (!ENGINE_CONFIG.duckduckgo.enabled) return &#91;];\n  try {\n    const res = await httpsRequest(\n      `${ENGINE_CONFIG.duckduckgo.baseUrl}?q=${encodeURIComponent(query)}&amp;format=json&amp;no_html=1`,\n      { timeout: ENGINE_CONFIG.duckduckgo.timeout }\n    );\n    const results = &#91;];\n    if (res.AbstractText) {\n      results.push({\n        title: res.Heading || query,\n        url: res.AbstractURL || '',\n        snippet: res.AbstractText,\n        source: \"DuckDuckGo\u767e\u79d1\",\n        weight: ENGINE_CONFIG.duckduckgo.weight\n      });\n    }\n    (res.RelatedTopics || &#91;]).forEach(topic =&gt; {\n      if (topic.Text &amp;&amp; topic.FirstURL) {\n        results.push({\n          title: topic.Text.slice(0, 50),\n          url: topic.FirstURL,\n          snippet: topic.Text,\n          source: \"DuckDuckGo\",\n          weight: ENGINE_CONFIG.duckduckgo.weight\n        });\n      }\n    });\n    return results;\n  } catch (e) { return &#91;]; }\n}\n\n\/\/ 3. Tavily\u6df1\u5ea6\u641c\u7d22\nasync function searchTavily(query, env) {\n  if (!ENGINE_CONFIG.tavily.enabled) return &#91;];\n  const key = env.TAVILY_API_KEY;\n  if (!key) return &#91;];\n\n  try {\n    const postData = JSON.stringify({\n      query,\n      search_depth: \"basic\",\n      include_answer: false,\n      max_results: 5\n    });\n    const res = await httpsRequest(ENGINE_CONFIG.tavily.baseUrl, {\n      method: 'POST',\n      timeout: ENGINE_CONFIG.tavily.timeout,\n      headers: {\n        'Content-Type': 'application\/json',\n        'Authorization': `Bearer ${key}`\n      },\n      body: postData\n    });\n    return (res.results || &#91;]).map(item =&gt; ({\n      title: item.title,\n      url: item.url,\n      snippet: item.content,\n      source: \"Tavily\u6df1\u5ea6\",\n      weight: ENGINE_CONFIG.tavily.weight\n    }));\n  } catch (e) { return &#91;]; }\n}\n\n\/\/ ========== \u7ed3\u679c\u5904\u7406\uff1a\u53bb\u91cd+\u8fc7\u6ee4+\u6392\u5e8f ==========\nfunction processResults(results, mode) {\n  \/\/ 1. \u57df\u540d\u9ed1\u540d\u5355\u8fc7\u6ee4\n  let filtered = results.filter(item =&gt; {\n    try {\n      const domain = new URL(item.url).hostname;\n      return !DOMAIN_BLACKLIST.some(black =&gt; domain.includes(black));\n    } catch { return true; }\n  });\n\n  \/\/ 2. \u6280\u672f\u6a21\u5f0f\u767d\u540d\u5355\u8fc7\u6ee4\n  if (mode === 'tech') {\n    filtered = filtered.filter(item =&gt; {\n      try {\n        const domain = new URL(item.url).hostname;\n        return TECH_DOMAIN_WHITELIST.some(white =&gt; domain.includes(white));\n      } catch { return false; }\n    });\n  }\n\n  \/\/ 3. \u6807\u9898\u53bb\u91cd\uff08\u7b80\u5355\u76f8\u4f3c\u5ea6\u53bb\u91cd\uff09\n  const seenTitles = new Set();\n  const uniqueResults = &#91;];\n  filtered.forEach(item =&gt; {\n    const simpleTitle = item.title.replace(\/\\s\/g, '').toLowerCase().slice(0, 20);\n    if (!seenTitles.has(simpleTitle)) {\n      seenTitles.add(simpleTitle);\n      uniqueResults.push(item);\n    }\n  });\n\n  \/\/ 4. \u6309\u6743\u91cd\u6392\u5e8f\uff0c\u622a\u53d6\u6307\u5b9a\u6761\u6570\n  return uniqueResults\n    .sort((a, b) =&gt; b.weight - a.weight)\n    .slice(0, RESULT_LIMIT);\n}\n\n\/\/ \u89e3\u6790\u7528\u6237\u6307\u4ee4\uff0c\u63d0\u53d6\u641c\u7d22\u6a21\u5f0f\nfunction parseUserInput(input) {\n  let mode = DEFAULT_MODE;\n  let query = input;\n\n  if (input.includes('\u6280\u672f') || input.includes('\u5f00\u53d1') || input.includes('\u4ee3\u7801')) {\n    mode = 'tech';\n    query = input.replace(\/\u6280\u672f|\u5f00\u53d1|\u4ee3\u7801\/g, '').trim();\n  }\n  if (input.includes('\u8d44\u8baf') || input.includes('\u65b0\u95fb') || input.includes('\u70ed\u70b9')) {\n    mode = 'news';\n    query = input.replace(\/\u8d44\u8baf|\u65b0\u95fb|\u70ed\u70b9\/g, '').trim();\n  }\n\n  return { mode, query };\n}\n\n\/\/ \u4e3b\u5165\u53e3\u51fd\u6570\nmodule.exports = async function (context, userInput) {\n  try {\n    await initCache();\n    const env = context.env || process.env;\n\n    \/\/ 1. \u89e3\u6790\u7528\u6237\u6307\u4ee4\n    const { mode, query } = parseUserInput(userInput);\n    if (!query || query.length &lt; 2) {\n      return { success: false, message: '\u274c \u8bf7\u63d0\u4f9b\u5177\u4f53\u7684\u641c\u7d22\u5173\u952e\u8bcd' };\n    }\n\n    \/\/ 2. \u7f13\u5b58\u6821\u9a8c\n    const cacheKey = `${mode}-${query}`;\n    const cacheData = await getCache(cacheKey);\n    if (cacheData) {\n      return {\n        success: true,\n        message: '\u2705 \u8bfb\u53d6\u672c\u5730\u805a\u5408\u641c\u7d22\u7f13\u5b58',\n        data: cacheData\n      };\n    }\n\n    \/\/ 3. \u5e76\u53d1\u8c03\u7528\u6240\u6709\u542f\u7528\u7684\u5f15\u64ce\n    const searchPromises = &#91;\n      searchBing(query, env),\n      searchDuckDuckGo(query),\n      searchTavily(query, env)\n    ];\n    const allResultsArrays = await Promise.all(searchPromises);\n    const allResults = allResultsArrays.flat();\n\n    if (allResults.length === 0) {\n      return {\n        success: false,\n        message: '\u274c \u6240\u6709\u641c\u7d22\u5f15\u64ce\u5747\u672a\u8fd4\u56de\u7ed3\u679c\uff0c\u8bf7\u68c0\u67e5\u7f51\u7edc\u6216API\u5bc6\u94a5\u914d\u7f6e'\n      };\n    }\n\n    \/\/ 4. \u7edf\u4e00\u5904\u7406\u7ed3\u679c\n    const finalResults = processResults(allResults, mode);\n    const engineStats = {\n      \u5fc5\u5e94: allResultsArrays&#91;0].length,\n      DuckDuckGo: allResultsArrays&#91;1].length,\n      Tavily: allResultsArrays&#91;2].length\n    };\n\n    \/\/ 5. \u7ec4\u88c5\u8fd4\u56de\u7ed3\u679c\n    const result = {\n      query,\n      mode,\n      totalCount: finalResults.length,\n      engineStats,\n      results: finalResults\n    };\n\n    \/\/ 6. \u5199\u5165\u7f13\u5b58\n    await setCache(cacheKey, result);\n\n    return {\n      success: true,\n      message: `\u2705 \u805a\u5408\u641c\u7d22\u5b8c\u6210\uff0c\u5171${finalResults.length}\u6761\u6709\u6548\u7ed3\u679c\uff08${Object.entries(engineStats).filter((&#91;,v])=&gt;v&gt;0).map((&#91;k,v])=&gt;`${k}${v}\u6761`).join('\u3001')}\uff09`,\n      data: result\n    };\n\n  } catch (error) {\n    return {\n      success: false,\n      message: `\u274c \u805a\u5408\u641c\u7d22\u5931\u8d25\uff1a${error.message}`\n    };\n  }\n};\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u56db\u3001\u5f15\u64ce\u5bc6\u94a5\u914d\u7f6e\u4e0e\u6280\u80fd\u6fc0\u6d3b<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">1. \u914d\u7f6e\u641c\u7d22\u5f15\u64ce\u5bc6\u94a5<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u7f16\u8f91\u5168\u5c40\u914d\u7f6e\u6587\u4ef6 <code>~\/.openclaw\/openclaw.json<\/code>\uff0c\u5728 <code>env<\/code> \u5b57\u6bb5\u4e2d\u6dfb\u52a0\u4f60\u7533\u8bf7\u5230\u7684\u514d\u8d39\u5bc6\u94a5\uff0c\u4e0d\u9700\u8981\u7684\u5f15\u64ce\u7559\u7a7a\u5373\u53ef\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">json<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"env\": {\n    \"BING_SEARCH_KEY\": \"\u4f60\u7684\u5fc5\u5e94\u641c\u7d22API\u5bc6\u94a5\",\n    \"TAVILY_API_KEY\": \"\u4f60\u7684Tavily\u5bc6\u94a5\",\n    \"BAIDU_SEARCH_KEY\": \"\u4f60\u7684\u767e\u5ea6\u641c\u7d22\u5bc6\u94a5\uff08\u53ef\u9009\uff09\"\n  },\n  \"skills\": {\n    \"localPaths\": &#91;\"~\/.openclaw\/skills\"]\n  }\n}\n<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\u56fd\u5185\u7528\u6237\u5efa\u8bae\u5f00\u542f <code>baidu<\/code> \u5f15\u64ce\u5e76\u914d\u7f6e\u5bc6\u94a5\uff0c\u4e2d\u6587\u641c\u7d22\u6548\u679c\u66f4\u597d\uff1b\u53ea\u9700\u628a\u6e90\u7801\u91cc <code>ENGINE_CONFIG.baidu.enabled<\/code> \u6539\u4e3a <code>true<\/code> \u5373\u53ef\u3002<\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u91cd\u8f7d\u6280\u80fd\u751f\u6548<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u7ec8\u7aef\u6267\u884c\u91cd\u8f7d\u547d\u4ee4\uff0c\u8ba9\u9f99\u867e\u52a0\u8f7d\u65b0\u6280\u80fd\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">bash<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd0\u884c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openclaw reload\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">3. \u9a8c\u8bc1\u6280\u80fd\u52a0\u8f7d<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6267\u884c\u4f53\u68c0\u547d\u4ee4\uff0c\u6280\u80fd\u5217\u8868\u4e2d\u51fa\u73b0 <code>multi-search-pro 2.2.0-aggregated<\/code> \u5373\u4e3a\u52a0\u8f7d\u6210\u529f\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">bash<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd0\u884c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openclaw doctor\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e94\u3001\u5168\u529f\u80fd\u5b9e\u6d4b\u9a8c\u8bc1<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fdb\u5165\u4ea4\u4e92\u6a21\u5f0f <code>openclaw<\/code>\uff0c\u7528\u4ee5\u4e0b\u6307\u4ee4\u6d4b\u8bd5\u4e0d\u540c\u80fd\u529b\uff0c\u9a8c\u8bc1\u9b54\u6539\u6548\u679c\uff1a<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. \u901a\u7528\u805a\u5408\u641c\u7d22<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8f93\u5165\uff1a<code>\u805a\u5408\u641c\u7d22 2026\u5e74\u524d\u7aef\u5f00\u53d1\u6700\u65b0\u8d8b\u52bf<\/code><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6548\u679c\uff1a\u5e76\u53d1\u8c03\u7528\u6240\u6709\u542f\u7528\u5f15\u64ce\uff0c\u81ea\u52a8\u53bb\u91cd\u6392\u5e8f\uff0c\u8fd4\u56de\u7edf\u4e00\u7684\u9ad8\u8d28\u91cf\u7ed3\u679c\uff0c\u540c\u65f6\u663e\u793a\u5404\u5f15\u64ce\u8d21\u732e\u6761\u6570<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u6280\u672f\u5b9a\u5411\u641c\u7d22<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8f93\u5165\uff1a<code>\u6280\u672f\u641c\u7d22 Node.js \u591a\u7ebf\u7a0b\u5b9e\u73b0\u65b9\u6848<\/code><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6548\u679c\uff1a\u81ea\u52a8\u5f00\u542f\u6280\u672f\u57df\u540d\u767d\u540d\u5355\uff0c\u53ea\u8fd4\u56de GitHub\u3001StackOverflow\u3001MDN \u7b49\u6280\u672f\u7ad9\u70b9\u7ed3\u679c\uff0c\u8fc7\u6ee4\u65e0\u5173\u5185\u5bb9<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3. \u8d44\u8baf\u70ed\u70b9\u641c\u7d22<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8f93\u5165\uff1a<code>\u8d44\u8baf\u641c\u7d22 \u8fd1\u671fAI\u884c\u4e1a\u6700\u65b0\u52a8\u6001<\/code><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6548\u679c\uff1a\u4f18\u5316\u5f15\u64ce\u6743\u91cd\uff0c\u4f18\u5148\u8fd4\u56de\u65f6\u6548\u6027\u5f3a\u7684\u8d44\u8baf\u7ed3\u679c<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">4. \u5931\u8d25\u964d\u7ea7\u6d4b\u8bd5<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6545\u610f\u586b\u9519\u4e00\u4e2a\u5f15\u64ce\u7684\u5bc6\u94a5\uff0c\u6267\u884c\u641c\u7d22\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6548\u679c\uff1a\u51fa\u9519\u5f15\u64ce\u81ea\u52a8\u8df3\u8fc7\uff0c\u5176\u4ed6\u5f15\u64ce\u6b63\u5e38\u8fd4\u56de\u7ed3\u679c\uff0c\u5168\u7a0b\u65e0\u62a5\u9519\uff0c\u7528\u6237\u65e0\u611f\u964d\u7ea7<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">5. \u7f13\u5b58\u63d0\u901f\u6d4b\u8bd5<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fde\u7eed\u4e24\u6b21\u641c\u7d22\u540c\u4e00\u4e2a\u5173\u952e\u8bcd\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6548\u679c\uff1a\u7b2c\u4e8c\u6b21\u76f4\u63a5\u8bfb\u53d6\u672c\u5730\u7f13\u5b58\uff0c\u6beb\u79d2\u7ea7\u8fd4\u56de\uff0c\u4e0d\u6d88\u8017\u4efb\u4f55 API \u989d\u5ea6<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u516d\u3001\u8fdb\u9636\u9b54\u6539\u62d3\u5c55\u73a9\u6cd5\uff08\u5168\u7f51\u72ec\u5bb6\u601d\u8def\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u57fa\u4e8e\u4ee5\u4e0a\u53ef\u914d\u7f6e\u5316\u67b6\u6784\uff0c\u53ef\u7ee7\u7eed\u6df1\u5ea6\u5b9a\u5236\uff0c\u6253\u9020\u72ec\u5c5e\u4e8e\u4f60\u7684\u805a\u5408\u641c\u7d22\u5de5\u5177\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u65b0\u589e\u81ea\u5b9a\u4e49\u5f15\u64ce<\/strong>\uff1a\u6309\u7167\u73b0\u6709\u6a21\u677f\u6dfb\u52a0\u77e5\u4e4e\u3001GitHub\u3001StackOverflow\u3001\u5c0f\u7ea2\u4e66\u7b49\u5e73\u53f0\u7684\u641c\u7d22\u63a5\u53e3\uff0c\u6253\u9020\u4e13\u5c5e\u9886\u57df\u641c\u7d22\u5f15\u64ce<\/li>\n\n\n\n<li><strong>\u641c\u7d22\u7ed3\u679c\u81ea\u52a8\u5f52\u6863<\/strong>\uff1a\u6bcf\u65e5\u5173\u952e\u8bcd\u641c\u7d22\u7ed3\u679c\u81ea\u52a8\u751f\u6210 Markdown \u6587\u6863\u5b58\u6863\uff0c\u5f62\u6210\u4e2a\u4eba\u4fe1\u606f\u5e93<\/li>\n\n\n\n<li><strong>\u5173\u952e\u8bcd\u5b9a\u65f6\u76d1\u63a7<\/strong>\uff1a\u642d\u914d\u5b9a\u65f6\u4efb\u52a1\uff0c\u76d1\u63a7\u7279\u5b9a\u5173\u952e\u8bcd\u7684\u5168\u7f51\u65b0\u5185\u5bb9\uff0c\u6709\u66f4\u65b0\u81ea\u52a8\u901a\u77e5<\/li>\n\n\n\n<li><strong>\u8054\u52a8 Summarize \u6280\u80fd<\/strong>\uff1a\u641c\u7d22\u5b8c\u6210\u540e\u81ea\u52a8\u8c03\u7528\u589e\u5f3a\u7248\u603b\u7ed3\u6280\u80fd\uff0c\u5bf9\u6240\u6709\u7ed3\u679c\u751f\u6210\u6df1\u5ea6\u805a\u5408\u6458\u8981<\/li>\n\n\n\n<li><strong>\u4ee3\u7406\u914d\u7f6e\u652f\u6301<\/strong>\uff1a\u65b0\u589e\u5168\u5c40\u4ee3\u7406\u53c2\u6570\uff0c\u89e3\u51b3\u90e8\u5206\u5f15\u64ce\u56fd\u5185\u8bbf\u95ee\u95ee\u9898<\/li>\n\n\n\n<li><strong>\u7ed3\u679c\u6253\u5206\u7cfb\u7edf<\/strong>\uff1a\u5f15\u5165\u5185\u5bb9\u76f8\u5173\u6027\u7b97\u6cd5\uff0c\u5bf9\u6bcf\u6761\u7ed3\u679c\u505a\u8d28\u91cf\u6253\u5206\uff0c\u6392\u5e8f\u66f4\u7cbe\u51c6<\/li>\n\n\n\n<li><strong>\u641c\u7d22\u5386\u53f2\u9762\u677f<\/strong>\uff1a\u81ea\u52a8\u4fdd\u5b58\u6240\u6709\u641c\u7d22\u8bb0\u5f55\uff0c\u652f\u6301\u5386\u53f2\u5173\u952e\u8bcd\u56de\u6eaf\u3001\u4e00\u952e\u91cd\u65b0\u641c\u7d22<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e03\u3001\u9b54\u6539\u4e13\u5c5e\u6392\u5751\u6307\u5357<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u9488\u5bf9\u4e8c\u6b21\u5f00\u53d1\u72ec\u6709\u7684\u95ee\u9898\uff0c\u63d0\u4f9b\u5168\u7f51\u72ec\u5bb6\u89e3\u51b3\u65b9\u6848\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u67d0\u5f15\u64ce\u59cb\u7ec8\u8fd4\u56de\u7a7a\u7ed3\u679c<\/strong>\uff1a\u5148\u68c0\u67e5\u5bf9\u5e94 API \u5bc6\u94a5\u662f\u5426\u6b63\u786e\uff0c\u518d\u786e\u8ba4\u8be5\u5f15\u64ce\u5728\u5f53\u524d\u7f51\u7edc\u73af\u5883\u4e0b\u53ef\u6b63\u5e38\u8bbf\u95ee\uff0c\u56fd\u5185\u73af\u5883\u5efa\u8bae\u9ed8\u8ba4\u5173\u95ed\u8c37\u6b4c\u76f8\u5173\u5f15\u64ce<\/li>\n\n\n\n<li><strong>\u7ed3\u679c\u91cd\u590d\u5ea6\u4f9d\u7136\u9ad8<\/strong>\uff1a\u53ef\u4ee5\u7f29\u77ed\u6807\u9898\u53bb\u91cd\u7684\u622a\u53d6\u957f\u5ea6\uff08\u6e90\u7801\u4e2d<code>slice(0, 20)<\/code>\u6539\u5c0f\uff09\uff0c\u6216\u8005\u589e\u52a0\u57df\u540d\u7ef4\u5ea6\u53bb\u91cd\u903b\u8f91<\/li>\n\n\n\n<li><strong>\u5e76\u53d1\u8bf7\u6c42\u62a5\u9519\u591a<\/strong>\uff1a\u9002\u5f53\u8c03\u5927 <code>GLOBAL_TIMEOUT<\/code> \u8d85\u65f6\u65f6\u95f4\uff0c\u6216\u8005\u51cf\u5c11\u540c\u65f6\u542f\u7528\u7684\u5f15\u64ce\u6570\u91cf<\/li>\n\n\n\n<li><strong>API \u989d\u5ea6\u6d88\u8017\u592a\u5feb<\/strong>\uff1a\u5f00\u542f\u7f13\u5b58\u3001\u5ef6\u957f\u7f13\u5b58\u6709\u6548\u671f\uff0c\u65e5\u5e38\u5e38\u7528\u5173\u952e\u8bcd\u53ef\u5927\u5e45\u51cf\u5c11\u91cd\u590d\u8bf7\u6c42<\/li>\n\n\n\n<li><strong>\u6280\u672f\u6a21\u5f0f\u7ed3\u679c\u592a\u5c11<\/strong>\uff1a\u5728 <code>TECH_DOMAIN_WHITELIST<\/code> \u6570\u7ec4\u91cc\u6dfb\u52a0\u4f60\u5e38\u7528\u7684\u6280\u672f\u7ad9\u70b9\u57df\u540d\u5373\u53ef<\/li>\n\n\n\n<li><strong>\u6280\u80fd\u4e0d\u89e6\u53d1<\/strong>\uff1a\u68c0\u67e5 <code>trigger<\/code> \u91cc\u7684\u5173\u952e\u8bcd\u548c\u4f60\u8f93\u5165\u7684\u5185\u5bb9\u662f\u5426\u5339\u914d\uff0c\u53ef\u81ea\u884c\u6dfb\u52a0\u66f4\u591a\u5524\u9192\u8bcd<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">\u516b\u3001\u6559\u7a0b\u603b\u7ed3<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u6559\u7a0b\u5f7b\u5e95\u8df3\u51fa\u4e86\u300c\u591a\u5f15\u64ce = \u6328\u4e2a\u641c\u4e00\u904d\u300d\u7684\u539f\u751f\u7b80\u964b\u903b\u8f91\uff0c\u628a\u5206\u6563\u7684\u641c\u7d22\u5165\u53e3\u6574\u5408\u6210\u4e86\u4e00\u4e2a\u667a\u80fd\u3001\u9ad8\u6548\u3001\u53ef\u9ad8\u5ea6\u5b9a\u5236\u7684\u805a\u5408\u68c0\u7d22\u5185\u6838\u3002\u5b98\u65b9\u53ea\u80fd\u505a\u7b80\u5355\u7684\u5f15\u64ce\u5806\u780c\uff0c\u9b54\u6539\u7248\u5219\u5b9e\u73b0\u4e86\u7ed3\u679c\u7edf\u4e00\u6cbb\u7406\u3001\u6545\u969c\u65e0\u611f\u964d\u7ea7\u3001\u573a\u666f\u5316\u9002\u914d\u3001\u6548\u7387\u6210\u500d\u63d0\u5347\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6240\u6709\u6e90\u7801\u3001\u67b6\u6784\u8bbe\u8ba1\u3001\u4f18\u5316\u65b9\u6848\u5747\u4e3a\u539f\u521b\u9996\u53d1\uff0c\u7f51\u7edc\u65e0\u4efb\u4f55\u516c\u5f00\u91cd\u590d\u5185\u5bb9\uff0c\u53ef\u76f4\u63a5\u7528\u4e8e\u4e2a\u4eba\u79c1\u6709\u5316\u90e8\u7f72\uff0c\u4e5f\u53ef\u4ee5\u6839\u636e\u81ea\u8eab\u9700\u6c42\u6301\u7eed\u62d3\u5c55\u5f15\u64ce\u548c\u89c4\u5219\uff0c\u6253\u9020\u5b8c\u5168\u9002\u914d\u81ea\u5df1\u5de5\u4f5c\u6d41\u7684\u5168\u7f51\u641c\u7d22\u5165\u53e3\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9700\u8981\u6211\u7ed9\u4f60\u8865\u5145\u77e5\u4e4e\u3001GitHub \u8fd9\u4e24\u4e2a\u5e73\u53f0\u7684\u4e13\u5c5e\u641c\u7d22\u5f15\u64ce\u4ee3\u7801\uff0c\u8fdb\u4e00\u6b65\u62d3\u5c55\u8fd9\u4e2a\u805a\u5408\u6280\u80fd\u5417\uff1f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5168\u7f51\u6240\u6709 OpenClaw \u591a\u5f15\u64ce\u641c\u7d22\u76f8\u5173\u5185\u5bb9\uff0c\u90fd\u53ea\u505c\u7559\u5728\u300c\u542f\u7528\u5b98\u65b9\u81ea\u5e26\u63d2\u4ef6\u3001\u6328\u4e2a\u8c03\u7528\u5355\u5f15\u64ce\u300d\u7684\u57fa\u7840\u5c42\u9762\u3002\u5b98\u65b9 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-71","post","type-post","status-publish","format-standard","hentry","category-mianfeiercikaifalongxiaskill"],"_links":{"self":[{"href":"https:\/\/www.longxiapro.com\/index.php\/wp-json\/wp\/v2\/posts\/71","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.longxiapro.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.longxiapro.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.longxiapro.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.longxiapro.com\/index.php\/wp-json\/wp\/v2\/comments?post=71"}],"version-history":[{"count":1,"href":"https:\/\/www.longxiapro.com\/index.php\/wp-json\/wp\/v2\/posts\/71\/revisions"}],"predecessor-version":[{"id":72,"href":"https:\/\/www.longxiapro.com\/index.php\/wp-json\/wp\/v2\/posts\/71\/revisions\/72"}],"wp:attachment":[{"href":"https:\/\/www.longxiapro.com\/index.php\/wp-json\/wp\/v2\/media?parent=71"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.longxiapro.com\/index.php\/wp-json\/wp\/v2\/categories?post=71"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.longxiapro.com\/index.php\/wp-json\/wp\/v2\/tags?post=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}