wilbot: Chat Panel in DSH and External Integration

Introduction

DeepSeek Harness (DSH) embraces the philosophy of “everything is a plugin,” and its plugin ecosystem is steadily growing. Developers often need to chat with a model in a local workspace while simultaneously syncing the conversation to external platforms like QQ or Bilibili. wilbot is a plugin that integrates the “chat interface” and “external channels” into a single sidebar entry, reducing the need to constantly switch windows.

The plugin maintainer is eat-ice-gpu, and it is categorized under model inference.

What It Is

wilbot provides a top-level entry in the DSH sidebar. Once opened, it is divided into two sections:

  • Chat section: A conversation interface similar to QQ’s, with a persistent session. Supports images, files, emojis, paste, and drag-and-drop. You can also start new topics.
  • External channel section: QQ channel (via SnowLuma / OneBot v11), Bilibili channel (watching videos, drafting comments, on-duty video watching + DM recommendations).

The plugin also serves as the hub of the workbench, keeping track of recent conversations and providing capabilities such as retrieval and task dispatching.

Installation & Activation

The package name is wilbot. Enter the corresponding value in “Add Plugin” on the DSH plugin page:

Value Description
wilbot Install from npm (if published)
github:you/wilbot Install from a Git repository
github:owner/wilbot GitHub repository
F:\path\to\wilbot-0.1.2.tgz Absolute path to a local tarball (offline distribution)
F:\path\to\wilbot Absolute path to a local directory (for development)

Local paths must be absolute; relative paths will be rejected.

After installing, enable the plugin on the plugin page, then press Ctrl+R to refresh the page (client-side JS only runs once on page load). A paper plane icon will appear in the sidebar.

Auto-Initialization

No manual directory creation or memory store linking is required after installation. On first launch, the plugin handles the following automatically:

  1. Create the working directory: If homeDir is empty, it tries <workspace-parent>/wilbot → ~/wilbot in order and uses the first available directory, creating it if it doesn’t exist.
  2. Link the memory store: It searches up to 4 levels upward; if it finds .dsh-meow/memory.db in any directory, it links <homeDir>\.dsh-meow to it (using a junction on Windows, which doesn’t require admin privileges). If not found, it treats the environment as fresh.
  3. Create the data directory: Defaults to $DSH_HOME/plugins-data/wilbot, storing session registry, draft pool, backups, avatars, and search index.

You can check the bootstrap self-check results in the bootstrap field of /wilbot/api/session:

{ "home": "…\\wilbot", "created": true, "linked": true, "linkTarget": "…\\.dsh-meow", "why": "" }

Mobile / Remote Install Command

If DSH and your computer are on the same LAN, and the memory sync service is running on the computer (default port 8787), you can run the following in a mobile terminal:

curl -fsSL "http://<computer-IP>:8787/wilbot-install.sh?token=<token>" | sh

It will fetch the latest wilbot-*.tgz, extract it, create the working directory, link the memory store, mount it into the profile’s node_modules and dsh.profile.bundles, then prompt you to restart DSH.

In environments without tar (e.g., some PRoot setups), it will automatically fall back to using Node’s built-in zlib for extraction.

Configuration

Configuration options live in the config section of cordis.patch.yml and can also be modified in the plugin page settings:

Key Default Purpose
dataDir Empty (= $DSH_HOME/plugins-data/wilbot) Data root directory
apiPrefix /wilbot/api API prefix for the panel
homeDir Empty (= ~/wilbot) Working directory for topic sessions
snowlumaHome Empty (= ~/snowluma) SnowLuma installation location
allowPrivate [] QQ IDs allowed for private chat; empty = no one is replied to
thinTools true Three-layer architecture: strips “action-oriented” tools from the chit-chat layer, leaving only file reading + dispatch
memoryHabits true Appends a memory-discipline reminder in the recent-status section (“when you should proactively remember things”)

Data & Permissions

  • All data is stored under dataDir (default $DSH_HOME/plugins-data/wilbot): state.json (session registry), channels.json, duty.json / duty-state.json (Bilibili duty), persona.json, avatars/, search-index/, backups/.
  • No automatic outbound actions are performed: Bilibili comments must first be accumulated as drafts and require manual confirmation on the panel before posting; DM recipients are limited to IDs entered on the panel.
  • Panel API only accepts localhost loopback requests (127.0.0.1 / localhost / ::1); cross-origin write requests also require content-type: application/json. To access from a phone, install wilbot on the phone’s own DSH instance rather than remotely opening the computer’s interface in a browser.

Known Limitations

  • Chat bubbles are rendered as plain text; Markdown is not parsed (**bold** will display as-is).
  • Replies are delivered as a single complete block, not sentence by sentence.
  • When DSH is closed, the session is gone (there is no persistent background process).
  • New Bilibili accounts (integrity score < 71 or no phone number linked) will have their comments sent to a review queue, invisible to others.

Use Cases & Caveats

Ideal for developers who need to interact with a model within a DSH workspace and want to sync content to platforms like QQ or Bilibili. The plugin runs with the current DSH process permissions; review the source code and license before installation.

Conclusion

wilbot unifies the “chat panel” and “external channel integration” into a single sidebar entry, reducing window-switching overhead while lowering the onboarding barrier through auto-initialization. For more details, visit the catalog page and the GitHub repository.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye