chore: replace hack with tools and remove obsolete artifacts

- Rename hack/ to tools/ for formal naming
- Update plugin development and deployment script references
- Remove obsolete DESIGN/MILESTONE/PLAN docs now superseded by docs/
- Remove abandoned internal/onebot implementation
- Ignore stray local qq binary artifact
This commit is contained in:
root
2026-07-06 20:46:32 +08:00
parent eb55a8fb98
commit 5fd8d04b1e
18 changed files with 512 additions and 1128 deletions

View File

@ -10,7 +10,7 @@ SDK 仓库。
```bash
git clone https://gitcode.com/JianFeeeee/homeagent-sdk.git
cd homeagent-sdk
hack/plugin-dev/scaffold.sh myplugin ./plugins/myplugin
tools/plugin-dev/scaffold.sh myplugin ./plugins/myplugin
```
每个插件实现一个三方法接口:
@ -363,7 +363,7 @@ pluginReg.Load(plgDir) // 之后调用
```bash
git clone https://gitcode.com/JianFeeeee/homeagent-sdk.git
cd homeagent-sdk
hack/plugin-dev/scaffold.sh myplugin ./plugins/myplugin
tools/plugin-dev/scaffold.sh myplugin ./plugins/myplugin
```
生成的代码:
@ -421,7 +421,7 @@ cd plugins/myplugin && make
使用 SDK 仓库的打包工具生成 `.hmap` 分发包:
```bash
hack/plugin-dev/packager.sh plugins/myplugin
tools/plugin-dev/packager.sh plugins/myplugin
# 输出: dist/myplugin-0.1.0.hmap
```