DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Fullwidth Punctuation — DSH Plugin for DeepSeek Harness
← Plugins
F

dsh-fullwidth-punctuation

Fullwidth Punctuation

DSH plugin: Makes AI responses use full-width Chinese punctuation (copied response content is also full-width). Listens to the llm/stream waterfall and intelligently converts half-width punctuation to full-width in the model output stream, skipping code blocks, inline code, decimal points in numbers

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:addie-ace/dsh-fullwidth-punctuation#8e6cdb87c5b645cb73b0dcd8a0ffdc956311390b
READMECompatibilityVersions

Description

DSH plugin: Makes AI responses use full-width Chinese punctuation (copied response content is also full-width). Listens to the llm/stream waterfall and intelligently converts half-width punctuation to full-width in the model output stream, skipping code blocks, inline code, decimal points in numbers, URLs, times, and Markdown links, while injecting a system prompt instructing the model to output full-width punctuation.

Compatibility and provenance

Fullwidth Punctuation is published as dsh-fullwidth-punctuation and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
9/3/2026

Versions

0.1.0stable
9/3/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
9/3/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in ui-customization.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profileExperimental Web profile layer for Agent Teams Remote and UI pluginsRemote Web Ui@linxin666/dsh-remote-web-uiScan-to-pair remote access for the dsh web GUI that shares one official interface: a QR beside the settings button pairs phones and PCs into the same Web GUI (a portrait-touch adaptation layer for phones, full desktop on PCs) through one-time tokens and rClient Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.

README

dsh-fullwidth-punctuation

让 DeepSeek Harness 的 AI 回答输出中文全角标点:回答在界面上是全角,用户直接复制回答内容也是全角。面向政务公文、汇报材料等对「标点统一全角」有硬性要求的写作场景。

原理

插件是纯 host 端 Cordis 插件,监听 llm/stream 瀑布(@deepseek-ai/dsh-llm 官方设计的流拦截点),在数据源头把模型输出文本里的半角标点转换为中文全角:

  • 模型输出 → llm/stream 拦截 → 转换 → 写入会话存储 → 渲染到界面 → 复制
  • 因为转换发生在源头,界面显示、复制按钮、选中复制拿到的都是同一份全角文本。

同时注入一条 system prompt 提示模型尽量输出全角(双保险,减少后处理负担)。

转换规则(智能全角,不破坏代码/数字/链接)

输入输出说明
, ; ! ?, ; ! ?无条件转换
.。数字小数点(3.14)、省略号(...)不转
::时间(10:30)、URL(http://)不转
( )( )markdown 链接 [text](url) 内的括号不转
"“ ”配对转换
代码块 ``` / ~~~不转fenced code 整体跳过
行内代码 `不转inline code 跳过
裸 URL不转http://example.com/a.b 保持原样
< > [ ] * # - _ '不转歧义过大,保守保留

只转换 AI 的回答文本:不转用户输入、不转工具调用的 JSON 参数、不转推理(reasoning)内容。

安装

# 方式一:本地打包后安装(推荐,离线可用)
cd dsh-fullwidth-punctuation
npm pack                                  # 生成 dsh-fullwidth-punctuation-0.1.0.tgz
dsh plugin --profile web add ./dsh-fullwidth-punctuation-0.1.0.tgz

# 方式二:直接用目录安装
dsh plugin --profile web add ./dsh-fullwidth-punctuation

安装后重启 Web GUI(或重启 dsh web)生效。

卸载

dsh plugin --profile web remove dsh-fullwidth-punctuation

验证

  1. 运行单元测试:node --test test/
  2. 装好后问 AI:「写一段材料,包含逗号、句号、冒号和括号」,观察回答与复制内容均为全角。
  3. 再让 AI 输出一段代码块,确认代码块内的半角标点没有被改写。

边界说明

  • 转换只作用于走标准 llm/stream 的模型输出(DeepSeek Harness 的 agent-loop 全部走该路径)。
  • 半角双引号 " 会被配对成中文引号;英文引文场景如不希望转换,请卸载插件。
  • 裸域名(无 http:// 前缀)中的点号可能被当作句号转换,URL 请写全前缀。
  • 首版默认开启,无设置界面;如需开关可后续版本加配置项。

开发

node --test test/   # 运行测试

核心文件:

  • lib/index.js:host 插件入口(llm/stream 监听 + system prompt 注入)
  • lib/fullwidth.js:转换核心(流式安全状态机)