cleanup: remove ONIModTutorial (unrelated), merge skills/oni_agent.md into SKILL.md, move event_daemon.py to tools/

This commit is contained in:
root
2026-05-30 16:08:07 +08:00
parent 280879c4b0
commit 4d2cffd2f1
73 changed files with 16 additions and 45270 deletions

View File

@ -112,10 +112,10 @@ python tools/oni_commander.py fix_overload # 过载电路
python tools/oni_commander.py expand_base x y w h # 拓展
```
### `scripts/event_daemon.py` — 事件守护进程
### `tools/event_daemon.py` — 事件守护进程
```bash
python scripts/event_daemon.py
python tools/event_daemon.py [interval_seconds]
# 持续轮询事件,分类显示到控制台
```
@ -144,20 +144,23 @@ oni-agent/
│ ├── ONIAgentBridge.cs # Mod 源码 (C# Harmony)
│ ├── ONIAgentBridge.csproj
│ ├── mod.yaml / mod_info.yaml
├── tools/
├── tools/ # AI 直接调用的运行时工具
│ ├── oni_api.py # CLI 客户端 (20+ 子命令)
│ ├── oni_analyzer.py # 六维度分析
│ ├── oni_analyzer.py # 六维度智能分析
│ ├── oni_builder.py # 蓝图建造
│ └── oni_commander.py # 高级指令
├── scripts/
│ ├── event_daemon.py # 事件守护进程
│ ├── build_mod.sh # 编译脚本
│ └── setup.sh # 环境初始化
│ ├── oni_commander.py # 高级指令
│ └── event_daemon.py # 事件守护进程
├── scripts/ # 开发者/构建用脚本
│ ├── build_mod.sh # 编译 Mod
│ ├── setup.sh # 环境初始化
│ ├── watch.sh # 热重载
│ ├── fix_csharp.py # C# 修复
│ ├── annotate_apis.py # API 标注
│ ├── auto_analyze.sh # 自动分析
│ └── auto_repair.sh # 自动修复
├── docs/
│ ├── AI_KNOWLEDGE_BASE.md # AI 知识库
│ ├── AI_KNOWLEDGE_BASE.md # AI 知识库 (建筑/元素/科技)
│ └── MOD_DEV_GUIDE.md # Mod 开发指南
└── skills/
└── oni_agent.md # Agent skill 定义
```
## 文档索引