dsh-official-document-mode: DeepSeek Harness Official Document Mode Plugin
`dsh-official-document-mode` is a DeepSeek Harness (DSH) plugin designed to provide automatic formatted rendering and sign-off feedback for official document agents. It injects style constraints on the host side and performs client-side DOM rendering, transforming assistant replies into a standard official document layout that includes a document header, a document number, a red separator line, and a signature block. The plugin also supports a 36px drawing canvas on the left side, using a geometric heuristic algorithm to recognize sign-off strokes and automatically write approval or disapproval feedback. Users can adjust parameters such as the document number and signature block through a configuration file and switch modes with a toggle. This plugin resolves technical issues such as segmented rendering, title extraction, and hot reloading that required restarting the desktop client, offering a closed-loop solution for official document processing from generation to sign-off.
Read More