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
package/scripts/search_cli.py
CHANGED
|
@@ -409,6 +409,23 @@ def main():
|
|
|
409
409
|
logging.disable(logging.WARNING)
|
|
410
410
|
|
|
411
411
|
if args.list_engines:
|
|
412
|
+
# 引擎状态行里含 runtime.failure.evidence 与 admission 等自由文本字段,
|
|
413
|
+
# 是 stdout 上唯一能带回真实凭据的出口(历史上引擎把 401 响应体原样
|
|
414
|
+
# 记进 failure.evidence)。--list-engines 在 search 之前就 return,
|
|
415
|
+
# 走不到文件底部那处脱敏,所以这里必须自带一层。
|
|
416
|
+
# 契约见 tests/test_redactor_guard.py::test_list_engines_output_is_redacted。
|
|
417
|
+
try:
|
|
418
|
+
from secret_guard import redact_data as _redact
|
|
419
|
+
except Exception:
|
|
420
|
+
def _redact(x):
|
|
421
|
+
return x
|
|
422
|
+
|
|
423
|
+
def _emit_json(obj: Any) -> None:
|
|
424
|
+
print(dumps(_redact(obj)))
|
|
425
|
+
|
|
426
|
+
def _emit_text(text: str) -> None:
|
|
427
|
+
print(_redact(text))
|
|
428
|
+
|
|
412
429
|
# --engine 兼作清单过滤(`--engine auto` 是搜索默认值,不算过滤)。
|
|
413
430
|
# 全量详细行 2026-09-16 实测 151 KB(runtime/admission 嵌套是大头),
|
|
414
431
|
# Agent 查单个引擎状态时不该付这个代价——实测此前
|
|
@@ -439,10 +456,10 @@ def main():
|
|
|
439
456
|
# 单引擎全量诊断仍走 --engine <名>(不受本分支影响)。
|
|
440
457
|
rows = [compact_engine_row(r) for r in rows]
|
|
441
458
|
if not _wanted and not args.list_all and args.json_output:
|
|
442
|
-
|
|
459
|
+
_emit_json(_summarize_engine_rows(rows))
|
|
443
460
|
return
|
|
444
461
|
if not _wanted and not args.list_all:
|
|
445
|
-
|
|
462
|
+
_emit_text(_format_engine_summary(_summarize_engine_rows(rows)))
|
|
446
463
|
return
|
|
447
464
|
if _wanted:
|
|
448
465
|
# 未命中的名字要显式报出(走 stderr,保持 stdout 是纯 JSON)——
|
|
@@ -459,13 +476,13 @@ def main():
|
|
|
459
476
|
# 单引擎诊断(--engine <名>)仍给逐条全量对象——那一档
|
|
460
477
|
# 只有 1 条,键名成本可忽略,且需要嵌套的 runtime/admission。
|
|
461
478
|
if not _wanted:
|
|
462
|
-
|
|
479
|
+
_emit_json(compact_engine_table(rows))
|
|
463
480
|
else:
|
|
464
|
-
|
|
481
|
+
_emit_json(rows)
|
|
465
482
|
else:
|
|
466
|
-
|
|
483
|
+
_emit_text(format_engines_table(rows))
|
|
467
484
|
except Exception as e:
|
|
468
|
-
|
|
485
|
+
_emit_json({"error": str(e), "engines": available_engines()})
|
|
469
486
|
else:
|
|
470
487
|
# 不包 try/except TypeError:available_engines 已收 routable_only
|
|
471
488
|
# (它当初没收,被这里的回退静默吞掉,于是 --routable-only 一直
|
|
@@ -473,7 +490,7 @@ def main():
|
|
|
473
490
|
names = available_engines(routable_only=args.routable_only)
|
|
474
491
|
if _wanted:
|
|
475
492
|
names = [n for n in names if n in set(_wanted)]
|
|
476
|
-
|
|
493
|
+
_emit_json(names)
|
|
477
494
|
# issue #34 第 6 条:本档只回答「有多少个有实现的源」,与
|
|
478
495
|
# `paths --check` 的 engines=<总收录> 天然不等——差额里是
|
|
479
496
|
# 停用/缺密钥/别名 spec。以前这层口径差没有任何对外说明,
|
|
@@ -668,6 +685,19 @@ def main():
|
|
|
668
685
|
f"degraded={rs.get('degraded', 0)} mean_delta={rs.get('mean_delta', 0)}",
|
|
669
686
|
file=sys.stderr,
|
|
670
687
|
)
|
|
688
|
+
sem = v.get("semantic") or {}
|
|
689
|
+
if sem.get("contradiction_alert"):
|
|
690
|
+
print(f" ! [事实反驳预警] 检测到权威信源明确反驳查询前提({sem.get('contradicts')} 条冲突)",
|
|
691
|
+
file=sys.stderr)
|
|
692
|
+
if sem.get("primary_sources"):
|
|
693
|
+
print(f" * [一手源置顶] 识别到 {sem.get('primary_sources')} 条官方/一手公告并加权",
|
|
694
|
+
file=sys.stderr)
|
|
695
|
+
if sem.get("substantive_discussions"):
|
|
696
|
+
print(f" * [深度探讨置顶] 识别到 {sem.get('substantive_discussions')} 条深度探讨内容并提权",
|
|
697
|
+
file=sys.stderr)
|
|
698
|
+
if sem.get("passing_mentions"):
|
|
699
|
+
print(f" ~ [顺带提及校准] 识别到 {sem.get('passing_mentions')} 条仅顺带提及内容并去噪",
|
|
700
|
+
file=sys.stderr)
|
|
671
701
|
ro = results.get("evidence_reorder") or {}
|
|
672
702
|
if ro.get("reordered"):
|
|
673
703
|
print(f" [verify] 证据回写排序:调整 {len(ro.get('adjusted') or [])} 条,"
|
|
@@ -747,6 +777,13 @@ def main():
|
|
|
747
777
|
_vw_ms = (time.perf_counter() - _t_verifywith0) * 1000.0
|
|
748
778
|
_merge_verify_timing(results["timing"], _vw_ms, stage="verify_with")
|
|
749
779
|
|
|
780
|
+
# 敏感信息自动脱敏拦截(防止真实 API Key / 通用敏感凭据在输出流泄露)
|
|
781
|
+
try:
|
|
782
|
+
from secret_guard import redact_data
|
|
783
|
+
results = redact_data(results)
|
|
784
|
+
except Exception:
|
|
785
|
+
pass
|
|
786
|
+
|
|
750
787
|
if args.json_output:
|
|
751
788
|
public = {k: v for k, v in results.items() if not k.startswith("_")}
|
|
752
789
|
# Agent 消费自动瘦身:stdout 非 tty(管道/Agent 调用)且未显式指定
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""secret_guard.py — 输出流自动脱敏拦截器(防止真实凭据反射/外泄给 Agent 与 LLM)。
|
|
3
|
+
|
|
4
|
+
第一性原理:
|
|
5
|
+
任何流向终端、JSON 或 MCP 工具返回的文本/结构化数据,都必须经过
|
|
6
|
+
脱敏拦截,杜绝三类泄露:
|
|
7
|
+
1. 已配置的真实凭据(从 os.environ 与 envfile 收集的所有有效 API Key/Token);
|
|
8
|
+
2. URL 参数中的敏感认证(?key=..., &token=..., &secret=...);
|
|
9
|
+
3. 通用高熵 API 凭据签名模式(sk-..., tvly-..., ghp_..., Bearer ...)。
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
from __future__ import annotations
|
|
13
|
+
|
|
14
|
+
import os
|
|
15
|
+
import re
|
|
16
|
+
from typing import Any
|
|
17
|
+
|
|
18
|
+
# 通用高熵 API Key 签名正则
|
|
19
|
+
_GENERIC_KEY_PATTERNS = [
|
|
20
|
+
# OpenAI / DeepSeek / 通用 sk- 开头
|
|
21
|
+
re.compile(r"\b(sk-[a-zA-Z0-9_\-]{20,})\b"),
|
|
22
|
+
# Tavily tvly- 开头
|
|
23
|
+
re.compile(r"\b(tvly-[a-zA-Z0-9_\-]{20,})\b"),
|
|
24
|
+
# GitHub Token (ghp_, github_pat_)
|
|
25
|
+
re.compile(r"\b(ghp_[a-zA-Z0-9]{36}|github_pat_[a-zA-Z0-9_]{40,})\b"),
|
|
26
|
+
# HTTP Bearer 认证头残留
|
|
27
|
+
re.compile(r"(?i)\bBearer\s+([a-zA-Z0-9_\-\.]{24,})\b"),
|
|
28
|
+
# 典型键值对形式
|
|
29
|
+
re.compile(r"(?i)(?:api_key|access_token|secret_key|api_secret)\s*[:=]\s*['\"]?([a-zA-Z0-9_\-]{24,})['\"]?"),
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
# URL query 敏感参数脱敏
|
|
33
|
+
_URL_PARAM_PATTERN = re.compile(
|
|
34
|
+
r"([?&](?:api_?key|access_?token|token|key|secret|password|auth)=)[^& \t\r\n\"'>]+",
|
|
35
|
+
re.I,
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
# 避免误杀的非密钥常见词
|
|
39
|
+
_WHITELIST = {
|
|
40
|
+
"undefined", "null", "false", "true", "none", "password", "secret", "bearer",
|
|
41
|
+
"http_proxy", "https_proxy", "all_proxy", "no_proxy",
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def get_active_secrets() -> set[str]:
|
|
46
|
+
"""收集当前环境中加载的真实有效长密钥字符串集合(去重、过滤短串)。"""
|
|
47
|
+
secrets: set[str] = set()
|
|
48
|
+
# 1. 进程环境变量
|
|
49
|
+
for k, v in os.environ.items():
|
|
50
|
+
if not v or len(v) < 8:
|
|
51
|
+
continue
|
|
52
|
+
k_upper = k.upper()
|
|
53
|
+
if (k_upper.startswith("ARGO_") or
|
|
54
|
+
k_upper.endswith(("_KEY", "_TOKEN", "_SECRET", "_PASSWORD", "_APIKEY")) or
|
|
55
|
+
"API_KEY" in k_upper or "ACCESS_KEY" in k_upper):
|
|
56
|
+
if v.lower() not in _WHITELIST:
|
|
57
|
+
secrets.add(v.strip())
|
|
58
|
+
|
|
59
|
+
# 2. envfile 存储的密钥
|
|
60
|
+
try:
|
|
61
|
+
from engine_env import _envfile_load
|
|
62
|
+
file_env = _envfile_load()
|
|
63
|
+
for _k, v in file_env.items():
|
|
64
|
+
if v and len(v) >= 8 and v.lower() not in _WHITELIST:
|
|
65
|
+
secrets.add(v.strip())
|
|
66
|
+
except Exception:
|
|
67
|
+
pass
|
|
68
|
+
|
|
69
|
+
return secrets
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
def redact_text(text: str, extra_secrets: set[str] | None = None) -> str:
|
|
73
|
+
"""对单段文本执行深度脱敏替换。"""
|
|
74
|
+
if not text or not isinstance(text, str):
|
|
75
|
+
return text
|
|
76
|
+
|
|
77
|
+
out = text
|
|
78
|
+
|
|
79
|
+
# 1. 替换已知真实有效凭据
|
|
80
|
+
active_secrets = get_active_secrets()
|
|
81
|
+
if extra_secrets:
|
|
82
|
+
active_secrets.update(extra_secrets)
|
|
83
|
+
|
|
84
|
+
for sec in sorted(active_secrets, key=len, reverse=True):
|
|
85
|
+
if sec in out:
|
|
86
|
+
out = out.replace(sec, "[REDACTED_API_KEY]")
|
|
87
|
+
|
|
88
|
+
# 2. 替换通用高熵 API Key 签名
|
|
89
|
+
for pat in _GENERIC_KEY_PATTERNS:
|
|
90
|
+
out = pat.sub("[REDACTED_SECRET]", out)
|
|
91
|
+
|
|
92
|
+
# 3. 替换 URL query 参数中的敏感参数
|
|
93
|
+
out = _URL_PARAM_PATTERN.sub(r"\1[REDACTED]", out)
|
|
94
|
+
|
|
95
|
+
return out
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
def redact_data(data: Any, extra_secrets: set[str] | None = None) -> Any:
|
|
99
|
+
"""递归对复杂数据结构(dict / list / str)进行全量脱敏。"""
|
|
100
|
+
if isinstance(data, str):
|
|
101
|
+
return redact_text(data, extra_secrets=extra_secrets)
|
|
102
|
+
if isinstance(data, list):
|
|
103
|
+
return [redact_data(item, extra_secrets=extra_secrets) for item in data]
|
|
104
|
+
if isinstance(data, dict):
|
|
105
|
+
return {k: redact_data(v, extra_secrets=extra_secrets) for k, v in data.items()}
|
|
106
|
+
return data
|
|
@@ -37,6 +37,10 @@ from __future__ import annotations
|
|
|
37
37
|
|
|
38
38
|
import json
|
|
39
39
|
import logging
|
|
40
|
+
import os
|
|
41
|
+
import re
|
|
42
|
+
import time
|
|
43
|
+
from pathlib import Path
|
|
40
44
|
from typing import Any, Optional
|
|
41
45
|
|
|
42
46
|
logger = logging.getLogger("unified_search.semantic_evidence")
|
|
@@ -67,6 +71,12 @@ JEV_LONG_CONTEXT_CHARS = 24000
|
|
|
67
71
|
# 并发上限。官方 cookbook(classifying_rag_passages)取 4,理由是端点限流;
|
|
68
72
|
# 429/529 要求指数退避,所以不铺大。
|
|
69
73
|
JEV_MAX_WORKERS = 4
|
|
74
|
+
# 多并发整体截止时间(秒):实测冷调用在 0.55s 左右,提高到 1.2s(覆盖 p95),防止网络抖动导致的误杀 fail-open
|
|
75
|
+
DEFAULT_JEV_DEADLINE_S = 1.2
|
|
76
|
+
|
|
77
|
+
# 结果级缓存(TTL 7 天):常见事实与热点二次判定 0ms 响应,API 消耗清零
|
|
78
|
+
_JEV_MEMORY_CACHE: dict[str, tuple[float, dict[str, Any]]] = {}
|
|
79
|
+
_JEV_CACHE_TTL_S = 7 * 86400
|
|
70
80
|
|
|
71
81
|
# conf ≥ 0.7 才给结论:低于此值的判定不可信(B 实测 4 个严格错误全部 ≤0.67)
|
|
72
82
|
SUPPORT_THRESHOLD = 0.7
|
|
@@ -87,6 +97,135 @@ SOURCE_TYPE_LABELS = (
|
|
|
87
97
|
"social narrative",
|
|
88
98
|
"none of these",
|
|
89
99
|
)
|
|
100
|
+
SUBSTANTIVE_DISCUSSION_LABELS = (
|
|
101
|
+
"substantive in-depth discussion",
|
|
102
|
+
"passing mention or brief reference",
|
|
103
|
+
"unrelated chatter",
|
|
104
|
+
"none of these",
|
|
105
|
+
)
|
|
106
|
+
SUBSTANTIVE_DISCUSSION_CRITERIA = {
|
|
107
|
+
"substantive in-depth discussion": "The topic is a primary subject, core explanation, or key focus of the text.",
|
|
108
|
+
"passing mention or brief reference": "The topic is only mentioned in passing, as a metaphor, an offhand remark, or a minor tangent.",
|
|
109
|
+
"unrelated chatter": "The text is casual talk or unrelated discussion where the topic is absent or irrelevant.",
|
|
110
|
+
"none of these": "None of the above criteria fit the text.",
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
def is_local_target(url_or_path: str) -> bool:
|
|
115
|
+
"""本地物理隔离屏障:只放行 http/https 公网 URL,其余一律视为本地。
|
|
116
|
+
|
|
117
|
+
为什么改成白名单(2026-11-11):黑名单靠枚举前缀(`file://`、`~/`、
|
|
118
|
+
`./`、`../`、盘符…),永远列不全。实测 `data:text/plain,...`、
|
|
119
|
+
`localhost:8080/notes.md`、`Users/me/notes.md`(不带 ./ 的相对路径)、
|
|
120
|
+
`C:/Users/x/a.txt`(正斜杠盘符)都会被当成公网 URL 送进 JEV 队列,
|
|
121
|
+
而 assess_* 送出去的是 title + 正文,等于私域内容外发。
|
|
122
|
+
|
|
123
|
+
判据反过来:带 scheme 且是 http/https 才算公网;其余(含 ftp/ws、
|
|
124
|
+
data:、无 scheme 的主机名、UNC、相对路径)一律拦。大小写不敏感。
|
|
125
|
+
"""
|
|
126
|
+
u = str(url_or_path or "").strip()
|
|
127
|
+
if not u:
|
|
128
|
+
return False
|
|
129
|
+
low = u.lower()
|
|
130
|
+
if low.startswith("http://") or low.startswith("https://"):
|
|
131
|
+
return False
|
|
132
|
+
return True
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
_RE_HTML_TAGS = re.compile(r"<[^>]+>", re.S)
|
|
136
|
+
_RE_DYNAMIC_TIMESTAMPS = re.compile(
|
|
137
|
+
r"\b(?:\d{4}[-/.]\d{1,2}[-/.]\d{1,2}(?:[ T]\d{1,2}:\d{2}(?::\d{2})?)?|"
|
|
138
|
+
r"\d+\s*(?:seconds?|minutes?|hours?|days?|weeks?|months?|years?|秒|分钟|小时|天|周|月|年)\s*(?:ago|前)|"
|
|
139
|
+
r"(?:today|yesterday|just now|刚刚|今天|昨天))\b",
|
|
140
|
+
re.I,
|
|
141
|
+
)
|
|
142
|
+
_RE_WHITESPACE = re.compile(r"\s+")
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
def _normalize_cache_text(text: str) -> str:
|
|
146
|
+
"""对正文进行稳态清洗以生成稳固的缓存键,消除时间戳/动态元数据导致的键漂移。
|
|
147
|
+
|
|
148
|
+
不做长度截断(2026-11-11 修):此前取前 1200 字符,而实际送入判定的
|
|
149
|
+
正文上限是 MAX_TEXT_CHARS=8000——两段仅在第 1200 字符后不同的文本会
|
|
150
|
+
得到同一个键,从而共享同一个 label/confidence。对语义核验这是正确性
|
|
151
|
+
缺陷(错误结果还会被缓存 TTL 7 天)。稳态清洗只改「动态元数据」
|
|
152
|
+
(HTML/时间戳/空白),不改语义内容,故全文入键是安全的。
|
|
153
|
+
"""
|
|
154
|
+
if not text:
|
|
155
|
+
return ""
|
|
156
|
+
# 1. 剥离 HTML 残留
|
|
157
|
+
s = _RE_HTML_TAGS.sub(" ", text)
|
|
158
|
+
# 2. 剥离常见相对/绝对易变时间戳
|
|
159
|
+
s = _RE_DYNAMIC_TIMESTAMPS.sub(" ", s)
|
|
160
|
+
# 3. 规整空白
|
|
161
|
+
s = _RE_WHITESPACE.sub(" ", s).strip()
|
|
162
|
+
return s
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
def _get_cache_key(text: str, labels: tuple[str, ...] | list[str],
|
|
166
|
+
instructions: str | None,
|
|
167
|
+
criteria: dict[str, str] | None = None) -> str:
|
|
168
|
+
import hashlib
|
|
169
|
+
crit_repr = str(sorted((criteria or {}).items())) if criteria else str(sorted(str(l) for l in labels))
|
|
170
|
+
norm_text = _normalize_cache_text(text)
|
|
171
|
+
raw = f"{instructions or ''}::{crit_repr}::{norm_text}"
|
|
172
|
+
return hashlib.sha256(raw.encode("utf-8")).hexdigest()
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
def _should_bypass_cache() -> bool:
|
|
176
|
+
import sys
|
|
177
|
+
if os.environ.get("ARGO_NO_CACHE") == "1":
|
|
178
|
+
return True
|
|
179
|
+
if ("pytest" in sys.modules or os.environ.get("PYTEST_CURRENT_TEST")) and not os.environ.get("_TEST_ENABLE_SEMANTIC_CACHE"):
|
|
180
|
+
return True
|
|
181
|
+
return False
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
def _get_cached_result(key: str) -> Optional[dict[str, Any]]:
|
|
185
|
+
if _should_bypass_cache():
|
|
186
|
+
return None
|
|
187
|
+
cached = _JEV_MEMORY_CACHE.get(key)
|
|
188
|
+
if cached is not None:
|
|
189
|
+
ts, data = cached
|
|
190
|
+
if time.time() - ts < _JEV_CACHE_TTL_S:
|
|
191
|
+
return dict(data)
|
|
192
|
+
try:
|
|
193
|
+
from argo_paths import state_path
|
|
194
|
+
p = Path(state_path("semantic_cache.json"))
|
|
195
|
+
if p.is_file():
|
|
196
|
+
data_map = json.loads(p.read_text(encoding="utf-8"))
|
|
197
|
+
rec = data_map.get(key)
|
|
198
|
+
if rec and isinstance(rec, dict) and time.time() - rec.get("ts", 0) < _JEV_CACHE_TTL_S:
|
|
199
|
+
res = rec.get("result")
|
|
200
|
+
if isinstance(res, dict):
|
|
201
|
+
_JEV_MEMORY_CACHE[key] = (rec.get("ts", time.time()), res)
|
|
202
|
+
return dict(res)
|
|
203
|
+
except Exception:
|
|
204
|
+
pass
|
|
205
|
+
return None
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
def _set_cached_result(key: str, result: dict[str, Any]) -> None:
|
|
209
|
+
if _should_bypass_cache():
|
|
210
|
+
return
|
|
211
|
+
now = time.time()
|
|
212
|
+
_JEV_MEMORY_CACHE[key] = (now, result)
|
|
213
|
+
try:
|
|
214
|
+
from argo_paths import state_path
|
|
215
|
+
p = Path(state_path("semantic_cache.json"))
|
|
216
|
+
data_map = {}
|
|
217
|
+
if p.is_file():
|
|
218
|
+
try:
|
|
219
|
+
data_map = json.loads(p.read_text(encoding="utf-8"))
|
|
220
|
+
except Exception:
|
|
221
|
+
data_map = {}
|
|
222
|
+
if len(data_map) > 500:
|
|
223
|
+
data_map.clear()
|
|
224
|
+
data_map[key] = {"ts": now, "result": result}
|
|
225
|
+
p.parent.mkdir(parents=True, exist_ok=True)
|
|
226
|
+
p.write_text(json.dumps(data_map, ensure_ascii=False), encoding="utf-8")
|
|
227
|
+
except Exception:
|
|
228
|
+
pass
|
|
90
229
|
|
|
91
230
|
|
|
92
231
|
def _config() -> dict[str, Any]:
|
|
@@ -209,9 +348,10 @@ def _jev_post(path_state: Any, questions: dict[str, Any], *,
|
|
|
209
348
|
|
|
210
349
|
|
|
211
350
|
def _jev_choice(text: str, labels: tuple[str, ...] | list[str],
|
|
212
|
-
instructions: str | None, timeout: float
|
|
351
|
+
instructions: str | None, timeout: float,
|
|
352
|
+
criteria: dict[str, str] | None = None
|
|
213
353
|
) -> Optional[dict[str, Any]]:
|
|
214
|
-
"""单条文本 → 一个 Choice
|
|
354
|
+
"""单条文本 → 一个 Choice 问题(带本地结果级 Hash 缓存,命中 0ms)。
|
|
215
355
|
|
|
216
356
|
**每条一个请求**,不是「多段一个 state、每段一问」。理由在官方文档里:
|
|
217
357
|
jaggedness 那篇明写「state 里塞与决策无关的细节会降低准确率(context
|
|
@@ -219,13 +359,19 @@ def _jev_choice(text: str, labels: tuple[str, ...] | list[str],
|
|
|
219
359
|
classifying_rag_passages 也是「One request per passage」。(我们试过 3 段
|
|
220
360
|
合一,结果全对,但样本太小,不拿它赌准确率。)
|
|
221
361
|
"""
|
|
362
|
+
cache_key = _get_cache_key(text, labels, instructions, criteria=criteria)
|
|
363
|
+
cached = _get_cached_result(cache_key)
|
|
364
|
+
if cached is not None:
|
|
365
|
+
return cached
|
|
366
|
+
|
|
367
|
+
crit_map = criteria or {str(lab): str(lab) for lab in labels}
|
|
222
368
|
out = _jev_post(text, {
|
|
223
369
|
"cls": {
|
|
224
370
|
"type": "choice",
|
|
225
371
|
"instructions": instructions or "Classify the state into one of the criteria.",
|
|
226
372
|
# criteria 的**值**是描述:jaggedness 说 instructions 与 criteria
|
|
227
|
-
#
|
|
228
|
-
"criteria":
|
|
373
|
+
# 不一致时模型会困惑,所以未显式给描述时两边用同一句话。
|
|
374
|
+
"criteria": crit_map,
|
|
229
375
|
},
|
|
230
376
|
}, timeout=timeout)
|
|
231
377
|
if not isinstance(out, dict):
|
|
@@ -235,27 +381,51 @@ def _jev_choice(text: str, labels: tuple[str, ...] | list[str],
|
|
|
235
381
|
if isinstance(ans, dict):
|
|
236
382
|
logger.debug("JEV 答案缺 choice: %s", str(ans)[:120])
|
|
237
383
|
return None
|
|
238
|
-
|
|
384
|
+
res = {
|
|
239
385
|
"label": str(ans.get("choice")),
|
|
240
386
|
"confidence": ans.get("confidence"),
|
|
241
387
|
"scores": ans.get("probabilities"),
|
|
242
388
|
}
|
|
389
|
+
_set_cached_result(cache_key, res)
|
|
390
|
+
return res
|
|
243
391
|
|
|
244
392
|
|
|
245
393
|
def _classify_jev(texts: list[str], labels: tuple[str, ...] | list[str], *,
|
|
246
|
-
instructions: str | None,
|
|
394
|
+
instructions: str | None, criteria: dict[str, str] | None = None,
|
|
395
|
+
keep: list[tuple[int, str]],
|
|
247
396
|
timeout: float) -> Optional[list[dict[str, Any]]]:
|
|
248
|
-
"""JEV 通道:每条文本一个请求,并发 4
|
|
397
|
+
"""JEV 通道:每条文本一个请求,并发 4,带总体时间硬截止预算。
|
|
249
398
|
|
|
250
399
|
任一条失败就在该位留 None(与 classifier.dev 通道「整批失败即 None」
|
|
251
400
|
不同):一次核验有几条正文,坏一条不该把其余判定的价值也丢掉。全部失败
|
|
252
401
|
时仍返回 None,调用方行为与未开启时一致。
|
|
253
402
|
"""
|
|
254
|
-
from concurrent.futures import ThreadPoolExecutor
|
|
403
|
+
from concurrent.futures import ThreadPoolExecutor, as_completed
|
|
255
404
|
texts_kept = [t[:MAX_TEXT_CHARS] for _i, t in keep]
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
405
|
+
deadline_s = DEFAULT_JEV_DEADLINE_S
|
|
406
|
+
results: list[Optional[dict[str, Any]]] = [None] * len(texts_kept)
|
|
407
|
+
|
|
408
|
+
# 不能用 `with ThreadPoolExecutor(...)`:with 退出时 shutdown(wait=True)
|
|
409
|
+
# 会把 as_completed 超时后仍在跑的请求全部 join 完,硬截止形同虚设
|
|
410
|
+
# (实测 sleep 3s 的任务让整轮耗时 3.01s)。这里显式建池、超时后
|
|
411
|
+
# shutdown(wait=False, cancel_futures=True),只保留已完成的结果就返回。
|
|
412
|
+
# 未完成的任务内部仍由 HttpClient 的 timeout 兜底,不阻塞调用方。
|
|
413
|
+
pool = ThreadPoolExecutor(max_workers=min(JEV_MAX_WORKERS, len(texts_kept)))
|
|
414
|
+
try:
|
|
415
|
+
futures = {pool.submit(_jev_choice, t, labels, instructions, timeout, criteria): idx
|
|
416
|
+
for idx, t in enumerate(texts_kept)}
|
|
417
|
+
try:
|
|
418
|
+
for fut in as_completed(futures, timeout=max(0.1, deadline_s)):
|
|
419
|
+
orig_idx = futures[fut]
|
|
420
|
+
try:
|
|
421
|
+
results[orig_idx] = fut.result()
|
|
422
|
+
except Exception:
|
|
423
|
+
results[orig_idx] = None
|
|
424
|
+
except TimeoutError:
|
|
425
|
+
pass
|
|
426
|
+
finally:
|
|
427
|
+
pool.shutdown(wait=False, cancel_futures=True)
|
|
428
|
+
|
|
259
429
|
if not any(r for r in results):
|
|
260
430
|
return None
|
|
261
431
|
out: list[Optional[dict[str, Any]]] = [None] * len(texts)
|
|
@@ -267,6 +437,7 @@ def _classify_jev(texts: list[str], labels: tuple[str, ...] | list[str], *,
|
|
|
267
437
|
|
|
268
438
|
def classify(texts: list[str], labels: tuple[str, ...] | list[str], *,
|
|
269
439
|
instructions: str | None = None,
|
|
440
|
+
criteria: dict[str, str] | None = None,
|
|
270
441
|
timeout: float | None = None,
|
|
271
442
|
tier: str | None = None) -> Optional[list[dict[str, Any]]]:
|
|
272
443
|
"""一次批量分类。任何异常/非 200/条数不匹配 → None。
|
|
@@ -285,7 +456,7 @@ def classify(texts: list[str], labels: tuple[str, ...] | list[str], *,
|
|
|
285
456
|
to = timeout or _timeout()
|
|
286
457
|
if _transport() == "jev":
|
|
287
458
|
return _classify_jev(texts, labels, instructions=instructions,
|
|
288
|
-
keep=keep, timeout=to)
|
|
459
|
+
criteria=criteria, keep=keep, timeout=to)
|
|
289
460
|
body: dict[str, Any] = {
|
|
290
461
|
"labels": [str(x) for x in labels],
|
|
291
462
|
"inputs": [t[:MAX_TEXT_CHARS] for _i, t in keep],
|
|
@@ -326,8 +497,10 @@ def assess_support(query: str, items: list[dict[str, Any]]) -> Optional[dict[str
|
|
|
326
497
|
返回 {url: {label, confidence, supports, contradicts}};未达阈值时
|
|
327
498
|
supports/contradicts 均为 False(原始 label 与 confidence 仍原样保留,
|
|
328
499
|
调用方可自行换阈值)。失败返回 None。
|
|
500
|
+
自动剔除本地文件(is_local_target),严格物理阻断私域外发。
|
|
329
501
|
"""
|
|
330
|
-
usable = [it for it in items if (it.get("text") or "").strip() and it.get("url")
|
|
502
|
+
usable = [it for it in items if (it.get("text") or "").strip() and it.get("url")
|
|
503
|
+
and not is_local_target(it.get("url", ""))]
|
|
331
504
|
if not usable:
|
|
332
505
|
return None
|
|
333
506
|
texts = [f"{it.get('title') or ''}\n{(it.get('text') or '')[:MAX_TEXT_CHARS]}"
|
|
@@ -362,9 +535,11 @@ def assess_source_types(items: list[dict[str, Any]]) -> Optional[dict[str, dict]
|
|
|
362
535
|
"""来源类型分级(研究取证链路用):一手数据 / 二手报道 / 分析观点 / 社交叙事。
|
|
363
536
|
|
|
364
537
|
items: [{"url": str, "title": str, "text": str}](text 可为摘要)
|
|
538
|
+
自动剔除本地文件(is_local_target),严格物理阻断私域外发。
|
|
365
539
|
"""
|
|
366
540
|
usable = [it for it in items if it.get("url") and
|
|
367
|
-
((it.get("text") or "").strip() or (it.get("title") or "").strip())
|
|
541
|
+
((it.get("text") or "").strip() or (it.get("title") or "").strip())
|
|
542
|
+
and not is_local_target(it.get("url", ""))]
|
|
368
543
|
if not usable:
|
|
369
544
|
return None
|
|
370
545
|
texts = [f"{it.get('title') or ''}\n{(it.get('text') or '')[:MAX_TEXT_CHARS]}"
|
|
@@ -384,8 +559,48 @@ def assess_source_types(items: list[dict[str, Any]]) -> Optional[dict[str, dict]
|
|
|
384
559
|
continue
|
|
385
560
|
label = str(r.get("label") or "")
|
|
386
561
|
conf = r.get("confidence")
|
|
562
|
+
conf_f = float(conf) if isinstance(conf, (int, float)) else 0.0
|
|
387
563
|
out[str(it["url"])] = {
|
|
388
564
|
"label": label,
|
|
389
|
-
"confidence":
|
|
565
|
+
"confidence": conf_f,
|
|
566
|
+
"is_primary": (label == "primary data or official announcement" and conf_f >= SUPPORT_THRESHOLD),
|
|
567
|
+
}
|
|
568
|
+
return out or None
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
def assess_substantive_discussion(topic: str, items: list[dict[str, Any]]) -> Optional[dict[str, dict]]:
|
|
572
|
+
"""对正文/播客单集转录/长篇段落批量判定「是否对主题进行了实质性深入探讨」。
|
|
573
|
+
|
|
574
|
+
用于复杂需求与播客/音视频长文本场景,区分:
|
|
575
|
+
- substantive in-depth discussion: 深入、实质性探讨或核心讲解
|
|
576
|
+
- passing mention or brief reference: 顺带提及、比喻借用或偏题带过
|
|
577
|
+
- unrelated chatter: 闲聊或偏离主题
|
|
578
|
+
自动剔除本地文件(is_local_target),严格物理阻断私域外发。
|
|
579
|
+
"""
|
|
580
|
+
usable = [it for it in items if (it.get("text") or "").strip() and it.get("url")
|
|
581
|
+
and not is_local_target(it.get("url", ""))]
|
|
582
|
+
if not usable:
|
|
583
|
+
return None
|
|
584
|
+
texts = [f"{it.get('title') or ''}\n{(it.get('text') or '')[:MAX_TEXT_CHARS]}"
|
|
585
|
+
for it in usable]
|
|
586
|
+
instructions = f"Determine the depth of discussion regarding the topic {topic!r} in the text."
|
|
587
|
+
results = classify(texts, SUBSTANTIVE_DISCUSSION_LABELS,
|
|
588
|
+
instructions=instructions,
|
|
589
|
+
criteria=SUBSTANTIVE_DISCUSSION_CRITERIA)
|
|
590
|
+
if results is None:
|
|
591
|
+
return None
|
|
592
|
+
out: dict[str, dict] = {}
|
|
593
|
+
for it, r in zip(usable, results):
|
|
594
|
+
if not r:
|
|
595
|
+
continue
|
|
596
|
+
label = str(r.get("label") or "")
|
|
597
|
+
conf = r.get("confidence")
|
|
598
|
+
conf_f = float(conf) if isinstance(conf, (int, float)) else 0.0
|
|
599
|
+
out[str(it["url"])] = {
|
|
600
|
+
"label": label,
|
|
601
|
+
"confidence": conf_f,
|
|
602
|
+
"is_substantive": (label == "substantive in-depth discussion" and conf_f >= SUPPORT_THRESHOLD),
|
|
603
|
+
"is_passing_mention": (label == "passing mention or brief reference" and conf_f >= SUPPORT_THRESHOLD),
|
|
390
604
|
}
|
|
391
605
|
return out or None
|
|
606
|
+
|
package/scripts/settings_page.py
CHANGED
|
@@ -50,6 +50,23 @@ _KNOWN_SWITCHES = [
|
|
|
50
50
|
("ARGO_FETCH_DEADLINE_S", "单次 fetch 总耗时上限(秒,0 关闭)"),
|
|
51
51
|
]
|
|
52
52
|
|
|
53
|
+
# 核心全局与管线服务凭据(非单个引擎独占)
|
|
54
|
+
_GLOBAL_SERVICES_KEYS = [
|
|
55
|
+
("jev", "TypeSafe JEV 语义核验 (一手源加权/反驳预警)", ["ARGO_JEV_API_KEY", "TYPESAFE_API_KEY"]),
|
|
56
|
+
("semantic_scholar", "Semantic Scholar 学术论文增强", ["SEMANTIC_SCHOLAR_API_KEY"]),
|
|
57
|
+
("twitter_session", "X / Twitter 会话鉴权", ["TWITTER_AUTH_TOKEN", "TWITTER_CT0"]),
|
|
58
|
+
("network_proxy", "出站网络代理通道", ["ARGO_PROXY", "HTTPS_PROXY"]),
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
# 可选增强引擎凭据(免 Key 可跑,配置后解除限频或解锁高级通道)
|
|
62
|
+
_OPTIONAL_BOOST_KEYS = [
|
|
63
|
+
("github", "GitHub 限频提升 (可选)", ["GITHUB_TOKEN", "ARGO_GITHUB_TOKEN"]),
|
|
64
|
+
("exa", "Exa 语义搜索增强 (可选)", ["EXA_API_KEY", "ARGO_EXA_API_KEY"]),
|
|
65
|
+
("firecrawl", "Firecrawl 深度清洗 (可选)", ["FIRECRAWL_API_KEY", "ARGO_FIRECRAWL_API_KEY"]),
|
|
66
|
+
("anysearch", "AnySearch 搜索通道 (可选)", ["ANYSEARCH_API_KEY", "ARGO_ANYSEARCH_API_KEY"]),
|
|
67
|
+
("pixiv", "Pixiv App OAuth (可选)", ["ARGO_PIXIV_REFRESH_TOKEN"]),
|
|
68
|
+
]
|
|
69
|
+
|
|
53
70
|
# MCP / CLI 接入示例(片段不含密钥;密钥由 mcp_launch.sh 启动时注入)
|
|
54
71
|
_CLI_EXAMPLES = [
|
|
55
72
|
("搜索", 'argo search "查询词" --json'),
|
|
@@ -109,15 +126,29 @@ def collect() -> dict[str, Any]:
|
|
|
109
126
|
except Exception:
|
|
110
127
|
names = []
|
|
111
128
|
|
|
112
|
-
#
|
|
113
|
-
# 「装了 13 个引擎全 skipped」的痛点位;无密钥要求的引擎不上表。
|
|
114
|
-
# 判定与 runtime 同源:缺失与否以 missing_env_for(候选链)为准,
|
|
115
|
-
# 掩码值以 get_env 为准——显示层绝不自建第二套口径(#41/#42 的教训)。
|
|
129
|
+
# 密钥状态收集:覆盖全局核心服务、商业数据引擎、可选增强源
|
|
116
130
|
try:
|
|
117
131
|
from engines import get_engine_spec
|
|
118
132
|
from engine_env import (required_env_for, missing_env_for, get_env,
|
|
119
133
|
PLACEHOLDER_ALIASES)
|
|
120
134
|
|
|
135
|
+
# 1. 核心全局与管线服务
|
|
136
|
+
for s_id, s_label, s_vars in _GLOBAL_SERVICES_KEYS:
|
|
137
|
+
env_items = []
|
|
138
|
+
for var in s_vars:
|
|
139
|
+
val = get_env(var)
|
|
140
|
+
env_items.append({
|
|
141
|
+
"name": var,
|
|
142
|
+
"status": env_store.mask(val) if val else "缺失",
|
|
143
|
+
})
|
|
144
|
+
data["key_rows"].append({
|
|
145
|
+
"engine": s_id,
|
|
146
|
+
"label": s_label,
|
|
147
|
+
"kind": "service",
|
|
148
|
+
"envs": env_items,
|
|
149
|
+
})
|
|
150
|
+
|
|
151
|
+
# 2. 商业与声明 required_env 的引擎
|
|
121
152
|
for name in names:
|
|
122
153
|
spec = get_engine_spec(name) or {}
|
|
123
154
|
try:
|
|
@@ -132,6 +163,8 @@ def collect() -> dict[str, Any]:
|
|
|
132
163
|
missing = set(reqs)
|
|
133
164
|
data["key_rows"].append({
|
|
134
165
|
"engine": name,
|
|
166
|
+
"label": spec.get("label") or name,
|
|
167
|
+
"kind": "engine",
|
|
135
168
|
"envs": [{"name": r,
|
|
136
169
|
"status": (env_store.mask(
|
|
137
170
|
get_env(PLACEHOLDER_ALIASES.get(r) or _runtime_candidates(r))
|
|
@@ -139,6 +172,22 @@ def collect() -> dict[str, Any]:
|
|
|
139
172
|
if r not in missing else "缺失")}
|
|
140
173
|
for r in reqs],
|
|
141
174
|
})
|
|
175
|
+
|
|
176
|
+
# 3. 可选增强源
|
|
177
|
+
for o_id, o_label, o_vars in _OPTIONAL_BOOST_KEYS:
|
|
178
|
+
env_items = []
|
|
179
|
+
for var in o_vars:
|
|
180
|
+
val = get_env(var)
|
|
181
|
+
env_items.append({
|
|
182
|
+
"name": var,
|
|
183
|
+
"status": env_store.mask(val) if val else "未配置(可选)",
|
|
184
|
+
})
|
|
185
|
+
data["key_rows"].append({
|
|
186
|
+
"engine": o_id,
|
|
187
|
+
"label": o_label,
|
|
188
|
+
"kind": "optional",
|
|
189
|
+
"envs": env_items,
|
|
190
|
+
})
|
|
142
191
|
except Exception:
|
|
143
192
|
pass
|
|
144
193
|
|
|
@@ -369,12 +418,35 @@ def _run_list() -> int:
|
|
|
369
418
|
env_in_use = (data.get("paths") or {}).get("env_file_in_use")
|
|
370
419
|
if env_in_use:
|
|
371
420
|
print(f"密钥文件:{env_in_use}")
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
421
|
+
|
|
422
|
+
services = [r for r in data.get("key_rows", []) if r.get("kind") == "service"]
|
|
423
|
+
engines = [r for r in data.get("key_rows", []) if r.get("kind") == "engine"]
|
|
424
|
+
optionals = [r for r in data.get("key_rows", []) if r.get("kind") == "optional"]
|
|
425
|
+
|
|
426
|
+
if services:
|
|
427
|
+
print("\n[核心与管线服务凭据]")
|
|
428
|
+
for r in services:
|
|
429
|
+
envs = "、".join(f"{v['name']} {v['status']}" for v in r["envs"])
|
|
430
|
+
desc = f" ({r['label']})" if r.get("label") else ""
|
|
431
|
+
print(f" {r['engine']}{desc}: {envs}")
|
|
432
|
+
|
|
433
|
+
if engines:
|
|
434
|
+
print("\n[商业搜索与数据源密钥]")
|
|
435
|
+
for r in engines:
|
|
436
|
+
envs = "、".join(f"{v['name']} {v['status']}" for v in r["envs"])
|
|
437
|
+
print(f" {r['engine']}: {envs}")
|
|
438
|
+
|
|
439
|
+
if optionals:
|
|
440
|
+
print("\n[可选增强源凭据 (免 Key 可用,配置后提权)]")
|
|
441
|
+
for r in optionals:
|
|
442
|
+
envs = "、".join(f"{v['name']} {v['status']}" for v in r["envs"])
|
|
443
|
+
desc = f" ({r['label']})" if r.get("label") else ""
|
|
444
|
+
print(f" {r['engine']}{desc}: {envs}")
|
|
445
|
+
|
|
446
|
+
print("\n[常用功能开关]")
|
|
375
447
|
for s in data.get("switches", []):
|
|
376
448
|
print(f" [{s['name']}] {s['value']} — {s['desc']}")
|
|
377
|
-
print("修改:echo <值> | argo settings set <变量名>;"
|
|
449
|
+
print("\n修改:echo <值> | argo settings set <变量名>;"
|
|
378
450
|
"清除:argo settings unset <变量名>。")
|
|
379
451
|
return 0
|
|
380
452
|
|