argo-search 1.0.1 → 2.9.7

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 (463) hide show
  1. package/LICENSE +201 -21
  2. package/README.en.md +822 -0
  3. package/README.es.md +864 -0
  4. package/README.ja.md +864 -0
  5. package/README.ko.md +864 -0
  6. package/README.md +867 -320
  7. package/SKILL.md +135 -0
  8. package/assets/readme/hero.svg +121 -0
  9. package/assets/readme/made-with-beautify.svg +10 -0
  10. package/assets/readme/proof-routes.svg +73 -0
  11. package/assets/readme/settings-keys.png +0 -0
  12. package/assets/readme/settings-tools.png +0 -0
  13. package/assets/readme/why-better.svg +104 -0
  14. package/assets/readme/workflow.svg +83 -0
  15. package/backends/domain_profiles.json +2308 -96
  16. package/backends/engine_registry.yaml +3314 -503
  17. package/backends/query_synonyms_cn.json +35 -0
  18. package/backends/quota_profiles.json +2409 -161
  19. package/backends/source_types_cn.json +83 -0
  20. package/backends/text_lexicon.json +44 -0
  21. package/bin/argo +703 -0
  22. package/bin/argo.js +71 -39
  23. package/config.yaml +4976 -363
  24. package/cordis.patch.yml +21 -0
  25. package/data/countries.json +40 -0
  26. package/data/lang_matrix/lang_capability.json +842 -0
  27. package/data/lang_matrix/matrix_2026-09-10.json +11921 -0
  28. package/data/regions_cn.json +1 -0
  29. package/docs/ADDING_NEW_ENGINE.md +184 -0
  30. package/docs/ARGO_INTRO.md +124 -0
  31. package/docs/DATA_SOURCE_GAPS.md +81 -0
  32. package/docs/DESIGN_LOCAL_DATA_FUSION.md +90 -0
  33. package/docs/ENGINE_CATALOG.md +564 -0
  34. package/docs/MCP_SETUP.md +106 -0
  35. package/docs/PLATFORM_PATHS.md +111 -0
  36. package/docs/RELEASE_NOTES_v2.8.0.md +71 -0
  37. package/docs/RELEASE_NOTES_v2.8.2.md +63 -0
  38. package/docs/RELEASE_NOTES_v2.8.3.md +55 -0
  39. package/docs/RELEASE_NOTES_v2.8.4.md +79 -0
  40. package/docs/RELEASE_NOTES_v2.8.5.md +102 -0
  41. package/docs/RELEASE_NOTES_v2.8.6.md +66 -0
  42. package/docs/RELEASE_NOTES_v2.8.7.md +65 -0
  43. package/docs/RELEASE_NOTES_v2.8.8.md +67 -0
  44. package/docs/RELEASE_NOTES_v2.8.9.md +67 -0
  45. package/docs/RELEASE_NOTES_v2.9.0.md +64 -0
  46. package/docs/SEARCH_ARCHIVE.md +115 -0
  47. package/docs/assets/architecture.svg +104 -0
  48. package/docs/assets/hero.svg +98 -0
  49. package/docs/engines/bangumi.md +27 -0
  50. package/docs/engines/biorxiv.md +27 -0
  51. package/docs/engines/clawhub.md +27 -0
  52. package/docs/engines/crt_sh.md +27 -0
  53. package/docs/engines/datacite.md +27 -0
  54. package/docs/engines/deps_dev.md +27 -0
  55. package/docs/engines/douban_movie.md +27 -0
  56. package/docs/engines/endoflife.md +27 -0
  57. package/docs/engines/flk_law.md +27 -0
  58. package/docs/engines/fxtwitter.md +27 -0
  59. package/docs/engines/google_news.md +27 -0
  60. package/docs/engines/gov_regulations.md +27 -0
  61. package/docs/engines/guqian.md +27 -0
  62. package/docs/engines/hackernews.md +27 -0
  63. package/docs/engines/iplant.md +27 -0
  64. package/docs/engines/keenable.md +27 -0
  65. package/docs/engines/met_museum.md +27 -0
  66. package/docs/engines/nasa_images.md +27 -0
  67. package/docs/engines/netease_music.md +27 -0
  68. package/docs/engines/npm.md +27 -0
  69. package/docs/engines/nvd.md +27 -0
  70. package/docs/engines/openreview.md +27 -0
  71. package/docs/engines/openstd.md +27 -0
  72. package/docs/engines/parallel_free.md +27 -0
  73. package/docs/engines/people_daily.md +27 -0
  74. package/docs/engines/realtime_index.md +27 -0
  75. package/docs/engines/sec_edgar.md +27 -0
  76. package/docs/engines/seltz.md +27 -0
  77. package/docs/engines/skillsmp.md +27 -0
  78. package/docs/engines/sspai.md +27 -0
  79. package/docs/engines/std_samr.md +27 -0
  80. package/docs/engines/train.md +27 -0
  81. package/docs/engines/un_comtrade.md +27 -0
  82. package/docs/engines/wikisource.md +27 -0
  83. package/docs/engines/zdic.md +27 -0
  84. package/docs/engines/zenodo.md +27 -0
  85. package/docs/engines/zhihu_hot_app.md +27 -0
  86. package/docs//344/270/272/344/273/200/344/271/210/351/200/211/346/213/251argo.md +176 -0
  87. package/engines/README.md +10 -0
  88. package/engines/_template_cli.yaml +39 -0
  89. package/engines/_template_http.yaml +37 -0
  90. package/engines/plugins/_template_plugin.py +50 -0
  91. package/engines/specs/_cisa_kev.yaml +54 -0
  92. package/engines/specs/_osv.yaml +63 -0
  93. package/engines/specs/aljazeera.yaml +43 -0
  94. package/engines/specs/antara.yaml +43 -0
  95. package/engines/specs/artic.yaml +20 -0
  96. package/engines/specs/aviation_weather.yaml +39 -0
  97. package/engines/specs/bangumi.yaml +21 -0
  98. package/engines/specs/biorxiv.yaml +24 -0
  99. package/engines/specs/carbon_intensity.yaml +32 -0
  100. package/engines/specs/cinii.yaml +44 -0
  101. package/engines/specs/clawhub.yaml +49 -0
  102. package/engines/specs/cleveland.yaml +19 -0
  103. package/engines/specs/cn_ai_news.yaml +43 -0
  104. package/engines/specs/core.yaml +35 -0
  105. package/engines/specs/crt_sh.yaml +38 -0
  106. package/engines/specs/ct24.yaml +43 -0
  107. package/engines/specs/datacite.yaml +27 -0
  108. package/engines/specs/datagov_uk.yaml +41 -0
  109. package/engines/specs/ddgs_images.yaml +45 -0
  110. package/engines/specs/deepseek_search.yaml +74 -0
  111. package/engines/specs/deezer.yaml +20 -0
  112. package/engines/specs/deps_dev.yaml +21 -0
  113. package/engines/specs/digup.yaml +36 -0
  114. package/engines/specs/doi.yaml +39 -0
  115. package/engines/specs/douban_movie.yaml +22 -0
  116. package/engines/specs/dw_news.yaml +47 -0
  117. package/engines/specs/egov_law.yaml +21 -0
  118. package/engines/specs/elpais.yaml +43 -0
  119. package/engines/specs/endoflife.yaml +21 -0
  120. package/engines/specs/energy_charts.yaml +21 -0
  121. package/engines/specs/factcheck_org.yaml +52 -0
  122. package/engines/specs/faz.yaml +43 -0
  123. package/engines/specs/federal_register.yaml +57 -0
  124. package/engines/specs/firecrawl.yaml +53 -0
  125. package/engines/specs/flk_law.yaml +24 -0
  126. package/engines/specs/folha.yaml +43 -0
  127. package/engines/specs/france24.yaml +44 -0
  128. package/engines/specs/full_fact.yaml +47 -0
  129. package/engines/specs/fxtwitter.yaml +31 -0
  130. package/engines/specs/gbfs_nyc.yaml +32 -0
  131. package/engines/specs/gdacs.yaml +21 -0
  132. package/engines/specs/gdelt.yaml +64 -0
  133. package/engines/specs/google_news.yaml +22 -0
  134. package/engines/specs/gov_regulations.yaml +38 -0
  135. package/engines/specs/guardian_rss.yaml +59 -0
  136. package/engines/specs/hurriyet.yaml +43 -0
  137. package/engines/specs/iplant.yaml +25 -0
  138. package/engines/specs/jikan.yaml +24 -0
  139. package/engines/specs/jolpica.yaml +20 -0
  140. package/engines/specs/k10plus.yaml +20 -0
  141. package/engines/specs/keenable.yaml +44 -0
  142. package/engines/specs/lefigaro.yaml +43 -0
  143. package/engines/specs/listenbrainz.yaml +19 -0
  144. package/engines/specs/matichon.yaml +43 -0
  145. package/engines/specs/met_museum.yaml +21 -0
  146. package/engines/specs/nasa_images.yaml +45 -0
  147. package/engines/specs/netease_music.yaml +38 -0
  148. package/engines/specs/nhk.yaml +43 -0
  149. package/engines/specs/nhtsa_vpic.yaml +20 -0
  150. package/engines/specs/noaa_swpc.yaml +20 -0
  151. package/engines/specs/nvd.yaml +38 -0
  152. package/engines/specs/obis.yaml +20 -0
  153. package/engines/specs/opencitations.yaml +52 -0
  154. package/engines/specs/openf1.yaml +21 -0
  155. package/engines/specs/openfoodfacts.yaml +45 -0
  156. package/engines/specs/openligadb.yaml +20 -0
  157. package/engines/specs/openreview.yaml +37 -0
  158. package/engines/specs/openstd.yaml +21 -0
  159. package/engines/specs/people_daily.yaml +22 -0
  160. package/engines/specs/realtime_index.yaml +34 -0
  161. package/engines/specs/ror.yaml +20 -0
  162. package/engines/specs/satnogs.yaml +20 -0
  163. package/engines/specs/sec_edgar.yaml +46 -0
  164. package/engines/specs/skillsmp.yaml +50 -0
  165. package/engines/specs/sogou_weixin_browser.yaml +30 -0
  166. package/engines/specs/soilgrids.yaml +25 -0
  167. package/engines/specs/sspai.yaml +36 -0
  168. package/engines/specs/stackexchange.yaml +46 -0
  169. package/engines/specs/std_samr.yaml +21 -0
  170. package/engines/specs/tass.yaml +43 -0
  171. package/engines/specs/tle_mirror.yaml +21 -0
  172. package/engines/specs/train.yaml +37 -0
  173. package/engines/specs/tvmaze.yaml +20 -0
  174. package/engines/specs/twitter_syndication.yaml +31 -0
  175. package/engines/specs/un_comtrade.yaml +23 -0
  176. package/engines/specs/unpaywall.yaml +54 -0
  177. package/engines/specs/vnpress.yaml +43 -0
  178. package/engines/specs/weather.yaml +32 -0
  179. package/engines/specs/who_don.yaml +21 -0
  180. package/engines/specs/who_gho.yaml +20 -0
  181. package/engines/specs/wikimedia_commons.yaml +34 -0
  182. package/engines/specs/wikisource.yaml +22 -0
  183. package/engines/specs/worms.yaml +19 -0
  184. package/engines/specs/x_trending.yaml +34 -0
  185. package/engines/specs/yna.yaml +43 -0
  186. package/engines/specs/ynet.yaml +43 -0
  187. package/engines/specs/zbmath.yaml +40 -0
  188. package/engines/specs/zdic.yaml +22 -0
  189. package/engines/specs/zenodo.yaml +27 -0
  190. package/engines/specs/zhihu_hot_app.yaml +35 -0
  191. package/mcp/clients.yaml +74 -0
  192. package/package.json +51 -12
  193. package/packages/dsh-plugin/README.md +134 -0
  194. package/packages/dsh-plugin/cordis.patch.yml +48 -0
  195. package/packages/dsh-plugin/dsh/client.js +1244 -0
  196. package/packages/dsh-plugin/dsh/index.js +2290 -0
  197. package/packages/dsh-plugin/dsh/native-tools.mjs +743 -0
  198. package/packages/dsh-plugin/package.json +38 -0
  199. package/packages/dsh-plugin/test/client.test.js +232 -0
  200. package/packages/dsh-plugin/test/config.test.js +30 -0
  201. package/packages/dsh-plugin/test/index.test.js +1338 -0
  202. package/references/query-templates.md +96 -0
  203. package/references/query-templates.yaml +118 -0
  204. package/scripts/ab_eval.py +219 -0
  205. package/scripts/ab_eval_p0p1.py +266 -0
  206. package/scripts/adaptive.py +271 -70
  207. package/scripts/answer.py +154 -0
  208. package/scripts/archive_run.py +591 -0
  209. package/scripts/argo_engine_registry.py +172 -0
  210. package/scripts/argo_paths.py +728 -0
  211. package/scripts/article.py +136 -0
  212. package/scripts/arxiv_source.py +201 -0
  213. package/scripts/badcase_ledger.py +252 -0
  214. package/scripts/batch_probe.py +241 -0
  215. package/scripts/benchmark.py +19 -0
  216. package/scripts/bounded_run.py +144 -0
  217. package/scripts/browser_auth.py +323 -0
  218. package/scripts/burstiness_detector.py +147 -0
  219. package/scripts/cache.py +1078 -67
  220. package/scripts/cache_guard.py +271 -0
  221. package/scripts/cache_key_vdom.py +56 -0
  222. package/scripts/cache_similarity.py +170 -0
  223. package/scripts/caliber_isolation.py +195 -0
  224. package/scripts/calibrate_lowquality.py +210 -0
  225. package/scripts/candidate_envelope.py +366 -0
  226. package/scripts/chrome_cdp.py +871 -0
  227. package/scripts/circuit_breaker.py +389 -0
  228. package/scripts/citations.py +334 -0
  229. package/scripts/cite_cli.py +59 -0
  230. package/scripts/cjk_tokens.py +95 -0
  231. package/scripts/clarify.py +47 -24
  232. package/scripts/cli_io.py +240 -0
  233. package/scripts/config.py +683 -45
  234. package/scripts/config_cache.py +402 -0
  235. package/scripts/conn_pool.py +220 -0
  236. package/scripts/content_security.py +685 -0
  237. package/scripts/content_signals.py +730 -0
  238. package/scripts/crawl.py +74 -35
  239. package/scripts/daemon.py +866 -0
  240. package/scripts/digup_bridge.py +214 -0
  241. package/scripts/engine_admission.py +366 -0
  242. package/scripts/engine_dispatch.py +1019 -0
  243. package/scripts/engine_env.py +534 -0
  244. package/scripts/engine_failure.py +411 -0
  245. package/scripts/engine_families.py +732 -0
  246. package/scripts/engine_policy.py +218 -0
  247. package/scripts/engine_requires.py +190 -0
  248. package/scripts/engine_status.py +322 -0
  249. package/scripts/engine_validate.py +638 -0
  250. package/scripts/engines.py +778 -294
  251. package/scripts/engines_base.py +1521 -0
  252. package/scripts/engines_builders.py +298 -0
  253. package/scripts/engines_builders_batch10.py +159 -0
  254. package/scripts/engines_builders_batch11.py +174 -0
  255. package/scripts/engines_builders_batch12.py +103 -0
  256. package/scripts/engines_builders_batch13.py +340 -0
  257. package/scripts/engines_builders_batch9.py +1468 -0
  258. package/scripts/engines_builders_cn.py +2283 -0
  259. package/scripts/engines_builders_data.py +2923 -0
  260. package/scripts/engines_builders_data_macro.py +775 -0
  261. package/scripts/engines_builders_feeds.py +255 -0
  262. package/scripts/engines_builders_intl.py +1239 -0
  263. package/scripts/engines_builders_search.py +440 -0
  264. package/scripts/engines_builders_tech.py +1360 -0
  265. package/scripts/evidence.py +588 -162
  266. package/scripts/evidence_loop.py +592 -0
  267. package/scripts/evidence_tier.py +298 -0
  268. package/scripts/except_sets.py +25 -0
  269. package/scripts/extract.py +55 -16
  270. package/scripts/fact_align.py +207 -0
  271. package/scripts/fact_crosscheck.py +230 -0
  272. package/scripts/fetch.py +25 -12
  273. package/scripts/fetch_browser.py +87 -0
  274. package/scripts/fetch_jsrun.py +122 -0
  275. package/scripts/fetch_quality.py +225 -0
  276. package/scripts/fetch_render_tinyfish.py +117 -0
  277. package/scripts/fetch_v3.py +1779 -0
  278. package/scripts/focus_extract.py +350 -0
  279. package/scripts/fulltext_store.py +169 -0
  280. package/scripts/fxtwitter_api.py +325 -0
  281. package/scripts/gen_engine_catalog.py +364 -0
  282. package/scripts/gen_native_tools.py +91 -0
  283. package/scripts/gen_routing_snapshot.py +184 -0
  284. package/scripts/health_check.py +140 -402
  285. package/scripts/health_probe.py +23 -8
  286. package/scripts/hot_state.py +134 -0
  287. package/scripts/http_client.py +1053 -0
  288. package/scripts/image_ops.py +430 -0
  289. package/scripts/image_vision/vision_probe +0 -0
  290. package/scripts/image_vision/vision_probe.swift +126 -0
  291. package/scripts/install.ps1 +148 -0
  292. package/scripts/install.sh +206 -0
  293. package/scripts/job.py +1186 -0
  294. package/scripts/jump_resolver.py +235 -0
  295. package/scripts/lang_capability.py +150 -0
  296. package/scripts/lang_detect.py +289 -0
  297. package/scripts/lang_matrix_probe.py +329 -0
  298. package/scripts/lang_pref.py +311 -0
  299. package/scripts/link_source.py +340 -0
  300. package/scripts/local_engines.py +321 -0
  301. package/scripts/local_image.py +970 -0
  302. package/scripts/local_seek.py +366 -0
  303. package/scripts/macro_countries.py +82 -0
  304. package/scripts/matrix_search_eval.py +1105 -0
  305. package/scripts/mcp_diag.py +8 -3
  306. package/scripts/mcp_handlers.py +1074 -0
  307. package/scripts/mcp_handlers_surface.py +157 -0
  308. package/scripts/mcp_launch.sh +122 -0
  309. package/scripts/mcp_server.py +118 -417
  310. package/scripts/mcp_setup.py +407 -0
  311. package/scripts/mcp_tools.py +330 -0
  312. package/scripts/mcp_transport.py +191 -0
  313. package/scripts/min_version_scan.py +335 -0
  314. package/scripts/net_proxy.py +258 -0
  315. package/scripts/network_aware.py +152 -0
  316. package/scripts/paper.py +274 -0
  317. package/scripts/pdf_extract.py +518 -0
  318. package/scripts/phrase_filter.py +66 -0
  319. package/scripts/plan.py +422 -0
  320. package/scripts/postprocess_signals.py +150 -0
  321. package/scripts/pre-commit +48 -0
  322. package/scripts/query_enhance.py +157 -0
  323. package/scripts/query_operators.py +196 -0
  324. package/scripts/query_rewriter.py +116 -7
  325. package/scripts/query_signals.py +300 -0
  326. package/scripts/query_templates.py +167 -0
  327. package/scripts/query_understanding.py +411 -0
  328. package/scripts/query_variants.py +298 -0
  329. package/scripts/quota.py +488 -76
  330. package/scripts/rank_signals.py +775 -0
  331. package/scripts/ranking_eval.py +319 -0
  332. package/scripts/readability_extract.py +433 -0
  333. package/scripts/recompute.py +415 -0
  334. package/scripts/recovery.py +616 -0
  335. package/scripts/recovery_l0.py +160 -0
  336. package/scripts/redskill/redskill_engine.py +332 -0
  337. package/scripts/regression_p0p1.py +318 -0
  338. package/scripts/replay_eval.py +640 -0
  339. package/scripts/rerank_tfidf.py +225 -0
  340. package/scripts/research.py +591 -403
  341. package/scripts/research_cli.py +361 -0
  342. package/scripts/research_dossier.py +492 -0
  343. package/scripts/research_expand.py +146 -0
  344. package/scripts/research_gates.py +272 -0
  345. package/scripts/research_report.py +209 -0
  346. package/scripts/research_strategy.py +37 -0
  347. package/scripts/research_work_packages.py +195 -0
  348. package/scripts/result_lang.py +311 -0
  349. package/scripts/robots_guard.py +259 -0
  350. package/scripts/route.py +921 -254
  351. package/scripts/route_bangs.py +40 -0
  352. package/scripts/route_cache.py +225 -0
  353. package/scripts/route_combo.py +910 -0
  354. package/scripts/route_domains.py +328 -0
  355. package/scripts/route_lang.py +605 -0
  356. package/scripts/route_log.py +63 -0
  357. package/scripts/route_policy.py +250 -0
  358. package/scripts/rrf_classic.py +66 -0
  359. package/scripts/screenshot.py +73 -0
  360. package/scripts/search.py +897 -405
  361. package/scripts/search_attribution.py +88 -0
  362. package/scripts/search_benchmark.py +407 -0
  363. package/scripts/search_cli.py +627 -0
  364. package/scripts/search_entry.py +389 -0
  365. package/scripts/search_output.py +606 -0
  366. package/scripts/search_pipeline.py +1077 -0
  367. package/scripts/search_rank.py +991 -0
  368. package/scripts/search_types.py +27 -12
  369. package/scripts/seek_locator.py +68 -0
  370. package/scripts/semantic_evidence.py +215 -0
  371. package/scripts/serp_guard.py +228 -0
  372. package/scripts/serp_kill_log.py +51 -0
  373. package/scripts/single_flight.py +120 -0
  374. package/scripts/social_engines/__init__.py +10 -0
  375. package/scripts/social_engines/bilibili_engine.py +131 -0
  376. package/scripts/social_engines/hackernews_engine.py +113 -0
  377. package/scripts/social_engines/reddit_engine.py +172 -0
  378. package/scripts/social_engines/twitter_engine.py +397 -0
  379. package/scripts/social_engines/v2ex_engine.py +101 -0
  380. package/scripts/social_engines/weibo_engine.py +128 -0
  381. package/scripts/social_engines/xiaohongshu_engine.py +137 -0
  382. package/scripts/social_engines/zhihu_engine.py +139 -0
  383. package/scripts/social_research.py +201 -0
  384. package/scripts/sogou_weixin_browser.py +318 -0
  385. package/scripts/source_ledger.py +249 -0
  386. package/scripts/stage_timing.py +58 -0
  387. package/scripts/stats_cli.py +95 -0
  388. package/scripts/straggler_policy.py +60 -0
  389. package/scripts/stylometry_detector.py +231 -0
  390. package/scripts/sync_backends.py +353 -0
  391. package/scripts/sync_installs.py +29 -0
  392. package/scripts/template_cli.py +127 -0
  393. package/scripts/text_lexicon.py +72 -0
  394. package/scripts/tfidf_router.py +109 -37
  395. package/scripts/time_utils.py +233 -0
  396. package/scripts/topic_research_profiles.py +643 -0
  397. package/scripts/train.py +737 -0
  398. package/scripts/tweet.py +596 -0
  399. package/scripts/url_canon.py +217 -0
  400. package/scripts/url_optimize.py +56 -0
  401. package/scripts/url_safety.py +236 -0
  402. package/scripts/usage_log.py +116 -0
  403. package/scripts/usage_log_clean.py +113 -0
  404. package/scripts/v2ex_nodes.py +311 -0
  405. package/scripts/variant_recall.py +188 -0
  406. package/scripts/watch.py +205 -0
  407. package/scripts/wechat_article.py +258 -0
  408. package/scripts/wide_research.py +402 -0
  409. package/scripts/wx.py +349 -0
  410. package/scripts/x_article_fetch.py +141 -0
  411. package/scripts/x_search.py +234 -0
  412. package/scripts/x_trending.py +189 -0
  413. package/scripts/yaml_load.py +67 -0
  414. package/sub-skills/ego-search/SKILL.md +253 -0
  415. package/sub-skills/ego-search/references/browser-runtime.md +43 -0
  416. package/sub-skills/ego-search/references/install.md +67 -0
  417. package/sub-skills/ego-search/references/original-ego-upgrade.md +51 -0
  418. package/sub-skills/ego-search/scripts/ego_search.py +800 -0
  419. package/sub-skills/ego-search/scripts/merge.py +226 -0
  420. package/sub-skills/ego-search/scripts/quality.py +64 -0
  421. package/sub-skills/ego-search/scripts/runtime.py +172 -0
  422. package/sub-skills/ego-search/scripts/safety.py +109 -0
  423. package/sub-skills/ego-search/scripts/serp_spec.py +109 -0
  424. package/sub-skills/ego-search/scripts/webbridge_adapter.py +374 -0
  425. package/sub-skills/ego-search/tests/test_query_normalize.py +68 -0
  426. package/sub-skills/js-run/SKILL.md +67 -0
  427. package/sub-skills/js-run/scripts/jsrun.py +112 -0
  428. package/sub-skills/js-run/scripts/shim.js +188 -0
  429. package/sub-skills/js-run/tests/fixtures/challenge_like.js +27 -0
  430. package/sub-skills/js-run/tests/test_jsrun.py +165 -0
  431. package/sub-skills/local-search/SKILL.md +50 -53
  432. package/sub-skills/local-search/bm25.py +162 -0
  433. package/sub-skills/local-search/config.yaml +152 -55
  434. package/sub-skills/local-search/engine_registry.py +91 -26
  435. package/sub-skills/local-search/{health_check.py → local_health_check.py} +140 -10
  436. package/sub-skills/local-search/local_search_adapter.py +13 -2
  437. package/sub-skills/local-search/parse_maps.yaml +40 -42
  438. package/sub-skills/local-search/search_v3.py +1182 -65
  439. package/sub-skills/local-search/smart_router.py +47 -7
  440. package/sub-skills/local-seek/SKILL.md +110 -0
  441. package/sub-skills/local-seek/config/domains.yaml +20 -0
  442. package/sub-skills/local-seek/references/auto-behaviors.md +24 -0
  443. package/sub-skills/local-seek/references/fd-mdfind-recipes.md +62 -0
  444. package/sub-skills/local-seek/references/git-integration.md +54 -0
  445. package/sub-skills/local-seek/references/remote-handoff.md +46 -0
  446. package/sub-skills/local-seek/references/rg-recipes.md +96 -0
  447. package/sub-skills/local-seek/references/strategies.md +52 -0
  448. package/sub-skills/local-seek/references/structural-search.md +59 -0
  449. package/sub-skills/local-seek/scripts/eval_rank.py +216 -0
  450. package/sub-skills/local-seek/scripts/eval_seek.py +224 -0
  451. package/sub-skills/local-seek/scripts/seek.py +1465 -0
  452. package/sub-skills/local-seek/scripts/seek_frecency.py +126 -0
  453. package/sub-skills/local-seek/scripts/seek_fts.py +430 -0
  454. package/sub-skills/local-seek/scripts/seek_rank.py +193 -0
  455. package/sub-skills/local-seek/tests/test_content_rank.py +222 -0
  456. package/sub-skills/local-seek/tests/test_determinism_20261006.py +145 -0
  457. package/sub-skills/local-seek/tests/test_noise_tier.py +101 -0
  458. package/sub-skills/local-seek/tests/test_pcre2_probe.py +136 -0
  459. package/sub-skills/local-seek/tests/test_rank_pinyin.py +77 -0
  460. package/sub-skills/local-seek/tests/test_regression_20261003.py +169 -0
  461. package/sub-skills/local-seek/tests/test_regression_20261006.py +146 -0
  462. package/sub-skills/local-seek/tests/test_seek_degradation.py +111 -0
  463. package/sub-skills/local-seek/tests/test_seek_fts.py +313 -0
