Settings page for editing DSH agent presets as a plugin tree, with per-plugin parameter forms and custom presets.
Install
# from a prebuilt release tarball
dsh plugin --profile web add -w "https://github.com/DAnonyvinciT/dsh-preset-composer/releases/latest/download/dsh-preset-composer.tgz"
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:DAnonyvinciT/dsh-preset-composer
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
English | 简体中文
A visual editor for DSH agent presets. It adds a Preset composer section to Settings, next to Agent presets.
![]()
What it does
- Lists every agent preset, shipped and custom, and shows its plugin rows, parameters and
!!jsexpressions read-only. - Edits a preset as a tree: add, remove, reorder and drag plugin rows, toggle them on or off, and put rows inside
cordis:groupgroups. - Opens a parameter dialog for a plugin row. Fields come from the installed DSH
docs/config-catalog.md(144 modules in DSH 0.2.2-rc.5) with defaults from the config schema. Plugins missing from the catalog fall back to raw JSON. - Groups the plugin library by purpose (tools, prompt, models, subagents, sessions, permissions, shell, host services, interface, experimental) and searches by name, title and description.
- Warns when a plugin needs a service that nothing in the preset provides (for example, persistent bash needs
terminals, which@deepseek-ai/dsh-terminalprovides) and offers a one-click button to add the provider. The plugin library marks such plugins withNeeds: …. The warning does not block saving. - Warns when a provider such as
dsh-terminalsits outside a group that isolates its service. The Host rejects that withPreset services require isolate realms: terminals. One click moves the provider and the plugins that use it into a group withisolate: { terminals: true }, the same layout as the built-in minimal preset. - Warns when two enabled plugins register the same tool name (for example
dsh-tool-bashanddsh-tool-bash-persistentboth registerbash, which the Host rejects withtool "bash" is already registered in this scope) and offers a button to disable the later one. - Creates and duplicates custom presets. Saving a shipped preset writes an override through the
configEditorservice; Reset removes it.
Preset changes apply to new sessions. Existing sessions keep the preset they started with.
Install
Requires DSH 0.2.x. Download dsh-preset-composer.tgz from the latest release, then:
dsh plugin --profile <name> add ./dsh-preset-composer.tgz
Or from source: dsh plugin --profile <name> add github:DAnonyvinciT/dsh-preset-composer (pnpm needs allowBuilds approval only if a build script exists; this package has none).
Restart DSH after installing.
Parts
lib/index.js: Host plugin. ServesGET /api/preset-composer/stateandPOST /api/preset-composer/{save,delete,reset}.lib/store.js: Host plugin (dsh-preset-composer/store). Registers valid custom presets from its ownpresetsconfig with theagentPresetsregistry.lib/model.js: validation, normalization, revisions and the plugin palette.lib/deps.jsandlib/deps.json: which plugins need a provider row for which service.lib/deps.jsonis generated byscripts/gen-deps.mjs; rerun it after upgrading DSH.lib/catalog.js: parses the installedconfig-catalog.mdinto per-plugin field lists.lib/defaults.json: parameter defaults generated byscripts/gen-defaults.mjsfromdsh web --dump-config-schema. Regenerate after upgrading DSH.client.js: the Settings section (React,dpc-prefixed styles, host theme tokens).
Develop
node --test test/
node --check client.js lib/*.js
Limits
- The read-only view shows configuration values as stored, including any secrets in plain text.
- Parameter defaults are missing for some modules; those fields show no default.
- Preset editing needs an editable profile (the plugin must be installed in the profile root).
License
MIT
Links
More in this category
yjh051108/dsh-routing-suite★ 7028
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★ 3942
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★ 1481
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★ 623
Manages local DeepSeek Harness skills in Settings and shows shared Agent skills as read-only.
hust-open-atom-club/oh-dsh★ 324
Community distribution: TUI, desktop, and Web UI as one bundle with layered installation.
Fishquito7/dsh-skill-mcp-panel★ 290
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.