argo-search 2.12.0 → 2.14.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 (371) hide show
  1. package/AGENTS.md +93 -0
  2. package/README.en.md +35 -12
  3. package/README.es.md +35 -12
  4. package/README.ja.md +38 -13
  5. package/README.ko.md +35 -12
  6. package/README.md +69 -42
  7. package/SKILL.md +4 -4
  8. package/assets/readme/counts.json +1 -0
  9. package/assets/readme/hero.svg +1 -1
  10. package/backends/domain_profiles.json +78 -6
  11. package/backends/engine_registry.yaml +188 -22
  12. package/backends/env_passthrough.txt +75 -0
  13. package/backends/quota_profiles.json +132 -12
  14. package/bin/argo +3 -0
  15. package/config.yaml +34 -3524
  16. package/docs/ARGO_INTRO.md +4 -3
  17. package/docs/CHANGELOG.md +337 -0
  18. package/docs/COMMIT_STANDARD.md +98 -0
  19. package/docs/ENGINE_CATALOG.md +65 -48
  20. package/docs/QUALITY_OF_SLOW_SOURCES.md +115 -0
  21. package/docs/RELEASE_NOTES_v2.13.0.md +66 -0
  22. package/docs/RELEASE_NOTES_v2.14.0.md +77 -0
  23. package/docs/RELEASING.md +47 -0
  24. package/docs//344/270/272/344/273/200/344/271/210/351/200/211/346/213/251argo.md +7 -7
  25. package/engines/specs/anysearch.yaml +33 -0
  26. package/engines/specs/archive_org.yaml +31 -0
  27. package/engines/specs/arxiv.yaml +18 -0
  28. package/engines/specs/baidu_baike.yaml +16 -0
  29. package/engines/specs/baidu_hot.yaml +19 -0
  30. package/engines/specs/bilibili.yaml +33 -0
  31. package/engines/specs/bilibili_hot.yaml +19 -0
  32. package/engines/specs/bing_rss.yaml +17 -0
  33. package/engines/specs/biorxiv.yaml +2 -0
  34. package/engines/specs/bocha.yaml +26 -0
  35. package/engines/specs/bocha_ai.yaml +27 -0
  36. package/engines/specs/brave.yaml +20 -0
  37. package/engines/specs/byted.yaml +33 -0
  38. package/engines/specs/clinicaltrials.yaml +23 -0
  39. package/engines/specs/cls_telegraph.yaml +19 -0
  40. package/engines/specs/cnii.yaml +21 -0
  41. package/engines/specs/cninfo.yaml +14 -0
  42. package/engines/specs/coingecko.yaml +33 -0
  43. package/engines/specs/courtlistener.yaml +15 -0
  44. package/engines/specs/crates.yaml +30 -0
  45. package/engines/specs/crossref.yaml +27 -0
  46. package/engines/specs/csdn.yaml +18 -0
  47. package/engines/specs/dblp.yaml +29 -0
  48. package/engines/specs/dbpedia.yaml +32 -0
  49. package/engines/specs/devto.yaml +26 -0
  50. package/engines/specs/dnb.yaml +17 -0
  51. package/engines/specs/doaj.yaml +17 -0
  52. package/engines/specs/docker_hub.yaml +30 -0
  53. package/engines/specs/douban_book.yaml +14 -0
  54. package/engines/specs/douyin_hot.yaml +21 -0
  55. package/engines/specs/eastmoney.yaml +16 -0
  56. package/engines/specs/ecosia.yaml +18 -0
  57. package/engines/specs/electricity_maps.yaml +17 -0
  58. package/engines/specs/em_flow.yaml +14 -0
  59. package/engines/specs/em_global_news.yaml +17 -0
  60. package/engines/specs/em_miaoxiang.yaml +14 -0
  61. package/engines/specs/eu_opendata.yaml +16 -0
  62. package/engines/specs/europeana.yaml +19 -0
  63. package/engines/specs/europepmc.yaml +29 -0
  64. package/engines/specs/eurostat.yaml +14 -0
  65. package/engines/specs/exa.yaml +20 -0
  66. package/engines/specs/felo.yaml +25 -0
  67. package/engines/specs/figshare.yaml +17 -0
  68. package/engines/specs/finviz.yaml +15 -0
  69. package/engines/specs/fourget.yaml +23 -0
  70. package/engines/specs/fr_opendata.yaml +28 -0
  71. package/engines/specs/frankfurter.yaml +21 -0
  72. package/engines/specs/fred.yaml +15 -0
  73. package/engines/specs/free_dictionary.yaml +16 -0
  74. package/engines/specs/fx_rate.yaml +14 -0
  75. package/engines/specs/gbfs_nyc.yaml +3 -0
  76. package/engines/specs/gbif.yaml +15 -0
  77. package/engines/specs/github.yaml +25 -0
  78. package/engines/specs/google_patents.yaml +16 -0
  79. package/engines/specs/google_scholar.yaml +16 -0
  80. package/engines/specs/gov_policy.yaml +31 -0
  81. package/engines/specs/grep_app.yaml +19 -0
  82. package/engines/specs/gutenberg.yaml +15 -0
  83. package/engines/specs/hackernews.yaml +18 -0
  84. package/engines/specs/hal.yaml +16 -0
  85. package/engines/specs/hatena_bookmark.yaml +20 -0
  86. package/engines/specs/hf_papers.yaml +26 -0
  87. package/engines/specs/huggingface.yaml +31 -0
  88. package/engines/specs/imdb.yaml +18 -0
  89. package/engines/specs/itotii.yaml +17 -0
  90. package/engines/specs/itunes.yaml +19 -0
  91. package/engines/specs/jin10.yaml +15 -0
  92. package/engines/specs/juejin.yaml +16 -0
  93. package/engines/specs/kaggle.yaml +44 -0
  94. package/engines/specs/know_your_meme.yaml +18 -0
  95. package/engines/specs/kor_law.yaml +17 -0
  96. package/engines/specs/lieu.yaml +18 -0
  97. package/engines/specs/listenbrainz.yaml +4 -0
  98. package/engines/specs/local_arxiv.yaml +18 -0
  99. package/engines/specs/local_baidu.yaml +35 -0
  100. package/engines/specs/local_bing.yaml +16 -0
  101. package/engines/specs/local_bing_news.yaml +22 -0
  102. package/engines/specs/local_crossref.yaml +23 -0
  103. package/engines/specs/local_github.yaml +27 -0
  104. package/engines/specs/local_gitlab.yaml +23 -0
  105. package/engines/specs/local_goodreads.yaml +16 -0
  106. package/engines/specs/local_google_news.yaml +15 -0
  107. package/engines/specs/local_imdb.yaml +17 -0
  108. package/engines/specs/local_npm.yaml +25 -0
  109. package/engines/specs/local_openstreetmap.yaml +36 -0
  110. package/engines/specs/local_pubmed.yaml +21 -0
  111. package/engines/specs/local_search.yaml +22 -0
  112. package/engines/specs/local_seek.yaml +34 -0
  113. package/engines/specs/local_semantic_scholar.yaml +23 -0
  114. package/engines/specs/local_sogou.yaml +15 -0
  115. package/engines/specs/local_stackoverflow.yaml +26 -0
  116. package/engines/specs/local_wikipedia.yaml +26 -0
  117. package/engines/specs/local_wikiquote.yaml +26 -0
  118. package/engines/specs/local_wiktionary.yaml +26 -0
  119. package/engines/specs/local_yandex.yaml +37 -0
  120. package/engines/specs/marginalia.yaml +22 -0
  121. package/engines/specs/mdn.yaml +32 -0
  122. package/engines/specs/met_museum.yaml +4 -2
  123. package/engines/specs/metaso.yaml +19 -0
  124. package/engines/specs/models_dev.yaml +16 -0
  125. package/engines/specs/moegirl.yaml +19 -0
  126. package/engines/specs/mojeek.yaml +31 -0
  127. package/engines/specs/musicbrainz.yaml +31 -0
  128. package/engines/specs/mwmbl.yaml +39 -0
  129. package/engines/specs/nasa_cmr.yaml +15 -0
  130. package/engines/specs/nbs_stats.yaml +16 -0
  131. package/engines/specs/ndl.yaml +17 -0
  132. package/engines/specs/noaa_swpc.yaml +3 -0
  133. package/engines/specs/npm.yaml +62 -0
  134. package/engines/specs/octen.yaml +16 -0
  135. package/engines/specs/open_library.yaml +15 -0
  136. package/engines/specs/open_meteo.yaml +17 -0
  137. package/engines/specs/openaire.yaml +34 -0
  138. package/engines/specs/openalex.yaml +27 -0
  139. package/engines/specs/opencitations.yaml +4 -1
  140. package/engines/specs/opencorporates.yaml +19 -0
  141. package/engines/specs/openfda.yaml +15 -0
  142. package/engines/specs/opensky.yaml +17 -0
  143. package/engines/specs/openverse.yaml +42 -0
  144. package/engines/specs/parallel.yaml +22 -0
  145. package/engines/specs/parallel_free.yaml +20 -0
  146. package/engines/specs/polymarket.yaml +26 -0
  147. package/engines/specs/pubchem.yaml +15 -0
  148. package/engines/specs/pypi.yaml +16 -0
  149. package/engines/specs/qiita.yaml +28 -0
  150. package/engines/specs/qq_music.yaml +17 -0
  151. package/engines/specs/qwant.yaml +19 -0
  152. package/engines/specs/qweather.yaml +14 -0
  153. package/engines/specs/rcsb_pdb.yaml +15 -0
  154. package/engines/specs/reddit.yaml +28 -0
  155. package/engines/specs/redskill.yaml +24 -0
  156. package/engines/specs/repology.yaml +18 -0
  157. package/engines/specs/rfc_editor.yaml +15 -0
  158. package/engines/specs/satnogs.yaml +5 -1
  159. package/engines/specs/searchmysite.yaml +18 -0
  160. package/engines/specs/searxng.yaml +18 -0
  161. package/engines/specs/sec_companyfacts.yaml +22 -0
  162. package/engines/specs/seeking_alpha.yaml +15 -0
  163. package/engines/specs/seltz.yaml +39 -0
  164. package/engines/specs/semantic_scholar.yaml +18 -0
  165. package/engines/specs/shenma.yaml +13 -0
  166. package/engines/specs/sina_quote.yaml +15 -0
  167. package/engines/specs/so.yaml +13 -0
  168. package/engines/specs/stackoverflow.yaml +18 -0
  169. package/engines/specs/steam.yaml +30 -0
  170. package/engines/specs/tatoeba.yaml +17 -0
  171. package/engines/specs/tavily.yaml +26 -0
  172. package/engines/specs/tencent_kline.yaml +18 -0
  173. package/engines/specs/tencent_quote.yaml +14 -0
  174. package/engines/specs/thesportsdb.yaml +18 -0
  175. package/engines/specs/ths_hot.yaml +19 -0
  176. package/engines/specs/tinyfish.yaml +36 -0
  177. package/engines/specs/tinyfish_news.yaml +34 -0
  178. package/engines/specs/tinyfish_paper.yaml +34 -0
  179. package/engines/specs/toutiao_hot.yaml +19 -0
  180. package/engines/specs/twitter.yaml +36 -0
  181. package/engines/specs/uapi.yaml +18 -0
  182. package/engines/specs/uniprot.yaml +16 -0
  183. package/engines/specs/urban_dictionary.yaml +25 -0
  184. package/engines/specs/usda.yaml +17 -0
  185. package/engines/specs/usgs.yaml +15 -0
  186. package/engines/specs/v2ex.yaml +33 -0
  187. package/engines/specs/vam.yaml +34 -0
  188. package/engines/specs/wallhaven.yaml +51 -0
  189. package/engines/specs/wallstreetcn.yaml +31 -0
  190. package/engines/specs/wayback_cdx.yaml +15 -0
  191. package/engines/specs/weather_cn.yaml +33 -0
  192. package/engines/specs/wechat_sogou.yaml +13 -0
  193. package/engines/specs/weibo.yaml +21 -0
  194. package/engines/specs/weibo_hot.yaml +21 -0
  195. package/engines/specs/wenshu.yaml +14 -0
  196. package/engines/specs/weread.yaml +14 -0
  197. package/engines/specs/wiby.yaml +18 -0
  198. package/engines/specs/wikidata.yaml +33 -0
  199. package/engines/specs/wikipedia.yaml +36 -0
  200. package/engines/specs/wolframalpha.yaml +18 -0
  201. package/engines/specs/worldbank.yaml +15 -0
  202. package/engines/specs/xiaohongshu.yaml +25 -0
  203. package/engines/specs/yahoo_finance.yaml +22 -0
  204. package/engines/specs/you.yaml +22 -0
  205. package/engines/specs/zh_wikipedia.yaml +35 -0
  206. package/engines/specs/zhihu.yaml +33 -0
  207. package/engines/specs/zhihu_global.yaml +18 -0
  208. package/engines/specs/zhihu_hot.yaml +36 -0
  209. package/engines/specs/zhihu_user.yaml +14 -0
  210. package/package.json +25 -22
  211. package/packages/dsh-plugin/README.md +11 -6
  212. package/packages/dsh-plugin/cordis.patch.yml +6 -2
  213. package/packages/dsh-plugin/dsh/client.js +65 -116
  214. package/packages/dsh-plugin/dsh/index.js +2 -2
  215. package/packages/dsh-plugin/dsh/native-tools.mjs +24 -3
  216. package/packages/dsh-plugin/dsh/runner.js +35 -1
  217. package/packages/dsh-plugin/dsh/specs.js +3 -1
  218. package/packages/dsh-plugin/dsh/wide-research.js +4 -2
  219. package/packages/dsh-plugin/package.json +1 -1
  220. package/packages/dsh-plugin/scripts/sync-local.sh +13 -11
  221. package/packages/dsh-plugin/test/client.test.js +22 -5
  222. package/packages/dsh-plugin/test/config.test.js +5 -1
  223. package/packages/dsh-plugin/test/index.test.js +3 -1
  224. package/packages/dsh-plugin/test/size-gate.test.js +2 -2
  225. package/scripts/ab_eval_p0p1.py +10 -4
  226. package/scripts/archive_run.py +4 -2
  227. package/scripts/badcase_causes.py +81 -0
  228. package/scripts/badcase_ledger.py +290 -15
  229. package/scripts/batch_probe.py +10 -8
  230. package/scripts/build_release_assets.sh +17 -5
  231. package/scripts/cache.py +8 -8
  232. package/scripts/cache_guard.py +10 -5
  233. package/scripts/candidate_envelope.py +7 -3
  234. package/scripts/check_commit_report.py +168 -0
  235. package/scripts/circuit_breaker.py +220 -36
  236. package/scripts/config.py +9 -10
  237. package/scripts/daemon.py +11 -2
  238. package/scripts/engine_add.py +32 -0
  239. package/scripts/engine_admission.py +9 -5
  240. package/scripts/engine_dispatch.py +49 -46
  241. package/scripts/engine_failure.py +14 -18
  242. package/scripts/engine_families.py +13 -2
  243. package/scripts/engine_health.py +184 -0
  244. package/scripts/engine_policy.py +1 -1
  245. package/scripts/engine_states.py +989 -0
  246. package/scripts/engine_status.py +49 -11
  247. package/scripts/engine_validate.py +47 -39
  248. package/scripts/engines.py +8 -0
  249. package/scripts/engines_base.py +34 -88
  250. package/scripts/engines_builders.py +36 -19
  251. package/scripts/engines_builders_archive.py +303 -0
  252. package/scripts/engines_builders_batch11.py +63 -1
  253. package/scripts/engines_builders_batch12.py +168 -0
  254. package/scripts/engines_builders_batch16.py +186 -0
  255. package/scripts/engines_builders_batch9.py +9 -1
  256. package/scripts/engines_builders_data.py +69 -2090
  257. package/scripts/engines_builders_finance.py +354 -0
  258. package/scripts/engines_builders_intl.py +4 -1
  259. package/scripts/engines_builders_media.py +724 -0
  260. package/scripts/engines_builders_science.py +784 -0
  261. package/scripts/engines_parsers.py +399 -0
  262. package/scripts/fetch_browser.py +4 -2
  263. package/scripts/fetch_jsrun.py +2 -1
  264. package/scripts/fetch_v3.py +38 -38
  265. package/scripts/gen_engine_catalog.py +58 -153
  266. package/scripts/gen_native_tools.py +44 -17
  267. package/scripts/gen_routing_snapshot.py +8 -6
  268. package/scripts/health_check.py +37 -4
  269. package/scripts/health_probe.py +28 -8
  270. package/scripts/install.ps1 +31 -15
  271. package/scripts/install.sh +266 -142
  272. package/scripts/job.py +8 -70
  273. package/scripts/lint_spec_contracts.py +7 -12
  274. package/scripts/local_intent.py +139 -0
  275. package/scripts/local_seek.py +223 -91
  276. package/scripts/local_seek_adapter.py +87 -0
  277. package/scripts/mcp_launch.sh +9 -17
  278. package/scripts/mcp_transport.py +1 -1
  279. package/scripts/net_proxy.py +47 -0
  280. package/scripts/numeric_verify.py +20 -9
  281. package/scripts/output_transparency.py +21 -13
  282. package/scripts/plan.py +8 -5
  283. package/scripts/pre-commit +93 -23
  284. package/scripts/quota.py +11 -7
  285. package/scripts/recovery.py +14 -5
  286. package/scripts/recovery_l0.py +5 -3
  287. package/scripts/redskill/redskill_engine.py +3 -9
  288. package/scripts/release.py +60 -24
  289. package/scripts/release_check.py +20 -3
  290. package/scripts/research.py +1 -1
  291. package/scripts/research_dossier.py +10 -5
  292. package/scripts/research_gates.py +8 -4
  293. package/scripts/retry_policy.py +8 -7
  294. package/scripts/route.py +2 -24
  295. package/scripts/route_combo.py +11 -26
  296. package/scripts/route_lang.py +6 -1
  297. package/scripts/route_policy.py +21 -14
  298. package/scripts/search.py +36 -35
  299. package/scripts/search_attribution.py +34 -3
  300. package/scripts/search_cli.py +22 -12
  301. package/scripts/search_entry.py +15 -3
  302. package/scripts/search_output.py +87 -18
  303. package/scripts/search_pipeline.py +14 -10
  304. package/scripts/search_rank.py +23 -62
  305. package/scripts/search_types.py +5 -0
  306. package/scripts/social_engines/bilibili_engine.py +2 -30
  307. package/scripts/social_engines/hackernews_engine.py +4 -12
  308. package/scripts/social_engines/reddit_engine.py +4 -13
  309. package/scripts/social_engines/v2ex_engine.py +3 -12
  310. package/scripts/social_engines/weibo_engine.py +2 -30
  311. package/scripts/social_engines/zhihu_engine.py +4 -5
  312. package/scripts/source_audit.py +331 -0
  313. package/scripts/stats_cli.py +17 -1
  314. package/scripts/sync_backends.py +241 -8
  315. package/scripts/sync_requirements.py +159 -0
  316. package/scripts/tweet.py +3 -6
  317. package/scripts/usage_log.py +28 -9
  318. package/scripts/video_fetch.py +2 -5
  319. package/scripts/watch.py +11 -6
  320. package/scripts/wechat_article.py +11 -12
  321. package/scripts/wide_research.py +4 -1
  322. package/scripts/wx.py +6 -13
  323. package/scripts/x_article_fetch.py +2 -1
  324. package/sub-skills/local-search/SKILL.md +2 -2
  325. package/sub-skills/local-search/config.yaml +2 -1
  326. package/sub-skills/local-search/parsers.py +6 -1
  327. package/sub-skills/local-seek/scripts/seek.py +390 -24
  328. package/sub-skills/local-seek/scripts/seek_fts.py +20 -9
  329. package/sub-skills/local-seek/scripts/seek_rank.py +64 -1
  330. package/docs/DATA_SOURCE_GAPS.md +0 -81
  331. package/docs/DESIGN_LOCAL_DATA_FUSION.md +0 -90
  332. package/docs/PLATFORM_PATHS.md +0 -111
  333. package/docs/engines/bangumi.md +0 -27
  334. package/docs/engines/biorxiv.md +0 -27
  335. package/docs/engines/clawhub.md +0 -27
  336. package/docs/engines/crt_sh.md +0 -27
  337. package/docs/engines/datacite.md +0 -27
  338. package/docs/engines/deps_dev.md +0 -27
  339. package/docs/engines/douban_movie.md +0 -27
  340. package/docs/engines/endoflife.md +0 -27
  341. package/docs/engines/flk_law.md +0 -27
  342. package/docs/engines/fxtwitter.md +0 -27
  343. package/docs/engines/google_news.md +0 -27
  344. package/docs/engines/gov_regulations.md +0 -27
  345. package/docs/engines/guqian.md +0 -27
  346. package/docs/engines/hackernews.md +0 -27
  347. package/docs/engines/iplant.md +0 -27
  348. package/docs/engines/keenable.md +0 -27
  349. package/docs/engines/met_museum.md +0 -27
  350. package/docs/engines/nasa_images.md +0 -27
  351. package/docs/engines/netease_music.md +0 -27
  352. package/docs/engines/npm.md +0 -27
  353. package/docs/engines/nvd.md +0 -27
  354. package/docs/engines/openreview.md +0 -27
  355. package/docs/engines/openstd.md +0 -27
  356. package/docs/engines/parallel_free.md +0 -27
  357. package/docs/engines/people_daily.md +0 -27
  358. package/docs/engines/pixiv.md +0 -27
  359. package/docs/engines/realtime_index.md +0 -27
  360. package/docs/engines/sec_edgar.md +0 -27
  361. package/docs/engines/seltz.md +0 -27
  362. package/docs/engines/skillsmp.md +0 -27
  363. package/docs/engines/sspai.md +0 -27
  364. package/docs/engines/std_samr.md +0 -27
  365. package/docs/engines/train.md +0 -27
  366. package/docs/engines/un_comtrade.md +0 -27
  367. package/docs/engines/wikisource.md +0 -27
  368. package/docs/engines/zdic.md +0 -27
  369. package/docs/engines/zenodo.md +0 -27
  370. package/docs/engines/zhihu_hot_app.md +0 -27
  371. package/engines/specs/cinii.yaml +0 -44
