DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

Gipbear /

Gipbear/dsh-py-nav

Verified

Python code navigation plugin (Go to Definition, Find References, Hover, Outline) for DeepSeek Harness — local, WSL, and SSH/dsh-remote

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@05af359b

dsh-py-nav

Python code navigation plugin for DeepSeek Harness (DSH) — brings VS Code-style Ctrl+Click / F12 Go to Definition, Shift+F12 Find All References, Hover type signatures & docstrings, Document Symbols, and Alt+←/→ history to local (Ubuntu/Linux/macOS/Windows), WSL, and SSH / dsh-remote Python workspaces.

Features

  • Works directly inside dsh-remote file viewer & IDE mode: Automatically attaches to dsh-remote's .py/.pyi editor (both read-only highlight view and edit mode) and auto-reads $DSH_HOME/remote-workspaces/*/*/.dsh-remote-meta.json so multi-host / multi-repo SSH projects need zero duplicate setup.
  • Native DSH .py/.pyi Document Preview (Monaco Editor): Replaces static read-only previews with an offline-bundled Monaco Editor wired to persistent Python LSP.
  • Dedicated Python Nav Sidebar Tab: Browse and navigate local, WSL, or SSH Python repositories directly from DSH's right sidebar.
  • Zero-config Local Linux / Ubuntu mode: When running directly on Ubuntu / Linux, defaults to transport: 'local' and automatically discovers & switches Python project roots (pyproject.toml, pyrightconfig.json, ty.toml, setup.py, .venv, .git).
  • Dual-carrier compatible: Registers /api/py-nav on ctx.connection.fetch (Electron Desktop IPC + Web HTTP) with webServer fallback.
  • Fast persistent Python LSP: Auto-detects ty (Astral's Rust Python LSP), basedpyright-langserver, or pyright-langserver in the project's .venv or user PATH.

Shortcuts

Shortcut Action
Ctrl+Click / F12 Go to Definition (same file, cross-file, or external .venv / typeshed)
Shift+F12 Find All References across the workspace
Ctrl + Hover Type signature & docstring tooltip
Alt+Left / Alt+Right Navigate Back / Forward
Esc Dismiss References drawer or Definition picker

Prerequisites (on the host running Python)

Install at least one Python LSP server (recommended: ty):

uv tool install ty
# or: pip install ty / basedpyright

Build & Pack

npm install
npm run typecheck
npm run build
npm pack --pack-destination dist

Install into DSH

# DSH Web (Ubuntu / Linux / macOS / Windows)
dsh plugin --profile web add dsh-py-nav

# Or install directly from a GitHub Release tarball
dsh plugin --profile web add https://github.com/Gipbear/dsh-py-nav/releases/download/v0.1.0/dsh-py-nav-0.1.0.tgz

In DSH Desktop, open Plugins and install dsh-py-nav, then restart DSH.

Settings are persisted to ~/.dsh/py-nav.json.

Integration Tests

npm run test:local   # Local Ubuntu/Linux zero-config + Fetch API
npm run test:wsl     # Windows -> WSL Ubuntu transport
npm run test:ssh     # Windows -> OpenSSH + dsh-remote mirror auto-binding
—/ 5

No ratings yet

Verified DSH bundle

Commit 05af359b7172

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout