#!/usr/bin/env python3
"""Generate my_activities.json from MCP data for workbench tabs"""
import json, sys

# Read raw MCP output from stdin or use hardcoded path
data = json.loads(sys.stdin.read()) if not sys.stdin.isatty() else None

# For now, we write a minimal structure - the full data will come from mcp_refresh
activities = {
  "updated": "2026-07-25 23:00",
  "total": 0,
  "recent": [],
  "by_user": {}
}
print(json.dumps(activities, ensure_ascii=False, indent=2))
