Commit Graph
13 Commits
Author SHA1 Message Date
yuhao 412754f216 feat(hub): fetch live analytics from PostHog in-browser, drop static snapshot
- Page now runs a HogQL countIf query directly against PostHog on load
  and every 60s, using a read-only personal API key scoped to query:read
  on project 393992. Numbers are baseline (Umami cutover) + live increment.
- Remove the static snapshot pipeline: delete
  .github/scripts/update_hub_analytics_stats.py,
  docs/hub/analytics-stats.json, and the Generate hub analytics stats step
  and path trigger in deploy-pages.yml.
- Drop the JS static-fallback branch that read analytics-stats.json.
2026-04-23 16:42:10 +00:00
yuhao 8cae111a48 feat(cli-hub): migrate analytics to PostHog, add stats pipeline and refined footer
- Switch cli-hub analytics client from Umami to PostHog (us.i.posthog.com),
  with agent/human classification derived from env vars and parent-process
  names, and persistent analytics id at ~/.cli-hub/.analytics_id.
- Add daily deploy-pages step running .github/scripts/update_hub_analytics_stats.py
  to pull PostHog totals into docs/hub/analytics-stats.json.
- Redesign docs/hub footer analytics panel (index.html + index-modern.html)
  as a compact Apple/OpenAI-style card: live eyebrow, total, 2px ratio bar,
  and inline Human/Agent split with percentages computed client-side.
- Expand cli-hub tests to cover the new analytics context fields and
  provider switch.
2026-04-23 16:27:14 +00:00
yuhao 87bdfe7697 fix CI 2026-04-18 16:59:59 +00:00
yuhao 42fc5c096d update cli-hub 2026-04-18 16:57:25 +00:00
yuhao e1e48ba6d0 fix missing skills 2026-04-18 11:53:57 +00:00
yuhao 99f92f0525 WIP transfer root-skills and hub updates 2026-04-18 10:12:58 +00:00
yuhao 2c8a7815a8 update cli-hub 2026-04-16 07:47:10 +00:00
yuhao 69a64a30b6 fix update date for outer repo 2026-04-13 09:16:44 +00:00
yuhao e59b7ee367 launch cli-anything-hub pkg manager. 2026-04-10 15:43:51 +00:00
yuhao a81d5b2c0e launch meta-skill for cli-hub 2026-03-23 16:20:30 +00:00
yuhao 3e10b0ab2d fix CLI-Hub 2026-03-22 09:36:34 +00:00
yuhao 776569427f fix github pages build workflow 2026-03-22 09:28:36 +00:00
yuhao b8b21ffe43 update CLI-Hub 2026-03-22 09:21:50 +00:00