argo-search 2.14.0 → 2.15.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 (207) hide show
  1. package/AGENTS.md +8 -6
  2. package/README.es.md +56 -824
  3. package/README.ja.md +55 -825
  4. package/README.ko.md +55 -823
  5. package/README.md +128 -868
  6. package/README.zh.md +206 -0
  7. package/SKILL.md +17 -18
  8. package/assets/readme/counts.json +1 -1
  9. package/assets/readme/hero.svg +23 -23
  10. package/backends/concept_vectors.bin +0 -0
  11. package/backends/domain_profiles.json +66 -0
  12. package/backends/engine_concept_vectors.json +1525 -1525
  13. package/backends/engine_registry.yaml +193 -46
  14. package/backends/quota_profiles.json +110 -0
  15. package/bin/argo +30 -17
  16. package/config.yaml +196 -36
  17. package/docs/ADDING_NEW_ENGINE.md +10 -0
  18. package/docs/ARGO_INTRO.md +1 -1
  19. package/docs/CHANGELOG.md +45 -0
  20. package/docs/ENGINE_CATALOG.md +128 -112
  21. package/docs/MCP_SETUP.md +2 -2
  22. package/docs/RELEASE_NOTES_v2.14.0.md +12 -1
  23. package/docs/RELEASE_NOTES_v2.14.1.md +80 -0
  24. package/docs/RELEASE_NOTES_v2.15.0.md +50 -0
  25. package/docs/RELEASING.md +53 -1
  26. package/engines/specs/ai_labs.yaml +89 -0
  27. package/engines/specs/artic.yaml +11 -1
  28. package/engines/specs/bilibili_hot.yaml +11 -1
  29. package/engines/specs/brave.yaml +3 -3
  30. package/engines/specs/cisa_alerts.yaml +40 -0
  31. package/engines/specs/cleveland.yaml +15 -1
  32. package/engines/specs/clinicaltrials.yaml +16 -1
  33. package/engines/specs/cn_ai_news.yaml +10 -8
  34. package/engines/specs/cnii.yaml +15 -4
  35. package/engines/specs/deezer.yaml +12 -1
  36. package/engines/specs/digup.yaml +11 -6
  37. package/engines/specs/doaj.yaml +14 -1
  38. package/engines/specs/douyin_hot.yaml +11 -1
  39. package/engines/specs/dw_news.yaml +4 -2
  40. package/engines/specs/endoflife.yaml +16 -1
  41. package/engines/specs/eng_blogs.yaml +63 -0
  42. package/engines/specs/eu_opendata.yaml +11 -1
  43. package/engines/specs/europeana.yaml +22 -5
  44. package/engines/specs/feed.yaml +62 -0
  45. package/engines/specs/felo.yaml +3 -3
  46. package/engines/specs/figshare.yaml +12 -1
  47. package/engines/specs/firecrawl.yaml +3 -0
  48. package/engines/specs/fourget.yaml +5 -2
  49. package/engines/specs/france24.yaml +6 -4
  50. package/engines/specs/fxtwitter.yaml +29 -6
  51. package/engines/specs/grepapp_mcp.yaml +62 -0
  52. package/engines/specs/guardian_rss.yaml +6 -4
  53. package/engines/specs/hackernews.yaml +17 -2
  54. package/engines/specs/hal.yaml +19 -1
  55. package/engines/specs/hf_datasets.yaml +59 -0
  56. package/engines/specs/hf_papers.yaml +17 -1
  57. package/engines/specs/itotii.yaml +13 -1
  58. package/engines/specs/jikan.yaml +12 -10
  59. package/engines/specs/kaggle.yaml +5 -3
  60. package/engines/specs/lobsters.yaml +41 -0
  61. package/engines/specs/local_seek.yaml +6 -0
  62. package/engines/specs/maven.yaml +61 -0
  63. package/engines/specs/nasa_cmr.yaml +12 -1
  64. package/engines/specs/nuget.yaml +57 -0
  65. package/engines/specs/open_meteo.yaml +1 -1
  66. package/engines/specs/redskill.yaml +2 -0
  67. package/engines/specs/searxng.yaml +4 -2
  68. package/engines/specs/sec_edgar.yaml +8 -3
  69. package/engines/specs/tatoeba.yaml +14 -1
  70. package/engines/specs/tinyfish.yaml +2 -0
  71. package/engines/specs/tinyfish_news.yaml +2 -0
  72. package/engines/specs/tinyfish_paper.yaml +2 -0
  73. package/engines/specs/toutiao_hot.yaml +11 -1
  74. package/engines/specs/train.yaml +3 -0
  75. package/engines/specs/tvmaze.yaml +5 -1
  76. package/engines/specs/twitter.yaml +4 -0
  77. package/engines/specs/unpaywall.yaml +6 -0
  78. package/engines/specs/usda.yaml +14 -1
  79. package/engines/specs/vam.yaml +17 -3
  80. package/engines/specs/weibo_hot.yaml +11 -1
  81. package/engines/specs/wolframalpha.yaml +3 -3
  82. package/engines/specs/xiaohongshu.yaml +2 -0
  83. package/engines/specs/zhihu.yaml +3 -18
  84. package/engines/specs/zhihu_kb.yaml +18 -0
  85. package/engines/specs/zhihu_questions.yaml +19 -0
  86. package/package.json +4 -2
  87. package/packages/dsh-plugin/README.md +9 -14
  88. package/packages/dsh-plugin/dsh/client.js +467 -1024
  89. package/packages/dsh-plugin/dsh/diagnostics.js +71 -20
  90. package/packages/dsh-plugin/dsh/native-tools.mjs +61 -113
  91. package/packages/dsh-plugin/dsh/runner.js +2 -0
  92. package/packages/dsh-plugin/dsh/wide-research.js +1 -1
  93. package/packages/dsh-plugin/package.json +8 -3
  94. package/packages/dsh-plugin/scripts/sync-local.mjs +87 -0
  95. package/packages/dsh-plugin/scripts/sync-local.sh +13 -1
  96. package/packages/dsh-plugin/test/diagnostics.test.js +38 -1
  97. package/packages/dsh-plugin/test/size-gate.test.js +2 -9
  98. package/scripts/adaptive.py +7 -1
  99. package/scripts/archive_run.py +112 -53
  100. package/scripts/argo_paths.py +40 -3
  101. package/scripts/badcase_ledger.py +153 -10
  102. package/scripts/build_concept_table.py +112 -55
  103. package/scripts/build_release_assets.sh +43 -15
  104. package/scripts/cache.py +5 -1
  105. package/scripts/caliber_isolation.py +60 -23
  106. package/scripts/circuit_breaker.py +56 -8
  107. package/scripts/cli_io.py +20 -2
  108. package/scripts/config_cache.py +31 -0
  109. package/scripts/daemon.py +146 -51
  110. package/scripts/dormant_ledger.py +239 -0
  111. package/scripts/engine_dispatch.py +3 -3
  112. package/scripts/engine_env.py +182 -1
  113. package/scripts/engine_families.py +50 -7
  114. package/scripts/engine_states.py +9 -51
  115. package/scripts/engine_validate.py +150 -6
  116. package/scripts/engines.py +15 -67
  117. package/scripts/engines_base.py +68 -124
  118. package/scripts/engines_builders.py +0 -51
  119. package/scripts/engines_builders_batch10.py +346 -100
  120. package/scripts/engines_builders_batch11.py +2 -75
  121. package/scripts/engines_builders_batch9.py +15 -228
  122. package/scripts/engines_builders_cn.py +0 -194
  123. package/scripts/engines_builders_feeds.py +203 -35
  124. package/scripts/engines_builders_intl.py +15 -443
  125. package/scripts/engines_builders_pixiv.py +2 -16
  126. package/scripts/engines_builders_science.py +0 -85
  127. package/scripts/engines_builders_search.py +7 -14
  128. package/scripts/engines_builders_tech.py +5 -112
  129. package/scripts/engines_builders_weather.py +236 -0
  130. package/scripts/engines_fields.py +91 -0
  131. package/scripts/engines_http.py +135 -0
  132. package/scripts/engines_mcp.py +383 -0
  133. package/scripts/engines_parsers.py +196 -27
  134. package/scripts/engines_schema_drift.py +260 -0
  135. package/scripts/evidence.py +13 -0
  136. package/scripts/evidence_loop.py +93 -5
  137. package/scripts/fetch_jsrun.py +15 -11
  138. package/scripts/fetch_v3.py +28 -28
  139. package/scripts/fulltext_store.py +42 -1
  140. package/scripts/fxtwitter_api.py +8 -7
  141. package/scripts/gen_engine_catalog.py +4 -4
  142. package/scripts/gen_native_tools.py +2 -1
  143. package/scripts/general_pool.py +15 -4
  144. package/scripts/health_check.py +1 -1
  145. package/scripts/link_source.py +65 -24
  146. package/scripts/local_intent.py +51 -15
  147. package/scripts/local_seek.py +37 -4
  148. package/scripts/local_seek_adapter.py +57 -17
  149. package/scripts/mcp_handlers.py +173 -99
  150. package/scripts/mcp_handlers_surface.py +6 -18
  151. package/scripts/mcp_server.py +1 -1
  152. package/scripts/mcp_tools.py +143 -61
  153. package/scripts/mcp_transport.py +42 -10
  154. package/scripts/min_version_scan.py +7 -3
  155. package/scripts/network_aware.py +7 -13
  156. package/scripts/pre-commit +57 -31
  157. package/scripts/query_understanding.py +30 -6
  158. package/scripts/quota.py +6 -1
  159. package/scripts/rank_signals.py +9 -0
  160. package/scripts/recompute.py +15 -5
  161. package/scripts/recovery.py +21 -15
  162. package/scripts/release.py +29 -32
  163. package/scripts/release_check.py +6 -26
  164. package/scripts/replay_eval.py +2 -2
  165. package/scripts/research_cli.py +40 -0
  166. package/scripts/research_notes.py +368 -0
  167. package/scripts/route.py +32 -70
  168. package/scripts/route_audit.py +259 -0
  169. package/scripts/route_combo.py +10 -4
  170. package/scripts/route_domains.py +150 -23
  171. package/scripts/route_lang.py +20 -7
  172. package/scripts/route_log.py +26 -9
  173. package/scripts/route_policy.py +91 -7
  174. package/scripts/route_telemetry_export.py +199 -0
  175. package/scripts/rrf_classic.py +5 -22
  176. package/scripts/search.py +2 -1
  177. package/scripts/search_attribution.py +33 -10
  178. package/scripts/search_cli.py +44 -7
  179. package/scripts/search_entry.py +5 -1
  180. package/scripts/search_output.py +5 -4
  181. package/scripts/search_pipeline.py +12 -0
  182. package/scripts/search_rank.py +21 -11
  183. package/scripts/secret_guard.py +106 -0
  184. package/scripts/semantic_evidence.py +539 -117
  185. package/scripts/settings_page.py +83 -11
  186. package/scripts/social_engines/xiaohongshu_engine.py +2 -1
  187. package/scripts/social_engines/zhihu_engine.py +251 -43
  188. package/scripts/sogou_weixin_browser.py +5 -6
  189. package/scripts/source_audit.py +77 -0
  190. package/scripts/source_ledger.py +2 -15
  191. package/scripts/source_selection.py +45 -20
  192. package/scripts/straggler_policy.py +1 -2
  193. package/scripts/sync_backends.py +24 -0
  194. package/scripts/tfidf_router.py +23 -11
  195. package/scripts/time_utils.py +54 -1
  196. package/scripts/train.py +68 -2
  197. package/scripts/usage_log.py +26 -1
  198. package/sub-skills/argo-wide-research/SKILL.md +68 -0
  199. package/sub-skills/ego-search/SKILL.md +1 -1
  200. package/sub-skills/local-seek/scripts/seek_fts.py +67 -4
  201. package/README.en.md +0 -826
  202. package/scripts/caliber_dedupe.py +0 -66
  203. package/scripts/engines_builders_batch16.py +0 -186
  204. package/scripts/health_probe.py +0 -253
  205. package/scripts/image_vision/vision_probe +0 -0
  206. package/scripts/social_engines/twitter_engine.py +0 -514
  207. package/scripts/sync_installs.py +0 -29
