← Back to list

dsh-code-quote

DeepSeek Harness UI Enhancements New Low risk

Composer code-quote collapse for the DSH Web UI: pasting a `path:line` header followed by code folds the input into one compact inline quote token (Ctrl+Z reverses it), and at send time the `agent/pre-step` hook injects the full pasted snapshot to the model as a separate context message.

输入框代码引用折叠:粘贴「路径:行号 + 代码」时自动折叠为一行紧凑的引用 token(Ctrl+Z 可还原),发送时由 agent/pre-step 钩子将完整代码快照作为独立上下文消息注入给模型。

How to install

DeepSeek Harness dsh plugin add dsh-code-quote

About

dsh-code-quote DSH(DeepSeek Harness)Web 输入框的代码引用折叠插件:把「路径:行号 + 代码」粘贴自动折叠成一行紧凑引用,发送时把完整代码快照内联给模型。 这是什么 在没有行内引用机制之前,往 DSH 输入框粘贴一段带 路径:行号 头的代码,它会以原始多行文本进入草稿和消息。本插件提供「方案 b(内联快照)」体验: **输入框**:粘贴后自动折叠成一行 token —— ⟦代码引用#qxxx|dsh-web-launcher/package.json:13-15⟧,Ctrl+Z 一步还原; **气泡**:发送后用户消息保持紧凑 token; **模型**:agent/pre-step 在消息进入模型前,把粘贴时落定的完整代码快照作为一条独立的上下文消息追加进批次(UI 中渲染为可展开的「上下文注入」行,后续轮次持续可见)。 数据是**快照**口径:折叠那一刻的代码内容被留存,之后文件怎么改动都不影响这条引用;快照持久化到 <DSH_HOME>/storages/dsh-code-quote/snapshots.json,**进程重启后仍可用**——「快照已失效」提示仅作为文件损坏/被删等极端情况的回退,不静默失败。 工作原理 粘贴「header + 代码体」 → 浏览器半(conversation.input.dock 条目)识别形态 → PO…

Recommendation signals

51 Tool quality · Based on stars, downloads, maintenance, security and docs
User interest · Adjusted by in-site views, install copies and download clicks
51 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
JavaScript
GitHub stars
1
mo. downloads
Last push
2026-09-03
Created
2026-09-01

Links

Basic safety check

Findings
None
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Topics
dsh-plugin

Related plugins

DeepSeek Harness
Score88

dsh-desktop

anywhere-labs/deepseek-harness-desktop

为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。

☆ 23.3K ↓ 1.3K UI Enhancements
DeepSeek Harness
Score75

dsh-status-rotator

01Virex/dsh-status-rotator

Replaces the "Deep diving..." turn-status label with rotating meme-worthy phrases, with typewriter and gradient effects.

☆ 67 ↓ 3.8K UI Enhancements
MCP Server
Score75

UI-TARS-desktop

bytedance/UI-TARS-desktop

The Open-Source Multimodal AI Agent Stack: Connecting Cutting-Edge AI Models and Agent Infra

☆ 38.8K ↓ – UI Enhancements
MCP Server
Score75

inbox-zero

elie222/inbox-zero

The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.

☆ 12.1K ↓ 11 UI Enhancements