CJXIAO0718/dsh-plugin-session-share ↗★ 2

dsh-plugin-session-share

把 DSH 会话导出成单文件、离线可看、默认脱敏的 HTML 分享页。 适合需要将DSH聊天记录安全脱敏并导出为离线HTML网页分享给他人的用户。

パッケージ
dsh-plugin-session-share
互換性
未検証
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/10/25

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:CJXIAO0718/dsh-plugin-session-share

ドキュメント

README 全文を読む ↗

配置项

插件条目里的 config(lib/index.js 读取):

键取值默认说明
themeauto | light | darkauto分享页初始主题,右上角按钮可切换
redacttrue | falsetrue脱敏总开关;false = 关闭脱敏(原样输出,慎用)
- insert:
    - id: session-share-html
      name: 'file:///C:/.../dsh-plugin-session-share/lib/index.js'
      config:
        theme: light
        redact: true

离线 CLI 用 --no-redact 关闭脱敏,用 --title 覆盖标题。

另外暴露:路由 GET /api/session.shareHtml(支持 &pick=m12,m13、&download=1)、路由 GET /api/session.shareIndex(挑选浮层的条目列表)、命令 /share、工具 share_conversation_html(写文件到会话 cwd 下的 .dsh-share/)。