ab42936408
fix(telemetry): discover agents from ~/.openclaw/agents and clean docs
...
- Fallback to agent directory discovery when agents.json is absent
- Count configured agent workspaces (excluding main)
- Rewrite plugin docs to API key-only flow
2026-03-20 08:02:19 +00:00
040cde8cad
feat(telemetry): report openclaw and plugin versions separately
...
- Report remote OpenClaw CLI version as openclaw_version
- Report harborforge-monitor plugin version as plugin_version
- Pass plugin version from plugin runtime to sidecar
- Read live config via api.pluginConfig/api.config helper
2026-03-20 07:23:18 +00:00
006784db63
refactor(plugin): read config via api.pluginConfig and api.config
...
- Mirror dirigent plugin registration pattern
- Read base config from api.pluginConfig
- Read live config from api.config.plugins.entries.harborforge-monitor.config
- Support gateway_start/gateway_stop lifecycle only
- Compile nested plugin/core files
2026-03-20 07:13:12 +00:00
de4ef87491
refactor(plugin): remove fallback sidecar autostart
2026-03-20 06:42:45 +00:00
55b17e35ea
fix(plugin): use OpenClaw gateway_start/gateway_stop hooks
2026-03-20 06:36:20 +00:00
8ebc76931f
fix(plugin): normalize OpenClaw plugin config shapes
...
- Accept flat config, nested entry.config, or missing config
- Treat plugin as enabled unless explicitly disabled
- Log resolved runtime config for gateway diagnostics
2026-03-20 06:27:46 +00:00
eb43434e48
fix(plugin): correct telemetry server path for installed plugin
...
- Resolve telemetry.mjs relative to installed plugin root
- Update installer messaging from challengeUuid to apiKey
- Document correct OpenClaw plugin entry config structure
2026-03-20 06:24:40 +00:00
6d6d00437d
chore: add .gitignore for build artifacts
2026-03-19 18:20:43 +00:00
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
0debe835b4
feat: reorganize to standard OpenClaw plugin structure
...
New structure:
├── package.json # Root package
├── README.md # Documentation
├── plugin/ # OpenClaw plugin
│ ├── openclaw.plugin.json # Plugin manifest
│ ├── index.ts # Plugin entry (TypeScript)
│ ├── package.json
│ └── tsconfig.json
├── server/ # Telemetry sidecar
│ └── telemetry.mjs
├── skills/ # OpenClaw skills
└── scripts/
└── install.mjs # Installation script
Matches PaddedCell project structure.
Provides install.mjs with build/install/configure/uninstall commands.
2026-03-19 13:51:19 +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
c8681af0ac
docs: add server connector plan
2026-03-11 21:35:28 +00:00