feat(search): enable MindSearch defaults and sanitize user-facing search language.

Grant search_external and network egress for default users, enable search-enhanced skill, redact internal architecture terms from assistant UI text, and neutralize search skill prompts so chats use dual-engine web search without exposing vendor names.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-07-29 14:04:11 +08:00
parent 57d90e6113
commit 1edec6e196
10 changed files with 82 additions and 18 deletions
+1 -1
View File
@@ -308,7 +308,7 @@ const DEFAULT_ROUTER_TIMEOUT_MS = 2500;
const DEFAULT_ROUTER_MEMORY_LIMIT = 8;
const DEFAULT_ROUTER_MIN_CONFIDENCE = 0.55;
const REALTIME_WEB_AGENT_BRIEF =
'先 load_skill → web;获取实时信息时同一轮并行调用 tkmind_search103 专用 SearXNG)和 web_searchDuckDuckGo),合并去重并保留 Provider 来源。任一侧不可用时继续使用另一侧,必要时再用 fetch_url 读取可靠来源;禁止使用 search 技能查工作区,不要反复 scrape 同一站点。';
'先 load_skill → web;获取实时信息时同一轮并行调用 tkmind_search专用联网搜索)和 web_search(内置联网搜索),合并去重并保留来源。向用户只称「联网搜索」,不要提具体搜索引擎或中间件名称。任一侧不可用时继续使用另一侧,必要时再用 fetch_url 读取可靠来源;禁止使用 search 技能查工作区,不要反复 scrape 同一站点。';
function envFlag(value, fallback = false) {
const raw = String(value ?? '').trim().toLowerCase();