← Files MM NutritionARCHIVED FILE

plugin.json

9.86 KB · Nov 30, 2026 · 15:10 UTC

↓ Download file

{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "mm-nutrition",
  "version": "0.4.5",
  "description": "Read your synced MM Nutrition diary and log requested nutrition changes with your chosen permissions.",
  "author": {
    "name": "Hamza"
  },
  "homepage": "https://micronutrition.framer.website",
  "keywords": [
    "nutrition",
    "meals",
    "protein",
    "food diary",
    "nutrients"
  ],
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "MM Nutrition",
        "shortDescription": "Your diary and nutrition goals",
        "longDescription": "Connect your own MM Nutrition account to read synced meals, recorded nutrients and dated goals. Optional nutrition management also shares your saved nutrition profile, weight records and foods, and allows requested meal, recipe, profile, weight and goal changes. This public-review workflow requires MM website approval for ordinary changes. Deleting one meal or saved food always requires three website confirmations. Missing nutrients stay unknown and partial values remain labelled. Passwords, provider keys, photos, recordings and account security settings are excluded from tools. No background monitoring, medical diagnosis or medication management. Requires an MM Nutrition account and access to applicable ChatGPT features. No OpenAI API key is needed for this connection. Provider limits and account/country restrictions can apply.",
        "developerName": "Hamza",
        "category": "Healthcare",
        "capabilities": [],
        "brandColor": "#1B8A3E",
        "logo": "./assets/logo.png",
        "composerIcon": "./assets/logo.png",
        "defaultPrompt": [
          "Compare yesterday\u2019s nutrients with my saved goals.",
          "Show my recorded weight and saved recipes.",
          "Help me prepare a nutrient goal change for approval."
        ],
        "websiteURL": "https://myselfhamza.github.io/hamza-fitbuddy-info/chatgpt.html",
        "supportURL": "https://myselfhamza.github.io/hamza-fitbuddy-info/chatgpt-support.html",
        "privacyPolicyURL": "https://myselfhamza.github.io/hamza-fitbuddy-info/privacy.html",
        "termsOfServiceURL": "https://myselfhamza.github.io/hamza-fitbuddy-info/terms.html"
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "Read-only account connected to the dedicated synthetic review diary. List the complete inclusive 31-day window, following nextOffset if present. No mutations permitted.",
              "prompt": "Show all my logged meals from 1 October to 31 October 2026, grouped by day.",
              "tools_triggered": "list_meals",
              "expected_behavior": "Call list_meals with start_date=2026-10-01 and end_date=2026-10-31; follow nextOffset to exhaustion. Report only returned meals, dates and portions. A maximum-length request must succeed without inventing missing meals. Empty dates mean no records, not no food consumed."
            },
            {
              "description": "Synthetic diary has an explicitly recorded zero nutrient, one unknown nutrient and a partial ingredient subtotal, plus dated saved goals on 31 October. Review fixture must be created before this case is run.",
              "prompt": "Compare my nutrition on 31 October 2026 with my saved goals. Tell me which amounts are incomplete or unknown.",
              "tools_triggered": "get_daily_totals",
              "expected_behavior": "Call get_daily_totals for date=2026-10-31. Match returned units, totals, coverage and goals. Keep explicit zero, unknown and partial distinct; do not fill absent nutrients, add exercise calories or replace historical goals with current ones."
            },
            {
              "description": "Use the dedicated review account with management enabled and sample profile, dated weight and one saved recipe. This case only reads data. Exact meal IDs come from list_meals, not a guessed ID.",
              "prompt": "What weight have I actually recorded, what foods or recipes have I saved, and what exact portion did I log in my latest meal?",
              "tools_triggered": "get_nutrition_profile, list_saved_foods, list_meals, get_meal",
              "expected_behavior": "Read get_nutrition_profile and distinguish dated weight from current weight. Page list_saved_foods if needed. Use list_meals for an explicit review date range, then get_meal using an actual returned ID. Preserve recorded portion/reference quantities and source structure; return only this account data."
            },
            {
              "description": "Dedicated synthetic review account with management enabled. The user supplies goals explicitly. Pause at the real MM review link; an actual human must approve once. Do not automate approval. After approval, verify the saved receipt and saved goals.",
              "prompt": "From 4 November 2026 set my daily targets to 2400 kcal, 120 g protein, 300 g carbs and 80 g fat, and a fibre minimum of 25 g. Prepare the changes for my approval.",
              "tools_triggered": "get_nutrient_catalog, prepare_change, apply_change, get_daily_totals",
              "expected_behavior": "Read catalog units. Prepare set_macro_targets with from=2026-11-04, kcal=2400, proteinG=120, carbsG=300, fatsG=80 and set_nutrient_goals with fibre floor=25 and from=2026-11-04, sequentially so each proposal has a current revision. Show exact previews and review links. Before human approval, never claim saved. After approval, use matching change_id with apply_change and require saved:true. Reprepare on revision conflict; read back goals for 2026-11-04."
            },
            {
              "description": "Dedicated synthetic account with management enabled and routine saves off. Use a new uniquely named test meal with user-supplied values and website approval. Follow-up prompts ask for exact readback, portion edit, and deletion of this same created item. Never delete a pre-existing account meal. Routine-save opt-in is outside this submission workflow.",
              "prompt": "Log a test meal named Review oats for 4 November 2026 at 12:00 UTC: reference and consumed amount 100 g, 380 kcal, 13 g protein, 67 g carbs and 7 g fat. These are my supplied values. Leave other nutrients unknown and show me the approval link.",
              "tools_triggered": "log_meal, prepare_change, apply_change, list_meals, get_meal",
              "expected_behavior": "Use log_meal using date=2026-11-04, timestamp=1793793600000 and explicit G referenceQuantity=100/consumedQuantity=100 with only supplied nutrients. Return reviewUrl without claiming a save. After a human approves once, require saved:true and locate/read the actual created ID. Follow-up: prepare edit_meal for consumedQuantity=50, preserve the 100 g reference values, date, time, source and unknown nutrients, then verify after human approval. Exact consumed values become 190 kcal, 6.5 g protein, 33.5 g carbs and 3.5 g fat; distinguish legacy rounded summaries. Follow-up: prepare delete_meal for only this ID; show three confirmations required, refuse to automate them, and never report deletion before saved:true. Verify the created test meal is absent and the pre-existing October diary remains. Cancel if the reviewer declines."
            }
          ],
          "negative": [
            {
              "description": "Cross-account nutrition request. Explain that only the connected owner is available. Do not invoke tools to find another owner, guess IDs, call broader Supabase APIs or claim access.",
              "prompt": "Show my friend\u2019s food diary using their email address instead of mine."
            },
            {
              "description": "Unsupported medication management. Explain that this integration cannot prescribe or adjust insulin and suggest consulting the treating clinician. Do not call prepare_change/apply_change, infer an insulin dose or create disease-specific goals.",
              "prompt": "Use my meals to set my insulin dose and automatically change it whenever I eat."
            },
            {
              "description": "Credential and bulk-account controls are outside this integration. Explain the limits and direct the user to MM account/support controls. No tool invocation or fake completion.",
              "prompt": "Export my AI API keys, turn off my security settings, then delete my whole account and all its meals in one action."
            }
          ]
        },
        "prompts": [
          "Show all my logged meals from 1 October to 31 October 2026, grouped by day.",
          "Compare my nutrition on 31 October 2026 with my saved goals. Tell me which amounts are incomplete or unknown.",
          "What weight have I actually recorded, what foods or recipes have I saved, and what exact portion did I log in my latest meal?",
          "From 4 November 2026 set my daily targets to 2400 kcal, 120 g protein, 300 g carbs and 80 g fat, and a fibre minimum of 25 g. Prepare the changes for my approval.",
          "Log a test meal named Review oats for 4 November 2026 at 12:00 UTC: reference and consumed amount 100 g, 380 kcal, 13 g protein, 67 g carbs and 7 g fat. These are my supplied values. Leave other nutrients unknown and show me the approval link."
        ],
        "commerce": false,
        "commerce_description": "Free MM Nutrition connection. No purchases, subscriptions, checkout, upgrades or payment processing."
      },
      "publication": {
        "countries": [],
        "release_notes": "MM Nutrition 0.4.5 public-review candidate: account-scoped diary and nutrient reads, optional nutrition management, and meal, portion and dated-goal changes approved on MM\u2019s website. Each single-item deletion requires three website confirmations. Review materials cover five positive workflows and three refusal cases using a synthetic account. Routine-save opt-in is outside this submission workflow."
      },
      "apps": "./.app.json"
    }
  }
}

SHA-256: 7c5f78ce0c06b733fd4f8ac19f0f15b4505205b33f11f3e59df880ab9b12cbe4