docs: sync harbor-forge plugin planning notes
This commit is contained in:
@@ -279,7 +279,7 @@ POST /monitor/server/heartbeat-v2
|
|||||||
Body:
|
Body:
|
||||||
identifier: string
|
identifier: string
|
||||||
openclaw_version: string # 远程主机上的 OpenClaw 版本
|
openclaw_version: string # 远程主机上的 OpenClaw 版本
|
||||||
plugin_version: string # harborforge-monitor 插件版本
|
plugin_version: string # harbor-forge 插件版本
|
||||||
cpu_pct: float
|
cpu_pct: float
|
||||||
mem_pct: float
|
mem_pct: float
|
||||||
disk_pct: float
|
disk_pct: float
|
||||||
@@ -602,16 +602,22 @@ services:
|
|||||||
### 9.2 监控插件部署
|
### 9.2 监控插件部署
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 1. 在 Monitor 注册服务器,获取 challenge_uuid
|
# 1. 在 Monitor 注册服务器并生成 API Key
|
||||||
# 2. 在服务器安装插件
|
# 2. 在服务器安装插件
|
||||||
node scripts/install.mjs
|
node scripts/install.mjs
|
||||||
|
|
||||||
# 3. 配置 ~/.openclaw/openclaw.json
|
# 3. 配置 ~/.openclaw/openclaw.json
|
||||||
{
|
{
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"harborforge-monitor": {
|
"entries": {
|
||||||
"enabled": true,
|
"harbor-forge": {
|
||||||
"challengeUuid": "YOUR_CHALLENGE_UUID"
|
"enabled": true,
|
||||||
|
"config": {
|
||||||
|
"enabled": true,
|
||||||
|
"apiKey": "YOUR_API_KEY",
|
||||||
|
"monitor_port": 9100
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Submodule HarborForge.Backend updated: 86911286c0...f45f5957f4
@@ -278,15 +278,15 @@
|
|||||||
## 4. HarborForge.OpenclawPlugin
|
## 4. HarborForge.OpenclawPlugin
|
||||||
|
|
||||||
### 4.1 Plugin identity and packaging
|
### 4.1 Plugin identity and packaging
|
||||||
- [ ] Rename plugin registration name to `harbor-forge`
|
- [x] Rename plugin registration name to `harbor-forge`
|
||||||
- [ ] Audit all docs/config/install references to old plugin name
|
- [x] Audit all docs/config/install references to old plugin name
|
||||||
- [ ] Ensure plugin config keys and examples reflect the new registration name
|
- [x] Ensure plugin config keys and examples reflect the new registration name
|
||||||
|
|
||||||
### 4.2 Remove sidecar architecture
|
### 4.2 Remove sidecar architecture
|
||||||
- [ ] Remove plugin-side `server/` telemetry sidecar
|
- [x] Remove plugin-side `server/` telemetry sidecar
|
||||||
- [ ] Remove sidecar startup/shutdown lifecycle logic
|
- [x] Remove sidecar startup/shutdown lifecycle logic
|
||||||
- [ ] Remove sidecar-specific docs and examples
|
- [x] Remove sidecar-specific docs and examples
|
||||||
- [ ] Replace old OpenClaw telemetry flow with direct plugin-exposed data path
|
- [x] Replace old OpenClaw telemetry flow with direct plugin-exposed data path
|
||||||
|
|
||||||
### 4.3 Plugin config updates
|
### 4.3 Plugin config updates
|
||||||
- [x] Add `monitor_port` to plugin config schema
|
- [x] Add `monitor_port` to plugin config schema
|
||||||
@@ -294,23 +294,23 @@
|
|||||||
- [x] Ensure runtime reads and validates `monitor_port`
|
- [x] Ensure runtime reads and validates `monitor_port`
|
||||||
|
|
||||||
### 4.4 CLI install support
|
### 4.4 CLI install support
|
||||||
- [ ] Add install script flag `--install-cli`
|
- [x] Add install script flag `--install-cli`
|
||||||
- [ ] Resolve OpenClaw profile bin directory (default `~/.openclaw/bin`)
|
- [x] Resolve OpenClaw profile bin directory (default `~/.openclaw/bin`)
|
||||||
- [ ] Build `HarborForge.Cli`
|
- [x] Build `HarborForge.Cli`
|
||||||
- [ ] Install compiled `hf` binary to profile `bin/`
|
- [x] Install compiled `hf` binary to profile `bin/`
|
||||||
- [ ] `chmod +x` installed binary
|
- [x] `chmod +x` installed binary
|
||||||
- [ ] Handle failure cases cleanly if CLI build/install fails
|
- [x] Handle failure cases cleanly if CLI build/install fails
|
||||||
|
|
||||||
### 4.5 Skills deployment
|
### 4.5 Skills deployment
|
||||||
- [ ] Add plugin `skills/` directory
|
- [x] Add plugin `skills/` directory
|
||||||
- [ ] Add `skills/hf/`
|
- [x] Add `skills/hf/`
|
||||||
- [ ] Add `skills/hf/SKILL.md`
|
- [x] Add `skills/hf/SKILL.md`
|
||||||
- [ ] In `SKILL.md`, explain basic `hf` usage
|
- [x] In `SKILL.md`, explain basic `hf` usage
|
||||||
- [ ] In `SKILL.md`, encourage agents to use `hf --help-brief`
|
- [x] In `SKILL.md`, encourage agents to use `hf --help-brief`
|
||||||
- [ ] In `SKILL.md`, point to normal `--help` for full command tree
|
- [x] In `SKILL.md`, point to normal `--help` for full command tree
|
||||||
- [ ] Installer should copy normal plugin skills into profile `skills/`
|
- [x] Installer should copy normal plugin skills into profile `skills/`
|
||||||
- [ ] Installer should **not** copy `skills/hf/` unless `--install-cli` is present
|
- [x] Installer should **not** copy `skills/hf/` unless `--install-cli` is present
|
||||||
- [ ] Installer should copy `skills/hf/` when `--install-cli` is present
|
- [x] Installer should copy `skills/hf/` when `--install-cli` is present
|
||||||
|
|
||||||
### 4.6 Monitor bridge endpoint
|
### 4.6 Monitor bridge endpoint
|
||||||
- [ ] Define how plugin exposes OpenClaw metadata to Monitor over local port
|
- [ ] Define how plugin exposes OpenClaw metadata to Monitor over local port
|
||||||
|
|||||||
Reference in New Issue
Block a user