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
This commit is contained in:
zhi
2026-03-20 06:24:40 +00:00
parent 6d6d00437d
commit eb43434e48
2 changed files with 13 additions and 8 deletions

View File

@@ -48,7 +48,7 @@ export default function register(api: PluginAPI, config: PluginConfig) {
logger.warn('API authentication will fail. Generate apiKey from HarborForge Monitor admin.');
}
const serverPath = join(__dirname, '..', 'server', 'telemetry.mjs');
const serverPath = join(__dirname, 'server', 'telemetry.mjs');
if (!existsSync(serverPath)) {
logger.error('Telemetry server not found:', serverPath);