argo-search 2.11.2 → 2.12.0

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.
Files changed (72) hide show
  1. package/README.en.md +25 -21
  2. package/README.es.md +24 -20
  3. package/README.ja.md +25 -21
  4. package/README.ko.md +24 -20
  5. package/README.md +30 -22
  6. package/SKILL.md +6 -6
  7. package/backends/domain_profiles.json +12 -0
  8. package/backends/engine_registry.yaml +26 -1
  9. package/backends/quota_profiles.json +20 -0
  10. package/bin/argo +7 -0
  11. package/config.yaml +18 -3
  12. package/docs/ENGINE_CATALOG.md +8 -6
  13. package/docs/MCP_SETUP.md +16 -4
  14. package/docs/RELEASE_NOTES_v2.11.2.md +116 -0
  15. package/docs/RELEASE_NOTES_v2.12.0.md +65 -0
  16. package/docs/engines/pixiv.md +27 -0
  17. package/engines/specs/pixiv.yaml +52 -0
  18. package/engines/specs/tracemoe.yaml +33 -0
  19. package/package.json +3 -2
  20. package/packages/dsh-plugin/README.md +20 -11
  21. package/packages/dsh-plugin/dsh/client.js +3 -3
  22. package/packages/dsh-plugin/dsh/index.js +22 -176
  23. package/packages/dsh-plugin/dsh/runner.js +12 -2
  24. package/packages/dsh-plugin/dsh/specs.js +133 -0
  25. package/packages/dsh-plugin/package.json +10 -2
  26. package/packages/dsh-plugin/test/client.test.js +4 -4
  27. package/packages/dsh-plugin/test/diagnostics.test.js +1 -1
  28. package/packages/dsh-plugin/test/index.test.js +28 -2
  29. package/scripts/adaptive.py +101 -27
  30. package/scripts/build_route_labels.py +122 -169
  31. package/scripts/caliber_dedupe.py +4 -4
  32. package/scripts/caliber_isolation.py +17 -17
  33. package/scripts/concept_lookup.py +14 -1
  34. package/scripts/config.py +21 -3
  35. package/scripts/engine_admission.py +35 -17
  36. package/scripts/engine_dispatch.py +16 -16
  37. package/scripts/engine_env.py +4 -0
  38. package/scripts/engine_families.py +6 -4
  39. package/scripts/engines.py +5 -0
  40. package/scripts/engines_base.py +1 -1
  41. package/scripts/engines_builders_data.py +10 -10
  42. package/scripts/engines_builders_pixiv.py +633 -0
  43. package/scripts/engines_builders_reverse_image.py +175 -0
  44. package/scripts/env_store.py +216 -0
  45. package/scripts/extend_route_labels_by_capability.py +4 -4
  46. package/scripts/extend_route_labels_full_coverage.py +329 -0
  47. package/scripts/fetch_v3.py +74 -5
  48. package/scripts/job.py +31 -6
  49. package/scripts/local_image.py +22 -8
  50. package/scripts/mcp_compact.py +9 -1
  51. package/scripts/mcp_launch.sh +1 -1
  52. package/scripts/mcp_setup.py +85 -1
  53. package/scripts/mcp_transport.py +1 -1
  54. package/scripts/plan.py +2 -2
  55. package/scripts/pre-commit +4 -1
  56. package/scripts/query_signals.py +35 -20
  57. package/scripts/quota.py +9 -4
  58. package/scripts/recovery.py +38 -13
  59. package/scripts/redskill/redskill_engine.py +33 -10
  60. package/scripts/route.py +2 -2
  61. package/scripts/route_accuracy_eval.py +2 -2
  62. package/scripts/route_combo.py +22 -3
  63. package/scripts/route_domains.py +182 -50
  64. package/scripts/search.py +0 -2
  65. package/scripts/search_entry.py +38 -42
  66. package/scripts/search_output.py +3 -0
  67. package/scripts/search_pipeline.py +3 -8
  68. package/scripts/search_rank.py +22 -7
  69. package/scripts/serp_guard.py +7 -16
  70. package/scripts/settings_page.py +486 -0
  71. package/scripts/straggler_policy.py +8 -4
  72. package/scripts/tfidf_router.py +82 -24
@@ -349,8 +349,10 @@ def _build_saucenao_engine(spec: dict[str, Any]) -> Any:
349
349
  index_name = str(item_header.get("index_name") or "").strip()
