
Security News
vlt 1.5.0 Adds Agent Skills Management
vlt 1.5.0 links skills from JavaScript dependencies to coding agents, with lockfile versioning and Socket data to filter out known malicious packages.
dsh-clipboard
Advanced tools
DSH plugin: write text to the system clipboard (pbcopy / clip / xclip / xsel).
把文本写入系统剪贴板的 DSH 插件。零依赖、纯 ESM JavaScript、无需构建。
注册一个工具 clipboard_write,接收任意文本并写入系统剪贴板,方便 agent 把生成的结果直接交给用户粘贴使用(例如复制命令、代码片段、URL、密钥等)。
执行结果始终返回规范 JSON 值,任何失败都不抛异常:
{ "ok": true, "bytes": 42, "tool": "pbcopy" }
{ "ok": false, "bytes": 42, "tool": null, "error": "no clipboard tool available (install xclip or xsel): ..." }
dsh plugin --profile <profile-name> add dsh-clipboard
# 本地开发:
dsh plugin --profile <profile-name> add file:./plugins/dsh-clipboard
| 平台 | 实现 | 是否需要安装 |
|---|---|---|
| macOS | pbcopy(/usr/bin/pbcopy) | 免装,系统自带 |
| Windows | clip | 免装,系统自带 |
| Linux | xclip(优先)或 xsel | 需要安装其一:sudo apt install xclip 或 sudo apt install xsel;两者都没装时工具返回 ok: false 并提示安装 |
注意:Linux 下需要可用的 X11/Wayland 会话(
DISPLAY/WAYLAND_DISPLAY)。无图形会话(如纯 SSH、CI 容器)会写入失败。
插件挂载时自动写入一次 clipboard-probe-<时间戳>;macOS 上会用 pbpaste 读回比对,Linux/Windows 只报告写入结果。日志前缀 [dsh-clipboard]。
MIT
FAQs
DSH plugin: write text to the system clipboard (pbcopy / clip / xclip / xsel).
The npm package dsh-clipboard receives a total of 8 weekly downloads. As such, dsh-clipboard popularity was classified as not popular.
We found that dsh-clipboard demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
vlt 1.5.0 links skills from JavaScript dependencies to coding agents, with lockfile versioning and Socket data to filter out known malicious packages.

Security News
Rust 1.100 will add opt-in dependency cooldowns to Cargo, giving security scanners and maintainers time to catch malicious crate releases.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.