Preface¶
The philosophy of DSH is “everything is a plugin.” When actually using DSH, the profile contains bundles, plugins, and patches; what truly affects the execution results is often not just one plugin, but the entire loading sequence and override configurations.
Common troubles usually aren’t about “can it start,” but rather these things:
- What profiles are actually available on the local machine
- Which bundles, plugins, and patches a specific profile is currently loading
- How to copy a usable configuration before experimenting
- How to hand over the entire dsh setup to others while trying to preserve the original structure
Dsh itself can launch a profile and forward installation to pnpm. Verified materials indicate that it cannot create an empty profile, nor can it directly list local profiles or copy a set of usable configurations before an experiment; these often had to be handled manually in the past. Below is an introduction to asdf17128/dshp, which centralizes these profile management actions into a command-line tool and can also be installed as a DSH plugin.
What is this¶
The positioning of dshp can be summarized as: managing DeepSeek Harness profiles—listing, creating, cloning, and sharing the entire dsh setup as a portable file.
Basic information:
- Repository:
asdf17128/dshp - License: MIT
- Runtime requirements: Node 18+
- Verified compatibility:
@deepseek-ai/dsh0.1.0-rc.5
Core Features¶
The capabilities introduced below are all derived from verified materials:
- List local profiles and display bundle/plugin counts and disk usage
- View the bundle loading order, plugins, and patches of a specified profile
- Create a new profile, supporting
--webor--headless - Copy an existing profile while preserving
node_modules - Export a profile as a single portable file
- Import from a file and rebuild a profile
- Compare differences between two profiles
- Delete a specified profile
Installation and Usage¶
When used as a CLI, the example given in verified materials is:
npx github:asdf17128/dshp ls
When installed as a plugin, the example given in verified materials binds --profile web:
dsh plugin --profile web add github:asdf17128/dshp
To remove this plugin:
dsh plugin --profile web remove dshp
Verified materials do not provide a more generic form of the plugin installation command, so only the commands explicitly appearing in the materials are shown here.
Typical Usage¶
First, view which profiles are on the local machine:
npx github:asdf17128/dshp ls
If you want to copy a copy from web for experimentation, first copy it, then make mistakes on the copy:
dshp clone web web-experimental
After confirming that sharing is needed, you can export the current configuration:
dshp export web -o my-setup.dshp
On another machine, import that file:
dshp import my-setup.dshp
The import will rebuild the profile and install plugins via dsh’s own pnpm; therefore, this step requires a working dsh. Other commands are pure file system operations as described in verified materials.
Compare two profiles:
dshp diff web web-experimental
After the above experiments, if the copy is no longer needed, it can be deleted:
dshp rm web-experimental --yes
Use Cases and Notes¶
dshp is suitable for users who need to frequently organize, copy, and share DSH profiles. Pay attention to the following before using:
importrequires a working dsh and installs plugins via dsh’s own pnpm; other commands are pure file system operations- Bundle order is part of the format, and reordering will be reported as a real difference by
diff - Patches are copied byte-by-byte and not re-serialized to avoid YAML round-trip destruction or evaluation issues
- After removing the plugin installed as a plugin, the
list_profilesandexport_profiletools will be removed; verified materials state that profiles are not affected and the plugin is read-only - dshp runs with the permissions of the current dsh process; the source code and MIT license should be checked before installation
- The DSH community directory is an independent site with no official affiliation with DeepSeek / Fenxiang and should not be considered an official app store
Conclusion¶
The value of dshp lies in making common maintenance actions for DSH profiles visible, reproducible, and shareable: list local, check details, copy for experimentation, export files, import and rebuild, compare differences, and delete for cleanup.
GitHub: https://github.com/asdf17128/dshp
Directory page: Verified materials did not provide a URL; please refer to the actual release channels.