@@ -1,18 +1,20 @@
1
- # Jikan(MyAnimeList 数据,免认证非官方)——【暂不启用】
2
- # 2026-09-13 实测:/anime?q= 检索端点持续 504(curl 直连同样 504,非本机问题),
3
- # 而同站 /top/anime 与 /anime/{id} 返回 200 —— 是其检索端点的上游故障。
4
- # builder 逻辑已验证正确,待检索端点恢复后把 enabled 改回 true 即可。
5
- # 补 anime_encyclopedia 域:现有 bangumi(中文圈)+ 萌娘百科,Jikan 覆盖
6
- # MAL 的全球番剧库(含日文原名与评分)。社区接口,失败诚实空。
7
- # 验证:
8
- # python3 scripts/engine_validate.py --engine jikan --stage all --admit --write-doc
9
-
10
1
  engine_id: jikan
11
- type: jikan
2
+ type: http
12
3
  enabled: false
13
4
  disabled_reason: builder 逻辑已验证正确,待检索端点恢复后把 enabled 改回 true(见文件头注释);重开前需实测端点可用性
14
5
  cost_tier: free
15
6
  timeout: 20
7
+ method: GET
8
+ url: "https://api.jikan.moe/v4/anime"
9
+ query_param: q
10
+ format_is_query_param: false
11
+ output_map:
12
+ items: data
13
+ # 原 builder 优先 title_japanese 缺失时回落 title;这里 title 直取。
14
+ item_title: title
15
+ item_url: url
16
+ # 拼接模板:原 builder 的 `类型 · N 集 · 评分 X · 状态(MyAnimeList)`
17
+ item_summary_template: "{type} · {episodes} 集 · 评分 {score} · {status}(MyAnimeList)"
16
18
  canary_query: "naruto"