@@ -0,0 +1,33 @@
1
+ engine_id: wikidata
2
+ type: http
3
+ enabled: true
4
+ label: 维基数据实体
5
+ cost_tier: free
6
+ qps: 2
7
+ priority: 33
8
+ period: second
9
+ cost_per_call: 0.0
10
+ cost_unit: free
11
+ coverage:
12
+ - entity
13
+ - knowledge
14
+ - wiki
15
+ desc: Wikidata 实体搜索(wbsearchentities,免认证,限流较严)
16
+ format: json
17
+ method: GET
18
+ query_param: search
19
+ headers:
20
+ User-Agent: argo-search/2.4 (unified-search@local)
21
+ extra_params:
22
+ action: wbsearchentities
23
+ format: json
24
+ language: zh
25
+ uselang: zh
26
+ limit: '{n}'
27
+ output_map:
28
+ items: search
29
+ item_title: label
30
+ item_url: url
31
+ item_summary: description
32
+ timeout: 10
33
+ url: https://www.wikidata.org/w/api.php
@@ -0,0 +1,36 @@
1
+ engine_id: wikipedia
2
+ enabled: true
3
+ label: Wikipedia
4
+ cost_tier: free
5
+ qps: 10
6
+ priority: 12
7
+ period: second
8
+ cost_per_call: 0.0
9
+ cost_unit: free
10
+ coverage:
11
+ - wiki
12
+ - factual
13
+ desc: Wikipedia API(T2 替代)
14
+ # 2026-10-31 实测裁决:list=search 匹配碎片 vs prop=extracts 导语明文,
15
+ # 碎片胜——碎片是「查询定向」的(问句里的 half-life 会被带到 5,730 years
16
+ # 那句上),导语是「页面通用」的(定义占满前 260 字,具体事实在正文深处)。
17
+ # 第三轮评测 en citation 1.2→0.95 后回退;标签卫生由 engines_base 统一做。
18
+ extra_params:
19
+ action: query
20
+ format: json
21
+ list: search
22
+ srlimit: '{n}'
23
+ output_map:
24
+ items: query.search
25
+ item_title: title
26
+ item_url: title
27
+ item_summary: snippet
28
+ url_template: https://en.wikipedia.org/wiki/{title}
29
+ format: json
30
+ headers:
31
+ User-Agent: argo-search/1.0
32
+ method: GET
33
+ query_param: srsearch
34
+ timeout: 8
35
+ type: http
36
+ url: https://en.wikipedia.org/w/api.php
@@ -0,0 +1,18 @@
1
+ engine_id: wolframalpha
2
+ enabled: false
3
+ disabled_reason: 72fd95a 源治理轮批量停用;需 APPID,计算类查询占比低,重开前需实测对比
4
+ label: WolframAlpha
5
+ cost_tier: free
6
+ coverage:
7
+ - factual
8
+ - math
9
+ desc: WolframAlpha 计算知识引擎
10
+ extra_params:
11
+ appid: '{WOLFRAM_APPID}'
12
+ output: json
13
+ format: json
14
+ method: GET
15
+ query_param: input
16
+ timeout: 10
17
+ type: http
18
+ url: https://api.wolframalpha.com/v2/query
@@ -0,0 +1,15 @@
1
+ engine_id: worldbank
2
+ enabled: true
3
+ label: 世界银行开放数据
4
+ cost_tier: free
5
+ qps: 2
6
+ priority: 6
7
+ period: second
8
+ cost_per_call: 0.0
9
+ cost_unit: free
10
+ coverage:
11
+ - finance
12
+ - macro
13
+ desc: 世界银行宏观指标(GDP/通胀/失业/人口,api.worldbank.org 免认证)
14
+ timeout: 12
15
+ type: worldbank
@@ -0,0 +1,25 @@
1
+ engine_id: xiaohongshu
2
+ qps: 2
3
+ type: cli
4
+ label: 小红书
5
+ enabled: true
6
+ cost_tier: free
7
+ cmd:
8
+ - python3
9
+ - scripts/social_engines/xiaohongshu_engine.py
10
+ search_args:
11
+ - search
12
+ - '{query}'
13
+ - -n
14
+ - '{n}'
15
+ env: {}
16
+ # 不声明 timeout(2026-10-06 回归策略门禁):本引擎内部无重试,声明 ≥8s
17
+ # 会按 search._engine_retries 约定关掉外层重试(execution.retry_count=1),
18
+ # 一次失败即弃、成功率下降。不声明时单次尝试吃 default_timeout=8s。
19
+ # 若将来脚本内加了重试,应同时声明 timeout 并更新 test_timeout_declaration_policy 分组。
20
+ # 后端依赖(实测:脚本内 subprocess 调 `xhs`,本机缺失时状态曾误报 ready,
21
+ # 调用后白等并静默返回 0 条)。另需 `xhs login` 取得登录态 cookie,
22
+ # 属运行时授权而非依赖——缺失时结果为空并带 login_state 标记。
23
+ requires:
24
+ - bin: xhs
25
+ fix: 安装小红书 CLI(`npm i -g xiaohongshu-cli`,或见项目 README),随后执行 `xhs login` 完成登录
@@ -0,0 +1,22 @@
1
+ engine_id: yahoo_finance
2
+ type: yahoo_finance
3
+ enabled: true
4
+ label: Yahoo Finance
5
+ cost_tier: free
6
+ qps: 2
7
+ priority: 56
8
+ period: second
9
+ cost_per_call: 0.0
10
+ cost_unit: free
11
+ coverage:
12
+ - finance
13
+ - us_stock
14
+ family: finance_market
15
+ recommended: true
16
+ desc: "Yahoo Finance 美股代码解析+实时行情(search/chart 免认证,2026-10-06 接入)"
17
+ timeout: 10
18
+ canary_query: AAPL
19
+ quality_queries:
20
+ - query: AAPL
21
+ - query: NVIDIA
22
+ - query: Tesla stock
@@ -0,0 +1,22 @@
1
+ engine_id: you
2
+ enabled: true
3
+ label: You.com搜索
4
+ cost_tier: api
5
+ qps: 3
6
+ priority: 12
7
+ period: month
8
+ cost_per_call: 0.0
9
+ cost_unit: free
10
+ coverage:
11
+ - general
12
+ - news
13
+ - english
14
+ - chinese
15
+ desc: You.com 网页+新闻搜索(时效性强,官方一手源,web/news 合并)
16
+ timeout: 12
17
+ canary_query: OpenAI latest news
18
+ type: you
19
+ # 密钥声明(同 parallel):builder 内读 YDC_API_KEY;此前未声明导致
20
+ # 状态误报 ready,实际调用恒定返回 "YDC_API_KEY 未设置"。
21
+ required_env:
22
+ - YDC_API_KEY
@@ -0,0 +1,35 @@
1
+ engine_id: zh_wikipedia
2
+ type: http
3
+ enabled: true
4
+ label: 中文维基百科
5
+ cost_tier: free
6
+ qps: 2
7
+ priority: 26
8
+ period: second
9
+ cost_per_call: 0.0
10
+ cost_unit: free
11
+ coverage:
12
+ - chinese
13
+ - wiki
14
+ - factual
15
+ desc: 中文维基百科(MediaWiki API,与 en.wikipedia 同构)
16
+ # 与 en.wikipedia 同步保留 list=search 匹配碎片(查询定向)+ engines_base
17
+ # 统一标签卫生;extracts 导语方案实测回退,裁决理由见 en 侧注释
18
+ format: json
19
+ method: GET
20
+ query_param: srsearch
21
+ headers:
22
+ User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0 Safari/537.36
23
+ extra_params:
24
+ action: query
25
+ list: search
26
+ format: json
27
+ srlimit: '{n}'
28
+ output_map:
29
+ items: query.search
30
+ item_title: title
31
+ item_url: title
32
+ item_summary: snippet
33
+ url_template: https://zh.wikipedia.org/wiki/{title}
34
+ timeout: 8
35
+ url: https://zh.wikipedia.org/w/api.php
@@ -0,0 +1,33 @@
1
+ engine_id: zhihu
2
+ enabled: true
3
+ label: 知乎
4
+ cost_tier: free
5
+ qps: 2
6
+ priority: 4
7
+ limit: 5000
8
+ period: day
9
+ cost_per_call: 0.0
10
+ cost_unit: free
11
+ coverage:
12
+ - chinese
13
+ - review
14
+ - opinion
15
+ desc: 知乎搜索,中文观点/评测
16
+ format: json
17
+ headers:
18
+ Authorization: Bearer {ZHIHU_ACCESS_SECRET}
19
+ Content-Type: application/json
20
+ X-Request-Timestamp: '{TIMESTAMP}'
21
+ method: GET
22
+ query_param: Query
23
+ extra_params:
24
+ Count: '{n}'
25
+ output_map:
26
+ items: Data.Items
27
+ item_title: Title
28
+ item_url: Url
29
+ item_summary: ContentText
30
+ item_source: AuthorName
31
+ timeout: 10
32
+ type: http
33
+ url: https://developer.zhihu.com/api/v1/content/zhihu_search
@@ -0,0 +1,18 @@
1
+ engine_id: zhihu_global
2
+ type: zhihu_global
3
+ enabled: true
4
+ label: 知乎全网搜索
5
+ cost_tier: api
6
+ qps: 2
7
+ priority: 35
8
+ limit: 5000
9
+ period: day
10
+ cost_per_call: 0.0
11
+ cost_unit: api
12
+ coverage:
13
+ - general
14
+ - chinese
15
+ - web
16
+ family: web_general
17
+ desc: 知乎开放平台全网搜索(SearchDB=all 全网索引 + Filter host== 站点限定;需 ZHIHU_ACCESS_SECRET)
18
+ timeout: 10
@@ -0,0 +1,36 @@
1
+ engine_id: zhihu_hot
2
+ type: http
3
+ enabled: true
4
+ label: 知乎热榜
5
+ cost_tier: free
6
+ qps: 1
7
+ priority: 26
8
+ limit: 100
9
+ period: day
10
+ cost_per_call: 0.0
11
+ cost_unit: free
12
+ coverage:
13
+ - chinese
14
+ - hot
15
+ - trending
16
+ - realtime
17
+ desc: 知乎开放平台热榜 hot_list(日配额约 100;需 ZHIHU_ACCESS_SECRET;原 zhihu skill 迁入)
18
+ # 热榜/榜单型源按设计忽略查询词,相关性判据不适用(标准不降,只是问对问题)
19
+ relevance_check: false
20
+ format: json
21
+ headers:
22
+ Authorization: Bearer {ZHIHU_ACCESS_SECRET}
23
+ Content-Type: application/json
24
+ X-Request-Timestamp: '{TIMESTAMP}'
25
+ method: GET
26
+ # 热榜无关键词检索,空 query_param 仅带 Limit
27
+ query_param: ""
28
+ extra_params:
29
+ Limit: '{n}'
30
+ output_map:
31
+ items: Data.Items
32
+ item_title: Title
33
+ item_url: Url
34
+ item_summary: Summary
35
+ timeout: 8
36
+ url: https://developer.zhihu.com/api/v1/content/hot_list
@@ -0,0 +1,14 @@
1
+ engine_id: zhihu_user
2
+ type: zhihu_user
3
+ enabled: true
4
+ label: 知乎个人数据
5
+ cost_tier: free
6
+ qps: 2
7
+ priority: 5
8
+ limit: 10000
9
+ period: day
10
+ cost_per_call: 0.0
11
+ cost_unit: free
12
+ family: personal_data
13
+ desc: 知乎个人数据(本人创作内容/收藏/关注;Access Secret 直查本人无需 OAuth,user_data 池 10000/天)
14
+ timeout: 10
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "argo-search",
3
- "version": "2.12.0",
4
- "description": "Argo 阿尔戈 — 统一搜索与证据核验。推荐 npx -y argo-search(npm 发布版)或 install.sh 安装。多语言路由、288 个源(242 个免密钥开箱可用)、影视/体育/金融等垂直源、19 个 MCP 工具(与 CLI 能力面对齐)。",
3
+ "version": "2.14.0",
4
+ "description": "Argo 阿尔戈 — 统一搜索与证据核验。推荐 npx -y argo-search(npm 发布版)或 install.sh 安装。多语言路由、数百个源(大部分免密钥)、影视/体育/金融等垂直源、19 个 MCP 工具(与 CLI 能力面对齐)。",
5
5
  "keywords": [
6
6
  "mcp",
7
7
  "mcp-server",
@@ -36,13 +36,31 @@
36
36
  "assets/",
37
37
  "docs/ADDING_NEW_ENGINE.md",
38
38
  "docs/ARGO_INTRO.md",
39
- "docs/DATA_SOURCE_GAPS.md",
40
- "docs/DESIGN_LOCAL_DATA_FUSION.md",
41
39
  "docs/ENGINE_CATALOG.md",
42
- "docs/MCP_SETUP.md",
43
- "docs/PLATFORM_PATHS.md",
44
40
  "docs/SEARCH_ARCHIVE.md",
45
41
  "docs/为什么选择argo.md",
42
+ "docs/assets/",
43
+ "cordis.patch.yml",
44
+ "mcp/clients.yaml",
45
+ "packages/dsh-plugin/",
46
+ "README.md",
47
+ "SKILL.md",
48
+ "AGENTS.md",
49
+ "references/query-templates.yaml",
50
+ "references/query-templates.md",
51
+ "LICENSE",
52
+ "docs/CHANGELOG.md",
53
+ "docs/COMMIT_STANDARD.md",
54
+ "docs/QUALITY_OF_SLOW_SOURCES.md",
55
+ "docs/MCP_SETUP.md",
56
+ "docs/RELEASING.md",
57
+ "docs/RELEASE_NOTES_v2.10.0.md",
58
+ "docs/RELEASE_NOTES_v2.10.1.md",
59
+ "docs/RELEASE_NOTES_v2.10.2.md",
60
+ "docs/RELEASE_NOTES_v2.11.2.md",
61
+ "docs/RELEASE_NOTES_v2.14.0.md",
62
+ "docs/RELEASE_NOTES_v2.13.0.md",
63
+ "docs/RELEASE_NOTES_v2.12.0.md",
46
64
  "docs/RELEASE_NOTES_v2.8.0.md",
47
65
  "docs/RELEASE_NOTES_v2.8.2.md",
48
66
  "docs/RELEASE_NOTES_v2.8.3.md",
@@ -53,23 +71,8 @@
53
71
  "docs/RELEASE_NOTES_v2.8.8.md",
54
72
  "docs/RELEASE_NOTES_v2.8.9.md",
55
73
  "docs/RELEASE_NOTES_v2.9.0.md",
56
- "docs/RELEASE_NOTES_v2.10.1.md",
57
- "docs/RELEASE_NOTES_v2.10.2.md",
58
- "docs/RELEASE_NOTES_v2.12.0.md",
59
- "docs/RELEASE_NOTES_v2.11.2.md",
60
- "docs/RELEASE_NOTES_v2.10.0.md",
61
- "docs/RELEASE_NOTES_v2.9.9.md",
62
74
  "docs/RELEASE_NOTES_v2.9.8.md",
63
- "docs/assets/",
64
- "docs/engines/",
65
- "cordis.patch.yml",
66
- "mcp/clients.yaml",
67
- "packages/dsh-plugin/",
68
- "README.md",
69
- "SKILL.md",
70
- "references/query-templates.yaml",
71
- "references/query-templates.md",
72
- "LICENSE",
75
+ "docs/RELEASE_NOTES_v2.9.9.md",
73
76
  "!**/__pycache__/**",
74
77
  "!**/*.pyc",
75
78
  "!sub-skills/**/__pycache__/**",
@@ -11,7 +11,7 @@ dsh plugin --profile web add @taxueseek/argo-dsh #
11
11
  dsh plugin --profile web add "github:taxueseek/argo#main&path:packages/dsh-plugin" # GitHub main
12
12
  ```
13
13
 
14
- `@taxueseek/argo-dsh` 是 DSH 插件包,`argo-search` 是 CLI 包,两者不能互换。重启 `dsh web` 后生效。
14
+ `@taxueseek/argo-dsh` 是 DSH 插件包,`argo-search` 是 CLI 包,两者不能互换。安装由官方 plugin manager 应用;RC2 profile HMR 可同 PID 重组 bundle,默认保持同一个 DSH PID,不需要也不应默认重启 Host。本机 `dsh` CLI 只有 `dsh plugin --profile <name> add|remove`,没有 `restart` 子命令;`activation-plan` / `restart-supervised` 属于外部工作台 `dshx`(需单独安装,本机当前未装),不要把它们写成官方命令。激活证据要分开报:`ARTIFACT_SYNCED`、`HOST_TREE_ACTIVE`、`CLIENT_LOADED`、`VISUAL_BEHAVIOR_VERIFIED`;只看到安装成功、配置行、HTTP 200 或 boot manifest 都不算插件已生效。见 `dsh-external-plugin-devkit/knowledge/contracts/live-activation.md`。
15
15
 
16
16
  ### 本地开发:改完源码必须同步进 profile(改动收尾固定步骤)
17
17
 
@@ -22,10 +22,15 @@ DSH 设置页读到的仍是旧 bundle(2026-10-22 实测:缓存开关与付
22
22
 
23
23
  ```bash
24
24
  packages/dsh-plugin/scripts/sync-local.sh --check # 1. 比对源码与已安装 bundle,有漂移退出 1
25
- packages/dsh-plugin/scripts/sync-local.sh # 2. 同步 web/desktop
26
- packages/dsh-plugin/scripts/sync-local.sh --restart # 3. 同步并重启 dsh web
25
+ packages/dsh-plugin/scripts/sync-local.sh # 2. 同步 web/desktop(只到 ARTIFACT_SYNCED)
27
26
  ```
28
27
 
28
+ `sync-local.sh` 只同步产物,输出 `ARTIFACT_SYNCED; LIVE_ACTIVATION_UNPROVEN`,不是插件生效证明;它没有 `--restart` 参数,也不该有。同步脚本存在的原因是本机依赖装成了 `file:`(pnpm 复制而非软链),而官方 `dsh plugin add` 对同路径的 `file:` 依赖会打印 `Already up to date` 不重拷,见 `dsh-external-plugin-devkit/knowledge/pitfalls/file-copy-stale.md`。
29
+
30
+ **结构性修法**:把 web 与 desktop profile 的依赖改成 `link:`(`dsh plugin --profile <name> add "link:<packages/dsh-plugin 的绝对目录>"`),源码直接可见,本脚本及其备份逻辑即可整体删除;这一步改的是本机 profile,需在宿主空闲时做并单独验证。改之前不要用 `dsh plugin add "file:..."` 冒充同步,它不会重拷。
31
+
32
+ 官方明确禁止手改 profile `node_modules` 后直接串重启。激活要核对同 PID 的 Host 行与页面功能;本机没有 `activation-plan`,装了 `dshx` 工作台才可用,且它是外部工具,不是 `dsh` 的一部分(本机当前未装)。
33
+
29
34
  **改完源码或文档后,必须跑到 `sync-local.sh --check` 输出 `[ok]` 才算交付完成**;不适用 `--check` 的场景(例如只改仓库内文档、不影响已安装 bundle)要在交付说明里写明跳过理由。同步会先备份到 `~/.dsh/backups/argo-dsh-sync-<时间>-<profile>`;浏览器如仍显示旧面板,做一次硬刷新(Cmd+Shift+R)。
30
35
 
31
36
  ### 当前启用状态(web profile)
@@ -60,7 +65,7 @@ packages/dsh-plugin/scripts/sync-local.sh --restart # 3. 同步并重启 dsh we
60
65
  - **研究**:worker / 轨道 / 每轨信源 / token 上限与报告落盘目录
61
66
  - **高级**:worker 工具 allow / deny 名单、凭证转发名单
62
67
 
63
- 保存即生效(全部为 volatile 配置):原生工具集合按勾选增删注册,超时、并发、研究上限在下一次调用时读取;引擎开关写成 `argoEnv`(一行一个 `KEY=VALUE`)随 argo 子进程 env 进入,对下一次新建连接生效(池内旧连接按 `searchIdleMs` 回收,默认 60s)。结构性字段(`toolName`、`provider`、`searchProviderId`、`fetchProviderId`)不在设置页,仍走 profile patch,改后需重启。
68
+ 保存即生效(全部为 volatile 配置):原生工具集合按勾选增删注册,超时、并发、研究上限在下一次调用时读取;引擎开关写成 `argoEnv`(一行一个 `KEY=VALUE`)随 argo 子进程 env 进入,对下一次新建连接生效(池内旧连接按 `searchIdleMs` 回收,默认 60s)。结构性字段(`toolName`、`provider`、`searchProviderId`、`fetchProviderId`)不在设置页,仍走 profile patch;watched patch 由官方 watcher 同 PID 重组,改后核对 Host 行与功能即可,不默认重启 Host。
64
69
 
65
70
  密钥写入 DSH 凭证库(与 Models 页同一处),不写进插件配置、不打日志。凭证服务优先级为**存储文件层 > 启动环境 > 项目 .env > 家目录 .env**:在面板(或 Models 页)保存即覆盖启动环境里的旧值,argo 子进程下一跳新连接用新 key;「清除」只删凭证库里的值,环境变量或 .env 提供的 key 会重新露出。设置页只是凭证域的写入口,读取仍由宿主在每次调用时完成。
66
71
 
@@ -94,7 +99,7 @@ argo 的 `deepseek_search` 引擎(官方 `api.deepseek.com/v1/tools/search`,
94
99
  - 解析路径:`ctx.get('credentials').resolve('DEEPSEEK_API_KEY')`,逐次解析——在 web Models 页轮换 key 后,下一跳新连接即生效,无需重启插件(池内连接最长存活 `searchIdleMs`,默认 60s)
95
100
  - 层级语义与官方后端一致:**凭证服务管理的 `.credentials.yaml`(web Models 页或设置页写入的那把)> 启动环境变量 > 调用目录 `.env` > `$DSH_HOME/.env`**——存储值胜出,所以面板轮换 key 后 argo 子进程拿到的是新值,不是启动时的旧值
96
101
  - 安全:插件不读 key 文件、不落盘、不打日志;key 值只经内存进入 argo 子进程 env,任何输出与错误信息都不含它
97
- - 旧宿主无 credentials 服务时静默跳过:argo 侧该引擎按缺 key 停用,其余 265 个源不受影响
102
+ - 旧宿主无 credentials 服务时静默跳过:argo 侧该引擎按缺 key 停用,其余源不受影响
98
103
  - `keyRefs: []` 可整体关闭转发;后续要转发别的宿主凭证(如 `ARGO_EXA_API_KEY`),把引用名加进数组即可,entry 必须是 POSIX 标识符(apply 期 loud fail)
99
104
  - `argoEnv`(设置页「引擎」分区写入):argo 行为开关,一行一个 `KEY=VALUE`,名字限 curated 白名单(specs.js 的 `ARGO_ENV_SPECS`,35 个;白名单外 apply 期 loud fail,防拼错静默失效);授权位与路径 / 状态类变量刻意不收。与 `keyRefs` 的分工:`keyRefs` 管密钥(凭证库),`argoEnv` 管行为开关(插件配置),两者都不落明文
100
105
 
@@ -160,4 +165,4 @@ argo 的 `deepseek_search` 引擎(官方 `api.deepseek.com/v1/tools/search`,
160
165
 
161
166
  ## 卸载
162
167
 
163
- 在 DSH 的 Settings → Plugins 管理面板中移除本 bundle,或从 profile `package.json` 的 `dsh.profile.bundles` 中删除 `@taxueseek/argo-dsh` 后重启。
168
+ 在 DSH 的 Settings → Plugins 管理面板中移除本 bundle,或用官方入口 `dsh plugin --profile web remove @taxueseek/argo-dsh`。从 profile `package.json` 的 `dsh.profile.bundles` 手删条目是失败卸载后的残留修复手段,不是正常卸载路径,见 `dsh-external-plugin-devkit/knowledge/pitfalls/leftover-bundles.md`。
@@ -18,14 +18,18 @@
18
18
  # crawl / local_*)时取消下方注释按需开启。
19
19
  #
20
20
  # 依赖:Node.js ≥ 18(npx)+ Python 3.9+(pip install pyyaml)。
21
- # 安装后重启 dsh web 生效。
21
+ # 安装由官方 plugin manager 应用;RC2 profile HMR 可同 PID 重组 bundle,
22
+ # 无需也不应默认重启 Host。官方 dsh CLI 没有 restart 子命令,只有
23
+ # `dsh plugin --profile <name> add|remove`;仅当 manager 明确返回
24
+ # restart-required 才考虑从进程外重启当前受监督的 Host。见 devkit
25
+ # knowledge/contracts/live-activation.md 与 playbooks/restart-outside.md。
22
26
  #
23
27
  # 同 id 可在用户层 cordis.patch.yml 覆盖(同 id + name 才是替换)。
24
28
  # worker 取证工具白名单用内置默认(mcp__argo__* 与原生工具双写,
25
29
  # MCP 挂载与否两态自洽),不含 argo_research,避免研究套研究。
26
30
 
27
31
  - insert:
28
- # 按需开启:MCP 完整工具面(取消注释后重启生效)
32
+ # 按需开启:MCP 完整工具面(取消注释后按 live activation 分支验证生效)
29
33
  # - id: mcp-argo
30
34
  # name: '@deepseek-ai/dsh-mcp-client'
31
35
  # config: