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.

Ptc Render — DSH Plugin for DeepSeek Harness
← Plugins
P

dsh-ptc-render

Ptc Render

Restore syntax highlighting of read/write tool envelopes inside run_code (PTC / Code Mode) result cards

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

npx -y @deepseek-ai/dsh plugin --profile web add github:flashyiyi/dsh-envelope-highlight#fd3332e3d03d474b0ab5353a22b4c9b110b86739
READMECompatibilityVersions

Compatibility and provenance

Ptc Render is published as dsh-ptc-render and currently resolves to version 0.1.3. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
9/30/2026

Versions

0.1.3stable
9/30/2026

Related plugins

Loading related plugins…

Latest
0.1.3
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
9/30/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 pluginsAb Chartdsh-ab-chartChart rendering tool with the browser card that draws its calls, in one publishable plugin packageWhale Widgetdsh-whale-widgetDeepSeek balance whale widget in the bottom-right corner of the DSH Web interface: balance/today’s usage/peak-off-peak pricing, customizable bubble click sequence (text/balance/today/peak-off-peak/image/random phrases and parallel weighted selection), per-line styles and fonts, floating quick editin

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