AngelosZou/dsh-python-env

AngelosZou★ 1JavaScriptLast synced: 2026-08-16

Open on GitHub

README excerpt

dsh-python-env English 中文 Workspace-scoped Python virtual environment management for a DeepSeek Harness project — discover, create, install into, and remove virtual environments without sandbox, network, or subprocess pitfalls. A DeepSeek Harness plugin that gives one project (workspace) agent-facing Python virtual environment management: - Five model tools — pyenv discover , pyenv create , pyenv install , pyenv uninstall , pyenv remove — plus the python-env skill and a system-prompt guidance section. - Runs the standard library python -m venv / pip through the platform subprocess channel (host process) instead of the sandboxed shell, so venv creation, ensurepip bootstrapping, and package-index network access work where shell-side pip fails. - Mirror and proxy fallback — on a network-classified failure, installs retry across PyPI mirrors (TUNA, Aliyun, USTC) and probe common local proxy ports; index / proxy arguments pin either. - Workspace confinement — every path resolves inside the session workspace (case-insensitive on Windows); caches and temp state live under /.dsh-pyenv/ ; commands are argv arrays (no shell); the global Python environment, host pip cache, and system temp are…

View full README on GitHub →
Tools / Devdsh-plugindsh-pluginsagent

Category