argo-search 2.14.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 +1 -1
- package/README.es.md +18 -8
- package/README.ja.md +18 -8
- package/README.ko.md +18 -8
- package/README.md +511 -608
- package/README.zh.md +975 -0
- package/SKILL.md +1 -1
- package/assets/readme/counts.json +1 -1
- package/backends/domain_profiles.json +24 -0
- package/backends/engine_registry.yaml +69 -18
- package/backends/quota_profiles.json +40 -0
- package/config.yaml +23 -3
- package/docs/CHANGELOG.md +22 -0
- package/docs/ENGINE_CATALOG.md +41 -37
- package/docs/MCP_SETUP.md +1 -1
- package/docs/RELEASE_NOTES_v2.14.0.md +12 -1
- 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 +16 -1
- package/engines/specs/cnii.yaml +15 -4
- 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/hackernews.yaml +17 -2
- package/engines/specs/hal.yaml +19 -1
- package/engines/specs/hf_datasets.yaml +59 -0
- package/engines/specs/hf_papers.yaml +17 -1
- package/engines/specs/jikan.yaml +12 -10
- package/engines/specs/kaggle.yaml +5 -3
- package/engines/specs/maven.yaml +61 -0
- package/engines/specs/nasa_cmr.yaml +12 -1
- package/engines/specs/nuget.yaml +57 -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 +2 -1
- package/packages/dsh-plugin/dsh/native-tools.mjs +61 -113
- package/packages/dsh-plugin/dsh/wide-research.js +1 -1
- package/packages/dsh-plugin/package.json +1 -1
- package/scripts/badcase_ledger.py +49 -5
- package/scripts/build_release_assets.sh +43 -15
- package/scripts/dormant_ledger.py +225 -0
- package/scripts/engine_states.py +6 -1
- package/scripts/engine_validate.py +182 -6
- package/scripts/engines.py +0 -36
- package/scripts/engines_base.py +27 -67
- package/scripts/engines_builders.py +0 -36
- package/scripts/engines_builders_batch16.py +6 -179
- 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 +534 -9
- package/scripts/evidence_loop.py +91 -4
- package/scripts/gen_engine_catalog.py +2 -2
- package/scripts/gen_native_tools.py +2 -1
- package/scripts/local_intent.py +51 -15
- package/scripts/local_seek.py +37 -4
- 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 +25 -1
- package/scripts/release.py +20 -11
- package/scripts/release_check.py +1 -1
- package/scripts/route_policy.py +6 -1
- package/scripts/search_cli.py +44 -7
- 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 +77 -0
- package/scripts/sync_backends.py +7 -0
- package/sub-skills/local-seek/scripts/seek_fts.py +9 -1
- package/README.en.md +0 -826
- package/scripts/image_vision/vision_probe +0 -0
|
@@ -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:
|
|
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
|
|
@@ -14,4 +14,17 @@ coverage:
|
|
|
14
14
|
- sentence
|
|
15
15
|
desc: 400+ 语言对真实句子语料(翻译/语言学习)
|
|
16
16
|
timeout: 12
|
|
17
|
-
type:
|
|
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}"
|
|
@@ -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:
|
|
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]
|
package/engines/specs/usda.yaml
CHANGED
|
@@ -14,4 +14,17 @@ coverage:
|
|
|
14
14
|
- health
|
|
15
15
|
desc: 美国农业部食品营养成分(官方 DEMO_KEY)
|
|
16
16
|
timeout: 12
|
|
17
|
-
type:
|
|
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"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "argo-search",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.1",
|
|
4
4
|
"description": "Argo 阿尔戈 — 统一搜索与证据核验。推荐 npx -y argo-search(npm 发布版)或 install.sh 安装。多语言路由、数百个源(大部分免密钥)、影视/体育/金融等垂直源、19 个 MCP 工具(与 CLI 能力面对齐)。",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|
|
@@ -58,6 +58,7 @@
|
|
|
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.14.1.md",
|
|
61
62
|
"docs/RELEASE_NOTES_v2.14.0.md",
|
|
62
63
|
"docs/RELEASE_NOTES_v2.13.0.md",
|
|
63
64
|
"docs/RELEASE_NOTES_v2.12.0.md",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
//
|
|
13
13
|
export const NATIVE_TOOLS = {
|
|
14
14
|
"argo_search": {
|
|
15
|
-
"description": "
|
|
15
|
+
"description": "统一搜索(网络/社交/招聘/本地):多引擎融合、支持时间过滤与域名过滤。默认网络搜索;按 domain 可切换社交 UGC、岗位招聘或本机文件。查资料、找答案、找人找帖的首选工具。",
|
|
16
16
|
"parameters": {
|
|
17
17
|
"type": "object",
|
|
18
18
|
"properties": {
|
|
@@ -20,17 +20,23 @@ export const NATIVE_TOOLS = {
|
|
|
20
20
|
"type": "string",
|
|
21
21
|
"description": "搜索查询词"
|
|
22
22
|
},
|
|
23
|
+
"domain": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"enum": [
|
|
26
|
+
"web",
|
|
27
|
+
"social",
|
|
28
|
+
"job",
|
|
29
|
+
"local"
|
|
30
|
+
],
|
|
31
|
+
"description": "搜索领域:web 统一网络搜索(默认),social 社交媒体/论坛讨论,job 招聘岗位聚合,local 本机文件搜索"
|
|
32
|
+
},
|
|
23
33
|
"engine": {
|
|
24
34
|
"type": "string",
|
|
25
|
-
"description": "指定搜索引擎(auto 自动选择;可选 octen/anysearch/exa/zhihu/eastmoney/arxiv/byted/bocha/tavily/deepseek_search/github/wikipedia/semantic_scholar/local_search
|
|
26
|
-
"default": "auto"
|
|
35
|
+
"description": "指定搜索引擎(auto 自动选择;可选 octen/anysearch/exa/zhihu/eastmoney/arxiv/byted/bocha/tavily/deepseek_search/github/wikipedia/semantic_scholar/local_search 等,默认 auto;deepseek_search 为按次计费的官方 DeepSeek 搜索,结果带权威分级与发布时间,新闻时事类查询优先考虑)"
|
|
27
36
|
},
|
|
28
37
|
"max_results": {
|
|
29
38
|
"type": "integer",
|
|
30
|
-
"description": "
|
|
31
|
-
"default": 5,
|
|
32
|
-
"minimum": 1,
|
|
33
|
-
"maximum": 20
|
|
39
|
+
"description": "返回结果条数(1-20,默认 5)"
|
|
34
40
|
},
|
|
35
41
|
"depth": {
|
|
36
42
|
"type": "string",
|
|
@@ -39,8 +45,7 @@ export const NATIVE_TOOLS = {
|
|
|
39
45
|
"balanced",
|
|
40
46
|
"deep"
|
|
41
47
|
],
|
|
42
|
-
"description": "搜索深度:fast 快、deep
|
|
43
|
-
"default": "fast"
|
|
48
|
+
"description": "搜索深度:fast 快、deep 全(慢),默认 fast"
|
|
44
49
|
},
|
|
45
50
|
"mode": {
|
|
46
51
|
"type": "string",
|
|
@@ -48,10 +53,10 @@ export const NATIVE_TOOLS = {
|
|
|
48
53
|
"fast",
|
|
49
54
|
"auto",
|
|
50
55
|
"deep",
|
|
51
|
-
"budget"
|
|
56
|
+
"budget",
|
|
57
|
+
"sentiment"
|
|
52
58
|
],
|
|
53
|
-
"description": "预算模式:fast=免费优先, auto=成本感知, deep=质量优先, budget
|
|
54
|
-
"default": "auto"
|
|
59
|
+
"description": "预算模式:fast=免费优先, auto=成本感知, deep=质量优先, budget=配额控制,默认 auto;仅 domain=social 时可写 sentiment(舆情聚合),其余 domain 不认"
|
|
55
60
|
},
|
|
56
61
|
"since": {
|
|
57
62
|
"type": "string",
|
|
@@ -68,34 +73,29 @@ export const NATIVE_TOOLS = {
|
|
|
68
73
|
"oldest",
|
|
69
74
|
"newest"
|
|
70
75
|
],
|
|
71
|
-
"description": "排序:relevance=相关度, oldest=最早在前, newest
|
|
72
|
-
"default": "relevance"
|
|
76
|
+
"description": "排序:relevance=相关度, oldest=最早在前, newest=最新在前,默认 relevance"
|
|
73
77
|
},
|
|
74
78
|
"include_domains": {
|
|
75
79
|
"type": "array",
|
|
76
80
|
"items": {
|
|
77
81
|
"type": "string"
|
|
78
82
|
},
|
|
79
|
-
"description": "仅保留这些域名(含子域),如 [\"github.com\"]"
|
|
80
|
-
"default": []
|
|
83
|
+
"description": "仅保留这些域名(含子域),如 [\"github.com\"]"
|
|
81
84
|
},
|
|
82
85
|
"exclude_domains": {
|
|
83
86
|
"type": "array",
|
|
84
87
|
"items": {
|
|
85
88
|
"type": "string"
|
|
86
89
|
},
|
|
87
|
-
"description": "排除这些域名(含子域),如 [\"pinterest.com\"]"
|
|
88
|
-
"default": []
|
|
90
|
+
"description": "排除这些域名(含子域),如 [\"pinterest.com\"]"
|
|
89
91
|
},
|
|
90
92
|
"include_local": {
|
|
91
93
|
"type": "boolean",
|
|
92
|
-
"description": "并入本机文件命中(seek 结果尾部,source=local_files,不参与融合评分;默认开)"
|
|
93
|
-
"default": true
|
|
94
|
+
"description": "并入本机文件命中(seek 结果尾部,source=local_files,不参与融合评分;默认开)"
|
|
94
95
|
},
|
|
95
96
|
"summary": {
|
|
96
97
|
"type": "boolean",
|
|
97
|
-
"description": "精简输出:截断摘要、去掉重字段,省 token"
|
|
98
|
-
"default": true
|
|
98
|
+
"description": "精简输出:截断摘要、去掉重字段,省 token(默认开)"
|
|
99
99
|
}
|
|
100
100
|
},
|
|
101
101
|
"required": [
|
|
@@ -105,6 +105,7 @@ export const NATIVE_TOOLS = {
|
|
|
105
105
|
},
|
|
106
106
|
"allowed": [
|
|
107
107
|
"query",
|
|
108
|
+
"domain",
|
|
108
109
|
"engine",
|
|
109
110
|
"max_results",
|
|
110
111
|
"depth",
|
|
@@ -129,20 +130,15 @@ export const NATIVE_TOOLS = {
|
|
|
129
130
|
},
|
|
130
131
|
"path": {
|
|
131
132
|
"type": "string",
|
|
132
|
-
"description": "
|
|
133
|
-
"default": "~"
|
|
133
|
+
"description": "搜索目录;缩小范围更快更准(默认 \"~\")"
|
|
134
134
|
},
|
|
135
135
|
"max_results": {
|
|
136
136
|
"type": "integer",
|
|
137
|
-
"description": "
|
|
138
|
-
"default": 5,
|
|
139
|
-
"minimum": 1,
|
|
140
|
-
"maximum": 20
|
|
137
|
+
"description": "返回结果条数(1-20,默认 5)"
|
|
141
138
|
},
|
|
142
139
|
"exact": {
|
|
143
140
|
"type": "boolean",
|
|
144
|
-
"description": "
|
|
145
|
-
"default": false
|
|
141
|
+
"description": "精确匹配,关闭中文扩展(默认关)"
|
|
146
142
|
}
|
|
147
143
|
},
|
|
148
144
|
"required": [
|
|
@@ -168,15 +164,11 @@ export const NATIVE_TOOLS = {
|
|
|
168
164
|
},
|
|
169
165
|
"max_chars": {
|
|
170
166
|
"type": "integer",
|
|
171
|
-
"description": "
|
|
172
|
-
"default": 4000,
|
|
173
|
-
"minimum": 200,
|
|
174
|
-
"maximum": 20000
|
|
167
|
+
"description": "预览字符数上限(200-20000,默认 4000)"
|
|
175
168
|
},
|
|
176
169
|
"line_start": {
|
|
177
170
|
"type": "integer",
|
|
178
|
-
"description": "起始行号(1 基,可选)"
|
|
179
|
-
"minimum": 1
|
|
171
|
+
"description": "起始行号(1 基,可选)"
|
|
180
172
|
},
|
|
181
173
|
"line_end": {
|
|
182
174
|
"type": "integer",
|
|
@@ -210,20 +202,15 @@ export const NATIVE_TOOLS = {
|
|
|
210
202
|
},
|
|
211
203
|
"timeout_s": {
|
|
212
204
|
"type": "integer",
|
|
213
|
-
"description": "
|
|
214
|
-
"default": 30,
|
|
215
|
-
"minimum": 1,
|
|
216
|
-
"maximum": 120
|
|
205
|
+
"description": "超时秒数(1-120,默认 30)"
|
|
217
206
|
},
|
|
218
207
|
"max_mem_mb": {
|
|
219
208
|
"type": "integer",
|
|
220
|
-
"description": "内存上限 MB
|
|
221
|
-
"default": 512
|
|
209
|
+
"description": "内存上限 MB(尽力而为,默认 512)"
|
|
222
210
|
},
|
|
223
211
|
"allow_exec": {
|
|
224
212
|
"type": "boolean",
|
|
225
|
-
"description": "是否授权运行(不授权就不执行;未授权时返回 skipped_reason
|
|
226
|
-
"default": false
|
|
213
|
+
"description": "是否授权运行(不授权就不执行;未授权时返回 skipped_reason,默认关)"
|
|
227
214
|
}
|
|
228
215
|
},
|
|
229
216
|
"required": [
|
|
@@ -254,8 +241,7 @@ export const NATIVE_TOOLS = {
|
|
|
254
241
|
},
|
|
255
242
|
"max_results": {
|
|
256
243
|
"type": "integer",
|
|
257
|
-
"description": "
|
|
258
|
-
"default": 10
|
|
244
|
+
"description": "自动搜索时的结果条数(默认 10)"
|
|
259
245
|
}
|
|
260
246
|
},
|
|
261
247
|
"required": [
|
|
@@ -303,22 +289,15 @@ export const NATIVE_TOOLS = {
|
|
|
303
289
|
"sitemap",
|
|
304
290
|
"bfs"
|
|
305
291
|
],
|
|
306
|
-
"description": "
|
|
307
|
-
"default": "bfs"
|
|
292
|
+
"description": "爬取策略,默认 bfs"
|
|
308
293
|
},
|
|
309
294
|
"max_pages": {
|
|
310
295
|
"type": "integer",
|
|
311
|
-
"description": "
|
|
312
|
-
"default": 10,
|
|
313
|
-
"minimum": 1,
|
|
314
|
-
"maximum": 50
|
|
296
|
+
"description": "最大抓取页数(1-50,默认 10)"
|
|
315
297
|
},
|
|
316
298
|
"max_depth": {
|
|
317
299
|
"type": "integer",
|
|
318
|
-
"description": "BFS
|
|
319
|
-
"default": 2,
|
|
320
|
-
"minimum": 1,
|
|
321
|
-
"maximum": 5
|
|
300
|
+
"description": "BFS 最大深度(1-5,默认 2)"
|
|
322
301
|
}
|
|
323
302
|
},
|
|
324
303
|
"required": [
|
|
@@ -334,22 +313,23 @@ export const NATIVE_TOOLS = {
|
|
|
334
313
|
]
|
|
335
314
|
},
|
|
336
315
|
"argo_fetch": {
|
|
337
|
-
"description": "
|
|
316
|
+
"description": "智能页面/长文/PDF抓取:HTTP 优先,遇反爬自动升级反检测浏览器;微信公众号文章(mp.weixin.qq.com)与 PDF 自动感知适配解析;支持 BM25 聚焦提取(focus 省 80%+ token)与结构化提取(mode=extract 抽表格/元数据/JSON-LD)。通读正文与获取文档的首选工具。",
|
|
338
317
|
"parameters": {
|
|
339
318
|
"type": "object",
|
|
340
319
|
"properties": {
|
|
341
320
|
"url": {
|
|
342
321
|
"type": "string",
|
|
343
|
-
"description": "目标 URL"
|
|
322
|
+
"description": "目标 URL 或本地 PDF 路径"
|
|
344
323
|
},
|
|
345
324
|
"mode": {
|
|
346
325
|
"type": "string",
|
|
347
326
|
"enum": [
|
|
348
327
|
"text",
|
|
349
|
-
"extract"
|
|
328
|
+
"extract",
|
|
329
|
+
"article",
|
|
330
|
+
"pdf"
|
|
350
331
|
],
|
|
351
|
-
"description": "text
|
|
352
|
-
"default": "text"
|
|
332
|
+
"description": "抓取模式:text=正文/聚焦文本(默认 text), extract=结构化提取, article=公众号全文, pdf=PDF解析。微信与PDF链接自动识别"
|
|
353
333
|
},
|
|
354
334
|
"extract_mode": {
|
|
355
335
|
"type": "string",
|
|
@@ -359,8 +339,7 @@ export const NATIVE_TOOLS = {
|
|
|
359
339
|
"jsonld",
|
|
360
340
|
"all"
|
|
361
341
|
],
|
|
362
|
-
"description": "mode=extract
|
|
363
|
-
"default": "all"
|
|
342
|
+
"description": "mode=extract 时的提取子模式,默认 all"
|
|
364
343
|
},
|
|
365
344
|
"focus": {
|
|
366
345
|
"type": "string",
|
|
@@ -368,20 +347,15 @@ export const NATIVE_TOOLS = {
|
|
|
368
347
|
},
|
|
369
348
|
"max_chars": {
|
|
370
349
|
"type": "integer",
|
|
371
|
-
"description": "
|
|
372
|
-
"default": 8000,
|
|
373
|
-
"minimum": 500,
|
|
374
|
-
"maximum": 50000
|
|
350
|
+
"description": "返回正文最大字符数(500-50000,默认 8000)"
|
|
375
351
|
},
|
|
376
352
|
"use_browser": {
|
|
377
353
|
"type": "boolean",
|
|
378
|
-
"description": "强制用反检测浏览器(HTTP
|
|
379
|
-
"default": false
|
|
354
|
+
"description": "强制用反检测浏览器(HTTP 失败时已自动升级,默认关)"
|
|
380
355
|
},
|
|
381
356
|
"include_links": {
|
|
382
357
|
"type": "boolean",
|
|
383
|
-
"description": "附带正文内链接(最多 30 条;默认只回 links_count,省 token
|
|
384
|
-
"default": false
|
|
358
|
+
"description": "附带正文内链接(最多 30 条;默认只回 links_count,省 token,默认关)"
|
|
385
359
|
}
|
|
386
360
|
},
|
|
387
361
|
"required": [
|
|
@@ -410,8 +384,7 @@ export const NATIVE_TOOLS = {
|
|
|
410
384
|
},
|
|
411
385
|
"full_page": {
|
|
412
386
|
"type": "boolean",
|
|
413
|
-
"description": "
|
|
414
|
-
"default": false
|
|
387
|
+
"description": "全页截图(默认仅当前视口,默认关)"
|
|
415
388
|
},
|
|
416
389
|
"output_path": {
|
|
417
390
|
"type": "string",
|
|
@@ -473,20 +446,15 @@ export const NATIVE_TOOLS = {
|
|
|
473
446
|
"text",
|
|
474
447
|
"sentiment"
|
|
475
448
|
],
|
|
476
|
-
"description": "text=帖子列表, sentiment
|
|
477
|
-
"default": "text"
|
|
449
|
+
"description": "text=帖子列表, sentiment=舆情聚合分析,默认 text"
|
|
478
450
|
},
|
|
479
451
|
"platforms": {
|
|
480
452
|
"type": "string",
|
|
481
|
-
"description": "平台列表,逗号分隔;可选 hackernews,v2ex,zhihu,bilibili,twitter,reddit,xiaohongshu,weibo"
|
|
482
|
-
"default": "hackernews,zhihu,bilibili"
|
|
453
|
+
"description": "平台列表,逗号分隔;可选 hackernews,v2ex,zhihu,bilibili,twitter,reddit,xiaohongshu,weibo,默认 hackernews,zhihu,bilibili"
|
|
483
454
|
},
|
|
484
455
|
"max_results": {
|
|
485
456
|
"type": "integer",
|
|
486
|
-
"description": "
|
|
487
|
-
"default": 5,
|
|
488
|
-
"minimum": 1,
|
|
489
|
-
"maximum": 20
|
|
457
|
+
"description": "每个平台的结果条数(1-20,默认 5)"
|
|
490
458
|
}
|
|
491
459
|
},
|
|
492
460
|
"required": [
|
|
@@ -512,10 +480,7 @@ export const NATIVE_TOOLS = {
|
|
|
512
480
|
},
|
|
513
481
|
"max_chars": {
|
|
514
482
|
"type": "integer",
|
|
515
|
-
"description": "
|
|
516
|
-
"default": 20000,
|
|
517
|
-
"minimum": 500,
|
|
518
|
-
"maximum": 50000
|
|
483
|
+
"description": "返回正文最大字符数(500-50000,默认 20000)"
|
|
519
484
|
}
|
|
520
485
|
},
|
|
521
486
|
"required": [
|
|
@@ -543,27 +508,19 @@ export const NATIVE_TOOLS = {
|
|
|
543
508
|
},
|
|
544
509
|
"num": {
|
|
545
510
|
"type": "integer",
|
|
546
|
-
"description": "
|
|
547
|
-
"default": 5,
|
|
548
|
-
"minimum": 1,
|
|
549
|
-
"maximum": 20
|
|
511
|
+
"description": "每后端条数(1-20,默认 5)"
|
|
550
512
|
},
|
|
551
513
|
"platforms": {
|
|
552
514
|
"type": "string",
|
|
553
|
-
"description": "逗号分隔平台: zhipin,liepin,zhaopin,51job,597,jrzp;空=全部"
|
|
554
|
-
"default": ""
|
|
515
|
+
"description": "逗号分隔平台: zhipin,liepin,zhaopin,51job,597,jrzp;空=全部"
|
|
555
516
|
},
|
|
556
517
|
"loose": {
|
|
557
518
|
"type": "boolean",
|
|
558
|
-
"description": "
|
|
559
|
-
"default": false
|
|
519
|
+
"description": "宽松:异地岗位也保留;默认严格地区过滤(默认关)"
|
|
560
520
|
},
|
|
561
521
|
"fetch_detail": {
|
|
562
522
|
"type": "integer",
|
|
563
|
-
"description": "对前 N 条高命中结果抓详情页补全结构化字段(0=仅 snippet
|
|
564
|
-
"default": 0,
|
|
565
|
-
"minimum": 0,
|
|
566
|
-
"maximum": 10
|
|
523
|
+
"description": "对前 N 条高命中结果抓详情页补全结构化字段(0=仅 snippet 提取,范围 0-10,默认 0)"
|
|
567
524
|
}
|
|
568
525
|
},
|
|
569
526
|
"required": [
|
|
@@ -597,15 +554,11 @@ export const NATIVE_TOOLS = {
|
|
|
597
554
|
"jsonld",
|
|
598
555
|
"all"
|
|
599
556
|
],
|
|
600
|
-
"description": "提取内容:tables=HTML表格, metadata=Meta元数据, jsonld=JSON-LD, all
|
|
601
|
-
"default": "all"
|
|
557
|
+
"description": "提取内容:tables=HTML表格, metadata=Meta元数据, jsonld=JSON-LD, all=全部,默认 all"
|
|
602
558
|
},
|
|
603
559
|
"max_chars": {
|
|
604
560
|
"type": "integer",
|
|
605
|
-
"description": "
|
|
606
|
-
"default": 50000,
|
|
607
|
-
"minimum": 1000,
|
|
608
|
-
"maximum": 200000
|
|
561
|
+
"description": "抓取页面最大字符数(1000-200000,默认 50000)"
|
|
609
562
|
}
|
|
610
563
|
},
|
|
611
564
|
"required": [
|
|
@@ -629,13 +582,11 @@ export const NATIVE_TOOLS = {
|
|
|
629
582
|
"items": {
|
|
630
583
|
"type": "string"
|
|
631
584
|
},
|
|
632
|
-
"description": "待预检的 URL 列表"
|
|
633
|
-
"minItems": 1
|
|
585
|
+
"description": "待预检的 URL 列表"
|
|
634
586
|
},
|
|
635
587
|
"probe": {
|
|
636
588
|
"type": "boolean",
|
|
637
|
-
"description": "联网探测存活(404/410
|
|
638
|
-
"default": false
|
|
589
|
+
"description": "联网探测存活(404/410 判死;默认纯本地规则,默认关)"
|
|
639
590
|
}
|
|
640
591
|
},
|
|
641
592
|
"required": [
|
|
@@ -698,8 +649,7 @@ export const NATIVE_TOOLS = {
|
|
|
698
649
|
},
|
|
699
650
|
"note": {
|
|
700
651
|
"type": "string",
|
|
701
|
-
"description": "备注(add
|
|
702
|
-
"default": ""
|
|
652
|
+
"description": "备注(add 可选,默认空)"
|
|
703
653
|
}
|
|
704
654
|
},
|
|
705
655
|
"required": [
|
|
@@ -723,8 +673,7 @@ export const NATIVE_TOOLS = {
|
|
|
723
673
|
"items": {
|
|
724
674
|
"type": "string"
|
|
725
675
|
},
|
|
726
|
-
"description": "DOI 列表,如 [\"10.1038/s41586-024-0001-x\"]"
|
|
727
|
-
"minItems": 1
|
|
676
|
+
"description": "DOI 列表,如 [\"10.1038/s41586-024-0001-x\"]"
|
|
728
677
|
},
|
|
729
678
|
"style": {
|
|
730
679
|
"type": "string",
|
|
@@ -734,8 +683,7 @@ export const NATIVE_TOOLS = {
|
|
|
734
683
|
"apa",
|
|
735
684
|
"bibtex"
|
|
736
685
|
],
|
|
737
|
-
"description": "
|
|
738
|
-
"default": "gbt7714"
|
|
686
|
+
"description": "引用格式,默认 gbt7714"
|
|
739
687
|
}
|
|
740
688
|
},
|
|
741
689
|
"required": [
|
|
@@ -645,7 +645,7 @@ export function createWideResearchTool(ctx, config, options = {}) {
|
|
|
645
645
|
perspective: { type: 'string', description: 'Optional decomposition lens such as technical, market, policy, or skeptical review.' },
|
|
646
646
|
file_inputs: { type: 'string', description: '本地一手数据文件 JSON 数组(白名单制):[{"path":"~/data/company.xlsx","role":"原始数据"}]。登记血缘(sha256/路径),内容不入账;供 recompute 重算。' },
|
|
647
647
|
recompute: { type: 'string', description: '可复算契约 JSON 对象:{"script":"...","expect":"0.23左右","budget":{"timeout_s":30,"max_mem_mb":512}}。在编排器侧受限执行,验证重算数值。' },
|
|
648
|
-
include_local: { type: 'boolean', description: 'worker 搜索时并入本机文件命中(argo_search include_local,默认 false)。'
|
|
648
|
+
include_local: { type: 'boolean', description: 'worker 搜索时并入本机文件命中(argo_search include_local,默认 false)。' },
|
|
649
649
|
max_workers: { type: 'number', description: 'Requested concurrent workers. Defaults to the configured default and is capped by the configured maximum.' },
|
|
650
650
|
response_language: { type: 'string', description: 'Language for the final report. Defaults to the question language.' },
|
|
651
651
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taxueseek/argo-dsh",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.1",
|
|
4
4
|
"description": "Argo 阿尔戈 — DSH plugin:argo 原生搜索/抓取工具 + web_search seam + wide_research 编排;自带设置页(接入/工具/API 密钥/研究/高级);argo MCP 19 工具全量面按需挂载。安装:dsh plugin --profile web add @taxueseek/argo-dsh(或从 GitHub main 装:dsh plugin --profile web add \"github:taxueseek/argo#main&path:packages/dsh-plugin\")",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|