Skip to content

A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.

Merge remote-tracking branch 'upstream/dev' into docs/683-glibc-fallback

klarkxya8301813eb41
diff --cc README.md
index 3b69af07,6aeecb8f..214a2a99
--- a/README.md
+++ b/README.md
@@@ -47,11 -47,11 +47,11 @@@ DS Bot 0.2.1 and earlier cannot update
**DSH Web (Windows, macOS, Linux)**
-Needs Node.js `22.19` or later, and pnpm.
+Needs Node.js `22.19` or later, and pnpm. On Linux it needs the same glibc 2.28 or newer as the desktop app — the DSH install loads its own native libraries, so CentOS 7 and other older-glibc systems take the Docker route below instead.
```sh
- npx @deepseek-ai/[email protected] plugin --profile web add ds-bot
- npx @deepseek-ai/[email protected] web
+ npx @deepseek-ai/[email protected] plugin --profile web add ds-bot
+ npx @deepseek-ai/[email protected] web
```
**Docker (NAS, Linux server)**
diff --cc README.zh.md
index a955d9ff,79e8f542..eca6cd46
--- a/README.zh.md
+++ b/README.zh.md
@@@ -47,11 -47,11 +47,11 @@@ DS Bot 0.2.1 及更早的版本在 DSH
**dsh Web(Windows、macOS、Linux)**
-需要 Node.js `22.19` 以上和 pnpm。
+需要 Node.js `22.19` 以上和 pnpm。Linux 上它和桌面应用一样要求 glibc 2.28 及以上——dsh 自身会加载原生库,CentOS 7 这类旧 glibc 系统请走下面的 Docker 路线。
```sh
- npx @deepseek-ai/[email protected] plugin --profile web add ds-bot
- npx @deepseek-ai/[email protected] web
+ npx @deepseek-ai/[email protected] plugin --profile web add ds-bot
+ npx @deepseek-ai/[email protected] web
```
**Docker(NAS、Linux 服务器)**
diff --cc docs/known-issues.md
index fabce7d7,03f39aed..5b13bb4f
--- a/docs/known-issues.md
+++ b/docs/known-issues.md
@@@ -73,23 -73,6 +73,23 @@@ The error code is `WEB_PROVIDER_CONFIGU
3. Start DSH again.
- To check the result, run `npx @deepseek-ai/[email protected] --profile web --dump-config` and look at the `web` row. Another plugin can also set the search provider while DSH runs, after the profile patch. If you turn such a plugin off later, check this setting again.
+ To check the result, run `npx @deepseek-ai/[email protected] --profile web --dump-config` and look at the `web` row. Another plugin can also set the search provider while DSH runs, after the profile patch. If you turn such a plugin off later, check this setting again.
See also [Web search](../ds-bot/README.md#web-search) in the plugin README and issue [#128](https://github.com/Fei2411/DS-Bot/issues/128).
+
+## Linux: "GLIBC_2.27 not found" loading libghostty-vt.so
+
+**Where:** on a Linux system whose glibc is older than 2.28 (CentOS 7 ships glibc 2.17), the desktop AppImage or deb, or a host-installed `dsh web`, fails at start. The loader reports a missing glibc version, for example:
+
+```text
+libghostty-vt.so: GLIBC_2.27 not found
+```
+
+**Why:** DeepSeek Harness ships native libraries, including `libghostty-vt.so`, built against newer glibc symbols than CentOS 7 provides. DS Bot is a plugin and cannot rebuild DSH's libraries, so there is no glibc-2.17 build to install. Check your version with `ldd --version`.
+
+**What to do:** run the Docker image instead — the container has its own, newer glibc, so the host's glibc no longer decides. See [`docker/`](../docker/README.md): build or pull the image, publish the port, and open the UI from any browser on the LAN. Keep these points in mind:
+
+- The container brings its own DSH and its own native libraries. Do not copy or mount the host's `libghostty-vt.so` into the container — mixing them breaks it.
+- The container needs a Docker (or Podman) new enough to run a Debian Bookworm image. CentOS 7's stock kernel and Docker are old; if Docker itself fails, Podman or a newer Docker engine is the route. This exact combination is untested — the image itself is covered by CI on a modern host.
+- Data lives in the mounted data directory (`/data`), not your real `~/.dsh`; the container never reads or writes it.
+- Stop with `docker compose down` (or `docker stop`), which flushes sessions cleanly.
diff --cc docs/known-issues.zh.md
index f21b1ccb,2b3bc8bc..f867f9b6
--- a/docs/known-issues.zh.md
+++ b/docs/known-issues.zh.md
@@@ -73,23 -73,6 +73,23 @@@ Error: configured web provider "auto" i
3. 重新启动 DSH。
- 想确认结果,可以运行 `npx @deepseek-ai/[email protected] --profile web --dump-config`,看 `web` 那一行。另外,有的插件会在 DSH 运行时设置搜索 provider,时间在 profile patch 之后。以后关掉这类插件时,也要再检查一下这个设置。
+ 想确认结果,可以运行 `npx @deepseek-ai/[email protected] --profile web --dump-config`,看 `web` 那一行。另外,有的插件会在 DSH 运行时设置搜索 provider,时间在 profile patch 之后。以后关掉这类插件时,也要再检查一下这个设置。
另见插件 README 的 [Web search](../ds-bot/README.md#web-search) 一节和 issue [#128](https://github.com/Fei2411/DS-Bot/issues/128)。
+
+## Linux:加载 libghostty-vt.so 报「GLIBC_2.27 not found」
+
+**在哪里:** 在 glibc 低于 2.28 的 Linux 系统上(CentOS 7 自带 glibc 2.17),桌面 AppImage、deb 或本机装的 `dsh web` 启动即失败。动态加载器报告缺少某个 glibc 版本,例如:
+
+```text
+libghostty-vt.so: GLIBC_2.27 not found
+```
+
+**原因:** DeepSeek Harness 自带的原生库(包括 `libghostty-vt.so`)是按比 CentOS 7 更新的 glibc 符号编译的。DS Bot 是插件,没法重编 DSH 的库,所以没有适配 glibc 2.17 的版本可装。可以用 `ldd --version` 查看本机版本。
+
+**怎么处理:** 改用 Docker 镜像——容器里有自己的、更新的 glibc,宿主 glibc 不再起决定作用。见 [`docker/`](../docker/README.md)(英文):构建或拉取镜像、发布端口,然后用局域网内任意浏览器打开 UI。注意这几点:
+
+- 容器自带 DSH 和配套原生库。别把宿主机的 `libghostty-vt.so` 复制或挂载进容器,混用会破坏它。
+- 需要能跑 Debian Bookworm 镜像的 Docker(或 Podman)。CentOS 7 自带的内核和 Docker 偏旧,如果 Docker 本身就跑不起来,换 Podman 或更新版 Docker。这个组合没有实机验证过——镜像本身是在现代宿主机上由 CI 测过的。
+- 数据存在挂载的数据目录(`/data`)里,不是你真实的 `~/.dsh`;容器不会去读写它。
+- 停止用 `docker compose down`(或 `docker stop`),会话能正常收尾。