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-cos-cloud-drive

v0.1.4

Published

Tencent Cloud COS drive plugin for DeepSeek Harness

Readme

DSH COS 云盘插件

腾讯云 COS 云盘的 DeepSeek Harness Web 插件。

当前能力

  • 作为 bundle 安装到 DSH web profile。
  • 在设置页配置 SecretIdSecretKey、存储桶、地域、目录前缀和自定义域名。
  • 密钥只保存到 DSH Host 凭据服务,浏览器不读取或回显原文。
  • 支持保存普通配置并测试 COS 存储桶连接。
  • 在工作区上方显示“COS 云盘”菜单,按目录前缀浏览存储桶内容。
  • 支持宫格/列表视图、多选操作,每页最多 100 项,支持 Marker 上一页/下一页。
  • 支持面包屑导航、刷新、双击进入目录以及查看文件和文件夹属性。
  • 支持在当前目录新建文件夹;上传弹窗可选择或拖拽多个文件、文件夹并保留目录层级。
  • 上传任务由 Host 管理,任务抽屉展示总体/单项进度、速度和耗时,支持暂停、继续、取消、失败重试、删除记录和清理已完成。
  • 上传采用浏览器 → DSH Host → COS 流式 Multipart Upload,不在内存中缓存完整文件,不设置插件级单文件大小限制,并限制最多 3 个并发上传。
  • 文件支持下载和获取 15 分钟临时链接;文件夹和文件支持单项或批量不可恢复删除。
  • 提供内置 tencentcloud-cos Skill,以及两个账号级 Agent Tool:tencentcloud_cos_storage_manage 管理 COS Bucket、对象和 Bucket 配置;tencentcloud_cos_ci_manage 管理数据万象(CI)和 MetaInsight。
  • 账号级 Tool 通过 Action + Parameters 调用内置白名单,自动使用 DSH Host 中已配置的 COS 凭证;密钥不会进入 Agent 上下文或 Tool 参数。
  • Tool 操作范围由当前凭证的 CAM 权限决定;云盘默认 Bucket/Region 仅是可选缺省值,管理 Tool 可显式访问其他获授权 Bucket。
  • Agent 侧只注册上述两个 Tool;旧云盘专用 cos_* Tool 已移除,也不注册云盘专用 Action。内置 Skill 将“我的云盘”引导为先从现有 help 输出的 DefaultCloudDrive 读取非敏感配置,再复用通用 COS listheaduploaddownloaddelete-multiple 等 Action 的经典流程。
  • 写入、配置变更和删除由内置 Skill 在调用前说明目标与影响,并等待用户在后续消息明确同意;Tool 不创建 DSH 审批卡。不提供任意 HTTP 请求、任意 Shell、删除 Bucket 或清空 Bucket 的入口。
  • 插件卸载或热更新时清理路由、上传任务、DOM、React Root、样式和监听器。

本地构建

要求 Node.js >=22.19.0 和 pnpm。

pnpm install
pnpm typecheck
pnpm test
pnpm build

安装到源码版 DSH

先完成构建,再进入 DSH 源码根目录,以 link bundle 加入 web profile:

pnpm dsh plugin --profile web add 'link:<插件目录的绝对路径>'
pnpm dsh web

进入 Web UI 后验证:

  1. 打开“设置 > 插件 > 插件配置”,填写 COS 配置。
  2. 点击“测试连接”,确认可以访问存储桶,再保存配置。
  3. 刷新页面,确认普通配置恢复,密钥不回显但仍显示已配置。
  4. 确认左侧“COS 云盘”位于工作区上方,且页面切换正常。

移除插件:

pnpm dsh plugin --profile web remove dsh-cos-cloud-drive