DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Ptc Render — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
P

dsh-ptc-render

Ptc Render

恢复 run_code(PTC / Code Mode)结果卡片中读写工具封装的语法高亮

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:flashyiyi/dsh-envelope-highlight#fd3332e3d03d474b0ab5353a22b4c9b110b86739
README兼容性版本

兼容性与来源证明

Ptc Render 以 dsh-ptc-render 发布,当前版本为 0.1.3。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/30

版本

0.1.3stable
2026/9/30

相关插件

正在加载相关插件…

最新版
0.1.3
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/30
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Ab Chartdsh-ab-chart带有绘制其调用的浏览器卡片的图表渲染工具,封装在一个可发布的插件包中Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义

README

dsh-ptc-render

Restore syntax highlighting of read-tool results inside run_code (PTC / Code Mode).

Problem

In native mode, the read tool's result renders as a line-numbered, syntax-highlighted code view (ReadBlock + shiki). In PTC / Code Mode, the model calls tools through run_code programs, and read results arrive in two shapes — both rendered as plain text by the official UI:

  1. Structured object { path, lines, totalLines } — returned from the program, it lands in the run_code card's OUT area as raw JSON;
  2. Envelope text (<path>…</path>\n<type>file</type>\n<content>…\n</content>, tool-fs's formatReadOutput) — the read sub-call (code-dispatch) content.

The syntax highlighting is lost in both cases.

Solution

This plugin registers two keyed tool.call.toolview views:

  • run_code (not registered by the shipped UI — zero replacement risk): read envelopes and read-result JSON in the OUT area are parsed and rendered as ReadBlock — file line numbers in the gutter, shiki syntax highlighting, the same visual language as the native read card.
  • read (priority: -1, shadowing the official row): code-dispatch sub-calls (whose resultView is always null) get their envelope content rendered as ReadBlock; native read calls are reproduced exactly like the official ReadRow.

Non-read output stays exactly as before.

Install

dsh plugin --profile <profile> add dsh-ptc-render

Build (from source)

# requires a dsh source checkout (DSH_CHECKOUT) with tsc/tsdown
npm run build        # host (tsc) + client (tsdown) → lib/
npm pack

Scope

  • ✅ run_code chat-row result card: read envelopes + read-result JSON → highlighted ReadBlock
  • ✅ read sub-call rows under the run_code tree (code-dispatch) → highlighted ReadBlock; native read rows unchanged
  • ❌ Details panel (conversation.details.tool) — not covered yet

License

MIT