Skip to content

dsh-qq-extras

Verified

dsh-qq-extras · v0.1.0 · MIT

DSH companion plugin for qq-bridge: chat memory archive/search/summary, web sticker sending and TTS voice messages over OneBot.

Install

dsh plugin add dsh-qq-extras

Confirm the layer applied with dsh --profile default --dump-config — see the install guide.

Source

Published to npm without a public repository. Inspect the package contents before installing.

Tags

Creators

Readme

dsh-qq-extras

DeepSeek Harness 的 QQ 助手增强插件,配合 qq-bridge 与 SnowLuma 使用:

  • 长期记忆:归档 QQ 收发消息、自动摘要、全文检索
  • 表情包:按关键词从网络搜图并发送
  • 语音:本机中文 TTS 合成后作为 QQ 语音条发送

前置

  1. 已安装并运行 qq-bridge(OneBot v11 / SnowLuma)
  2. DSH Web 在 http://127.0.0.1:3080
  3. 设置环境变量 QQ_BRIDGE_DIR 指向 qq-bridge 目录(默认 ~/qq-bridge)

安装

dsh plugin --profile web add dsh-qq-extras

装完重启 DSH。

配置

插件读取 $QQ_BRIDGE_DIR/config.json 里的 ownerQQ 与 SnowLuma 的 HTTP 地址/token(与 qq-bridge 共用,不额外保存凭据)。

数据目录默认 ~/.dsh/qq-memory,可用 QQ_EXTRAS_DATA 覆盖:

  • archive/messages.jsonl、每日 Markdown、每会话 Markdown
  • archive/summaries/latest.md
  • audio/(TTS 产物)

归档采集器需要单独运行:

node node_modules/dsh-qq-extras/collector.mjs

工具

  • memory_recent / memory_search / memory_stats / memory_context
  • memory_summary_get / memory_summary_save
  • web_sticker_send(百度图片搜索或直链)
  • voice_send_text / voice_send_file

隐私

所有数据只在本机:不向任何服务器上传聊天记录、笔记或音频。插件本身不包含任何账号、令牌或聊天数据;发送目标固定为 qq-bridge 配置里的 ownerQQ。

License

MIT