argo-search 2.17.0 → 2.18.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.
- package/AGENTS.md +3 -3
- package/README.es.md +10 -5
- package/README.ja.md +10 -5
- package/README.ko.md +10 -5
- package/README.md +11 -6
- package/README.zh.md +11 -6
- package/SKILL.md +12 -11
- package/assets/readme/counts.json +1 -1
- package/assets/readme/hero.svg +3 -3
- package/backends/domain_profiles.json +6 -0
- package/backends/engine_registry.yaml +12 -0
- package/backends/quota_profiles.json +10 -0
- package/bin/argo +78 -12
- package/docs/CHANGELOG.md +19 -1
- package/docs/COMMIT_STANDARD.md +2 -2
- package/docs/ENGINE_CATALOG.md +7 -6
- package/docs/RELEASE_NOTES_v2.17.0.md +4 -2
- package/docs/RELEASE_NOTES_v2.18.0.md +87 -0
- package/docs/RELEASING.md +1 -1
- package/engines/specs/twitter_cli.yaml +17 -0
- package/engines/specs/twitter_syndication.yaml +2 -3
- package/package.json +2 -1
- package/packages/dsh-plugin/dsh/native-tools.mjs +10 -0
- package/packages/dsh-plugin/dsh/workbench-io.js +34 -15
- package/packages/dsh-plugin/dsh/workbench-search.js +66 -6
- package/packages/dsh-plugin/dsh/workbench.js +43 -0
- package/packages/dsh-plugin/package.json +1 -1
- package/packages/dsh-plugin/test/workbench-concurrency.test.js +9 -11
- package/packages/dsh-plugin/test/workbench.test.js +85 -0
- package/scripts/affected_tests.py +324 -0
- package/scripts/badcase_ledger.py +93 -2
- package/scripts/check_commit_report.py +13 -9
- package/scripts/cli_io.py +8 -3
- package/scripts/engine_families.py +1 -0
- package/scripts/engine_states.py +4 -4
- package/scripts/engines.py +2 -0
- package/scripts/engines_base.py +12 -28
- package/scripts/engines_builders_intl.py +20 -94
- package/scripts/engines_twitter_cli.py +182 -0
- package/scripts/fetch_cli_output.py +75 -0
- package/scripts/fetch_dispatch.py +248 -0
- package/scripts/fetch_quality.py +11 -0
- package/scripts/fetch_v3.py +48 -114
- package/scripts/intent_router.py +224 -0
- package/scripts/mcp_compact.py +3 -0
- package/scripts/mcp_handlers.py +24 -4
- package/scripts/mcp_tools.py +2 -0
- package/scripts/mcp_transport.py +1 -1
- package/scripts/mcp_warm.py +15 -11
- package/scripts/output_transparency.py +10 -0
- package/scripts/pre-commit +9 -1
- package/scripts/release_check.py +1 -2
- package/scripts/research_notes.py +52 -5
- package/scripts/retry_policy.py +17 -3
- package/scripts/route_combo.py +8 -3
- package/scripts/search.py +29 -29
- package/scripts/search_cli.py +104 -8
- package/scripts/search_output.py +4 -1
- package/scripts/social_research.py +8 -6
- package/scripts/time_utils.py +28 -0
- package/scripts/twitter_single_read.py +107 -0
- package/scripts/x_keyword_route.py +138 -0
- package/scripts/x_search.py +24 -33
- package/scripts/zhihu_answer_body.py +96 -0
- package/scripts/zhihu_answer_fetch.py +66 -0
- package/scripts/zhihu_answer_lookup.py +138 -0
- package/sub-skills/local-seek/SKILL.md +3 -1
- package/sub-skills/local-seek/scripts/seek.py +80 -109
- package/sub-skills/local-seek/scripts/seek_git.py +65 -0
- package/sub-skills/local-seek/scripts/seek_inspect.py +242 -0
package/AGENTS.md
CHANGED
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
| 改抓取链 | `references/usage.md` 的降级链节 | `pytest tests/test_fetch_*.py` |
|
|
21
21
|
| 改发版或依赖 | `docs/RELEASING.md` + `pyproject.toml`(真源) | `pytest tests/test_release_*.py tests/test_dependency_source_gate.py` |
|
|
22
22
|
| 写提交 | `docs/COMMIT_STANDARD.md` | `scripts/check_commit_report.py --last` |
|
|
23
|
-
| 查看或维护系统台账/棘轮 | `docs/LEDGERS.md` + `scripts/badcase_ledger.py` | `python3 scripts/badcase_ledger.py stats` |
|
|
24
|
-
| 提交前自检 | — | `bash scripts/pre-commit`(
|
|
23
|
+
| 查看或维护系统台账/棘轮 | `docs/LEDGERS.md` + `scripts/badcase_ledger.py` | `python3 scripts/badcase_ledger.py stats` / `propose` |
|
|
24
|
+
| 提交前自检 | — | `bash scripts/pre-commit`(83 个 pytest 文件 4 片并行 + L2 变更感知增量选测 `scripts/affected_tests.py` + `ego-search` 子技能测试 + 全量 DSH 插件 Node 测试,~11s;清单真源 `tests/gate_manifest.txt`,与 CI 同一份) |
|
|
25
25
|
| 全量回归 | — | `python3 -m pytest tests/ -q`(约 5 分钟,不放进 hook) |
|
|
26
26
|
| 新增或改门禁测试 | `tests/gate_manifest.txt`(唯一真源)+ `tests/test_gate_manifest.py` | 新文件必须进清单(本地与 CI 同一份,禁 `# skip`)→ `bash scripts/pre-commit`;未登记总数受 `UNREGISTERED_TEST_BASELINE` 棘轮约束,只减不增 |
|
|
27
|
-
| 判断「某道门该不该本地跑」 | `scripts/pre-commit` 分片并行节 | 慢不是豁免理由——
|
|
27
|
+
| 判断「某道门该不该本地跑」 | `scripts/pre-commit` 分片并行节 | 慢不是豁免理由——83 条 4 片并行实测 ~8s;「本地绿全量红」的根因是拦截点外推,不是门太慢 |
|
|
28
28
|
|
|
29
29
|
## 不可回退的决定
|
|
30
30
|
|
package/README.es.md
CHANGED
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
<a href="https://skills.sh/taxueseek/argo"><img alt="skills.sh" src="https://img.shields.io/badge/skills.sh-argo-black"></a>
|
|
17
17
|
<img alt="license" src="https://img.shields.io/badge/license-Apache_2.0-blue">
|
|
18
18
|
<img alt="python" src="https://img.shields.io/badge/python-3.9+-green">
|
|
19
|
-
<img alt="version" src="https://img.shields.io/badge/version-2.
|
|
19
|
+
<img alt="version" src="https://img.shields.io/badge/version-2.18.0-informational">
|
|
20
20
|
<img alt="engines" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Ftaxueseek%2Fargo%2Fmain%2Fassets%2Freadme%2Fcounts.json">
|
|
21
21
|
<img alt="mcp" src="https://img.shields.io/badge/MCP-19%20tools-purple">
|
|
22
22
|
</p>
|
|
23
23
|
|
|
24
|
-
> **Serie de skills taxueseek** (búsqueda e investigación profunda): [plainspoken-writing](https://github.com/taxueseek/plainspoken-writing)
|
|
24
|
+
> **Serie de skills taxueseek** (búsqueda e investigación profunda): [plainspoken-writing](https://github.com/taxueseek/plainspoken-writing) 77★ · [session-digger](https://github.com/taxueseek/session-digger) 34★ · [taxue-invest](https://github.com/taxueseek/taxue-invest) 30★ · [taxueskills](https://github.com/taxueseek/taxueskills) 25★ · [taxue-creative-style](https://github.com/taxueseek/taxue-creative-style) 19★ · [ime-lexicon](https://github.com/taxueseek/ime-lexicon) 16★ | **Plugins DSH**: [plugin-fast-adapt](https://github.com/taxueseek/plugin-fast-adapt) 48★ · [dsh-files](https://github.com/taxueseek/dsh-files) 44★ · [taxue-dsh-artisan](https://github.com/taxueseek/taxue-dsh-artisan) 3★ · [dsh-plugin-guard](https://github.com/taxueseek/dsh-plugin-guard) 2★
|
|
25
25
|
|
|
26
26
|
**Argo** es una herramienta de código abierto para búsqueda multi-motor, extracción web y verificación de evidencia diseñada para agentes de IA. Funciona **sin necesidad de claves API de pago** mediante respaldo local gratuito, enruta consultas en **18 idiomas** y verifica hechos directamente sobre el texto completo de las fuentes.
|
|
27
27
|
|
|
@@ -77,6 +77,7 @@ argo search "arquitectura de agentes RAG 2026" --verify 2 --json --fields agent
|
|
|
77
77
|
|
|
78
78
|
| Versión | Novedades |
|
|
79
79
|
| :--- | :--- |
|
|
80
|
+
| **v2.18.0** | Interruptor `--agent` y enrutamiento `--intent`, `fetch_dispatch` unificado, `local-seek` modular (`--symbol-body`) conectado a Workbench, y 4 PRs comunitarios de `@OMSociety` (respuesta exacta de Zhihu, búsqueda verificada en X con fallback, metadatos de imagen y fix de bloqueo DSH; 314 fuentes) |
|
|
80
81
|
| **v2.17.0** | Pushdown nativo de operadores de consulta, autenticación de 4 estados y control de ritmo en `ego-search`, anclaje determinista de evidencia, tendencias diarias en Workbench y barrera TCP loopback (313 fuentes) |
|
|
81
82
|
| **v2.16.0** | Argo Workbench UI en DSH, pipeline CLI de 4 etapas, `linux.do` + canal gratuito Keenable (312 fuentes), fallback sin clave en Jina, endurecimiento de concurrencia y caché |
|
|
82
83
|
| **v2.15.0** | Cadena completa de Zhihu, transmisión de autoridad en evidencia, fallback semántico sin clave, conector MCP genérico (`type: mcp`), evaluación de rutas desde cero, 311 fuentes |
|
|
@@ -85,11 +86,15 @@ argo search "arquitectura de agentes RAG 2026" --verify 2 --json --fields agent
|
|
|
85
86
|
| **v2.13.0** | Consolidación documental, máquina de 22 estados SSOT, gracia de despacho |
|
|
86
87
|
|
|
87
88
|
<details>
|
|
88
|
-
<summary>Resumen de la versión v2.
|
|
89
|
+
<summary>Resumen de la versión v2.18.0</summary>
|
|
89
90
|
|
|
90
|
-
### Capacidades actuales (v2.
|
|
91
|
+
### Capacidades actuales (v2.18.0)
|
|
91
92
|
|
|
92
|
-
v2.
|
|
93
|
+
v2.18.0 unifica la entrada orientada a agentes, el despacho especializado de URL y las mejoras comunitarias de búsqueda social: añade `--agent` y enrutamiento `--intent` (`intent_router.py`), despacho unificado (`fetch_dispatch.py` para WeChat, X, arXiv y PDF), `local-seek` modular (`--outline` con rangos y `--symbol-body`) conectado directamente a Argo Workbench (`local-inspect` y `note-study`), selección incremental de pruebas L2 (`affected_tests.py`) y 4 PRs de `@OMSociety` (#52/#53/#54/#55: lectura exacta de respuestas de Zhihu con `--answer-offset`, búsqueda verificada en X con fallback FxTwitter (313→314), retención de metadatos de imagen en `--fields agent` e inicialización del directorio de bloqueo en DSH) conservando la autoría original.
|
|
94
|
+
|
|
95
|
+
### v2.18.0: Entrada Agent + `fetch_dispatch` Unificado + PRs Comunitarios (#52–#55)
|
|
96
|
+
|
|
97
|
+
Consulta [docs/RELEASE_NOTES_v2.18.0.md](docs/RELEASE_NOTES_v2.18.0.md) para más detalles.
|
|
93
98
|
|
|
94
99
|
### v2.17.0: Pushdown Nativo + Autenticación y Evidencia + Tendencias Diarias en Workbench
|
|
95
100
|
|
package/README.ja.md
CHANGED
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
<a href="https://skills.sh/taxueseek/argo"><img alt="skills.sh" src="https://img.shields.io/badge/skills.sh-argo-black"></a>
|
|
17
17
|
<img alt="license" src="https://img.shields.io/badge/license-Apache_2.0-blue">
|
|
18
18
|
<img alt="python" src="https://img.shields.io/badge/python-3.9+-green">
|
|
19
|
-
<img alt="version" src="https://img.shields.io/badge/version-2.
|
|
19
|
+
<img alt="version" src="https://img.shields.io/badge/version-2.18.0-informational">
|
|
20
20
|
<img alt="engines" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Ftaxueseek%2Fargo%2Fmain%2Fassets%2Freadme%2Fcounts.json">
|
|
21
21
|
<img alt="mcp" src="https://img.shields.io/badge/MCP-19%20tools-purple">
|
|
22
22
|
</p>
|
|
23
23
|
|
|
24
|
-
> **taxueseek スキルシリーズ**(検索・ディープリサーチ担当):[plainspoken-writing](https://github.com/taxueseek/plainspoken-writing)
|
|
24
|
+
> **taxueseek スキルシリーズ**(検索・ディープリサーチ担当):[plainspoken-writing](https://github.com/taxueseek/plainspoken-writing) 77★ · [session-digger](https://github.com/taxueseek/session-digger) 34★ · [taxue-invest](https://github.com/taxueseek/taxue-invest) 30★ · [taxueskills](https://github.com/taxueseek/taxueskills) 25★ · [taxue-creative-style](https://github.com/taxueseek/taxue-creative-style) 19★ · [ime-lexicon](https://github.com/taxueseek/ime-lexicon) 16★ | **DSH プラグイン**:[plugin-fast-adapt](https://github.com/taxueseek/plugin-fast-adapt) 48★ · [dsh-files](https://github.com/taxueseek/dsh-files) 44★ · [taxue-dsh-artisan](https://github.com/taxueseek/taxue-dsh-artisan) 3★ · [dsh-plugin-guard](https://github.com/taxueseek/dsh-plugin-guard) 2★
|
|
25
25
|
|
|
26
26
|
**Argo(アルゴ)** は AI エージェント向けに設計されたオープンソースのマルチエンジン検索・Web 取得・エビデンス検証ツールです。**クレジットカードや有料 API キー不要**で即座に動作し、18 言語(日本語・英語・中国語・韓国語など)の一次ソースへ自動ルーティングします。
|
|
27
27
|
|
|
@@ -77,6 +77,7 @@ argo search "Rust async tokio エラーハンドリング" --verify 2 --json --f
|
|
|
77
77
|
|
|
78
78
|
| バージョン | 主な変更点 |
|
|
79
79
|
| :--- | :--- |
|
|
80
|
+
| **v2.18.0** | `--agent`・`--intent` ルーティング、統一 `fetch_dispatch`、`local-seek` シンボル精読と Workbench 連携、`@OMSociety` コミュニティ PR 4件統合(Zhihu 指定回答取得・X キーワード検証とフォールバック・画像メタデータ保持・ロック初期化修正、314ソース) |
|
|
80
81
|
| **v2.17.0** | クエリ演算子ネイティブプッシュダウン、4状態認証と `ego-search` ペーシング制御、決定論的根拠アンカー、Workbench デイリーホットトピックと TCP ループバック保護(313ソース) |
|
|
81
82
|
| **v2.16.0** | DSH Argo Workbench UI、CLI 4段階検証パイプライン、`linux.do` + Keenable 無料チャネル(312ソース)、Jina キー不要フォールバック、並行・キャッシュ制御強化 |
|
|
82
83
|
| **v2.15.0** | Zhihu フルチェーン、証拠レイヤー権威透過、キー不要セマンティックフォールバック、MCP 汎用コネクタ(`type: mcp`)、ルーティング ゼロベース評価、311 ソース |
|
|
@@ -85,11 +86,15 @@ argo search "Rust async tokio エラーハンドリング" --verify 2 --json --f
|
|
|
85
86
|
| **v2.13.0** | ドキュメント統合、22 ステートマシン SSOT、ディスパッチ待機改善 |
|
|
86
87
|
|
|
87
88
|
<details>
|
|
88
|
-
<summary>v2.
|
|
89
|
+
<summary>v2.18.0 リリース概要・機能サマリー</summary>
|
|
89
90
|
|
|
90
|
-
### 現時点の能力概要(v2.
|
|
91
|
+
### 現時点の能力概要(v2.18.0)
|
|
91
92
|
|
|
92
|
-
v2.
|
|
93
|
+
v2.18.0 では Agent 向けエントリーポイント・専用 URL 取得・コミュニティ由来の SNS 検索を統合強化しました。`--agent` と `--intent` ルーティング(`intent_router.py`)、WeChat・X・arXiv・PDF を自動振り分けする `fetch_dispatch.py`、`local-seek` の `--outline` 範囲表示と `--symbol-body` 直読および Workbench 直結(`local-inspect`・`note-study`)、L2 変更検知テスト選択(`affected_tests.py`)を追加。さらに `@OMSociety` 氏による 4 件のコミュニティ PR(#52/#53/#54/#55:Zhihu 指定回答の本文・ページング要約取得、X キーワード検索検証と単体ポスト補完(313→314)、agent 出力での画像メタデータ保持、DSH 状態ロックディレクトリ初期化修正)を原作者署名付きで取り込みました。
|
|
94
|
+
|
|
95
|
+
### v2.18.0:Agent エントリー統一 + `fetch_dispatch` + コミュニティ PR(#52–#55)
|
|
96
|
+
|
|
97
|
+
詳細は [docs/RELEASE_NOTES_v2.18.0.md](docs/RELEASE_NOTES_v2.18.0.md) をご参照ください。
|
|
93
98
|
|
|
94
99
|
### v2.17.0:クエリネイティブ下押し + 認証・根拠強化 + Workbench デイリーホットトピック
|
|
95
100
|
|
package/README.ko.md
CHANGED
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
<a href="https://skills.sh/taxueseek/argo"><img alt="skills.sh" src="https://img.shields.io/badge/skills.sh-argo-black"></a>
|
|
17
17
|
<img alt="license" src="https://img.shields.io/badge/license-Apache_2.0-blue">
|
|
18
18
|
<img alt="python" src="https://img.shields.io/badge/python-3.9+-green">
|
|
19
|
-
<img alt="version" src="https://img.shields.io/badge/version-2.
|
|
19
|
+
<img alt="version" src="https://img.shields.io/badge/version-2.18.0-informational">
|
|
20
20
|
<img alt="engines" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Ftaxueseek%2Fargo%2Fmain%2Fassets%2Freadme%2Fcounts.json">
|
|
21
21
|
<img alt="mcp" src="https://img.shields.io/badge/MCP-19%20tools-purple">
|
|
22
22
|
</p>
|
|
23
23
|
|
|
24
|
-
> **taxueseek 스킬 시리즈** (검색·딥리서치): [plainspoken-writing](https://github.com/taxueseek/plainspoken-writing)
|
|
24
|
+
> **taxueseek 스킬 시리즈** (검색·딥리서치): [plainspoken-writing](https://github.com/taxueseek/plainspoken-writing) 77★ · [session-digger](https://github.com/taxueseek/session-digger) 34★ · [taxue-invest](https://github.com/taxueseek/taxue-invest) 30★ · [taxueskills](https://github.com/taxueseek/taxueskills) 25★ · [taxue-creative-style](https://github.com/taxueseek/taxue-creative-style) 19★ · [ime-lexicon](https://github.com/taxueseek/ime-lexicon) 16★ | **DSH 플러그인**: [plugin-fast-adapt](https://github.com/taxueseek/plugin-fast-adapt) 48★ · [dsh-files](https://github.com/taxueseek/dsh-files) 44★ · [taxue-dsh-artisan](https://github.com/taxueseek/taxue-dsh-artisan) 3★ · [dsh-plugin-guard](https://github.com/taxueseek/dsh-plugin-guard) 2★
|
|
25
25
|
|
|
26
26
|
**Argo(아르고)**는 AI 에이전트를 위한 오픈소스 멀티 엔진 검색·웹 수집·증거 검증 도구입니다. **유료 API 키 없이도 무료 로컬 폴백으로 즉시 실행**되며, 18개 언어와 도메인(학술, 코드, 금융, 뉴스)에 맞춰 자동 라우팅하고 원문 기반 신뢰도 검증을 제공합니다.
|
|
27
27
|
|
|
@@ -77,6 +77,7 @@ argo search "LLM 에이전트 RAG 최신 아키텍처" --verify 2 --json --field
|
|
|
77
77
|
|
|
78
78
|
| 버전 | 주요 업데이트 |
|
|
79
79
|
| :--- | :--- |
|
|
80
|
+
| **v2.18.0** | `--agent` 및 `--intent` 라우팅, 통합 `fetch_dispatch`, 모듈화된 `local-seek` `--symbol-body` 및 Workbench 연동, `@OMSociety` 커뮤니티 PR 4건 통합(Zhihu 지정 답변 수집, X 키워드 검증 및 단건 폴백, 이미지 메타데이터 유지, DSH 락 초기화 수정, 314개 소스) |
|
|
80
81
|
| **v2.17.0** | 쿼리 연산자 네이티브 푸시다운, 4상태 브라우저 인증 및 `ego-search` 프로세스 간 페이싱, 결정론적 근거 앵커링, Workbench 일일 핫토픽 및 TCP 루프백 가드(313개 소스) |
|
|
81
82
|
| **v2.16.0** | DSH Argo Workbench UI, CLI 4단계 검증 파이프라인, `linux.do` + Keenable 무료 채널(312개 소스), Jina 키리스 폴백, 동시성·캐시 상태 머신 강화 |
|
|
82
83
|
| **v2.15.0** | Zhihu 전체 체인, 증거 레이어 권위 전달, 키 없는 시맨틱 폴백, MCP 범용 커넥터(`type: mcp`), 라우팅 제로베이스 평가, 311개 소스 |
|
|
@@ -85,11 +86,15 @@ argo search "LLM 에이전트 RAG 최신 아키텍처" --verify 2 --json --field
|
|
|
85
86
|
| **v2.13.0** | 문서 통합, 22개 상태 머신 SSOT, 디스패치 테일 유예 |
|
|
86
87
|
|
|
87
88
|
<details>
|
|
88
|
-
<summary>v2.
|
|
89
|
+
<summary>v2.18.0 릴리스 요약 및 기능 개요</summary>
|
|
89
90
|
|
|
90
|
-
### 현재 기능 개요 (v2.
|
|
91
|
+
### 현재 기능 개요 (v2.18.0)
|
|
91
92
|
|
|
92
|
-
v2.
|
|
93
|
+
v2.18.0에서는 Agent 우선 진입점, 전용 URL 수집 및 커뮤니티 소셜 검색 기능을 통합 강화했습니다. `--agent` 스위치와 `--intent` 라우팅(`intent_router.py`), WeChat·X·arXiv·PDF 통합 분기(`fetch_dispatch.py`), `local-seek`의 `--outline` 범위 및 `--symbol-body` 심볼 원문 직독과 Workbench 직결(`local-inspect`·`note-study`), L2 변경 감지 테스트 선택(`affected_tests.py`)을 도입했습니다. 또한 `@OMSociety`의 커뮤니티 PR 4건(#52/#53/#54/#55: Zhihu 지정 답변 본문 및 페이징 요약 수집, X 키워드 검증 라우팅과 단건 FxTwitter 폴백(313→314), agent 출력 이미지 메타데이터 유지, DSH 상태 락 디렉터리 초기화 수정)을 원작자 서명과 함께 반영했습니다.
|
|
94
|
+
|
|
95
|
+
### v2.18.0: Agent 진입점 + 통합 `fetch_dispatch` + 커뮤니티 PR (#52–#55)
|
|
96
|
+
|
|
97
|
+
자세한 내용은 [docs/RELEASE_NOTES_v2.18.0.md](docs/RELEASE_NOTES_v2.18.0.md)를 참고하세요.
|
|
93
98
|
|
|
94
99
|
### v2.17.0: 쿼리 네이티브 푸시다운 + 인증·근거 강화 + Workbench 일일 핫토픽
|
|
95
100
|
|
package/README.md
CHANGED
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
<a href="https://skills.sh/taxueseek/argo"><img alt="skills.sh" src="https://img.shields.io/badge/skills.sh-argo-black"></a>
|
|
27
27
|
<img alt="license" src="https://img.shields.io/badge/license-Apache_2.0-blue">
|
|
28
28
|
<img alt="python" src="https://img.shields.io/badge/python-3.9+-green">
|
|
29
|
-
<img alt="version" src="https://img.shields.io/badge/version-2.
|
|
29
|
+
<img alt="version" src="https://img.shields.io/badge/version-2.18.0-informational">
|
|
30
30
|
<img alt="engines" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Ftaxueseek%2Fargo%2Fmain%2Fassets%2Freadme%2Fcounts.json">
|
|
31
31
|
<img alt="mcp" src="https://img.shields.io/badge/MCP-19%20tools-purple">
|
|
32
32
|
</p>
|
|
33
33
|
|
|
34
|
-
> **Part of the taxueseek skill series** (search & deep research): [plainspoken-writing](https://github.com/taxueseek/plainspoken-writing)
|
|
34
|
+
> **Part of the taxueseek skill series** (search & deep research): [plainspoken-writing](https://github.com/taxueseek/plainspoken-writing) 77★ (AI-tone removal) · [session-digger](https://github.com/taxueseek/session-digger) 34★ (cross-environment session mining) · [taxue-invest](https://github.com/taxueseek/taxue-invest) 30★ (investment analysis) · [taxueskills](https://github.com/taxueseek/taxueskills) 25★ (decision system) · [taxue-creative-style](https://github.com/taxueseek/taxue-creative-style) 19★ (creative illustration styles) · [ime-lexicon](https://github.com/taxueseek/ime-lexicon) 16★ (IME lexicon toolkit).
|
|
35
35
|
>
|
|
36
|
-
> **DeepSeek Harness (DSH) plugin ecosystem**: [
|
|
36
|
+
> **DeepSeek Harness (DSH) plugin ecosystem**: [plugin-fast-adapt](https://github.com/taxueseek/plugin-fast-adapt) 48★ (plugin upgrade adapter) · [dsh-files](https://github.com/taxueseek/dsh-files) 44★ (folder upload + document parsing) · [taxue-dsh-artisan](https://github.com/taxueseek/taxue-dsh-artisan) 3★ (visual creation) · [dsh-plugin-guard](https://github.com/taxueseek/dsh-plugin-guard) 2★ (pre-install audit).
|
|
37
37
|
|
|
38
38
|
**Argo** is an open-source metasearch, web-fetch, and evidence-verification engine that lives inside your AI agent. It routes queries across **hundreds of sources** in **18 languages** (web, academic, finance, code, local files, and leading **AI search engines**), falls back to **keyless & local engines** when API keys are absent, and verifies facts from full page text instead of trusting search snippets.
|
|
39
39
|
|
|
@@ -209,6 +209,7 @@ The built-in **Argo Workbench** provides a browser UI with 5 modes (Web Search,
|
|
|
209
209
|
|
|
210
210
|
| Version | Highlights |
|
|
211
211
|
| :--- | :--- |
|
|
212
|
+
| **v2.18.0** | `--agent` switch & `--intent` routing, unified `fetch_dispatch`, modular `local-seek` `--symbol-body`, plus 4 community PRs from `@OMSociety` (exact Zhihu answer fetch, verified X search & fallback, agent image metadata, DSH lock fix; 314 sources) |
|
|
212
213
|
| **v2.17.0** | Native query operator pushdown, 4-state browser auth & `ego-search` OS-locked pacing, deterministic evidence grounding, Workbench daily hotspots & TCP loopback fence (313 sources) |
|
|
213
214
|
| **v2.16.0** | DSH Argo Workbench UI, direct 4-stage CLI verification, `linux.do` + Keenable free channel (312 sources), Jina keyless fallback, concurrency & cache hardening |
|
|
214
215
|
| **v2.15.0** | Zhihu full chain, evidence-layer authority passthrough, keyless 3-tier semantic fallback, MCP generic connector (`type: mcp`), route zero-based domain scoring, 311 sources |
|
|
@@ -217,11 +218,15 @@ The built-in **Argo Workbench** provides a browser UI with 5 modes (Web Search,
|
|
|
217
218
|
| **v2.13.0** | Documentation consolidation, 22-state-machine SSOT, dispatch tail grace |
|
|
218
219
|
|
|
219
220
|
<details>
|
|
220
|
-
<summary>v2.
|
|
221
|
+
<summary>v2.18.0 Release Summary & Capability Snapshot</summary>
|
|
221
222
|
|
|
222
|
-
### Capabilities (v2.
|
|
223
|
+
### Capabilities (v2.18.0)
|
|
223
224
|
|
|
224
|
-
v2.
|
|
225
|
+
v2.18.0 unifies Agent-first entrypoints, specialized URL fetching, and community social-retrieval upgrades: adds `--agent` and `--intent` routing (`intent_router.py`), unified URL dispatch (`fetch_dispatch.py` for WeChat, X tweets, arXiv papers, and PDFs), modular `local-seek` (`--outline` spans and `--symbol-body` one-hop reads) wired directly into Argo Workbench (`/argo/api/local-inspect` and `/argo/api/note-study`), L2 change-aware test selection (`affected_tests.py`), and four community PRs from `@OMSociety` (#52/#53/#54/#55: exact Zhihu answer fetch with `--answer-offset`, verified X keyword routing & single-tweet FxTwitter fallback bringing total sources to 314, agent-tier image metadata retention, and DSH lock directory initialization).
|
|
226
|
+
|
|
227
|
+
### v2.18.0: Agent Entrypoints + Unified Fetch Dispatch + Community PRs (#52–#55)
|
|
228
|
+
|
|
229
|
+
See [docs/RELEASE_NOTES_v2.18.0.md](docs/RELEASE_NOTES_v2.18.0.md) and [docs/CHANGELOG.md](docs/CHANGELOG.md).
|
|
225
230
|
|
|
226
231
|
### v2.17.0: Native Query Pushdown + Auth & Evidence Hardening + Workbench Daily Hotspots
|
|
227
232
|
|
package/README.zh.md
CHANGED
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
<a href="https://skills.sh/taxueseek/argo"><img alt="skills.sh" src="https://img.shields.io/badge/skills.sh-argo-black"></a>
|
|
27
27
|
<img alt="license" src="https://img.shields.io/badge/license-Apache_2.0-blue">
|
|
28
28
|
<img alt="python" src="https://img.shields.io/badge/python-3.9+-green">
|
|
29
|
-
<img alt="version" src="https://img.shields.io/badge/version-2.
|
|
29
|
+
<img alt="version" src="https://img.shields.io/badge/version-2.18.0-informational">
|
|
30
30
|
<img alt="engines" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Ftaxueseek%2Fargo%2Fmain%2Fassets%2Freadme%2Fcounts.json">
|
|
31
31
|
<img alt="mcp" src="https://img.shields.io/badge/MCP-19%20tools-purple">
|
|
32
32
|
</p>
|
|
33
33
|
|
|
34
|
-
> **属于 taxueseek Skill 系列**(负责搜索与深度研究):[plainspoken-writing](https://github.com/taxueseek/plainspoken-writing)
|
|
34
|
+
> **属于 taxueseek Skill 系列**(负责搜索与深度研究):[plainspoken-writing](https://github.com/taxueseek/plainspoken-writing) 77★(专业消除 AI 味)· [session-digger](https://github.com/taxueseek/session-digger) 34★(跨环境会话历史挖掘)· [taxue-invest](https://github.com/taxueseek/taxue-invest) 30★(投资分析方法论)· [taxueskills](https://github.com/taxueseek/taxueskills) 25★(踏雪决策系统)· [taxue-creative-style](https://github.com/taxueseek/taxue-creative-style) 19★(创意插画风格库)· [ime-lexicon](https://github.com/taxueseek/ime-lexicon) 16★(豆包/微信输入法词库工具)。
|
|
35
35
|
>
|
|
36
|
-
> **同作者 DeepSeek Harness(DSH)插件生态**:[
|
|
36
|
+
> **同作者 DeepSeek Harness(DSH)插件生态**:[plugin-fast-adapt](https://github.com/taxueseek/plugin-fast-adapt) 48★(插件升级自适应)· [dsh-files](https://github.com/taxueseek/dsh-files) 44★(文件夹上传与文档解析)· [taxue-dsh-artisan](https://github.com/taxueseek/taxue-dsh-artisan) 3★(一体化视觉创作)· [dsh-plugin-guard](https://github.com/taxueseek/dsh-plugin-guard) 2★(插件安装前安全体检)。
|
|
37
37
|
|
|
38
38
|
**Argo(阿尔戈)** 是专为 AI Agent 打造的开源多引擎搜索、网页抓取与证据核验工具。它把「**免费与本地引擎兜底 + 主流 AI 搜索聚合 + 公众号/知乎/小红书垂直穿透 + 原文抓取与证据核验**」融进同一套 CLI / MCP / Skill 接口,覆盖 18 种语言与近百个业务域。
|
|
39
39
|
|
|
@@ -206,6 +206,7 @@ Argo 提供完整的 **DeepSeek Harness(DSH)** 插件(`@taxueseek/argo-dsh
|
|
|
206
206
|
|
|
207
207
|
| 版本 | 核心更新 |
|
|
208
208
|
| :--- | :--- |
|
|
209
|
+
| **v2.18.0** | `--agent` 与 `--intent` 路由、统一 `fetch_dispatch` 分发、`local-seek` 符号精读与工作台直连,合入 `@OMSociety` 社区 4 项 PR(知乎指定回答精确抓取、X 关键词核验与单帖补读、图片元数据保留、工作台锁目录修复;314 个源) |
|
|
209
210
|
| **v2.17.0** | 查询操作符原生下推、登录态四态防抖与 `ego-search` 跨进程节奏锁、确定性证据锚定、工作台每日热点与 TCP 回环围栏(313 个源) |
|
|
210
211
|
| **v2.16.0** | DSH 插件 Argo 搜索工作台、直调 CLI 四阶段查证管线、`linux.do` 与 Keenable 免费通道(312 个源)、Jina 无 Key 兜底、并发与缓存状态机收敛 |
|
|
211
212
|
| **v2.15.0** | 知乎全链、证据层权威透传、无 key 语义兜底、MCP 通用连接器(`type: mcp`)、路由零基域评分、311 个源 |
|
|
@@ -214,11 +215,15 @@ Argo 提供完整的 **DeepSeek Harness(DSH)** 插件(`@taxueseek/argo-dsh
|
|
|
214
215
|
| **v2.13.0** | 文档收口、22 台状态机单一真源、派发尾宽宽限 |
|
|
215
216
|
|
|
216
217
|
<details>
|
|
217
|
-
<summary>v2.
|
|
218
|
+
<summary>v2.18.0 版本摘要与当前能力</summary>
|
|
218
219
|
|
|
219
|
-
### 当前大致能力(v2.
|
|
220
|
+
### 当前大致能力(v2.18.0)
|
|
220
221
|
|
|
221
|
-
v2.
|
|
222
|
+
v2.18.0 完成 Agent 入口收口、统一 URL 分发与社区社媒检索增强:新增 `--agent` 单开关与 `--intent` 高层意图路由(`intent_router.py`)、统一专用抓取分发层(`fetch_dispatch.py` 覆盖微信、推文、arXiv 论文与 PDF)、`local-seek` 模块化精读(`--outline` 行跨度与 `--symbol-body` 符号直读)并直连 DSH 工作台(`local-inspect` 路径沙箱与 `note-study` 管道)、L2 变更感知增量选测(`affected_tests.py`);完整吸纳社区贡献者 `@OMSociety` 4 项 PR(#52/#53/#54/#55:知乎指定回答精确抓取与 `--answer-offset` 续查、X 关键词核验选路与单帖 FxTwitter 补读、agent 档图片元数据保留、工作台状态锁目录修复;源 313→314)。
|
|
223
|
+
|
|
224
|
+
### v2.18.0:Agent 入口与统一抓取分发 + 社区 4 项 PR(#52–#55)
|
|
225
|
+
|
|
226
|
+
详见 [docs/RELEASE_NOTES_v2.18.0.md](docs/RELEASE_NOTES_v2.18.0.md) 与 [docs/CHANGELOG.md](docs/CHANGELOG.md)。
|
|
222
227
|
|
|
223
228
|
### v2.17.0:查询原生下推 + 登录态与证据锚定 + 工作台每日热榜与门禁收口
|
|
224
229
|
|
package/SKILL.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: argo
|
|
3
3
|
description: Argo 阿尔戈 — 统一搜索、网页抓取与证据核验。当需要搜索/查一下/核实/抓取网页/爬取/深度研究/论文检索/新闻/舆情/公众号文章/招聘聚合时使用;支持影视/体育/金融/宏观/学术等垂直域与多语言查询。
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.18.0
|
|
5
5
|
triggers:
|
|
6
6
|
- 搜索
|
|
7
7
|
- 查一下
|
|
@@ -31,13 +31,14 @@ triggers:
|
|
|
31
31
|
## 快速上手
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
|
-
argo search "查询词"
|
|
35
|
-
argo search "查询词" --json --fields agent
|
|
36
|
-
argo search "查询词" --
|
|
37
|
-
argo
|
|
34
|
+
argo search "查询词" # 自动路由(daemon 需显式启动)
|
|
35
|
+
argo search "查询词" --agent # Agent 消费单开关(等价 --json --fields agent)
|
|
36
|
+
argo search "查询词" --intent news # 意图路由(news/academic/social/image-reverse/calc)
|
|
37
|
+
argo search "查询词" --verify 3 # 核验 top-3 并回填证据分
|
|
38
|
+
argo research "复杂问题" --json # 取证包(扩词或多工作包 → dossier)
|
|
38
39
|
```
|
|
39
40
|
|
|
40
|
-
默认不附 candidates/sources;`--
|
|
41
|
+
默认不附 candidates/sources;`--agent` 只留答案(~4.3 KB),追溯或归档加 `--envelope`(`--archive` 自动带)。
|
|
41
42
|
|
|
42
43
|
深度研究产出**取证包(dossier)**(来源/覆盖/缺口/达标,不是判断稿):先读 `references/research-protocol.md` 写工作包再取证,判断分事实/推断/建议。不要另装「专业深度研究」skill。
|
|
43
44
|
|
|
@@ -60,11 +61,11 @@ argo research "复杂问题" --json # 取证包(扩词或多工作
|
|
|
60
61
|
| `--video` `--min-duration SEC` `--max-duration SEC` | 视频模式(B 站 + YouTube)及时长筛选 |
|
|
61
62
|
| `--verify [N]` | 对 top-N 抓正文回填证据分 |
|
|
62
63
|
| `--numverify [N]` `--verify-with <引擎>` | 数值印证(对关键数字抓原文确认核对簇)+ 核对配对 |
|
|
63
|
-
| `--domain` `--sub_domain` / `ARGO_USAGE_LOG=0` |
|
|
64
|
+
| `--domain` `--sub_domain` / `ARGO_USAGE_LOG=0` | 垂直域下推(仅 anysearch)+ 缓存键隔离;不参与选源 / 关查询落盘 |
|
|
64
65
|
|
|
65
|
-
|
|
66
|
+
**按场景路由**:优先 `--intent news|academic|social|image-reverse|calc`(缺 key/超预算自动降级),或显式 `--engine deepseek_search` / `--academic-deep` / `anysearch`,见 `references/usage.md`。
|
|
66
67
|
|
|
67
|
-
**explicit_only
|
|
68
|
+
**explicit_only 源**:feed、deepseek_search、tracemoe/saucenao/google_lens/animetrace、wolframalpha、brave/ecosia/qwant/gdelt 默认不进自动路由,用 `--intent` 或 `--engine`,全量见 `argo list-engines`。
|
|
68
69
|
|
|
69
70
|
### 图片检索
|
|
70
71
|
|
|
@@ -108,11 +109,11 @@ argo ego-search status|search|fetch|merge # 登录态专业搜索(需先 enab
|
|
|
108
109
|
4. **社交帖**:叙事/舆情,不进事实真值
|
|
109
110
|
5. **深度研究**:先读 `references/research-protocol.md`;有决策含义就交工作包,不要靠扩词充问题树;`quality_gate_results.passed=false` 必须降级表述
|
|
110
111
|
6. **引用**:讲给用户的事实带 URL 出处,日常档也要带(URL 在 `results[].url`,零成本)
|
|
111
|
-
7. **上下文纪律**:Agent 用 `--json --fields agent
|
|
112
|
+
7. **上下文纪律**:Agent 用 `--agent`(等价 `--json --fields agent`)、按需 `-n`;追溯/归档用 `--json --envelope`;查单源用 `argo list-engines --detail --engine <名>`(~0.9 KB)。踩坑见 Gotchas
|
|
112
113
|
|
|
113
114
|
## Gotchas
|
|
114
115
|
|
|
115
|
-
- **`--envelope` 与 `--
|
|
116
|
+
- **`--envelope` 与 `--agent` / `--fields agent` 互斥**:入口直接报错;要 provenance 请用 `--json --envelope`。
|
|
116
117
|
- **结果异常少**:看 `funnel` 六格阶段计数,哪格归零即塌陷点。
|
|
117
118
|
- **慢查询**:看 `timing.dispatch` 的 `tail_wait_ms` / `abandoned_engine_ms`。
|
|
118
119
|
- **引擎列表**:别加 `--all`(~54 KB)。
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schemaVersion": 1, "label": "engines", "message": "
|
|
1
|
+
{"schemaVersion": 1, "label": "engines", "message": "314", "color": "orange"}
|
package/assets/readme/hero.svg
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="380" viewBox="0 0 1200 380" role="img" aria-labelledby="title desc">
|
|
2
2
|
<title id="title">Argo — Multi-Engine Search & Evidence Verification for AI Agents</title>
|
|
3
|
-
<desc id="desc">Unified metasearch, deep research, and evidence verification across
|
|
3
|
+
<desc id="desc">Unified metasearch, deep research, and evidence verification across 314 sources and 18 languages with keyless local fallback.</desc>
|
|
4
4
|
|
|
5
5
|
<defs>
|
|
6
6
|
<linearGradient id="bg" x1="0" y1="0" x2="1200" y2="380" gradientUnits="userSpaceOnUse">
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
<!-- meta chips -->
|
|
44
44
|
<g transform="translate(0 188)">
|
|
45
45
|
<rect width="104" height="32" rx="8" fill="#121A2B" stroke="#1E2A3F"/>
|
|
46
|
-
<text x="52" y="21" text-anchor="middle" font-family="ui-monospace, Menlo, monospace" font-size="12" fill="#94A3B8">2.
|
|
46
|
+
<text x="52" y="21" text-anchor="middle" font-family="ui-monospace, Menlo, monospace" font-size="12" fill="#94A3B8">2.18.0</text>
|
|
47
47
|
|
|
48
48
|
<rect x="116" width="136" height="32" rx="8" fill="#121A2B" stroke="#1E2A3F"/>
|
|
49
|
-
<text x="184" y="21" text-anchor="middle" font-family="ui-monospace, Menlo, monospace" font-size="12" fill="#38BDF8">
|
|
49
|
+
<text x="184" y="21" text-anchor="middle" font-family="ui-monospace, Menlo, monospace" font-size="12" fill="#38BDF8">314 sources</text>
|
|
50
50
|
|
|
51
51
|
<rect x="264" width="108" height="32" rx="8" fill="#121A2B" stroke="#1E2A3F"/>
|
|
52
52
|
<text x="318" y="21" text-anchor="middle" font-family="ui-monospace, Menlo, monospace" font-size="12" fill="#A78BFA">19 MCP</text>
|
|
@@ -3343,6 +3343,18 @@ engines:
|
|
|
3343
3343
|
recommended: true
|
|
3344
3344
|
explicit_only: false
|
|
3345
3345
|
desc: X/Twitter 关键词搜索(ego-browser 通道,原生布尔语法 from:/-is:retweet/lang:)
|
|
3346
|
+
- name: twitter_cli
|
|
3347
|
+
tier: T1
|
|
3348
|
+
type: twitter_cli
|
|
3349
|
+
coverage:
|
|
3350
|
+
- social
|
|
3351
|
+
- english
|
|
3352
|
+
latency_ms: 2000
|
|
3353
|
+
cost: free
|
|
3354
|
+
status: ok
|
|
3355
|
+
recommended: false
|
|
3356
|
+
explicit_only: true
|
|
3357
|
+
desc: X 关键词只读搜索,按返回的作者及发布时间核验简单约束。
|
|
3346
3358
|
- name: twitter_syndication
|
|
3347
3359
|
tier: T1
|
|
3348
3360
|
type: twitter_syndication
|
|
@@ -2640,6 +2640,16 @@
|
|
|
2640
2640
|
"cost_tier": "free",
|
|
2641
2641
|
"priority": 50
|
|
2642
2642
|
},
|
|
2643
|
+
"twitter_cli": {
|
|
2644
|
+
"label": "X/Twitter (twitter-cli)",
|
|
2645
|
+
"qps": 1,
|
|
2646
|
+
"limit": null,
|
|
2647
|
+
"period": "second",
|
|
2648
|
+
"cost_per_call": 0.0,
|
|
2649
|
+
"cost_unit": "free",
|
|
2650
|
+
"cost_tier": "free",
|
|
2651
|
+
"priority": 50
|
|
2652
|
+
},
|
|
2643
2653
|
"twitter_syndication": {
|
|
2644
2654
|
"label": "twitter_syndication",
|
|
2645
2655
|
"qps": 2,
|
package/bin/argo
CHANGED
|
@@ -489,11 +489,18 @@ def _engine_count():
|
|
|
489
489
|
既与文档里的收录数对不上,配置不可读时还回退到一个写死的旧值(87),
|
|
490
490
|
用户看到的是个假数字。真读不出来就不显示数量,别编。
|
|
491
491
|
|
|
492
|
-
快路径:读 `state_root/.engine_count`(`<count>\\n
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
492
|
+
快路径:读 `state_root/.engine_count`(`<count>\\n<指纹>`),指纹匹配 →
|
|
493
|
+
直接返回(~2ms);冷启动或输入变更 → fallback 到完整 load_config()
|
|
494
|
+
(~30ms)并回填。这样 --help 稳态下省 ~28ms,且不会重蹈「写死 87」的
|
|
495
|
+
假数字覆辙。
|
|
496
|
+
|
|
497
|
+
指纹必须覆盖**两个**真源:config.yaml 与 engines/**/*.yaml 外置声明。
|
|
498
|
+
此前只取 config.yaml 的 mtime_ns,而引擎声明的唯一真源是 engines/specs/
|
|
499
|
+
(config.yaml 的 engines 段是空 dict),于是新增或删除一个 spec 时缓存
|
|
500
|
+
恒命中,`--help` 报的旧数字与 docs/ENGINE_CATALOG.md、counts.json 长期
|
|
501
|
+
不一致(2026-11-24 实测:实际 313、缓存 312、catalog 313)。这里复用
|
|
502
|
+
config._external_engines_scan 的摘要(最新 mtime + 文件数 + 总字节 +
|
|
503
|
+
逐文件指纹),与配置磁盘缓存同一份判据,不另起第三套扫描逻辑。
|
|
497
504
|
"""
|
|
498
505
|
try:
|
|
499
506
|
state_root = (os.environ.get("ARGO_STATE_DIR", "").strip()
|
|
@@ -501,9 +508,30 @@ def _engine_count():
|
|
|
501
508
|
cfg_path = os.path.join(ARGO_HOME, "config.yaml")
|
|
502
509
|
cache_file = os.path.join(state_root, ".engine_count")
|
|
503
510
|
try:
|
|
504
|
-
|
|
511
|
+
# 纯标准库指纹:不 import config(避免入口引入 PyYAML 依赖与 ~8ms 额外启动开销)
|
|
512
|
+
cfg_mtime_ns = os.stat(cfg_path).st_mtime_ns
|
|
513
|
+
eng_dir = os.path.join(ARGO_HOME, "engines")
|
|
514
|
+
spec_count = 0
|
|
515
|
+
spec_max_mtime = 0
|
|
516
|
+
spec_total_size = 0
|
|
517
|
+
if os.path.isdir(eng_dir):
|
|
518
|
+
for _root, _dirs, _files in os.walk(eng_dir):
|
|
519
|
+
for _fn in _files:
|
|
520
|
+
if _fn.endswith((".yaml", ".yml")):
|
|
521
|
+
try:
|
|
522
|
+
_st = os.stat(os.path.join(_root, _fn))
|
|
523
|
+
spec_count += 1
|
|
524
|
+
if _st.st_mtime_ns > spec_max_mtime:
|
|
525
|
+
spec_max_mtime = _st.st_mtime_ns
|
|
526
|
+
spec_total_size += _st.st_size
|
|
527
|
+
except OSError:
|
|
528
|
+
pass
|
|
529
|
+
fingerprint = "%s|%s:%s:%s" % (
|
|
530
|
+
cfg_mtime_ns, spec_count, spec_max_mtime, spec_total_size
|
|
531
|
+
)
|
|
505
532
|
except OSError:
|
|
506
|
-
|
|
533
|
+
fingerprint = None
|
|
534
|
+
cfg_mtime = fingerprint
|
|
507
535
|
if cfg_mtime:
|
|
508
536
|
try:
|
|
509
537
|
with open(cache_file, encoding="utf-8") as f:
|
|
@@ -553,14 +581,47 @@ def _usage() -> str:
|
|
|
553
581
|
return f"""argo — 统一搜索与证据核验 CLI(收录 {head})
|
|
554
582
|
|
|
555
583
|
Usage:
|
|
556
|
-
|
|
584
|
+
# 核心原语(高频入口)
|
|
585
|
+
argo search "query" 统一搜索(--agent 精简档 / --intent news|academic|social|image-reverse|calc)
|
|
586
|
+
argo fetch "url" 统一抓取(自动识别网页、微信、X 推文、arXiv 论文与 PDF;--full 读全文)
|
|
587
|
+
argo research "query" 深度研究(问题分解→多源采集→取证包 dossier)
|
|
588
|
+
argo evidence "query" 可信度评估(自动搜索 → 评分,或 pipe 搜索结果)
|
|
589
|
+
argo clarify "query" 意图消歧(歧义检测+意图分类+路由建议)
|
|
590
|
+
|
|
591
|
+
# 保留工作流(全部兼容,可与 search/fetch 管道衔接)
|
|
592
|
+
argo note {{study|explore|list}} 研究笔记归档(支持 `argo fetch ... --json | argo note study`)
|
|
593
|
+
argo watch {{add|check|list|remove}} 网页快照与变化监控
|
|
594
|
+
argo job "query" 招聘岗位多平台聚合
|
|
595
|
+
argo cite "doi" [doi...] DOI → 引用条目(GB/T 7714 / APA / BibTeX)
|
|
596
|
+
argo seek "query" [选项] 本机文件与代码三层检索
|
|
597
|
+
argo local-image {{index|search|stats}} 本地图片 Vision 检索(需 ARGO_LOCAL_IMAGE=1)
|
|
598
|
+
|
|
599
|
+
# 专有提取与运维(全部顶层子命令均保留,详表见 argo --help --all)
|
|
600
|
+
提取族: crawl / extract / wx / article / pdf / paper / tweet / x-search / screenshot / preflight / answer / template / ego-search
|
|
601
|
+
运维族: auth / mcp / paths / daemon / stats / budget / quota / engine / doctor / settings
|
|
602
|
+
|
|
603
|
+
Common flags: --agent --intent <name> --json --mode {{fast|auto|deep|budget}} --max-results N --depth {{fast|balanced|deep}}
|
|
604
|
+
|
|
605
|
+
查看全部子命令详表:argo --help --all
|
|
606
|
+
本机此刻可用几个源:argo search --list-engines --routable-only
|
|
607
|
+
逐源费用/密钥/状态:docs/ENGINE_CATALOG.md
|
|
608
|
+
"""
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
def _usage_all() -> str:
|
|
612
|
+
n = _engine_count()
|
|
613
|
+
head = f"{n} 个源" if n else "多源"
|
|
614
|
+
return f"""argo — 统一搜索与证据核验 CLI(收录 {head})
|
|
615
|
+
|
|
616
|
+
Usage:
|
|
617
|
+
argo search "query" 统一搜索({head},TF-IDF路由+RRF融合;支持 --agent / --intent)
|
|
557
618
|
argo research "query" 深度研究(问题分解→多源采集→综合报告)
|
|
558
|
-
argo note study
|
|
619
|
+
argo note study [url] 单篇精研归档(原文存档 + 五段式笔记骨架 + 索引;支持 stdin JSON 管道)
|
|
559
620
|
argo note explore "<问题>" 方向探索归档(五段式笔记骨架 + 候选方向段)
|
|
560
621
|
argo note list [查询词] 检索研究笔记索引
|
|
561
622
|
argo evidence "query" 可信度评估(自动搜索 → 评分,或 pipe 搜索结果)
|
|
562
623
|
argo clarify "query" 意图消歧(歧义检测+意图分类+路由建议)
|
|
563
|
-
argo fetch "url"
|
|
624
|
+
argo fetch "url" 统一抓取(自动分发网页/微信/X/arXiv/PDF;多级降级;--full 读全文存档)
|
|
564
625
|
argo crawl "url" 站点爬取(BFS/sitemap;--query BM25 聚焦 / --full 全文 / --scope auto|path|domain)
|
|
565
626
|
argo extract "url" 结构化提取(表格/Meta/JSON-LD)
|
|
566
627
|
argo article "url" 微信公众号文章全文抓取(标题/正文/图片)
|
|
@@ -588,8 +649,12 @@ Usage:
|
|
|
588
649
|
argo stats [-n N] 使用日志与反馈状态(本地使用日志只读出口)
|
|
589
650
|
argo budget {{list|set|unset}} 按引擎的月度预算(原生币种;默认 DeepSeek ¥5/月)
|
|
590
651
|
argo quota [--json] [--refresh] 知乎开放平台当日额度(官方 API,不消耗业务额度)
|
|
652
|
+
argo doctor [--days N] [--json] 源健康度审计(基于使用日志给出去留建议)
|
|
653
|
+
argo engine {{list|status|revive|add}} 引擎注册与状态运维(新源准入 / 复活被停用的源)
|
|
654
|
+
argo settings [子命令] 本地设置页 + 配置写回(页面/list 看透视;--edit/--apply)
|
|
655
|
+
argo ui 唤起 argo settings(issue #44 承诺的同义别名)
|
|
591
656
|
|
|
592
|
-
Common flags: --json --mode {{fast|auto|deep|budget}} --max-results N --depth {{fast|balanced|deep}}
|
|
657
|
+
Common flags: --agent --intent <name> --json --mode {{fast|auto|deep|budget}} --max-results N --depth {{fast|balanced|deep}}
|
|
593
658
|
|
|
594
659
|
本机此刻可用几个源:argo search --list-engines --routable-only
|
|
595
660
|
逐源费用/密钥/状态:docs/ENGINE_CATALOG.md
|
|
@@ -618,7 +683,8 @@ def _pin_stdio():
|
|
|
618
683
|
def main():
|
|
619
684
|
_pin_stdio()
|
|
620
685
|
if len(sys.argv) < 2 or sys.argv[1] in ("-h", "--help", "help"):
|
|
621
|
-
|
|
686
|
+
show_all = "--all" in sys.argv[2:] or "-a" in sys.argv[2:]
|
|
687
|
+
print(_usage_all() if show_all else _usage())
|
|
622
688
|
# 帮助不是错误:--help/help 正常退出(0),无参数调用才是用法错误(1)
|
|
623
689
|
sys.exit(0 if len(sys.argv) >= 2 else 1)
|
|
624
690
|
|
package/docs/CHANGELOG.md
CHANGED
|
@@ -3,12 +3,30 @@
|
|
|
3
3
|
> 单一时间线,按版本倒序。每版保留「定位 + 关键变更 + 默认关闭开关」三段,细节见提交历史与 `references/`。
|
|
4
4
|
> 源数口径以 `docs/ENGINE_CATALOG.md`(生成)与 `argo search --list-engines`(本机)为准。
|
|
5
5
|
|
|
6
|
+
## v2.18.0
|
|
7
|
+
|
|
8
|
+
**定位**:Agent 入口收口 + 统一 URL 分发 + `local-seek` 精读与工作台直连 + 社区 4 项 PR 合入(源 313→314)。完整吸纳社区贡献者 `@OMSociety`(山海学社OMSociety)的 PR #52、#53、#54、#55 并保留原始提交署名。
|
|
9
|
+
|
|
10
|
+
**关键变更**:
|
|
11
|
+
- **社区贡献合入(感谢 `@OMSociety`,PR #52/#53/#54/#55)**:
|
|
12
|
+
- 知乎指定回答精确抓取(PR #54):`argo fetch` 与 MCP 支持读取已核验展开正文与开放平台游标分页摘要回退(`--answer-offset` / `answer_offset`),保留 `--offset` 切片语义并拆出 `scripts/fetch_cli_output.py`
|
|
13
|
+
- X 关键词核验检索与单帖补读(PR #55,源 313→314):新增 `twitter_cli` 社交源与自动选路、`from:` 与时间窗精确核验、`twitter_syndication` 单帖临时失败回退 FxTwitter 并校验 ID,MCP 同步暴露 `platforms` 与 `engine_outcomes`
|
|
14
|
+
- `--fields agent` 保留图片元数据(PR #52):`search_output.py` 白名单补齐 `author`、`tags`、`similarity`、`image_url_preview`
|
|
15
|
+
- DSH 工作台状态锁目录修复(PR #53):`acquireStateFileLock` 创建锁前先 `mkdirSync` 父目录,并发测试隔离至临时目录
|
|
16
|
+
- **Agent 入口与统一 URL 分发**:新增 `--agent` 单开关与 `--intent` 意图路由(`intent_router.py` + `engines_boost` 真实选源 + `--envelope` 冲突 Fail-Fast);新增 `fetch_dispatch.py` 统一分发微信、推文、arXiv 论文与 PDF(空正文 PDF 显式失败),升级分层 `--help` 与 `S_ISSOCK` 管道兼容
|
|
17
|
+
- **`local-seek` 与工作台直连**:`local-seek` 拆出 `seek_inspect.py` 与 `seek_git.py`,新增 `--outline` 行跨度、`--symbol-body` 符号直读与零命中 `handoff_hint`;DSH 工作台直连 `--intent`、`/argo/api/local-inspect`(带路径沙箱)与 `/argo/api/note-study`,加固 Windows/EPIPE 跨平台 I/O
|
|
18
|
+
- **质量与工程门禁**:补齐源头错误分类、HTTP 状态码归因与全模式配额预检;新增开关默认值对拍门禁(`test_switch_defaults_gate.py`)与 L2 变更感知增量选测(`scripts/affected_tests.py`);快门禁扩展至 83 项
|
|
19
|
+
|
|
20
|
+
**默认关闭开关**:`twitter_cli` 按运行环境凭据按需启用
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
6
24
|
## v2.17.0
|
|
7
25
|
|
|
8
26
|
**定位**:机制收口 + 登录态与证据锚定升级 + 查询原生下推 + 工作台热榜与安全加固。把 v2.16.0 之后的点状修补收敛为硬机制约束:新增 `helve` 付费源(源 312→313)、落地查询操作符原生下推与登录态四态防抖/CDP 网络流捕获、统一 `ego-search` 与主仓登录态词表单真源、上线工作台每日实时热榜与零 LLM 兴趣重排、落地 TCP 回环围栏与快门禁 4 片并行。
|
|
9
27
|
|
|
10
28
|
**关键变更**:
|
|
11
|
-
- **新源与画像治理(源 312→313)**:按 `paid + explicit_only` 纪律纳入 `helve`
|
|
29
|
+
- **新源与画像治理(源 312→313)**:按 `paid + explicit_only` 纪律纳入 `helve` 搜索源(基于外部 PR #50,感谢 Owen Gallagher / `@helve-dev-mcp`);补齐 18 个源的域画像并建立空画像棘轮(`AUTO_EMPTY_PROFILE_BASELINE=182`),新增非 `explicit_only` 源空画像直接红灯;OpenAlex 证据链接改 DOI 直链并完善摘要拼接;4 源补齐 `item_upstream_authority` 透传
|
|
12
30
|
- **查询原生下推与引擎可靠性**:`query_operators.py` 落地引擎原生参数下推(含 Tavily 原生 `language` 下发);`engines_fields.py` 收敛 body 模板 `nan`/`inf` 序列化唯一出口;打通熔断超冷却探测恢复环(`route_combo.py`)并新增 `engine_fingerprint.py` 环境指纹自愈与健康回归差分
|
|
13
31
|
- **登录态治理与双套单真源**:`browser_auth.py` 与 `chrome_cdp.py` 落地登录态四态防抖与 CDP 网络流捕获;`ego-search` 新增 `pacing.py`(无守护 OS 文件锁跨进程槽位、同站节奏锁与站点级终态冷却)与 `site_profiles.py`(Cookie 探针与静默限权判定),并收敛至 `engine_states.py` 登录态词表单真源(含 `ImportError` 兜底对齐测试)
|
|
14
32
|
- **证据锚定与新源发现**:新增 `evidence_grounding.py`(NFKC 折叠、≥3 位防编造数字门禁、近实体窗口锚定与 sha1 摘录哈希)接入 `numeric_verify.py`;`research_gates.py` 新增覆盖高水位线停滞传感器;`argo engine add` 新增 `--probe-domain` / `--from-har` / `--discover-gaps` / `--verify-draft` 隔离子进程烟测与 HAR 脱敏
|
package/docs/COMMIT_STANDARD.md
CHANGED
|
@@ -51,8 +51,8 @@ hook 却在全量回归里红」),但**这些记录只存在于 commit messa
|
|
|
51
51
|
**带 scope 的提交**:scope 在下面这张白名单里即高风险。`scripts/check_commit_report.py`
|
|
52
52
|
按同一份白名单做机械检查,`tests/test_check_commit_report.py` 会对拍两者。
|
|
53
53
|
|
|
54
|
-
`engines` / `engine` / `route` / `search` / `rank` / `states` / `state` /
|
|
55
|
-
`agents` / `agent` / `release` / `deps`
|
|
54
|
+
`engines` / `engine` / `route` / `search` / `fetch` / `rank` / `states` / `state` /
|
|
55
|
+
`agents` / `agent` / `release` / `deps`(复合 scope 如 `fetch+cli` 按 `+`/`/`/`,` 拆分判定)
|
|
56
56
|
|
|
57
57
|
典型形态与要求:
|
|
58
58
|
|