npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dsh-paste-path

v0.1.2

Published

DeepSeek Harness plugin: paste Finder file paths into the composer with Ctrl+V

Readme

dsh-paste-path

English · 简体中文

DeepSeek Harness Web 插件:在 Finder 里 Cmd+C 复制文件或文件夹后,回到 DSH 按 Ctrl+V,把绝对路径插入当前输入框。

普通文字继续用 Cmd+V

用法

  1. 在 Finder 里选中文件或文件夹,按 Cmd+C
  2. 回到 DSH Web
  3. 输入框工具栏会出现一小块 Ctrl+V 贴路径
  4. Ctrl+V 插入绝对路径

剪贴板不是文件路径时,提示不会出现。

安装

从 npm:

dsh plugin --profile web add dsh-paste-path

从 GitHub:

dsh plugin --profile web add github:jhuanxx44/dsh-paste-path

本机开发目录:

dsh plugin --profile web add /Users/jinghuan/code/dsh-paste-path

装完后重启 dsh web 并刷新页面。

权限

插件只在 macOS 上生效。Host 会通过 osascript 读系统剪贴板里的 NSFilenamesPboardType(以及纯文本里的绝对路径),接口仅对本机 loopback / same-origin 开放。

这不是浏览器 Clipboard API,所以普通网页权限弹窗不会出现;本机自动化权限不够时,粘贴会失败。

远程部署

剪贴板属于运行 dsh web 的那台机器。把 DSH 部署到远程服务器上时:

  • 直接通过局域网 IP / 域名访问:Host 会拒绝非 loopback 的接口请求(403),客户端检测到后自动停用——提示按钮不出现、停止轮询、Ctrl+V 行为完全不受影响,也不会误读服务器的剪贴板。
  • SSH 端口转发(ssh -L 3080:localhost:3080 …)或跳板机:连接在 Host 看来仍是本机回环,插件无法区分,此时读到的是服务器的剪贴板,不是你本地 Mac 的。这是运行位置决定的,HTTP 层探测不到转发。

需要把本机文件路径贴进远程 DSH 时,插件帮不上忙:请直接在本机运行 DSH,或改用拖拽上传类插件(文件内容随消息进入会话,见 awesome-dsh-plugin 列表的 UI Enhancements 分类)。

开发

npm test

当前会话里的动态插件 fpath-1 是原型。这个仓库是可安装、可重启保留的正式包。