DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
C

dsh-chat-share

Chat Share

将选定范围的聊天消息分享为 Markdown、HTML 或纯文本(Web /share 命令、Header 按钮、侧边栏“...”菜单、编辑、自动保存)

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:chrisx9z/dsh-chat-share#fe6fe6039e15de172f6247a1d155c4176455237e
README兼容性版本

兼容性与来源证明

Chat Share 以 dsh-chat-share 发布,当前版本为 1.3.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/2

版本

1.3.0stable
2026/9/2
1.2.1stable
2026/9/1
1.1.1stable
2026/9/1
查看其余 1 个版本收起版本
0.1.0stable
2026/8/31

相关插件

正在加载相关插件…

最新版
1.3.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
周下载
0
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 productivity-workflow 分类下经过校验的插件。

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Experimental Schedule Bundle@deepseek-ai/dsh-experimental-schedule-bundle为 Web 组合添加 Schedule、其任务页面和时间上下文的可选捆绑包Client Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / pet / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。

README

dsh-chat-share

English | 中文

Share a selected range of chat messages as Markdown, HTML, or plain text — a community plugin for DeepSeek Harness (tagged dsh-plugin and listed in the awesome-dsh-plugin market registry).

This repository is the standalone distribution of the plugin: it ships both halves prebuilt (lib/), installable with dsh plugin add and from the Plugin Market. The reference implementation lives in the harness repository as packages/session-query/session-chat-share (branch feat/session-chat-share on the upstream fork), where both halves are built and tested.

What it does

  • Registers the Web /share slash command — plain /share opens the dialog, /share txt saves the whole chat as one .txt, /share last <n> saves only the newest n messages (combine: /share txt last 10).
  • The browser half adds a Share action to the Session Header, a Share row, and a Save TXT row to each session's sidebar ... menu (through the sessionRowMenu registry provided by ui-workspace). The dialog lists the session's shareable messages (append-origin user/message and assistant/message text), lets you pick an inclusive range via From/To selects or by clicking message rows, choose Markdown, HTML, or TXT, preview the rendered artifact (GFM), then copy it to the clipboard or download it as a file (.md / .html / .txt). Options: redact sensitive info (credential shapes and local absolute/home paths, on by default) and include tool calls (bounded tool-call rows, off by default). Save TXT downloads the whole chat as one .txt file directly, without opening the dialog. Nothing is uploaded: the recipient opens the artifact directly.
  • The HTML artifact is a self-contained page with GFM-lite rendering (headings, lists, tables, blockquotes, links, fenced code, inline code/emphasis) and session images embedded as data URIs; artifact headers carry the Session title and last model route when known, and follow the active UI locale.
  • Optional host-side auto-save: with autoSaveDir configured on the plugin row, one TXT per Session is written after every completed turn.
  • History is read through the ordinary session.history RPC and images through session.attachment — no Host endpoint, no persistence changes, and no model involvement. The command stays on the human-command plane with zero token effect.

Install

npm (preferred — the Plugin Market prefers npm sources):

dsh plugin --profile demo add dsh-chat-share

GitHub (alternative; ships the same prebuilt artifacts):

dsh plugin --profile demo add github:chrisx9z/dsh-chat-share#v1.3.0

The package ships prebuilt artifacts (lib/ — host and browser halves), so neither install needs a build step. Releases are tagged v1.x.y; pin a tag or commit for reproducible installs.

Then use it in any session of that profile:

/share

Plugin Market

The plugin is listed in the awesome-dsh-plugin registry (PR submission), so it appears in Settings → Plugin Market — browse, one-click install, and updates once the catalog refreshes (usually within a day of the registry PR merging). The npm source above makes market installs resolve to the published package.

Browser-half requirements

The installed package's browser half is picked up by the host's dsh.client scan, so the Header button, dialog, and sidebar menu entries work on hosts whose composition includes it. The sidebar ... menu rows need ui-workspace's sessionRowMenu service — present in dsh web builds after 2026-08-18 (and in source checkouts of the harness). On older releases only the /share command is active until the host is updated.

For the official distribution path (the harness repository's own web bundle), integrate the package as packages/session-query/session-chat-share and compose the chat-share row in packages/bundle/web-app/cordis.patch.yml.

How it works

  • Host half (src/index.ts): registers /share on the human-command plane. No arguments are accepted; the dialog owns range selection.
  • Browser half (src/client/): a controller pages session.history from the tail (up to 300 shareable messages), keeps per-session dialog state, renders the range with pure renderers (render.ts) into Markdown (verbatim text under role headers), a self-contained HTML page (paragraphs + fenced code blocks), or plain text (TXT), and copies/downloads the artifact.
  • The invariant companion (src/invariant.ts) registers the package's no-op runtime invariant, matching the harness convention.

Development and tests

The 41 package tests (command, controller, renderers, dialog, header action, row-menu actions, invariant, and a real Loader composition) run inside a deepseek-harness checkout where the @deepseek-ai/* workspace dependencies resolve:

pnpm exec vitest run packages/session-query/session-chat-share

Limitations

  • The dialog reads up to 300 shareable messages from the log tail; older messages are out of scope for one snippet.
  • Sharing is a copy/download artifact, not a hosted link: nothing is uploaded to a server.
  • HTML output is deliberately basic (paragraphs and fenced code blocks); inline markdown such as emphasis and links stays as literal text in the HTML artifact, while the Markdown artifact keeps it verbatim.
  • Images are represented by an [image] marker; tool calls, tool results, boundary markers, and compaction-replaced copies are excluded.

License

MIT