argo-search 2.13.0 → 2.14.1
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.
- package/AGENTS.md +93 -0
- package/README.es.md +30 -8
- package/README.ja.md +30 -8
- package/README.ko.md +30 -8
- package/README.md +511 -596
- package/README.zh.md +975 -0
- package/SKILL.md +1 -1
- package/assets/readme/counts.json +1 -1
- package/backends/domain_profiles.json +90 -6
- package/backends/engine_registry.yaml +222 -32
- package/backends/env_passthrough.txt +2 -0
- package/backends/quota_profiles.json +151 -11
- package/bin/argo +3 -0
- package/config.yaml +50 -4
- package/docs/CHANGELOG.md +45 -0
- package/docs/COMMIT_STANDARD.md +98 -0
- package/docs/ENGINE_CATALOG.md +100 -81
- package/docs/MCP_SETUP.md +1 -1
- package/docs/RELEASE_NOTES_v2.14.0.md +88 -0
- package/docs/RELEASE_NOTES_v2.14.1.md +80 -0
- package/docs/RELEASING.md +52 -0
- package/engines/specs/artic.yaml +11 -1
- package/engines/specs/cleveland.yaml +15 -1
- package/engines/specs/clinicaltrials.yaml +24 -1
- package/engines/specs/cnii.yaml +17 -1
- package/engines/specs/coingecko.yaml +10 -2
- package/engines/specs/dbpedia.yaml +32 -0
- package/engines/specs/deezer.yaml +12 -1
- package/engines/specs/doaj.yaml +14 -1
- package/engines/specs/endoflife.yaml +16 -1
- package/engines/specs/eu_opendata.yaml +11 -1
- package/engines/specs/europeana.yaml +19 -1
- package/engines/specs/feed.yaml +62 -0
- package/engines/specs/figshare.yaml +12 -1
- package/engines/specs/fourget.yaml +23 -0
- package/engines/specs/grep_app.yaml +19 -0
- package/engines/specs/hackernews.yaml +17 -1
- package/engines/specs/hal.yaml +19 -1
- package/engines/specs/hf_datasets.yaml +59 -0
- package/engines/specs/hf_papers.yaml +42 -0
- package/engines/specs/jikan.yaml +12 -10
- package/engines/specs/kaggle.yaml +46 -0
- package/engines/specs/local_baidu.yaml +5 -0
- package/engines/specs/local_seek.yaml +34 -0
- package/engines/specs/local_yandex.yaml +37 -0
- package/engines/specs/maven.yaml +61 -0
- package/engines/specs/mojeek.yaml +31 -0
- package/engines/specs/mwmbl.yaml +39 -0
- package/engines/specs/nasa_cmr.yaml +12 -1
- package/engines/specs/nuget.yaml +57 -0
- package/engines/specs/openaire.yaml +34 -0
- package/engines/specs/repology.yaml +18 -0
- package/engines/specs/tatoeba.yaml +14 -1
- package/engines/specs/tvmaze.yaml +5 -1
- package/engines/specs/usda.yaml +14 -1
- package/package.json +14 -10
- package/packages/dsh-plugin/dsh/client.js +1 -0
- package/packages/dsh-plugin/dsh/native-tools.mjs +85 -116
- package/packages/dsh-plugin/dsh/runner.js +35 -1
- package/packages/dsh-plugin/dsh/specs.js +3 -1
- package/packages/dsh-plugin/dsh/wide-research.js +5 -3
- package/packages/dsh-plugin/package.json +1 -1
- package/packages/dsh-plugin/test/client.test.js +6 -0
- package/packages/dsh-plugin/test/config.test.js +5 -1
- package/packages/dsh-plugin/test/index.test.js +3 -1
- package/packages/dsh-plugin/test/size-gate.test.js +2 -2
- package/scripts/badcase_causes.py +81 -0
- package/scripts/badcase_ledger.py +336 -19
- package/scripts/build_release_assets.sh +43 -15
- package/scripts/cache.py +3 -3
- package/scripts/check_commit_report.py +168 -0
- package/scripts/dormant_ledger.py +225 -0
- package/scripts/engine_admission.py +9 -5
- package/scripts/engine_families.py +13 -2
- package/scripts/engine_policy.py +1 -1
- package/scripts/engine_states.py +398 -8
- package/scripts/engine_status.py +31 -0
- package/scripts/engine_validate.py +224 -40
- package/scripts/engines.py +4 -34
- package/scripts/engines_base.py +53 -147
- package/scripts/engines_builders.py +2 -33
- package/scripts/engines_builders_batch12.py +168 -0
- package/scripts/engines_builders_batch16.py +13 -0
- package/scripts/engines_builders_batch9.py +0 -204
- package/scripts/engines_builders_feeds.py +148 -30
- package/scripts/engines_builders_intl.py +0 -328
- package/scripts/engines_builders_science.py +0 -85
- package/scripts/engines_builders_tech.py +0 -98
- package/scripts/engines_parsers.py +924 -0
- package/scripts/evidence_loop.py +91 -4
- package/scripts/fetch_browser.py +4 -2
- package/scripts/fetch_jsrun.py +2 -1
- package/scripts/fetch_v3.py +22 -22
- package/scripts/gen_engine_catalog.py +2 -2
- package/scripts/gen_native_tools.py +46 -18
- package/scripts/local_intent.py +175 -0
- package/scripts/local_seek.py +256 -91
- package/scripts/local_seek_adapter.py +87 -0
- package/scripts/mcp_handlers.py +124 -72
- package/scripts/mcp_server.py +1 -1
- package/scripts/mcp_tools.py +143 -61
- package/scripts/mcp_transport.py +42 -10
- package/scripts/pre-commit +68 -1
- package/scripts/recovery.py +14 -5
- package/scripts/recovery_l0.py +5 -3
- package/scripts/release.py +20 -11
- package/scripts/release_check.py +1 -1
- package/scripts/research.py +1 -1
- package/scripts/research_gates.py +3 -3
- package/scripts/route_lang.py +6 -1
- package/scripts/route_policy.py +26 -14
- package/scripts/search.py +33 -25
- package/scripts/search_cli.py +52 -6
- package/scripts/search_output.py +83 -16
- package/scripts/secret_guard.py +106 -0
- package/scripts/semantic_evidence.py +230 -15
- package/scripts/settings_page.py +80 -8
- package/scripts/source_audit.py +408 -0
- package/scripts/sync_backends.py +38 -1
- package/scripts/wechat_article.py +5 -3
- package/scripts/wide_research.py +4 -1
- package/scripts/x_article_fetch.py +2 -1
- package/sub-skills/local-search/parsers.py +6 -1
- package/sub-skills/local-seek/scripts/seek.py +390 -24
- package/sub-skills/local-seek/scripts/seek_fts.py +28 -9
- package/sub-skills/local-seek/scripts/seek_rank.py +64 -1
- package/README.en.md +0 -814
- package/engines/specs/cinii.yaml +0 -44
- package/scripts/image_vision/vision_probe +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
engine_id: clinicaltrials
|
|
2
|
-
type:
|
|
2
|
+
type: http
|
|
3
3
|
enabled: true
|
|
4
4
|
label: ClinicalTrials
|
|
5
5
|
cost_tier: free
|
|
@@ -13,3 +13,26 @@ coverage:
|
|
|
13
13
|
- clinical
|
|
14
14
|
desc: ClinicalTrials.gov v2 临床试验(免认证)
|
|
15
15
|
timeout: 12
|
|
16
|
+
method: GET
|
|
17
|
+
url: "https://clinicaltrials.gov/api/v2/studies"
|
|
18
|
+
query_param: "query.term"
|
|
19
|
+
extra_params:
|
|
20
|
+
format: json
|
|
21
|
+
pageSize: 10
|
|
22
|
+
format_is_query_param: false
|
|
23
|
+
output_map:
|
|
24
|
+
items: studies
|
|
25
|
+
# 原 builder:title 优先 briefTitle,缺失回落 officialTitle,再回落 nctId。
|
|
26
|
+
# 三级回落里 nctId 无法用模板表达,故保 briefTitle + officialTitle 两级。
|
|
27
|
+
item_title: protocolSection.identificationModule.briefTitle
|
|
28
|
+
# 原 builder:summary 优先 briefSummary,缺失回落 overallStatus(试验状态)。
|
|
29
|
+
item_summary_template: "{protocolSection.descriptionModule.briefSummary} · {protocolSection.statusModule.overallStatus}"
|
|
30
|
+
item_url_template: "https://clinicaltrials.gov/study/{protocolSection.identificationModule.nctId}"
|
|
31
|
+
canary_query: "CRISPR"
|
|
32
|
+
quality_queries:
|
|
33
|
+
- query: "CRISPR gene editing"
|
|
34
|
+
category: "clinical"
|
|
35
|
+
- query: "cancer immunotherapy"
|
|
36
|
+
category: "clinical"
|
|
37
|
+
- query: "diabetes type 2"
|
|
38
|
+
category: "clinical"
|
package/engines/specs/cnii.yaml
CHANGED
|
@@ -8,9 +8,25 @@ priority: 45
|
|
|
8
8
|
period: second
|
|
9
9
|
cost_per_call: 0.0
|
|
10
10
|
cost_unit: free
|
|
11
|
+
langs:
|
|
12
|
+
- ja
|
|
11
13
|
coverage:
|
|
12
14
|
- academic
|
|
13
15
|
- japanese
|
|
14
16
|
desc: 日本国立情报学研究所学术总库(论文/博士论文/科研项目,JSON-LD)
|
|
15
17
|
timeout: 12
|
|
16
|
-
type:
|
|
18
|
+
type: http
|
|
19
|
+
method: GET
|
|
20
|
+
url: "https://cir.nii.ac.jp/opensearch/all"
|
|
21
|
+
query_param: q
|
|
22
|
+
extra_params:
|
|
23
|
+
format: json
|
|
24
|
+
count: 10
|
|
25
|
+
format_is_query_param: false
|
|
26
|
+
output_map:
|
|
27
|
+
items: items
|
|
28
|
+
item_title: title
|
|
29
|
+
item_url: "link.@id"
|
|
30
|
+
# 拼接模板:原 builder 的 `作者 · 年份 · 摘要`(作者取前 3 位)
|
|
31
|
+
item_summary_template: "{dc:creator.0} · {dc:creator.1} · {dc:creator.2} · {prism:publicationDate} · {description}"
|
|
32
|
+
item_published_at: "prism:publicationDate"
|
|
@@ -3,7 +3,7 @@ type: http
|
|
|
3
3
|
enabled: true
|
|
4
4
|
label: CoinGecko 币种
|
|
5
5
|
cost_tier: free
|
|
6
|
-
qps:
|
|
6
|
+
qps: 1
|
|
7
7
|
priority: 32
|
|
8
8
|
period: second
|
|
9
9
|
cost_per_call: 0.0
|
|
@@ -11,7 +11,7 @@ cost_unit: free
|
|
|
11
11
|
coverage:
|
|
12
12
|
- crypto
|
|
13
13
|
- finance
|
|
14
|
-
desc: CoinGecko
|
|
14
|
+
desc: CoinGecko 币种搜索(免认证;上游 429 限流较严,qps 压到 1 避免连发被封)
|
|
15
15
|
format: json
|
|
16
16
|
method: GET
|
|
17
17
|
query_param: query
|
|
@@ -22,4 +22,12 @@ output_map:
|
|
|
22
22
|
item_summary: symbol
|
|
23
23
|
url_template: https://www.coingecko.com/en/coins/{id}
|
|
24
24
|
timeout: 10
|
|
25
|
+
canary_query: "bitcoin"
|
|
26
|
+
quality_queries:
|
|
27
|
+
- query: "bitcoin"
|
|
28
|
+
category: "crypto"
|
|
29
|
+
- query: "ethereum"
|
|
30
|
+
category: "crypto"
|
|
31
|
+
- query: "solana"
|
|
32
|
+
category: "crypto"
|
|
25
33
|
url: https://api.coingecko.com/api/v3/search
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
engine_id: dbpedia
|
|
2
|
+
type: http
|
|
3
|
+
enabled: true
|
|
4
|
+
label: DBpedia 知识库
|
|
5
|
+
cost_tier: free
|
|
6
|
+
family: knowledge
|
|
7
|
+
qps: 3
|
|
8
|
+
priority: 45
|
|
9
|
+
period: second
|
|
10
|
+
cost_per_call: 0.0
|
|
11
|
+
cost_unit: free
|
|
12
|
+
coverage:
|
|
13
|
+
- knowledge
|
|
14
|
+
- entity
|
|
15
|
+
- reference
|
|
16
|
+
- english
|
|
17
|
+
desc: DBpedia 维基百科结构化知识图谱与实体消歧(JSON 免认证)
|
|
18
|
+
method: GET
|
|
19
|
+
url: https://lookup.dbpedia.org/api/search
|
|
20
|
+
query_param: query
|
|
21
|
+
extra_params:
|
|
22
|
+
format: json
|
|
23
|
+
output_map:
|
|
24
|
+
items: docs
|
|
25
|
+
item_title: label.0
|
|
26
|
+
item_url: resource.0
|
|
27
|
+
item_summary: comment.0
|
|
28
|
+
canary_query: Linux
|
|
29
|
+
timeout: 12
|
|
30
|
+
headers:
|
|
31
|
+
Accept: application/json
|
|
32
|
+
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)
|
|
@@ -5,10 +5,21 @@
|
|
|
5
5
|
# python3 scripts/engine_validate.py --engine deezer --stage all --admit --write-doc
|
|
6
6
|
|
|
7
7
|
engine_id: deezer
|
|
8
|
-
type:
|
|
8
|
+
type: http
|
|
9
9
|
enabled: true
|
|
10
10
|
cost_tier: free
|
|
11
11
|
timeout: 15
|
|
12
|
+
method: GET
|
|
13
|
+
url: "https://api.deezer.com/search/artist"
|
|
14
|
+
query_param: q
|
|
15
|
+
format_is_query_param: false
|
|
16
|
+
output_map:
|
|
17
|
+
items: data
|
|
18
|
+
# 拼接模板:原 builder 标题带「(音乐人)」标注,snippet 含专辑数与粉丝数。
|
|
19
|
+
item_title_template: "{name}(音乐人)"
|
|
20
|
+
item_url: link
|
|
21
|
+
item_summary_template: "Deezer 音乐人 · 专辑 {nb_album} · 粉丝 {nb_fan}"
|
|
22
|
+
item_image: picture_medium
|
|
12
23
|
canary_query: "radiohead"
|
|
13
24
|
desc: "音乐艺人/专辑(Deezer,免认证)"
|
|
14
25
|
coverage: [media, music, entertainment]
|
package/engines/specs/doaj.yaml
CHANGED
|
@@ -14,4 +14,17 @@ coverage:
|
|
|
14
14
|
- global
|
|
15
15
|
desc: 开放获取期刊全球总库(80+ 语种,元数据统一英文)
|
|
16
16
|
timeout: 12
|
|
17
|
-
type:
|
|
17
|
+
type: http
|
|
18
|
+
method: GET
|
|
19
|
+
url: "https://doaj.org/api/search/articles/{query_quoted}"
|
|
20
|
+
query_param: ""
|
|
21
|
+
extra_params:
|
|
22
|
+
pageSize: 10
|
|
23
|
+
format_is_query_param: false
|
|
24
|
+
output_map:
|
|
25
|
+
items: results
|
|
26
|
+
# bibjson 是嵌套对象:字段路径需带 bibjson 前缀,否则取不到值。
|
|
27
|
+
item_title: bibjson.title
|
|
28
|
+
item_url: bibjson.link.0.url
|
|
29
|
+
# 拼接模板:原 builder 输出 `作者 · 年份 · 期刊 · 摘要`(作者取前 3 位)。
|
|
30
|
+
item_summary_template: "{bibjson.author.0.name} · {bibjson.author.1.name} · {bibjson.author.2.name} · {bibjson.year} · {bibjson.journal.title} · {bibjson.abstract}"
|
|
@@ -5,10 +5,25 @@
|
|
|
5
5
|
# python3 scripts/engine_validate.py --engine endoflife --stage all --admit --write-doc
|
|
6
6
|
|
|
7
7
|
engine_id: endoflife
|
|
8
|
-
type:
|
|
8
|
+
type: http
|
|
9
9
|
enabled: true
|
|
10
10
|
cost_tier: free
|
|
11
11
|
timeout: 10
|
|
12
|
+
method: GET
|
|
13
|
+
url: "https://endoflife.date/api/{query_slug}.json"
|
|
14
|
+
headers:
|
|
15
|
+
Accept: "application/json"
|
|
16
|
+
url_template: "https://endoflife.date/{cycle}"
|
|
17
|
+
format_is_query_param: false
|
|
18
|
+
output_map:
|
|
19
|
+
items: .
|
|
20
|
+
# 原 builder 的标题是 `{slug} {cycle}(最新)`、URL 是产品页 `endoflife.date/{slug}`。
|
|
21
|
+
# slug 来自查询词(已用于拼 API URL),条目里没有该字段,故 URL 用 spec 级
|
|
22
|
+
# url_template(同一 slug 对所有条目一致,与产品页语义相符)。
|
|
23
|
+
item_title: cycle
|
|
24
|
+
# 拼接模板:原 builder 的 `最新 X · 发布 X · 全支持至 X · EOL X`
|
|
25
|
+
item_summary_template: "最新 {latest} · 发布 {releaseDate} · 全支持至 {support} · EOL {eol}"
|
|
26
|
+
item_published_at: latestReleaseDate
|
|
12
27
|
canary_query: "python 生命周期"
|
|
13
28
|
desc: "产品生命周期(版本/最新/支持期/EOL,endoflife.date 200+ 产品)"
|
|
14
29
|
coverage: [tech]
|
|
@@ -13,4 +13,14 @@ coverage:
|
|
|
13
13
|
- europe
|
|
14
14
|
desc: 欧盟开放数据目录(24 语言元数据)
|
|
15
15
|
timeout: 12
|
|
16
|
-
type:
|
|
16
|
+
type: http
|
|
17
|
+
method: GET
|
|
18
|
+
url: "https://data.europa.eu/api/hub/search/search"
|
|
19
|
+
query_param: q
|
|
20
|
+
format_is_query_param: false
|
|
21
|
+
output_map:
|
|
22
|
+
items: result.results
|
|
23
|
+
# 多语言标题:en 优先(与通用推断器的语言序一致)。
|
|
24
|
+
item_title_template: "{title.en}"
|
|
25
|
+
# landing_page 是 [{resource: url}] 数组——逐条目 URL 模板取首项。
|
|
26
|
+
item_url_template: "{landing_page.0.resource}"
|
|
@@ -16,4 +16,22 @@ coverage:
|
|
|
16
16
|
- heritage
|
|
17
17
|
desc: 欧洲 27 国文化遗产聚合(官方公开 demo key)
|
|
18
18
|
timeout: 12
|
|
19
|
-
type:
|
|
19
|
+
type: http
|
|
20
|
+
method: GET
|
|
21
|
+
url: "https://api.europeana.eu/record/v2/search.json"
|
|
22
|
+
query_param: query
|
|
23
|
+
extra_params:
|
|
24
|
+
wskey: api2demo
|
|
25
|
+
rows: 10
|
|
26
|
+
format_is_query_param: false
|
|
27
|
+
output_map:
|
|
28
|
+
items: items
|
|
29
|
+
# 上游 link 是记录 API 地址(原 builder 直接用)。
|
|
30
|
+
item_url: link
|
|
31
|
+
# 上游 title 有两种形态:数组(取首项)与多语言 dict(en 优先)。
|
|
32
|
+
# 数组形态无法用模板表达,故同时声明 item_title(数组走单字段映射取首项)
|
|
33
|
+
# 与 item_title_template(dict 形态走模板,非空时覆盖前者)。
|
|
34
|
+
item_title: title
|
|
35
|
+
item_title_template: "{title.en}"
|
|
36
|
+
# 拼接模板:原 builder 把 dataProvider 放进 snippet(provider: X)。
|
|
37
|
+
item_summary_template: "provider: {dataProvider.0}"
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# feed — 一份种子注册表,不是一个站一个引擎。
|
|
2
|
+
#
|
|
3
|
+
# 补的盲区:现有源答不了、而这四条固定窗口能给一手条目的四类问题。
|
|
4
|
+
# 美联储 press_all 公开市场委员会与监管行动的原文(FRED 是时序,不是新闻稿)
|
|
5
|
+
# Nature nature.rss 期刊新闻与评论(论文正文已有 arxiv / openalex)
|
|
6
|
+
# Lobsters 技术讨论入口(站内搜索要登录;HN 已有 Algolia)
|
|
7
|
+
# Solidot 中文技术简讯(掘金 / CSDN 是教程检索,不是这条简讯流)
|
|
8
|
+
#
|
|
9
|
+
# 为什么不进自动路由:窗口只有最近几十条,本地关键词过滤命中面很窄。
|
|
10
|
+
# 放进 combo 会占预算却经常返回空。explicit_only,调用:
|
|
11
|
+
# argo search "Federal Reserve" --engine feed
|
|
12
|
+
#
|
|
13
|
+
# 形态:feed_mode=filter。引擎级 langs 含 en 与 zh,否则纯中文查询会在
|
|
14
|
+
# 下载前被整引擎放弃,Solidot 永远轮不到。逐份 langs 再决定下哪几条。
|
|
15
|
+
# 归 misc_vertical:不是财经快讯(news_flash),也不是一国通讯社(world_news)。
|
|
16
|
+
#
|
|
17
|
+
# 召回边界:种子里没有就返回空。这是固定窗口的固有限制,不是缺陷。
|
|
18
|
+
# canary 用 Federal:2026-11-11 实测美联储稿标题几乎条条含 Federal Reserve,
|
|
19
|
+
# 比轮换中的 Solidot 标题稳。中文是否命中取决于 Solidot 当天的窗口。
|
|
20
|
+
#
|
|
21
|
+
# 验证:
|
|
22
|
+
# python3 scripts/engine_validate.py --engine feed --stage health
|
|
23
|
+
# python3 scripts/search.py "Federal Reserve" --engine feed --json
|
|
24
|
+
|
|
25
|
+
engine_id: feed
|
|
26
|
+
type: rss_feed
|
|
27
|
+
enabled: true
|
|
28
|
+
explicit_only: true
|
|
29
|
+
cost_tier: free
|
|
30
|
+
label: RSS 种子注册表
|
|
31
|
+
family: misc_vertical
|
|
32
|
+
feed_mode: filter
|
|
33
|
+
priority: 40
|
|
34
|
+
qps: 1
|
|
35
|
+
period: second
|
|
36
|
+
cost_per_call: 0.0
|
|
37
|
+
cost_unit: free
|
|
38
|
+
timeout: 12
|
|
39
|
+
langs:
|
|
40
|
+
- en
|
|
41
|
+
- zh
|
|
42
|
+
canary_query: "Federal"
|
|
43
|
+
coverage:
|
|
44
|
+
- news
|
|
45
|
+
desc: "RSS 种子注册表(美联储新闻稿、Nature 期刊新闻、Lobsters、Solidot;固定窗口本地过滤,显式调用)"
|
|
46
|
+
recommended: false
|
|
47
|
+
feeds:
|
|
48
|
+
- url: https://www.federalreserve.gov/feeds/press_all.xml
|
|
49
|
+
label: 美联储
|
|
50
|
+
langs: [en]
|
|
51
|
+
- url: https://www.nature.com/nature.rss
|
|
52
|
+
label: Nature
|
|
53
|
+
langs: [en]
|
|
54
|
+
- url: https://lobste.rs/rss
|
|
55
|
+
label: Lobsters
|
|
56
|
+
langs: [en]
|
|
57
|
+
- url: https://www.solidot.org/index.rss
|
|
58
|
+
label: Solidot
|
|
59
|
+
langs: [zh]
|
|
60
|
+
quality_queries:
|
|
61
|
+
- query: "Federal"
|
|
62
|
+
- query: "Reserve"
|
|
@@ -14,4 +14,15 @@ coverage:
|
|
|
14
14
|
- research
|
|
15
15
|
desc: 科研数据集检索(论文/数据/图表)
|
|
16
16
|
timeout: 12
|
|
17
|
-
type:
|
|
17
|
+
type: http
|
|
18
|
+
method: GET
|
|
19
|
+
url: "https://api.figshare.com/v2/articles"
|
|
20
|
+
query_param: search_for
|
|
21
|
+
format_is_query_param: false
|
|
22
|
+
output_map:
|
|
23
|
+
items: .
|
|
24
|
+
item_title: title
|
|
25
|
+
# 原 builder 优先用 url_public_api(结构化 API 地址),归一后改用人类可读的
|
|
26
|
+
# 落地页,并把 DOI 标注进 snippet(与 kaggle 的许可/大小同口径)。
|
|
27
|
+
item_url: url_public_html
|
|
28
|
+
item_summary_template: "DOI: {doi}"
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
engine_id: fourget
|
|
2
|
+
enabled: false
|
|
3
|
+
disabled_reason: 公共 4get.ca 实例对公网存在 IP 封锁与限流;重开需自备 4get 实例(极简轻量无状态元搜索中继)并把 FOURGET_URL 指向它即可
|
|
4
|
+
label: 4get 极简元搜索
|
|
5
|
+
cost_tier: free
|
|
6
|
+
coverage:
|
|
7
|
+
- web
|
|
8
|
+
- privacy
|
|
9
|
+
- general
|
|
10
|
+
desc: 4get 极简无状态隐私元搜索引擎(支持自建节点,替代重型 SearXNG)
|
|
11
|
+
format: json
|
|
12
|
+
method: GET
|
|
13
|
+
query_param: s
|
|
14
|
+
extra_params:
|
|
15
|
+
scraper: ddg
|
|
16
|
+
output_map:
|
|
17
|
+
items: results
|
|
18
|
+
item_title: title
|
|
19
|
+
item_url: url
|
|
20
|
+
item_summary: snippet
|
|
21
|
+
timeout: 8
|
|
22
|
+
type: http
|
|
23
|
+
url: "{FOURGET_URL}"
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
engine_id: grep_app
|
|
2
|
+
type: grep_app
|
|
3
|
+
enabled: true
|
|
4
|
+
label: Grep.app
|
|
5
|
+
cost_tier: free
|
|
6
|
+
family: code
|
|
7
|
+
qps: 2
|
|
8
|
+
priority: 45
|
|
9
|
+
period: second
|
|
10
|
+
cost_per_call: 0.0
|
|
11
|
+
cost_unit: free
|
|
12
|
+
coverage:
|
|
13
|
+
- code
|
|
14
|
+
- github
|
|
15
|
+
- search
|
|
16
|
+
- dev
|
|
17
|
+
desc: Grep.app 全球百万 GitHub 核心代码正则检索(官方 MCP 传输免认证)
|
|
18
|
+
canary_query: FastAPI
|
|
19
|
+
timeout: 10
|
|
@@ -14,4 +14,20 @@ coverage:
|
|
|
14
14
|
- english
|
|
15
15
|
desc: Hacker News(Algolia API,科技新闻+讨论)
|
|
16
16
|
timeout: 8
|
|
17
|
-
type:
|
|
17
|
+
type: http
|
|
18
|
+
method: GET
|
|
19
|
+
url: "https://hn.algolia.com/api/v1/search"
|
|
20
|
+
query_param: query
|
|
21
|
+
extra_params:
|
|
22
|
+
tags: story
|
|
23
|
+
hitsPerPage: 10
|
|
24
|
+
url_template: "https://news.ycombinator.com/item?id={objectID}"
|
|
25
|
+
format_is_query_param: false
|
|
26
|
+
output_map:
|
|
27
|
+
items: hits
|
|
28
|
+
item_title: title
|
|
29
|
+
# url 为空的讨论帖交给 url_template 用 objectID 拼(原 builder 同款兜底)
|
|
30
|
+
item_url: url
|
|
31
|
+
url_template: "https://news.ycombinator.com/item?id={objectID}"
|
|
32
|
+
# 拼接模板:原 builder 的 `score: N | comments: N | by: author`
|
|
33
|
+
item_summary_template: "score: {points} | comments: {num_comments} | by: {author}"
|
package/engines/specs/hal.yaml
CHANGED
|
@@ -13,4 +13,22 @@ coverage:
|
|
|
13
13
|
- french
|
|
14
14
|
desc: 法国全国科研机构开放仓储(Solr JSON)
|
|
15
15
|
timeout: 12
|
|
16
|
-
type:
|
|
16
|
+
type: http
|
|
17
|
+
method: GET
|
|
18
|
+
url: "https://api.archives-ouvertes.fr/search/"
|
|
19
|
+
query_param: q
|
|
20
|
+
extra_params:
|
|
21
|
+
wt: json
|
|
22
|
+
# fl 必须含 authFullName_s:原 builder 把它拼进 snippet(作者 · 日期 · 摘要),
|
|
23
|
+
# 归一化后 fl 少列这个字段会让「作者」静默消失。
|
|
24
|
+
fl: "title_s,uri_s,abstract_s,authFullName_s,producedDate_s"
|
|
25
|
+
format_is_query_param: false
|
|
26
|
+
output_map:
|
|
27
|
+
items: response.docs
|
|
28
|
+
item_title: title_s
|
|
29
|
+
item_url: uri_s
|
|
30
|
+
# 拼接模板:原 builder 输出 `作者 · 日期 · 摘要`(作者取前 3 位)。
|
|
31
|
+
# 注:authFullName_s 是数组,_coerce_field 取首项——完整作者列表走
|
|
32
|
+
# upstream 或后续专用解析器,此处保前 3 位语义。
|
|
33
|
+
item_summary_template: "{authFullName_s.0} · {authFullName_s.1} · {authFullName_s.2} · {producedDate_s} · {abstract_s}"
|
|
34
|
+
item_published_at: producedDate_s
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Hugging Face Datasets — ML 社区数据集检索(免认证)
|
|
2
|
+
#
|
|
3
|
+
# 补的盲区:现有 huggingface 引擎打 /api/models,只查模型不查数据集;
|
|
4
|
+
# dataset_search 域是 DataCite/Zenodo/Kaggle 的机构仓储与竞赛数据集口径,
|
|
5
|
+
# HF 这类「带 load_dataset 直连、任务标签、likes」的社区数据集此前空白。
|
|
6
|
+
# 实测(2026-11-11):search=squad 返回根数组,likes/lastModified/author 稳定。
|
|
7
|
+
#
|
|
8
|
+
# 端点与 /api/models 同族,声明直接克隆 huggingface.yaml,只换 url 与字段:
|
|
9
|
+
# · 根数组 → items: "."(与 kaggle.yaml 同形态)
|
|
10
|
+
# · id 是 "owner/name",url_template 拼 datasets 路径
|
|
11
|
+
# · description 是数据集卡 README 全文,噪声大,故用结构化元数据拼 snippet
|
|
12
|
+
# · lastModified 作为 published_at,供 freshness 排序
|
|
13
|
+
# 验证:
|
|
14
|
+
# python3 scripts/engine_validate.py --engine hf_datasets --stage all --admit
|
|
15
|
+
# python3 scripts/search.py "squad dataset" --engine hf_datasets --json
|
|
16
|
+
|
|
17
|
+
engine_id: hf_datasets
|
|
18
|
+
type: http
|
|
19
|
+
enabled: true
|
|
20
|
+
label: Hugging Face Datasets
|
|
21
|
+
cost_tier: free
|
|
22
|
+
family: dataset
|
|
23
|
+
qps: 2
|
|
24
|
+
priority: 46
|
|
25
|
+
period: second
|
|
26
|
+
cost_per_call: 0.0
|
|
27
|
+
cost_unit: free
|
|
28
|
+
coverage:
|
|
29
|
+
- dataset
|
|
30
|
+
- ml
|
|
31
|
+
- data
|
|
32
|
+
- huggingface
|
|
33
|
+
desc: Hugging Face 数据集搜索(免认证,含 likes/作者/更新时间)
|
|
34
|
+
format: json
|
|
35
|
+
# format 是解析提示,不是 HF API 的查询参数(沿用 kaggle/huggingface 口径)。
|
|
36
|
+
format_is_query_param: false
|
|
37
|
+
method: GET
|
|
38
|
+
query_param: search
|
|
39
|
+
extra_params:
|
|
40
|
+
limit: '{n}'
|
|
41
|
+
output_map:
|
|
42
|
+
items: .
|
|
43
|
+
item_title: id
|
|
44
|
+
item_url: id
|
|
45
|
+
item_summary_template: "likes {likes} · author {author} · updated {lastModified}"
|
|
46
|
+
item_published_at: lastModified
|
|
47
|
+
url_template: https://huggingface.co/datasets/{id}
|
|
48
|
+
timeout: 10
|
|
49
|
+
url: https://huggingface.co/api/datasets
|
|
50
|
+
headers:
|
|
51
|
+
User-Agent: argo-search/2.5
|
|
52
|
+
canary_query: squad
|
|
53
|
+
quality_queries:
|
|
54
|
+
- id: hf_datasets_plain
|
|
55
|
+
query: squad
|
|
56
|
+
category: dataset
|
|
57
|
+
- id: hf_datasets_task
|
|
58
|
+
query: question answering
|
|
59
|
+
category: dataset
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
engine_id: hf_papers
|
|
2
|
+
type: http
|
|
3
|
+
enabled: true
|
|
4
|
+
label: Hugging Face Papers
|
|
5
|
+
cost_tier: free
|
|
6
|
+
family: academic
|
|
7
|
+
qps: 2
|
|
8
|
+
priority: 46
|
|
9
|
+
period: second
|
|
10
|
+
cost_per_call: 0.0
|
|
11
|
+
cost_unit: free
|
|
12
|
+
coverage:
|
|
13
|
+
- academic
|
|
14
|
+
- paper
|
|
15
|
+
- ml
|
|
16
|
+
- social
|
|
17
|
+
desc: Hugging Face Papers 论文检索(免认证,含 upvotes/作者/发布日期,arXiv 与 OpenAlex 无的社交信号)
|
|
18
|
+
timeout: 15
|
|
19
|
+
method: GET
|
|
20
|
+
url: "https://huggingface.co/api/papers/search"
|
|
21
|
+
query_param: q
|
|
22
|
+
url_template: "https://huggingface.co/papers/{paper.id}"
|
|
23
|
+
format_is_query_param: false
|
|
24
|
+
output_map:
|
|
25
|
+
items: .
|
|
26
|
+
# 上游条目把主字段放在嵌套 paper 对象里;声明显式路径,避免依赖推断器的
|
|
27
|
+
# 别名表(多源共用一份推断逻辑,加一源的特化别名会污染其余源)。
|
|
28
|
+
item_title: paper.title
|
|
29
|
+
# 不声明 item_url:paper.id 是裸 ID,交给 spec 级 url_template 拼成完整链接。
|
|
30
|
+
# 声明了 item_url 会让 _make_field_parser 认为 URL 已就位而跳过模板。
|
|
31
|
+
# 拼接模板:原 builder 输出 `摘要 · 发布日期 · upvotes: N · 作者`。
|
|
32
|
+
# 社交信号(upvotes)是本源相对 arXiv/OpenAlex 的差异化价值,不能丢。
|
|
33
|
+
item_summary_template: "{paper.summary} · {publishedAt} · upvotes: {paper.upvotes} · {paper.authors.0.name} · {paper.authors.1.name} · {paper.authors.2.name}"
|
|
34
|
+
item_published_at: paper.publishedAt
|
|
35
|
+
canary_query: "attention"
|
|
36
|
+
quality_queries:
|
|
37
|
+
- query: "attention mechanism"
|
|
38
|
+
category: "academic"
|
|
39
|
+
- query: "transformer"
|
|
40
|
+
category: "academic"
|
|
41
|
+
- query: "crispr"
|
|
42
|
+
category: "academic"
|
package/engines/specs/jikan.yaml
CHANGED
|
@@ -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:
|
|
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]
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
engine_id: kaggle
|
|
2
|
+
type: http
|
|
3
|
+
enabled: true
|
|
4
|
+
label: Kaggle Datasets
|
|
5
|
+
cost_tier: free
|
|
6
|
+
family: dataset
|
|
7
|
+
qps: 2
|
|
8
|
+
priority: 46
|
|
9
|
+
period: second
|
|
10
|
+
cost_per_call: 0.0
|
|
11
|
+
cost_unit: free
|
|
12
|
+
coverage:
|
|
13
|
+
- dataset
|
|
14
|
+
- ml
|
|
15
|
+
- data
|
|
16
|
+
- kaggle
|
|
17
|
+
desc: Kaggle 数据集搜索(免认证,含许可证/大小/版本/URL 结构化元数据)
|
|
18
|
+
timeout: 12
|
|
19
|
+
canary_query: "climate"
|
|
20
|
+
quality_queries:
|
|
21
|
+
- query: "climate"
|
|
22
|
+
category: "dataset"
|
|
23
|
+
- query: "machine learning"
|
|
24
|
+
category: "dataset"
|
|
25
|
+
- query: "healthcare"
|
|
26
|
+
category: "dataset"
|
|
27
|
+
method: GET
|
|
28
|
+
url: "https://www.kaggle.com/api/v1/datasets/list"
|
|
29
|
+
query_param: search
|
|
30
|
+
extra_params:
|
|
31
|
+
page: 1
|
|
32
|
+
output_map:
|
|
33
|
+
items: .
|
|
34
|
+
# Kaggle 的 Java 序列化遗留:Nullable 字段是主值,标准 output_map 直接可用。
|
|
35
|
+
item_title: titleNullable
|
|
36
|
+
item_url: urlNullable
|
|
37
|
+
# 拼接模板:原 builder 把 subtitle 与 license/大小一起放进 snippet。
|
|
38
|
+
# 许可证/大小是数据集的关键元数据,单字段映射会让「含许可证/大小/版本」的
|
|
39
|
+
# desc 承诺落空,故用模板恢复。
|
|
40
|
+
item_summary_template: "{subtitleNullable} · 许可 {licenseNameNullable} · {totalBytesNullable} bytes"
|
|
41
|
+
item_image: thumbnailImageUrlNullable
|
|
42
|
+
format: json
|
|
43
|
+
# format 是解析提示,不是 Kaggle 的查询参数(Kaggle API 会因未知参数 400)。
|
|
44
|
+
format_is_query_param: false
|
|
45
|
+
# 2026-11-10 P1-1 标准化试点:原 type=kaggle + custom builder 改为标准 http。
|
|
46
|
+
# 原 builder 的 license/size 拼接逻辑改用 output_map 拼接模板声明。
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
engine_id: local_baidu
|
|
2
2
|
type: html
|
|
3
3
|
enabled: true
|
|
4
|
+
# 2026-11-10 explicit_only:主路由 10-06 已判「baidu 直连 0 结果移出」
|
|
5
|
+
# (smart_router chinese 域清单),但兜底链漏删导致每轮兜底白烧 1.0s
|
|
6
|
+
# (实测 returned 10 → filtered 0)。已从 GENERAL_FREE_FALLBACK 移除,
|
|
7
|
+
# 声明 explicit_only 保持手动 --engine 可用(TLS 仿冒通道仍在)。
|
|
8
|
+
explicit_only: true
|
|
4
9
|
label: 百度本地
|
|
5
10
|
cost_tier: free
|
|
6
11
|
qps: 3
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# 本机技能与文件搜索(seek.py 适配器 CLI 桥接)
|
|
2
|
+
# 独占证据维度:本机已装技能、项目文件、历史命中——全网源不可替代。
|
|
3
|
+
# rg/fd/Spotlight 三引擎毫秒级(实测 96ms),零网络成本。
|
|
4
|
+
# 验证: python3 scripts/engine_validate.py --engine local_seek --stage all --admit --write-doc
|
|
5
|
+
engine_id: local_seek
|
|
6
|
+
type: cli
|
|
7
|
+
enabled: true
|
|
8
|
+
# 声明 explicit_only:严格隔离本机私域检索与联网公域检索,避免自动路由混淆来源;
|
|
9
|
+
# 专供显式 --engine local_seek 调用。
|
|
10
|
+
explicit_only: true
|
|
11
|
+
label: 本机技能与文件搜索
|
|
12
|
+
cost_tier: free
|
|
13
|
+
qps: 20
|
|
14
|
+
priority: 5
|
|
15
|
+
period: second
|
|
16
|
+
cost_per_call: 0.0
|
|
17
|
+
cost_unit: free
|
|
18
|
+
cmd:
|
|
19
|
+
- python3
|
|
20
|
+
- scripts/local_seek_adapter.py
|
|
21
|
+
search_args:
|
|
22
|
+
- '{query}'
|
|
23
|
+
- --max
|
|
24
|
+
- '{n}'
|
|
25
|
+
timeout: 15
|
|
26
|
+
# coverage 不含 skill:本引擎搜的是「本机已装技能」,不是技能市场。
|
|
27
|
+
# 算进 skill 会让 candidate_envelope.SKILL_REGISTRY_ENGINES 命中,给本机
|
|
28
|
+
# 文件结果挂上「这是市场列表页、装之前核对上游」的误导提示。
|
|
29
|
+
coverage: [local, file, code]
|
|
30
|
+
desc: "本机技能与文件检索(seek.py,rg/fd/Spotlight,毫秒级免网络)"
|
|
31
|
+
recommended: false
|
|
32
|
+
latency_ms: 300
|
|
33
|
+
quality_queries:
|
|
34
|
+
- query: "engine_validate"
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Yandex 本地通道(经 local-search 子技能的 CLI 桥接)
|
|
2
|
+
# smart_router 2026-10-06 实测:yandex 是 local-search 内部唯一稳定后端
|
|
3
|
+
# (~1.9s),且 ja/ko/中文域均置首——但只活在聚合器内部,主路由够不着。
|
|
4
|
+
# 本 spec 把它暴露为主链引擎,零新代码(复用 search_v3 --engine 单选)。
|
|
5
|
+
# 通道底座是 ddgs:本机出口对其上游间歇 TLS 阻断(2026-11-10 实测
|
|
6
|
+
# --no-cache 成功率 3/5,失败为 RequestError 8s 超时;内部定义纯 yandex
|
|
7
|
+
# 后端无回退,「cli 失败即诚实空」)。60% 成功率进自动 combo 会拖早停
|
|
8
|
+
# 墙钟,故 explicit_only 手动可用;环境自愈后改回 false 接回 combo。
|
|
9
|
+
# 验证: python3 scripts/engine_validate.py --engine local_yandex --stage all --admit --write-doc
|
|
10
|
+
engine_id: local_yandex
|
|
11
|
+
type: cli
|
|
12
|
+
enabled: true
|
|
13
|
+
explicit_only: true
|
|
14
|
+
label: Yandex 本地(local-search 通道)
|
|
15
|
+
cost_tier: free
|
|
16
|
+
qps: 5
|
|
17
|
+
priority: 20
|
|
18
|
+
period: second
|
|
19
|
+
cost_per_call: 0.0
|
|
20
|
+
cost_unit: free
|
|
21
|
+
cmd:
|
|
22
|
+
- python3
|
|
23
|
+
- sub-skills/local-search/search_v3.py
|
|
24
|
+
search_args:
|
|
25
|
+
- '{query}'
|
|
26
|
+
- --engine
|
|
27
|
+
- local_yandex
|
|
28
|
+
- --n
|
|
29
|
+
- '{n}'
|
|
30
|
+
- --json
|
|
31
|
+
timeout: 12
|
|
32
|
+
coverage: [web, general, multilingual, japanese, korean]
|
|
33
|
+
desc: "Yandex 本地通道(local-search 实测最稳后端,多语言兜底)"
|
|
34
|
+
recommended: false
|
|
35
|
+
latency_ms: 2000
|
|
36
|
+
quality_queries:
|
|
37
|
+
- query: "quantum computing"
|