PerryLink/dsh-output-styles5

dsh-output-styles

提供运行时输出风格切换与兼容性支持

AI 分析

适合需要自定义或兼容Claude Code输出风格的用户。

套件
dsh-output-styles
版本
0.6.16
授權
Apache-2.0
最近更新
2026年9月12日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PerryLink/dsh-output-styles

Configuration

All tunables are Schemastery Config fields (changeable from cordis.yml). Invalid values fail the load.

KeyDefaultMeaning
stylesDir[]Style-library directories, resolved against cwd; later entries override earlier ones. [] = the bundled styles/ only
maxStyleChars4000Style-body budget (≥ 1); longer bodies are truncated with a marker
defaultStyle''Style for sessions that never selected one (and no settings default exists); '' = no style
compatJsontrueLoad Claude Code outputStyles JSON entries (single objects or arrays)
sectionOrder90Order of the injected section (0 = persona, 100–199 = tool guidance)
truncationMarker"\n\n[style truncated]"Marker appended at the truncation point
includeBuiltinstrueInclude the package's bundled styles/ as the lowest-priority layer
watchStylestrueReload the library when a style file changes on disk
rules[]Per-session/per-tool render rules: [{ match: { tool?, contentType?, session? }, style, priority? }]
enableExporttrueRegister the /export command (Markdown/HTML session export, renderer-aware; --save writes with approval)
respectCoreOutputStylestrueWhen a core outputStyles service is detected, skip this plugin's prompt injection (keep hot-switch / rules / export)