rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:qianyumeng0228/dsh-plug-store
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
A plugin marketplace inside DeepSeek Harness. It renders the
dsh-store catalog as a section of the host's
Settings page and performs real install / update / uninstall / backup by driving the
dsh plugin CLI — not "copy this command" placeholders.
29,593 community plugins in the catalog, 14,344 of them one-click ready, Chinese-first descriptions, live progress on every operation, and a task log that survives a restart.
# npm release
dsh plugin --profile <profile> add dsh-plug-store
# or straight from GitHub — no build step, zero runtime dependencies
dsh plugin --profile <profile> add github:qianyumeng0228/dsh-plug-store
npm is published up to 0.1.30, in sync with the latest GitHub release. Both install forms are equivalent; use the
github:form above only for unreleased intermediate commits.
Restart the host afterwards, or let profile HMR pick it up: the plugin declares a bundle, so
dsh.bundle.patch usually reloads it without a restart.
--profile web on a desktop machine writes into profiles/web, which the Desktop app does not
load — the entry will simply never appear.profile in the plugin config → the
directory the plugin itself is installed in (~/.dsh/profiles/<profile>/…) → DSH_PROFILE →
web. Installing into desktop therefore operates on desktop.Requires a cordis-based DSH host (developed and verified against 0.2.1-rc.2; peer
@deepseek-ai/cordis ^4.0.1). On an unsupported host the section does not mount.
Settings → Plugin Store (设置页 → 插件商店), registered through the host's
settings.section slot. The UI is also served at /dsh-store/ on the host's loopback port, so
you can open it directly in a browser.
dsh plugin against the
correct profile and reports what actually happened. pnpm answers "Already up to date" with
exit code 0 when asked to re-add a pinned dependency, so an update explicitly carries the target
version and then re-reads what is installed: the UI says updated only when a version really
moved, and says nothing changed when it did not.ndjson
reporter (resolving / downloading / linking / building, current package, byte counts). Failures
are mapped from 13 ERR_PNPM_* codes to plain-language hints. The log persists to
~/.dsh/store-data/tasks.json, survives a restart (interrupted tasks are reported as
interrupted rather than silently disappearing), and completed or failed rows can be cleared in
one click.file:, link:,
workspace:, git+…) are excluded, so they are never offered an update that would overwrite
them.raw.githubusercontent.com, blob links rewritten),
landscape shots only, click for a lightbox with prev/next.cordis patch as readable JSON
for migration; diagnostics checks the dsh CLI, the profile directory, the data source and the
live layout of the embedded page.scrollHeight, so the frame also shrinks
back when you move to a shorter tab.The catalog is built daily by
qianyumeng0228/dsh-store and published to GitHub
Pages. This plugin reads it through its own same-origin route (/dsh-store/data/plugins.json),
which caches the snapshot at ~/.dsh/store-data/plugins.json for 24 hours and refreshes in the
background once stale — opening the store stays fast and does not depend on the CDN being
reachable at that moment. Responses are gzip-negotiated with a weak ETag.
The snapshot is deliberately not vendored into the package: shipping it would freeze a copy that goes stale daily, and the cache above already gives the same first-paint speed.
All routes live under /dsh-store/; the api/* ones are guarded (see Security).
| Route | Purpose |
|---|---|
GET /api/capabilities |
feature discovery; the UI switches into host mode on seeing it |
GET /api/installed |
installed package names, versions, kinds and source repos |
POST /api/install |
{source:"npm",name,version?} or {source:"github",repo,ref?} → 202 {taskId} |
POST /api/update |
same payload; returns from / to / changed |
POST /api/uninstall |
real removal, two-step confirmation in the UI |
GET /api/tasks |
queued, running and finished tasks with progress |
POST /api/tasks/clear |
drop completed and failed rows only |
GET /api/backup |
profile plugin list plus cordis patch as JSON |
GET /api/diagnose |
CLI, profile, data source and embedded-layout health |
GET /data/plugins.json |
catalog proxy with local cache and remote fallback |
Identifiers are validated before anything reaches the CLI: npm sources must be package names,
GitHub sources must be a full owner/repo (a bare repo tail would build an invalid
github:dsh-xxx), and any value starting with - is rejected so it cannot be parsed as an
option.
GET /api/installed returns both names and details, because the catalog's display name and your
machine's dependency key often differ (yujunzhixue-dsh-purge in the catalog is dsh-purge on
disk) — matching on either alone silently loses half the installed list.
Host (localhost / 127.0.0.1 / [::1]) plus a custom
x-dsh-store: 1 header — a cross-site page cannot set that header without a preflight it will
lose. The page itself and the catalog stay open, because they are public data.~/.dsh/profiles/<profile>/ (through
dsh plugin) and ~/.dsh/store-data/ (its own task log and data cache).allowBuilds) in the host; the queue
surfaces that instead of hiding it.plugins:
dsh-plug-store:
profile: desktop # omit to auto-detect from the install path
# path: /dsh-store # route prefix
# dataUrl: https://qianyumeng0228.github.io/dsh-store/data/plugins.json
dsh-plug-store/
├── index.js # host side: /dsh-store/* routes + dsh CLI child processes (no deps)
├── cordis.patch.yml # bundle declaration consumed by dsh.bundle.patch
├── client-src/index.js # client source (React)
├── client/client.js # hand-maintained bundle of the above
├── site/index.html # store UI — byte-identical copy of the upstream file
├── assets/logo.svg # brand mark
└── .github/workflows/ # sync-upstream.yml keeps site/index.html current
npm install # dev-only tooling (esbuild + react); neither is shipped in the package
npm run check # node --check index.js
Two rules that have each caused a shipped bug:
client/client.js is a hand-maintained bundle. Inside it React is referenced as
import_react.default; pasting React.useState / React.createElement from client-src
produces a blank panel. Change both files together.site/index.html is a byte-for-byte copy of the file in
qianyumeng0228/dsh-store, which is the single
source of truth for the UI. Host-specific behaviour is detected at runtime inside that same
file, so the two copies must stay identical: edit upstream, then sync.| Symptom | Cause |
|---|---|
| The section never appears | installed into a profile the running host does not load (see Install) |
| Store panel is blank | client/client.js out of sync with client-src/index.js |
| Update "succeeded" but nothing changed | an update path without an explicit version — see What you get |
| Task list empty after a restart | it was cleared; in-flight tasks are kept and marked interrupted |
| Catalog looks a day old | local cache; run Advanced → diagnostics, or delete ~/.dsh/store-data/plugins.json to force a refresh |
This repository is the marketplace app, not the catalog. Listings are produced by the
dsh-store pipeline — seed registries, GitHub
topic scan, npm keyword crawl, each entry checked for package.json#dsh evidence. To get a plugin
listed, or to report a wrong entry, open an issue there; the store's Submit tab builds a
pre-filled one.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。