OpenViking
volcengine
Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:shellpower96/dsh-copy-document-preview
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
One-click copy button for the DeepSeek Harness sidebar document preview.
The official preview header shows the path, the renderer picker, the wrap toggle and Reload — but nothing that gets the document out of the pane. This plugin adds one button there: click it and the previewed file's text is on your clipboard.
English | 中文
remote.workspaceFiles.read),
the same reader the preview itself uses, and never bypasses the Session that owns
the file.workspace-file/not-text; the button then copies the file's absolute
path and says so, rather than failing silently.| Preview | What lands on the clipboard |
|---|---|
| Plain text, Markdown, code, logs | The file's full text |
| CSV / TSV / JSON / YAML | The file's full text |
PDF, image, Office (.docx, .xlsx, .pptx), zip, binary |
The file's absolute path |
From the npm registry:
dsh plugin --profile web add dsh-copy-document-preview
Straight from GitHub:
dsh plugin --profile web add github:shellpower96/dsh-copy-document-preview
If your machine has no GitHub SSH key, use the HTTPS form of the same repository:
dsh plugin --profile web add https://github.com/shellpower96/dsh-copy-document-preview.git#main
Then restart dsh web. Alternatively install it from the Plugin Market or the
Plugin Manager, which also enables the bundle for you.
Remove it with:
dsh plugin --profile web remove dsh-copy-document-preview
The plugin has no build step and no runtime dependencies. Its browser half registers
one entry in the document toolbar's additive list slot
(sidebar.right.tab.document.actions), a slot that only appends, so no existing
control is replaced.
absolutePath; the Session id, the locale
function and the standard hooks come from the slot runtime.remote.workspaceFiles.read(sessionId, path, { offset }, signal), the
same Remote the preview uses, so the file is read with the previewing Session's own
authority and the host's byte and line limits still apply.--dsw-alias-* theme tokens (so it follows light and dark mode), and routes
every visible string through the client locale service (English and Simplified
Chinese).navigator.clipboard, so the page must be a secure
context (https:// or http://127.0.0.1) and focused. There is no
execCommand('copy') fallback.maxLines, maxBytes) fails with
the host's own too-large error, and so does a file with more than 200 pages.MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: clipboard。