17
19
  desc: "动漫元数据(Jikan/MyAnimeList,免认证,含评分与集数)"
18
20
  coverage: [anime, media, entertainment, japanese]
@@ -34,11 +34,13 @@ output_map:
34
34
  # Kaggle 的 Java 序列化遗留:Nullable 字段是主值,标准 output_map 直接可用。
35
35
  item_title: titleNullable
36
36
  item_url: urlNullable
37
- item_summary: subtitleNullable
37
+ # 拼接模板:原 builder 把 subtitle 与 license/大小一起放进 snippet。
38
+ # 许可证/大小是数据集的关键元数据,单字段映射会让「含许可证/大小/版本」的
39
+ # desc 承诺落空,故用模板恢复。
40
+ item_summary_template: "{subtitleNullable} · 许可 {licenseNameNullable} · {totalBytesNullable} bytes"
38
41
  item_image: thumbnailImageUrlNullable
39
42
  format: json
40
43
  # format 是解析提示,不是 Kaggle 的查询参数(Kaggle API 会因未知参数 400)。
41
44
  format_is_query_param: false
42
45
  # 2026-11-10 P1-1 标准化试点:原 type=kaggle + custom builder 改为标准 http。
43
- # 原 builder 的 license/size 拼接逻辑改用 output_map 声明(subtitle 已含
44
- # 描述,license 走 item_source 字段)。
46
+ # 原 builder 的 license/size 拼接逻辑改用 output_map 拼接模板声明。
@@ -0,0 +1,41 @@
1
+ # Lobste.rs — 独立系统技术与极客社区一手讨论流(免 key)
2
+ #
3
+ # 补的盲区:现有技术讨论主要依赖 Hacker News(hackernews.yaml),HN 偏向泛科技
4
+ # 与创业创投;Lobste.rs 实行严格邀请制,内容更垂直聚焦于操作系统、编译器、
5
+ # 分布式系统、底层网络、PL 等高信噪比技术与架构复盘。此前仅在 feed.yaml 种子中
6
+ # 作为次要项,无法被显式检索或参与路由。
7
+ #
8
+ # 形态:feed_mode=filter(本地主题词过滤,支持精准检索近期深度技术讨论)。
9
+ #
10
+ # 验证:
11
+ # python3 scripts/engine_validate.py --engine lobsters --stage health
12
+ # python3 scripts/search.py "Rust" --engine lobsters --json
13
+
14
+ engine_id: lobsters
15
+ type: rss_feed
16
+ enabled: true
17
+ cost_tier: free
18
+ label: Lobsters
19
+ family: social
20
+ feed_mode: filter
21
+ priority: 35
22
+ qps: 1
23
+ period: second
24
+ cost_per_call: 0.0
25
+ cost_unit: free
26
+ timeout: 12
27
+ feed_url: https://lobste.rs/rss
28
+ langs:
29
+ - en
30
+ canary_query: "Linux"
31
+ coverage:
32
+ - tech
33
+ - programming
34
+ - systems
35
+ - discussion
36
+ desc: "Lobste.rs 极客社区(高质量底层系统、语言与架构一手讨论实时流,免 key)"
37
+ recommended: false
38
+
39
+ quality_queries:
40
+ - query: "Linux"
41
+ - query: "Rust"
@@ -32,3 +32,9 @@ recommended: false
32
32
  latency_ms: 300
33
33
  quality_queries:
34
34
  - query: "engine_validate"
