dsh-plugin-chat-mode

Adds a tool-free Chat preset for everyday conversation: no tool schemas are sent, the system prompt is one short tone line or empty, and no OS, git or file-tree snapshot is injected. Measured on a plugin-heavy install, one message costs about 1.9K instead of 36K input tokens (roughly 19x fewer); thinking starts off unless you turn it on; on-device DSH Go verified; v0.2.0 adds local slash commands such as `/chat`, `/tone`, `/temp`, `/web` and `/think`, plus opt-in web search that only costs model tokens; v0.3.0 adds web-like composer toggles for thinking and web search that stay in sync with those commands; v0.3.1 gives them DeepSeek-style SVG icons, hover hints and motion, and keeps unrelated global tools out of the request; v0.3.2 adds the web app one-shot icon rotation, removes the square host focus frame, and quiets the hint after a click; v0.3.3 releases the per-session tool mask when the preset changes, so switching Chat to PTC or Standard no longer loses tools; v0.4.0 adds native image vision, inline text up to 8 KiB, zero-dependency DOCX extraction, and an on-demand read_attachment tool that only exists while the current message carries an upload.

Overview

Adds a tool-free Chat preset for everyday conversation: no tool schemas are sent, the system prompt is one short tone line or empty, and no OS, git or file-tree snapshot is injected. Measured on a plugin-heavy install, one message costs about 1.9K instead of 36K input tokens (roughly 19x fewer); thinking starts off unless you turn it on; on-device DSH Go verified; v0.2.0 adds local slash commands such as `/chat`, `/tone`, `/temp`, `/web` and `/think`, plus opt-in web search that only costs model tokens; v0.3.0 adds web-like composer toggles for thinking and web search that stay in sync with those commands; v0.3.1 gives them DeepSeek-style SVG icons, hover hints and motion, and keeps unrelated global tools out of the request; v0.3.2 adds the web app one-shot icon rotation, removes the square host focus frame, and quiets the hint after a click; v0.3.3 releases the per-session tool mask when the preset changes, so switching Chat to PTC or Standard no longer loses tools; v0.4.0 adds native image vision, inline text up to 8 KiB, zero-dependency DOCX extraction, and an on-demand read_attachment tool that only exists while the current message carries an upload.

Installation

Install from GitHub

dsh plugin --profile web add github:XiaoFeng7418/dsh-plugin-chat-mode

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands