Fixes
- Agent CLIs now use magpie's proxy (#51).
grok login, cursor-agent, devin, Claude Code, and the runs behind their subscriptions now go through the same proxy as magpie's own requests. Before, a proxy set only in magpie's settings or in the system settings wasn't passed to these CLIs, sogrok logintried auth.x.ai directly and timed out. The rules are:- a proxy set in magpie replaces any proxy in the environment;
- "direct" turns proxying off;
- the system proxy is used only when the environment names none;
- loopback always stays direct.
修复
- magpie 启动的智能体 CLI 现在也走 magpie 的代理(#51)。
grok login、cursor-agent、devin、Claude Code,以及它们订阅背后的运行,现在和 magpie 自己的请求走同一个代理。以前只在 magpie 设置或系统设置里配置的代理不会传给这些 CLI,所以grok login会直连 auth.x.ai,直到超时。规则如下:- magpie 里设置的代理会替换环境变量里的代理;
- 设为 "direct" 则不走代理;
- 环境变量没有指定代理时,才使用系统代理;
- 本机回环地址始终直连。