35
+ allowed_env:
36
+ - ARGO_SEEK_SUBPROCESS
37
+ - ARGO_SEEK_CONTENT_RERANK
38
+ - ARGO_LOCAL_FTS
39
+ - ARGO_SEEK_FRECENCY
40
+ - ARGO_SEEK_FRECENCY_DB
@@ -0,0 +1,61 @@
1
+ # Maven Central — Java/JVM 包关键词发现(官方权威,免认证)
2
+ #
3
+ # 补的盲区:package_search 域原先只有 pypi/npm/crates/docker_hub/github,
4
+ # 没有任何 maven/gradle/java 触发词,「guava 最新版本」这类查询落进泛化域
5
+ # 用通用网页搜。deps.dev 是按包名查依赖图谱,不是关键词发现,口径不同。
6
+ #
7
+ # 端点口径(2026-11-11 实测):
8
+ # · search.maven.org/solrsearch/select 200 / 386 条 / 2.5s,稳定
9
+ # · central.sonatype.com 的 internal browse API 是 403 Cloudflare,不可用
10
+ # (09-19 调研里「旧域名超时需换新域名」的结论已过时,勿按它绕路)
11
+ # · wt=json 必填;rows={n} 控制条数;q 透传关键词
12
+ # · 返回 response.docs,字段 g(group)/a(artifact)/latestVersion/versionCount/timestamp
13
+ #
14
+ # format 是解析提示,不是查询参数:声明 format_is_query_param: false 退出注入,
15
+ # 否则 URL 会多出 &format=json(实测该 API 忽略它,但规范上应关掉)。
16
+ # 验证:
17
+ # python3 scripts/engine_validate.py --engine maven --stage all --admit
18
+ # python3 scripts/search.py "guava" --engine maven --json
19
+
20
+ engine_id: maven
21
+ type: http
22
+ enabled: true
23
+ label: Maven Central
24
+ cost_tier: free
25
+ family: code
26
+ qps: 2
27
+ priority: 40
28
+ period: second
29
+ cost_per_call: 0.0
30
+ cost_unit: free
31
+ coverage:
32
+ - code
33
+ - java
34
+ - package
35
+ desc: Maven Central 包搜索(Java/JVM,官方权威,含最新版本/版本数/发布时间)
36
+ format: json
37
+ format_is_query_param: false
38
+ method: GET
39
+ query_param: q
40
+ extra_params:
41
+ rows: '{n}'
42
+ wt: json
43
+ output_map:
44
+ items: response.docs
45
+ item_title: id
46
+ item_url: id
47
+ item_summary_template: "latest {latestVersion} · {versionCount} versions · group {g}"
48
+ item_published_at: timestamp
49
+ url_template: https://central.sonatype.com/artifact/{g}/{a}
50
+ timeout: 12
51
+ url: https://search.maven.org/solrsearch/select
52
+ headers:
53
+ User-Agent: argo-search/2.5
54
+ canary_query: guava
55
+ quality_queries:
56
+ - id: maven_plain
57
+ query: guava
58
+ category: code
59
+ - id: maven_group
60
+ query: g:org.springframework
61
+ category: code
@@ -12,4 +12,15 @@ coverage:
12
12
  - earth
13
13
  desc: NASA CMR 地球科学数据目录(MODIS/遥感,cmr.earthdata.nasa.gov 免认证)
14
14
  timeout: 12
15
- type: nasa_cmr
15
+ type: http
16
+ method: GET
17
+ url: "https://cmr.earthdata.nasa.gov/search/collections.json"
18
+ query_param: keyword
19
+ headers:
20
+ Accept: "application/json"
21
+ format_is_query_param: false
22
+ output_map:
23
+ items: feed.entry
24
+ item_title: title
25
+ item_summary: summary
26
+ url_template: "https://search.earthdata.nasa.gov/search/granules?p={id}"
@@ -0,0 +1,57 @@
1
+ # NuGet — .NET 包关键词发现(官方 V3 搜索 API,免认证)
2
+ #
3
+ # 补的盲区:与 maven 同批,package_search 域原先无任何 nuget/dotnet/.net
4
+ # 触发词,「Newtonsoft.Json nuget」实测落进 org_entity 用 wikidata 答。
5
+ # 返回字段含 totalDownloads/verified/vulnerabilities,与已有 OSV 漏洞情报
6
+ # 可交叉(vulnerabilities 是包级漏洞标记)。
7
+ #
8
+ # 端点口径(2026-11-11 实测):azuresearch-usnc.nuget.org/query 200 / 1004 条 /
9
+ # 1.8s。q 透传关键词,take={n} 控制条数。返回 data 数组,字段
10
+ # id/version/description/totalDownloads/verified/tags/projectUrl。
11
+ #
12
+ # format 是解析提示,不是查询参数:声明 format_is_query_param: false 退出注入。
13
+ # 验证:
14
+ # python3 scripts/engine_validate.py --engine nuget --stage all --admit
15
+ # python3 scripts/search.py "Newtonsoft.Json" --engine nuget --json
16
+
17
+ engine_id: nuget
18
+ type: http
19
+ enabled: true
20
+ label: NuGet
21
+ cost_tier: free
22
+ family: code
23
+ qps: 2
24
+ priority: 40
25
+ period: second
26
+ cost_per_call: 0.0
27
+ cost_unit: free
28
+ coverage:
29
+ - code
30
+ - dotnet
31
+ - package
32
+ desc: NuGet 包搜索(.NET,官方权威,含版本/下载量/认证/漏洞标记)
33
+ format: json
34
+ format_is_query_param: false
35
+ method: GET
36
+ query_param: q
37
+ extra_params:
38
+ take: '{n}'
39
+ output_map:
40
+ items: data
41
+ item_title: id
42
+ item_url: id
43
+ item_summary_template: "{version} · {description} · downloads {totalDownloads}"
44
+ item_upstream: projectUrl
45
+ url_template: https://www.nuget.org/packages/{id}
46
+ timeout: 10
47
+ url: https://azuresearch-usnc.nuget.org/query
48
+ headers:
49
+ User-Agent: argo-search/2.5
50
+ canary_query: Newtonsoft.Json
51
+ quality_queries:
52
+ - id: nuget_plain
53
+ query: Newtonsoft.Json
54
+ category: code
55
+ - id: nuget_topic
56
+ query: json serializer
57
+ category: code
@@ -12,6 +12,6 @@ coverage:
12
12
  - weather
