Skip to main content

How to use dsh-suite

DSH Chinese Agent Preset Package: Adds a "Preset Package" entry in Settings for one-click installation of 6 Chinese writing/learning/translation presets. They immediately appear in the Agent presets selector without requiring a restart.

This article is auto-derived from indexed fields (wiki / faq / compatibility_json), not freshly AI-generated.

This article is derived from the plugin's already-indexed fields (wiki / faq / compatibility_json / readme), not freshly generated by AI. Source field is noted at the end of each section.

Quick start

dsh-suite (preset-center)

— source: plugin_wiki.wiki_content

Install & verify

dsh plugin --profile web add @dsh-suite/preset-center

Run the command above in your DSH Web Profile. Then enable the plugin in the plugin list.

— source: plugins.install

Key points

— source: plugin_wiki.readme_en (fallback readme_raw)

FAQ

What needs to be done after installation to make the presets take effect?

No need to restart DSH. This plugin writes preset files directly to the official user preset root (~/.agent-presets//). The official agent-presets plugin rescans this directory on each call. After installation, go to Settings → Agent presets and select the corresponding preset to start a conversation (packages/preset-center/README.md:23-29 / lib/index.js:20-22).

What is the relationship with the official standard agent preset? Is it overwritten or newly added?

It's a new addition. After presets are written to the official user preset root, they appear in the Agent presets selector with independent IDs, coexisting with the official standard; they won't replace or affect standard presets (packages/preset-center/README.md:23-29 / lib/index.js:47-56).

Which presets are installed? Why does the README only list 3 but there are 6 in the interface?

Actually 6 presets are packaged: Little Red Book Note Assistant / Chinese Copy Polishing / Daily/Weekly Report Generator / Study Reading Notes Assistant / Translation & Bilingual Polishing / Brainstorming & Topic Planning. The README table only lists the first 3, which is out of sync with the documentation. The presets/ directory and interface both show 6 presets as the standard (packages/preset-center/presets/*/preset.yml / lib/index.js:38-45).

Do these presets all execute shell commands? Are they safe?

No. All 6 presets explicitly disable tool-bash and tool-pwsh in their agent.cordis.yml files, turning off shell execution. Available tools are fs / fs-search / skill / ask-user / todo. Some presets (Little Red Book, Reading Notes, Brainstorming) additionally enable web search (packages/preset-center/presets/*/agent.cordis.yml / lib/client.js:98-102).

How to uninstall a specific preset?

Click "Remove" on the scene pack card in Settings. This plugin will call /preset-center/remove to delete the corresponding subdirectory under user root. The preset-center itself is not uninstalled, and the 6 presets can be removed independently one by one (lib/client.js:70-80 / lib/index.js:58-62).

Where are the presets installed? Do I need to reinstall if I switch computers?

Installed in <DSH_HOME>/.agent-presets// (DSH_HOME defaults to ~/.dsh, can be overridden via environment variable). This directory follows the user's home, not the plugin, so if you switch computers or reinstall DSH, you need to reapply with one click (lib/index.js:17-22, 47-56).

Where is the "Scene Packs" entry in the interface? How to open it?

After restarting dsh web, the browser Settings page will have an additional section called "Scene Packs / Preset Packs" (label injected by client, order: 70). After expanding, you can see 6 preset cards. Each card supports "Preview / One-click Apply / Remove" (packages/preset-center/lib/client.js:131-137).

— source: plugin_wiki.faq_json

Compatibility

  • DSH: 未声明(package.json 仅声明 dsh.bundle.patch 与 dsh.client,无 dsh.engines 字段)
  • Node: ^22.19 || >=24(packages/preset-center/package.json:32-34)

— source: plugin_wiki.compatibility_json

Pitfalls

Review the upstream repo before installing. This guide is auto-derived from indexed fields and may lag the latest release. If anything contradicts the official docs, treat the upstream source as authoritative.

— source: general rule