feat: implement telemetry sidecar with API Key authentication #1

Closed
zhi wants to merge 3 commits from feat/telemetry-sidecar into main

3 Commits

Author SHA1 Message Date
zhi
dac3976b9f feat: update plugin entry, install script, and docs for API Key auth
- plugin/index.ts: use apiKey instead of challengeUuid
- scripts/install.mjs: update prompts and examples
- README.md: update config docs and examples
2026-03-19 16:31:30 +00:00
zhi
074f1e9eef feat(telemetry): implement offline caching with batch upload
- Add offline cache with disk persistence
- Flush cached payloads on successful heartbeat
- Store failed payloads to cache for retry
- Configurable cache path and max size
- Load cache on startup
2026-03-19 16:21:46 +00:00
zhi
f0e9d22d9d feat(telemetry): refactor to use API Key authentication
- Add HF_MONITOR_API_KEY environment variable support
- Add X-API-Key header to HTTP requests
- Remove challenge_uuid dependency
- Use heartbeat-v2 endpoint for API Key auth
- Warn instead of exit when API key is missing
2026-03-19 16:12:01 +00:00