13
13
  - global
14
14
  - forecast
15
- desc: 全球天气(城市/地名 → 坐标 → 当前天气,免认证)
15
+ desc: 全球天气(城市/地名 → 坐标 → 当前天气 + 逐日预报,免认证;预报天数取查询跨度词,默认 3 天)
16
16
  timeout: 12
17
17
  type: open_meteo
@@ -22,3 +22,5 @@ search_args:
22
22
  - '-n'
23
23
  - '{n}'
24
24
  env: {}
25
+ allowed_env:
26
+ - ARGO_REDSKILL_CACHE
@@ -1,6 +1,6 @@
1
1
  engine_id: searxng
2
- enabled: false
3
- disabled_reason: 已用内嵌本地引擎替代外挂 SearXNG 主路径(自包含部署,少一个外部依赖);重开需自备 SearXNG 实例并把 ARGO_SEARXNG_URL 指向它
2
+ enabled: true
3
+ explicit_only: true
4
4
  label: SearXNG
5
5
  cost_tier: free
6
6
  coverage:
@@ -16,3 +16,5 @@ type: http
16
16
  # 走引擎 spec 既有的 {VAR} 占位符(engines_base._resolve 经 engine_env 解析,
17
17
  # os.environ 优先 + env 文件保底):未配置时该源不可用,不会假装能用。
18
18
  url: "{SEARXNG_URL}"
19
+ allowed_env:
20
+ - SEARXNG_URL
@@ -40,7 +40,12 @@ headers:
40
40
  output_map:
41
41
  items: hits.hits
42
42
  item_title: _source.display_names.0
43
- # 文档本体 URL:Archives/edgar/data/{cik}/{accession_no_dashes}/{primary_doc}
44
- # 如果 efts 返回 accession 字段则拼文档本体,否则回退到 browse 页
45
- url_template: https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK={_source.ciks.0}&type={forms}&dateb=&owner=include&count=40
43
+ # 逐条目的申报列表页。占位符必须都取自 efts 响应条目本身:
44
+ # `_format_url_template` 只按点分路径从 item 取值,任一占位为空就把
45
+ # url 整个 pop 掉,下游按「无 URL 不可溯源」过滤,表现为「引擎有响应
46
+ # 但用户看到 0 条」。这里曾用 {forms}(spec 里的请求参数,非响应字段),
47
+ # 导致全部条目渲染为空串、0 条结果;2026-11-11 改用 _source.file_type。
48
+ # 不用 Archives 文档本体 URL 是因为它需要去前导零、去连字符等变换,
49
+ # 声明式模板做不了,需专门 builder;列表页同样可打开且随条目变化。
50
+ url_template: https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK={_source.ciks.0}&type={_source.file_type}&dateb=&owner=include&count=40
46
51
  item_summary: _source.file_description
@@ -14,4 +14,17 @@ coverage:
14
14
  - sentence
15
15
  desc: 400+ 语言对真实句子语料(翻译/语言学习)
16
16
  timeout: 12
17
- type: tatoeba
17
+ type: http
18
+ method: GET
19
+ url: "https://tatoeba.org/en/api_v0/search"
20
+ query_param: query
21
+ format_is_query_param: false
22
+ output_map:
23
+ items: results
24
+ item_title: text
25
+ # 拼接模板:原 builder 输出 `译文1 ⇄ 译文2`(取前 3 层、每层前 2 条),
26
+ # 无译文时回落 `(lang)`。单字段映射只能取到单条译文,故用模板;
27
+ # item_summary 作模板为空时的兜底(模板非空时覆盖它)。
28
+ item_summary: lang
29
+ item_summary_template: "{translations.0.0.text} ⇄ {translations.0.1.text} ⇄ {translations.1.0.text} ⇄ {translations.1.1.text} ⇄ {translations.2.0.text} ⇄ {translations.2.1.text}"
30
+ url_template: "https://tatoeba.org/en/sentences/show/{id}"
@@ -34,3 +34,5 @@ output_map:
34
34
  item_summary: snippet
35
35
  item_source: site_name
36
36
  item_published_at: date
37
+ allowed_env:
38
+ - TINYFISH_API_KEY
@@ -32,3 +32,5 @@ output_map:
32
32
  item_summary: snippet
33
33
  item_source: site_name
34
34
  item_published_at: date
35
+ allowed_env:
36
+ - TINYFISH_API_KEY
@@ -32,3 +32,5 @@ output_map:
32
32
  item_summary: snippet
33
33
  item_source: site_name
34
34
  item_published_at: date
35
+ allowed_env:
36
+ - TINYFISH_API_KEY
@@ -1,5 +1,15 @@
1
1
  engine_id: toutiao_hot
2
- type: toutiao_hot
2
+ type: http
3
+ url: https://www.toutiao.com/hot-event/hot-board/?origin=toutiao_pc
4
+ query_param: ""
5
+ headers:
6
+ User-Agent: Mozilla/5.0
7
+ Referer: https://www.toutiao.com/
8
+ output_map:
9
+ items: data
10
+ item_title: Title
11
+ item_url: Url
12
+ item_summary_template: "热度 {HotValue}"
3
13
  enabled: true
4
14
  label: 今日头条热榜
5
15
  cost_tier: free
@@ -3,6 +3,9 @@
3
3
  # queryTrainInfo 查经停),免 Key,查询路径运行时解析跟随官方改版
