dsh-share

DSH PLUGIN会话与消息

仓库 chuantianml/dsh-share · npm dsh-local-share

会话与消息 未标注验证等级 安全审查:未标注 可信度:未标注 可安装插件
安装这个插件

DSH Local Share 是一个 DeepSeek Harness 插件,用于将选中的会话轮次本地导出为 Markdown、自包含 HTML 或长图,支持隐私脱敏且无需上传。

一句话选型结论

按资料字段整理

dsh-share 是会话与消息类的 DSH 可安装插件,未做沙盒验证,暂无安全审查结论,列出 4 项功能,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类会话与消息 收录类型可安装插件 验证等级未标注验证等级 安全审查未标注
验证等级 UNKNOWN 未标注验证等级
GitHub 星标 0 复刻 0 · 未关闭 issue 未标注
最近更新 2026-08-23 创建于 2026-08-14
README 8.4 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add dsh-local-share
  1. 1
    确认版本与运行环境

    仓库没有标注兼容版本与 Node.js 要求,先确认你的 DSH 版本能装,再继续。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名dsh-local-share可用 npm view 查看包信息

能做什么

4 项功能
字段来自项目仓库与公开索引,中文说明由本站标注

dsh-share:DeepSeek Harness 的本地隐私优先会话分享插件

  • 导出 Markdown/HTML/长图
  • 隐私脱敏,无上传
  • 会话轮次选择
  • 安全 GFM 渲染

上游标签

deepseek-harnessdsh-pluginhtmllocal-firstmarkdownprivacysession-exportsession-sharing

验证等级与安全审查

未标注验证等级
自动化流程结论,不是人工审核
验证等级未标注验证等级上游未给出验证结论,安装前请自行确认
安全审查未标注静态分析结论,未标注不代表已通过审查
仓库健康度未标注按仓库活跃度与最近更新时间给出
可信度未标注综合仓库活跃度与验证结果

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。
  • 列出了 4 项功能,能直接看出它解决什么问题。

先想清楚的地方

  • 安全审查还没结论,装之前先看仓库改了什么、要什么权限。
  • 没有声明 Node.js 版本要求,版本不匹配可能装不上。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在会话与消息场景里给 DSH 补能力的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-share当前 未做沙盒验证 未标注 0 未标注 有
dsh-desktop L3 · 安装规范通过 低风险 3.0 万 未标注 无
openpets L4 · 沙盒安装通过 低风险 1,274 未标注 有
deeptide L4 · 沙盒安装通过 低风险 1,104 0.1.1-rc.2 有
jingyun-dsh L3 · 安装规范通过 低风险 1,004 未标注 有
study-mate 未做沙盒验证 未标注 856 未标注 无

仓库档案

会话与消息
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方chuantianml仓库 dsh-share · 默认分支 未标注
分类会话与消息session
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言JavaScript仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue0 / 0 / 未标注收录时的数值,非实时
创建 / 更新2026-08-14 · 2026-08-23最后推送 未标注
本站收录2026-08-14首次进入本站目录的时间

README 全文

8.4 KB
作者原文,中文版优先;只做安全转义,不改内容

DSH Local Share


Select and locally share one or more
DeepSeek Harness conversation
turns as Markdown, self-contained HTML, or a long PNG, with privacy-first
redaction and no uploads.
DSH Local Share is an independent community plugin.

简体中文

Turn selected conversation turns or a complete DSH Session into a reviewable
document without uploading the conversation. DSH Local Share adds a Share
action to the Web Session header, builds a local preview, and lets you copy or
download the result.

  • Select one or more conversation turns, or share the complete Session
  • Markdown, one script-free self-contained HTML file, or one long PNG
  • Safe GFM rendering for assistant headings, lists, tables, and code
  • Best-effort redaction enabled on every dialog opening
  • Stable, flicker-free preview before copy or download
  • Tool names, bounded arguments, and outcomes are opt-in
  • Tool result bodies and model reasoning are never exported
  • No cloud service, account, public-link backend, or outbound request
  • Zero model-visible text and zero model-token overhead

Assistant Markdown is rendered into a calm, readable document while the human
prompt remains literal. This privacy-safe product mockup uses fictional data:

Quick start

DSH is currently a developer preview. Install the exact npm release into the
Web profile, then start DSH:

dsh plugin --profile web add dsh-local-share@0.4.1
dsh --profile web

GitHub remains an alternative source:

dsh plugin --profile web add github:ChuanTianML/dsh-local-share#v0.4.1

Open a non-empty Session and select Share in its header. The safe defaults
are Markdown, tool calls excluded, and redaction enabled.

To remove the plugin:

dsh plugin --profile web remove dsh-local-share

Upgrading from DSH Share 0.1.0

Version 0.2.0 and later use a distinct package and plugin id to avoid colliding with an
unrelated community plugin named dsh-share:

dsh plugin --profile web remove dsh-share
dsh plugin --profile web add dsh-local-share@0.4.1

See the privacy flow

The dialog starts safe. If redaction is turned off, copy and download stay
locked until the user gives a fresh acknowledgement; reopening the dialog
restores the safe defaults.

The recording uses the real Web application and an isolated DSH profile. The
example Session contains benign demonstration text only.

Install with a Coding Agent

Use this plugin when the user wants to share selected DSH conversation turns
without uploading the complete Session or its export. Installation,
configuration, and verification use inspectable CLI commands and one YAML
profile patch. Paste this request into a Coding Agent that has terminal access
to the machine where DSH is installed:

Install DSH Local Share 0.4.1 into my DeepSeek Harness Web profile.

