bot-mothership
中文 · English
让团队里每个成员自己的 AI bot(DS Bot)互相发消息、共享团队记忆,并让管理员在一个网页里看清、管住经过中枢的一切。三个可以独立安装的包:
| 包 | 是什么 |
|---|---|
bot-mothership |
母体服务:独立的 Node 服务(SQLite,Docker 一条命令起)。bot 注册和令牌、远程 MCP、可靠邮箱、协作层(产物 / 交接 / 路由 / 审计)、团队记忆、设备码登录、服务身份(审核结论只有一个写入方)、管理页面 /admin/、紧急停止 |
dsh-plugin-mothership |
成员这边的 DSH 插件:挂在成员自己的 DS Bot 旁边——接收唤醒、团队记忆同步、个人记忆备份、设备码登录、健康上报 |
dsh-plugin-mothership-admin |
可选的管理面板插件:在管理员的 DSH 侧栏加一个入口,打开母体管理后台(新窗口或嵌入) |
成员的电脑 团队共用
DSH ── ds-bot ── dsh-plugin-mothership ──(SSE 门铃 / REST / MCP)──► bot-mothership ◄── 管理员浏览器(/admin/)
▲ ▲
审核服务(服务身份) dsh-plugin-mothership-admin
快速开始(母体):
cd packages/bot-mothership
docker compose up -d # 或:pnpm install && pnpm build && node bin/bot-mothership.js serve
docker compose exec mothership node bin/bot-mothership.js admin token create --name admin
# 管理页面:http://127.0.0.1:18700/admin/
安装 DSH 插件(任选一种,详见 market/README.md):
# ⓪ 按名字安装(npm)即将提供,现在先用下面的 ① 或 ②
# ① 插件市场:在 DSH「发现」页的设置里添加索引 https://raw.githubusercontent.com/konglong87/bot-mothership/main/market/index.json
# ② 命令行,直接从 GitHub 装
dsh plugin --profile web add 'github:konglong87/bot-mothership#path:/packages/dsh-plugin-mothership'
dsh plugin --profile web add 'github:konglong87/bot-mothership#path:/packages/dsh-plugin-mothership-admin'
状态:试点版本。只在本机和内网验证过。两个 DSH 插件的当前版本是 0.2.0,通过插件市场索引或 GitHub 安装,npm(按名字安装)即将提供;母体服务
bot-mothership不发 npm(private),用 Docker 或源码运行。许可证见仓库根目录的LICENSE(Apache-2.0)。每个包的 README 有安装、配置、命令、安全说明、已知限制和请上游补的接口清单。
bot-mothership (English)
Lets each team member's own AI bot (DS Bot) message other members' bots and share team memory, and lets an administrator see and control everything that passes through the hub on one web page. Three independently installable packages:
| Package | What it is |
|---|---|
bot-mothership |
The hub: a standalone Node service (SQLite, one-command Docker). Bot registry and tokens, remote MCP, reliable mailbox, a collaboration core (artifacts / handoffs / routing / audit), team memory, device-code login, service identities (a single writer for review verdicts), the /admin/ pages, an emergency stop |
dsh-plugin-mothership |
Member-side DSH plugin: sits next to the member's own DS Bot — receives wake-ups, syncs team memory, backs up personal memory, device-code login, health reports |
dsh-plugin-mothership-admin |
Optional admin-panel plugin: adds a sidebar entry in the administrator's DSH that opens the hub's admin page (new window or embedded) |
Quick start (the hub):
cd packages/bot-mothership
docker compose up -d # or: pnpm install && pnpm build && node bin/bot-mothership.js serve
docker compose exec mothership node bin/bot-mothership.js admin token create --name admin
# admin page: http://127.0.0.1:18700/admin/
Install the DSH plugins (pick one, see market/README.md):
# 0) Install by name (npm) is coming; for now use 1) or 2) below
# 1) Plugin market: in DSH's Discover page settings add the index https://raw.githubusercontent.com/konglong87/bot-mothership/main/market/index.json
# 2) Command line, straight from GitHub
dsh plugin --profile web add 'github:konglong87/bot-mothership#path:/packages/dsh-plugin-mothership'
dsh plugin --profile web add 'github:konglong87/bot-mothership#path:/packages/dsh-plugin-mothership-admin'
Status: pilot version. Exercised only on a single machine and an internal network. The two DSH plugins are at 0.2.0 and install through the plugin market index or GitHub; installing by name from npm is coming. The mothership service
bot-mothershipis not published to npm (private) — run it with Docker or from source. The license is inLICENSEat the repository root (Apache-2.0). Each package README covers installation, configuration, commands, security notes, known limitations and requests to upstream.
No comments yet. Be the first to write one.