4
4
  # 能力: 自然语言查询车次时刻与余票("上海到北京 后天 G")、中转换乘方案
5
5
  # ("北京到拉萨 中转",可「经西宁」指定换乘站)、全程经停("G2 经停")
6
+ # 余票行含官方票价(字段 39 解析,含二等/一等/优选一等/商务/无座)与
7
+ # 复兴号标记(字段 46 段 1),与携程 SSR 的 seatItemInfoList/isFuXingTrain
8
+ # 逐字段对拍一致(2026-11-11)
6
9
  # 输出: 行 URL 带查询身份参数(train_code/first_train_no 等)——表格行不共享
7
10
  # 裸 URL,避免被 URL 去重折叠成一条(fred/worldbank 时序引擎同款约定)
8
11
  # 实现: scripts/train.py(纯标准库,站点表 station_name.js 解析 + 7 天缓存,输出结构化 YAML)
@@ -5,10 +5,14 @@
5
5
  # python3 scripts/engine_validate.py --engine tvmaze --stage all --admit --write-doc
6
6
 
7
7
  engine_id: tvmaze
8
- type: tvmaze
8
+ type: http
9
9
  enabled: true
10
10
  cost_tier: free
11
11
  timeout: 15
12
+ method: GET
13
+ url: "https://api.tvmaze.com/search/shows"
14
+ query_param: q
15
+ format_is_query_param: false
12
16
  canary_query: "dark"
13
17
  desc: "电视剧元数据(TVMaze,免认证,含首播/语言/评分)"
14
18
  coverage: [film, tv, media, entertainment]
@@ -24,6 +24,10 @@ search_args:
24
24
  - '{n}'
25
25
  - --json
26
26
  env: {}
27
+ allowed_env:
28
+ - TWITTER_AUTH_TOKEN
29
+ - TWITTER_CT0
30
+ - TWITTER_PROXY
27
31
  # 通道变更(2026-10-21):旧脚本 twitter_engine.py 的三个通道当时全失效——
28
32
  # FxTwitter /2/search 上游已停用、nitter 公共实例实测零结果、tw CLI 未装,
29
33
  # 强制调用 6s 超时且结果为空。x_search.py 是仓库内既有的可用替代,
@@ -39,6 +39,12 @@ url: https://api.unpaywall.org/v2/{query}?email={UNPAYWALL_EMAIL}
39
39
  query_param: ""
40
40
  timeout: 12
41
41
  format: json
42
+ # 授权读取 ARGO_UNPAYWALL_EMAIL(67edf08 起的占位符白名单要求显式声明;
43
+ # required_env_for 的自动推断不进授权集,漏声明会让邮箱被阻断成空串、
44
+ # 请求恒 422,而状态机仍报 ready——必须与推断口径对齐)
45
+ allowed_env:
46
+ - ARGO_UNPAYWALL_EMAIL
47
+ - UNPAYWALL_EMAIL
42
48
  canary_query: "10.1038/nature12373"
43
49
  coverage:
44
50
  - academic
@@ -14,4 +14,17 @@ coverage:
14
14
  - health
15
15
  desc: 美国农业部食品营养成分(官方 DEMO_KEY)
16
16
  timeout: 12
17
- type: usda
17
+ type: http
18
+ method: GET
19
+ url: "https://api.nal.usda.gov/fdc/v1/foods/search"
20
+ query_param: query
21
+ extra_params:
22
+ api_key: DEMO_KEY
23
+ pageSize: 10
24
+ format_is_query_param: false
25
+ output_map:
26
+ items: foods
27
+ item_title: description
28
+ # 拼接模板:原 builder 的 `分类 · 品牌 · FDC {id}`
29
+ item_summary_template: "{foodCategory} · {brandOwner} · FDC {fdcId}"
30
+ item_url_template: "https://fdc.nal.usda.gov/food-details/{fdcId}/nutrients"
@@ -3,8 +3,8 @@
3
3
  # 与 met/artic/cleveland 同面的第四家博物馆图源;伦敦 V&A 是装饰艺术与设计
4
4
  # 藏品最全的机构(ukiyo-e、海报、时尚、工艺)。官方文档明确免 key:
5
5
  # https://developers.vam.ac.uk/guide/v2
6
- # `images_exist=1` 只回有图对象;records._images 给 IIIF base,800px 直链由
7
- # builder 组装(声明式拼不了 IIIF 尺寸语法)。单跳 1.2-1.6s(2026-11-08
6
+ # `images_exist=1` 只回有图对象;800px IIIF 直链由声明式 `item_image_template`
7
+ # 组装,短链落地页由 `url_template` 组装。单跳 1.2-1.6s(2026-11-08
8
8
  # 质量探针 6/6 出图,~/tmp/argo-img-bench/candidates.json)。
9
9
  # 注意:正确路径是 /v2/objects/search(/v2/museumobject/search 404,勿改回)。
10
10
  # 许可:上游不逐件给许可字段,商用判定照 ddgs_images 口径(未判定)。
@@ -12,7 +12,21 @@
12
12
  # python3 scripts/engine_validate.py --engine vam --stage all --admit
13
13
 
14
14
  engine_id: vam
15
- type: vam
15
+ type: http
16
+ url: https://api.vam.ac.uk/v2/objects/search
17
+ query_param: q
18
+ extra_params:
19
+ images_exist: 1
20
+ page_size: "{n}"
21
+ headers:
22
+ User-Agent: "argo-search/1.0 (+vam)"
23
+ Accept: application/json
24
+ output_map:
25
+ items: records
26
+ item_title: _primaryTitle
27
+ url_template: "https://collections.vam.ac.uk/item/{systemNumber}/"
28
+ item_summary_template: "{_primaryMaker.name} · {_primaryDate} · {objectType}"
29
+ item_image_template: "{_images._iiif_image_base_url}full/!800,800/0/default.jpg"
16
30
  enabled: true
