diff --git a/agent_reach/cli.py b/agent_reach/cli.py index 2532110..00ecf0f 100644 --- a/agent_reach/cli.py +++ b/agent_reach/cli.py @@ -66,7 +66,8 @@ def main(): p_install.add_argument("--env", choices=["local", "server", "auto"], default="auto", help="Environment: local, server, or auto-detect") p_install.add_argument("--proxy", default="", - help="Residential proxy for Reddit/Bilibili (http://user:pass@ip:port)") + help="Network proxy saved for agents to export as HTTP(S)_PROXY " + "in restricted networks (http://user:pass@ip:port)") p_install.add_argument("--safe", action="store_true", help="Safe mode: skip automatic system changes, show what's needed instead") p_install.add_argument("--dry-run", action="store_true", @@ -1526,9 +1527,9 @@ def _cmd_setup(): print() # Step 3: Reddit — rdt-cli - print("【信息】Reddit — 通过 rdt-cli 搜索和阅读,无需配置") + print("【信息】Reddit — 必须登录态(无零配置路径)。桌面推荐 OpenCLI;或 rdt-cli:") print(f" 安装:pipx install '{_RDT_GIT_SOURCE}'") - print(" 然后运行:rdt login") + print(" 然后运行:rdt login(需先在浏览器登录 reddit.com)") print() # Step 4: Groq (Whisper) diff --git a/docs/README_en.md b/docs/README_en.md index f87b513..7c7eb88 100644 --- a/docs/README_en.md +++ b/docs/README_en.md @@ -164,11 +164,11 @@ Don't use it? Don't configure it. Every step is optional. Tell your Agent "help me configure Twitter cookies" — it'll guide you through exporting from your browser. Local computers can auto-import. -### 🌐 Proxy — $1/month, servers only +### 🌐 Proxy — $1/month, restricted networks only -Bilibili blocks server IPs. Get a proxy ([Webshare](https://webshare.io) recommended, $1/month) and send the address to your Agent. +Most users need no proxy. If your network blocks Reddit/Twitter (e.g. mainland China) get one ([Webshare](https://webshare.io) recommended, $1/month) and send the address to your Agent — it saves it and exports HTTP(S)_PROXY when calling those tools. -> Reddit needs a logged-in session — rdt-cli works after `rdt login` (still free, no proxy needed). Local computers don't need a proxy for Bilibili either. +> Reddit needs a logged-in session either way — OpenCLI rides your browser session, or rdt-cli after `rdt login`. Bilibili works via bili-cli without a proxy. --- @@ -184,7 +184,7 @@ $ agent-reach doctor ✅ GitHub repos and code — public repos readable and searchable ✅ Twitter/X tweets — readable. Cookie unlocks search and posting ✅ YouTube video subtitles — yt-dlp - ⚠️ Bilibili video info — server IPs may be blocked, configure proxy + ✅ Bilibili search & video detail — bili-cli (subtitles via OpenCLI) ✅ RSS/Atom feeds — feedparser ✅ Web pages (any URL) — Jina Reader API diff --git a/docs/install.md b/docs/install.md index 2511069..75416cb 100644 --- a/docs/install.md +++ b/docs/install.md @@ -164,7 +164,8 @@ agent-reach configure twitter-cookies "PASTED_STRING" > Reddit 的匿名接口已被封、官方 API 需人工审批。桌面用户首选 OpenCLI(浏览器里登录过 reddit.com 即可用);服务器/存量用户用 rdt-cli: ```bash -pipx install 'git+https://github.com/public-clis/rdt-cli.git' # PyPI 落后,从 GitHub 装 +# PyPI 落后,从 GitHub 装(与代码内 _RDT_GIT_SOURCE 同一钉定版本) +pipx install 'git+https://github.com/public-clis/rdt-cli.git@5e4fb3720d5c174e976cd425ccc3b879d52cac66' rdt login # 自动提取浏览器 Cookie;服务器无浏览器时按 doctor 提示手动写 Cookie ```