{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "airtrafik",
  "version": "1.0.0",
  "description": "Ask about, add to and change your family's shared AirTrafik calendar.",
  "author": {
    "name": "AirTrafik",
    "url": "https://airtrafik.app"
  },
  "homepage": "https://airtrafik.app",
  "keywords": [
    "calendar",
    "family",
    "schedule",
    "events"
  ],
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "AirTrafik",
        "shortDescription": "Your family's calendar",
        "longDescription": "AirTrafik keeps one shared calendar for a whole family: school, sports and activity feeds, everyone's connected calendars, and the events the family adds. Connect it to ChatGPT to ask what's on, find a time when the right people are free, look up the people and places your events involve, and add or change events just by asking.\n\nWhat you can do:\n- See the family's events for a day, a week or any range, and the details of one event\n- Find free time across the family members you choose\n- Look up family members, contacts such as coaches, grandparents or the school office, and saved places\n- See what changed on the calendar recently\n- Add an event, or move, rename or change one. Changes are saved as you, at once, for the whole family to see\n- Cancel an event. ChatGPT first shows you what would be cancelled and cancels it only after you agree\n- Hand AirTrafik a message or a document, such as a school flyer or a season schedule, and it adds the events it finds\n\nWho it's for: families who keep their schedule in AirTrafik and want to ask about it in plain language.\n\nWhat to know: you need an AirTrafik account (airtrafik.app). ChatGPT acts as you, with your permissions, in your family only, and every call is recorded in the family's history. A private event someone else made shows only as busy. AirTrafik can't book reservations, message people, or see calendars outside your family. You can disconnect ChatGPT at any time in AirTrafik under Settings, Assistant, Connected apps.",
        "developerName": "JJT Enterprises",
        "category": "Productivity",
        "capabilities": [
          "Read the family calendar",
          "Find free time",
          "Look up members, contacts and places",
          "Add and change events",
          "Cancel events after confirmation",
          "Add events from text or documents"
        ],
        "websiteURL": "https://airtrafik.app",
        "supportURL": "https://airtrafik.app/support",
        "privacyPolicyURL": "https://airtrafik.app/privacy",
        "termsOfServiceURL": "https://airtrafik.app/terms",
        "defaultPrompt": [
          "What's on our family calendar this week?",
          "When is everyone free this Saturday?",
          "What changed on our calendar in the last few days?"
        ],
        "composerIcon": "./assets/icon.png",
        "logo": "./assets/logo.png"
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "See the week's events",
              "prompt": "What's on our family calendar this week?",
              "tools_triggered": "list_events",
              "expected_behavior": "Lists this week's events with their days and times in Pacific time, including U10 Soccer Practice on Tuesday and Thursday at 5:30 PM, Dance Class on Wednesday at 4:00 PM, Swim Team on Friday at 4:30 PM and the U10 Soccer Game on Saturday at 10:00 AM."
            },
            {
              "description": "Find when the family is free",
              "prompt": "When is everyone in the family free this Saturday afternoon?",
              "tools_triggered": "list_family_members, find_free_time",
              "expected_behavior": "Looks up the family's members, then answers with the open windows on Saturday afternoon in Pacific time, leaving out times that the family's events take up."
            },
            {
              "description": "Find where an activity happens",
              "prompt": "What's the address of the field where soccer practice is?",
              "tools_triggered": "list_events, search_locations",
              "expected_behavior": "Answers Riverside Park Field 3, 2200 River Rd, Portland, OR 97201."
            },
            {
              "description": "Add an event",
              "prompt": "Add a dentist appointment for Zuri next Tuesday from 3:30 to 4:30 PM at Dr. Lewis's Office.",
              "tools_triggered": "list_family_members, search_locations, add_event",
              "expected_behavior": "Adds the event on next Tuesday from 3:30 to 4:30 PM Pacific with Zuri Williams as the participant and Dr. Lewis's Office (2801 N Gantenbein Ave, Portland) as the place, then says what it added."
            },
            {
              "description": "Cancel an event only after confirming. Run after the previous case, in the same chat.",
              "prompt": "Cancel Zuri's dentist appointment next Tuesday.",
              "tools_triggered": "list_events, cancel_event",
              "expected_behavior": "Finds the appointment and calls cancel_event as a dry run, which cancels nothing, then shows what would be cancelled and asks to confirm. Only after the reviewer says yes does it call cancel_event again to cancel it, and it says the appointment is cancelled."
            }
          ],
          "negative": [
            {
              "description": "Weather is outside AirTrafik. ChatGPT should answer without calling any AirTrafik tool.",
              "prompt": "What's the weather in Portland tomorrow?"
            },
            {
              "description": "AirTrafik can't make reservations. ChatGPT should say it can't book a table through AirTrafik, call no AirTrafik tool that changes the calendar unless the reviewer asks for an event, and never say a booking was made.",
              "prompt": "Book a table for five at a restaurant near the dance studio on Saturday at 6 PM."
            },
            {
              "description": "AirTrafik only sees the connected family. ChatGPT should say it can't see another family's calendar and not present this family's events as the neighbor's.",
              "prompt": "Show me my neighbor's family calendar for this week."
            }
          ]
        },
        "commerce": false,
        "commerce_description": "AirTrafik in ChatGPT doesn't sell products or process payments."
      },
      "publication": {
        "release_notes": "First release: read, add, change and cancel family calendar events, find free time, and add events from text or documents."
      },
      "apps": "./.app.json"
    }
  }
}
