Address annoying NPM warning about http-proxy
This warning displays in the Codex Web log:
npm warn Unknown env config "http-proxy". This will stop working in the next major version of npm.
There are tickets here about setting the http-proxy (like #220) and I've seen notes about this elsewhere.
I created a gist with a .sh script to Suppress annoying NPM warning in ChatGPT Codex Web, which removes the settings initialized by Codex and then resets the proxies correctly. While this works during setup, the warning comes back later. It seems Codex resets its proxies after setup?
When finalized, the script should help anyone who wants to modify their local http-proxy.
The script (created with GPT5 assistance) is admittedly overkill as I tried to take a hammer to solving the problem.
I'm hoping to get constructive feedback on my gist, and bring eyes to this annoyance in Codex Web, which I believe affects CLI users as well.
In the bigger picture I'm hoping the Codex Web team can address the annoyance in Codex setup so that we won't want to handle this individually.
Thanks!