Panniantong
12bd727e30
fix: Twitter bird CLI fetch failed — 自动代理注入 + 连通性检测 + Exa fallback
问题:bird CLI 用 Node.js 原生 fetch(),不走 HTTP_PROXY,
导致需要代理的用户(如 Windows + 本地代理)完全无法使用。
修复:
1. 自动代理注入:检测到 HTTP_PROXY/HTTPS_PROXY 时,通过 undici 的
EnvHttpProxyAgent 让 Node.js fetch 自动走代理,用户无需任何额外配置
2. doctor 检测:实际跑 bird whoami 测连通性,失败时给出具体原因
3. search fallback:bird 搜索失败时自动 fallback 到 Exa
4. install:自动安装 undici(npm install -g undici)
5. 新增 troubleshooting.md:常见问题解决方案
Fixes #9
2026-02-25 21:35:21 +01:00
..
2026-02-25 10:25:30 +01:00
2026-02-24 10:25:46 +01:00
2026-02-24 13:39:21 +01:00
2026-02-25 11:13:52 +01:00
2026-02-24 13:20:23 +01:00
2026-02-24 13:25:57 +01:00
2026-02-25 11:13:52 +01:00
2026-02-25 13:16:00 +01:00
2026-02-24 12:49:58 +01:00
2026-02-24 10:25:46 +01:00
2026-02-25 21:35:21 +01:00
2026-02-24 10:25:46 +01:00
2026-02-25 05:10:56 +01:00
2026-02-24 13:25:57 +01:00