
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
dsh-shareone-plugin
Advanced tools
把 Agent 生成的网页、文档和文字内容,一键发布成 ShareOne 分享链接。
dsh-shareone-plugin 是给 DeepSeek Harness / DSH 使用的 ShareOne 插件。它让 agent 可以把本地文件或生成内容发布到 ShareOne,并返回一个可以直接分享给别人访问的短链接。
支持发布这些内容:
| 类型 | 扩展名 | 分享能力 | 评论协作 |
|---|---|---|---|
| 📝 文本 | .txt | ✅ | ✅ |
| 📘 Markdown | .md, .markdown | ✅ | ✅ |
| 🌐 网页 | .html, .htm | ✅ | ✅ |
| 📊 PowerPoint | .ppt, .pptx | ✅ | - |
.pdf | ✅ | - | |
| 🧾 Word | .doc, .docx | ✅ | - |
常用能力:
ShareOne 当前支持免费发布和分享。
普通分享链接按“最后活跃时间”保留:如果一个链接连续 90 天没有被访问,就可能被自动清理;只要 90 天内有人访问,保留时间会继续延后。被知识库引用的内容、以及符合 Explore 展示条件的公开 HTML 页面,不参与普通 90 天无活跃清理。
dsh plugin --profile web add dsh-shareone-plugin
dsh --profile web
本仓库本地开发安装:
dsh plugin --profile web add ./dsh-shareone-plugin
dsh --profile web
第一次使用时,让 agent 先创建临时 guest key:
请先创建 ShareOne 临时 API Key,然后帮我发布这个文件。
插件会调用 shareone_create_guest_key 自动生成 guest key,并写入 DSH 的密钥管理中,后续 ShareOne 工具会直接复用这个 key。生成后建议打开 agent 返回的绑定链接,把临时 key 绑定到你的 ShareOne 账号,避免以后丢失管理权限。
API Key。名称:SHAREONE_API_KEY
值:从 ShareOne 设置页复制的 API Key
配置好后,插件会从 DSH 密钥管理读取 SHAREONE_API_KEY。
发布成功后,可以打开 ShareOne 平台管理自己的链接:
在文件管理中心可以查看已发布链接、搜索文件、查看访问量、调整访问密码、设置水印、修改短链接、开关评论、管理协作者,以及继续更新已有 TXT / Markdown / HTML 内容。
shareone_publish_text发布 agent 生成的 HTML、Markdown 或纯文本内容。
常用参数:
filenamecontentpasswordwatermarkcustom_slugallow_commentstitle传入 ref 或 share_id 时,会更新已有 TXT / Markdown / HTML 链接内容,而不是创建新链接。
shareone_publish_file发布本地 TXT、Markdown、HTML、PPT、PDF 或 Word 文件。
常用参数:
file_pathfilenamepasswordwatermarkcustom_slugallow_commentstitle如果文件是 .txt、.md、.markdown、.html 或 .htm,传入 ref 或 share_id 可以原地更新已有链接内容。PPT、PDF、Word 会发布为新的文档分享链接。
shareone_update_settings修改已有分享链接的设置。
常用参数:
reftitlepasswordclear_passwordwatermarkclear_watermarkcustom_slugclear_custom_slugallow_commentsshareone_get_comments读取 TXT / Markdown / HTML 分享页的评论和统计摘要。
常用参数:
refstatus: all, open, in_progress, unresolved, resolved, dismissed返回内容包含评论 id、父评论 id、状态、作者、评论正文、选中的原文片段和定位数据,方便 agent 理解评论指向的位置。
shareone_reply_comment回复 TXT / Markdown / HTML 分享页上的评论。
常用参数:
refparent_idcontentstate: resolved-agree, open-disagree, open-need-inputshareone_update_comment_status修改 TXT / Markdown / HTML 评论状态。
常用参数:
refcomment_idstatus: open, in_progress, resolved, dismissednoteshareone_create_guest_key创建临时 ShareOne guest key,并自动保存到 DSH 密钥管理中,适合第一次使用 ShareOne 的用户。
npm install
npm run check
npm run smoke
npm run test:credentials
npm run test:text-routing
npm run test:text-update
npm run test:comments-render
npm run test:reply-state
npm run pack:check
这次 README 修改不要直接发新版。后续需要发布时,仍由 GitHub Actions 在推送版本 tag 后发布 npm 包。
npm version prerelease --preid beta
git push origin main --follow-tags
发布工作流会校验版本、安装依赖、运行检查,并把包发布到 npm。
插件只会读取你明确传给 shareone_publish_file 的本地文件。发布内容会发送到配置的 ShareOne 服务,默认地址是 https://shareone.vip。不要发布密钥、私人 token、内部接口地址或不应公开的内容。
FAQs

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.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.