Introduction

When performing long-form writing or drafting expository texts in DeepSeek Harness Web, ordinary input boxes are better suited for short instructions; if Markdown drafts, local rewrites, default requirements, and the model’s returned results are mixed into the same message, reviewing and continuing to edit becomes quite difficult.

dsh-writing-pad provides a session-level Markdown writing pad for DeepSeek Harness Web, used to maintain the Markdown body within the same session, switch between edit/preview, input extra requirements, and view the model’s returned candidate modifications.

What is this

dsh-writing-pad is a client-side plugin for DeepSeek Harness Web, maintained by linhx1999, licensed under MIT.

It primarily solves the issue of handling Markdown drafts, local rewrites, and full candidate drafts within the same session, rather than relying solely on scattered messages in the main input box.

Core Features

The writing pad capabilities verified below are:

  • Can be expanded or collapsed from the input box toolbar, and remains open when switching sessions or sending the first message of a new session.
  • After selecting text in the body, you can input multi-line extra requirements, save default requirements, and adjust the input area height.
  • Supports generating a full candidate draft via write_full_draft and rewriting the selection via rewrite_selected_text.
  • When a writing tool is called, the writing pad opens automatically; upon the arrival of candidate modifications, it displays the Diff and locates the first change.
  • The interface provides feedback for states such as Staging, Copy, Generating, Pending Review, and Failed.
  • The client interface switches instantly based on the dsh Chinese/English settings.
  • When the writing pad is not empty, the full draft is sent to the model as a separate context along with the main input box message.
  • Drafts in different sessions do not interfere with each other; supports edit/preview, copy all, clear, and up to 50 steps of undo.
  • Drafts are stored in Host memory and will not automatically create or overwrite project files.

Installation

You need to install the dsh CLI first.

Add dsh-writing-pad to the Web profile:

dsh plugin --profile web add dsh-writing-pad

The package.json in the verified materials shows the version is 1.1.3.

Typical Usage

Here is a set of reproducible usage steps:

  1. Click “Writing Pad” in the input box toolbar.
  2. Input or paste Markdown body text, and toggle “Edit/Preview” as needed.
  3. Select the content to be modified; the cursor will automatically jump to the extra requirements input area.
  4. Enter requirements; Enter to send, Shift+Enter for a new line, or you can set the current content as default.
  5. After the model returns, review the Diff and choose “Accept Changes” or “Reject Changes”; leaving the review defaults to Accept.

Use Cases and Notes

Suitable for scenarios where you want to maintain Markdown drafts in a DeepSeek Harness Web session while simultaneously using full draft generation and local rewriting.

Precautions before use:

  • dsh-writing-pad runs with the permissions of the current dsh process; source code and license should be checked before installing.
  • Drafts are stored in Host memory and will not automatically create or overwrite project files.
  • Manual edits that have not been sent with any user message cannot be recovered across Host processes.
  • Drafts in different sessions do not interfere with each other; the undo limit is 50 steps.
  • When the writing pad is not empty, the full draft is sent to the model as a separate context along with the main input box message.
  • The client interface switches instantly based on the dsh Chinese/English settings.

Conclusion

The value of dsh-writing-pad lies in consolidating Markdown drafts, local rewrites, and model candidate modifications into a single session workflow, reducing the mixing of context in the main input box.

GitHub Repository: https://github.com/linhx1999/dsh-writing-pad

No verified directory page URL was provided in this material, so this article does not include a directory page link; for checking in the DSH community directory, please refer to the actual entry on the directory page.