Turns large text pastes into pastes/*.txt attachments with a dock above the composer and a minimal, recognisable badge in the draft.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-paste-dock
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:drscrewdriver/dsh-paste-dock
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
See README.md (Chinese, canonical) and README.pt.md (Portuguese).
Paste directory and automatic cleanup (since 0.1.27)
The default is still the workspace pastes/ — behavior unchanged. Two new knobs
let you move it or give it a retention window:
| Field | Default | Meaning |
|---|---|---|
pasteDir |
'' |
empty = workspace pastes/; relative = a subdirectory of the workspace (e.g. scratch/pastes); absolute = a directory outside it (e.g. /tmp/dsh-pastes). A .. escape is an error, never a silent redirect |
retainDays |
0 |
automatic cleanup window in days. 0 = never delete (default); ceiling 3650. Runs after a successful save |
The prune scope is deliberately narrow: only this plugin's own
YYYYMMDD-HHMMSSmmm[-label].txt, only that one directory (never recursive); your
own files in the same directory are never touched.
Inside the workspace the reference stays relative (pastes/x.txt); when pastes
land outside it the reference becomes absolute — dsh'S @ grammar resolves
relative paths from the workspace root and treats absolute paths as host files.
If pastes/ shows up as ?? pastes/ in git status, pick one:
# 1) keep it out of the repo
echo 'pastes/' >> .gitignore
# 2) ignore it only on this machine (repo .gitignore untouched)
echo 'pastes/' >> .git/info/exclude
# 3) point pasteDir outside the workspace
# cordis.patch.yml → pasteDir: 'C:/temp/dsh-pastes'
Not intercepting: the raw-paste exits (since 0.1.28)
Two independent exits:
| How | Scope | Usage |
|---|---|---|
alwaysRaw: true |
global until set back to false |
set alwaysRaw: true in cordis.patch.yml and restart dsh. The plugin then intercepts no paste at all: no file, no chip, no dock card — the content goes straight into the composer |
hold Shift while pasting |
this paste only | no config change. The next paste is intercepted again |
alwaysRaw defaults to false, i.e. byte-for-byte the 0.1.27 behaviour. It is
plain config (not volatile): a deployment decision, not something to flip by
accident from a row.
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10686
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10686
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 8436
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7504
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 5379
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
omdsh-dev/dsh-genui★ 1076
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.