rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:coldgust/dsh-proxy-manager
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
Set, inspect and clear the proxy configuration of the developer tools on this machine from one page in Settings → Proxy: 13 tools are built in, your own can be added, and one click enables or clears the proxy for all of them.

Enable for all / Clear for all, or the switch on a single row. Files are edited in place: comments, ordering and unrelated keys survive.proxy_manager tool reads the same state and performs the same actions as the page.dsh-proxy-manager, and press Install — or run dsh plugin --profile <profile> add dsh-proxy-manager, where <profile> is the one you boot (for example web).Proxy manager row.To upgrade, reinstall: uninstall the row and add dsh-proxy-manager again (dsh plugin --profile <profile> add dsh-proxy-manager@latest).
| Tool | Configuration file | Written keys |
|---|---|---|
| Git | ~/.gitconfig |
[http] proxy, [https] proxy |
| npm | ~/.npmrc |
proxy, https-proxy |
| pnpm | ~/.npmrc (shared with npm) |
proxy, https-proxy |
| Yarn | ~/.yarnrc.yml |
httpProxy, httpsProxy |
| Cargo | ~/.cargo/config.toml |
[http] proxy |
| pip | ~/Library/Application Support/pip/pip.conf (macOS), ~/.config/pip/pip.conf (Linux), %APPDATA%\pip\pip.ini (Windows) |
[global] proxy |
| Maven | ~/.m2/settings.xml |
one <proxy> element (dsh-proxy-manager) |
| Gradle | ~/.gradle/gradle.properties |
systemProp.http(s).proxyHost/proxyPort/nonProxyHosts |
| DeepSeek Harness | $DSH_HOME/.env |
HTTP_PROXY, HTTPS_PROXY, NO_PROXY |
| Docker | ~/.docker/config.json |
proxies.default.httpProxy/httpsProxy/noProxy |
| Shell environment | ~/.zshrc / ~/.bashrc (Windows: PowerShell profile) |
HTTP_PROXY, HTTPS_PROXY, NO_PROXY |
| curl | ~/.curlrc |
proxy, noproxy |
| wget | ~/.wgetrc |
http_proxy, https_proxy, no_proxy |
The shell entry covers every tool that only reads environment variables — Go, kubectl, Helm, Terraform, aws, uv, Poetry, Bundler, Homebrew.
http://127.0.0.1:7890), or press Use system proxy to take the system value, and the bypass hosts.Programs that are already running keep the proxy they read at start-up: restart the tool, or open a new terminal. DeepSeek Harness itself applies the change on its next start.
From the page. Open Add software at the bottom of the list and describe the tool: display name, file format, configuration file, section, key, and what that key holds (the whole URL, host, port or bypass list). The adapter is stored in this plugin's own state file.
In code. Add src/host/adapters/<tool>.ts:
import type { ToolSpec } from '../core/types.ts'
export const bun: ToolSpec = {
id: 'bun',
name: 'Bun',
category: 'javascript',
kind: 'toml',
path: '~/.bunfig.toml',
section: 'install',
fields: [{ key: 'proxy', part: 'url' }],
}
then list it in builtinAdapters in src/host/adapters/index.ts. The page, the HTTP endpoint and the agent tool all read that one table.
From another plugin:
const dispose = ctx.proxyManager.registerTool({ id: 'my-tool', name: 'My tool', kind: 'json', path: '~/.my-tool/config.json', fields: [{ key: 'proxy.url', part: 'url' }] })
| Field | Meaning |
|---|---|
kind |
File dialect: ini ([section] + key = value), props (key=value), yaml (top-level key: value), toml ([table] + key = "value"), json (dotted path), env (KEY=VALUE), shell (managed export block), xml (managed <proxy> element) |
path |
One path, a list of candidates (the first existing one wins), or a per-platform table; ~, $DSH_HOME and %APPDATA% expand |
section |
Section or table name for ini / toml; a field may override it |
fields[].key |
Key, dotted JSON path, or element name inside the managed block |
fields[].part |
url (whole address), scheme / host / port (stored separately), noProxy |
fields[].transform |
jvmNoProxy converts the bypass list to the JVM's | form |
binary |
Executable checked against PATH for the "not installed" hint |
proxy_manager with action:
status — every tool, its proxy and its configuration fileenable — write the proxy (tools limits it to specific ids, proxy overrides the saved address for the call)disable — remove it (optionally for tools)system — what the operating system proxy isUse system proxy reads the manual proxy of the OS (macOS scutil --proxy, Windows Internet Settings, GNOME gsettings). An automatic configuration script (PAC) or a TUN/VPN adapter exposes no fixed address, and the page says so instead of guessing.~/.npmrc, so enabling one shows both as enabled — that is the real state.explorer/xdg-open are implemented and unit-tested, but only macOS has been run end to end.pnpm 12 is pinned in package.json (packageManager); pnpm-workspace.yaml allows the one build script development needs (esbuild).
pnpm install
pnpm typecheck
pnpm build # lib/loader.js, lib/host.js, lib/client.js
pnpm test
pnpm build writes the committed lib/ artifacts; reload the plugin row (or restart once after installing) to load them.
MIT — see LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。