{
  "id": "habit-streak",
  "name": "微习惯连续打卡",
  "description": "每日核心微习惯一键离线打卡，实时计算连续天数与本周 7 天热力点。",
  "version": "1.0.2",
  "kind": "utility",
  "branding": { "icon": "assets/icon.png" },
  "categories": ["life"],
  "tags": ["habits", "streak", "daily", "offline"],
  "localizations": {
    "zh-CN": {
      "displayName": "微习惯连续打卡",
      "description": "每日核心微习惯一键离线打卡，实时计算连续天数与本周 7 天热力点。"
    },
    "en": {
      "displayName": "Habit Streak",
      "description": "Minimalist daily micro-habit tracker with one-tap check-ins, streaks, and 7-day heatmap dots."
    }
  },
  "ui": {
    "main": "ui/index.html",
    "permissions": ["theme", "storage"],
    "recommendedMobilePin": true,
    "collections": [
      {
        "name": "habits",
        "title": "习惯列表",
        "fields": [
          { "key": "name", "type": "string", "required": true }
        ]
      },
      {
        "name": "checkins",
        "title": "打卡记录",
        "fields": [
          { "key": "habitId", "type": "string", "required": true },
          { "key": "date", "type": "date", "required": true }
        ]
      }
    ]
  },
  "engines": { "xopc": ">=0.0.106 <1.0.0" }
}
