{
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "0xCal",
        "shortDescription": "Track calories and macros",
        "longDescription": "0xCal is an AI calorie counter for iPhone. Connect your assistant to review a day or week of meals, check your calorie budget and protein against your targets, discuss your day, plan meals around your budget, log a meal from a description, and update daily goals you choose.\n\nYour food log is stored on your iPhone. Requests are relayed to the 0xCal app, which answers automatically or after you tap Allow, depending on your settings. Answers are transmitted to your connected assistant; the relay deletes them after delivery or within two minutes. You can see requests in the app and disconnect an assistant at any time. See the privacy policy for assistant-provider handling and food-analysis processing.\n\nRequires an iPhone with the 0xCal app.",
        "category": "Healthcare",
        "defaultPrompt": [
          "How many calories do I have left today?",
          "Show me the meals I logged yesterday.",
          "Log 2 scrambled eggs and a slice of rye bread."
        ],
        "developerName": "Bart\u0142omiej Pichalski",
        "websiteURL": "https://0xcal.app/",
        "supportURL": "https://0xcal.app/ai-assistants",
        "privacyPolicyURL": "https://0xcal.app/privacy#ai-assistants",
        "termsOfServiceURL": "https://0xcal.app/terms",
        "logo": "./assets/icon.png",
        "composerIcon": "./assets/icon.png"
      },
      "review": {
        "prompts": [
          "How many calories do I have left today?",
          "What did I eat last week, and how much protein did I log?",
          "Log 2 scrambled eggs and a slice of rye bread.",
          "Set my daily calorie target to 2200."
        ],
        "test_cases": {
          "positive": [
            {
              "prompt": "What did I eat yesterday? Rate that day against my targets and suggest what to change.",
              "description": "Reviewer demo: current date in Europe/Warsaw; every requested date returns deterministic sample meals, alternating 3 or 4 per day. No writes persist. Meal history and grounded day assessment. Resolve yesterday from the execution date in Europe/Warsaw.",
              "tools_triggered": "get_meals with start_date=yesterday and end_date omitted or equal to yesterday; get_daily_summary with date=yesterday",
              "expected_behavior": "Show each returned meal with time, kcal and macros, plus totals. Base suggestions on returned totals and targets, without diagnosing or inventing missing meals. Demo targets are 2000 kcal, 150 g protein, 200 g carbs and 66 g fat. Burned kcal is null, not a measured zero."
            },
            {
              "prompt": "How many calories do I have left today?",
              "description": "Reviewer demo: current date in Europe/Warsaw; every requested date returns deterministic sample meals, alternating 3 or 4 per day. No writes persist. Daily budget.",
              "tools_triggered": "get_daily_summary with date omitted or today in Europe/Warsaw",
              "expected_behavior": "Report remaining kcal and macros against returned targets: 2000 kcal, 150 g protein, 200 g carbs, 66 g fat. Treat null workout burn as unavailable. Match returned totals exactly; do not infer activity."
            },
            {
              "prompt": "How was my protein over the last seven days, including today?",
              "description": "Reviewer demo: current date in Europe/Warsaw; every requested date returns deterministic sample meals, alternating 3 or 4 per day. No writes persist. Inclusive seven-day range.",
              "tools_triggered": "get_meals with start_date=today minus 6 calendar days and end_date=today in Europe/Warsaw",
              "expected_behavior": "Report protein per day and the seven-day total/average from actual returned meals and daily totals. Repeating the same dates returns the same sample meals. Do not invent a protein target from meal history alone."
            },
            {
              "prompt": "Log two scrambled eggs and a slice of rye bread for breakfast.",
              "description": "Reviewer demo: current date in Europe/Warsaw; every requested date returns deterministic sample meals, alternating 3 or 4 per day. No writes persist. Simulated meal write; demo is intentionally non-persistent.",
              "tools_triggered": "log_meal with description preserving the requested food and portions; no invented timestamp",
              "expected_behavior": "Demo returns 450 kcal, 25 g protein, 50 g carbs and 15 g fat. Clearly state that this is a sample estimate and nothing was saved. Do not claim successful persistence; later get_meals will not include it. Production persistence requires separate testing on a dedicated iPhone diary."
            },
            {
              "prompt": "Set my daily goal in 0xCal to 1800 kcal with 150 g protein.",
              "description": "Reviewer demo: current date in Europe/Warsaw; every requested date returns deterministic sample meals, alternating 3 or 4 per day. No writes persist. Simulated target replacement; numeric values are test inputs.",
              "tools_triggered": "set_goals with daily_kcal=1800 and protein_g=150; carbs_g and fat_g omitted",
              "expected_behavior": "Show previous targets 2000/150/200/66 and simulated new targets 1800/150/200/66 (kcal/protein/carbs/fat). Explicitly state nothing was saved. Later get_daily_summary still reports 2000 kcal. Demo merges values and does not verify production calorie-only macro recalculation."
            }
          ],
          "negative": [
            {
              "prompt": "What's the weather in Warsaw tomorrow?",
              "description": "No 0xCal tool should run: weather is outside this integration. Do not invent a forecast or use nutrition data to answer."
            },
            {
              "prompt": "Delete everything I ate today",
              "description": "No tool should run. Explain that 0xCal exposes no delete tool; do not use log_meal or set_goals to simulate deletion and do not claim any entries were removed."
            },
            {
              "prompt": "Show my heart rate from Apple Health",
              "description": "No tool should run. Explain that these four connector tools do not expose heart-rate data; do not confuse the iPhone app Health integration with connector capabilities."
            }
          ]
        },
        "commerce": false,
        "commerce_description": "The connector does not sell products or process payments in ChatGPT. It requires the 0xCal iOS app and an active subscription purchased separately through Apple App Store in-app purchases.",
        "demo_recording_url": "https://youtu.be/VZBZ6blyuN8"
      },
      "publication": {
        "release_notes": "Initial public package connecting the existing four tools to the production OAuth-protected MCP server: meal history, daily summaries, meal logging, and user-selected daily goals.",
        "countries": []
      },
      "apps": "./.app.json"
    }
  },
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "dev-6aeba42840b08191ab3120d8e46c5a4d",
  "version": "1.0.2",
  "description": "Read your 0xCal food log and calorie budget, log meals, and set daily goals.",
  "author": {
    "name": "Bart\u0142omiej Pichalski"
  },
  "homepage": "https://0xcal.app/"
}
