教程34
Codex 网络权限与代理机制说明
原标题:The default permission profile disables network access. When a command requests access, Codex may prompt the user directly or route the r...
Codex 默认权限配置禁用网络访问,命令请求联网时可直接提示用户或转交自动审查。若构建需从包仓库下载,可在启用网络代理的权限配置中放行该域名,代理按域名规则逐请求判断是否转发,匹配请求无需每次单独审批。网络代理的核心请求处理与策略逻辑在三大操作系统间共用,代理配置与沙箱集成则因系统而异。
中文译文尚未完成,先为你展示原文。
The default permission profile disables network access. When a command requests access, Codex may prompt the user directly or route the request to auto-review.
If your build regularly downloads from a package registry, you can allow the registry’s domain in a permission profile with the network proxy enabled. The proxy checks each request against the profile’s domain rules to decide whether to forward it. Matching requests don’t need separate network approval each time.
The network proxy’s core request-handling and policy logic is shared across all three major operating systems. Proxy setup and sandbox integration are OS-specific.
On Linux, the command connects to a listener inside its isolated namespace. A process outside the sandbox relays those connections to the configured proxy.
同一件事的其他报道1 篇
OpenAI Developers · 原文
