DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-envelope-highlight

f

dsh-envelope-highlight

Manifest valid

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

UI (client)hasBundlePatch

dsh-envelope-highlight

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-envelope-highlight

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

Comments

Loading…

Similar plugins

dsh-code-lens

by lisycotana

Observability for DeepSeek Harness code-mode sub-dispatches: the tool calls a run_code program makes that the model never sees.

Manifest valid

★ 0

MIT

JavaScript

Aug 14, 2026

dsh plugin --profile web add dsh-code-lens

by shuind

Compact Codex coding mode for DSH: light prompt guardrails against GPT over-explaining, with an editable prompt and native Codex-style tools.

Models & ProvidersManifest valid

★ 6

↓ 884/wk

MIT

TypeScript

Sep 21, 2026

dsh plugin --profile web add @shuind/dsh-codex-harness

by he-yufeng

Repo reading-map tool for DeepSeek Harness: a structured, priority-ranked map of any codebase before the agent edits it

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 0

MIT

TypeScript

Sep 14, 2026

dsh plugin --profile web add dsh-tool-reading-map

by MkaliezZ

Lightweight read-only repository structure and symbol map for DSH; complements dsh-context-pack.

Manifest valid

★ 0

MIT

TypeScript

Aug 29, 2026

dsh plugin --profile web add @mkaliezz/dsh-repo-map

by Rianico

Hash-anchored read/edit/undo_last_edit tools for DeepSeek Harness (dsh), fewer token consumption, lower cost.

Tools & CapabilitiesWorkflow & AutomationManifest valid

★ 17

↓ 655/wk

MIT

TypeScript

Aug 24, 2026

dsh plugin --profile agent add dsh-better-edit

Layered syntax highlighting for bash/pwsh command and read code output in the DSH web GUI (VS Code Dark+ palette: keywords/strings/numbers/functions/comments each get a color); colors only what it rec

UI & ExperienceTerminal & ClientsManifest valid

★ 0

↓ 112/wk

dsh plugin --profile web add dsh-tool-highlight