A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.
Test and install against DSH 0.2.1-rc.2
Fei24115c6e1162900a
diff --git a/.github/workflows/test.yml b/.github/workflows/test.ymlindex 0581cce1..f8ebb1bc 100644--- a/.github/workflows/test.yml+++ b/.github/workflows/test.yml@@ -20,10 +20,10 @@ jobs:fail-fast: falsematrix:include:+ - { os: ubuntu-latest, node: 24, dsh: 0.2.1-rc.2 }+ - { os: windows-latest, node: 24, dsh: 0.2.1-rc.2 }+ - { os: ubuntu-latest, node: 22, dsh: 0.2.1-rc.2 }- { os: ubuntu-latest, node: 24, dsh: 0.2.0-rc.2 }- - { os: windows-latest, node: 24, dsh: 0.2.0-rc.2 }- - { os: ubuntu-latest, node: 22, dsh: 0.2.0-rc.2 }- - { os: ubuntu-latest, node: 24, dsh: 0.2.1-alpha.1 }defaults:run:shell: bashdiff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex c867daa9..e66531dc 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -99,7 +99,7 @@ For the test bench, add the DeepSeek Harness checkout next to the plugin folder```shcd ..git clone https://github.com/deepseek-ai/deepseek-harness.git-git -C deepseek-harness checkout dsh-v0.2.0-rc.2+git -C deepseek-harness checkout dsh-v0.2.1-rc.2(cd deepseek-harness && pnpm install)```diff --git a/CONTRIBUTING.zh.md b/CONTRIBUTING.zh.mdindex 8f34d0bd..67851ff6 100644--- a/CONTRIBUTING.zh.md+++ b/CONTRIBUTING.zh.md@@ -99,7 +99,7 @@ npm run harness```shcd ..git clone https://github.com/deepseek-ai/deepseek-harness.git-git -C deepseek-harness checkout dsh-v0.2.0-rc.2+git -C deepseek-harness checkout dsh-v0.2.1-rc.2(cd deepseek-harness && pnpm install)```diff --git a/README.md b/README.mdindex b75a2f23..070dd4a7 100644--- a/README.md+++ b/README.md@@ -32,8 +32,8 @@ If npm is not reachable, in step 2 you can also enter the full path of `ds-bot-0Needs Node.js `22.19` or later, and pnpm.```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 --git a/README.zh.md b/README.zh.mdindex b19edc14..2a3b3728 100644--- a/README.zh.md+++ b/README.zh.md@@ -32,8 +32,8 @@ DeepSeek Bot(简称 DS Bot)是一个基于 [DeepSeek Harness](https://github需要 Node.js `22.19` 以上和 pnpm。```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 --git a/docs/dev/release-checklist.md b/docs/dev/release-checklist.mdindex b7c25384..3a02e410 100644--- a/docs/dev/release-checklist.md+++ b/docs/dev/release-checklist.md@@ -7,7 +7,7 @@ CI 只跑单元测试和 Linux 上的测试台。窗口外框、输入法、高## 准备- Windows 10 / 11 x64,或 macOS(Apple 芯片)。-- 官方的 DSH Desktop,版本和 README 里写的一致(现在是 `0.2.0-rc.2`)。只从 DeepSeek Harness 官方渠道下载。+- 官方的 DSH Desktop,版本和 README 里写的一致(现在是 `0.2.1-rc.2`)。只从 DeepSeek Harness 官方渠道下载。- 要发的包:在 `ds-bot/` 里运行 `npm pack`,得到 `ds-bot-<版本>.tgz`。- 一个能用的模型(DeepSeek API key 或账号)。测试里要填的密钥都用**假值**。- 想保留现有数据,先备份数据目录:Windows 是 `C:\Users\<用户名>\.dsh\`,macOS 是 `~/.dsh/`。最好用一台没有自己团队数据的机器或账户来测。diff --git a/docs/known-issues.md b/docs/known-issues.mdindex 8a92f374..dbf658e4 100644--- a/docs/known-issues.md+++ b/docs/known-issues.md@@ -36,10 +36,10 @@ Installing another version of DS Bot does not help.1. Quit DSH.2. Open `cordis.patch.yml` in the profile folder. Look for a row with `id: bot` that has no `name: ds-bot` line, and remove that row. Keep a copy of the file first.-3. Check that `package.json` in the same folder lists `ds-bot` under `dependencies`. If it does not, add DS Bot again: `npx @deepseek-ai/[email protected] plugin --profile web add ds-bot`.+3. Check that `package.json` in the same folder lists `ds-bot` under `dependencies`. If it does not, add DS Bot again: `npx @deepseek-ai/[email protected] plugin --profile web add ds-bot`.4. Start DSH again.-To see where the row comes from, run `npx @deepseek-ai/[email protected] --profile web --dump-config`. It prints every plugin row with the file that supplied it. If you report the problem, copy only the rows with `id: bot` and the file names; leave out keys and paths you do not want to share.+To see where the row comes from, run `npx @deepseek-ai/[email protected] --profile web --dump-config`. It prints every plugin row with the file that supplied it. If you report the problem, copy only the rows with `id: bot` and the file names; leave out keys and paths you do not want to share.Deleting the whole profile folder also fixes it, but it removes the profile's other plugins and its settings, such as models. The Bot team is in `~/.dsh/bot/` and is not affected either way.@@ -73,6 +73,6 @@ The error code is `WEB_PROVIDER_CONFIGURED_MISSING`.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/DeepSeek-Bot/issues/128).diff --git a/docs/known-issues.zh.md b/docs/known-issues.zh.mdindex 296bec65..0f82c1a0 100644--- a/docs/known-issues.zh.md+++ b/docs/known-issues.zh.md@@ -36,10 +36,10 @@ dsh: disabling profile plugin row "bot": its declared peer dependencies cannot b1. 退出 DSH。2. 打开 profile 文件夹里的 `cordis.patch.yml`,找 `id: bot` 但没有 `name: ds-bot` 的一行,删掉这一行。改之前先备份这个文件。-3. 确认同一文件夹的 `package.json` 在 `dependencies` 里有 `ds-bot`。没有的话,重新添加 DS Bot:`npx @deepseek-ai/[email protected] plugin --profile web add ds-bot`。+3. 确认同一文件夹的 `package.json` 在 `dependencies` 里有 `ds-bot`。没有的话,重新添加 DS Bot:`npx @deepseek-ai/[email protected] plugin --profile web add ds-bot`。4. 重新启动 DSH。-想知道这一行来自哪里,可以运行 `npx @deepseek-ai/[email protected] --profile web --dump-config`。它会列出每一行插件配置,以及提供它的文件。如果要报告这个问题,只复制 `id: bot` 的那几行和文件名,不要带上 key 或你不想公开的路径。+想知道这一行来自哪里,可以运行 `npx @deepseek-ai/[email protected] --profile web --dump-config`。它会列出每一行插件配置,以及提供它的文件。如果要报告这个问题,只复制 `id: bot` 的那几行和文件名,不要带上 key 或你不想公开的路径。删掉整个 profile 文件夹也能解决,但会一并删掉这个 profile 的其他插件和设置(比如模型)。Bot 团队数据在 `~/.dsh/bot/`,两种做法都不会影响它。@@ -73,6 +73,6 @@ Error: configured web provider "auto" is not registered3. 重新启动 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/DeepSeek-Bot/issues/128)。diff --git a/ds-bot/README.md b/ds-bot/README.mdindex 13ac307b..e96eb274 100644--- a/ds-bot/README.md+++ b/ds-bot/README.md@@ -4,7 +4,7 @@ The DS Bot plugin for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek> Early release (v0.1). Features, tools and the saved data format can still change.-Tested with dsh `0.2.0-rc.2` (Web and Desktop) on Linux.+Tested with dsh `0.2.1-rc.2` (Web) and `0.2.0-rc.2` (Web and Desktop).## Featuresdiff --git a/ds-bot/dev/harness/package.json b/ds-bot/dev/harness/package.jsonindex ed7ae6b3..97198114 100644--- a/ds-bot/dev/harness/package.json+++ b/ds-bot/dev/harness/package.json@@ -3,7 +3,7 @@"private": true,"description": "The DeepSeek Harness packages that the unit tests and the linter run against. Install with npm run harness in ds-bot/.","dependencies": {- "@deepseek-ai/dsh": "0.2.0-rc.2",+ "@deepseek-ai/dsh": "0.2.1-rc.2","jsdom": "29.1.1","oxlint": "1.76.0"}