17
31
  cost_tier: free
18
32
  label: V&A馆藏
@@ -1,5 +1,15 @@
1
1
  engine_id: weibo_hot
2
- type: weibo_hot
2
+ type: http
3
+ url: https://weibo.com/ajax/side/hotSearch
4
+ query_param: ""
5
+ headers:
6
+ User-Agent: Mozilla/5.0
7
+ Referer: https://weibo.com/
8
+ output_map:
9
+ items: data.realtime
10
+ item_title: word
11
+ url_template: "https://s.weibo.com/weibo?q=%23{word|url}%23"
12
+ item_summary_template: "微博热搜 · 热度 {num} · {label_name}"
3
13
  family: hot_trending
4
14
  enabled: true
5
15
  label: 微博热搜
@@ -1,12 +1,12 @@
1
1
  engine_id: wolframalpha
2
- enabled: false
3
- disabled_reason: 72fd95a 源治理轮批量停用;需 APPID,计算类查询占比低,重开前需实测对比
2
+ enabled: true
3
+ explicit_only: true
4
4
  label: WolframAlpha
5
5
  cost_tier: free
6
6
  coverage:
7
7
  - factual
8
8
  - math
9
- desc: WolframAlpha 计算知识引擎
9
+ desc: WolframAlpha 计算知识引擎(需自备 APPID,显式指定 --engine wolframalpha 时生效)
10
10
  extra_params:
11
11
  appid: '{WOLFRAM_APPID}'
12
12
  output: json
@@ -13,6 +13,8 @@ search_args:
13
13
  - -n
14
14
  - '{n}'
15
15
  env: {}
16
+ allowed_env:
17
+ - ARGO_XHS_TIMEOUT
16
18
  # 不声明 timeout(2026-10-06 回归策略门禁):本引擎内部无重试,声明 ≥8s
17
19
  # 会按 search._engine_retries 约定关掉外层重试(execution.retry_count=1),
18
20
  # 一次失败即弃、成功率下降。不声明时单次尝试吃 default_timeout=8s。
@@ -1,4 +1,5 @@
1
1
  engine_id: zhihu
2
+ type: zhihu
2
3
  enabled: true
3
4
  label: 知乎
4
5
  cost_tier: free
@@ -8,26 +9,10 @@ limit: 5000
8
9
  period: day
9
10
  cost_per_call: 0.0
10
11
  cost_unit: free
12
+ family: social
11
13
  coverage:
12
14
  - chinese
13
15
  - review
14
16
  - 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
17
+ desc: 知乎站内搜索(结构化 AuthorityLevel/赞同数/时间 + 纯问题自动下钻精选回答;需 ZHIHU_ACCESS_SECRET)
31
18
  timeout: 10
