|
|
0dc824549a
|
feat: fix API Key authentication and payload alignment
- Update openclaw.plugin.json: replace challengeUuid with apiKey (optional)
- Fix tsconfig: use CommonJS module to avoid import.meta.url issues
- Fix plugin/index.ts: remove ESM-specific code, use __dirname
- Fix telemetry.mjs:
- Add loadavg to os imports, remove require() call
- Replace challengeUuid with apiKey in config
- Update endpoint to heartbeat-v2
- Add X-API-Key header when apiKey is configured
- Fix payload field names: agents, load_avg (array), uptime_seconds
- Change missing apiKey from error to warning
|
2026-03-19 18:20:29 +00:00 |
|
|
|
a148c11e50
|
feat: implement HarborForge Monitor OpenClaw Plugin
Architecture:
- openclaw.plugin.json: Plugin manifest with config schema
- index.mjs: Plugin entry, lifecycle hooks (gateway:start/stop)
- sidecar/server.mjs: Independent Node process for telemetry
Features:
- Collects system metrics (CPU, memory, disk, load, uptime)
- Collects OpenClaw status (version, agents)
- HTTP heartbeat to HarborForge Monitor
- Config via ~/.openclaw/openclaw.json
- Sidecar auto-starts/stops with Gateway
Config options:
- enabled, backendUrl, identifier
- challengeUuid (required, from Monitor registration)
- reportIntervalSec, httpFallbackIntervalSec
- logLevel
Provides tool: harborforge_monitor_status
|
2026-03-19 13:37:11 +00:00 |
|