Overview
dsh-provider-proxy
README / EN
Package documentation
Registry summary
dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.
Read the full README on GitHubLIMITATIONS
Known limitations
- Supports HTTP and HTTPS forward proxies using Undici `ProxyAgent`. - Does not support SOCKS or PAC proxy URLs. - Covers provider implementations that use `globalThis.fetch`, including the native DSH DeepSeek adapter and the common fetch-based pi-ai providers. - Also wraps DSH's `llm.discoverModels()` path, so Models → “Fetch available models” uses the selected Provider's proxy when that request names a provider route. - If that Provider already has a non-empty static `models` list, DSH returns the catalog without network I/O by design; clear that list when you want to probe the provider endpoint and observe the proxy connection. - It does not rewrite `baseURL`. API relays/reverse proxies should be configured directly on the provider instead. - Provider SDKs that bypass Fetch and open sockets directly need a dedicated transport integration; this middleware deliberately does not enable a process-wide proxy fallback.
