A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.
Open pull requests to collaborators and write down how the team works
Fei24110a7265713dd1
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.mdnew file mode 100644index 00000000..61977664--- /dev/null+++ b/.github/pull_request_template.md@@ -0,0 +1,33 @@+<!--+Base branch: dev. Hotfixes and releases only: main.+目标分支选 dev。只有热修和发版才选 main。+-->++## Issue++Fixes #++## What changed / 改了什么++++## Changelog++<!-- One sentence that users will notice, or "none". Do not edit CHANGELOG.md. / 一句用户能看到的变化,没有写「无」。不要改 CHANGELOG.md。 -->++++## How I checked it / 怎么验证的++- [ ] `npm test` (in `ds-bot/`)+- [ ] `node scripts/build-client.mjs --check`+- [ ] `npm run lint`+- [ ] Smoke test, for changes to `index.js` or `src/host/` / 改了 `index.js` 或 `src/host/` 时跑冒烟测试+- [ ] Screenshot attached, for interface changes / 界面改动已附截图++## Checklist / 检查++- [ ] One issue, one subject. / 只做一件事。+- [ ] `src/client/` changed → `npm run build` ran and `client.js` is committed. / 改了 `src/client/` 就已重新 build 并提交 `client.js`。+- [ ] No keys, tokens or personal data, also in screenshots. / 没有密钥、token 或个人信息,截图里也没有。+- [ ] No AI tool as author or `Co-authored-by`. / 没有把 AI 工具写成作者或 `Co-authored-by`。diff --git a/AGENTS.md b/AGENTS.mdindex bc9fd28f..143e17c5 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -42,6 +42,16 @@ dev/bench.sh smoke 3096 8796 stopA change is done when `npm test`, the `--check` and `npm run lint` pass; CI runs them on every pull request. Run the smoke test as well for changes to `index.js` or `src/host/`. Use a free port for each bench, and stop every bench and process that you started.+## Branches, pull requests and issues++The full workflow is in [CONTRIBUTING.md](CONTRIBUTING.md#how-we-work). The parts that an agent must follow:++- Start work from the latest `dev` on a branch named `fix/<issue>-<name>`, `feat/<issue>-<name>`, `docs/<name>` or `chore/<name>`. Never start a branch name with `dev/`. Open the pull request into `dev`, not `main`; only releases and hotfixes go into `main`.+- Bring a branch up to date with `git merge dev`. Never rebase a pushed branch and never force-push.+- Fill in the pull request template. Link the issue with `Fixes #<number>`; a bug fix names the bug it fixes. Write the user-visible change in the Changelog field, and do not edit `CHANGELOG.md`.+- Do not start work on an issue or pull request with the `maintainer` label; it waits for the maintainer. Do not take an issue that someone else is assigned to.+- Do not close an issue without evidence: the pull request or commit that fixed it, the issue it duplicates, or the reason it will not be fixed.+## Layout- `ds-bot/index.js` and `ds-bot/src/host/`: the server side (roster and store, tools, turns and delivery, groups, conversation parts and the search index, images, the browser bridge, the `api/bot` channel).@@ -55,4 +65,5 @@ A change is done when `npm test`, the `--check` and `npm run lint` pass; CI runs- Follow the code around your change. Keep functions small and names plain.- Write a comment only when the reason is not clear from the code: a hidden constraint, an invariant, a workaround. Do not describe what the code does.- Commit messages in English, imperative subject, the reason in the body. Keep commits small.+- The person who asked for the change is the commit author. Do not set an AI agent or bot as author or committer, and do not add `Co-authored-by` lines for one.- User-facing text in the plugin is English. Keep the README and README.zh.md in step when you change one of them.diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex f6aa32c4..b49e5cba 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -1,10 +1,12 @@# Contributing to DS Bot-Thank you for helping. This file explains how to set up the plugin, how to test a change and which rules a change must follow. For what the plugin does and how users install it, see [README.md](README.md).+English | [中文](CONTRIBUTING.zh.md)-## Pull requests+Thank you for helping. This file explains how the team works, how to set up the plugin, how to test a change and which rules a change must follow. For what the plugin does and how users install it, see [README.md](README.md).-Thank you for your interest in improving DS Bot. The project is still changing quickly, so we are not accepting pull requests for now. If you find a problem, please open an issue (see [Report a problem](#report-a-problem)). For a question, idea or feature request, use [Discussions](https://github.com/Fei2411/DeepSeek-Bot/discussions). We hope to open pull requests again when the project is stable. Thank you for your understanding.+## 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.## The rules that matter most@@ -14,6 +16,65 @@ Thank you for your interest in improving DS Bot. The project is still changing q4. **Only original material.** Do not copy code, text, icons, logos or other graphics from other products or websites. Code under a license compatible with Apache 2.0 is the only exception: say where it comes from and add its notice to a `NOTICE` file.5. **Every change is tested.** Run the unit tests and the client check for every change (see [Test a change](#test-a-change)).+## How we work++Anyone on the team can do any kind of work: triage, bug fixes, features, the interface, docs. Only some decisions belong to the maintainer: the direction of the product, changes to a design that is already decided, these rules, releases and the architecture. Issues and pull requests that need such a decision carry the `maintainer` label; wait for the maintainer's answer before you start on them. When you are not sure whether something is a bug or works as designed, ask in the issue.++### Branches++| Branch | What it is | Who merges |+|---|---|---|+| `dev` | Integration branch. All fixes and features go here first | Every collaborator, when CI passes |+| `main` | Released code only. It changes when the maintainer merges `dev` for a release, or merges a hotfix | The maintainer |+| `fix/<issue>-<name>`, `feat/<issue>-<name>`, `docs/<name>`, `chore/<name>` | Your work. Start it from the latest `dev` | — |++- Do not start a branch name with `dev/`. Git cannot create `dev/<name>` while the branch `dev` exists.+- To bring your branch up to date, run `git merge dev` (on a hotfix branch, `git merge main`). Do not rebase a pushed branch and do not force-push.+- `main` is the default branch, so GitHub suggests `main` as the base of a new pull request. Change the base to `dev`.++### Issues++1. **Triage.** Give each new issue a type, a priority and an area (see [Labels](#labels)). One priority label per issue.+ - A question (how to install, how to use): select **Convert to discussion** and move it to the Q&A category.+ - Not enough information to find the cause: add `needs-info` and ask for exactly what is missing. Say that the issue is closed after 14 days without an answer.+ - A cause in DSH or in another plugin: add `upstream` and link the place where it belongs.+ - The same as an open issue: add `duplicate`, link the other issue and close this one.+2. **Claim.** Assign the issue to yourself and write "I'll take this" in it before you start, so that two people do not work on the same thing. Do not take an issue that already has an assignee; ask in the issue first.+3. **Features.** A new idea starts in Discussions (Ideas). When the maintainer agrees, it becomes an issue with the `enhancement` label. Before you build a feature, write in the issue how you plan to do it. For a large feature, add a design note in `docs/plans/<date>-<topic>.md` to the same pull request.+4. **Close with evidence.** When you close an issue, link the pull request or commit that fixed it, the issue it duplicates, or the reason it will not be fixed. Write the comment in the language of the issue.++### Labels++| Kind | Labels |+|---|---|+| Type | `bug` · `enhancement` · `documentation` |+| Priority | `P0` crash, data loss or cannot use · `P1` hurts daily use · `P2` ordinary bug or feature · `P3` suggestion or narrow case |+| Area | `area/host` server side (`index.js`, `src/host/`) · `area/client` interface (`src/client/`) · `area/group` group chats, mentions, Bot-to-Bot messages · `area/memory` memory, conversation parts, context · `area/browser` Bot browser, page reading, web search · `area/build` CI, release, scripts, test bench · `area/docs` |+| Flow | `maintainer` waits for the maintainer · `needs-info` waits for the reporter · `upstream` the cause is in DSH or another plugin · `duplicate` · `auto-found` found by automated testing |++An issue that spans several areas, or none, gets no area label.++### Pull requests++1. Open the pull request into `dev` and fill in the template. Link the issue with `Fixes #<number>`; a bug fix always names the bug it fixes.+2. Write one sentence about what users will notice in the **Changelog** field of the template, or "none". Do not edit `CHANGELOG.md`: the maintainer writes it from these sentences at release time.+3. When CI passes, merge it yourself with **Create a merge commit**, then delete the branch. A review is not required; if you want one, ask a teammate in the pull request.+4. A fix that is merged into `dev` does not close its issue: `Fixes #<number>` acts only on the default branch. The issue stays open until the release, which means "fixed in `dev`, not released yet".++Keep one pull request to one issue. Split a large change into several pull requests.++### Merge conflicts++- **`ds-bot/client.js`**: never resolve it by hand. Resolve the conflicts in `ds-bot/src/client/`, run `npm run build` in `ds-bot/` and commit the new `client.js`.+- **`CHANGELOG.md`**: pull requests do not change it, so it should not conflict. If it does, keep both sides.++### Releases (maintainer)++1. In a pull request into `dev`, set the version in `ds-bot/package.json` and write the `CHANGELOG.md` section from the Changelog sentences of the merged pull requests.+2. Open a pull request from `dev` into `main` titled `release: vX.Y.Z`. List every `Fixes #<number>` of the release in its description, so that these issues close when it is merged.+3. Merge it with a merge commit and publish a GitHub release `vX.Y.Z` on `main`.+4. For a hotfix, start `fix/hot-<name>` from `main`, open the pull request into `main`, release a patch version, then merge `main` into `dev`.+## Set upYou need:@@ -96,7 +157,8 @@ For a change to the Bot browser, check it in DSH Desktop. On Linux, the scripts- Do not edit `client.js` by hand. Change `src/client/`, run `npm run build` and commit both.- Follow the style of the code around your change. Write a comment only when the reason for the code is not clear from the code itself.- Write commit messages in English. Use a short subject in the imperative mood ("Keep group replies visible") and explain the reason in the body.-- Add an entry to [CHANGELOG.md](CHANGELOG.md) under "Unreleased" for a change that users can see.+- The author of a commit is the person who made the change. When an AI tool helped, do not add it as an author or with a `Co-authored-by` line; turn that setting off in the tool.+- Do not edit [CHANGELOG.md](CHANGELOG.md). Write the user-visible change in the Changelog field of the pull request instead.## Report a problem@@ -114,7 +176,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).+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.## Licensediff --git a/CONTRIBUTING.zh.md b/CONTRIBUTING.zh.mdnew file mode 100644index 00000000..d8e32094--- /dev/null+++ b/CONTRIBUTING.zh.md@@ -0,0 +1,183 @@+# 参与 DS Bot 开发++[English](CONTRIBUTING.md) | 中文++感谢参与。本文说明团队怎么协作、怎么搭环境、怎么测试改动,以及改动必须遵守的规则。插件做什么、用户怎么安装,见 [README.zh.md](README.zh.md)。++## 谁可以提 Pull Request++本仓库的协作者直接在这里推分支,向 `dev` 提 Pull Request(见[协作方式](#协作方式))。目前只有协作者能提 Pull Request。如果你不是协作者,发现 bug 请开 Issue(见[报告问题](#报告问题)),提问或建议请到 [Discussions](https://github.com/Fei2411/DeepSeek-Bot/discussions)。++## 最重要的规则++1. **基于 DSH 构建,不改 DSH。** Bot 功能是 DSH 插件:只用 DSH 有文档的插件接口(Cordis 服务、插件客户端入口、profile patch)。桌面应用只通过 DSH 有文档的入口启动 DSH(`@deepseek-ai/dsh/profile-boot`、`dsh` 命令)。不修改 DeepSeek Harness,不依赖 DSH 安装目录里的文件。功能需要 DSH 没有提供的能力时,先在这里开 Issue;修复可能应该放在 DSH 里。+2. **每个 Bot 都是一个 DSH Session。** Bot 的工作走 DSH 正常的 agent 循环、工具和模型路由。不要另加一套 agent 运行时。+3. **任何地方都不放真实密钥。** 不要提交 API key、token、cookie、`DSH_HOME` 目录、日志,或带个人信息的截图。测试和测试台用脚本化的模拟模型,不需要密钥。+4. **只用原创素材。** 不要从其他产品或网站复制代码、文字、图标、logo 或其他图形。唯一例外是与 Apache 2.0 兼容许可的代码:注明出处,并把它的声明加进 `NOTICE` 文件。+5. **每个改动都要测试。** 每个改动都要跑单元测试和客户端检查(见[测试改动](#测试改动))。++## 协作方式++团队里谁都可以做任何工作:分诊、修 bug、做功能、改界面、写文档。只有一部分决定归维护者:产品方向、改动已定的设计、这些规则、发版和架构。需要这类决定的 Issue 和 Pull Request 带 `maintainer` 标签;开工前先等维护者回复。拿不准是 bug 还是设计如此时,在 Issue 里问。++### 分支++| 分支 | 用途 | 谁来合并 |+|---|---|---|+| `dev` | 集成分支。所有修复和功能先进这里 | 所有协作者,CI 通过即可 |+| `main` | 只放已发版的代码。维护者发版时把 `dev` 合进来,或合入热修 | 维护者 |+| `fix/<Issue 号>-<短名>`、`feat/<Issue 号>-<短名>`、`docs/<短名>`、`chore/<短名>` | 你的工作分支。从最新的 `dev` 切出 | — |++- 分支名不要以 `dev/` 开头。有 `dev` 分支时,Git 建不了 `dev/<名字>`。+- 同步分支用 `git merge dev`(热修分支用 `git merge main`)。已推送的分支不要 rebase,也不要强推。+- 默认分支是 `main`,所以 GitHub 新建 Pull Request 时默认的 base 是 `main`。请改成 `dev`。++### Issue++1. **分诊。** 给每个新 Issue 打类型、优先级和领域标签(见[标签](#标签))。每个 Issue 只有一个优先级标签。+ - 是提问(怎么装、怎么用):选 **Convert to discussion**,转到 Q&A 分类。+ - 信息不够,找不到原因:加 `needs-info`,写清楚还缺什么。说明 14 天没有回复就关闭。+ - 原因在 DSH 或其他插件:加 `upstream`,并链接到应该处理它的地方。+ - 和已有的 Open Issue 相同:加 `duplicate`,链接原 Issue,关闭这一条。+2. **认领。** 开工前把 Issue 指派(Assign)给自己,并在 Issue 里写「我来做」,避免两个人做同一件事。已经有人认领的 Issue 不要抢;想接手先在 Issue 里问。+3. **功能。** 新想法先在 Discussions(Ideas)里讨论。维护者认可后,再开成带 `enhancement` 标签的 Issue。做功能前,先在 Issue 里写几句打算怎么做。大功能在同一个 Pull Request 里附上设计说明 `docs/plans/<日期>-<主题>.md`。+4. **有证据才关。** 关闭 Issue 时,附上修复它的 Pull Request 或提交、它重复的 Issue,或不修的原因。评论用 Issue 本身的语言。++### 标签++| 维度 | 标签 |+|---|---|+| 类型 | `bug` · `enhancement` · `documentation` |+| 优先级 | `P0` 崩溃、丢数据或无法使用 · `P1` 影响日常使用 · `P2` 一般缺陷或功能 · `P3` 建议或窄场景 |+| 领域 | `area/host` 服务端(`index.js`、`src/host/`)· `area/client` 界面(`src/client/`)· `area/group` 群聊、@ 提及、Bot 之间的消息 · `area/memory` 记忆、对话分段、上下文 · `area/browser` Bot 浏览器、读网页、网页搜索 · `area/build` CI、发版、脚本、测试台 · `area/docs` |+| 流程 | `maintainer` 等维护者 · `needs-info` 等报告人 · `upstream` 原因在 DSH 或其他插件 · `duplicate` · `auto-found` 自动测试发现 |++跨多个领域或不属于任何领域的 Issue,不打领域标签。++### Pull Request++1. 向 `dev` 提 Pull Request,按模板填写。用 `Fixes #<号>` 关联 Issue;修 bug 的 PR 一定要写明修的是哪个 bug。+2. 在模板的 **Changelog** 一栏写一句用户能看到的变化,没有就写「无」。不要改 `CHANGELOG.md`:维护者发版时根据这些句子统一写。+3. CI 通过后,自己用 **Create a merge commit** 合并,然后删除分支。不强制审查;想让人看一眼,在 Pull Request 里 @ 队友。+4. 合进 `dev` 的修复不会关闭对应的 Issue:`Fixes #<号>` 只在合入默认分支时生效。Issue 会一直开着,直到发版,意思是「已在 `dev` 修复,尚未发版」。++一个 Pull Request 只对应一个 Issue。大改动拆成多个 Pull Request。++### 合并冲突++- **`ds-bot/client.js`**:不要手工解决。先解决 `ds-bot/src/client/` 里的冲突,再在 `ds-bot/` 里运行 `npm run build`,提交新生成的 `client.js`。+- **`CHANGELOG.md`**:Pull Request 不改它,所以不应该冲突。如果冲突了,两边都保留。++### 发版(维护者)++1. 向 `dev` 提一个 Pull Request:修改 `ds-bot/package.json` 里的版本号,根据已合并 Pull Request 的 Changelog 句子写 `CHANGELOG.md` 的这一版。+2. 提一个从 `dev` 到 `main` 的 Pull Request,标题为 `release: vX.Y.Z`。在描述里列出这一版所有的 `Fixes #<号>`,合并时这些 Issue 会一起关闭。+3. 用 merge commit 合并,在 `main` 上发布 GitHub Release `vX.Y.Z`。+4. 热修:从 `main` 切 `fix/hot-<短名>`,向 `main` 提 Pull Request,发一个补丁版本,再把 `main` 合回 `dev`。++## 搭建环境++需要:++- Node.js `22.19` 或更高(或 `24` 及以上)。+- Git。+- 仅测试台需要:pnpm `11`,以及插件测试所用 DSH 版本的 DeepSeek Harness 源码。++```sh+git clone https://github.com/Fei2411/DeepSeek-Bot.git ds-bot-repo+cd ds-bot-repo/ds-bot++# 插件自己的构建工具(只有 esbuild)。+npm ci++# 单元测试和 lint 要加载的 DSH 包,从 npm 装进 dev/harness/。+npm run harness+```++测试台需要把 DeepSeek Harness 源码放在插件目录旁边(这个目录被 Git 忽略):++```sh+cd ..+git clone https://github.com/deepseek-ai/deepseek-harness.git+git -C deepseek-harness checkout dsh-v0.2.0-rc.2+(cd deepseek-harness && pnpm install)+```++如果 DeepSeek Harness 源码放在别处,把 `DSH_HARNESS` 设为它的路径。`DSH_HARNESS` 也会代替 `dev/harness/`,供单元测试和 lint 使用。++`@deepseek-ai/*` 包是 peer 依赖:真实安装时由 DSH 的 profile 提供。`ds-bot/.npmrc` 阻止 npm 把它们装进插件目录。++## 目录结构++| 路径 | 内容 |+|---|---|+| `ds-bot/index.js`、`ds-bot/src/host/` | 服务端:Bot 名册与存储、工具、回合与投递、群聊、对话分段与搜索索引、图片、Bot 浏览器桥接、`api/bot` 通道 |+| `ds-bot/src/client/` | 浏览器端:侧栏、聊天、面板与对话框、主题、角色、Bot 浏览器面板 |+| `ds-bot/client.js` | 由 `scripts/build-client.mjs` 从 `src/client/` 生成。它被提交进仓库,这样用 Git 安装时不需要构建 |+| `ds-bot/web-search.js` | `auto` 网页搜索提供方。不依赖 Bot 团队代码 |+| `ds-bot/cordis.patch.yml` | 插件带的 profile patch |+| `ds-bot/test/` | 单元测试和测试数据 |+| `ds-bot/dev/` | 单元测试用的 DSH 包(`harness/`)、模拟模型、测试台、冒烟测试、角色生成器、Linux 上的 Desktop 脚本,以及两个用真实模型的工具:上下文管家评测和日志转发 |++## 测试改动++在 `ds-bot/` 里运行:++```sh+npm run build # src/client → client.js+npm test # 单元测试;client.js 过期时也会失败+node scripts/build-client.mjs --check # client.js 与 src/client 一致+npm run lint # oxlint+```++CI 在每个 Pull Request 上,在 Linux 和 Windows 上跑同样的三项检查。++改服务端(`index.js`、`src/host/`)时,还要跑冒烟测试。它启动模拟模型和一个链接到你本地插件的 DSH Web,走一遍主要流程(Bot、群聊、对话分段、压缩、设置)。`CONTEXT_WINDOW` 和 `CHECK_RATIO` 让模拟模型的上下文窗口变小,几条长回复就能到达检查线:++```sh+CONTEXT_WINDOW=100000 CHECK_RATIO=0.45 dev/bench.sh smoke 3096 8796 reset && node dev/smoke.mjs smoke 3096+dev/bench.sh smoke 3096 8796 stop+```++想手动试用插件,启动一个测试台,打开它打印的地址:++```sh+dev/bench.sh dev 3081 8771 reset # 模拟模型 + DSH Web;数据在 ../.dsh-test-dev+```++模拟模型只回应一组固定命令,所以测试台不花 token。命令列在 `dev/mock-llm.mjs` 开头。测试台数据放在插件目录旁边的 `.dsh-test-<名字>/`,不会碰你自己的 `~/.dsh`。++改上下文管家或它的提示词(`src/host/steward.js`)时,还要用真实模型检查。`dev/steward-eval.mjs` 在固定的对话结尾上跑它的决策,`dev/llm-tap.mjs` 记录真实测试台的每次调用。两者都花 token,用法写在文件开头。++改 Bot 浏览器时,要在 DSH Desktop 里检查。在 Linux 上,`dev/desktop-linux/` 里的脚本用 Xvfb 运行 DSH Desktop;每个脚本的用法写在开头。++## 写改动++- 一个改动只做一件事。+- 不要手改 `client.js`。改 `src/client/`,运行 `npm run build`,两者一起提交。+- 跟随改动周围代码的风格。只有当代码本身看不出原因时才写注释。+- 提交说明用英文。标题简短,用祈使句(如 "Keep group replies visible"),在正文里写原因。+- 提交的作者是做出改动的人。用 AI 工具辅助时,不要把它加为作者,也不要加 `Co-authored-by` 行;在工具里关掉这个设置。+- 不要改 [CHANGELOG.md](CHANGELOG.md)。把用户能看到的变化写在 Pull Request 的 Changelog 一栏。++## 报告问题++最简单的方式是在 DS Bot 里:打开 **设置 → 反馈**,写下发生了什么,选 **在 GitHub 上报告**。它会新开一个 Issue,DS Bot 和 DSH 版本、系统、模型和最近的错误都已填好。**复制** 会把同样的内容放进剪贴板,**下载** 会保存完整的错误日志(`<DSH_HOME>/bot/logs/diagnostics.jsonl`)。++手动开 Issue 时,请写上:++- DSH 版本(DSH Desktop 或 `@deepseek-ai/dsh`)、操作系统,以及用的是 DSH Desktop 还是 DSH Web。+- DS Bot 的安装方式(npm、发布文件、Git 地址或命令行)和版本。+- 你做了什么、期望什么、实际发生了什么,报错请贴原文。+- 一张整窗截图,包含聊天和报错。+- 能让问题再次出现的步骤。++DS Bot 会从诊断信息里去掉 API key、token、保存的密钥和你的用户目录。发出前请读一遍,并去掉截图里的个人信息。++安全问题不要开公开 Issue。请在仓库的 **Security** 页使用 **Report a vulnerability**。++Issue 只用来报告 bug。提问、想法和功能建议请发到 [Discussions](https://github.com/Fei2411/DeepSeek-Bot/discussions)。维护者认可的想法会开成 Issue。++## 许可++DS Bot 使用 [Apache License 2.0](LICENSE)。提交贡献即表示你同意按同一许可授权,如该许可第 5 条所述。diff --git a/README.md b/README.mdindex a1225ef2..95f177e4 100644--- a/README.md+++ b/README.md@@ -80,7 +80,7 @@ All data stays on your own computer, in `bot/` and `sessions/` in the DSH home f## Development-The plugin source is in [`ds-bot/`](ds-bot/). For options and internals, see [`ds-bot/README.md`](ds-bot/README.md). For development and tests, see [CONTRIBUTING.md](CONTRIBUTING.md). For changes between versions, see [CHANGELOG.md](CHANGELOG.md).+The plugin source is in [`ds-bot/`](ds-bot/). For options and internals, see [`ds-bot/README.md`](ds-bot/README.md). For development, tests and how the team works, see [CONTRIBUTING.md](CONTRIBUTING.md). For changes between versions, see [CHANGELOG.md](CHANGELOG.md).## Acknowledgmentsdiff --git a/README.zh.md b/README.zh.mdindex 3ec18f2f..b005c703 100644--- a/README.zh.md+++ b/README.zh.md@@ -80,7 +80,7 @@ ds bot 拥有群聊功能。群聊是非常好的多 bot 协作方式,但它## 开发-插件源码在 [`ds-bot/`](ds-bot/)。配置项和内部结构见 [`ds-bot/README.md`](ds-bot/README.md),开发和测试见 [CONTRIBUTING.md](CONTRIBUTING.md),版本变化见 [CHANGELOG.md](CHANGELOG.md)。+插件源码在 [`ds-bot/`](ds-bot/)。配置项和内部结构见 [`ds-bot/README.md`](ds-bot/README.md),开发、测试和协作方式见 [CONTRIBUTING.zh.md](CONTRIBUTING.zh.md),版本变化见 [CHANGELOG.md](CHANGELOG.md)。## 致谢