pgmi-builds/better-dsh
Make your dsh ready for serious coding. (Tools x Schemas)^REPL. skill://, ctx://, agent://, dvc://, dsh://, IPython REPL, Context as Variables, cross compaction recallable, full context revive. hash-edit, dvc://browser, subagent as a function, workflow as a function.
Project Overview项目介绍
Dashr is a plugin (not a fork) for DeepSeek Harness (dsh) that upgrades the native runtime into a full development environment. Core capabilities include a session-persistent IPython kernel, unified scheme:// resource addressing (skill, ctx, agent, dvc, dsh), a built-in IDE with LSP diagnostics and AST codemods, agent swarms (subagent, workflow, ralph, send_message), dill snapshots, and a self-managed CPython 3.11 virtual environment. Use it for serious, long-running coding where state retention and a rich toolchain matter. Caveat: cell code runs with the local user's permissions, so run Dashr in a trusted or containerized environment.
Dashr 是 DeepSeek Harness (dsh) 的插件(非分支),将原生 dsh 升级为完整开发环境。核心能力是会话持久化的 IPython 内核、统一的 scheme:// 资源寻址(skill、ctx、agent、dvc、dsh)、集成 LSP/AST 的内嵌 IDE、子代理/工作流/Ralph 循环调用、dill 快照以及自管的 CPython 3.11 虚拟环境。适用于需要长时多轮编码、状态保留与丰富工具链的严肃开发场景。注意:单元格代码以本地用户权限执行,应在受信环境或容器内运行。
请帮我了解并安装插件:【better-dsh】【https://github.com/pgmi-builds/better-dsh】
Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add --config.auto-install-peers=false better-dsh@latest
把 pgmi-builds/better-dsh 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
Better Dsh — Dashr
Dashr (/ˈdæʃ.ɚ/) makes your native dsh ready for serious coding.
Why
$(\text{Tools} \times \text{URL schemas})^{\text{REPL}}$ - a concise, cognitively frictionless setup delivering maximal capacity.
Universal Tools -
read,write,grep,glob.URL schemas -
skill://,ctx://,agent://,dvc://,dsh://, an intuitive, unified interface for runtime resources.Persistent REPL Kernel - IPython (compared with the native ephemeral TS REPL).
(20+ tools × 5 schemas) ^ REPL free composition = ∞
Context as Variables - full session transcripts are accessible as variables, even cross compactions.
Full Context Revive — full-namespace
dillsnapshots save and restore kernel state across restarts.
{ "cell": "
scout = await agent('agent://ralph', 'graph-analyze this codebase; scout the breaking points to add tests')
ui = await read('dvc://browser/127.0.0.1:3080')
me = await read('ctx://transcript')",
"description": "one cell: agents × devices × session" }
✨ Other Features
- Agent swarm as resources — sub-agents, workflows, and Ralph loops are first-class calls (
subagent,workflow,ralph,message). - KeepRecency context compactions - preserve recent relevancy. Resets the default 80% compaction threshold to 50% as "usable" context max.
- A simplistic global LLM-endpoint failover, absent in the native build (a safeguard for long-range, unattended tasks).
- keeps the system prompt to ~3–4K tokens.
dvc://browser- browser use ready.- All
host planewired — you do not even see any difference from yourdshUI; it just silently fuels up thedshbase. - iOS PWA Ready - minor UI twists that make the webUI a decent PWA for iOS
Add to Home Screen.
Recommended Companion Plugin(s)
dsh-better-sidebarcortimulti-agent memory plugin
⚡ Quick Install
dsh plugin --profile web add --config.auto-install-peers=false better-dsh@latest
📚 Inspiration & Attribution
better-dsh is an open-source plugin for DeepSeek Harness (dsh) (MIT). It stands on the shoulders of earlier open-source work:
- BetterEdit (
dsh-better-edit, by Rianico) — the hash-anchoredread→edit→undo_last_editediting model. Dashr adopts this toolchain (itself a lineage ofpi-hashline-edit→pi-hashline-edit-lsz→dsh-better-edit) with attribution, and re-wires it natively. - omp-agent (oh-my-pi, by Can Bölük) — the
dvc://device framework and itsast_edit/ast_grep/browser/lspdevices, adopted under its MIT license. - Prime Agent (Prime Intellect) — the Context as Variables paradigm that shapes the persistent-kernel model.
All upstream dependencies carry their original MIT licenses, recorded in the source tree.
📄 License
MIT. See LICENSE.
Thanksgiver233/comm-protocol-hub
Awesome-AI-Pedia/Awesome-AI-Pedia
imsai-sh/awesome-deepseek-harness-plugins
2BingLing/dsh-market
hr98w/dsh-memory
imsai-sh/dsh-1024store
titanwings/dsh-better-browser