32
- type: http
33
- url: https://developer.zhihu.com/api/v1/content/zhihu_search
@@ -0,0 +1,18 @@
1
+ engine_id: zhihu_kb
2
+ type: zhihu_kb
3
+ enabled: true
4
+ explicit_only: true
5
+ label: 知乎知识库只读检索
6
+ cost_tier: free
7
+ qps: 2
8
+ priority: 10
9
+ limit: 500
10
+ period: day
11
+ cost_per_call: 0.0
12
+ cost_unit: free
13
+ family: personal_data
14
+ coverage:
15
+ - chinese
16
+ - personal
17
+ desc: "知乎知识库只读 RAG 检索与列库(knowledge/search 与 knowledge/bases;支持 scope/kb 过滤与 bases 列库);显式按需调用(需 ZHIHU_ACCESS_SECRET)"
18
+ timeout: 10
@@ -0,0 +1,19 @@
1
+ engine_id: zhihu_questions
2
+ type: zhihu_questions
3
+ enabled: true
4
+ explicit_only: true
5
+ label: 知乎问题发现与回答摘要
6
+ cost_tier: free
7
+ qps: 2
8
+ priority: 15
9
+ limit: 100
10
+ period: day
11
+ cost_per_call: 0.0
12
+ cost_unit: free
13
+ family: social
14
+ coverage:
15
+ - chinese
16
+ - opinion
17
+ - review
18
+ desc: "知乎主题荐题(question_recommendations,按关键词)与问题下回答摘要(question_answers,传 q:<id> 或 answers <问题URL>);显式按需调用(需 ZHIHU_ACCESS_SECRET)"
19
+ timeout: 10
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "argo-search",
3
- "version": "2.14.0",
4
- "description": "Argo 阿尔戈 — 统一搜索与证据核验。推荐 npx -y argo-search(npm 发布版)或 install.sh 安装。多语言路由、数百个源(大部分免密钥)、影视/体育/金融等垂直源、19 个 MCP 工具(与 CLI 能力面对齐)。",
3
+ "version": "2.15.0",
4
+ "description": "Argo 阿尔戈 — 统一搜索与证据核验。推荐 npx -y argo-search(npm 发布版)或 install.sh 安装。多语言路由、数百个源(大部分免密钥)、影视/体育/金融等垂直源、19 个 MCP 工具(默认注入 4 个核心,全量按需开启,与 CLI 能力面对齐)。",
5
5
  "keywords": [
6
6
  "mcp",
7
7
  "mcp-server",
@@ -58,6 +58,8 @@
58
58
  "docs/RELEASE_NOTES_v2.10.1.md",
59
59
  "docs/RELEASE_NOTES_v2.10.2.md",
60
60
  "docs/RELEASE_NOTES_v2.11.2.md",
61
+ "docs/RELEASE_NOTES_v2.15.0.md",
62
+ "docs/RELEASE_NOTES_v2.14.1.md",
61
63
  "docs/RELEASE_NOTES_v2.14.0.md",
62
64
  "docs/RELEASE_NOTES_v2.13.0.md",
63
65
  "docs/RELEASE_NOTES_v2.12.0.md",
@@ -13,25 +13,20 @@ dsh plugin --profile web add "github:taxueseek/argo#main&path:packages/dsh-plugi
13
13
 
14
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
- ### 本地开发:改完源码必须同步进 profile(改动收尾固定步骤)
16
+ ### 本地开发:改完源码直接生效(推荐 `link:` 直连)
17
17
 
18
- profile 里的依赖是 `file:` / `github:`,pnpm 安装时**复制**进
19
- `node_modules/@taxueseek/argo-dsh`,不是软链。只改本仓源码、不跑同步,
20
- DSH 设置页读到的仍是旧 bundle(2026-10-22 实测:缓存开关与付费额度已改,
21
- 面板仍显示旧版;2026-11-08 复核:web 与 desktop 两个 profile 均已漂移)。
18
+ 若用 `dsh plugin --profile <name> add "link:<packages/dsh-plugin 的绝对目录>"` 安装,pnpm 会直接在 `node_modules/@taxueseek/argo-dsh` 建立直连源码的软链,改完源码立即生效,无需任何手动同步脚本(`web` 等 CLI 可管 profile 推荐优先用 `link:`)。
19
+
20
+ 若部分 profile(例如由 Electron 应用独占管理的 `desktop`,或此前用 `file:` / `github:` 安装的旧环境)落成了目录副本,`dsh plugin add` 对同路径 `file:` 会打印 `Already up to date` 不重拷,见 `dsh-external-plugin-devkit/knowledge/pitfalls/file-copy-stale.md`。此时可用兜底脚本比对或同步:
22
21
 
23
22
  ```bash
24
- packages/dsh-plugin/scripts/sync-local.sh --check # 1. 比对源码与已安装 bundle,有漂移退出 1
25
- packages/dsh-plugin/scripts/sync-local.sh # 2. 同步 web/desktop(只到 ARTIFACT_SYNCED)
23
+ packages/dsh-plugin/scripts/sync-local.sh --check # 1. 比对源码与已安装 bundle(symlink 直连也会报 [ok])
24
+ packages/dsh-plugin/scripts/sync-local.sh # 2. 仅对目录副本做同步(到 ARTIFACT_SYNCED,symlink 自动跳过)
26
25
  ```
27
26
 
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` 的一部分(本机当前未装)。
27
+ `sync-local.sh` 只同步产物,输出 `ARTIFACT_SYNCED; LIVE_ACTIVATION_UNPROVEN`,不是插件生效证明;它没有 `--restart` 参数,也不该有。官方明确禁止手改 profile `node_modules` 后直接串重启。激活要核对同 PID 的 Host 行与页面功能;本机没有 `activation-plan`,装了 `dshx` 工作台才可用,且它是外部工具,不是 `dsh` 的一部分(本机当前未装)。
33
28
 
34
- **改完源码或文档后,必须跑到 `sync-local.sh --check` 输出 `[ok]` 才算交付完成**;不适用 `--check` 的场景(例如只改仓库内文档、不影响已安装 bundle)要在交付说明里写明跳过理由。同步会先备份到 `~/.dsh/backups/argo-dsh-sync-<时间>-<profile>`;浏览器如仍显示旧面板,做一次硬刷新(Cmd+Shift+R)。
29
+ **改完源码后,运行 `sync-local.sh --check` 确认全部相关 profile 输出 `[ok]` 即达标**(不适用 `--check` 的纯仓库文档改动可在交付说明里写明跳过)。目录副本模式下同步前会自动备份到 `~/.dsh/backups/argo-dsh-sync-<时间>-<profile>`;浏览器如仍显示旧面板,做一次硬刷新(Cmd+Shift+R)。
35
30
 
36
31
  ### 当前启用状态(web profile)
37
32
 
@@ -59,7 +54,7 @@ packages/dsh-plugin/scripts/sync-local.sh # 2. 同步 web/desktop(
59
54
  六个分区:
60
55
 
61
56
  - **接入**:`web_search` / `web_fetch` seam 开关;引擎入口命令与参数(npx 或本机 `mcp_server.py`);搜索/抓取超时、正文上限、连接空闲回收、并发连接数
62
- - **工具**:18 个原生一等工具的勾选(默认只开 `argo_search` / `argo_fetch`);单次调用超时与返回文本上限
57
+ - **工具**:18 个原生一等工具的勾选(即 MCP 全量 19 个剔除长耗时编排 `argo_research`,默认只开 `argo_search` / `argo_fetch`);单次调用超时与返回文本上限
63
58
  - **引擎**:argo 本体的行为开关(原环境变量,curated 白名单 35 个,分八组:缓存与排序 / 抓取层 / 语义与自适应 / 引擎启停 / 网络出口 / 本机检索 / **额度与预算** / 其他)。「缓存与排序」组第一项是**测试模式(关闭结果缓存)**,默认关、日常结果缓存 1 小时;只有改进 Skill/插件、需要实时结果时才打开。「额度与预算」组把免费与付费源放在同一套 QuotaManager 下:金额计费的源设月度预算(DeepSeek 元 / Exa 美元),按次数限额的源设日/月次数上限(AnySearch / 知乎按日,元宝默认 2000/月、Tavily 按月);博查按量付费,不设固定次数上限,由服务商侧结算。额度或预算用尽后该源自动跳过并回落免费源。开关类即时生效,数字 / 文本 / 名单类分组保存;未配置行显示 argo 默认态并标注「默认」。授权类开关(可复算执行、内网 URL)刻意不进面板
64
59
  - **密钥**:常用引擎 key 的填写、更新、清除;显示「已配置 / 未配置 + 来源层(凭证库 / 启动环境 / .env)+ 只读态」,明文不回显;每行可勾选「转发」,等价于把引用名加进 `keyRefs`
65
60
  - **研究**:worker / 轨道 / 每轨信源 / token 上限与报告落盘目录