beihzb/dsh-envsel

beihzb★ 3TypeScriptLast synced: 2026-08-21

Open on GitHub

Per-session environment selector for DeepSeek Harness: Python / R / CLI slots from conda, standalone R, WSL, or custom paths, via /env, session_env, DSH_ENV_* facts, and a header dropdown.

README excerpt

dsh-envsel English 中文 Session environment selector for DeepSeek Harness (DSH). Per-language slots — Python, R, CLI tools — each hold one first-priority environment drawn from conda , standalone R installs, WSL distributions, or user-pinned custom paths . Selections are per-session, persisted across restarts, and take effect for the model from the very next turn. This is a standalone, npm-installable DSH plugin . It installs with dsh plugin add — no source patching, no monorepo checkout. Features - /env command — read, assign, clear, and list environments from the chat. - session env model tool — the agent can list, select, pin, and unpin environments on its own. - DSH ENV shell facts — every shell call sees DSH ENV PYTHON , DSH ENV RSCRIPT , DSH ENV CLI PREFIX for the session's selection. - Header dropdown — a per-language selector in the conversation header (Python / R / CLI tools), with an "Add path" form to pin any interpreter or install directory. - Cross-platform discovery — conda environments, standalone R (Windows Program Files , macOS framework + Homebrew, Linux /opt/R ), WSL distributions on Windows, and manually pinned paths. WSL scanning is skipped automatically on non-W…

View full README on GitHub →
Terminal / TUIcondadeepseek-harnessdshdsh-pluginenvironmentpluginpythonr

Category