chengrui0428
V2EX  ›  Codex

写了个 Codex 前置网络检测插件,开源

  •  
  •   chengrui0428 · May 24 · 715 views

    每次跑 codex 前自动检查三项:

    • DNS 解析、
    • 出口 IP 是否在封锁地区( CN/RU/IR 等)、
    • TCP 连通性含延迟和丢包率。

    结果 🟢🟡🔴 一目了然,黄红两档会提示 Continue / Retry / Quit 让你决定要不要继续。

    git clone https://github.com/Laotree/verify-networking-plugin
    cd verify-networking-plugin && ./install.sh
    

    装完之后对 codex 命令完全透明,不影响正常使用。

    2 replies    2026-06-01 06:28:36 +08:00
    Phil1024
        1
    Phil1024  
       May 31
    linux 还是 windows
    chengrui0428
        2
    chengrui0428  
    OP
       3 days ago via iPhone
    @Phil1024 macOS
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5862 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 03:32 · PVG 11:32 · LAX 20:32 · JFK 23:32
    ♥ Do have faith in what you're doing.