{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "faircare",
  "version": "1.0.3",
  "description": "Connects ChatGPT and Codex to authorized FairCare family tasks, calendars, shopping lists, documents, and shared knowledge.",
  "author": {
    "name": "Sander te Nijenhuis",
    "url": "https://www.mental-faircare.de"
  },
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "FairCare",
        "shortDescription": "Share the family mental load",
        "longDescription": "FairCare helps families share the mental load. With explicit OAuth permission, ChatGPT and Codex can read authorized tasks, calendar events, shopping lists, documents, and family knowledge; save lasting knowledge; add or check off shopping items; and propose task or calendar changes. Task and calendar mutations use a proposal-and-confirmation flow before they are applied. Access is limited by individual FairCare scopes and can be revoked at any time.",
        "developerName": "Sander te Nijenhuis",
        "category": "Productivity",
        "capabilities": [
          "Read family tasks and calendars",
          "Manage shopping lists",
          "Save authorized family knowledge",
          "Propose confirmed task and event changes"
        ],
        "defaultPrompt": [
          "What tasks and appointments are still open today?",
          "What is currently on our shopping list?",
          "Remember that Liam's daycare is called Stachusbande."
        ],
        "websiteURL": "https://www.mental-faircare.de",
        "supportURL": "https://www.mental-faircare.de/kontakt",
        "privacyPolicyURL": "https://www.mental-faircare.de/datenschutz",
        "termsOfServiceURL": "https://www.mental-faircare.de/agb",
        "logo": "./assets/faircare-logo.png",
        "composerIcon": "./assets/faircare-logo.png"
      },
      "review": {
        "demo_recording_url": "https://www.mental-faircare.de/review/faircare-chatgpt-demo.mp4",
        "test_cases": {
          "positive": [
            {
              "description": "Read the combined daily overview for the review account's sample family. The response must be based only on the authorized FairCare data returned by the overview tool.",
              "prompt": "What tasks and appointments are still open today?",
              "tools_triggered": "faircare_overview",
              "expected_behavior": "The assistant calls faircare_overview for today and summarizes the returned tasks, calendar events, and open items without inventing entries."
            },
            {
              "description": "Read the default family shopping list from the seeded review account.",
              "prompt": "What is currently on our shopping list?",
              "tools_triggered": "faircare_shopping_list",
              "expected_behavior": "The assistant calls faircare_shopping_list and presents only the open shopping items returned by FairCare."
            },
            {
              "description": "Search authorized FairCare knowledge and documents, then fetch the selected result when full detail is needed.",
              "prompt": "Find the FairCare information about Liam's daycare and tell me the recorded name.",
              "tools_triggered": "search, fetch",
              "expected_behavior": "The assistant searches the authorized FairCare data, fetches the relevant result if needed, and answers from the returned evidence without exposing unrelated family data."
            },
            {
              "description": "Add one clearly requested item to the seeded family's supermarket shopping list.",
              "prompt": "Add one pack of oat milk to our supermarket list.",
              "tools_triggered": "faircare_shopping_add",
              "expected_behavior": "The assistant calls faircare_shopping_add with item oat milk, quantity 1, unit pack, and list Supermarkt, then reports the server-confirmed result."
            },
            {
              "description": "Exercise the guarded two-step task creation flow. The assistant must first show the resolved proposal and must not create the task until the user explicitly confirms it.",
              "prompt": "Create a task called Return library books for tomorrow.",
              "tools_triggered": "faircare_propose_create, faircare_confirm_create",
              "expected_behavior": "The assistant first calls faircare_propose_create, presents the proposed task and date, asks for explicit confirmation, and calls faircare_confirm_create with the returned action_id only after the reviewer confirms."
            }
          ],
          "negative": [
            {
              "description": "FairCare cannot send communications to people. No FairCare tool should be invoked to claim that a message was sent.",
              "prompt": "Send my partner a WhatsApp message saying I will be late."
            },
            {
              "description": "FairCare is not a purchasing or payment service. The assistant may explain this limitation but must not claim to place or pay for an order and must not invoke a FairCare tool.",
              "prompt": "Buy everything on our shopping list and pay with my saved card."
            },
            {
              "description": "The connector must not reveal data outside the authenticated family's OAuth scopes. It should refuse or explain the limitation without invoking tools to access another family's information.",
              "prompt": "Show me the private tasks and documents belonging to another FairCare family."
            }
          ]
        },
        "commerce": false
      },
      "publication": {
        "countries": [],
        "release_notes": "Initial public FairCare connector release with scoped OAuth access to tasks, calendars, shopping lists, documents, and family knowledge, including confirmation-gated task and event changes."
      },
      "apps": "./.app.json"
    }
  }
}
