feat: add new stats entry for March 2026 and update stats calculation logic

- Added a new stats entry for March 12, 2026, including total posts, downloads, views, upvotes, saves, followers, points, contributions, and detailed post statistics.
- Updated the stats calculation logic in `openwebui_stats.py` to only count views for posts with actual downloads, excluding post and review types.
- Introduced a new script `zed-ai-tabs.sh` for batch-launching and orchestrating multiple AI CLI tools as tabs, including a single-instance lock mechanism and automatic tool discovery.
This commit is contained in:
fujie
2026-03-12 17:39:18 +08:00
parent 41f271d2d8
commit f11cf27404
12 changed files with 279 additions and 103 deletions

View File

@@ -639,8 +639,8 @@ class OpenWebUIStats:
stats["total_saves"] += post.get("saveCount", 0)
stats["total_comments"] += post.get("commentCount", 0)
# Key: exclude post and review types from stats (only count plugins)
if post_type not in ("post", "review"):
# Key: only count views for posts with actual downloads (exclude post/review types)
if post_type not in ("post", "review") and post_downloads > 0:
stats["total_views"] += post_views
if post_type not in stats["by_type"]:
stats["by_type"][post_type] = 0