treg
superdesigndev
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:joao-paulo-santos/dsh-scratchpad
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DeepSeek Harness (DSH) plugin: one shared floating text surface in the middle of the screen that any plugin can open, for reading big text or editing it in place.
There is no UI of its own to visit. Other plugins open the pad through the
client service scratchpad:
// consumer client half, inject: ['scratchpad', 'slots', …]
ctx.scratchpad.open({
title: 'Section preview', // optional header text
text: bigText, // required string
editable: true, // false (default): read-only viewer
onSave: (text) => { … }, // edit mode: the ONLY channel back
})
readOnly, never disabled).onSave(editedText) and closes. A
backdrop click does not close (no stray-click data loss). Editable
without onSave is allowed: a draft pad, where Close discards.Escape closes (discarding edits in edit mode); Ctrl/Cmd+Enter saves.open replaces whatever the pad shows (one pad per tab).text must be a string of at most 2 MB; onSave without
editable: true throws. Fail loud at the door.onSave keeps the pad open
with the error surfaced in the footer.Requires a DeepSeek Harness checkout and a profile, here web. The plugin
has no dependencies:
mkdir -p ~/dsh-plugins && cd ~/dsh-plugins
git clone https://github.com/joao-paulo-santos/dsh-scratchpad.git
# from the harness checkout
pnpm dsh plugin --profile web add ~/dsh-plugins/dsh-scratchpad
# verify the profile still composes
pnpm dsh --profile web --dump-config
Restart the harness. Plugins that inject the scratchpad service can now
open the pad.
mode: 'diff' pads (optional; without it a diff pad degrades to a plain before/after view)CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: cli。