Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pingdotgg/t3code
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: pingdotgg/t3code
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fix/issue-2709
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 9 commits
  • 4 files changed
  • 2 contributors

Commits on Oct 27, 2026

  1. test(server): reproduce #2709 macOS system proxy missing from provide…

    …r updates
    
    This test reproduces #2709: on darwin, with no proxy variable in the
    inherited environment, the provider updater is spawned without the
    HTTP(S) proxy configured in macOS System Settings (scutil --proxy).
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    juliusmarminge and claude committed Oct 27, 2026
    Configuration menu
    Copy the full SHA
    412c128 View commit details
    Browse the repository at this point in the history
  2. fix(server): provider updates on macOS use the system proxy

    A Dock-launched desktop app has no HTTP(S)_PROXY in its env, so
    `npm install -g`, `brew upgrade` and `opencode upgrade` ran unproxied and
    timed out on networks that need the proxy set in System Settings.
    
    On darwin, when the inherited env has no HTTP_PROXY, HTTPS_PROXY or
    ALL_PROXY (either case), each update now reads `scutil --proxy` (2 s
    timeout, any failure means no proxy env) and passes the enabled HTTP and
    HTTPS proxies as HTTP(S)_PROXY/http(s)_proxy, with NO_PROXY from the
    exceptions list plus loopback. The capability's own env still wins.
    Linux and Windows spawn nothing new.
    
    Fixes #2709
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    juliusmarminge and claude committed Oct 27, 2026
    Configuration menu
    Copy the full SHA
    5244014 View commit details
    Browse the repository at this point in the history
  3. fix(server): keep updater proxy and NO_PROXY settings when adding the…

    … macOS system proxy
    
    A capability that declares its own proxy now skips the system proxy entirely,
    so a generated lowercase https_proxy cannot shadow it for curl. An inherited
    NO_PROXY is merged into the generated list instead of replaced, and npm's
    bracketed IPv6 loopback is bypassed too.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    juliusmarminge and claude committed Oct 27, 2026
    Configuration menu
    Copy the full SHA
    dd6301c View commit details
    Browse the repository at this point in the history
  4. fix(server): honour the updater's NO_PROXY and a bypass-all no_proxy

    Providers that pass their whole environment as update.env (Grok, Muse) no
    longer overwrite the merged bypass list, the lowercase no_proxy wins as it
    does for curl, and NO_PROXY=* skips the system proxy entirely.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    juliusmarminge and claude committed Oct 27, 2026
    Configuration menu
    Copy the full SHA
    f7e512c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    99058ef View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2026

  1. Configuration menu
    Copy the full SHA
    2e2961a View commit details
    Browse the repository at this point in the history
  2. fix(server): keep direct updates when macOS proxy exceptions hold IP …

    …ranges
    
    npm matches NO_PROXY by hostname suffix and ignores CIDR and wildcard IP
    entries, so passing the system proxy would send a bypassed private
    registry through the proxy. When the exception list holds such an entry
    (other than the default link-local range), the update runs as before.
    Also fold the runner's skip-case tests into one table.
    
    AI-assisted; verified with the tests and tools listed above.
    juliusmarminge committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    4c9daa4 View commit details
    Browse the repository at this point in the history
  3. fix(server): keep direct updates when NO_PROXY ranges or simple-hostn…

    …ame bypass apply
    
    npm cannot match IP ranges or dotless hosts in NO_PROXY. Apply the
    existing guard to the inherited and updater NO_PROXY entries too, and keep
    the direct connection when macOS excludes simple hostnames.
    
    AI-assisted; verified with the tests and tools listed above.
    juliusmarminge committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    62be6b9 View commit details
    Browse the repository at this point in the history
  4. fix(server): only pass a macOS system proxy npm can route like macOS

    npm sends plain-HTTP requests via https_proxy and falls back to
    HTTP_PROXY for HTTPS, so a proxy enabled for only one protocol, or
    different HTTP and HTTPS proxies, would reroute traffic macOS sends
    direct. Pass the system proxy only when HTTP and HTTPS share one.
    
    AI-assisted; verified with the tests and tools listed above.
    juliusmarminge committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    493f48d View commit details
    Browse the repository at this point in the history
Loading