dsh-writing-mode: DSH Integration for Drafting, Polishing, and Length-Based Text Routing

This post introduces dsh-writing-mode (dsh-writing-mode-push), a DSH plugin maintained by alszmxn. It provides six actions—drafting, polishing, expanding, condensing, outlining, and continuing—through a writing tool. Short texts and simple polishing tasks are routed to a local OpenAI-compatible model, while long-form or complex manuscripts in auto mode are evaluated by scoring rules and sent through a local Doubao bridge, with automatic failover if either side fails. The article covers the GitHub installation command, five configuration settings, launching the Doubao bridge with a curl self-test, JSON call examples, and common troubleshooting steps. Version 0.1.0, MIT licensed.

Read More