Back to directory

dsh-roost

In a curated listMaintenance: Active

roost-qq/dsh-roost

Lets the agent live inside QQ (private chat, groups, channels) with persistent per-chat sessions, fact/diary/graph memory, mood-driven proactive messages and tiered tool access.

View on GitHub
$ dsh plugin --profile web add dsh-roost

29

stars

2

forks

JavaScript

Language

AGPL-3.0

License

2026-10-26

Created

2026-11-22

Last push

AGPL-3.0 DSH plugin that lets the agent live inside QQ: installed with `dsh plugin --profile web add dsh-roost`, it maps each QQ chat to a persistent DSH session with three-layer memory, tiered tool access and replies sent through `qq_send`.

DSH integration

Native runtime

Author-claimed

Safety audit

Unaudited

Last verified

2026-11-23

License

AGPL-3.0

01What can it help you accomplish?

  • Run a QQ bot whose answers come from DeepSeek Harness sessions

    one long-lived DSH session per QQ group or private chat, with the mapping surviving disconnects and restarts

    DSH users who want the agent living inside QQ instead of a chat window

  • Remember what a group or a private chat said, and speak up on its own

    three-layer memory (facts, diary, knowledge graph) consolidated overnight plus scored proactive openers instead of fixed pushes

    Operators of long-running QQ groups and companion-style bots

  • Change the QQ bot's AppID or move to another machine without losing memory

    QQ-number / group-number to openid bindings so old memories still resolve, plus zip backup export and import

    Maintainers rotating QQ open-platform credentials or hardware

02How to install into DeepSeek Harness

Prerequisites

  • DSH desktop or web build that exposes `sessionController` and `agents`
  • Node 22+ and a QQ open-platform bot (AppID / AppSecret); the first-run wizard installs Roost itself

Installation steps

  1. 01

    Install the package from the DSH plugin marketplace by the name `dsh-roost`, or run `dsh plugin --profile web add dsh-roost`

    $ dsh plugin --profile web add dsh-roost

  2. 02

    Open the panel and complete the forced four-step first-run wizard: connection notes, confirm Roost is installed and started, one-click direct connection, self-test

  3. 03

    Or press 一键就绪, which chains steps 1 / 2 / 4 and stops at the QR-scan or AppID/AppSecret step to ask you

  4. 04

    Ask the group owner to enable 接收所有消息 for the group in the mobile QQ app and to add the bot, then bind the owner account

Verify the integration

  • The wizard only finishes when the backend really runs the direct-connection self-test — the 完成 button just sends a request, it cannot declare success
  • Run 跑一次自测 from the overview panel: it drives one DSH round without QQ, separating a broken session from a broken QQ side

03DSH integration and capability boundaries

DSH integrationNative runtime

Native DSH plugin: `dsh plugin --profile web add dsh-roost` loads it into a DSH profile, every QQ chat is mapped to its own long-lived DSH session, and replies leave through model-called host tools (`qq_send` / `qq_close`) configured entirely in a DSH sidebar panel.

  • Per-message permission tiers

    every incoming QQ message plus the sender's identity→the tool set the model may call for that round; senders it cannot identify get the lowest tier

    file and command tools are only mounted for a round whose sender matched a tier
  • Three-layer memory with memory tools

    chat turns, group facts and diary entries→cross-group / group facts, a diary with 3-level decay and keyword / vector retrieval, a knowledge graph, and `memory_search` / `memory_note` for the model

    nightly consolidation scores, promotes, compresses and extracts triples from stored memory
  • Reply, file and channel tools

    tool calls the model makes during a round→`qq_send` / `qq_close` each produce their own message; `qq_send_file` sends one file per round, 200MB max and split above 5MB, with an optional path allowlist; `qq_post_thread` publishes a titled post into a channel forum section

    every send tool call posts to QQ immediatelychannel posts must pass review and are tracked as submitted / online / missing in the panel
  • Accounts, backups and panel operations

    the owner's QQ number / group number and openids, or a backup zip→bindings so memories still resolve after an AppID change; export / import of a backup zip on the panel's backup page

    an imported backup only takes effect on the next start, and the import can be cancelled