1. Detect the active DSH_HOME and dsh version. Do not modify another profile.
2. Inspect the repository package.json lifecycle scripts before installation.
3. Install dsh-local-share@0.4.1 from npm into profile web.
4. Preserve unrelated entries in profiles/web/cordis.patch.yml. Configure the
dsh-local-share entry with maxEvents 20000, maxOutputChars 2000000, and
maxToolArgumentChars 12000.
5. Run dsh --profile web --dump-config and prove those values are active.
6. Start the Web profile, open a multi-turn Session, and verify that Share opens
with all turns and Markdown selected, tool calls excluded, and redaction
enabled. Select one turn, then verify that a long PNG can be downloaded.
7. Report every command run and any file changed. Never upload an exported
Session or disable redaction without asking me first.

For an evaluation that must not touch an existing setup, tell the Agent to use
a fresh temporary DSH_HOME for steps 1–6.

Host configuration

The defaults work for ordinary Sessions. For an explicit, auditable setup, add
the complete config object to $DSH_HOME/profiles/web/cordis.patch.yml
(~/.dsh/profiles/web/cordis.patch.yml when DSH_HOME is unset):

- id: dsh-local-share
config:
maxEvents: 20000
maxOutputChars: 2000000
maxToolArgumentChars: 12000

Harness profile patches replace the target config object rather than deeply
merging individual fields, so writing all three limits is the clearest option.
Confirm the final composition without starting the Web server:

dsh --profile web --dump-config
Field Default Meaning
maxEvents 20000 Maximum raw Session events accepted
maxOutputChars 2000000 Maximum file or preview characters
maxToolArgumentChars 12000 Maximum retained arguments per enabled tool call

Session and output overflows fail visibly. Tool arguments alone may be
truncated, with a warning in the preview. Invalid values fail when the plugin
loads.

Privacy behavior

The default document contains only direct human prompts and visible assistant
text in log order. The user may select any non-empty subset of human-led turns;
selection does not weaken the same filtering and redaction rules.

Content Default Optional
Human prompts Included —
Visible assistant text Included —
Tool names, bounded arguments, outcomes Excluded Enable “Include tool calls”
Tool result bodies Excluded Never included
Reasoning / thinking Excluded Never included
System prompts and request configuration Excluded Never included
Plugin-injected user-role context Excluded Never included
Attachment bytes and Session metadata Excluded Never included

Redaction covers common credentials, authorization headers, secret-bearing
environment assignments, email addresses, and absolute local paths. It is
heuristic, not a guarantee. Always review the preview. If redaction is disabled,
copy and download remain locked until a fresh risk acknowledgement is checked.

The preview runs in a sandboxed srcdoc iframe. Generated HTML has no scripts or
external resources and carries a restrictive Content Security Policy. Long PNGs
are generated from that same safe preview in the browser and are never uploaded.
Visible assistant text is rendered as safe GFM; human prompts remain literal so
the shared document preserves what the user actually entered.

Why this plugin instead of the Session log ZIP?

The official Session log export is the right lossless ZIP for diagnosis and
migration. DSH Local Share produces a smaller, human-readable document for code
review, issue reports, handoffs, and knowledge sharing. It intentionally omits
data that a replay or forensic workflow would need.

Development

The verified Harness revision is
47f943859bef60e4160492346772ded9b24f765a. Keep the checkout isolated under
.sandbox/harness:

corepack enable
pnpm install
git clone https://github.com/deepseek-ai/deepseek-harness.git .sandbox/harness
git -C .sandbox/harness checkout 47f943859bef60e4160492346772ded9b24f765a
pnpm --dir .sandbox/harness install --frozen-lockfile
pnpm --dir .sandbox/harness run build
pnpm run check

DSH_HARNESS_ROOT=/absolute/path/to/deepseek-harness selects another read-only
development checkout. pnpm run check runs strict type checks, ESLint, unit and
composition tests, Host/browser builds, coverage, and a package dry run. Built
lib/ artifacts are committed because GitHub profile installs do not run a
build step.

The complete product and security design is in docs/design.md.

Compatibility

Version 0.4.1 targets the DSH developer-preview API at the verified revision
above. DSH does not yet promise stable external plugin compatibility; future
Harness changes may require a new DSH Local Share release.

Security

See SECURITY.md. Never include a real credential or private
Session in a public issue.

License

MIT

常见问题

6 问
答案由本站依据条目字段整理,不引用上游原文
dsh-share 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add dsh-local-share` 即可。对应的 npm 包名是 `dsh-local-share`。

dsh-share 的验证等级是什么意思?

未标注验证等级。上游未给出验证结论,安装前请自行确认

dsh-share 安全吗?

未标注。

dsh-share 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-share 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

dsh-share 有哪些功能?

导出 Markdown/HTML/长图、隐私脱敏,无上传、会话轮次选择、安全 GFM 渲染。

同名或近似条目

4 条
不同作者的仓库分开列,请确认你要装的是哪一个
会话与消息
按星标排序,可作替代方案

dsh-desktop

dsh-desktop

为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。

L3 · 安装规范通过 3.0 万 星

openpets

openpets

L4 · 沙盒安装通过 1,274 星

deeptide

deeptide

L4 · 沙盒安装通过 1,104 星

jingyun-dsh

jingyun-dsh

井云 DSH 客户端插件,为 DeepSeek Harness 注入会员登录、订阅支付、算力管控与应用市场,让智能体和技能快速变成可交易商品

L3 · 安装规范通过 1,004 星

study-mate

study-mate

StudyMate 是 DSH 的「学习模式」预设与技能包,为数学、计算机科目定制学习路线、讲解课件与练习评估,跨科目共享记忆。

未标注验证等级 856 星

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 —。