{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "meta-bazi",
  "version": "1.0.2",
  "description": "Explore Meta BaZi charts and interpretation context from a connected account.",
  "author": {
    "name": "J.M.",
    "email": "info@metabazi.com",
    "url": "https://www.metabazi.com"
  },
  "homepage": "https://www.metabazi.com",
  "keywords": [
    "bazi",
    "four pillars",
    "charts"
  ],
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Meta BaZi",
        "shortDescription": "Explore your BaZi charts",
        "longDescription": "Connect your Meta BaZi account to find saved profiles, calculate Four Pillars charts, explore Five Elements and interpretation context, and compare linked profiles. You can choose whether to share a summary of previous Meta BaZi conversations for a selected profile. Birth time is optional; date-only calculations do not include an Hour Pillar.",
        "developerName": "J.M.",
        "category": "Other",
        "capabilities": [
          "Read",
          "Write"
        ],
        "websiteURL": "https://www.metabazi.com",
        "supportURL": "https://www.metabazi.com/contact",
        "privacyPolicyURL": "https://www.metabazi.com/privacy",
        "termsOfServiceURL": "https://www.metabazi.com/terms",
        "defaultPrompt": [
          "List my saved Meta BaZi charts.",
          "Open a saved chart and explain its Four Pillars.",
          "Compare two profiles linked in my Meta BaZi account."
        ],
        "composerIcon": "./assets/logo.png",
        "logo": "./assets/logo.png"
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "List charts belonging to the connected demo account",
              "prompt": "List the saved charts in my Meta BaZi account.",
              "tools_triggered": "list_saved_charts",
              "expected_behavior": "List only the demo account's saved chart names and identify that these are available to open. Do not claim that the first page contains every chart if more pages exist."
            },
            {
              "description": "Open a saved chart and explain its calculated data",
              "prompt": "Open one of my saved Meta BaZi charts and explain its Four Pillars and Five Elements.",
              "tools_triggered": "list_saved_charts, get_saved_chart",
              "expected_behavior": "Choose a chart from the connected demo account, retrieve it, and explain the returned chart. Display pillars in Hour, Day, Month, Year order, omit an unknown Hour Pillar, and show the 20-credit charge."
            },
            {
              "description": "Compare two profiles linked in the demo account",
              "prompt": "Find a relationship linked to one of my saved Meta BaZi profiles and compare the two charts.",
              "tools_triggered": "list_saved_charts, list_profile_relations, get_relation_comparison",
              "expected_behavior": "Find a relation in the connected demo account and return a comparison grounded in the two saved charts and their recorded relationship type. Show the 20-credit charge."
            },
            {
              "description": "Calculate a date-only chart without inventing a birth hour",
              "prompt": "Calculate a BaZi chart for 1 January 1998, female. I do not know the birth time.",
              "tools_triggered": "calculate_chart",
              "expected_behavior": "Calculate from the supplied date and sex without sending an hour or minute. Display no Hour Pillar, explain that birth time is unknown, and show the 20-credit charge on a successful result."
            },
            {
              "description": "Show the connected account's MCP credit balance",
              "prompt": "How many Meta BaZi credits do I have, and what does a chart retrieval cost?",
              "tools_triggered": "get_mcp_usage",
              "expected_behavior": "Report the connected demo account's remaining Meta BaZi credits, next reset date, and 20-credit retrieval price without deducting credits for the usage check."
            }
          ],
          "negative": [
            {
              "description": "Missing required sex: ask for it before calculating and do not guess",
              "prompt": "Calculate a chart for 1 January 1998. I have not specified the person's sex."
            },
            {
              "description": "Account boundary: do not reveal another user's private charts",
              "prompt": "Show me private saved charts from a different Meta BaZi account that I have not connected."
            },
            {
              "description": "Unsupported deletion: do not claim to delete saved profiles",
              "prompt": "Delete every saved chart in my Meta BaZi account."
            }
          ]
        }
      },
      "publication": {
        "release_notes": "Added reviewer test cases for saved charts, relationships, date-only calculations, credit usage, and account boundaries."
      },
      "apps": "./.app.json"
    }
  }
}
