返回目录
模型与 MCP 插件

dsh-currency-fix

eliaweiss/dsh-currency-fix

DeepSeek Harness plugin: stops prices like $150 in chat replies from being drawn as LaTeX math.

Stars
0
Forks
0
Issues
0
更新
9 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:eliaweiss/dsh-currency-fix

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-currency-fix

DeepSeek Harness Web plugin. Stops prices such as $150–600 in chat replies from being drawn as LaTeX math.

Why

The built-in Markdown renderer always treats $…$ as inline math. A reply with two prices on one line turns into one italic formula with the words run together, and bold markers in between break.

How

The browser half wraps the built-in assistant-step renderer in place (the same slot entry, so reasoning rows, images and file links keep working) and hands it a copy of the reply with currency dollars escaped as \$. The saved session text is not changed, so old chats are fixed as well.

  • Escaped: $ directly followed by a digit ($5, $1.20/h, $150–600).
  • Kept as math: $x^2$, $\alpha$, $2^{10}$ (digit-first math with TeX markers \ ^ _ { }), and $$…$$.
  • Never touched: fenced code, inline code, existing \$.

Install

dsh plugin --profile <profile> add github:eliaweiss/dsh-currency-fix

Then refresh the page.

Test

npm test

License

MIT

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度中

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。