@@ -0,0 +1,842 @@
1
+ {
2
+ "generated_from": "lang_matrix_probe v2 (18 langs x 29 engines, 1044 calls)",
3
+ "date": "2026-09-10",
4
+ "source_file": "data/lang_matrix/matrix_2026-09-10.json",
5
+ "note": "good = 相关度>=0.5(查询词元命中率);noise = 相关度<0.2(引擎未按查询检索,含语言不符与语言相符但返回热榜两类)",
6
+ "engine_langs": {
7
+ "wikipedia": {
8
+ "langs": [
9
+ "ar",
10
+ "de",
11
+ "en",
12
+ "es",
13
+ "fr",
14
+ "he",
15
+ "hi",
16
+ "it",
17
+ "ja",
18
+ "ko",
19
+ "nl",
20
+ "pl",
21
+ "pt",
22
+ "ru",
23
+ "tr",
24
+ "vi",
25
+ "zh"
26
+ ],
27
+ "count": 17
28
+ },
29
+ "zh_wikipedia": {
30
+ "langs": [
31
+ "en",
32
+ "es",
33
+ "fr",
34
+ "nl",
35
+ "pl",
36
+ "pt",
37
+ "zh"
38
+ ],
39
+ "count": 7
40
+ },
41
+ "wikidata": {
42
+ "langs": [
43
+ "ar",
44
+ "es",
45
+ "he",
46
+ "hi",
47
+ "ru"
48
+ ],
49
+ "count": 5
50
+ },
51
+ "anysearch": {
52
+ "langs": [
53
+ "ar",
54
+ "de",
55
+ "en",
56
+ "es",
57
+ "fr",
58
+ "he",
59
+ "hi",
60
+ "it",
61
+ "ja",
62
+ "ko",
63
+ "nl",
64
+ "pl",
65
+ "pt",
66
+ "ru",
67
+ "th",
68
+ "tr",
69
+ "vi",
70
+ "zh"
71
+ ],
72
+ "count": 18
73
+ },
74
+ "juejin": {
75
+ "langs": [
76
+ "zh"
77
+ ],
78
+ "count": 1
79
+ },
80
+ "qiita": {
81
+ "langs": [
82
+ "es"
83
+ ],
84
+ "count": 1
85
+ },
86
+ "zhihu_global": {
87
+ "langs": [
88
+ "de",
89
+ "en",
90
+ "es",
91
+ "fr",
92
+ "it",
93
+ "ja",
94
+ "nl",
95
+ "pl",
96
+ "pt",
97
+ "tr",
98
+ "vi",
99
+ "zh"
100
+ ],
101
+ "count": 12
102
+ },
103
+ "byted": {
104
+ "langs": [
105
+ "de",
106
+ "es",
107
+ "fr",
108
+ "he",
109
+ "it",
110
+ "nl",
111
+ "pt",
112
+ "tr",
113
+ "vi",
114
+ "zh"
115
+ ],
116
+ "count": 10
117
+ },
118
+ "ndl": {
119
+ "langs": [
120
+ "ar",
121
+ "de",
122
+ "es",
123
+ "it",
124
+ "ja",
125
+ "nl",
126
+ "pt",
127
+ "ru",
128
+ "tr",
129
+ "vi"
130
+ ],
131
+ "count": 10
132
+ },
133
+ "dnb": {
134
+ "langs": [
135
+ "ar",
136
+ "de",
137
+ "en",
138
+ "nl",
139
+ "pl"
140
+ ],
141
+ "count": 5
142
+ },
143
+ "open_library": {
144
+ "langs": [
145
+ "ar",
146
+ "de",
147
+ "en",
148
+ "es",
149
+ "fr",
150
+ "he",
151
+ "hi",
152
+ "it",
153
+ "nl",
154
+ "pl",
155
+ "pt",
156
+ "tr",
157
+ "vi"
158
+ ],
159
+ "count": 13
160
+ },
161
+ "marginalia": {
162
+ "langs": [
163
+ "de",
164
+ "en",
165
+ "fr",
166
+ "pl",
167
+ "pt"
168
+ ],
169
+ "count": 5
170
+ },
171
+ "wiby": {
172
+ "langs": [
173
+ "de",
174
+ "en",
175
+ "es",
176
+ "fr",
177
+ "it",
178
+ "nl",
179
+ "pl",
180
+ "pt",
181
+ "ru"
182
+ ],
183
+ "count": 9
184
+ },
185
+ "searchmysite": {
186
+ "langs": [
187
+ "pl"
188
+ ],
189
+ "count": 1
190
+ },
191
+ "bocha": {
192
+ "langs": [
193
+ "ar",
194
+ "en",
195
+ "fr",
196
+ "zh"
197
+ ],
198
+ "count": 4
199
+ },
200
+ "tavily": {
201
+ "langs": [
202
+ "ar",
203
+ "de",
204
+ "en",
205
+ "es",
206
+ "fr",
207
+ "he",
208
+ "hi",
209
+ "it",
210
+ "ja",
211
+ "ko",
212
+ "nl",
213
+ "pl",
214
+ "pt",
215
+ "ru",
216
+ "th",
217
+ "tr",
218
+ "vi",
219
+ "zh"
220
+ ],
221
+ "count": 18
222
+ },
223
+ "exa": {
224
+ "langs": [
225
+ "ar",
226
+ "de",
227
+ "en",
228
+ "es",
229
+ "fr",
230
+ "he",
231
+ "hi",
232
+ "it",
233
+ "ko",
234
+ "nl",
235
+ "pl",
236
+ "pt",
237
+ "ru",
238
+ "th",
239
+ "tr",
240
+ "vi"
241
+ ],
242
+ "count": 16
243
+ }
244
+ },
245
+ "lang_engines": {
246
+ "zh": [
247
+ "wikipedia",
248
+ "zh_wikipedia",
249
+ "anysearch",
250
+ "juejin",
251
+ "zhihu_global",
252
+ "byted",
253
+ "bocha",
254
+ "tavily"
255
+ ],
256
+ "en": [
257
+ "wikipedia",
258
+ "zh_wikipedia",
259
+ "anysearch",
260
+ "zhihu_global",
261
+ "dnb",
262
+ "open_library",
263
+ "marginalia",
264
+ "wiby",
265
+ "bocha",
266
+ "tavily",
267
+ "exa"
268
+ ],
269
+ "ja": [
270
+ "wikipedia",
271
+ "anysearch",
272
+ "zhihu_global",
273
+ "ndl",
274
+ "tavily"
275
+ ],
276
+ "ko": [
277
+ "wikipedia",
278
+ "anysearch",
279
+ "tavily",
280
+ "exa"
281
+ ],
282
+ "ru": [
283
+ "wikipedia",
284
+ "wikidata",
285
+ "anysearch",
286
+ "ndl",
287
+ "wiby",
288
+ "tavily",
289
+ "exa"
290
+ ],
291
+ "ar": [
292
+ "wikipedia",
293
+ "wikidata",
294
+ "anysearch",
295
+ "ndl",
296
+ "dnb",
297
+ "open_library",
298
+ "bocha",
299
+ "tavily",
300
+ "exa"
301
+ ],
302
+ "de": [
303
+ "wikipedia",
304
+ "anysearch",
305
+ "zhihu_global",
306
+ "byted",
307
+ "ndl",
308
+ "dnb",
309
+ "open_library",
310
+ "marginalia",
311
+ "wiby",
312
+ "tavily",
313
+ "exa"
314
+ ],
315
+ "fr": [
316
+ "wikipedia",
317
+ "zh_wikipedia",
318
+ "anysearch",
319
+ "zhihu_global",
320
+ "byted",
321
+ "open_library",
322
+ "marginalia",
323
+ "wiby",
324
+ "bocha",
325
+ "tavily",
326
+ "exa"
327
+ ],
328
+ "es": [
329
+ "wikipedia",
330
+ "zh_wikipedia",
331
+ "wikidata",
332
+ "anysearch",
333
+ "qiita",
334
+ "zhihu_global",
335
+ "byted",
336
+ "ndl",
337
+ "open_library",
338
+ "wiby",
339
+ "tavily",
340
+ "exa"
341
+ ],
342
+ "pt": [
343
+ "wikipedia",
344
+ "zh_wikipedia",
345
+ "anysearch",
346
+ "zhihu_global",
347
+ "byted",
348
+ "ndl",
349
+ "open_library",
350
+ "marginalia",
351
+ "wiby",
352
+ "tavily",
353
+ "exa"
354
+ ],
355
+ "it": [
356
+ "wikipedia",
357
+ "anysearch",
358
+ "zhihu_global",
359
+ "byted",
360
+ "ndl",
361
+ "open_library",
362
+ "wiby",
363
+ "tavily",
364
+ "exa"
365
+ ],
366
+ "nl": [
367
+ "wikipedia",
368
+ "zh_wikipedia",
369
+ "anysearch",
370
+ "zhihu_global",
371
+ "byted",
372
+ "ndl",
373
+ "dnb",
374
+ "open_library",
375
+ "wiby",
376
+ "tavily",
377
+ "exa"
378
+ ],
379
+ "pl": [
380
+ "wikipedia",
381
+ "zh_wikipedia",
382
+ "anysearch",
383
+ "zhihu_global",
384
+ "dnb",
385
+ "open_library",
386
+ "marginalia",
387
+ "wiby",
388
+ "searchmysite",
389
+ "tavily",
390
+ "exa"
391
+ ],
392
+ "tr": [
393
+ "wikipedia",
394
+ "anysearch",
395
+ "zhihu_global",
396
+ "byted",
397
+ "ndl",
398
+ "open_library",
399
+ "tavily",
400
+ "exa"
401
+ ],
402
+ "vi": [
403
+ "wikipedia",
404
+ "anysearch",
405
+ "zhihu_global",
406
+ "byted",
407
+ "ndl",
408
+ "open_library",
409
+ "tavily",
410
+ "exa"
411
+ ],
412
+ "th": [
413
+ "anysearch",
414
+ "tavily",
415
+ "exa"
416
+ ],
417
+ "hi": [
418
+ "wikipedia",
419
+ "wikidata",
420
+ "anysearch",
421
+ "open_library",
422
+ "tavily",
423
+ "exa"
424
+ ],
425
+ "he": [
426
+ "wikipedia",
427
+ "wikidata",
428
+ "anysearch",
429
+ "byted",
430
+ "open_library",
431
+ "tavily",
432
+ "exa"
433
+ ]
434
+ },
435
+ "summary": {
436
+ "per_lang": {
437
+ "zh": {
438
+ "good_engines": [
439
+ "wikipedia",
440
+ "zh_wikipedia",
441
+ "anysearch",
442
+ "juejin",
443
+ "zhihu_global",
444
+ "byted",
445
+ "bocha",
446
+ "tavily"
447
+ ],
448
+ "noise_engines": [
449
+ "v2ex",
450
+ "stackoverflow",
451
+ "searchmysite"
452
+ ],
453
+ "good": 8,
454
+ "noise": 3
455
+ },
456
+ "en": {
457
+ "good_engines": [
458
+ "wikipedia",
459
+ "zh_wikipedia",
460
+ "anysearch",
461
+ "zhihu_global",
462
+ "dnb",
463
+ "open_library",
464
+ "marginalia",
465
+ "wiby",
466
+ "bocha",
467
+ "tavily",
468
+ "exa"
469
+ ],
470
+ "noise_engines": [
471
+ "juejin",
472
+ "devto",
473
+ "stackoverflow",
474
+ "hatena_bookmark",
475
+ "byted",
476
+ "moegirl",
477
+ "lieu",
478
+ "searchmysite"
479
+ ],
480
+ "good": 11,
481
+ "noise": 8
482
+ },
483
+ "ja": {
484
+ "good_engines": [
485
+ "wikipedia",
486
+ "anysearch",
487
+ "zhihu_global",
488
+ "ndl",
489
+ "tavily"
490
+ ],
491
+ "noise_engines": [
492
+ "juejin",
493
+ "stackoverflow",
494
+ "hatena_bookmark",
495
+ "moegirl",
496
+ "searchmysite"
497
+ ],
498
+ "good": 5,
499
+ "noise": 5
500
+ },
501
+ "ko": {
502
+ "good_engines": [
503
+ "wikipedia",
504
+ "anysearch",
505
+ "tavily",
506
+ "exa"
507
+ ],
508
+ "noise_engines": [
509
+ "zh_wikipedia",
510
+ "juejin",
511
+ "byted",
512
+ "moegirl",
513
+ "bocha"
514
+ ],
515
+ "good": 4,
516
+ "noise": 5
517
+ },
518
+ "ru": {
519
+ "good_engines": [
520
+ "wikipedia",
521
+ "wikidata",
522
+ "anysearch",
523
+ "ndl",
524
+ "wiby",
525
+ "tavily",
526
+ "exa"
527
+ ],
528
+ "noise_engines": [
529
+ "zh_wikipedia",
530
+ "juejin",
531
+ "moegirl",
532
+ "searchmysite",
533
+ "bocha"
534
+ ],
535
+ "good": 7,
536
+ "noise": 5
537
+ },
538
+ "ar": {
539
+ "good_engines": [
540
+ "wikipedia",
541
+ "wikidata",
542
+ "anysearch",
543
+ "ndl",
544
+ "dnb",
545
+ "open_library",
546
+ "bocha",
547
+ "tavily",
548
+ "exa"
549
+ ],
550
+ "noise_engines": [
551
+ "zh_wikipedia",
552
+ "juejin",
553
+ "stackoverflow",
554
+ "moegirl",
555
+ "searchmysite"
556
+ ],
557
+ "good": 9,
558
+ "noise": 5
559
+ },
560
+ "de": {
561
+ "good_engines": [
562
+ "wikipedia",
563
+ "anysearch",
564
+ "zhihu_global",
565
+ "byted",
566
+ "ndl",
567
+ "dnb",
568
+ "open_library",
569
+ "marginalia",
570
+ "wiby",
571
+ "tavily",
572
+ "exa"
573
+ ],
574
+ "noise_engines": [
575
+ "juejin",
576
+ "devto",
577
+ "stackoverflow",
578
+ "hatena_bookmark",
579
+ "moegirl",
580
+ "searchmysite"
581
+ ],
582
+ "good": 11,
583
+ "noise": 6
584
+ },
585
+ "fr": {
586
+ "good_engines": [
587
+ "wikipedia",
588
+ "zh_wikipedia",
589
+ "anysearch",
590
+ "zhihu_global",
591
+ "byted",
592
+ "open_library",
593
+ "marginalia",
594
+ "wiby",
595
+ "bocha",
596
+ "tavily",
597
+ "exa"
598
+ ],
599
+ "noise_engines": [
600
+ "juejin",
601
+ "devto",
602
+ "stackoverflow",
603
+ "hatena_bookmark",
604
+ "dnb",
605
+ "searchmysite"
606
+ ],
607
+ "good": 11,
608
+ "noise": 6
609
+ },
610
+ "es": {
611
+ "good_engines": [
612
+ "wikipedia",
613
+ "zh_wikipedia",
614
+ "wikidata",
615
+ "anysearch",
616
+ "qiita",
617
+ "zhihu_global",
618
+ "byted",
619
+ "ndl",
620
+ "open_library",
621
+ "wiby",
622
+ "tavily",
623
+ "exa"
624
+ ],
625
+ "noise_engines": [
626
+ "juejin",
627
+ "devto",
628
+ "stackoverflow",
629
+ "hatena_bookmark",
630
+ "moegirl",
631
+ "dnb",
632
+ "lieu",
633
+ "searchmysite"
634
+ ],
635
+ "good": 12,
636
+ "noise": 8
637
+ },
638
+ "pt": {
639
+ "good_engines": [
640
+ "wikipedia",
641
+ "zh_wikipedia",
642
+ "anysearch",
643
+ "zhihu_global",
644
+ "byted",
645
+ "ndl",
646
+ "open_library",
647
+ "marginalia",
648
+ "wiby",
649
+ "tavily",
650
+ "exa"
651
+ ],
652
+ "noise_engines": [
653
+ "juejin",
654
+ "stackoverflow",
655
+ "hatena_bookmark",
656
+ "moegirl",
657
+ "dnb",
658
+ "lieu"
659
+ ],
660
+ "good": 11,
661
+ "noise": 6
662
+ },
663
+ "it": {
664
+ "good_engines": [
665
+ "wikipedia",
666
+ "anysearch",
667
+ "zhihu_global",
668
+ "byted",
669
+ "ndl",
670
+ "open_library",
671
+ "wiby",
672
+ "tavily",
673
+ "exa"
674
+ ],
675
+ "noise_engines": [
676
+ "juejin",
677
+ "hackernews",
678
+ "stackoverflow",
679
+ "hatena_bookmark",
680
+ "moegirl",
681
+ "dnb",
682
+ "lieu",
683
+ "searchmysite"
684
+ ],
685
+ "good": 9,
686
+ "noise": 8
687
+ },
688
+ "nl": {
689
+ "good_engines": [
690
+ "wikipedia",
691
+ "zh_wikipedia",
692
+ "anysearch",
693
+ "zhihu_global",
694
+ "byted",
695
+ "ndl",
696
+ "dnb",
697
+ "open_library",
698
+ "wiby",
699
+ "tavily",
700
+ "exa"
701
+ ],
702
+ "noise_engines": [
703
+ "juejin",
704
+ "devto",
705
+ "stackoverflow",
706
+ "hatena_bookmark",
707
+ "moegirl",
708
+ "lieu",
709
+ "searchmysite"
710
+ ],
711
+ "good": 11,
712
+ "noise": 7
713
+ },
714
+ "pl": {
715
+ "good_engines": [
716
+ "wikipedia",
717
+ "zh_wikipedia",
718
+ "anysearch",
719
+ "zhihu_global",
720
+ "dnb",
721
+ "open_library",
722
+ "marginalia",
723
+ "wiby",
724
+ "searchmysite",
725
+ "tavily",
726
+ "exa"
727
+ ],
728
+ "noise_engines": [
729
+ "wikidata",
730
+ "juejin",
731
+ "hackernews",
732
+ "moegirl",
733
+ "bocha"
734
+ ],
735
+ "good": 11,
736
+ "noise": 5
737
+ },
738
+ "tr": {
739
+ "good_engines": [
740
+ "wikipedia",
741
+ "anysearch",
742
+ "zhihu_global",
743
+ "byted",
744
+ "ndl",
745
+ "open_library",
746
+ "tavily",
747
+ "exa"
748
+ ],
749
+ "noise_engines": [
750
+ "wikidata",
751
+ "juejin",
752
+ "stackoverflow",
753
+ "moegirl",
754
+ "lieu",
755
+ "searchmysite",
756
+ "bocha"
757
+ ],
758
+ "good": 8,
759
+ "noise": 7
760
+ },
761
+ "vi": {
762
+ "good_engines": [
763
+ "wikipedia",
764
+ "anysearch",
765
+ "zhihu_global",
766
+ "byted",
767
+ "ndl",
768
+ "open_library",
769
+ "tavily",
770
+ "exa"
771
+ ],
772
+ "noise_engines": [
773
+ "zh_wikipedia",
774
+ "juejin",
775
+ "hackernews",
776
+ "stackoverflow",
777
+ "hatena_bookmark",
778
+ "moegirl",
779
+ "lieu",
780
+ "searchmysite"
781
+ ],
782
+ "good": 8,
783
+ "noise": 8
784
+ },
785
+ "th": {
786
+ "good_engines": [
787
+ "anysearch",
788
+ "tavily",
789
+ "exa"
790
+ ],
791
+ "noise_engines": [
792
+ "wikipedia",
793
+ "zh_wikipedia",
794
+ "juejin",
795
+ "moegirl",
796
+ "bocha"
797
+ ],
798
+ "good": 3,
799
+ "noise": 5
800
+ },
801
+ "hi": {
802
+ "good_engines": [
803
+ "wikipedia",
804
+ "wikidata",
805
+ "anysearch",
806
+ "open_library",
807
+ "tavily",
808
+ "exa"
809
+ ],
810
+ "noise_engines": [
811
+ "zh_wikipedia",
812
+ "juejin",
813
+ "devto",
814
+ "moegirl",
815
+ "bocha"
816
+ ],
817
+ "good": 6,
818
+ "noise": 5
819
+ },
820
+ "he": {
821
+ "good_engines": [
822
+ "wikipedia",
823
+ "wikidata",
824
+ "anysearch",
825
+ "byted",
826
+ "open_library",
827
+ "tavily",
828
+ "exa"
829
+ ],
830
+ "noise_engines": [
831
+ "zh_wikipedia",
832
+ "juejin",
833
+ "moegirl",
834
+ "searchmysite",
835
+ "bocha"
836
+ ],
837
+ "good": 7,
838
+ "noise": 5
839
+ }
840
+ }
841
+ }
842
+ }