Agent-facing plugin installer that resolves DSH-compatible versions, handles ambiguous names, and verifies the loader entry after install.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-plugin-resolver
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:sakikoTGW/dsh-plugin-resolver
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
I built this because handing plugin installs to an agent kept going wrong. The community catalog is 8 MB and takes about 90 seconds to pull from GitHub Pages. There are 406 groups of same-name plugins; dsh-browser alone has nine owners. The latest tag doesn't always accept the running core, and when it doesn't, the host quietly disables the plugin on boot. GitHub-only repos often ship no build output, so main points at a file that doesn't exist and the plugin installs but never loads.
Those checks were being redone every time. I put them into the plugin, so an install is one tool call.
If you are the agent, start with llms.txt. The full contract is in agent.json.
Here it is running
Doing this by hand took 45 tool calls and over 20 minutes. The plugin does it in 6 calls and about 3 minutes, with no retries. The measurements and the ablation are in BENCHMARK and ABLATION.
Install
| Plugin market | npm |
|---|---|
I usually just tell the agent:
Install dsh-plugin-resolver, then use it to install dsh-browser.
Market index source:
https://sakikoTGW.github.io/dsh-plugin-resolver/market/index.json
dsh plugin --profile <profile> add dsh-plugin-resolver
GitHub source or tarball:
dsh plugin --profile <profile> add github:sakikoTGW/dsh-plugin-resolver#<commit>
How it works
| Stage | Tool | What comes back |
|---|---|---|
| Search | plugin_search |
Catalog hits, owner, stars, npm name, ambiguity |
| Resolve | plugin_resolve |
Package, install spec, registry, source-build need |
| Install | plugin_install |
Changes to profile, lockfile, plugin-sources |
| Verify | plugin_status |
Bundle, loader entry, fiberPhase |
| Report | return value | Applied state, restart decision, next step |
plugin_install writes the environment. The other three are read-only.
Ecosystem
- dsh-plugins: the plugin set and catalog
- dsh.so: L5 run-verified
- dshbase: Verified
- Market index source:
https://sakikoTGW.github.io/dsh-plugin-resolver/market/index.json
What it covers
| Capability | npm | GitHub-only | Explicit spec |
|---|---|---|---|
| Same-name disambiguation | ✓ | ✓ | ✓ |
| Compatible version | ✓ | ✓ | Yours to give |
| Source build | — | ✓ | Per spec |
| Post-install check | ✓ | ✓ | ✓ |
| Restart decision | ✓ | ✓ | ✓ |
Features
- It doesn't pick between same-name plugins for you. Search returns every candidate with owner, stars and npm name, and you pass
owner=or a full spec. - Versions are solved against
engines.dshand same-namespace peers. What comes back is an install spec you can review first. - For GitHub-only packages with no build output, it runs
pnpm installandpnpm run build, then installs throughlink:. - After install it reads back the bundle, loader entry and fiberPhase. The manager's actual result decides whether a restart is needed.
Validation
npm test # 45 passing: 35 logic + 10 harness
The machine-readable entry lives in agent.json under validation. CI is in test.yml.
Contract for agents
{
"tools": ["plugin_search", "plugin_resolve", "plugin_install", "plugin_status"],
"versionRule": "engines.dsh first; otherwise same-namespace @deepseek-ai/dsh peers",
"ambiguity": "owner= or a full spec",
"writes": ["profile", "lockfile", "plugin-sources"],
"restart": "plugin manager result"
}
The full contract is in agent.json, and the agent index is llms.txt. Issues go to GitHub; more plugins are in dsh-plugins.
Reference
Web version: sakikoTGW.github.io/dsh-plugin-resolver/docs/
| Topic | Where |
|---|---|
| Four tools | docs/TOOLS.md |
| Version selection | docs/VERSION-SELECTION.md |
| Install paths and restarts | docs/INSTALL-PATHS.md |
| Architecture | docs/ARCHITECTURE.md |
| Evidence | docs/EVIDENCE.md · BENCHMARK · ABLATION |
| Tests and CI | docs/TESTING.md |
| Known limits | docs/LIMITATIONS.md |
| Feedback and security | docs/SECURITY.md · Issues |
| License | LICENSE |
Links
More in this category
yjh051108/dsh-routing-suite★ 7030
One repository, three parts: a runtime injector for DSH plugin packages (inject, hot-reload, unload, promote a dev staging tool to the front, route self-heal, plus a settings-page plugin manager that lists, unloads and drags folders in to internalize), a task-aware reasoning-mode router agent preset (router-standard / router-spec / router-react), and a graded two-level task protocol whose six tools (commit_star, lock_stage, revise_do, edit_plan, mark_task, redteam_verdict) pin task state to disk. The injector implementation ships in-tree, so the install carries its own behaviour rather than a dependency list.
strukto-ai/mirage#dsh★ 3971
Swaps the filesystem and bash providers for a mirage virtual workspace: file tools and shell commands run over mounted resources (RAM, S3, Redis, Slack, Gmail, Notion, Postgres) instead of the host disk, with per-mount read/write/exec modes, per-command sandbox routing (monty, pyodide, quickjs in process; docker, e2b, daytona remote), and installed CLIs (git, gh, slack, linear, ntn, gws, or one you register) as head words in the virtual terminal.
first-fluke/oh-my-agent#dsh★ 1498
Runs project OMA checks before and after tool execution and when a turn tries to finish. Installs its OMA CLI dependency and initializes unconfigured projects on first use. Requires Node.js 22+; initial setup needs network access and project write access.
MichengAI/dsh-skills-manager★ 643
Manages local DeepSeek Harness skills in Settings and shows shared Agent skills as read-only.
hust-open-atom-club/oh-dsh★ 327
Community distribution: TUI, desktop, and Web UI as one bundle with layered installation.
Fishquito7/dsh-skill-mcp-panel★ 296
Manages DSH skills and MCP servers from the web settings: skill cards with hot enable/disable, workspace scopes, groups, batch migration and drag-and-drop import, plus stdio/HTTP MCP CRUD with connection tests, secret redaction and the unified dsh-panel CLI.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.