docs: refresh openclaw plugin architecture docs

This commit is contained in:
zhi
2026-03-21 19:52:09 +00:00
parent 86911286c0
commit f45f5957f4
2 changed files with 17 additions and 14 deletions

View File

@@ -38,13 +38,14 @@
## 语义
- `openclaw_version`: 远程主机上的 OpenClaw 版本
- `plugin_version`: harborforge-monitor 插件版本
- `plugin_version`: `harbor-forge` 插件版本
## 插件生命周期
- 插件注册到 Gateway
- `gateway_start` 启动 `server/telemetry.mjs`
- `gateway_stop` 停止 sidecar
- 插件注册名为 `harbor-forge`
- 不再启动独立 `server/telemetry.mjs` sidecar
- 插件直接通过 Gateway/runtime 路径暴露 OpenClaw 元数据
- 如配置了 `monitor_port`,插件还可通过本地桥接与 HarborForge.Monitor 交互
## 配置位置
@@ -54,13 +55,14 @@
{
"plugins": {
"entries": {
"harborforge-monitor": {
"harbor-forge": {
"enabled": true,
"config": {
"enabled": true,
"backendUrl": "http://127.0.0.1:8000",
"identifier": "vps.t1",
"apiKey": "your-api-key"
"apiKey": "your-api-key",
"monitor_port": 9100
}
}
}