Skip to content

v0.1.2 — direct / system / manual routing modes

Choose a tag to compare

@tr1v3r tr1v3r released this 07 Sep 16:22
· 15 commits to master since this release

What's new: one mode key, three strategies

# ~/.config/dsh/settings.yaml  (hot-reloaded)
dsh-proxy:
  mode: system          # direct | system | manual
mode behavior
direct No proxy.
system Follow the host's proxy, re-detected on every save: HTTP_PROXY/HTTPS_PROXY/ALL_PROXY/NO_PROXY env everywhere (socks ALL_PROXY included), falling back to the macOS System Settings network proxy (scutil --proxy). proxy/noProxy/exportEnv are ignored.
manual Route through proxy (http/https/socks5, URL credentials) with the shared noProxy matcher and exportEnv child-process mirroring.

enabled: true/false still works as a deprecated alias (manual/direct).

Hardening in this release: a disabled protocol's stale scutil port can no longer leak into the normalized URL, and system mode never writes env vars (env export stays a manual-mode concept).

Also ships: demo GIF re-recorded in mode form with a live system scene — node scripts/demo.mjs reproduces it.

Install

# in ~/.config/dsh/profiles/<name>/package.json
"dependencies": { "@tr1v3r/dsh-proxy": "^0.1.2" },
"dsh": { "profile": { "bundles": ["@deepseek-ai/dsh-base", "@tr1v3r/dsh-proxy"] } }

dsh plugin --profile <name> install --no-frozen-lockfile

Restart once to mount; afterwards switching needs no restart.