A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.
Rename the project to DS Bot and point links at Fei2411/DS-Bot
Fei24116a773c8c8f80
diff --git a/.agents/skills/issue-triage/scripts/snapshot.mjs b/.agents/skills/issue-triage/scripts/snapshot.mjsindex 7f7eddb8..5f3a0b18 100644--- a/.agents/skills/issue-triage/scripts/snapshot.mjs+++ b/.agents/skills/issue-triage/scripts/snapshot.mjs@@ -9,7 +9,7 @@ import { join, resolve } from 'node:path'const args = process.argv.slice(2)const option = (name, fallback) => (args.includes(name) ? args[args.indexOf(name) + 1] : fallback)const out = resolve(option('--out', join(tmpdir(), 'issue-triage')))-const repo = option('--repo', 'Fei2411/DeepSeek-Bot')+const repo = option('--repo', 'Fei2411/DS-Bot')const run = (cmd, cmdArgs) => execFileSync(cmd, cmdArgs, { encoding: 'utf8', maxBuffer: 1 << 28 })const gh = cmdArgs => JSON.parse(run('gh', [...cmdArgs, '--repo', repo]))diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.ymlindex d902cefe..cfd02651 100644--- a/.github/ISSUE_TEMPLATE/bug.yml+++ b/.github/ISSUE_TEMPLATE/bug.yml@@ -11,8 +11,8 @@ body:Fastest: in DS Bot, **Settings → Feedback → Report on GitHub** fills in the diagnostics.最快:在 DS Bot 里点 **设置 → 反馈 → 在 GitHub 上报告**,诊断信息会自动填好。- Security problems: **Security** tab → **Report a vulnerability**. Questions and ideas: [Discussions](https://github.com/Fei2411/DeepSeek-Bot/discussions).- 安全问题请在 **Security** 页私下报告;提问和建议请发到 [Discussions](https://github.com/Fei2411/DeepSeek-Bot/discussions)。+ Security problems: **Security** tab → **Report a vulnerability**. Questions and ideas: [Discussions](https://github.com/Fei2411/DS-Bot/discussions).+ 安全问题请在 **Security** 页私下报告;提问和建议请发到 [Discussions](https://github.com/Fei2411/DS-Bot/discussions)。- type: textareaid: whatattributes:diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.ymlindex 8debed77..be5d9bde 100644--- a/.github/ISSUE_TEMPLATE/config.yml+++ b/.github/ISSUE_TEMPLATE/config.yml@@ -1,8 +1,8 @@blank_issues_enabled: falsecontact_links:- name: Questions & help- url: https://github.com/Fei2411/DeepSeek-Bot/discussions/new?category=q-a+ url: https://github.com/Fei2411/DS-Bot/discussions/new?category=q-aabout: Installation, setup and usage questions — ask in Discussions, not Issues.- name: Feature requests & ideas- url: https://github.com/Fei2411/DeepSeek-Bot/discussions/new?category=ideas+ url: https://github.com/Fei2411/DS-Bot/discussions/new?category=ideasabout: Suggest features and discuss anything that is not a bug — in Discussions.diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex b0fa8d96..d943241b 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -8,7 +8,7 @@ name: Release# npm Trusted Publishing: npm trusts this workflow through GitHub's OIDC token, so the# repository keeps no npm token, and every version gets a provenance statement. It is set# up once on npmjs.com: package ds-bot → Settings → Trusted Publisher → GitHub Actions,-# user Fei2411, repository DeepSeek-Bot, workflow release.yml, no environment.+# user Fei2411, repository DS-Bot, workflow release.yml, no environment.## The release tag must be v<version in ds-bot/package.json> and must point at a commit on# main. A version with a pre-release part (0.2.0-rc.1) goes to the npm tag "next", so thatdiff --git a/.github/workflows/test.yml b/.github/workflows/test.ymlindex 3b805ac7..16aa38a3 100644--- a/.github/workflows/test.yml+++ b/.github/workflows/test.yml@@ -310,7 +310,7 @@ jobs:- run: docker build -f docker/Dockerfile -t ds-bot:test .- run: node docker/test.mjs ds-bot:test- name: Publish the tested image- if: github.event_name == 'push' && github.repository == 'Fei2411/DeepSeek-Bot'+ if: github.event_name == 'push' && github.repository == 'Fei2411/DS-Bot'env:GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }}GHCR_ACTOR: ${{ github.actor }}diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex a73d8b53..82c83882 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -6,7 +6,7 @@ Thank you for helping. This file explains how the team works, how to set up the## Who can open pull requests-Collaborators of this repository push branches here and open pull requests into `dev` (see [How we work](#how-we-work)). For now, only collaborators can open pull requests. If you are not a collaborator, please open an issue for a bug (see [Report a problem](#report-a-problem)) or use [Discussions](https://github.com/Fei2411/DeepSeek-Bot/discussions) for a question or an idea.+Collaborators of this repository push branches here and open pull requests into `dev` (see [How we work](#how-we-work)). For now, only collaborators can open pull requests. If you are not a collaborator, please open an issue for a bug (see [Report a problem](#report-a-problem)) or use [Discussions](https://github.com/Fei2411/DS-Bot/discussions) for a question or an idea.## The rules that matter most@@ -84,7 +84,7 @@ You need:- For the test bench only: pnpm `11` and a checkout of DeepSeek Harness at the DSH version that the plugin is tested with.```sh-git clone https://github.com/Fei2411/DeepSeek-Bot.git ds-bot-repo+git clone https://github.com/Fei2411/DS-Bot.git ds-bot-repocd ds-bot-repo/ds-bot# The plugin's own build tool (esbuild only).@@ -183,7 +183,7 @@ DS Bot removes API keys, tokens, saved secrets and your home folder from its diaFor a security problem, do not open a public issue. Use **Report a vulnerability** on the repository's **Security** tab.-Issues are for bug reports. Questions, ideas and feature requests belong in [Discussions](https://github.com/Fei2411/DeepSeek-Bot/discussions). An idea that the maintainer accepts becomes an issue.+Issues are for bug reports. Questions, ideas and feature requests belong in [Discussions](https://github.com/Fei2411/DS-Bot/discussions). An idea that the maintainer accepts becomes an issue.## Licensediff --git a/CONTRIBUTING.zh.md b/CONTRIBUTING.zh.mdindex 67851ff6..4cd338d2 100644--- a/CONTRIBUTING.zh.md+++ b/CONTRIBUTING.zh.md@@ -6,7 +6,7 @@## 谁可以提 Pull Request-本仓库的协作者直接在这里推分支,向 `dev` 提 Pull Request(见[协作方式](#协作方式))。目前只有协作者能提 Pull Request。如果你不是协作者,发现 bug 请开 Issue(见[报告问题](#报告问题)),提问或建议请到 [Discussions](https://github.com/Fei2411/DeepSeek-Bot/discussions)。+本仓库的协作者直接在这里推分支,向 `dev` 提 Pull Request(见[协作方式](#协作方式))。目前只有协作者能提 Pull Request。如果你不是协作者,发现 bug 请开 Issue(见[报告问题](#报告问题)),提问或建议请到 [Discussions](https://github.com/Fei2411/DS-Bot/discussions)。## 最重要的规则@@ -84,7 +84,7 @@- 仅测试台需要:pnpm `11`,以及插件测试所用 DSH 版本的 DeepSeek Harness 源码。```sh-git clone https://github.com/Fei2411/DeepSeek-Bot.git ds-bot-repo+git clone https://github.com/Fei2411/DS-Bot.git ds-bot-repocd ds-bot-repo/ds-bot# 插件自己的构建工具(只有 esbuild)。@@ -183,7 +183,7 @@ DS Bot 会从诊断信息里去掉 API key、token、保存的密钥和你的用安全问题不要开公开 Issue。请在仓库的 **Security** 页使用 **Report a vulnerability**。-Issue 只用来报告 bug。提问、想法和功能建议请发到 [Discussions](https://github.com/Fei2411/DeepSeek-Bot/discussions)。维护者认可的想法会开成 Issue。+Issue 只用来报告 bug。提问、想法和功能建议请发到 [Discussions](https://github.com/Fei2411/DS-Bot/discussions)。维护者认可的想法会开成 Issue。## 许可diff --git a/README.md b/README.mdindex be7f520f..529864ba 100644--- a/README.md+++ b/README.md@@ -1,17 +1,17 @@<p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/images/logo-dark.svg">- <img src="docs/images/logo.svg" alt="DeepSeek Bot" width="260">+ <img src="docs/images/logo.svg" alt="DS Bot" width="260"></picture></p>-# DeepSeek Bot+# DS BotEnglish | [中文](README.zh.md)  -DeepSeek Bot (DS Bot) is a bot plugin for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (DSH). It turns DSH into bots. You create your own bots, then talk and work with them.+DS Bot is a bot plugin for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (DSH). It turns DSH into bots. You create your own bots, then talk and work with them.@@ -19,7 +19,7 @@ DeepSeek Bot (DS Bot) is a bot plugin for [DeepSeek Harness](https://github.com/**Desktop app (Windows, macOS, Linux)**-The desktop app brings its own DSH, so you don't need to install DSH first. Download it from [Releases](https://github.com/Fei2411/DeepSeek-Bot/releases):+The desktop app brings its own DSH, so you don't need to install DSH first. Download it from [Releases](https://github.com/Fei2411/DS-Bot/releases):- Windows (x64): `DeepSeek-Bot-<version>-win-x64.exe`. Run it; it installs for your user only, without administrator rights. If Windows shows "Windows protected your PC", select **More info** → **Run anyway**.- macOS: `DeepSeek-Bot-<version>-mac-arm64.zip` for an Apple chip, `DeepSeek-Bot-<version>-mac-x64.zip` for Intel. Safari unzips it by itself; drag **DeepSeek Bot** into **Applications** and open it. When macOS says it cannot check the app, open **System Settings** → **Privacy & Security** and select **Open Anyway**.@@ -37,7 +37,7 @@ First install DSH and set up at least one model in it. DS Bot uses the models fr2. In **Package name or address**, enter `ds-bot`. In mainland China, set **Registry** to **Mainland China mirror**.3. Select **Install**, then **Enable now**. If DSH says the change takes effect at the next start, quit DSH completely and open it again.-If npm is not reachable, in step 2 you can also enter the full path of `ds-bot-0.2.1.tgz` downloaded from [Releases](https://github.com/Fei2411/DeepSeek-Bot/releases), or `github:Fei2411/DeepSeek-Bot#v0.2.1&path:/ds-bot` (needs Git).+If npm is not reachable, in step 2 you can also enter the full path of `ds-bot-0.2.1.tgz` downloaded from [Releases](https://github.com/Fei2411/DS-Bot/releases), or `github:Fei2411/DS-Bot#v0.2.1&path:/ds-bot` (needs Git).DS Bot 0.2.1 and earlier cannot update themselves in DSH Desktop 0.2.1-rc.2 or later: on the Plugins page, remove `ds-bot` and add `ds-bot` again. The Bots, chats and memory stay.diff --git a/README.zh.md b/README.zh.mdindex 3bdddb97..b08c4074 100644--- a/README.zh.md+++ b/README.zh.md@@ -1,17 +1,17 @@<p align="center"><picture><source media="(prefers-color-scheme: dark)" srcset="docs/images/logo-dark.svg">- <img src="docs/images/logo.svg" alt="DeepSeek Bot" width="260">+ <img src="docs/images/logo.svg" alt="DS Bot" width="260"></picture></p>-# DeepSeek Bot+# DS Bot[English](README.md) | 中文  -DeepSeek Bot(简称 DS Bot)是一个基于 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)(简称 dsh)的 bot 插件,插件将 dsh 改造为 bot 形式。你可以与自己创建的 bot 交流、工作。+DS Bot 是一个基于 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)(简称 dsh)的 bot 插件,插件将 dsh 改造为 bot 形式。你可以与自己创建的 bot 交流、工作。@@ -19,7 +19,7 @@ DeepSeek Bot(简称 DS Bot)是一个基于 [DeepSeek Harness](https://github**桌面应用(Windows、macOS、Linux)**-桌面应用自带 dsh,不用先装 dsh。在 [Releases](https://github.com/Fei2411/DeepSeek-Bot/releases) 里下载:+桌面应用自带 dsh,不用先装 dsh。在 [Releases](https://github.com/Fei2411/DS-Bot/releases) 里下载:- Windows(x64):`DeepSeek-Bot-<版本>-win-x64.exe`。运行它即可安装,只装给当前用户,不要管理员权限。如果提示“Windows 已保护你的电脑”,点 **更多信息** → **仍要运行**。- macOS:Apple 芯片下载 `DeepSeek-Bot-<版本>-mac-arm64.zip`,Intel 下载 `DeepSeek-Bot-<版本>-mac-x64.zip`。Safari 会自动解压;把 **DeepSeek Bot** 拖进 **应用程序**,再打开。如果提示无法检查这个 App,打开 **系统设置** → **隐私与安全性**,点 **仍要打开**。@@ -37,7 +37,7 @@ DeepSeek Bot(简称 DS Bot)是一个基于 [DeepSeek Harness](https://github2. **包名或地址** 填 `ds-bot`。在中国大陆,**安装源** 选 **中国大陆镜像源**。3. 点 **安装**,再点 **立即启用**。如果提示“下次启动生效”,完全退出 dsh 再打开。-连不上 npm 时,第 2 步也可以填 [Releases](https://github.com/Fei2411/DeepSeek-Bot/releases) 里下载的 `ds-bot-0.2.1.tgz` 的完整路径,或者 `github:Fei2411/DeepSeek-Bot#v0.2.1&path:/ds-bot`(需要装 Git)。+连不上 npm 时,第 2 步也可以填 [Releases](https://github.com/Fei2411/DS-Bot/releases) 里下载的 `ds-bot-0.2.1.tgz` 的完整路径,或者 `github:Fei2411/DS-Bot#v0.2.1&path:/ds-bot`(需要装 Git)。DS Bot 0.2.1 及更早的版本在 DSH Desktop 0.2.1-rc.2 及以后的版本里不能自己更新:在插件页移除 `ds-bot`,再添加 `ds-bot`。Bot、聊天和记忆都会保留。diff --git a/app/README.md b/app/README.mdindex 0bc00879..eba9403c 100644--- a/app/README.md+++ b/app/README.md@@ -1,4 +1,4 @@-# DeepSeek Bot desktop app+# DS Bot desktop appThe Electron app for Windows, macOS and Linux. It installs a pinned DeepSeek Harness (DSH 0.2.1-rc.2) and the `ds-bot` plugin of this repository, boots its own DSH profile `ds-bot` through `@deepseek-ai/dsh/profile-boot`, and keeps its data in its own `DSH_HOME`. It never writes to `~/.dsh`. Its window shows DSH's Web front end with the plugin, as DSH Desktop does. The design is in [docs/plans/2026-10-16-desktop-app.md](../docs/plans/2026-10-16-desktop-app.md).diff --git a/app/electron-builder.yml b/app/electron-builder.ymlindex 16b1312d..ad93bf1e 100644--- a/app/electron-builder.yml+++ b/app/electron-builder.yml@@ -60,4 +60,4 @@ linux:publish:provider: githubowner: Fei2411- repo: DeepSeek-Bot+ repo: DS-Botdiff --git a/app/package.json b/app/package.jsonindex 9f8dca1f..f8fa480f 100644--- a/app/package.json+++ b/app/package.json@@ -5,7 +5,7 @@"private": true,"description": "DeepSeek Bot desktop app: the ds-bot team on its own pinned DeepSeek Harness.","author": "Fei2411",- "homepage": "https://github.com/Fei2411/DeepSeek-Bot",+ "homepage": "https://github.com/Fei2411/DS-Bot","desktopName": "deepseek-bot.desktop","license": "Apache-2.0","type": "module",diff --git a/app/scripts/check-update.mjs b/app/scripts/check-update.mjsindex a500dd3c..27fdb2e1 100644--- a/app/scripts/check-update.mjs+++ b/app/scripts/check-update.mjs@@ -39,7 +39,7 @@ const server = createServer((request, response) => {served.push(pathname)response.writeHead(200, { 'content-type': 'application/json' }).end(JSON.stringify([{tag_name: `v${version}`,- html_url: `https://github.com/Fei2411/DeepSeek-Bot/releases/tag/v${version}`,+ html_url: `https://github.com/Fei2411/DS-Bot/releases/tag/v${version}`,draft: false,prerelease: false,assets: [{ name: asset(version) }],diff --git a/app/src/updates.mjs b/app/src/updates.mjsindex d95ebe6a..d6960b22 100644--- a/app/src/updates.mjs+++ b/app/src/updates.mjs@@ -25,7 +25,7 @@ export const UPDATE_TEXT = {}const CHECK_EVERY_MS = 4 * 60 * 60_000-export const RELEASES_URL = 'https://api.github.com/repos/Fei2411/DeepSeek-Bot/releases?per_page=20'+export const RELEASES_URL = 'https://api.github.com/repos/Fei2411/DS-Bot/releases?per_page=20'function parseVersion(version) {if (typeof version !== 'string') return nulldiff --git a/app/test/updates.test.mjs b/app/test/updates.test.mjsindex 081a2982..6aa47e87 100644--- a/app/test/updates.test.mjs+++ b/app/test/updates.test.mjs@@ -42,7 +42,7 @@ const release = (version, options = {}) => {const arch = options.arch ?? 'arm64'return {tag_name: `v${version}`,- html_url: options.page ?? `https://github.com/Fei2411/DeepSeek-Bot/releases/tag/v${version}`,+ html_url: options.page ?? `https://github.com/Fei2411/DS-Bot/releases/tag/v${version}`,draft: options.draft ?? false,prerelease: options.prerelease ?? false,assets: options.assets ?? [{ name: `DeepSeek-Bot-${version}-mac-${arch}.zip` }],@@ -96,7 +96,7 @@ describe('watchReleases', () => {})test('reports a newer release and opens its page only when accepted', async (t) => {- const page = 'https://github.com/Fei2411/DeepSeek-Bot/releases/tag/v0.1.9'+ const page = 'https://github.com/Fei2411/DS-Bot/releases/tag/v0.1.9'for (const accepted of [true, false]) {const asked = []const opened = []@@ -171,7 +171,7 @@ describe('watchReleases', () => {[async () => releaseResponse({}, 403), 'DeepSeek Bot: update check failed: HTTP 403'],[async () => { throw new Error('offline') }, 'DeepSeek Bot: update check failed: offline'],[async () => ({ ok: true, status: 200, json: async () => { throw new Error('bad JSON') } }), 'DeepSeek Bot: update check failed: bad JSON'],- [async () => releaseResponse([release('0.1.9', { page: 'http://github.com/Fei2411/DeepSeek-Bot' })]), 'DeepSeek Bot: update check failed: release page URL is not HTTPS'],+ [async () => releaseResponse([release('0.1.9', { page: 'http://github.com/Fei2411/DS-Bot' })]), 'DeepSeek Bot: update check failed: release page URL is not HTTPS'],]for (const [fetch, message] of cases) {const log = quietLog()@@ -212,14 +212,14 @@ describe('watchReleases', () => {attached = truet.mock.timers.tick(4 * 60 * 60_000)assert.deepEqual(await updates.latest(), {- version: '0.1.9', page: 'https://github.com/Fei2411/DeepSeek-Bot/releases/tag/v0.1.9',+ version: '0.1.9', page: 'https://github.com/Fei2411/DS-Bot/releases/tag/v0.1.9',})await sleep(0)assert.deepEqual(asked, ['0.1.9'])})test('a given asset replaces the mac zip: the deb of a Linux install', async (t) => {- const page = 'https://github.com/Fei2411/DeepSeek-Bot/releases/tag/v0.1.9'+ const page = 'https://github.com/Fei2411/DS-Bot/releases/tag/v0.1.9'// The deb's file name uses the Debian architecture (x64 → amd64).const deb = version => `DeepSeek-Bot-${version}-linux-amd64.deb`// A release with only the mac zip does not count for a deb install.@@ -257,7 +257,7 @@ describe('watchReleases', () => {})t.after(updates.stop)assert.deepEqual(await updates.latest(), {- version: '0.2.0-rc.2', page: 'https://github.com/Fei2411/DeepSeek-Bot/releases/tag/v0.2.0-rc.2',+ version: '0.2.0-rc.2', page: 'https://github.com/Fei2411/DS-Bot/releases/tag/v0.2.0-rc.2',})})@@ -279,7 +279,7 @@ describe('watchReleases', () => {})t.after(updates.stop)assert.deepEqual(await updates.latest(), {- version: '0.1.10', page: 'https://github.com/Fei2411/DeepSeek-Bot/releases/tag/v0.1.10',+ version: '0.1.10', page: 'https://github.com/Fei2411/DS-Bot/releases/tag/v0.1.10',})})@@ -322,7 +322,7 @@ describe('watchReleases', () => {assert.equal(await none.latest(), null)assert.deepEqual(none.state(), { phase: 'current' })- const page = 'https://github.com/Fei2411/DeepSeek-Bot/releases/tag/v0.1.9'+ const page = 'https://github.com/Fei2411/DS-Bot/releases/tag/v0.1.9'const found = watchReleases({current: '0.1.7', arch: 'arm64', fetch: async () => releaseResponse([release('0.1.9', { page })]), log: quietLog(),})diff --git a/docker/Dockerfile b/docker/Dockerfileindex e84c13d6..33f01026 100644--- a/docker/Dockerfile+++ b/docker/Dockerfile@@ -48,5 +48,5 @@ ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]LABEL org.opencontainers.image.title="DS Bot" \org.opencontainers.image.description="A team of long-lived Bots on DeepSeek Harness, served by dsh web" \- org.opencontainers.image.source="https://github.com/Fei2411/DeepSeek-Bot" \+ org.opencontainers.image.source="https://github.com/Fei2411/DS-Bot" \org.opencontainers.image.licenses="Apache-2.0"diff --git a/docker/README.md b/docker/README.mdindex 197f2ab9..a865e3ee 100644--- a/docker/README.md+++ b/docker/README.md@@ -185,7 +185,7 @@ from the repository root would use the local root Compose file instead.```yamlservices:ds-bot:- image: ghcr.io/fei2411/deepseek-bot:dev+ image: ghcr.io/fei2411/ds-bot:devports:- "13080:3080"environment:diff --git a/docs/dev/release-checklist.md b/docs/dev/release-checklist.mdindex c2b69117..aaef41eb 100644--- a/docs/dev/release-checklist.md+++ b/docs/dev/release-checklist.md@@ -29,7 +29,7 @@ CI 只跑单元测试和 Linux 上的测试台。窗口外框、输入法、高| 2.1 | `.tgz` | 插件 → 添加插件 → 填 `.tgz` 的完整路径(去掉引号)→ 安装 → 立即启用 | 装好;需要时提示重启 | || 2.2 | `.tgz` 的路径 | 用系统「复制为路径 / 拷贝路径名」得到的路径直接填;路径里有空格、中文时也试一次 | 能装 | || 2.3 | npm(发布后) | 填 `ds-bot`;再用「中国大陆镜像源」装一次 | 两种安装源都能装,版本是新版 | |-| 2.4 | GitHub(发布后,需要 Git) | 填 `github:Fei2411/DeepSeek-Bot#v<版本>&path:/ds-bot` | 能装;没装 Git 时记下错误信息 | |+| 2.4 | GitHub(发布后,需要 Git) | 填 `github:Fei2411/DS-Bot#v<版本>&path:/ds-bot` | 能装;没装 Git 时记下错误信息 | || 2.5 | 命令行 | 应用菜单 → 管理 dsh 命令 → 安装;退出 Desktop;新开终端运行 `dsh --version`、`dsh plugin --profile desktop add <tgz 路径>` | 能装;重启 Desktop 后生效 | || 2.6 | 重启 | 完全退出(Windows:托盘图标 → 退出;macOS:⌘Q)再打开 | 团队界面出现 | || 2.7 | 恢复(可选) | 故意装坏一次,看恢复对话框里的「禁用第三方插件」 | 能回到普通 DSH | |diff --git a/docs/known-issues.md b/docs/known-issues.mdindex dbf658e4..d1848d46 100644--- a/docs/known-issues.md+++ b/docs/known-issues.md@@ -75,4 +75,4 @@ The error code is `WEB_PROVIDER_CONFIGURED_MISSING`.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).+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).diff --git a/docs/known-issues.zh.md b/docs/known-issues.zh.mdindex 0f82c1a0..ffe1d641 100644--- a/docs/known-issues.zh.md+++ b/docs/known-issues.zh.md@@ -75,4 +75,4 @@ Error: configured web provider "auto" is not registered想确认结果,可以运行 `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)。+另见插件 README 的 [Web search](../ds-bot/README.md#web-search) 一节和 issue [#128](https://github.com/Fei2411/DS-Bot/issues/128)。diff --git a/ds-bot/README.md b/ds-bot/README.mdindex 60503710..882492f6 100644--- a/ds-bot/README.md+++ b/ds-bot/README.md@@ -35,7 +35,7 @@ Tested with dsh `0.2.1-rc.2` (Web) and `0.2.0-rc.2` (Web and Desktop).The [project page](../README.md#install) has the full steps for dsh Desktop and dsh Web. In short:-- dsh Desktop: Settings → Plugins → add `ds-bot` (npm), a `.tgz` file, or `github:Fei2411/DeepSeek-Bot#v0.1.7&path:/ds-bot`.+- dsh Desktop: Settings → Plugins → add `ds-bot` (npm), a `.tgz` file, or `github:Fei2411/DS-Bot#v0.1.7&path:/ds-bot`.- Command line: `dsh plugin --profile desktop add ds-bot` (or `--profile web`).To work on the plugin from a checkout, add it to a dsh profile as a linked dependency and a bundle:diff --git a/ds-bot/package.json b/ds-bot/package.jsonindex cdf7e56e..a74e8c28 100644--- a/ds-bot/package.json+++ b/ds-bot/package.json@@ -11,13 +11,13 @@"multi-agent","agents"],- "homepage": "https://github.com/Fei2411/DeepSeek-Bot#readme",+ "homepage": "https://github.com/Fei2411/DS-Bot#readme","bugs": {- "url": "https://github.com/Fei2411/DeepSeek-Bot/issues"+ "url": "https://github.com/Fei2411/DS-Bot/issues"},"repository": {"type": "git",- "url": "git+https://github.com/Fei2411/DeepSeek-Bot.git",+ "url": "git+https://github.com/Fei2411/DS-Bot.git","directory": "ds-bot"},"license": "Apache-2.0",diff --git a/ds-bot/src/host/diagnostics.js b/ds-bot/src/host/diagnostics.jsindex 1d27d5c0..bc000342 100644--- a/ds-bot/src/host/diagnostics.js+++ b/ds-bot/src/host/diagnostics.js@@ -16,7 +16,7 @@ const LOG_MAX_BYTES = 1 << 20const STACK_LINES = 8const TEXT_MAX = 2000export const REPORT_ENTRIES = 20-export const ISSUES_URL = 'https://github.com/Fei2411/DeepSeek-Bot/issues/new'+export const ISSUES_URL = 'https://github.com/Fei2411/DS-Bot/issues/new'const quote = value => value.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')diff --git a/ds-bot/test/about.test.js b/ds-bot/test/about.test.jsindex 1f499f77..488c6b12 100644--- a/ds-bot/test/about.test.js+++ b/ds-bot/test/about.test.js@@ -55,7 +55,7 @@ test('the six app update states set the DS Bot row\'s hint and button', () => {[{ phase: 'downloading', version: '0.2.2' }, 'Downloading 0.2.2…', []],[{ phase: 'downloaded', version: '0.2.2' }, '0.2.2 is ready; it installs when you restart',[{ text: 'Restart to update', className: 'bt-fb-primary', action: 'installOwnApp' }]],- [{ phase: 'available', version: '0.2.2', page: 'https://github.com/Fei2411/DeepSeek-Bot/releases/tag/v0.2.2' }, '0.2.2 is available',+ [{ phase: 'available', version: '0.2.2', page: 'https://github.com/Fei2411/DS-Bot/releases/tag/v0.2.2' }, '0.2.2 is available',[{ text: 'Download', className: 'bt-soft bt-soft-sm', action: 'openOwnApp' }]],[{ phase: 'failed' }, 'Could not check for updates.', [{ text: 'Check for updates', className: 'bt-soft bt-soft-sm', action: 'checkOwnApp' }]],]diff --git a/ds-bot/test/agent-preset.test.js b/ds-bot/test/agent-preset.test.jsindex 88ea24a4..b354ab7f 100644--- a/ds-bot/test/agent-preset.test.js+++ b/ds-bot/test/agent-preset.test.js@@ -6,7 +6,7 @@ import { test } from 'node:test'import { createRuntime } from '../index.js'import { fakeContext } from './fake-ctx.js'-// Fei2411/DeepSeek-Bot#37: under DSH Desktop's default PTC preset a model may call only+// Fei2411/DS-Bot#37: under DSH Desktop's default PTC preset a model may call only// run_code, so the group_relay call made for a group chat's Session was turned down// and no group message reached its Bots.diff --git a/ds-bot/test/blocking-question.test.js b/ds-bot/test/blocking-question.test.jsindex 0eec5b9a..ab789d8e 100644--- a/ds-bot/test/blocking-question.test.js+++ b/ds-bot/test/blocking-question.test.js@@ -170,7 +170,7 @@ test('a new Bot that rules out question tools opens without one and cannot blockassert.match(guard(QUESTION, receiver.id), /Bots cannot use ask_user_question/)})-// Fei2411/DeepSeek-Bot#133: /goal in a group chat started DSH's goal rounds, which the+// Fei2411/DS-Bot#133: /goal in a group chat started DSH's goal rounds, which the// group never answered, so round after round ran and showed the raw goal prompt.test('a Bot\'s chat and its group Sessions lose the goal tools; other Sessions keep them', async (t) => {const { agentFor, hidden, stop } = await setup({ served: ['read', 'ask_user', QUESTION, 'create_goal', 'update_goal', 'get_goal'] })diff --git a/ds-bot/test/diagnostics.test.js b/ds-bot/test/diagnostics.test.jsindex ddfdbc6b..2ada6d01 100644--- a/ds-bot/test/diagnostics.test.js+++ b/ds-bot/test/diagnostics.test.js@@ -265,7 +265,7 @@ test('a failed group turn fails its waiter; a stopped one counts as no answer',test('issueUrl fills the issue form, keeps the versions when the errors are too long, and falls back to the clipboard', async () => {const { issueUrl } = await import('../src/client/diagnostics.js')- const base = 'https://github.com/Fei2411/DeepSeek-Bot/issues/new'+ const base = 'https://github.com/Fei2411/DS-Bot/issues/new'const short = issueUrl(base, { what: 'Writer failed\nin the group', diagnostics: '| DS Bot | 0.1.0 |' })assert.equal(short.inline, true)const params = new URL(short.url).searchParamsdiff --git a/ds-bot/test/dsh-update.test.js b/ds-bot/test/dsh-update.test.jsindex bf5cf207..73af0e64 100644--- a/ds-bot/test/dsh-update.test.js+++ b/ds-bot/test/dsh-update.test.js@@ -51,8 +51,8 @@ function fakeChild(code) {const registryLatest = dsBot => ({ [`https://registry.npmjs.org/${PKG.name}/latest`]: { version: PKG.version, dsBot } })const githubLatest = (tag, manifest) => ({- 'https://api.github.com/repos/Fei2411/DeepSeek-Bot/releases/latest': { tag_name: tag },- [`https://raw.githubusercontent.com/Fei2411/DeepSeek-Bot/${tag}/ds-bot/package.json`]: manifest,+ 'https://api.github.com/repos/Fei2411/DS-Bot/releases/latest': { tag_name: tag },+ [`https://raw.githubusercontent.com/Fei2411/DS-Bot/${tag}/ds-bot/package.json`]: manifest,})test('the newest released bot declares the verified DSH, offered to an older npm install', async () => {@@ -98,13 +98,13 @@ test('a minBot newer than the running bot gates the DSH update until the bot goe})test('a git or local install asks the public repo\'s latest release for its declaration', async () => {- for (const source of ['github:Fei2411/DeepSeek-Bot#v0.1.0&path:/ds-bot', 'link:/work/ds-bot', undefined]) {+ for (const source of ['github:Fei2411/DS-Bot#v0.1.0&path:/ds-bot', 'link:/work/ds-bot', undefined]) {const { rt, fetched } = start({ source, answers: githubLatest('v9.0.0', { dsBot: { verifiedDsh: '8.8.8' } }) })const view = await rt.dshUpdateCheck()assert.equal(view.verified, '8.8.8')assert.deepEqual(fetched, [- 'https://api.github.com/repos/Fei2411/DeepSeek-Bot/releases/latest',- 'https://raw.githubusercontent.com/Fei2411/DeepSeek-Bot/v9.0.0/ds-bot/package.json',+ 'https://api.github.com/repos/Fei2411/DS-Bot/releases/latest',+ 'https://raw.githubusercontent.com/Fei2411/DS-Bot/v9.0.0/ds-bot/package.json',])}})diff --git a/ds-bot/test/feedback.test.js b/ds-bot/test/feedback.test.jsindex 27ef06c4..a228125b 100644--- a/ds-bot/test/feedback.test.js+++ b/ds-bot/test/feedback.test.js@@ -9,7 +9,7 @@ const bundle = await build({bundle: true, format: 'cjs', platform: 'node', write: false,external: ['react', 'react-dom', '@deepseek-ai/dsh-client-ui-primitives'],})-const ISSUES = 'https://github.com/Fei2411/DeepSeek-Bot/issues/new'+const ISSUES = 'https://github.com/Fei2411/DS-Bot/issues/new'// Settings → Feedback in a window whose `open` is `open`, with every state change kept.function page(window) {diff --git a/ds-bot/test/update.test.js b/ds-bot/test/update.test.jsindex c551400c..53118d9f 100644--- a/ds-bot/test/update.test.js+++ b/ds-bot/test/update.test.js@@ -58,10 +58,10 @@ test('the install source decides where a newer version is looked for', () => {assert.deepEqual(sourceOf('npm:ds-bot@^0.1.0'), { kind: 'registry' })assert.deepEqual(sourceOf('link:E:/项目库/My Bots/ds-bot'), { kind: 'path' })assert.deepEqual(sourceOf('/home/user/ds-bot'), { kind: 'path' })- assert.deepEqual(sourceOf('github:Fei2411/DeepSeek-Bot#v0.1.0&path:/ds-bot'),- { kind: 'git', owner: 'Fei2411', repo: 'DeepSeek-Bot', ref: 'v0.1.0', rest: ['path:/ds-bot'] })- assert.deepEqual(sourceOf('git+https://github.com/Fei2411/DeepSeek-Bot.git#main'),- { kind: 'git', owner: 'Fei2411', repo: 'DeepSeek-Bot', rest: [] })+ assert.deepEqual(sourceOf('github:Fei2411/DS-Bot#v0.1.0&path:/ds-bot'),+ { kind: 'git', owner: 'Fei2411', repo: 'DS-Bot', ref: 'v0.1.0', rest: ['path:/ds-bot'] })+ assert.deepEqual(sourceOf('git+https://github.com/Fei2411/DS-Bot.git#main'),+ { kind: 'git', owner: 'Fei2411', repo: 'DS-Bot', rest: [] })assert.deepEqual(sourceOf('https://example.com/ds-bot-0.1.0.tgz'), { kind: 'tarball' })assert.deepEqual(sourceOf(undefined), { kind: 'unknown' })})@@ -81,7 +81,7 @@ test('a registry install finds the newest version on the next registry and instaassert.equal(view.latest, '9.0.0')assert.equal(view.current, PKG.version)assert.equal(view.source, 'registry')- assert.equal(view.notesUrl, 'https://github.com/Fei2411/DeepSeek-Bot/releases')+ assert.equal(view.notesUrl, 'https://github.com/Fei2411/DS-Bot/releases')assert.equal(rt.updateStart().phase, 'installing')await flush()assert.deepEqual(installs, [[`${PKG.name}@9.0.0`, { registry: 'https://registry.npmmirror.com/' }]])@@ -108,15 +108,15 @@ test('a private registry of pnpm\'s own is asked alone, and an answer stands fortest('a versioned GitHub install follows the latest release tag and keeps its path', async () => {const { rt, installs } = start({- source: 'github:Fei2411/DeepSeek-Bot#v0.1.0&path:/ds-bot',- answers: { 'https://api.github.com/repos/Fei2411/DeepSeek-Bot/releases/latest': { tag_name: 'v9.1.0' } },+ source: 'github:Fei2411/DS-Bot#v0.1.0&path:/ds-bot',+ answers: { 'https://api.github.com/repos/Fei2411/DS-Bot/releases/latest': { tag_name: 'v9.1.0' } },})const view = await rt.updateCheck()assert.equal(view.available, true)assert.equal(view.latest, '9.1.0')rt.updateStart()await flush()- assert.deepEqual(installs, [['github:Fei2411/DeepSeek-Bot#v9.1.0&path:/ds-bot', {}]])+ assert.deepEqual(installs, [['github:Fei2411/DS-Bot#v9.1.0&path:/ds-bot', {}]])})test('a versioned GitHub install follows the release to the repository\'s current address', async () => {@@ -125,7 +125,7 @@ test('a versioned GitHub install follows the release to the repository\'s currenanswers: {'https://api.github.com/repos/old-owner/DeepSeek-Bot/releases/latest': {tag_name: 'v9.1.0',- html_url: 'https://github.com/Fei2411/DeepSeek-Bot/releases/tag/v9.1.0',+ html_url: 'https://github.com/Fei2411/DS-Bot/releases/tag/v9.1.0',},},})@@ -134,11 +134,11 @@ test('a versioned GitHub install follows the release to the repository\'s currenassert.equal(view.latest, '9.1.0')rt.updateStart()await flush()- assert.deepEqual(installs, [['github:Fei2411/DeepSeek-Bot#v9.1.0&path:/ds-bot', {}]])+ assert.deepEqual(installs, [['github:Fei2411/DS-Bot#v9.1.0&path:/ds-bot', {}]])})test('a linked checkout, an unversioned git install, or a disabled check never asks the network', async () => {- for (const source of [`link:/work/${PKG.name}`, 'github:Fei2411/DeepSeek-Bot#main', undefined]) {+ for (const source of [`link:/work/${PKG.name}`, 'github:Fei2411/DS-Bot#main', undefined]) {const { rt, fetched } = start({ source })const view = await rt.updateCheck()assert.equal(view.available, false)@@ -162,10 +162,10 @@ test('in the desktop app, which updates as a whole, it never asks the network an})test('the star count comes from the repository, is kept for an hour, and survives a failed answer', async () => {- const repo = 'https://api.github.com/repos/Fei2411/DeepSeek-Bot'+ const repo = 'https://api.github.com/repos/Fei2411/DS-Bot'const answers = { [repo]: new Error('offline') }const { rt, fetched } = start({ source: `${PKG.name}@^${PKG.version}`, answers })- assert.equal(rt.updateView().repoUrl, 'https://github.com/Fei2411/DeepSeek-Bot')+ assert.equal(rt.updateView().repoUrl, 'https://github.com/Fei2411/DS-Bot')assert.equal(await rt.repoStars(), null)answers[repo] = { stargazers_count: 42 }assert.equal(await rt.repoStars(), 42)