openclaw/extensions/posthog-analytics/openclaw.plugin.json
kumarabhirup fdd89b4e6f
feat: add PostHog AI observability, feedback UI, and telemetry privacy mode
Integrate PostHog LLM Analytics via a bundled OpenClaw plugin that captures
$ai_generation, $ai_span, and $ai_trace events with configurable privacy
mode (content redaction on by default). Add like/dislike feedback buttons
to the web chat UI backed by a /api/feedback route. Extend the CLI with
`telemetry privacy on|off` subcommands and fix command delegation so
telemetry subcommands aren't forwarded to OpenClaw. Harden the web runtime
installer to auto-flatten pnpm standalone deps and dereference dangling
symlinks, preventing "Cannot find module 'next'" crashes in dev. Move
plugin installation before onboard in bootstrap so the gateway starts
with plugins.allow already configured.
2026-03-05 12:28:08 -08:00

23 lines
773 B
JSON

{
"id": "posthog-analytics",
"name": "PostHog LLM Analytics",
"description": "Captures LLM generations, tool calls, and user feedback into PostHog AI",
"version": "1.0.0",
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"apiKey": { "type": "string" },
"host": { "type": "string", "default": "https://us.i.posthog.com" },
"enabled": { "type": "boolean", "default": true },
"feedbackSurveyId": { "type": "string" }
},
"required": []
},
"uiHints": {
"apiKey": { "label": "PostHog Project API Key", "sensitive": true },
"host": { "label": "PostHog Host", "placeholder": "https://us.i.posthog.com" },
"feedbackSurveyId": { "label": "PostHog Survey ID for feedback" }
}
}