Adds a WeChat assistant panel to the DSH sidebar that rebuilds the bot's WeChat conversations from the local session store, with search, copy and draft support, and hands plain text to @xmanrui/dsh-im for delivery when a target is already saved.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh_wechat_bot_talkingabout
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Tino0713/dsh_wechat_bot_talkingabout
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
在 DSH 左侧栏「个人助理」下面加一个「微信助理」入口:点开就能看到机器人收到的微信对话,并做搜索、复制、草稿这些本地操作;装有 IM 机器人插件且保存过投递目标时,还能把纯文字交给机器人发出去。
仓库:https://github.com/Tino0713/dsh_wechat_bot_talkingabout
功能
- 从本机会话库(默认
~/.dsh/sessions,只读session.v4.jsonl.zstd)里挑出工作区为~/.dsh/im的会话,把「用户原话 + 助理文字回复」还原成聊天记录。 - 左侧列表可按标题或首句搜索,右侧气泡显示时间、轮次、字数和工具调用次数,单条或整段都能复制。
- 聊天记录只是展示,不会改动任何会话文件。
- 发送走机器人的主动投递,能力按「是否装了
@xmanrui/dsh-im、是否保存过投递目标」自动开关,面板里写明不可用的原因。
安装
环境要求
- DSH
0.2.2-rc.5及以上(插件按这个版本的 bundle / 客户端接口构建)。 - Node.js
22.15及以上(读会话时用zlib.zstdDecompressSync,更早的 Node 没有这个 API)。
从 npm 安装
插件发布到 npm 后:
dsh plugin --profile desktop add dsh_wechat_bot_talkingabout
装好后重启 DSH,左侧栏「个人助理」下面会出现「微信助理」,点开即可。
从本地目录安装
插件是一个 bundle,也可以直接安装目录:
- 把本目录放到磁盘上,例如
D:\plugins\dsh_wechat_bot_talkingabout。 - 在 DSH 里用插件管理安装这个目录(
install_bundle,target 传目录绝对路径),装好后确认返回的application是applied。 - 左侧栏出现「微信助理」,点开即可。
从打包文件安装
npm pack
# 然后安装产出的 dsh_wechat_bot_talkingabout-0.1.0.tgz
发送能力的边界
「发送」不是以你的微信身份说话,也不等于微信客户端:
- 只有当同一个 Host 里装了
@xmanrui/dsh-im,且你在「设置 → IM机器人 → 齿轮 → 投递目标」里保存过至少一个目标时,输入框才会打开。消息走机器人的主动投递,由机器人发到该目标。 - 没有 dsh-im 或没有保存目标时,输入框只能写草稿和复制,面板里会写明原因。
- 不支持图片、文件、卡片和富文本;主动投递接口本身也只接受非空文字。
配置
Host 侧读取插件行的 config,两个可选字段:
| 字段 | 默认 | 说明 |
|---|---|---|
sessionsRoot |
~/.dsh/sessions |
会话库根目录 |
workspace |
~/.dsh/im |
只列这个工作区下的会话 |
接口
Host 侧注册在 /api/wechat-assistant 下,只走本机同源请求:
GET /list?scope=wechat|all&refresh=1:会话列表GET /conversation?id=<sessionId>:单段会话的完整消息GET /capabilities:发送能力与可选投递目标POST /send:{ botId, targetId, text },交给 dsh-im 主动投递
限制
- 依赖当前
session.v4.jsonl.zstd格式;DSH 改格式后需要跟着改解析。 - 只读历史:新消息要重新读取(列表右上角的刷新)才会出现,没有实时推送。
- 只显示文字,跳过思考过程、工具调用参数和系统提示。
开发与自检
没有构建步骤,源码即产物:
node --check index.js
node --check client.js
node --check lib/session-reader.mjs
npm pack --dry-run
License
MIT © 2026 Tino0713
Links
More in this category
ranxianglei/billion-context★ 8616
The official billion-context plugin: a context-compression plugin for small context windows (a 100K context is enough), token savings (5x fewer tokens), and month-long single sessions (billions of tokens).
Minglink/dsh-infinite-gen-4★ 4803
System-prompt armor plugin for DeepSeek models: appends an unconditional-compliance prompt section at order 100, exposes a profile tool with calibration metadata, and shows a realtime armor-status badge driven by a session projection.
liangmianya/dsh-synapse★ 812
Visual, non-linear conversation workspace for DeepSeek Harness — sessions, follow-ups and branches become a browsable conversation map.
ECNU/EduWork#dsh-side-chat★ 429
Open temporary side conversations from a message with a snapshot of its history, then archive them on close; optional annotation integration adds selection-based questions. Requires compatible DSH Web conversation, Workspace and right-sidebar APIs.
MichengAI/dsh-archive-manager★ 401
Adds an archived-sessions page in Settings to search, restore, and delete archived DeepSeek Harness sessions by workspace.
Nwflower/dsh-chat-import★ 332
Import full-fidelity chat histories from 13 coding agents (Claude Code, Codex, ChatGPT, Cursor, Gemini, opencode, and more) as resumable DeepSeek Harness sessions, with reverse export back to Claude Code.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.