04Who is it for? When not to use it?

Good for

  • DSH users who want the agent living inside QQ instead of a chat window
  • Operators of long-running QQ groups and companion-style bots
  • Maintainers rotating QQ open-platform credentials or hardware

Not for

  • The permission layer only bounds which tools the model may call in a round; dsh-roost itself runs under your account with the same file, command and network rights as your machine. It is not a sandbox — real isolation would need an external process plus an OS-level sandbox.
  • QQ only: `channel.current` is always `roost`; the channel abstraction exists but no second platform is connected.
  • Text-to-speech is optional and off by default. Local `sherpa` is fully offline, but Microsoft `edge` sends the text it reads aloud to Microsoft's servers, and OpenAI-compatible / Xiaomi MiMo providers send it to the upstream you configure.

05Compatibility, maintenance and safety notes

  • The permission layer only bounds which tools the model may call in a round; dsh-roost itself runs under your account with the same file, command and network rights as your machine. It is not a sandbox — real isolation would need an external process plus an OS-level sandbox.
  • QQ only: `channel.current` is always `roost`; the channel abstraction exists but no second platform is connected.
  • Text-to-speech is optional and off by default. Local `sherpa` is fully offline, but Microsoft `edge` sends the text it reads aloud to Microsoft's servers, and OpenAI-compatible / Xiaomi MiMo providers send it to the upstream you configure.
  • The send queue lives in memory only, so a restart drops whatever was queued, and the panel cannot show the queue length yet.
2026-10-262026-11-20v1.4.0

AGPL-3.0 · active, last push 2026-11-20, latest release v1.4.0

06Frequently asked questions

How do I install dsh-roost into DSH?

Type the package name `dsh-roost` in the DSH plugin marketplace, or run `dsh plugin --profile web add dsh-roost`. A source install also works: `git clone https://github.com/roost-qq/dsh-roost.git` — the project has zero dependencies, so no `npm install` is needed.

Is the first-run wizard optional, and what does it actually do?

The first time you open the panel it forces the four-step first-run wizard: connection notes, confirm Roost is installed and started, one-click direct connection, self-test. On an old Roost build without the host protocol you can 暂时跳过 and go upgrade, but the overview page keeps warning you. The wizard only counts as finished when the backend really runs the direct-connection self-test.

Which DSH tools does the plugin hand to the model?

`qq_send` / `qq_close` send replies (each call is its own message), `qq_send_file` sends one file per round with an optional path allowlist, `memory_search` / `memory_note` reach into the three-layer memory, and `qq_post_thread` posts a titled thread into a channel forum section. Which of them are mounted for a round is decided per message by the permission tier.

Where does dsh-roost keep my data?

Config, memory, diary, knowledge graph, personas and stickers default to `~/.dsh/dsh-roost/`; set `DSH_ROOST_DATA` to move that directory. Nothing is uploaded or shared, and a backup zip is written only where you choose.

What happens when the DeepSeek model service is down?

The plugin cannot fix a dead model service: retries recover some gateway 502s, but a full outage just has to recover. In that case it replies that the model service is temporarily failing instead of leaking internal errors, and running 跑一次自测 from the overview panel tells you whether the DSH session or the QQ side is the broken half.

08Data and sources

  • Author-claimedgithub.com5a978f292ade…

    **零依赖,装在 DSH 里**:权限、记忆、人格、扩展、排期都在侧栏面板里点着配。

  • Author-claimedgithub.com5a978f292ade…

    QQ ⇄ Roost 框架 ⇄ 外接协议事件流 / RPC ⇄ dsh-roost ⇄ DSH 会话 ⇄ DeepSeek

  • Author-claimedgithub.com5a978f292ade…

    **交给 DSH**:把消息送进对应会话,等 AI 说完;工具、记忆、上下文压缩、人格都由 DSH 提供

This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-11-23. Found an error? Submit a correction.

🏆

Best DeepSeek Harness Plugins

Twelve plugins worth installing first — picked from the whole catalog, across every category.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.