jupyter-dsh-proxy
A jupyter-server-proxy launcher entry for the DeepSeek Harness (dsh) web UI.
It adds a "DeepSeek Harness" tile to the JupyterLab launcher that opens the dsh web UI in a new tab — without requiring code-server / VS Code to be running first.
How it works
The dsh web server is started independently at pod boot by the
41-dsh-web boot hook (in the divenb image), which runs dsh web on a fixed
loopback port. This package registers a PORT-mode proxy spec that points at
that already-running server:
browser → jupyter-server-proxy (/dsh/) → dsh web (127.0.0.1:<port>)
The spec uses {"port": <P>, ...} — not url mode. jupyter-server-proxy
4.x's ServerProcess has no url traitlet; a url-only spec registers no
proxy handler and the tile 404s. Port mode registers a real _Proxy handler at
the tile's link path (/…/dsh/). request_headers_override pins the Host
header to the loopback bind (mirrors jupyter-hermes-proxy).
The same dsh web instance is shared with the VS Code extension: the
extension only auto-starts dsh web when nothing is already listening at its
dsh.url, so a boot-hook-owned instance is used by both entry points.
Port selection
The launcher resolves the target port in this order:
~/.dsh/web.port— written by the41-dsh-webboot hook (single source of truth for a non-default port).DSH_WEB_PORTenv var — a literal number, orrandom/auto/0to pick a free port (used only ifweb.portis absent).- default 3080 — the dsh web default and the VS Code extension default, so both entry points agree with no configuration.
The port is a documented dsh web flag (dsh web --port <P>), not a patched
default, so it survives dsh version bumps.
Installation
uv pip install /path/to/jupyter-dsh-proxy
The dsh entry point is auto-discovered by jupyter-server-proxy; no additional
configuration is required. The launcher tile appears under the "Other"
section.
Metadata
Release files for jupyter-dsh-proxy 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jupyter_dsh_proxy-0.2.1.tar.gz | 154.7 kB | Without provenance | Details for jupyter_dsh_proxy-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jupyter_dsh_proxy-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for jupyter_dsh_proxy-0.2.1-py3-none-any.whl |
Total release size: 184.7 kB
Release files / jupyter_dsh_proxy-0.2.1.tar.gz
| Download URL | jupyter_dsh_proxy-0.2.1.tar.gz |
|---|---|
| Size | 154.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9cc2714f7898ad1fdf920b4eb3f4a955ad2c852eea1f51603e101ba522eb6154
|
|
BLAKE2b-256 checksum How to use checksums |
df17e52462c07e06d2b4852c52e5cecf9b679de12aadb14a0010d8c11e44d6b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.5
|
Release files / jupyter_dsh_proxy-0.2.1-py3-none-any.whl
| Download URL | jupyter_dsh_proxy-0.2.1-py3-none-any.whl |
|---|---|
| Size | 30.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
56fd5b214da925b4f3691f798a1d1fce6cc2c73db4fe0c09dd0a395f6a616277
|
|
BLAKE2b-256 checksum How to use checksums |
3a4e70b8764a923edad1f1095b924bca40874e978fce1d7a76faf6a98032deb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.5
|
Security for jupyter-dsh-proxy 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.