dsh-output-styles
Runtime-switchable model output styles with Claude Code outputStyles parity, plus the output.render.* presentation protocol: a /style command, per-session persistence, systemPrompt injection, six built-in styles, a web picker, and a renderer registry with per-session/per-tool rules and /export.
Install
dsh plugin --profile web add dsh-output-styles
Sandbox test results
| Stage | Result |
|---|---|
| 1 install | ✓ |
| 2 list | ✓ |
| 3 mount | ✓ |
| 4 boot | — |
Four stages run in an isolated sandbox: install (network on) → list → mount → boot (last three with no network).
README
<div align="center">
🎨 dsh-output-styles
- 1024 store channel:
npm i -g dsh1024once, thendsh1024 plugin --profile web add dsh-output-styles(counts toward the deepseek1024.com install ranking).



Claude Code outputStyles for DeepSeek Harness — switch the model's output style at runtime, per session, durably.
/style concise — and every reply from now on is terse. /style off — back to the project default.
Official repository. This is the only official repository of dsh-output-styles, maintained by PerryLink. Same-name repositories under other accounts are not affiliated.









[English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
dsh plugin --profile <name> add dsh-output-styles
</div>
📖 Ecosystem knowledge base — measured data, not marketing: plugin development guide · plugin-selection data · maintenance criteria.
<!-- star-cta -->
Install & uninstall
- git channel (latest
main):dsh plugin --profile web add github:PerryLink/dsh-output-styles— thepreparescript builds with production dependencies only. - npm channel (published releases):
dsh plugin --profile web add dsh-output-styles. - tarball channel:
pnpm packin this repo, thendsh plugin --profile web add ./dsh-output-styles-<version>.tgz. - uninstall:
dsh plugin --profile web remove dsh-output-styles.
⭐ 如果它帮到了你
这个插件是 DSH 插件家族的一员(95 个,全部 Apache-2.0)。如果你在用,给个 star —— 它不会解锁任何功能,但会让下一个人在搜索里更容易找到它。
English: part of a 95 plugin family for DeepSeek Harness. If it is useful, a star helps the next person find it — nothing is gated behind it.
What is dsh-output-styles?
/style concise — and every reply from now on is terse. /style off — back to the project default.
Workflow overview: install → open panel → act. The examples below use the real command surface.
Compatibility
Surface · Status
Harness · DeepSeek Harness dsh-v0.2.1-rc.2 (adapted 2026-09-09): the session envelope keeps its ignorable field for stored-log read compatibility only - Session.append still cannot stamp it, so audit-gate behavior is unchanged. Verified 2026-09-11 against the dsh-v0.2.1-rc.2 checkout (full gate chain + profile install smoke).
Node · ^22.19.0 · · >=24.0.0
Platforms · All (host + web client)
Model · Any (system-prompt injection)
What you get
dsh-output-styles is the Claude Code outputStyles equivalent for DeepSeek Harness: a /style command that switches the model's output style at runtime, persisted per session, injected at every prompt assembly.
- Style library — one Markdown file per style (
styles/*.md); frontmatter for metadata, body = the model directive. Six built-ins ship in the box (concise,explanatory,formal,learning,proactive,step-by-step), including Claude Code-parityproactiveandlearning. /stylecommand — no argument lists styles (with descriptions) plus the current selection;/style <name>switches;/style offrestores the project default.- Session-scoped persistence — the choice lives in the
output_stylestorage domain, keyed by sessionId, and survives restarts. - System-prompt injection — a
systemPrompt.section()contribution (ordersectionOrder) injects the current session's style body at every assembly, truncated at a configurable budget. - Claude Code parity —
keep-coding-instructions,force-for-plugin(forcealias),outputStylesJSON compatibility, layeredstylesDirdirectories, hot reload, and a project-default fallback that is live-editable from the Web Plugins page. - **Renderer registry (
output.render.*)** —ctx.outputRendererslets any plugin register a pure presenter, applied through theoutput.render/beforewaterfall; built-in renderersconciseandstep-by-step. - Per-session/per-tool rules —
rules: [{ match: { tool: 'bash' }, style: 'concise' }]name the renderer for matching requests; live-editable from the Web Plugins page. /transcript— render the current session to Markdown or sanitized HTML thro
…(truncated)
Rendered from the README published on npm. Formatted only, not edited.
Versions
Published on npm::36,最后更新 2026-11-05