docs: update all remaining files for v1.4.0 upstream migrations
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
+11
-9
@@ -16,11 +16,11 @@ agent-reach configure --from-browser chrome
|
||||
|
||||
---
|
||||
|
||||
## Twitter/X: bird CLI 连接失败
|
||||
## Twitter/X: twitter-cli 连接失败
|
||||
|
||||
**症状:** `bird search` 或其他命令返回错误
|
||||
**症状:** `twitter search` 或其他命令返回错误
|
||||
|
||||
**原因:** bird CLI 需要 AUTH_TOKEN 和 CT0 环境变量才能访问 Twitter API。如果你的网络环境需要代理才能访问 x.com,需要配置代理。
|
||||
**原因:** twitter-cli 需要 AUTH_TOKEN 和 CT0 环境变量才能访问 Twitter API。如果你的网络环境需要代理才能访问 x.com,需要配置代理。
|
||||
|
||||
**解决方案:**
|
||||
|
||||
@@ -29,22 +29,22 @@ agent-reach configure --from-browser chrome
|
||||
```bash
|
||||
export HTTP_PROXY="http://user:pass@host:port"
|
||||
export HTTPS_PROXY="http://user:pass@host:port"
|
||||
bird search "test" -n 1
|
||||
twitter search "test" -n 1
|
||||
```
|
||||
|
||||
### 方案 2:使用全局代理工具
|
||||
|
||||
让代理工具接管所有网络流量,这样 bird 的请求也会走代理:
|
||||
让代理工具接管所有网络流量,这样 twitter-cli 的请求也会走代理:
|
||||
|
||||
```bash
|
||||
# macOS — ClashX / Surge 开启"增强模式"
|
||||
# Linux — proxychains 或 tun2socks
|
||||
proxychains bird search "test" -n 1
|
||||
proxychains twitter search "test" -n 1
|
||||
```
|
||||
|
||||
### 方案 3:不用 bird,用 Exa 搜索替代
|
||||
### 方案 3:不用 twitter-cli,用 Exa 搜索替代
|
||||
|
||||
bird 不可用时,可以直接用 Exa 搜索 Twitter 内容:
|
||||
twitter-cli 不可用时,可以直接用 Exa 搜索 Twitter 内容:
|
||||
|
||||
```bash
|
||||
mcporter call 'exa.web_search_exa(query: "site:x.com 搜索词", numResults: 5)'
|
||||
@@ -53,7 +53,9 @@ mcporter call 'exa.web_search_exa(query: "site:x.com 搜索词", numResults: 5)'
|
||||
### 方案 4:检查认证
|
||||
|
||||
```bash
|
||||
bird check
|
||||
twitter check
|
||||
```
|
||||
|
||||
> 如果返回 "Missing credentials",需要设置 AUTH_TOKEN 和 CT0 环境变量。
|
||||
>
|
||||
> **Fallback:** 如果你已经安装了 bird CLI(`npm install -g @steipete/bird`),它也能正常工作。Agent Reach 会自动检测已安装的工具。
|
||||
|
||||
Reference in New Issue
Block a user