mirror of
https://github.com/wanikua/danghuangshang.git
synced 2026-09-03 07:03:37 +08:00
fix: 全项目扫描修复 8 项问题
1. CHANGELOG 日期 2026-07-14 → 2026-03-12 2. 4个 docs 文件补「返回 README」导航链接 3. 飞书配置指南.md 补返回链接 4. discord-architecture.png 引用到 docs/architecture.md 5. evidence/ 证据图片链接到新建的 docs/copyright.md 6. gui/README.md 重写为项目 GUI 说明 7. docs/README.md 补 copyright 索引 注:.github/workflows 需要 workflow scope 的 token 才能推送,暂保留在 gitignore
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -21,5 +21,5 @@ Thumbs.db
|
||||
# 构建产物
|
||||
frontend/
|
||||
gui/dist/
|
||||
.github/
|
||||
SECURITY-AUDIT.md
|
||||
.github/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# 📜 Changelog
|
||||
|
||||
## v3.5.1 (2026-07-14)
|
||||
## v3.5.1 (2026-03-12)
|
||||
|
||||
### 优化
|
||||
- **README 重构** — 精简为 ~400 行引导页,详细教程拆分到 `docs/` 目录
|
||||
|
||||
@@ -239,7 +239,7 @@ systemctl --user start openclaw-gateway
|
||||
|
||||
## ⚠️ 维权声明
|
||||
|
||||
本项目于 **2026年2月22日** 首发([小红书推广帖更早于2月20日](https://www.xiaohongshu.com/discovery/item/6998638f000000000d0092fe?source=webshare)),是「三省六部制 × AI 多智能体」概念的原创项目。完整证据链见 [GitHub Issue](https://github.com/cft0808/edict/issues/55) | [维权文章](https://mp.weixin.qq.com/s/erVkoANrpZQFawMCNn6p9g)。欢迎 fork 和二次开发,请尊重开源精神,注明出处。
|
||||
本项目于 **2026年2月22日** 首发([小红书推广帖更早于2月20日](https://www.xiaohongshu.com/discovery/item/6998638f000000000d0092fe?source=webshare)),是「三省六部制 × AI 多智能体」概念的原创项目。完整证据链见 [GitHub Issue](https://github.com/cft0808/edict/issues/55) | [维权文章](https://mp.weixin.qq.com/s/erVkoANrpZQFawMCNn6p9g) | [证据截图](./docs/copyright.md)。欢迎 fork 和二次开发,请尊重开源精神,注明出处。
|
||||
|
||||
> 📕 小红书原创系列:[用AI当上皇帝的第3天](https://www.xiaohongshu.com/discovery/item/6998638f000000000d0092fe) | [赛博皇帝的日常](https://www.xiaohongshu.com/discovery/item/69a95dc3000000002801e886)
|
||||
|
||||
|
||||
@@ -47,3 +47,4 @@
|
||||
| [菠萝王朝案例](./pineapple-dynasty.md) | 14 Agent 真实运行的完整案例 |
|
||||
| [完整 FAQ](./faq.md) | 基础 + 技术常见问题 |
|
||||
| [飞书 Issue 回复](./feishu-issue-replies.md) | 飞书相关 GitHub Issue 汇总 |
|
||||
| [原创声明与维权](./copyright.md) | 原创证据链、维权截图 |
|
||||
|
||||
@@ -43,6 +43,10 @@
|
||||
└───────────────────────────────────────────────────────────┘
|
||||
```
|
||||
|
||||
<p align="center">
|
||||
<img src="../images/discord-architecture.png" alt="Discord 朝廷架构图" width="80%" />
|
||||
</p>
|
||||
|
||||
每个 Agent 绑定一个 Discord Bot 账号,由同一个 Gateway 进程统一管理:
|
||||
- **独立会话**:每个 Agent 有独立的会话存储,互不干扰
|
||||
- **独立模型**:重活用强力模型,轻活用快速模型,省钱又高效
|
||||
|
||||
40
docs/copyright.md
Normal file
40
docs/copyright.md
Normal file
@@ -0,0 +1,40 @@
|
||||
# ⚠️ 原创声明与维权证据
|
||||
|
||||
> ← [返回 README](../README.md) | [📚 文档索引](./README.md)
|
||||
|
||||
---
|
||||
|
||||
## 原创声明
|
||||
|
||||
本项目于 **2026年2月22日** 首发([小红书推广帖更早于2月20日](https://www.xiaohongshu.com/discovery/item/6998638f000000000d0092fe?source=webshare)),是「三省六部制 × AI 多智能体」概念的原创项目。
|
||||
|
||||
近日发现有项目在 21 小时后创建了 15/15 核心设计决策完全一致的仿品,且不注明来源。
|
||||
|
||||
## 证据链
|
||||
|
||||
### 小红书首发帖(2026-02-20)
|
||||
|
||||

|
||||
|
||||
### 微信公众号「菠言菠语」
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
### GitHub + 微信维权文章
|
||||
|
||||

|
||||
|
||||
## 外部链接
|
||||
|
||||
- 🔗 [GitHub Issue 完整证据链](https://github.com/cft0808/edict/issues/55)
|
||||
- 🔗 [微信维权文章](https://mp.weixin.qq.com/s/erVkoANrpZQFawMCNn6p9g)
|
||||
- 🔗 [小红书原创系列:用AI当上皇帝的第3天](https://www.xiaohongshu.com/discovery/item/6998638f000000000d0092fe)
|
||||
- 🔗 [赛博皇帝的日常](https://www.xiaohongshu.com/discovery/item/69a95dc3000000002801e886)
|
||||
|
||||
---
|
||||
|
||||
**欢迎 fork 和二次开发,请尊重开源精神,注明出处。**
|
||||
|
||||
> 📜 Licensed under MIT. Derivative works please credit: [boluobobo-ai-court-tutorial](https://github.com/wanikua/boluobobo-ai-court-tutorial) by [@wanikua](https://github.com/wanikua)
|
||||
@@ -1,5 +1,7 @@
|
||||
# 飞书相关 GitHub Issue 回复
|
||||
|
||||
> ← [返回 README](../README.md) | [📚 文档索引](./README.md)
|
||||
|
||||
以下为 4 个飞书相关 issue 的回复内容,已在本次提交中通过代码改动解决。
|
||||
|
||||
---
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# 🚀 朝廷进阶玩法:效率翻倍的神器(进阶篇)
|
||||
|
||||
> ← [返回 README](../README.md) | [📚 文档索引](./README.md)
|
||||
>
|
||||
> 适用人群:已搭建好朝廷,想进一步提升效率 | 预计耗时:30-40 分钟
|
||||
>
|
||||
> 最终效果:远程编程不断线 + 代码自动备份 + 奏折自动写 + 定时任务 + Discord 协作 + Prompt 技巧
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# 🏛️ 保姆级教程:30 分钟搭建你的 AI 朝廷(基础篇)
|
||||
|
||||
> ← [返回 README](../README.md) | [📚 文档索引](./README.md)
|
||||
|
||||
> 适用人群:完全零基础小白 | 预计耗时:30-45 分钟
|
||||
>
|
||||
> 最终效果:拥有一台永久免费的云服务器,运行你的 AI 朝廷团队
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# 🪟 Windows 用户指南 — 通过 WSL2 运行 AI 朝廷
|
||||
|
||||
> ← [返回 README](../README.md) | [📚 文档索引](./README.md)
|
||||
>
|
||||
> OpenClaw 是 Node.js 应用,原生运行在 Linux/macOS 上。Windows 用户推荐通过 **WSL2(Windows Subsystem for Linux)** 运行。
|
||||
|
||||
## 前置要求
|
||||
|
||||
@@ -1,73 +1,35 @@
|
||||
# React + TypeScript + Vite
|
||||
# 🖥️ 菠萝王朝 GUI — Web 管理后台
|
||||
|
||||
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
||||
> ← [返回项目 README](../README.md) | [📖 GUI 文档](../docs/gui.md)
|
||||
|
||||
Currently, two official plugins are available:
|
||||
基于 React + TypeScript + Vite 构建的 AI 朝廷 Web 管理后台。
|
||||
|
||||
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh
|
||||
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
|
||||
## 功能
|
||||
|
||||
## React Compiler
|
||||
- **仪表盘** — 各部门状态、Token 消耗、系统负载
|
||||
- **朝堂** — Web 端与各部门 Bot 对话
|
||||
- **会话管理** — 历史会话、消息详情、Token 统计
|
||||
- **定时任务** — 可视化管理 Cron(启用/禁用/手动触发)
|
||||
- **系统健康** — CPU/内存/磁盘监控
|
||||
|
||||
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).
|
||||
## 快速启动
|
||||
|
||||
## Expanding the ESLint configuration
|
||||
```bash
|
||||
# 1. 构建前端
|
||||
cd gui && npm install && npm run build
|
||||
|
||||
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
|
||||
|
||||
```js
|
||||
export default defineConfig([
|
||||
globalIgnores(['dist']),
|
||||
{
|
||||
files: ['**/*.{ts,tsx}'],
|
||||
extends: [
|
||||
// Other configs...
|
||||
|
||||
// Remove tseslint.configs.recommended and replace with this
|
||||
tseslint.configs.recommendedTypeChecked,
|
||||
// Alternatively, use this for stricter rules
|
||||
tseslint.configs.strictTypeChecked,
|
||||
// Optionally, add this for stylistic rules
|
||||
tseslint.configs.stylisticTypeChecked,
|
||||
|
||||
// Other configs...
|
||||
],
|
||||
languageOptions: {
|
||||
parserOptions: {
|
||||
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
||||
tsconfigRootDir: import.meta.dirname,
|
||||
},
|
||||
// other options...
|
||||
},
|
||||
},
|
||||
])
|
||||
# 2. 启动后端(设置登录密码)
|
||||
cd server && npm install
|
||||
BOLUO_AUTH_TOKEN=你的密码 node index.js
|
||||
```
|
||||
|
||||
You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
|
||||
访问 `http://你的服务器IP:18795`
|
||||
|
||||
```js
|
||||
// eslint.config.js
|
||||
import reactX from 'eslint-plugin-react-x'
|
||||
import reactDom from 'eslint-plugin-react-dom'
|
||||
> 📖 详细说明见 [GUI 文档](../docs/gui.md)
|
||||
|
||||
export default defineConfig([
|
||||
globalIgnores(['dist']),
|
||||
{
|
||||
files: ['**/*.{ts,tsx}'],
|
||||
extends: [
|
||||
// Other configs...
|
||||
// Enable lint rules for React
|
||||
reactX.configs['recommended-typescript'],
|
||||
// Enable lint rules for React DOM
|
||||
reactDom.configs.recommended,
|
||||
],
|
||||
languageOptions: {
|
||||
parserOptions: {
|
||||
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
||||
tsconfigRootDir: import.meta.dirname,
|
||||
},
|
||||
// other options...
|
||||
},
|
||||
},
|
||||
])
|
||||
```
|
||||
## 技术栈
|
||||
|
||||
- React 18 + TypeScript
|
||||
- Vite 构建
|
||||
- Express.js 后端代理
|
||||
- OpenClaw Gateway API
|
||||
|
||||
Reference in New Issue
Block a user