350
350
  author = _saucenao_author(item_data)
351
351
  thumb = str(item_header.get("thumbnail") or "").strip()
352
+ pixiv_id = item_data.get("pixiv_id")
352
353
  bits = [b for b in (
353
354
  f"相似度 {sim:g}%" if sim > 0 else "",
355
+ f"作品 {pixiv_id}" if pixiv_id else "",
354
356
  f"库 {index_name}" if index_name else "",
355
357
  f"作者 {author}" if author else "",
356
358
  f"素材 {item_data.get('material')}" if item_data.get("material") else "",
@@ -359,6 +361,8 @@ def _build_saucenao_engine(spec: dict[str, Any]) -> Any:
359
361
  "title": _saucenao_title(item_data, index_name)[:200],
360
362
  "url": page_url,
361
363
  "snippet": " · ".join(bits)[:300],
364
+ "author": author,
365
+ "similarity": sim,
362
366
  "source": spec.get("_name") or "saucenao",
363
367
  "score": rank_score(min(sim / 100.0, 1.0) if sim > 0 else 0.6, len(results)),
364
368
  "metadata": {
@@ -781,3 +785,174 @@ def _build_animetrace_engine(spec: dict[str, Any]) -> Any:
781
785
  break
782
786
  return results
783
787
  return _engine
788
+
789
+
790
+ # ── trace.moe(动画场景识别,免 key、按 IP 限频)────────────────────────────
791
+
792
+ _TRACEMOE_ENDPOINT = "https://api.trace.moe/search"
793
+
794
+ # 上游 error 字段的语义:error 非空 = 上游没查成(拉不到图、配额用尽等),
795
+ # 不能当「没找到」。quota/quotaUsed 用于配额可见性,非失败信号。
796
+
797
+
798
+ def _tracemoe_error(payload: str) -> dict[str, Any]:
799
+ """把上游 error 文本合成一条可读错误。"""
800
+ msg = ""
801
+ try:
802
+ obj = json.loads(payload)
803
+ except (json.JSONDecodeError, ValueError):
804
+ obj = None
805
+ if isinstance(obj, dict):
806
+ msg = str(obj.get("error") or "").strip()
807
+ elif payload:
808
+ msg = payload.strip()[:160]
809
+ return {"error": msg or "请求失败", "source": "tracemoe"}
810
+
811
+
812
+ def _tracemoe_get(image_url: str, timeout: float, engine: str) -> str | None:
813
+ """GET 查询 trace.moe;上游在 Cloudflare 之后,须走 TLS 指纹伪造。
814
+
815
+ 返回响应文本;失败返回 None。走 curl_cffi impersonate(与 SauceNAO 同口径)。
816
+ 实测:POST JSON 上游回 400,GET query 参数 200 可用。
817
+ """
818
+ try:
819
+ from curl_cffi import requests as cr
820
+ except ImportError:
821
+ return None
822
+ proxies = None
823
+ try:
824
+ from net_proxy import resolve_proxy
825
+ # 显式 override:ARGO_TRACEMOE_PROXY 优先于 config.yaml 域规则;
826
+ # 未设置(get_env 回 None)时照走 rules→全局→标准 env 的常规链
827
+ p = resolve_proxy(_TRACEMOE_ENDPOINT,
828
+ override=get_env("ARGO_TRACEMOE_PROXY"))
829
+ if p:
830
+ proxies = {"https": p}
831
+ except Exception:
832
+ proxies = None
833
+ last: Exception | None = None
834
+ for fp in ("chrome", "safari"):
835
+ try:
836
+ resp = cr.get(_TRACEMOE_ENDPOINT, params={"url": image_url},
837
+ headers={"Accept": "application/json"},
838
+ timeout=timeout, impersonate=fp, proxies=proxies)
839
+ except Exception as e:
840
+ last = e
841
+ continue
842
+ if resp.status_code == 200:
843
+ return resp.text
844
+ last = RuntimeError(f"HTTP {resp.status_code} · {resp.text[:120]}")
845
+ return None
846
+
847
+
848
+ def _tracemoe_episode(item: dict[str, Any]) -> str:
849
+ """把 episode 字段归一成可读文本;上游可能是 int、str 或 null。"""
850
+ ep = item.get("episode")
851
+ if ep is None:
852
+ return ""
853
+ if isinstance(ep, str) and "|" in ep:
854
+ return f"第 {ep} 话"
855
+ try:
856
+ return f"第 {int(ep)} 话"
857
+ except (TypeError, ValueError):
858
+ return f"第 {ep} 话"
859
+
860
+
861
+ def _tracemoe_timestamp(seconds: float) -> str:
862
+ """把秒数归一成 mm:ss;上游 from/to 是浮点秒。"""
863
+ try:
864
+ total = int(float(seconds))
865
+ except (TypeError, ValueError):
866
+ return ""
867
+ return f"{total // 60:02d}:{total % 60:02d}"
868
+
869
+
870
+ def _build_tracemoe_engine(spec: dict[str, Any]) -> Any:
871
+ """trace.moe 动画场景识别(免 key,POST JSON 传图片 URL)。
872
+
873
+ 上游返回「这张截图出自动画第几集的哪个时间点」,条目带 similarity(0-1)
874
+ 与 AniList ID。url 槽填 AniList 作品页(下一步去哪儿查证的入口),不是
875
+ 宣称这张图就出自该页——与 AnimeTrace 同口径。
876
+ """
877
+ timeout = spec.get("timeout", 20)
878
+ min_sim = float(spec.get("min_similarity", 0.7) or 0.7)
879
+
880
+ @safe_search
881
+ def _engine(query: str, n: int = 5, _timeout: float | None = None, **kwargs) -> list[dict[str, Any]]:
882
+ q = (query or "").strip()
883
+ is_local = _local_image_path(q) is not None
884
+ if not is_local and not _IMAGE_URL_RE.match(q):
885
+ return _image_input_error("tracemoe", q)
886
+ if is_local:
887
+ # trace.moe 只收公网可访问的图片 URL,没有上传端点。本地图直接
888
+ # 返回可读错误——把 base64 塞进 url 参数上游会回 400/422,不如
889
+ # 在入口说清「这条路走不通」。
890
+ return [{"error": "trace.moe 只收公网图片 URL,不支持本地图片上传;"
891
+ f"收到本地路径「{q}」",
892
+ "source": "tracemoe"}]
893
+ raw = _tracemoe_get(q, float(_timeout or timeout), spec.get("_name", ""))
894
+ if raw is None:
895
+ return []
896
+ try:
897
+ payload = json.loads(raw)
898
+ except (json.JSONDecodeError, ValueError):
899
+ return []
900
+ if not isinstance(payload, dict):
901
+ return []
902
+ if payload.get("error"):
903
+ return [_tracemoe_error(raw)]
904
+ results: list[dict[str, Any]] = []
905
+ seen: set[int] = set()
906
+ for item in payload.get("result") or []:
907
+ if len(results) >= max(1, int(n)):
908
+ break
909
+ if not isinstance(item, dict):
910
+ continue
911
+ anilist_id = item.get("anilist")
912
+ if isinstance(anilist_id, int) and anilist_id in seen:
913
+ continue
914
+ if isinstance(anilist_id, int):
915
+ seen.add(anilist_id)
916
+ try:
917
+ sim = float(item.get("similarity") or 0)
918
+ except (TypeError, ValueError):
919
+ sim = 0.0
920
+ if sim < min_sim:
921
+ continue
922
+ filename = str(item.get("filename") or "").strip()
923
+ episode = _tracemoe_episode(item)
924
+ at = _tracemoe_timestamp(item.get("at"))
925
+ thumb = str(item.get("image") or "").strip()
926
+ video = str(item.get("video") or "").strip()
927
+ bits = [b for b in (
928
+ f"相似度 {sim * 100:.1f}%" if sim > 0 else "",
929
+ f"作品 {anilist_id}" if anilist_id else "",
930
+ episode,
931
+ f"时间点 {at}" if at else "",
932
+ f"文件 {filename[:80]}" if filename else "",
933
+ ) if b]
934
+ title = filename[:200] or f"trace.moe 匹配 {anilist_id}"
935
+ url = f"https://anilist.co/anime/{anilist_id}" if anilist_id else video or thumb
936
+ if not url:
937
+ continue
938
+ results.append({
939
+ "title": title,
940
+ "url": url,
941
+ "snippet": " · ".join(bits)[:300],
942
+ "source": spec.get("_name") or "tracemoe",
943
+ "score": rank_score(min(sim, 1.0) if sim > 0 else 0.6, len(results)),
944
+ "metadata": {
945
+ "similarity": sim,
946
+ "anilist_id": anilist_id,
947
+ "filename": filename,
948
+ "episode": item.get("episode"),
949
+ "at": item.get("at"),
950
+ "video": video,
951
+ "image": thumb,
952
+ "quota": payload.get("quota"),
953
+ "quota_used": payload.get("quotaUsed"),
954
+ },
955
+ **({"image_url": thumb} if thumb else {}),
956
+ })
957
+ return results
958
+ return _engine
@@ -0,0 +1,216 @@
1
+ #!/usr/bin/env python3
2
+ """env_store — env 密钥文件写回(settings set/apply 的唯一写路径)。
3
+
4
+ 定位(2026-11-07,方案 A/B 共用地基):engine_env 只读不写,全仓此前没有
5
+ 一条安全的 envfile 写路径;#41 类「装了引擎全 skipped」的修复动作因此只能
6
+ 让用户手改文件。本模块把写回收口到一处:
7
+
8
+ - 行级补丁,不整文件重写:注释、空行、未知行原样保留(与 mcp_setup 的
9
+ 「保留未改动子树原文」同一哲学);
10
+ - 候选链合并:`ARGO_X` 与历史裸名 `X` 视为同一逻辑键(复用
11
+ engine_env._name_variants)——set 时首个命中行就地替换、其余命中行删除,
12
+ 不留「一半读得到一半读不到」的分裂键(#41 同根因);
13
+ - 值经 shlex 引用:空格/井号等特殊字符不会把一行拆成两行;
14
+ - 原子写 + 0600 + 单份 .bak 备份(argo_paths.atomic_write_text 唯一来源);
15
+ - 写后 reset_envfile_cache(),本进程与常驻 daemon 的下一次读取立即见新值。
16
+
17
+ 安全红线:任何回显/日志/报告只准出现键名与掩码尾 4 位,明文值出了调用方的
18
+ stdin / JSON 输入就不该再出现在任何输出里。
19
+ """
20
+ from __future__ import annotations
21
+
22
+ import re
23
+ import shlex
24
+ import sys
25
+ from pathlib import Path
26
+ from typing import Any
27
+
28
+ sys.path.insert(0, str(Path(__file__).resolve().parent))
29
+
30
+ import argo_paths # noqa: E402
31
+ import engine_env # noqa: E402
32
+
33
+ # env 变量名:字母/下划线开头,仅字母数字下划线(含小写——跨平台 env 不强求大写)
34
+ _KEY_RE = re.compile(r"^[A-Za-z_][A-Za-z0-9_]*$")
35
+
36
+ # 值里出现这些字符才需要引用;纯安全集不加引号,保持文件可读
37
+ _SAFE_VALUE_RE = re.compile(r"^[A-Za-z0-9_@%+=:,./^-]+$")
38
+
39
+
40
+ class EnvStoreError(ValueError):
41
+ """键名/值/请求形状非法。消息面向 CLI 直接展示。"""
42
+
43
+
44
+ def mask(value: str) -> str:
45
+ """掩码:只承认「已配置」与尾 4 位,任何长度都不回显明文。"""
46
+ v = (value or "").strip()
47
+ if not v:
48
+ return "缺失"
49
+ if len(v) >= 8:
50
+ return f"已配置(…{v[-4:]})"
51
+ return "已配置"
52
+
53
+
54
+ def _quote_value(value: str) -> str:
55
+ if "\n" in value or "\r" in value:
56
+ raise EnvStoreError("值不能包含换行(一行一个变量)")
57
+ if not value:
58
+ raise EnvStoreError("值不能为空(要清除请用 unset)")
59
+ if _SAFE_VALUE_RE.fullmatch(value):
60
+ return value
61
+ return shlex.quote(value)
62
+
63
+
64
+ def _validate_names(names: list[str]) -> None:
65
+ for n in names:
66
+ if not _KEY_RE.fullmatch(n or ""):
67
+ raise EnvStoreError(f"非法变量名:{n!r}(仅字母/数字/下划线,"
68
+ "字母或下划线开头)")
69
+
70
+
71
+ def _parse_line(line: str) -> tuple[str, str] | None:
72
+ """解析出 entry 的 (key, value);注释/空行/无法解析行返回 None。
73
+
74
+ 解析口径与 engine_env._parse_envfile 一致(export 前缀、shlex、引号),
75
+ 不复用该私有函数:本模块要的是「逐行」而非「整文件字典」。
76
+ """
77
+ s = line.strip()
78
+ if not s or s.startswith("#"):
79
+ return None
80
+ if s.startswith("export "):
81
+ s = s[len("export "):]
82
+ if "=" not in s:
83
+ return None
84
+ k, _, v = s.partition("=")
85
+ k = k.strip()
86
+ if not k:
87
+ return None
88
+ return k, v.strip()
89
+
90
+
91
+
92
+
93
+ def patch_lines(lines: list[str], sets: dict[str, str],
94
+ unsets: list[str]) -> tuple[list[str], dict[str, Any]]:
95
+ """行级补丁。返回 (新行列表, 报告);报告只含键名与动作,不含任何值。"""
96
+ sets = dict(sets or {})
97
+ unsets = list(unsets or [])
98
+ _validate_names(list(sets) + list(unsets))
99
+ conflict = sorted(set(sets) & set(unsets))
100
+ if conflict:
101
+ raise EnvStoreError(f"同一键同时出现在 set 与 unset:{', '.join(conflict)}")
102
+
103
+ report: dict[str, Any] = {"replaced": [], "appended": [],
104
+ "merged_legacy": [], "removed": [],
105
+ "absent": []}
106
+
107
+ # 逐逻辑键处理:命中行就地替换为规范名,多余命中行删除
108
+ for key, value in sets.items():
109
+ variants = set(engine_env._name_variants(key))
110
+ replaced = False
111
+ kept: list[str] = []
112
+ for line in lines:
113
+ parsed = _parse_line(line)
114
+ if parsed and parsed[0] in variants:
115
+ if not replaced:
116
+ nl = "\n" if line.endswith("\n") else ""
117
+ kept.append(f"{key}={_quote_value(value)}{nl}")
118
+ report["replaced"].append(key)
119
+ if parsed[0] != key:
120
+ report["merged_legacy"].append(parsed[0])
121
+ replaced = True
122
+ else:
123
+ if parsed[0] != key:
124
+ report["merged_legacy"].append(parsed[0])
125
+ else:
126
+ report["merged_legacy"].append(key)
127
+ else:
128
+ kept.append(line)
129
+ if not replaced:
130
+ # 末行无换行时先补上,否则新行会粘在旧值尾部("B=2C=3")
131
+ if kept and not kept[-1].endswith("\n"):
132
+ kept[-1] += "\n"
133
+ kept.append(f"{key}={_quote_value(value)}\n")
134
+ report["appended"].append(key)
135
+ lines = kept
136
+
137
+ for key in unsets:
138
+ variants = set(engine_env._name_variants(key))
139
+ kept: list[str] = []
140
+ removed = False
141
+ for line in lines:
142
+ parsed = _parse_line(line)
143
+ if parsed and parsed[0] in variants:
144
+ removed = True
145
+ report["removed"].append(key)
146
+ continue
147
+ kept.append(line)
148
+ lines = kept
149
+ if not removed:
150
+ report["absent"].append(key) # 文件里本就没有,如实入账
151
+
152
+ # 保证文件以换行结尾
153
+ if lines and not lines[-1].endswith("\n"):
154
+ lines[-1] = lines[-1] + "\n"
155
+ return lines, report
156
+
157
+
158
+ def envfile_path() -> Path:
159
+ """写回目标:与读取同一候选链的首选路径(显式 ARGO_ENV_FILE 优先)。"""
160
+ return engine_env._envfile_path()
161
+
162
+
163
+ def apply_changes(sets: dict[str, str] | None = None,
164
+ unsets: list[str] | None = None) -> dict[str, Any]:
165
+ """校验 → 行级补丁 → 备份 → 原子写 → 失效缓存。报告不含任何明文值。"""
166
+ sets = dict(sets or {})
167
+ unsets = list(unsets or [])
168
+ if not sets and not unsets:
169
+ raise EnvStoreError("空变更:没有要写入或清除的键")
170
+
171
+ path = envfile_path()
172
+ old_text = path.read_text(encoding="utf-8") if path.is_file() else ""
173
+ lines = old_text.splitlines(keepends=True)
174
+
175
+ new_lines, report = patch_lines(lines, sets, unsets)
176
+ new_text = "".join(new_lines)
177
+ if new_text and not new_text.endswith("\n"):
178
+ new_text += "\n"
179
+
180
+ backup: str | None = None
181
+ if path.is_file():
182
+ backup_path = path.with_suffix(path.suffix + ".bak")
183
+ # 备份同样走原子写 + 0600:先写后 chmod 会留一个按 umask(常为 0644)
184
+ # 可读的窗口,而备份里是旧密钥明文
185
+ argo_paths.atomic_write_text(backup_path, old_text, mode=0o600)
186
+ backup = str(backup_path)
187
+
188
+ path.parent.mkdir(parents=True, exist_ok=True)
189
+ argo_paths.atomic_write_text(path, new_text, mode=0o600)
190
+
191
+ engine_env.reset_envfile_cache()
192
+
193
+ report["path"] = str(path)
194
+ report["backup"] = backup
195
+ return report
196
+
197
+
198
+ def format_report(report: dict[str, Any]) -> str:
199
+ """把报告渲染成人话(键名 + 动作 + 路径;无任何值)。"""
200
+ out: list[str] = []
201
+ if report.get("replaced"):
202
+ out.append("已覆盖:" + "、".join(report["replaced"]))
203
+ if report.get("appended"):
204
+ out.append("已新增:" + "、".join(report["appended"]))
205
+ if report.get("merged_legacy"):
206
+ out.append("合并历史裸名行:" + "、".join(sorted(set(
207
+ report["merged_legacy"]))))
208
+ if report.get("removed"):
209
+ out.append("已清除:" + "、".join(sorted(set(report["removed"]))))
210
+ if report.get("absent"):
211
+ out.append("未找到(无需清除):" + "、".join(sorted(set(
212
+ report["absent"]))))
213
+ out.append(f"写入 {report.get('path', '?')}"
214
+ + (f"(旧文件备份在 {report['backup']})"
215
+ if report.get("backup") else "(新建文件)"))
216
+ return "\n".join(out)
@@ -71,7 +71,7 @@ _CAPABILITY_GROUPS: list[tuple[str, list[str], list[tuple[str, str]]]] = [
71
71
  # us_legal 的 patterns 是英文(supreme court / court of appeals),
72
72
  # 中文「最高法院」不该命中它——用英文判例词。
73
73
  ("supreme court ruling 2026", "us_legal"),
74
- ("刑法 第二百三十四条 故意伤害罪", "legal"),
74
+ ("故意伤害罪 量刑 标准 刑法", "legal"),
75
75
  ("法律条文 全文 民法典 一千二百六十条", "law_text"),
76
76
  ("国家标准 GB/T 2023 全文", "standards"),
77
77
  ("裁判文书 判决书 2024 民事", "wenshu_query"),
@@ -86,10 +86,10 @@ _CAPABILITY_GROUPS: list[tuple[str, list[str], list[tuple[str, str]]]] = [
86
86
  # hk_filings 与 sec_filings 是同类域且只差 1 位(13 vs 12),
87
87
  # 「招股书」被 sec_filings 的宽 pattern 抢走主位;这里只校验
88
88
  # **目标域在命中列表里**(见 build() 的判据),不要求主位。
89
- ("港股 港交所 披露易 招股书", "hk_filings"),
89
+ ("香港上市 招股说明书 披露易", "hk_filings"),
90
90
  ("人民币 美元 中间价 汇率 今日", "fx_query"),
91
91
  ("沪铜 期货 今日 行情", "futures_market"),
92
- ("中国 2024 进出口 贸易额 数据", "trade_stats"),
92
+ ("海关总署 进出口 数据 统计", "trade_stats"),
93
93
  ("比特币 以太坊 币价 今日", "crypto_search"),
94
94
  ]),
95
95
  # ── 代码/依赖(5 域)──
@@ -165,7 +165,7 @@ _CAPABILITY_GROUPS: list[tuple[str, list[str], list[tuple[str, str]]]] = [
165
165
  ("全球事件 地缘政治 局势 最新", "global_event"),
166
166
  ("세계 뉴스 today", "world_news"),
167
167
  ("国际新闻 今日 要闻", "intl_news_flash"),
168
- ("东财资讯 7x24 财经快讯", "em_news_search"),
168
+ ("东财资讯 7x24 全球资讯", "em_news_search"),
169
169
  ("财联社电报 最新", "cls_telegraph_search"),
170
170
  ("金十 财经快讯 7x24", "jin10_flash"),
171
171
  ]),